From c6223983577c1915600e0ceeaeacc0ab52184e66 Mon Sep 17 00:00:00 2001
From: Torsten Schulz
Date: Wed, 27 Dec 2023 10:40:24 +0100
Subject: [PATCH] added php download of membershipments
---
composer.json | 3 +-
composer.lock | 1030 +-
conf/internalpages.conf | 3 +-
include/memberlistdownload.php | 64 +
templates/imprint.html | 4 +-
templates/members.html | 1 +
vendor/bin/carbon | 119 +
vendor/composer/autoload_classmap.php | 3 +-
vendor/composer/autoload_files.php | 20 +
vendor/composer/autoload_psr4.php | 16 +-
vendor/composer/autoload_static.php | 80 +-
vendor/composer/installed.json | 1070 ++
vendor/composer/installed.php | 136 +-
vendor/composer/platform_check.php | 4 +-
vendor/doctrine/inflector/LICENSE | 19 +
vendor/doctrine/inflector/README.md | 7 +
vendor/doctrine/inflector/composer.json | 41 +
vendor/doctrine/inflector/docs/en/index.rst | 227 +
.../Inflector/CachedWordInflector.php | 24 +
.../GenericLanguageInflectorFactory.php | 66 +
.../lib/Doctrine/Inflector/Inflector.php | 507 +
.../Doctrine/Inflector/InflectorFactory.php | 56 +
.../lib/Doctrine/Inflector/Language.php | 20 +
.../Inflector/LanguageInflectorFactory.php | 33 +
.../Doctrine/Inflector/NoopWordInflector.php | 13 +
.../Inflector/Rules/English/Inflectible.php | 181 +
.../Rules/English/InflectorFactory.php | 21 +
.../Inflector/Rules/English/Rules.php | 31 +
.../Inflector/Rules/English/Uninflected.php | 189 +
.../Inflector/Rules/Esperanto/Inflectible.php | 31 +
.../Rules/Esperanto/InflectorFactory.php | 21 +
.../Inflector/Rules/Esperanto/Rules.php | 31 +
.../Inflector/Rules/Esperanto/Uninflected.php | 28 +
.../Inflector/Rules/French/Inflectible.php | 44 +
.../Rules/French/InflectorFactory.php | 21 +
.../Doctrine/Inflector/Rules/French/Rules.php | 31 +
.../Inflector/Rules/French/Uninflected.php | 28 +
.../Rules/NorwegianBokmal/Inflectible.php | 34 +
.../NorwegianBokmal/InflectorFactory.php | 21 +
.../Inflector/Rules/NorwegianBokmal/Rules.php | 31 +
.../Rules/NorwegianBokmal/Uninflected.php | 30 +
.../lib/Doctrine/Inflector/Rules/Pattern.php | 42 +
.../lib/Doctrine/Inflector/Rules/Patterns.php | 34 +
.../Rules/Portuguese/Inflectible.php | 98 +
.../Rules/Portuguese/InflectorFactory.php | 21 +
.../Inflector/Rules/Portuguese/Rules.php | 31 +
.../Rules/Portuguese/Uninflected.php | 32 +
.../lib/Doctrine/Inflector/Rules/Ruleset.php | 39 +
.../Inflector/Rules/Spanish/Inflectible.php | 47 +
.../Rules/Spanish/InflectorFactory.php | 21 +
.../Inflector/Rules/Spanish/Rules.php | 31 +
.../Inflector/Rules/Spanish/Uninflected.php | 30 +
.../Doctrine/Inflector/Rules/Substitution.php | 30 +
.../Inflector/Rules/Substitutions.php | 57 +
.../Inflector/Rules/Transformation.php | 39 +
.../Inflector/Rules/Transformations.php | 29 +
.../Inflector/Rules/Turkish/Inflectible.php | 34 +
.../Rules/Turkish/InflectorFactory.php | 21 +
.../Inflector/Rules/Turkish/Rules.php | 31 +
.../Inflector/Rules/Turkish/Uninflected.php | 30 +
.../lib/Doctrine/Inflector/Rules/Word.php | 21 +
.../Doctrine/Inflector/RulesetInflector.php | 56 +
.../lib/Doctrine/Inflector/WordInflector.php | 10 +
vendor/illuminate/collections/Arr.php | 747 +
vendor/illuminate/collections/Collection.php | 1672 ++
vendor/illuminate/collections/Enumerable.php | 1027 ++
.../HigherOrderCollectionProxy.php | 63 +
.../collections/HigherOrderWhenProxy.php | 63 +
.../collections/ItemNotFoundException.php | 9 +
vendor/illuminate/collections/LICENSE.md | 21 +
.../illuminate/collections/LazyCollection.php | 1585 ++
.../MultipleItemsFoundException.php | 9 +
.../collections/Traits/EnumeratesValues.php | 1116 ++
vendor/illuminate/collections/composer.json | 41 +
vendor/illuminate/collections/helpers.php | 186 +
.../contracts/Auth/Access/Authorizable.php | 15 +
.../illuminate/contracts/Auth/Access/Gate.php | 150 +
.../contracts/Auth/Authenticatable.php | 49 +
.../contracts/Auth/CanResetPassword.php | 21 +
vendor/illuminate/contracts/Auth/Factory.php | 22 +
vendor/illuminate/contracts/Auth/Guard.php | 50 +
.../Auth/Middleware/AuthenticatesRequests.php | 8 +
.../contracts/Auth/MustVerifyEmail.php | 34 +
.../contracts/Auth/PasswordBroker.php | 61 +
.../contracts/Auth/PasswordBrokerFactory.php | 14 +
.../contracts/Auth/StatefulGuard.php | 63 +
.../contracts/Auth/SupportsBasicAuth.php | 24 +
.../contracts/Auth/UserProvider.php | 49 +
.../contracts/Broadcasting/Broadcaster.php | 33 +
.../contracts/Broadcasting/Factory.php | 14 +
.../Broadcasting/HasBroadcastChannel.php | 20 +
.../Broadcasting/ShouldBroadcast.php | 13 +
.../Broadcasting/ShouldBroadcastNow.php | 8 +
.../illuminate/contracts/Bus/Dispatcher.php | 66 +
.../contracts/Bus/QueueingDispatcher.php | 30 +
vendor/illuminate/contracts/Cache/Factory.php | 14 +
vendor/illuminate/contracts/Cache/Lock.php | 44 +
.../contracts/Cache/LockProvider.php | 25 +
.../contracts/Cache/LockTimeoutException.php | 10 +
.../illuminate/contracts/Cache/Repository.php | 108 +
vendor/illuminate/contracts/Cache/Store.php | 92 +
.../contracts/Config/Repository.php | 57 +
.../contracts/Console/Application.php | 23 +
.../illuminate/contracts/Console/Kernel.php | 64 +
.../Container/BindingResolutionException.php | 11 +
.../Container/CircularDependencyException.php | 11 +
.../contracts/Container/Container.php | 183 +
.../Container/ContextualBindingBuilder.php | 30 +
.../illuminate/contracts/Cookie/Factory.php | 47 +
.../contracts/Cookie/QueueingFactory.php | 30 +
.../contracts/Database/Eloquent/Castable.php | 15 +
.../Database/Eloquent/CastsAttributes.php | 28 +
.../Eloquent/CastsInboundAttributes.php | 17 +
.../Eloquent/DeviatesCastableAttributes.php | 28 +
.../Eloquent/SerializesCastableAttributes.php | 17 +
.../Eloquent/SupportsPartialRelations.php | 30 +
.../Database/Events/MigrationEvent.php | 8 +
.../contracts/Database/ModelIdentifier.php | 53 +
.../contracts/Debug/ExceptionHandler.php | 46 +
.../contracts/Encryption/DecryptException.php | 10 +
.../contracts/Encryption/EncryptException.php | 10 +
.../contracts/Encryption/Encrypter.php | 28 +
.../contracts/Encryption/StringEncrypter.php | 26 +
.../contracts/Events/Dispatcher.php | 82 +
.../illuminate/contracts/Filesystem/Cloud.php | 14 +
.../contracts/Filesystem/Factory.php | 14 +
.../Filesystem/FileExistsException.php | 10 +
.../Filesystem/FileNotFoundException.php | 10 +
.../contracts/Filesystem/Filesystem.php | 198 +
.../Filesystem/LockTimeoutException.php | 10 +
.../contracts/Foundation/Application.php | 215 +
.../Foundation/CachesConfiguration.php | 27 +
.../contracts/Foundation/CachesRoutes.php | 20 +
.../illuminate/contracts/Hashing/Hasher.php | 42 +
vendor/illuminate/contracts/Http/Kernel.php | 37 +
vendor/illuminate/contracts/LICENSE.md | 21 +
vendor/illuminate/contracts/Mail/Factory.php | 14 +
.../illuminate/contracts/Mail/MailQueue.php | 25 +
vendor/illuminate/contracts/Mail/Mailable.php | 76 +
vendor/illuminate/contracts/Mail/Mailer.php | 48 +
.../contracts/Notifications/Dispatcher.php | 24 +
.../contracts/Notifications/Factory.php | 32 +
.../contracts/Pagination/CursorPaginator.php | 117 +
.../Pagination/LengthAwarePaginator.php | 29 +
.../contracts/Pagination/Paginator.php | 124 +
vendor/illuminate/contracts/Pipeline/Hub.php | 15 +
.../contracts/Pipeline/Pipeline.php | 40 +
.../contracts/Queue/ClearableQueue.php | 14 +
.../Queue/EntityNotFoundException.php | 22 +
.../contracts/Queue/EntityResolver.php | 15 +
vendor/illuminate/contracts/Queue/Factory.php | 14 +
vendor/illuminate/contracts/Queue/Job.php | 166 +
vendor/illuminate/contracts/Queue/Monitor.php | 30 +
vendor/illuminate/contracts/Queue/Queue.php | 99 +
.../contracts/Queue/QueueableCollection.php | 34 +
.../contracts/Queue/QueueableEntity.php | 27 +
.../contracts/Queue/ShouldBeEncrypted.php | 8 +
.../contracts/Queue/ShouldBeUnique.php | 8 +
.../Queue/ShouldBeUniqueUntilProcessing.php | 8 +
.../contracts/Queue/ShouldQueue.php | 8 +
.../illuminate/contracts/Redis/Connection.php | 35 +
.../illuminate/contracts/Redis/Connector.php | 25 +
vendor/illuminate/contracts/Redis/Factory.php | 14 +
.../Redis/LimiterTimeoutException.php | 10 +
.../contracts/Routing/BindingRegistrar.php | 23 +
.../contracts/Routing/Registrar.php | 105 +
.../contracts/Routing/ResponseFactory.php | 155 +
.../contracts/Routing/UrlGenerator.php | 79 +
.../contracts/Routing/UrlRoutable.php | 39 +
.../illuminate/contracts/Session/Session.php | 204 +
.../contracts/Support/Arrayable.php | 13 +
.../Support/CanBeEscapedWhenCastToString.php | 14 +
.../contracts/Support/DeferrableProvider.php | 13 +
.../Support/DeferringDisplayableValue.php | 13 +
.../illuminate/contracts/Support/Htmlable.php | 13 +
.../illuminate/contracts/Support/Jsonable.php | 14 +
.../contracts/Support/MessageBag.php | 102 +
.../contracts/Support/MessageProvider.php | 13 +
.../contracts/Support/Renderable.php | 13 +
.../contracts/Support/Responsable.php | 14 +
.../contracts/Support/ValidatedData.php | 11 +
.../Translation/HasLocalePreference.php | 13 +
.../contracts/Translation/Loader.php | 40 +
.../contracts/Translation/Translator.php | 42 +
.../contracts/Validation/DataAwareRule.php | 14 +
.../contracts/Validation/Factory.php | 46 +
.../contracts/Validation/ImplicitRule.php | 8 +
.../illuminate/contracts/Validation/Rule.php | 22 +
.../Validation/UncompromisedVerifier.php | 14 +
.../Validation/ValidatesWhenResolved.php | 13 +
.../contracts/Validation/Validator.php | 65 +
.../Validation/ValidatorAwareRule.php | 14 +
vendor/illuminate/contracts/View/Engine.php | 15 +
vendor/illuminate/contracts/View/Factory.php | 79 +
vendor/illuminate/contracts/View/View.php | 31 +
vendor/illuminate/contracts/composer.json | 35 +
vendor/illuminate/macroable/LICENSE.md | 21 +
.../illuminate/macroable/Traits/Macroable.php | 126 +
vendor/illuminate/macroable/composer.json | 33 +
.../pagination/AbstractCursorPaginator.php | 676 +
.../pagination/AbstractPaginator.php | 782 +
vendor/illuminate/pagination/Cursor.php | 132 +
.../pagination/CursorPaginationException.php | 13 +
.../illuminate/pagination/CursorPaginator.php | 161 +
vendor/illuminate/pagination/LICENSE.md | 21 +
.../pagination/LengthAwarePaginator.php | 232 +
.../pagination/PaginationServiceProvider.php | 34 +
.../illuminate/pagination/PaginationState.php | 41 +
vendor/illuminate/pagination/Paginator.php | 177 +
vendor/illuminate/pagination/UrlWindow.php | 220 +
vendor/illuminate/pagination/composer.json | 37 +
.../resources/views/bootstrap-4.blade.php | 46 +
.../resources/views/default.blade.php | 46 +
.../resources/views/semantic-ui.blade.php | 36 +
.../views/simple-bootstrap-4.blade.php | 27 +
.../resources/views/simple-default.blade.php | 19 +
.../resources/views/simple-tailwind.blade.php | 25 +
.../resources/views/tailwind.blade.php | 106 +
.../support/AggregateServiceProvider.php | 52 +
vendor/illuminate/support/Carbon.php | 18 +
vendor/illuminate/support/Composer.php | 110 +
.../support/ConfigurationUrlParser.php | 193 +
vendor/illuminate/support/DateFactory.php | 231 +
vendor/illuminate/support/Env.php | 103 +
vendor/illuminate/support/Facades/App.php | 64 +
vendor/illuminate/support/Facades/Artisan.php | 29 +
vendor/illuminate/support/Facades/Auth.php | 65 +
vendor/illuminate/support/Facades/Blade.php | 46 +
.../illuminate/support/Facades/Broadcast.php | 27 +
vendor/illuminate/support/Facades/Bus.php | 74 +
vendor/illuminate/support/Facades/Cache.php | 40 +
vendor/illuminate/support/Facades/Config.php | 26 +
vendor/illuminate/support/Facades/Cookie.php | 46 +
vendor/illuminate/support/Facades/Crypt.php | 27 +
vendor/illuminate/support/Facades/DB.php | 50 +
vendor/illuminate/support/Facades/Date.php | 120 +
vendor/illuminate/support/Facades/Event.php | 114 +
vendor/illuminate/support/Facades/Facade.php | 263 +
vendor/illuminate/support/Facades/File.php | 62 +
vendor/illuminate/support/Facades/Gate.php | 40 +
vendor/illuminate/support/Facades/Hash.php | 25 +
vendor/illuminate/support/Facades/Http.php | 67 +
vendor/illuminate/support/Facades/Lang.php | 26 +
vendor/illuminate/support/Facades/Log.php | 36 +
vendor/illuminate/support/Facades/Mail.php | 61 +
.../support/Facades/Notification.php | 61 +
.../support/Facades/ParallelTesting.php | 26 +
.../illuminate/support/Facades/Password.php | 65 +
vendor/illuminate/support/Facades/Queue.php | 63 +
.../support/Facades/RateLimiter.php | 30 +
.../illuminate/support/Facades/Redirect.php | 35 +
vendor/illuminate/support/Facades/Redis.php | 24 +
vendor/illuminate/support/Facades/Request.php | 103 +
.../illuminate/support/Facades/Response.php | 36 +
vendor/illuminate/support/Facades/Route.php | 62 +
vendor/illuminate/support/Facades/Schema.php | 51 +
vendor/illuminate/support/Facades/Session.php | 45 +
vendor/illuminate/support/Facades/Storage.php | 103 +
vendor/illuminate/support/Facades/URL.php | 38 +
.../illuminate/support/Facades/Validator.php | 26 +
vendor/illuminate/support/Facades/View.php | 30 +
vendor/illuminate/support/Fluent.php | 197 +
.../support/HigherOrderTapProxy.php | 38 +
vendor/illuminate/support/HtmlString.php | 66 +
.../illuminate/support/InteractsWithTime.php | 64 +
vendor/illuminate/support/Js.php | 145 +
vendor/illuminate/support/LICENSE.md | 21 +
vendor/illuminate/support/Manager.php | 193 +
vendor/illuminate/support/MessageBag.php | 418 +
.../support/MultipleInstanceManager.php | 191 +
.../support/NamespacedItemResolver.php | 112 +
vendor/illuminate/support/Optional.php | 135 +
vendor/illuminate/support/Pluralizer.php | 141 +
vendor/illuminate/support/ProcessUtils.php | 69 +
vendor/illuminate/support/Reflector.php | 142 +
vendor/illuminate/support/ServiceProvider.php | 437 +
vendor/illuminate/support/Str.php | 1033 ++
vendor/illuminate/support/Stringable.php | 1026 ++
.../Testing/Fakes/BatchRepositoryFake.php | 142 +
.../support/Testing/Fakes/BusFake.php | 739 +
.../support/Testing/Fakes/EventFake.php | 325 +
.../support/Testing/Fakes/MailFake.php | 445 +
.../Testing/Fakes/NotificationFake.php | 327 +
.../Testing/Fakes/PendingBatchFake.php | 39 +
.../Testing/Fakes/PendingChainFake.php | 56 +
.../support/Testing/Fakes/PendingMailFake.php | 42 +
.../support/Testing/Fakes/QueueFake.php | 414 +
vendor/illuminate/support/Timebox.php | 70 +
.../support/Traits/CapsuleManagerTrait.php | 69 +
.../support/Traits/Conditionable.php | 44 +
.../support/Traits/ForwardsCalls.php | 75 +
.../illuminate/support/Traits/Localizable.php | 34 +
.../support/Traits/ReflectsClosures.php | 88 +
vendor/illuminate/support/Traits/Tappable.php | 17 +
vendor/illuminate/support/ValidatedInput.php | 219 +
vendor/illuminate/support/ViewErrorBag.php | 131 +
vendor/illuminate/support/composer.json | 55 +
vendor/illuminate/support/helpers.php | 379 +
vendor/maennchen/zipstream-php/.editorconfig | 22 +
.../maennchen/zipstream-php/.phive/phars.xml | 4 +
.../zipstream-php/.php-cs-fixer.dist.php | 71 +
.../.phpdoc/template/base.html.twig | 15 +
vendor/maennchen/zipstream-php/.tool-versions | 1 +
vendor/maennchen/zipstream-php/LICENSE | 24 +
vendor/maennchen/zipstream-php/README.md | 114 +
vendor/maennchen/zipstream-php/composer.json | 80 +
.../zipstream-php/guides/ContentLength.rst | 79 +
.../zipstream-php/guides/FlySystem.rst | 33 +
.../maennchen/zipstream-php/guides/Nginx.rst | 16 +
.../zipstream-php/guides/Options.rst | 61 +
.../zipstream-php/guides/PSR7Streams.rst | 18 +
.../zipstream-php/guides/StreamOutput.rst | 33 +
.../zipstream-php/guides/Symfony.rst | 126 +
.../zipstream-php/guides/Varnish.rst | 22 +
.../maennchen/zipstream-php/guides/index.rst | 100 +
.../maennchen/zipstream-php/phpdoc.dist.xml | 39 +
.../maennchen/zipstream-php/phpunit.xml.dist | 14 +
vendor/maennchen/zipstream-php/psalm.xml | 53 +
vendor/maennchen/zipstream-php/src/Bigint.php | 174 +
.../zipstream-php/src/DeflateStream.php | 27 +
.../maennchen/zipstream-php/src/Exception.php | 12 +
.../src/Exception/EncodingException.php | 14 +
.../src/Exception/FileNotFoundException.php | 23 +
.../Exception/FileNotReadableException.php | 23 +
.../IncompatibleOptionsException.php | 14 +
.../src/Exception/OverflowException.php | 18 +
.../Exception/StreamNotReadableException.php | 23 +
vendor/maennchen/zipstream-php/src/File.php | 472 +
.../zipstream-php/src/Option/Archive.php | 276 +
.../zipstream-php/src/Option/File.php | 122 +
.../zipstream-php/src/Option/Method.php | 23 +
.../zipstream-php/src/Option/Version.php | 27 +
vendor/maennchen/zipstream-php/src/Stream.php | 265 +
.../maennchen/zipstream-php/src/ZipStream.php | 608 +
.../zipstream-php/test/BigintTest.php | 66 +
.../zipstream-php/test/ZipStreamTest.php | 619 +
.../zipstream-php/test/bootstrap.php | 7 +
.../test/bug/BugHonorFileTimeTest.php | 40 +
.../complex/.github/workflows/main.yml | 153 +
vendor/markbaker/complex/README.md | 173 +
.../markbaker/complex/classes/src/Complex.php | 388 +
.../complex/classes/src/Exception.php | 13 +
.../complex/classes/src/Functions.php | 823 +
.../complex/classes/src/Operations.php | 210 +
vendor/markbaker/complex/composer.json | 40 +
.../complex/examples/complexTest.php | 154 +
.../complex/examples/testFunctions.php | 52 +
.../complex/examples/testOperations.php | 35 +
vendor/markbaker/complex/license.md | 25 +
.../matrix/.github/workflows/main.yaml | 124 +
vendor/markbaker/matrix/README.md | 215 +
vendor/markbaker/matrix/buildPhar.php | 62 +
.../markbaker/matrix/classes/src/Builder.php | 70 +
.../src/Decomposition/Decomposition.php | 27 +
.../matrix/classes/src/Decomposition/LU.php | 260 +
.../matrix/classes/src/Decomposition/QR.php | 191 +
.../matrix/classes/src/Div0Exception.php | 13 +
.../matrix/classes/src/Exception.php | 13 +
.../matrix/classes/src/Functions.php | 376 +
.../markbaker/matrix/classes/src/Matrix.php | 423 +
.../matrix/classes/src/Operations.php | 157 +
.../matrix/classes/src/Operators/Addition.php | 68 +
.../classes/src/Operators/DirectSum.php | 64 +
.../matrix/classes/src/Operators/Division.php | 35 +
.../classes/src/Operators/Multiplication.php | 86 +
.../matrix/classes/src/Operators/Operator.php | 78 +
.../classes/src/Operators/Subtraction.php | 68 +
vendor/markbaker/matrix/composer.json | 52 +
vendor/markbaker/matrix/examples/test.php | 33 +
vendor/markbaker/matrix/infection.json.dist | 17 +
vendor/markbaker/matrix/license.md | 25 +
vendor/markbaker/matrix/phpstan.neon | 6 +
vendor/myclabs/php-enum/LICENSE | 18 +
vendor/myclabs/php-enum/README.md | 194 +
vendor/myclabs/php-enum/SECURITY.md | 11 +
vendor/myclabs/php-enum/composer.json | 36 +
vendor/myclabs/php-enum/src/Enum.php | 318 +
.../php-enum/src/PHPUnit/Comparator.php | 54 +
vendor/myclabs/php-enum/stubs/Stringable.php | 11 +
vendor/nesbot/carbon/.phpstorm.meta.php | 10 +
vendor/nesbot/carbon/LICENSE | 19 +
vendor/nesbot/carbon/bin/carbon | 23 +
vendor/nesbot/carbon/bin/carbon.bat | 4 +
vendor/nesbot/carbon/composer.json | 126 +
vendor/nesbot/carbon/extension.neon | 5 +
.../MessageFormatterMapperStrongType.php | 28 +
.../MessageFormatterMapperWeakType.php | 36 +
.../Carbon/PHPStan/AbstractMacroBuiltin.php | 36 +
.../Carbon/PHPStan/AbstractMacroStatic.php | 45 +
.../lazy/Carbon/PHPStan/MacroStrongType.php | 45 +
.../lazy/Carbon/PHPStan/MacroWeakType.php | 51 +
.../lazy/Carbon/TranslatorStrongType.php | 52 +
.../carbon/lazy/Carbon/TranslatorWeakType.php | 32 +
vendor/nesbot/carbon/readme.md | 156 +
vendor/nesbot/carbon/sponsors.php | 95 +
.../carbon/src/Carbon/AbstractTranslator.php | 398 +
vendor/nesbot/carbon/src/Carbon/Carbon.php | 523 +
.../src/Carbon/CarbonConverterInterface.php | 19 +
.../carbon/src/Carbon/CarbonImmutable.php | 582 +
.../carbon/src/Carbon/CarbonInterface.php | 5143 ++++++
.../carbon/src/Carbon/CarbonInterval.php | 3054 ++++
.../nesbot/carbon/src/Carbon/CarbonPeriod.php | 2729 +++
.../src/Carbon/CarbonPeriodImmutable.php | 33 +
.../carbon/src/Carbon/CarbonTimeZone.php | 320 +
.../nesbot/carbon/src/Carbon/Cli/Invoker.php | 38 +
.../Carbon/Doctrine/CarbonDoctrineType.php | 23 +
.../Carbon/Doctrine/CarbonImmutableType.php | 37 +
.../carbon/src/Carbon/Doctrine/CarbonType.php | 37 +
.../Carbon/Doctrine/CarbonTypeConverter.php | 123 +
.../Doctrine/DateTimeDefaultPrecision.php | 37 +
.../Carbon/Doctrine/DateTimeImmutableType.php | 24 +
.../src/Carbon/Doctrine/DateTimeType.php | 16 +
.../Exceptions/BadComparisonUnitException.php | 48 +
.../BadFluentConstructorException.php | 49 +
.../Exceptions/BadFluentSetterException.php | 49 +
.../Exceptions/BadMethodCallException.php | 17 +
.../Exceptions/EndLessPeriodException.php | 19 +
.../src/Carbon/Exceptions/Exception.php | 17 +
.../Carbon/Exceptions/ImmutableException.php | 48 +
.../Exceptions/InvalidArgumentException.php | 17 +
.../Exceptions/InvalidCastException.php | 19 +
.../Exceptions/InvalidDateException.php | 67 +
.../Exceptions/InvalidFormatException.php | 19 +
.../Exceptions/InvalidIntervalException.php | 19 +
.../Exceptions/InvalidPeriodDateException.php | 19 +
.../InvalidPeriodParameterException.php | 19 +
.../Exceptions/InvalidTimeZoneException.php | 19 +
.../Exceptions/InvalidTypeException.php | 19 +
.../Exceptions/NotACarbonClassException.php | 50 +
.../Carbon/Exceptions/NotAPeriodException.php | 19 +
.../Exceptions/NotLocaleAwareException.php | 32 +
.../Carbon/Exceptions/OutOfRangeException.php | 101 +
.../Carbon/Exceptions/ParseErrorException.php | 88 +
.../Carbon/Exceptions/RuntimeException.php | 17 +
.../src/Carbon/Exceptions/UnitException.php | 19 +
.../Exceptions/UnitNotConfiguredException.php | 48 +
.../Exceptions/UnknownGetterException.php | 49 +
.../Exceptions/UnknownMethodException.php | 49 +
.../Exceptions/UnknownSetterException.php | 49 +
.../Exceptions/UnknownUnitException.php | 48 +
.../Exceptions/UnreachableException.php | 19 +
vendor/nesbot/carbon/src/Carbon/Factory.php | 326 +
.../carbon/src/Carbon/FactoryImmutable.php | 259 +
vendor/nesbot/carbon/src/Carbon/Lang/aa.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/aa_DJ.php | 44 +
.../nesbot/carbon/src/Carbon/Lang/aa_ER.php | 28 +
.../carbon/src/Carbon/Lang/aa_ER@saaho.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/aa_ET.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/af.php | 79 +
.../nesbot/carbon/src/Carbon/Lang/af_NA.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/af_ZA.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/agq.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/agr.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/agr_PE.php | 44 +
vendor/nesbot/carbon/src/Carbon/Lang/ak.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ak_GH.php | 40 +
vendor/nesbot/carbon/src/Carbon/Lang/am.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/am_ET.php | 58 +
vendor/nesbot/carbon/src/Carbon/Lang/an.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/an_ES.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/anp.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/anp_IN.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/ar.php | 93 +
.../nesbot/carbon/src/Carbon/Lang/ar_AE.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_BH.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_DJ.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_DZ.php | 92 +
.../nesbot/carbon/src/Carbon/Lang/ar_EG.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_EH.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_ER.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_IL.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_IN.php | 26 +
.../nesbot/carbon/src/Carbon/Lang/ar_IQ.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_JO.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_KM.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_KW.php | 95 +
.../nesbot/carbon/src/Carbon/Lang/ar_LB.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_LY.php | 92 +
.../nesbot/carbon/src/Carbon/Lang/ar_MA.php | 92 +
.../nesbot/carbon/src/Carbon/Lang/ar_MR.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_OM.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_PS.php | 18 +
.../nesbot/carbon/src/Carbon/Lang/ar_QA.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_SA.php | 94 +
.../nesbot/carbon/src/Carbon/Lang/ar_SD.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/ar_SO.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_SS.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/ar_SY.php | 29 +
.../carbon/src/Carbon/Lang/ar_Shakl.php | 95 +
.../nesbot/carbon/src/Carbon/Lang/ar_TD.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ar_TN.php | 91 +
.../nesbot/carbon/src/Carbon/Lang/ar_YE.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/as.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/as_IN.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/asa.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/ast.php | 59 +
.../nesbot/carbon/src/Carbon/Lang/ast_ES.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ayc.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ayc_PE.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/az.php | 128 +
.../nesbot/carbon/src/Carbon/Lang/az_AZ.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/az_Cyrl.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/az_IR.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/az_Latn.php | 29 +
vendor/nesbot/carbon/src/Carbon/Lang/bas.php | 32 +
vendor/nesbot/carbon/src/Carbon/Lang/be.php | 172 +
.../nesbot/carbon/src/Carbon/Lang/be_BY.php | 22 +
.../carbon/src/Carbon/Lang/be_BY@latin.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/bem.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/bem_ZM.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/ber.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ber_DZ.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/ber_MA.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/bez.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/bg.php | 114 +
.../nesbot/carbon/src/Carbon/Lang/bg_BG.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/bhb.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/bhb_IN.php | 26 +
vendor/nesbot/carbon/src/Carbon/Lang/bho.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/bho_IN.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/bi.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/bi_VU.php | 53 +
vendor/nesbot/carbon/src/Carbon/Lang/bm.php | 70 +
vendor/nesbot/carbon/src/Carbon/Lang/bn.php | 100 +
.../nesbot/carbon/src/Carbon/Lang/bn_BD.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/bn_IN.php | 26 +
vendor/nesbot/carbon/src/Carbon/Lang/bo.php | 71 +
.../nesbot/carbon/src/Carbon/Lang/bo_CN.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/bo_IN.php | 29 +
vendor/nesbot/carbon/src/Carbon/Lang/br.php | 76 +
.../nesbot/carbon/src/Carbon/Lang/br_FR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/brx.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/brx_IN.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/bs.php | 97 +
.../nesbot/carbon/src/Carbon/Lang/bs_BA.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/bs_Latn.php | 13 +
vendor/nesbot/carbon/src/Carbon/Lang/byn.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/byn_ER.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/ca.php | 117 +
.../nesbot/carbon/src/Carbon/Lang/ca_AD.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ca_ES.php | 12 +
.../carbon/src/Carbon/Lang/ca_ES_Valencia.php | 23 +
.../nesbot/carbon/src/Carbon/Lang/ca_FR.php | 13 +
.../nesbot/carbon/src/Carbon/Lang/ca_IT.php | 13 +
vendor/nesbot/carbon/src/Carbon/Lang/ccp.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/ccp_IN.php | 14 +
vendor/nesbot/carbon/src/Carbon/Lang/ce.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ce_RU.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/cgg.php | 31 +
vendor/nesbot/carbon/src/Carbon/Lang/chr.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/chr_US.php | 58 +
vendor/nesbot/carbon/src/Carbon/Lang/ckb.php | 89 +
vendor/nesbot/carbon/src/Carbon/Lang/cmn.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/cmn_TW.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/crh.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/crh_UA.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/cs.php | 123 +
.../nesbot/carbon/src/Carbon/Lang/cs_CZ.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/csb.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/csb_PL.php | 41 +
vendor/nesbot/carbon/src/Carbon/Lang/cu.php | 52 +
vendor/nesbot/carbon/src/Carbon/Lang/cv.php | 65 +
.../nesbot/carbon/src/Carbon/Lang/cv_RU.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/cy.php | 79 +
.../nesbot/carbon/src/Carbon/Lang/cy_GB.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/da.php | 81 +
.../nesbot/carbon/src/Carbon/Lang/da_DK.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/da_GL.php | 19 +
vendor/nesbot/carbon/src/Carbon/Lang/dav.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/de.php | 117 +
.../nesbot/carbon/src/Carbon/Lang/de_AT.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/de_BE.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/de_CH.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/de_DE.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/de_IT.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/de_LI.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/de_LU.php | 20 +
vendor/nesbot/carbon/src/Carbon/Lang/dje.php | 40 +
vendor/nesbot/carbon/src/Carbon/Lang/doi.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/doi_IN.php | 31 +
vendor/nesbot/carbon/src/Carbon/Lang/dsb.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/dsb_DE.php | 60 +
vendor/nesbot/carbon/src/Carbon/Lang/dua.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/dv.php | 89 +
.../nesbot/carbon/src/Carbon/Lang/dv_MV.php | 87 +
vendor/nesbot/carbon/src/Carbon/Lang/dyo.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/dz.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/dz_BT.php | 43 +
vendor/nesbot/carbon/src/Carbon/Lang/ebu.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/ee.php | 56 +
.../nesbot/carbon/src/Carbon/Lang/ee_TG.php | 19 +
vendor/nesbot/carbon/src/Carbon/Lang/el.php | 93 +
.../nesbot/carbon/src/Carbon/Lang/el_CY.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/el_GR.php | 19 +
vendor/nesbot/carbon/src/Carbon/Lang/en.php | 87 +
.../nesbot/carbon/src/Carbon/Lang/en_001.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_150.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_AG.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/en_AI.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_AS.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_AT.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_AU.php | 31 +
.../nesbot/carbon/src/Carbon/Lang/en_BB.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_BE.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_BI.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_BM.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_BS.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_BW.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_BZ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_CA.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/en_CC.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_CH.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/en_CK.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_CM.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_CX.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_CY.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/en_DE.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_DG.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_DK.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/en_DM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_ER.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_FI.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_FJ.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_FK.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_FM.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_GB.php | 30 +
.../nesbot/carbon/src/Carbon/Lang/en_GD.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_GG.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_GH.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_GI.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_GM.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_GU.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_GY.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_HK.php | 18 +
.../nesbot/carbon/src/Carbon/Lang/en_IE.php | 31 +
.../nesbot/carbon/src/Carbon/Lang/en_IL.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/en_IM.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_IN.php | 26 +
.../nesbot/carbon/src/Carbon/Lang/en_IO.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_ISO.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/en_JE.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_JM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_KE.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_KI.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_KN.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_KY.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_LC.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_LR.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_LS.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_MG.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_MH.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_MO.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_MP.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_MS.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_MT.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_MU.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_MW.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_MY.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_NA.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_NF.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_NG.php | 18 +
.../nesbot/carbon/src/Carbon/Lang/en_NL.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_NR.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_NU.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_NZ.php | 31 +
.../nesbot/carbon/src/Carbon/Lang/en_PG.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_PH.php | 18 +
.../nesbot/carbon/src/Carbon/Lang/en_PK.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_PN.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_PR.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_PW.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_RW.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SB.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SC.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SD.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/en_SE.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SG.php | 24 +
.../nesbot/carbon/src/Carbon/Lang/en_SH.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SI.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SL.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SS.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SX.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_SZ.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_TC.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_TK.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_TO.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_TT.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_TV.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_TZ.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_UG.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_UM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_US.php | 12 +
.../carbon/src/Carbon/Lang/en_US_Posix.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_VC.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_VG.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_VI.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_VU.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/en_WS.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/en_ZA.php | 26 +
.../nesbot/carbon/src/Carbon/Lang/en_ZM.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/en_ZW.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/eo.php | 77 +
vendor/nesbot/carbon/src/Carbon/Lang/es.php | 121 +
.../nesbot/carbon/src/Carbon/Lang/es_419.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_AR.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_BO.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_BR.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/es_BZ.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/es_CL.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_CO.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_CR.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_CU.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/es_DO.php | 31 +
.../nesbot/carbon/src/Carbon/Lang/es_EA.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/es_EC.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_ES.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/es_GQ.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/es_GT.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_HN.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_IC.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/es_MX.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/es_NI.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_PA.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_PE.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_PH.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/es_PR.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_PY.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/es_SV.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/es_US.php | 38 +
.../nesbot/carbon/src/Carbon/Lang/es_UY.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/es_VE.php | 19 +
vendor/nesbot/carbon/src/Carbon/Lang/et.php | 93 +
.../nesbot/carbon/src/Carbon/Lang/et_EE.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/eu.php | 67 +
.../nesbot/carbon/src/Carbon/Lang/eu_ES.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ewo.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/fa.php | 84 +
.../nesbot/carbon/src/Carbon/Lang/fa_AF.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/fa_IR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ff.php | 60 +
.../nesbot/carbon/src/Carbon/Lang/ff_CM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ff_GN.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ff_MR.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/ff_SN.php | 16 +
vendor/nesbot/carbon/src/Carbon/Lang/fi.php | 88 +
.../nesbot/carbon/src/Carbon/Lang/fi_FI.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/fil.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/fil_PH.php | 62 +
vendor/nesbot/carbon/src/Carbon/Lang/fo.php | 69 +
.../nesbot/carbon/src/Carbon/Lang/fo_DK.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/fo_FO.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/fr.php | 123 +
.../nesbot/carbon/src/Carbon/Lang/fr_BE.php | 18 +
.../nesbot/carbon/src/Carbon/Lang/fr_BF.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_BI.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_BJ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_BL.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_CA.php | 25 +
.../nesbot/carbon/src/Carbon/Lang/fr_CD.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_CF.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_CG.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_CH.php | 24 +
.../nesbot/carbon/src/Carbon/Lang/fr_CI.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_CM.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/fr_DJ.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/fr_DZ.php | 23 +
.../nesbot/carbon/src/Carbon/Lang/fr_FR.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_GA.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_GF.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_GN.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_GP.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_GQ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_HT.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_KM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_LU.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/fr_MA.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/fr_MC.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_MF.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_MG.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_ML.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_MQ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_MR.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/fr_MU.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_NC.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_NE.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_PF.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_PM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_RE.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_RW.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_SC.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_SN.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_SY.php | 23 +
.../nesbot/carbon/src/Carbon/Lang/fr_TD.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/fr_TG.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_TN.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/fr_VU.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/fr_WF.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/fr_YT.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/fur.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/fur_IT.php | 39 +
vendor/nesbot/carbon/src/Carbon/Lang/fy.php | 76 +
.../nesbot/carbon/src/Carbon/Lang/fy_DE.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/fy_NL.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/ga.php | 77 +
.../nesbot/carbon/src/Carbon/Lang/ga_IE.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/gd.php | 75 +
.../nesbot/carbon/src/Carbon/Lang/gd_GB.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/gez.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/gez_ER.php | 56 +
.../nesbot/carbon/src/Carbon/Lang/gez_ET.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/gl.php | 98 +
.../nesbot/carbon/src/Carbon/Lang/gl_ES.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/gom.php | 15 +
.../carbon/src/Carbon/Lang/gom_Latn.php | 79 +
vendor/nesbot/carbon/src/Carbon/Lang/gsw.php | 49 +
.../nesbot/carbon/src/Carbon/Lang/gsw_CH.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/gsw_FR.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/gsw_LI.php | 20 +
vendor/nesbot/carbon/src/Carbon/Lang/gu.php | 82 +
.../nesbot/carbon/src/Carbon/Lang/gu_IN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/guz.php | 47 +
vendor/nesbot/carbon/src/Carbon/Lang/gv.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/gv_GB.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/ha.php | 60 +
.../nesbot/carbon/src/Carbon/Lang/ha_GH.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ha_NE.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ha_NG.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/hak.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/hak_TW.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/haw.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/he.php | 86 +
.../nesbot/carbon/src/Carbon/Lang/he_IL.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/hi.php | 82 +
.../nesbot/carbon/src/Carbon/Lang/hi_IN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/hif.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/hif_FJ.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/hne.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/hne_IN.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/hr.php | 111 +
.../nesbot/carbon/src/Carbon/Lang/hr_BA.php | 32 +
.../nesbot/carbon/src/Carbon/Lang/hr_HR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/hsb.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/hsb_DE.php | 60 +
vendor/nesbot/carbon/src/Carbon/Lang/ht.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ht_HT.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/hu.php | 118 +
.../nesbot/carbon/src/Carbon/Lang/hu_HU.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/hy.php | 95 +
.../nesbot/carbon/src/Carbon/Lang/hy_AM.php | 24 +
vendor/nesbot/carbon/src/Carbon/Lang/i18n.php | 23 +
vendor/nesbot/carbon/src/Carbon/Lang/ia.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ia_FR.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/id.php | 92 +
.../nesbot/carbon/src/Carbon/Lang/id_ID.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ig.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ig_NG.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/ii.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/ik.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ik_CA.php | 50 +
vendor/nesbot/carbon/src/Carbon/Lang/in.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/is.php | 55 +
.../nesbot/carbon/src/Carbon/Lang/is_IS.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/it.php | 115 +
.../nesbot/carbon/src/Carbon/Lang/it_CH.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/it_IT.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/it_SM.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/it_VA.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/iu.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/iu_CA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/iw.php | 58 +
vendor/nesbot/carbon/src/Carbon/Lang/ja.php | 102 +
.../nesbot/carbon/src/Carbon/Lang/ja_JP.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/jgo.php | 13 +
vendor/nesbot/carbon/src/Carbon/Lang/jmc.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/jv.php | 71 +
vendor/nesbot/carbon/src/Carbon/Lang/ka.php | 204 +
.../nesbot/carbon/src/Carbon/Lang/ka_GE.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/kab.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/kab_DZ.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/kam.php | 50 +
vendor/nesbot/carbon/src/Carbon/Lang/kde.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/kea.php | 49 +
vendor/nesbot/carbon/src/Carbon/Lang/khq.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/ki.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/kk.php | 103 +
.../nesbot/carbon/src/Carbon/Lang/kk_KZ.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/kkj.php | 13 +
vendor/nesbot/carbon/src/Carbon/Lang/kl.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/kl_GL.php | 64 +
vendor/nesbot/carbon/src/Carbon/Lang/kln.php | 31 +
vendor/nesbot/carbon/src/Carbon/Lang/km.php | 71 +
.../nesbot/carbon/src/Carbon/Lang/km_KH.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/kn.php | 75 +
.../nesbot/carbon/src/Carbon/Lang/kn_IN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ko.php | 91 +
.../nesbot/carbon/src/Carbon/Lang/ko_KP.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/ko_KR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/kok.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/kok_IN.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/ks.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ks_IN.php | 51 +
.../src/Carbon/Lang/ks_IN@devanagari.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/ksb.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/ksf.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/ksh.php | 57 +
vendor/nesbot/carbon/src/Carbon/Lang/ku.php | 40 +
.../nesbot/carbon/src/Carbon/Lang/ku_TR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/kw.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/kw_GB.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/ky.php | 106 +
.../nesbot/carbon/src/Carbon/Lang/ky_KG.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/lag.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/lb.php | 88 +
.../nesbot/carbon/src/Carbon/Lang/lb_LU.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/lg.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/lg_UG.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/li.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/li_NL.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/lij.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/lij_IT.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/lkt.php | 41 +
vendor/nesbot/carbon/src/Carbon/Lang/ln.php | 60 +
.../nesbot/carbon/src/Carbon/Lang/ln_AO.php | 17 +
.../nesbot/carbon/src/Carbon/Lang/ln_CD.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/ln_CF.php | 17 +
.../nesbot/carbon/src/Carbon/Lang/ln_CG.php | 17 +
vendor/nesbot/carbon/src/Carbon/Lang/lo.php | 62 +
.../nesbot/carbon/src/Carbon/Lang/lo_LA.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/lrc.php | 17 +
.../nesbot/carbon/src/Carbon/Lang/lrc_IQ.php | 13 +
vendor/nesbot/carbon/src/Carbon/Lang/lt.php | 135 +
.../nesbot/carbon/src/Carbon/Lang/lt_LT.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/lu.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/luo.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/luy.php | 57 +
vendor/nesbot/carbon/src/Carbon/Lang/lv.php | 183 +
.../nesbot/carbon/src/Carbon/Lang/lv_LV.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/lzh.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/lzh_TW.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/mag.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mag_IN.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/mai.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mai_IN.php | 51 +
vendor/nesbot/carbon/src/Carbon/Lang/mas.php | 51 +
.../nesbot/carbon/src/Carbon/Lang/mas_TZ.php | 14 +
vendor/nesbot/carbon/src/Carbon/Lang/mer.php | 43 +
vendor/nesbot/carbon/src/Carbon/Lang/mfe.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mfe_MU.php | 53 +
vendor/nesbot/carbon/src/Carbon/Lang/mg.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mg_MG.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/mgh.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/mgo.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/mhr.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mhr_RU.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/mi.php | 66 +
.../nesbot/carbon/src/Carbon/Lang/mi_NZ.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/miq.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/miq_NI.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/mjw.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mjw_IN.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/mk.php | 116 +
.../nesbot/carbon/src/Carbon/Lang/mk_MK.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ml.php | 76 +
.../nesbot/carbon/src/Carbon/Lang/ml_IN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/mn.php | 116 +
.../nesbot/carbon/src/Carbon/Lang/mn_MN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/mni.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/mni_IN.php | 35 +
vendor/nesbot/carbon/src/Carbon/Lang/mo.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/mr.php | 86 +
.../nesbot/carbon/src/Carbon/Lang/mr_IN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ms.php | 104 +
.../nesbot/carbon/src/Carbon/Lang/ms_BN.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/ms_MY.php | 18 +
.../nesbot/carbon/src/Carbon/Lang/ms_SG.php | 22 +
vendor/nesbot/carbon/src/Carbon/Lang/mt.php | 65 +
.../nesbot/carbon/src/Carbon/Lang/mt_MT.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/mua.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/my.php | 70 +
.../nesbot/carbon/src/Carbon/Lang/my_MM.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/mzn.php | 25 +
vendor/nesbot/carbon/src/Carbon/Lang/nan.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/nan_TW.php | 55 +
.../carbon/src/Carbon/Lang/nan_TW@latin.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/naq.php | 52 +
vendor/nesbot/carbon/src/Carbon/Lang/nb.php | 84 +
.../nesbot/carbon/src/Carbon/Lang/nb_NO.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/nb_SJ.php | 18 +
vendor/nesbot/carbon/src/Carbon/Lang/nd.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/nds.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/nds_DE.php | 60 +
.../nesbot/carbon/src/Carbon/Lang/nds_NL.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/ne.php | 82 +
.../nesbot/carbon/src/Carbon/Lang/ne_IN.php | 25 +
.../nesbot/carbon/src/Carbon/Lang/ne_NP.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/nhn.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/nhn_MX.php | 50 +
vendor/nesbot/carbon/src/Carbon/Lang/niu.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/niu_NU.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/nl.php | 113 +
.../nesbot/carbon/src/Carbon/Lang/nl_AW.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/nl_BE.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/nl_BQ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/nl_CW.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/nl_NL.php | 24 +
.../nesbot/carbon/src/Carbon/Lang/nl_SR.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/nl_SX.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/nmg.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/nn.php | 78 +
.../nesbot/carbon/src/Carbon/Lang/nn_NO.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/nnh.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/no.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/nr.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/nr_ZA.php | 26 +
vendor/nesbot/carbon/src/Carbon/Lang/nso.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/nso_ZA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/nus.php | 36 +
vendor/nesbot/carbon/src/Carbon/Lang/nyn.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/oc.php | 100 +
.../nesbot/carbon/src/Carbon/Lang/oc_FR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/om.php | 60 +
.../nesbot/carbon/src/Carbon/Lang/om_ET.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/om_KE.php | 14 +
vendor/nesbot/carbon/src/Carbon/Lang/or.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/or_IN.php | 51 +
vendor/nesbot/carbon/src/Carbon/Lang/os.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/os_RU.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/pa.php | 76 +
.../nesbot/carbon/src/Carbon/Lang/pa_Arab.php | 26 +
.../nesbot/carbon/src/Carbon/Lang/pa_Guru.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/pa_IN.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/pa_PK.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/pap.php | 39 +
.../nesbot/carbon/src/Carbon/Lang/pap_AW.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/pap_CW.php | 16 +
vendor/nesbot/carbon/src/Carbon/Lang/pl.php | 126 +
.../nesbot/carbon/src/Carbon/Lang/pl_PL.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/prg.php | 52 +
vendor/nesbot/carbon/src/Carbon/Lang/ps.php | 55 +
.../nesbot/carbon/src/Carbon/Lang/ps_AF.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/pt.php | 116 +
.../nesbot/carbon/src/Carbon/Lang/pt_AO.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_BR.php | 39 +
.../nesbot/carbon/src/Carbon/Lang/pt_CH.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_CV.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_GQ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_GW.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_LU.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_MO.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/pt_MZ.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/pt_PT.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/pt_ST.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/pt_TL.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/qu.php | 22 +
.../nesbot/carbon/src/Carbon/Lang/qu_BO.php | 14 +
.../nesbot/carbon/src/Carbon/Lang/qu_EC.php | 14 +
vendor/nesbot/carbon/src/Carbon/Lang/quz.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/quz_PE.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/raj.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/raj_IN.php | 47 +
vendor/nesbot/carbon/src/Carbon/Lang/rm.php | 51 +
vendor/nesbot/carbon/src/Carbon/Lang/rn.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/ro.php | 77 +
.../nesbot/carbon/src/Carbon/Lang/ro_MD.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/ro_RO.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/rof.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/ru.php | 191 +
.../nesbot/carbon/src/Carbon/Lang/ru_BY.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ru_KG.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ru_KZ.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ru_MD.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ru_RU.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/ru_UA.php | 20 +
vendor/nesbot/carbon/src/Carbon/Lang/rw.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/rw_RW.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/rwk.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/sa.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sa_IN.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/sah.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sah_RU.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/saq.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/sat.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sat_IN.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/sbp.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/sc.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sc_IT.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/sd.php | 81 +
.../nesbot/carbon/src/Carbon/Lang/sd_IN.php | 26 +
.../src/Carbon/Lang/sd_IN@devanagari.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/se.php | 73 +
.../nesbot/carbon/src/Carbon/Lang/se_FI.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/se_NO.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/se_SE.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/seh.php | 26 +
vendor/nesbot/carbon/src/Carbon/Lang/ses.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/sg.php | 52 +
vendor/nesbot/carbon/src/Carbon/Lang/sgs.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sgs_LT.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/sh.php | 68 +
vendor/nesbot/carbon/src/Carbon/Lang/shi.php | 57 +
.../carbon/src/Carbon/Lang/shi_Latn.php | 33 +
.../carbon/src/Carbon/Lang/shi_Tfng.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/shn.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/shn_MM.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/shs.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/shs_CA.php | 38 +
vendor/nesbot/carbon/src/Carbon/Lang/si.php | 78 +
.../nesbot/carbon/src/Carbon/Lang/si_LK.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/sid.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sid_ET.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/sk.php | 83 +
.../nesbot/carbon/src/Carbon/Lang/sk_SK.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/sl.php | 129 +
.../nesbot/carbon/src/Carbon/Lang/sl_SI.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/sm.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/sm_WS.php | 53 +
vendor/nesbot/carbon/src/Carbon/Lang/smn.php | 57 +
vendor/nesbot/carbon/src/Carbon/Lang/sn.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/so.php | 74 +
.../nesbot/carbon/src/Carbon/Lang/so_DJ.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/so_ET.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/so_KE.php | 16 +
.../nesbot/carbon/src/Carbon/Lang/so_SO.php | 16 +
vendor/nesbot/carbon/src/Carbon/Lang/sq.php | 79 +
.../nesbot/carbon/src/Carbon/Lang/sq_AL.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/sq_MK.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/sq_XK.php | 19 +
vendor/nesbot/carbon/src/Carbon/Lang/sr.php | 112 +
.../nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php | 112 +
.../carbon/src/Carbon/Lang/sr_Cyrl_BA.php | 33 +
.../carbon/src/Carbon/Lang/sr_Cyrl_ME.php | 118 +
.../carbon/src/Carbon/Lang/sr_Cyrl_XK.php | 24 +
.../nesbot/carbon/src/Carbon/Lang/sr_Latn.php | 12 +
.../carbon/src/Carbon/Lang/sr_Latn_BA.php | 33 +
.../carbon/src/Carbon/Lang/sr_Latn_ME.php | 76 +
.../carbon/src/Carbon/Lang/sr_Latn_XK.php | 24 +
.../nesbot/carbon/src/Carbon/Lang/sr_ME.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/sr_RS.php | 16 +
.../carbon/src/Carbon/Lang/sr_RS@latin.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ss.php | 78 +
.../nesbot/carbon/src/Carbon/Lang/ss_ZA.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/st.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/st_ZA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/sv.php | 87 +
.../nesbot/carbon/src/Carbon/Lang/sv_AX.php | 19 +
.../nesbot/carbon/src/Carbon/Lang/sv_FI.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/sv_SE.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/sw.php | 74 +
.../nesbot/carbon/src/Carbon/Lang/sw_CD.php | 17 +
.../nesbot/carbon/src/Carbon/Lang/sw_KE.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/sw_TZ.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/sw_UG.php | 17 +
vendor/nesbot/carbon/src/Carbon/Lang/szl.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/szl_PL.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/ta.php | 97 +
.../nesbot/carbon/src/Carbon/Lang/ta_IN.php | 27 +
.../nesbot/carbon/src/Carbon/Lang/ta_LK.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/ta_MY.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/ta_SG.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/tcy.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/tcy_IN.php | 39 +
vendor/nesbot/carbon/src/Carbon/Lang/te.php | 89 +
.../nesbot/carbon/src/Carbon/Lang/te_IN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/teo.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/teo_KE.php | 14 +
vendor/nesbot/carbon/src/Carbon/Lang/tet.php | 64 +
vendor/nesbot/carbon/src/Carbon/Lang/tg.php | 104 +
.../nesbot/carbon/src/Carbon/Lang/tg_TJ.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/th.php | 73 +
.../nesbot/carbon/src/Carbon/Lang/th_TH.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/the.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/the_NP.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/ti.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ti_ER.php | 56 +
.../nesbot/carbon/src/Carbon/Lang/ti_ET.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/tig.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/tig_ER.php | 56 +
vendor/nesbot/carbon/src/Carbon/Lang/tk.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/tk_TM.php | 77 +
vendor/nesbot/carbon/src/Carbon/Lang/tl.php | 61 +
.../nesbot/carbon/src/Carbon/Lang/tl_PH.php | 18 +
vendor/nesbot/carbon/src/Carbon/Lang/tlh.php | 72 +
vendor/nesbot/carbon/src/Carbon/Lang/tn.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/tn_ZA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/to.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/to_TO.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/tpi.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/tpi_PG.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/tr.php | 121 +
.../nesbot/carbon/src/Carbon/Lang/tr_CY.php | 23 +
.../nesbot/carbon/src/Carbon/Lang/tr_TR.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ts.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ts_ZA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/tt.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/tt_RU.php | 39 +
.../carbon/src/Carbon/Lang/tt_RU@iqtelif.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/twq.php | 14 +
vendor/nesbot/carbon/src/Carbon/Lang/tzl.php | 65 +
vendor/nesbot/carbon/src/Carbon/Lang/tzm.php | 57 +
.../carbon/src/Carbon/Lang/tzm_Latn.php | 64 +
vendor/nesbot/carbon/src/Carbon/Lang/ug.php | 90 +
.../nesbot/carbon/src/Carbon/Lang/ug_CN.php | 17 +
vendor/nesbot/carbon/src/Carbon/Lang/uk.php | 212 +
.../nesbot/carbon/src/Carbon/Lang/uk_UA.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/unm.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/unm_US.php | 57 +
vendor/nesbot/carbon/src/Carbon/Lang/ur.php | 94 +
.../nesbot/carbon/src/Carbon/Lang/ur_IN.php | 26 +
.../nesbot/carbon/src/Carbon/Lang/ur_PK.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/uz.php | 85 +
.../nesbot/carbon/src/Carbon/Lang/uz_Arab.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php | 20 +
.../nesbot/carbon/src/Carbon/Lang/uz_Latn.php | 74 +
.../nesbot/carbon/src/Carbon/Lang/uz_UZ.php | 27 +
.../carbon/src/Carbon/Lang/uz_UZ@cyrillic.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/vai.php | 35 +
.../carbon/src/Carbon/Lang/vai_Latn.php | 27 +
.../carbon/src/Carbon/Lang/vai_Vaii.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/ve.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/ve_ZA.php | 49 +
vendor/nesbot/carbon/src/Carbon/Lang/vi.php | 76 +
.../nesbot/carbon/src/Carbon/Lang/vi_VN.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/vo.php | 52 +
vendor/nesbot/carbon/src/Carbon/Lang/vun.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/wa.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/wa_BE.php | 55 +
vendor/nesbot/carbon/src/Carbon/Lang/wae.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/wae_CH.php | 31 +
vendor/nesbot/carbon/src/Carbon/Lang/wal.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/wal_ET.php | 27 +
vendor/nesbot/carbon/src/Carbon/Lang/wo.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/wo_SN.php | 39 +
vendor/nesbot/carbon/src/Carbon/Lang/xh.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/xh_ZA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/xog.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/yav.php | 28 +
vendor/nesbot/carbon/src/Carbon/Lang/yi.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/yi_US.php | 54 +
vendor/nesbot/carbon/src/Carbon/Lang/yo.php | 65 +
.../nesbot/carbon/src/Carbon/Lang/yo_BJ.php | 28 +
.../nesbot/carbon/src/Carbon/Lang/yo_NG.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/yue.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/yue_HK.php | 28 +
.../carbon/src/Carbon/Lang/yue_Hans.php | 12 +
.../carbon/src/Carbon/Lang/yue_Hant.php | 12 +
vendor/nesbot/carbon/src/Carbon/Lang/yuw.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/yuw_PG.php | 26 +
vendor/nesbot/carbon/src/Carbon/Lang/zgh.php | 80 +
vendor/nesbot/carbon/src/Carbon/Lang/zh.php | 29 +
.../nesbot/carbon/src/Carbon/Lang/zh_CN.php | 33 +
.../nesbot/carbon/src/Carbon/Lang/zh_HK.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/zh_Hans.php | 109 +
.../carbon/src/Carbon/Lang/zh_Hans_HK.php | 12 +
.../carbon/src/Carbon/Lang/zh_Hans_MO.php | 12 +
.../carbon/src/Carbon/Lang/zh_Hans_SG.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/zh_Hant.php | 111 +
.../carbon/src/Carbon/Lang/zh_Hant_HK.php | 12 +
.../carbon/src/Carbon/Lang/zh_Hant_MO.php | 12 +
.../carbon/src/Carbon/Lang/zh_Hant_TW.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/zh_MO.php | 21 +
.../nesbot/carbon/src/Carbon/Lang/zh_SG.php | 26 +
.../nesbot/carbon/src/Carbon/Lang/zh_TW.php | 12 +
.../nesbot/carbon/src/Carbon/Lang/zh_YUE.php | 20 +
vendor/nesbot/carbon/src/Carbon/Lang/zu.php | 15 +
.../nesbot/carbon/src/Carbon/Lang/zu_ZA.php | 54 +
vendor/nesbot/carbon/src/Carbon/Language.php | 342 +
.../src/Carbon/Laravel/ServiceProvider.php | 127 +
.../carbon/src/Carbon/List/languages.php | 1239 ++
.../nesbot/carbon/src/Carbon/List/regions.php | 265 +
.../MessageFormatterMapper.php | 44 +
.../src/Carbon/PHPStan/AbstractMacro.php | 288 +
.../carbon/src/Carbon/PHPStan/Macro.php | 34 +
.../src/Carbon/PHPStan/MacroExtension.php | 88 +
.../src/Carbon/PHPStan/MacroScanner.php | 87 +
.../carbon/src/Carbon/Traits/Boundaries.php | 443 +
.../nesbot/carbon/src/Carbon/Traits/Cast.php | 43 +
.../carbon/src/Carbon/Traits/Comparison.php | 1125 ++
.../carbon/src/Carbon/Traits/Converter.php | 639 +
.../carbon/src/Carbon/Traits/Creator.php | 977 ++
.../nesbot/carbon/src/Carbon/Traits/Date.php | 2747 ++++
.../Carbon/Traits/DeprecatedProperties.php | 61 +
.../carbon/src/Carbon/Traits/Difference.php | 1182 ++
.../src/Carbon/Traits/IntervalRounding.php | 57 +
.../carbon/src/Carbon/Traits/IntervalStep.php | 93 +
.../carbon/src/Carbon/Traits/Localization.php | 840 +
.../nesbot/carbon/src/Carbon/Traits/Macro.php | 136 +
.../src/Carbon/Traits/MagicParameter.php | 33 +
.../nesbot/carbon/src/Carbon/Traits/Mixin.php | 226 +
.../carbon/src/Carbon/Traits/Modifiers.php | 472 +
.../carbon/src/Carbon/Traits/Mutability.php | 71 +
.../Carbon/Traits/ObjectInitialisation.php | 22 +
.../carbon/src/Carbon/Traits/Options.php | 471 +
.../carbon/src/Carbon/Traits/Rounding.php | 258 +
.../src/Carbon/Traits/Serialization.php | 326 +
.../nesbot/carbon/src/Carbon/Traits/Test.php | 229 +
.../carbon/src/Carbon/Traits/Timestamp.php | 198 +
.../src/Carbon/Traits/ToStringFormat.php | 56 +
.../nesbot/carbon/src/Carbon/Traits/Units.php | 412 +
.../nesbot/carbon/src/Carbon/Traits/Week.php | 219 +
.../nesbot/carbon/src/Carbon/Translator.php | 32 +
.../carbon/src/Carbon/TranslatorImmutable.php | 99 +
.../Carbon/TranslatorStrongTypeInterface.php | 22 +
.../phpmailer/language/phpmailer.lang-si.php | 34 +
.../phpspreadsheet/.php-cs-fixer.dist.php | 251 +
.../phpoffice/phpspreadsheet/.phpcs.xml.dist | 25 +
.../phpspreadsheet/.readthedocs.yaml | 12 +
vendor/phpoffice/phpspreadsheet/CHANGELOG.md | 1481 ++
.../phpoffice/phpspreadsheet/CONTRIBUTING.md | 45 +
vendor/phpoffice/phpspreadsheet/LICENSE | 21 +
vendor/phpoffice/phpspreadsheet/README.md | 144 +
vendor/phpoffice/phpspreadsheet/composer.json | 121 +
.../phpspreadsheet/phpstan-baseline.neon | 6 +
.../phpspreadsheet/phpstan.neon.dist | 28 +
.../Calculation/ArrayEnabled.php | 122 +
.../Calculation/BinaryComparison.php | 136 +
.../Calculation/Calculation.php | 5759 +++++++
.../PhpSpreadsheet/Calculation/Category.php | 21 +
.../PhpSpreadsheet/Calculation/Database.php | 426 +
.../Calculation/Database/DAverage.php | 46 +
.../Calculation/Database/DCount.php | 45 +
.../Calculation/Database/DCountA.php | 44 +
.../Calculation/Database/DGet.php | 51 +
.../Calculation/Database/DMax.php | 47 +
.../Calculation/Database/DMin.php | 47 +
.../Calculation/Database/DProduct.php | 44 +
.../Calculation/Database/DStDev.php | 47 +
.../Calculation/Database/DStDevP.php | 47 +
.../Calculation/Database/DSum.php | 46 +
.../Calculation/Database/DVar.php | 47 +
.../Calculation/Database/DVarP.php | 47 +
.../Calculation/Database/DatabaseAbstract.php | 187 +
.../PhpSpreadsheet/Calculation/DateTime.php | 886 +
.../Calculation/DateTimeExcel/Constants.php | 38 +
.../Calculation/DateTimeExcel/Current.php | 59 +
.../Calculation/DateTimeExcel/Date.php | 166 +
.../Calculation/DateTimeExcel/DateParts.php | 154 +
.../Calculation/DateTimeExcel/DateValue.php | 162 +
.../Calculation/DateTimeExcel/Days.php | 62 +
.../Calculation/DateTimeExcel/Days360.php | 118 +
.../Calculation/DateTimeExcel/Difference.php | 158 +
.../Calculation/DateTimeExcel/Helpers.php | 288 +
.../Calculation/DateTimeExcel/Month.php | 103 +
.../Calculation/DateTimeExcel/NetworkDays.php | 119 +
.../Calculation/DateTimeExcel/Time.php | 130 +
.../Calculation/DateTimeExcel/TimeParts.php | 135 +
.../Calculation/DateTimeExcel/TimeValue.php | 83 +
.../Calculation/DateTimeExcel/Week.php | 274 +
.../Calculation/DateTimeExcel/WorkDay.php | 201 +
.../Calculation/DateTimeExcel/YearFrac.php | 124 +
.../Engine/ArrayArgumentHelper.php | 205 +
.../Engine/ArrayArgumentProcessor.php | 162 +
.../Calculation/Engine/BranchPruner.php | 208 +
.../Engine/CyclicReferenceStack.php | 67 +
.../Calculation/Engine/FormattedNumber.php | 147 +
.../Calculation/Engine/Logger.php | 138 +
.../Calculation/Engine/Operands/Operand.php | 10 +
.../Engine/Operands/StructuredReference.php | 357 +
.../Calculation/Engineering.php | 1400 ++
.../Calculation/Engineering/BesselI.php | 141 +
.../Calculation/Engineering/BesselJ.php | 176 +
.../Calculation/Engineering/BesselK.php | 130 +
.../Calculation/Engineering/BesselY.php | 137 +
.../Calculation/Engineering/BitWise.php | 268 +
.../Calculation/Engineering/Compare.php | 82 +
.../Calculation/Engineering/Complex.php | 121 +
.../Engineering/ComplexFunctions.php | 611 +
.../Engineering/ComplexOperations.php | 130 +
.../Calculation/Engineering/Constants.php | 11 +
.../Calculation/Engineering/ConvertBase.php | 69 +
.../Calculation/Engineering/ConvertBinary.php | 163 +
.../Engineering/ConvertDecimal.php | 213 +
.../Calculation/Engineering/ConvertHex.php | 175 +
.../Calculation/Engineering/ConvertOctal.php | 174 +
.../Calculation/Engineering/ConvertUOM.php | 684 +
.../Engineering/EngineeringValidations.php | 27 +
.../Calculation/Engineering/Erf.php | 113 +
.../Calculation/Engineering/ErfC.php | 82 +
.../PhpSpreadsheet/Calculation/Exception.php | 22 +
.../Calculation/ExceptionHandler.php | 24 +
.../PhpSpreadsheet/Calculation/Financial.php | 1375 ++
.../Calculation/Financial/Amortization.php | 212 +
.../CashFlow/CashFlowValidations.php | 44 +
.../Financial/CashFlow/Constant/Periodic.php | 195 +
.../CashFlow/Constant/Periodic/Cumulative.php | 142 +
.../CashFlow/Constant/Periodic/Interest.php | 213 +
.../Periodic/InterestAndPrincipal.php | 44 +
.../CashFlow/Constant/Periodic/Payments.php | 116 +
.../Calculation/Financial/CashFlow/Single.php | 107 +
.../CashFlow/Variable/NonPeriodic.php | 308 +
.../Financial/CashFlow/Variable/Periodic.php | 159 +
.../Calculation/Financial/Constants.php | 19 +
.../Calculation/Financial/Coupons.php | 411 +
.../Calculation/Financial/Depreciation.php | 270 +
.../Calculation/Financial/Dollar.php | 128 +
.../Financial/FinancialValidations.php | 122 +
.../Calculation/Financial/Helpers.php | 58 +
.../Calculation/Financial/InterestRate.php | 71 +
.../Financial/Securities/AccruedInterest.php | 151 +
.../Financial/Securities/Price.php | 283 +
.../Financial/Securities/Rates.php | 138 +
.../Securities/SecurityValidations.php | 32 +
.../Financial/Securities/Yields.php | 153 +
.../Calculation/Financial/TreasuryBill.php | 146 +
.../Calculation/FormulaParser.php | 618 +
.../Calculation/FormulaToken.php | 150 +
.../PhpSpreadsheet/Calculation/Functions.php | 667 +
.../Calculation/Information/ErrorValue.php | 71 +
.../Calculation/Information/ExcelError.php | 166 +
.../Calculation/Information/Value.php | 326 +
.../Calculation/Internal/MakeMatrix.php | 12 +
.../Calculation/Internal/WildcardMatch.php | 39 +
.../PhpSpreadsheet/Calculation/Logical.php | 303 +
.../Calculation/Logical/Boolean.php | 36 +
.../Calculation/Logical/Conditional.php | 211 +
.../Calculation/Logical/Operations.php | 166 +
.../PhpSpreadsheet/Calculation/LookupRef.php | 398 +
.../Calculation/LookupRef/Address.php | 124 +
.../Calculation/LookupRef/ExcelMatch.php | 252 +
.../Calculation/LookupRef/Filter.php | 75 +
.../Calculation/LookupRef/Formula.php | 43 +
.../Calculation/LookupRef/HLookup.php | 121 +
.../Calculation/LookupRef/Helpers.php | 74 +
.../Calculation/LookupRef/Hyperlink.php | 41 +
.../Calculation/LookupRef/Indirect.php | 130 +
.../Calculation/LookupRef/Lookup.php | 106 +
.../Calculation/LookupRef/LookupBase.php | 64 +
.../LookupRef/LookupRefValidations.php | 34 +
.../Calculation/LookupRef/Matrix.php | 139 +
.../Calculation/LookupRef/Offset.php | 148 +
.../LookupRef/RowColumnInformation.php | 210 +
.../Calculation/LookupRef/Selection.php | 51 +
.../Calculation/LookupRef/Sort.php | 312 +
.../Calculation/LookupRef/Unique.php | 137 +
.../Calculation/LookupRef/VLookup.php | 117 +
.../PhpSpreadsheet/Calculation/MathTrig.php | 1440 ++
.../Calculation/MathTrig/Absolute.php | 37 +
.../Calculation/MathTrig/Angle.php | 63 +
.../Calculation/MathTrig/Arabic.php | 97 +
.../Calculation/MathTrig/Base.php | 65 +
.../Calculation/MathTrig/Ceiling.php | 165 +
.../Calculation/MathTrig/Combinations.php | 91 +
.../Calculation/MathTrig/Exp.php | 37 +
.../Calculation/MathTrig/Factorial.php | 126 +
.../Calculation/MathTrig/Floor.php | 191 +
.../Calculation/MathTrig/Gcd.php | 70 +
.../Calculation/MathTrig/Helpers.php | 125 +
.../Calculation/MathTrig/IntClass.php | 40 +
.../Calculation/MathTrig/Lcm.php | 111 +
.../Calculation/MathTrig/Logarithms.php | 102 +
.../Calculation/MathTrig/MatrixFunctions.php | 179 +
.../Calculation/MathTrig/Operations.php | 158 +
.../Calculation/MathTrig/Random.php | 99 +
.../Calculation/MathTrig/Roman.php | 846 +
.../Calculation/MathTrig/Round.php | 218 +
.../Calculation/MathTrig/SeriesSum.php | 53 +
.../Calculation/MathTrig/Sign.php | 38 +
.../Calculation/MathTrig/Sqrt.php | 64 +
.../Calculation/MathTrig/Subtotal.php | 127 +
.../Calculation/MathTrig/Sum.php | 114 +
.../Calculation/MathTrig/SumSquares.php | 141 +
.../Calculation/MathTrig/Trig/Cosecant.php | 64 +
.../Calculation/MathTrig/Trig/Cosine.php | 116 +
.../Calculation/MathTrig/Trig/Cotangent.php | 118 +
.../Calculation/MathTrig/Trig/Secant.php | 64 +
.../Calculation/MathTrig/Trig/Sine.php | 116 +
.../Calculation/MathTrig/Trig/Tangent.php | 161 +
.../Calculation/MathTrig/Trunc.php | 50 +
.../Calculation/Statistical.php | 1713 ++
.../Calculation/Statistical/AggregateBase.php | 61 +
.../Calculation/Statistical/Averages.php | 261 +
.../Calculation/Statistical/Averages/Mean.php | 132 +
.../Calculation/Statistical/Conditional.php | 307 +
.../Calculation/Statistical/Confidence.php | 52 +
.../Calculation/Statistical/Counts.php | 96 +
.../Calculation/Statistical/Deviations.php | 140 +
.../Statistical/Distributions/Beta.php | 283 +
.../Statistical/Distributions/Binomial.php | 234 +
.../Statistical/Distributions/ChiSquared.php | 337 +
.../Distributions/DistributionValidations.php | 21 +
.../Statistical/Distributions/Exponential.php | 55 +
.../Statistical/Distributions/F.php | 64 +
.../Statistical/Distributions/Fisher.php | 74 +
.../Statistical/Distributions/Gamma.php | 151 +
.../Statistical/Distributions/GammaBase.php | 390 +
.../Distributions/HyperGeometric.php | 76 +
.../Statistical/Distributions/LogNormal.php | 139 +
.../Distributions/NewtonRaphson.php | 65 +
.../Statistical/Distributions/Normal.php | 180 +
.../Statistical/Distributions/Poisson.php | 66 +
.../Distributions/StandardNormal.php | 159 +
.../Statistical/Distributions/StudentT.php | 132 +
.../Statistical/Distributions/Weibull.php | 57 +
.../Calculation/Statistical/MaxMinBase.php | 20 +
.../Calculation/Statistical/Maximum.php | 89 +
.../Calculation/Statistical/Minimum.php | 89 +
.../Calculation/Statistical/Percentiles.php | 202 +
.../Calculation/Statistical/Permutations.php | 99 +
.../Calculation/Statistical/Size.php | 97 +
.../Statistical/StandardDeviations.php | 95 +
.../Calculation/Statistical/Standardize.php | 49 +
.../Statistical/StatisticalValidations.php | 36 +
.../Calculation/Statistical/Trends.php | 434 +
.../Calculation/Statistical/VarianceBase.php | 34 +
.../Calculation/Statistical/Variances.php | 186 +
.../PhpSpreadsheet/Calculation/TextData.php | 421 +
.../Calculation/TextData/CaseConvert.php | 80 +
.../Calculation/TextData/CharacterConvert.php | 81 +
.../Calculation/TextData/Concatenate.php | 137 +
.../Calculation/TextData/Extract.php | 276 +
.../Calculation/TextData/Format.php | 314 +
.../Calculation/TextData/Helpers.php | 82 +
.../Calculation/TextData/Replace.php | 118 +
.../Calculation/TextData/Search.php | 97 +
.../Calculation/TextData/Text.php | 236 +
.../Calculation/TextData/Trim.php | 52 +
.../Calculation/Token/Stack.php | 121 +
.../src/PhpSpreadsheet/Calculation/Web.php | 30 +
.../Calculation/Web/Service.php | 73 +
.../Calculation/locale/Translations.xlsx | Bin 0 -> 140431 bytes
.../Calculation/locale/bg/config | 24 +
.../Calculation/locale/bg/functions | 409 +
.../Calculation/locale/cs/config | 20 +
.../Calculation/locale/cs/functions | 520 +
.../Calculation/locale/da/config | 20 +
.../Calculation/locale/da/functions | 538 +
.../Calculation/locale/de/config | 20 +
.../Calculation/locale/de/functions | 534 +
.../Calculation/locale/en/uk/config | 24 +
.../Calculation/locale/es/config | 20 +
.../Calculation/locale/es/functions | 538 +
.../Calculation/locale/fi/config | 20 +
.../Calculation/locale/fi/functions | 538 +
.../Calculation/locale/fr/config | 20 +
.../Calculation/locale/fr/functions | 525 +
.../Calculation/locale/hu/config | 20 +
.../Calculation/locale/hu/functions | 538 +
.../Calculation/locale/it/config | 20 +
.../Calculation/locale/it/functions | 537 +
.../Calculation/locale/nb/config | 20 +
.../Calculation/locale/nb/functions | 539 +
.../Calculation/locale/nl/config | 20 +
.../Calculation/locale/nl/functions | 537 +
.../Calculation/locale/pl/config | 20 +
.../Calculation/locale/pl/functions | 536 +
.../Calculation/locale/pt/br/config | 20 +
.../Calculation/locale/pt/br/functions | 528 +
.../Calculation/locale/pt/config | 20 +
.../Calculation/locale/pt/functions | 538 +
.../Calculation/locale/ru/config | 20 +
.../Calculation/locale/ru/functions | 555 +
.../Calculation/locale/sv/config | 20 +
.../Calculation/locale/sv/functions | 533 +
.../Calculation/locale/tr/config | 20 +
.../Calculation/locale/tr/functions | 537 +
.../src/PhpSpreadsheet/Cell/AddressHelper.php | 177 +
.../src/PhpSpreadsheet/Cell/AddressRange.php | 24 +
.../Cell/AdvancedValueBinder.php | 211 +
.../src/PhpSpreadsheet/Cell/Cell.php | 827 +
.../src/PhpSpreadsheet/Cell/CellAddress.php | 148 +
.../src/PhpSpreadsheet/Cell/CellRange.php | 137 +
.../src/PhpSpreadsheet/Cell/ColumnRange.php | 122 +
.../src/PhpSpreadsheet/Cell/Coordinate.php | 683 +
.../src/PhpSpreadsheet/Cell/DataType.php | 89 +
.../PhpSpreadsheet/Cell/DataValidation.php | 496 +
.../src/PhpSpreadsheet/Cell/DataValidator.php | 117 +
.../Cell/DefaultValueBinder.php | 83 +
.../src/PhpSpreadsheet/Cell/Hyperlink.php | 108 +
.../src/PhpSpreadsheet/Cell/IValueBinder.php | 16 +
.../src/PhpSpreadsheet/Cell/IgnoredErrors.php | 66 +
.../src/PhpSpreadsheet/Cell/RowRange.php | 90 +
.../PhpSpreadsheet/Cell/StringValueBinder.php | 130 +
.../PhpSpreadsheet/CellReferenceHelper.php | 119 +
.../src/PhpSpreadsheet/Chart/Axis.php | 372 +
.../src/PhpSpreadsheet/Chart/AxisText.php | 63 +
.../src/PhpSpreadsheet/Chart/Chart.php | 855 +
.../src/PhpSpreadsheet/Chart/ChartColor.php | 173 +
.../src/PhpSpreadsheet/Chart/DataSeries.php | 438 +
.../PhpSpreadsheet/Chart/DataSeriesValues.php | 615 +
.../src/PhpSpreadsheet/Chart/Exception.php | 9 +
.../src/PhpSpreadsheet/Chart/GridLines.php | 13 +
.../src/PhpSpreadsheet/Chart/Layout.php | 542 +
.../src/PhpSpreadsheet/Chart/Legend.php | 189 +
.../src/PhpSpreadsheet/Chart/PlotArea.php | 217 +
.../src/PhpSpreadsheet/Chart/Properties.php | 970 ++
.../Chart/Renderer/IRenderer.php | 22 +
.../PhpSpreadsheet/Chart/Renderer/JpGraph.php | 40 +
.../Chart/Renderer/JpGraphRendererBase.php | 882 +
.../Chart/Renderer/MtJpGraphRenderer.php | 38 +
.../Chart/Renderer/PHP Charting Libraries.txt | 23 +
.../src/PhpSpreadsheet/Chart/Title.php | 187 +
.../src/PhpSpreadsheet/Chart/TrendLine.php | 224 +
.../src/PhpSpreadsheet/Collection/Cells.php | 482 +
.../Collection/CellsFactory.php | 20 +
.../Collection/Memory/SimpleCache1.php | 126 +
.../Collection/Memory/SimpleCache3.php | 109 +
.../src/PhpSpreadsheet/Comment.php | 345 +
.../src/PhpSpreadsheet/DefinedName.php | 269 +
.../PhpSpreadsheet/Document/Properties.php | 537 +
.../src/PhpSpreadsheet/Document/Security.php | 146 +
.../src/PhpSpreadsheet/Exception.php | 9 +
.../src/PhpSpreadsheet/HashTable.php | 175 +
.../src/PhpSpreadsheet/Helper/Dimension.php | 113 +
.../src/PhpSpreadsheet/Helper/Downloader.php | 101 +
.../src/PhpSpreadsheet/Helper/Handler.php | 46 +
.../src/PhpSpreadsheet/Helper/Html.php | 863 +
.../src/PhpSpreadsheet/Helper/Sample.php | 308 +
.../src/PhpSpreadsheet/Helper/Size.php | 45 +
.../src/PhpSpreadsheet/Helper/TextGrid.php | 127 +
.../src/PhpSpreadsheet/IComparable.php | 13 +
.../src/PhpSpreadsheet/IOFactory.php | 236 +
.../src/PhpSpreadsheet/NamedFormula.php | 45 +
.../src/PhpSpreadsheet/NamedRange.php | 55 +
.../src/PhpSpreadsheet/Reader/BaseReader.php | 231 +
.../src/PhpSpreadsheet/Reader/Csv.php | 667 +
.../PhpSpreadsheet/Reader/Csv/Delimiter.php | 147 +
.../Reader/DefaultReadFilter.php | 18 +
.../src/PhpSpreadsheet/Reader/Exception.php | 9 +
.../src/PhpSpreadsheet/Reader/Gnumeric.php | 591 +
.../Reader/Gnumeric/PageSetup.php | 147 +
.../Reader/Gnumeric/Properties.php | 161 +
.../PhpSpreadsheet/Reader/Gnumeric/Styles.php | 274 +
.../src/PhpSpreadsheet/Reader/Html.php | 1173 ++
.../src/PhpSpreadsheet/Reader/IReadFilter.php | 17 +
.../src/PhpSpreadsheet/Reader/IReader.php | 145 +
.../src/PhpSpreadsheet/Reader/Ods.php | 806 +
.../PhpSpreadsheet/Reader/Ods/AutoFilter.php | 45 +
.../PhpSpreadsheet/Reader/Ods/BaseLoader.php | 21 +
.../Reader/Ods/DefinedNames.php | 70 +
.../Reader/Ods/FormulaTranslator.php | 97 +
.../Reader/Ods/PageSettings.php | 184 +
.../PhpSpreadsheet/Reader/Ods/Properties.php | 136 +
.../Reader/Security/XmlScanner.php | 97 +
.../src/PhpSpreadsheet/Reader/Slk.php | 617 +
.../src/PhpSpreadsheet/Reader/Xls.php | 7656 +++++++++
.../src/PhpSpreadsheet/Reader/Xls/Color.php | 36 +
.../PhpSpreadsheet/Reader/Xls/Color/BIFF5.php | 75 +
.../PhpSpreadsheet/Reader/Xls/Color/BIFF8.php | 75 +
.../Reader/Xls/Color/BuiltIn.php | 29 +
.../Reader/Xls/ConditionalFormatting.php | 49 +
.../Reader/Xls/DataValidationHelper.php | 72 +
.../PhpSpreadsheet/Reader/Xls/ErrorCode.php | 26 +
.../src/PhpSpreadsheet/Reader/Xls/Escher.php | 619 +
.../src/PhpSpreadsheet/Reader/Xls/MD5.php | 205 +
.../src/PhpSpreadsheet/Reader/Xls/RC4.php | 63 +
.../Reader/Xls/Style/Border.php | 37 +
.../Reader/Xls/Style/CellAlignment.php | 50 +
.../Reader/Xls/Style/CellFont.php | 39 +
.../Reader/Xls/Style/FillPattern.php | 50 +
.../src/PhpSpreadsheet/Reader/Xlsx.php | 2351 +++
.../PhpSpreadsheet/Reader/Xlsx/AutoFilter.php | 167 +
.../Reader/Xlsx/BaseParserClass.php | 21 +
.../src/PhpSpreadsheet/Reader/Xlsx/Chart.php | 1602 ++
.../Reader/Xlsx/ColumnAndRowAttributes.php | 219 +
.../Reader/Xlsx/ConditionalStyles.php | 340 +
.../Reader/Xlsx/DataValidations.php | 65 +
.../PhpSpreadsheet/Reader/Xlsx/Hyperlinks.php | 65 +
.../PhpSpreadsheet/Reader/Xlsx/Namespaces.php | 118 +
.../PhpSpreadsheet/Reader/Xlsx/PageSetup.php | 170 +
.../PhpSpreadsheet/Reader/Xlsx/Properties.php | 106 +
.../Reader/Xlsx/SharedFormula.php | 26 +
.../Reader/Xlsx/SheetViewOptions.php | 138 +
.../PhpSpreadsheet/Reader/Xlsx/SheetViews.php | 185 +
.../src/PhpSpreadsheet/Reader/Xlsx/Styles.php | 445 +
.../Reader/Xlsx/TableReader.php | 116 +
.../src/PhpSpreadsheet/Reader/Xlsx/Theme.php | 78 +
.../Reader/Xlsx/WorkbookView.php | 141 +
.../src/PhpSpreadsheet/Reader/Xml.php | 656 +
.../Reader/Xml/DataValidations.php | 177 +
.../Reader/Xml/PageSettings.php | 130 +
.../PhpSpreadsheet/Reader/Xml/Properties.php | 155 +
.../src/PhpSpreadsheet/Reader/Xml/Style.php | 107 +
.../Reader/Xml/Style/Alignment.php | 58 +
.../Reader/Xml/Style/Border.php | 98 +
.../PhpSpreadsheet/Reader/Xml/Style/Fill.php | 63 +
.../PhpSpreadsheet/Reader/Xml/Style/Font.php | 79 +
.../Reader/Xml/Style/NumberFormat.php | 33 +
.../Reader/Xml/Style/StyleBase.php | 30 +
.../src/PhpSpreadsheet/ReferenceHelper.php | 1207 ++
.../PhpSpreadsheet/RichText/ITextElement.php | 38 +
.../src/PhpSpreadsheet/RichText/RichText.php | 164 +
.../src/PhpSpreadsheet/RichText/Run.php | 75 +
.../PhpSpreadsheet/RichText/TextElement.php | 73 +
.../src/PhpSpreadsheet/Settings.php | 226 +
.../src/PhpSpreadsheet/Shared/CodePage.php | 114 +
.../src/PhpSpreadsheet/Shared/Date.php | 562 +
.../src/PhpSpreadsheet/Shared/Drawing.php | 175 +
.../src/PhpSpreadsheet/Shared/Escher.php | 64 +
.../Shared/Escher/DgContainer.php | 61 +
.../Escher/DgContainer/SpgrContainer.php | 71 +
.../DgContainer/SpgrContainer/SpContainer.php | 368 +
.../Shared/Escher/DggContainer.php | 174 +
.../Escher/DggContainer/BstoreContainer.php | 32 +
.../DggContainer/BstoreContainer/BSE.php | 88 +
.../DggContainer/BstoreContainer/BSE/Blip.php | 56 +
.../src/PhpSpreadsheet/Shared/File.php | 197 +
.../src/PhpSpreadsheet/Shared/Font.php | 745 +
.../src/PhpSpreadsheet/Shared/IntOrFloat.php | 21 +
.../src/PhpSpreadsheet/Shared/OLE.php | 566 +
.../Shared/OLE/ChainedBlockStream.php | 195 +
.../src/PhpSpreadsheet/Shared/OLE/PPS.php | 231 +
.../PhpSpreadsheet/Shared/OLE/PPS/File.php | 62 +
.../PhpSpreadsheet/Shared/OLE/PPS/Root.php | 412 +
.../src/PhpSpreadsheet/Shared/OLERead.php | 345 +
.../PhpSpreadsheet/Shared/PasswordHasher.php | 106 +
.../PhpSpreadsheet/Shared/StringHelper.php | 668 +
.../src/PhpSpreadsheet/Shared/TimeZone.php | 77 +
.../PhpSpreadsheet/Shared/Trend/BestFit.php | 485 +
.../Shared/Trend/ExponentialBestFit.php | 111 +
.../Shared/Trend/LinearBestFit.php | 78 +
.../Shared/Trend/LogarithmicBestFit.php | 83 +
.../Shared/Trend/PolynomialBestFit.php | 214 +
.../Shared/Trend/PowerBestFit.php | 101 +
.../src/PhpSpreadsheet/Shared/Trend/Trend.php | 129 +
.../src/PhpSpreadsheet/Shared/XMLWriter.php | 99 +
.../src/PhpSpreadsheet/Shared/Xls.php | 275 +
.../src/PhpSpreadsheet/Spreadsheet.php | 1654 ++
.../src/PhpSpreadsheet/Style/Alignment.php | 543 +
.../src/PhpSpreadsheet/Style/Border.php | 235 +
.../src/PhpSpreadsheet/Style/Borders.php | 410 +
.../src/PhpSpreadsheet/Style/Color.php | 425 +
.../src/PhpSpreadsheet/Style/Conditional.php | 357 +
.../ConditionalFormatting/CellMatcher.php | 298 +
.../CellStyleAssessor.php | 39 +
.../ConditionalColorScale.php | 92 +
.../ConditionalDataBar.php | 76 +
.../ConditionalDataBarExtension.php | 289 +
.../ConditionalFormatValueObject.php | 55 +
.../ConditionalFormattingRuleExtension.php | 215 +
.../ConditionalFormatting/StyleMerger.php | 115 +
.../Style/ConditionalFormatting/Wizard.php | 66 +
.../ConditionalFormatting/Wizard/Blanks.php | 96 +
.../Wizard/CellValue.php | 189 +
.../Wizard/DateValue.php | 111 +
.../Wizard/Duplicates.php | 75 +
.../ConditionalFormatting/Wizard/Errors.php | 92 +
.../Wizard/Expression.php | 73 +
.../Wizard/TextValue.php | 164 +
.../Wizard/WizardAbstract.php | 194 +
.../Wizard/WizardInterface.php | 25 +
.../src/PhpSpreadsheet/Style/Fill.php | 342 +
.../src/PhpSpreadsheet/Style/Font.php | 891 +
.../src/PhpSpreadsheet/Style/NumberFormat.php | 454 +
.../Style/NumberFormat/BaseFormatter.php | 25 +
.../Style/NumberFormat/DateFormatter.php | 211 +
.../Style/NumberFormat/Formatter.php | 188 +
.../Style/NumberFormat/FractionFormatter.php | 69 +
.../Style/NumberFormat/NumberFormatter.php | 314 +
.../NumberFormat/PercentageFormatter.php | 48 +
.../Style/NumberFormat/Wizard/Accounting.php | 102 +
.../Style/NumberFormat/Wizard/Currency.php | 125 +
.../Style/NumberFormat/Wizard/Date.php | 125 +
.../Style/NumberFormat/Wizard/DateTime.php | 50 +
.../NumberFormat/Wizard/DateTimeWizard.php | 46 +
.../Style/NumberFormat/Wizard/Duration.php | 153 +
.../Style/NumberFormat/Wizard/Locale.php | 39 +
.../Style/NumberFormat/Wizard/Number.php | 57 +
.../Style/NumberFormat/Wizard/NumberBase.php | 81 +
.../Style/NumberFormat/Wizard/Percentage.php | 40 +
.../Style/NumberFormat/Wizard/Scientific.php | 33 +
.../Style/NumberFormat/Wizard/Time.php | 105 +
.../Style/NumberFormat/Wizard/Wizard.php | 8 +
.../src/PhpSpreadsheet/Style/Protection.php | 188 +
.../src/PhpSpreadsheet/Style/RgbTint.php | 172 +
.../src/PhpSpreadsheet/Style/Style.php | 731 +
.../src/PhpSpreadsheet/Style/Supervisor.php | 173 +
.../src/PhpSpreadsheet/Theme.php | 261 +
.../PhpSpreadsheet/Worksheet/AutoFilter.php | 1102 ++
.../Worksheet/AutoFilter/Column.php | 400 +
.../Worksheet/AutoFilter/Column/Rule.php | 423 +
.../src/PhpSpreadsheet/Worksheet/AutoFit.php | 51 +
.../PhpSpreadsheet/Worksheet/BaseDrawing.php | 573 +
.../PhpSpreadsheet/Worksheet/CellIterator.php | 93 +
.../src/PhpSpreadsheet/Worksheet/Column.php | 112 +
.../Worksheet/ColumnCellIterator.php | 202 +
.../Worksheet/ColumnDimension.php | 135 +
.../Worksheet/ColumnIterator.php | 173 +
.../PhpSpreadsheet/Worksheet/Dimension.php | 130 +
.../src/PhpSpreadsheet/Worksheet/Drawing.php | 204 +
.../Worksheet/Drawing/Shadow.php | 273 +
.../PhpSpreadsheet/Worksheet/HeaderFooter.php | 490 +
.../Worksheet/HeaderFooterDrawing.php | 24 +
.../src/PhpSpreadsheet/Worksheet/Iterator.php | 72 +
.../Worksheet/MemoryDrawing.php | 339 +
.../PhpSpreadsheet/Worksheet/PageBreak.php | 55 +
.../PhpSpreadsheet/Worksheet/PageMargins.php | 229 +
.../PhpSpreadsheet/Worksheet/PageSetup.php | 882 +
.../src/PhpSpreadsheet/Worksheet/Pane.php | 48 +
.../PhpSpreadsheet/Worksheet/Protection.php | 481 +
.../src/PhpSpreadsheet/Worksheet/Row.php | 114 +
.../Worksheet/RowCellIterator.php | 194 +
.../PhpSpreadsheet/Worksheet/RowDimension.php | 116 +
.../PhpSpreadsheet/Worksheet/RowIterator.php | 163 +
.../PhpSpreadsheet/Worksheet/SheetView.php | 178 +
.../src/PhpSpreadsheet/Worksheet/Table.php | 584 +
.../PhpSpreadsheet/Worksheet/Table/Column.php | 242 +
.../Worksheet/Table/TableStyle.php | 226 +
.../PhpSpreadsheet/Worksheet/Validations.php | 118 +
.../PhpSpreadsheet/Worksheet/Worksheet.php | 4007 +++++
.../src/PhpSpreadsheet/Writer/BaseWriter.php | 148 +
.../src/PhpSpreadsheet/Writer/Csv.php | 316 +
.../src/PhpSpreadsheet/Writer/Exception.php | 9 +
.../src/PhpSpreadsheet/Writer/Html.php | 1870 +++
.../src/PhpSpreadsheet/Writer/IWriter.php | 98 +
.../src/PhpSpreadsheet/Writer/Ods.php | 163 +
.../PhpSpreadsheet/Writer/Ods/AutoFilters.php | 57 +
.../Writer/Ods/Cell/Comment.php | 30 +
.../PhpSpreadsheet/Writer/Ods/Cell/Style.php | 320 +
.../src/PhpSpreadsheet/Writer/Ods/Content.php | 356 +
.../src/PhpSpreadsheet/Writer/Ods/Formula.php | 120 +
.../src/PhpSpreadsheet/Writer/Ods/Meta.php | 122 +
.../src/PhpSpreadsheet/Writer/Ods/MetaInf.php | 60 +
.../PhpSpreadsheet/Writer/Ods/Mimetype.php | 16 +
.../Writer/Ods/NamedExpressions.php | 137 +
.../PhpSpreadsheet/Writer/Ods/Settings.php | 152 +
.../src/PhpSpreadsheet/Writer/Ods/Styles.php | 65 +
.../PhpSpreadsheet/Writer/Ods/Thumbnails.php | 16 +
.../PhpSpreadsheet/Writer/Ods/WriterPart.php | 33 +
.../src/PhpSpreadsheet/Writer/Pdf.php | 247 +
.../src/PhpSpreadsheet/Writer/Pdf/Dompdf.php | 60 +
.../src/PhpSpreadsheet/Writer/Pdf/Mpdf.php | 99 +
.../src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php | 84 +
.../src/PhpSpreadsheet/Writer/Xls.php | 918 ++
.../PhpSpreadsheet/Writer/Xls/BIFFwriter.php | 224 +
.../Writer/Xls/CellDataValidation.php | 78 +
.../Writer/Xls/ConditionalHelper.php | 65 +
.../PhpSpreadsheet/Writer/Xls/ErrorCode.php | 28 +
.../src/PhpSpreadsheet/Writer/Xls/Escher.php | 511 +
.../src/PhpSpreadsheet/Writer/Xls/Font.php | 140 +
.../src/PhpSpreadsheet/Writer/Xls/Parser.php | 1522 ++
.../Writer/Xls/Style/CellAlignment.php | 59 +
.../Writer/Xls/Style/CellBorder.php | 40 +
.../Writer/Xls/Style/CellFill.php | 46 +
.../Writer/Xls/Style/ColorMap.php | 90 +
.../PhpSpreadsheet/Writer/Xls/Workbook.php | 1159 ++
.../PhpSpreadsheet/Writer/Xls/Worksheet.php | 3172 ++++
.../src/PhpSpreadsheet/Writer/Xls/Xf.php | 384 +
.../src/PhpSpreadsheet/Writer/Xlsx.php | 713 +
.../PhpSpreadsheet/Writer/Xlsx/AutoFilter.php | 125 +
.../src/PhpSpreadsheet/Writer/Xlsx/Chart.php | 1937 +++
.../PhpSpreadsheet/Writer/Xlsx/Comments.php | 236 +
.../Writer/Xlsx/ContentTypes.php | 275 +
.../Writer/Xlsx/DefinedNames.php | 242 +
.../PhpSpreadsheet/Writer/Xlsx/DocProps.php | 250 +
.../PhpSpreadsheet/Writer/Xlsx/Drawing.php | 591 +
.../Writer/Xlsx/FunctionPrefix.php | 193 +
.../src/PhpSpreadsheet/Writer/Xlsx/Rels.php | 512 +
.../PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php | 46 +
.../PhpSpreadsheet/Writer/Xlsx/RelsVBA.php | 40 +
.../Writer/Xlsx/StringTable.php | 344 +
.../src/PhpSpreadsheet/Writer/Xlsx/Style.php | 730 +
.../src/PhpSpreadsheet/Writer/Xlsx/Table.php | 115 +
.../src/PhpSpreadsheet/Writer/Xlsx/Theme.php | 744 +
.../PhpSpreadsheet/Writer/Xlsx/Workbook.php | 214 +
.../PhpSpreadsheet/Writer/Xlsx/Worksheet.php | 1588 ++
.../PhpSpreadsheet/Writer/Xlsx/WriterPart.php | 31 +
.../src/PhpSpreadsheet/Writer/ZipStream0.php | 17 +
.../src/PhpSpreadsheet/Writer/ZipStream2.php | 21 +
.../src/PhpSpreadsheet/Writer/ZipStream3.php | 22 +
vendor/psr/clock/CHANGELOG.md | 11 +
vendor/psr/clock/LICENSE | 19 +
vendor/psr/clock/README.md | 61 +
vendor/psr/clock/composer.json | 21 +
vendor/psr/clock/src/ClockInterface.php | 13 +
vendor/psr/container/.gitignore | 3 +
vendor/psr/container/LICENSE | 21 +
vendor/psr/container/README.md | 13 +
vendor/psr/container/composer.json | 22 +
.../src/ContainerExceptionInterface.php | 12 +
.../psr/container/src/ContainerInterface.php | 36 +
.../src/NotFoundExceptionInterface.php | 10 +
vendor/psr/http-client/CHANGELOG.md | 31 +
vendor/psr/http-client/LICENSE | 19 +
vendor/psr/http-client/README.md | 12 +
vendor/psr/http-client/composer.json | 30 +
.../src/ClientExceptionInterface.php | 10 +
.../psr/http-client/src/ClientInterface.php | 20 +
.../src/NetworkExceptionInterface.php | 24 +
.../src/RequestExceptionInterface.php | 24 +
vendor/psr/http-factory/LICENSE | 21 +
vendor/psr/http-factory/README.md | 12 +
vendor/psr/http-factory/composer.json | 38 +
.../src/RequestFactoryInterface.php | 18 +
.../src/ResponseFactoryInterface.php | 18 +
.../src/ServerRequestFactoryInterface.php | 24 +
.../src/StreamFactoryInterface.php | 45 +
.../src/UploadedFileFactoryInterface.php | 34 +
.../http-factory/src/UriFactoryInterface.php | 17 +
vendor/psr/http-message/CHANGELOG.md | 36 +
vendor/psr/http-message/LICENSE | 19 +
vendor/psr/http-message/README.md | 16 +
vendor/psr/http-message/composer.json | 26 +
.../psr/http-message/docs/PSR7-Interfaces.md | 130 +
vendor/psr/http-message/docs/PSR7-Usage.md | 159 +
.../psr/http-message/src/MessageInterface.php | 189 +
.../psr/http-message/src/RequestInterface.php | 131 +
.../http-message/src/ResponseInterface.php | 70 +
.../src/ServerRequestInterface.php | 263 +
.../psr/http-message/src/StreamInterface.php | 160 +
.../src/UploadedFileInterface.php | 125 +
vendor/psr/http-message/src/UriInterface.php | 326 +
vendor/psr/simple-cache/.editorconfig | 12 +
vendor/psr/simple-cache/LICENSE.md | 21 +
vendor/psr/simple-cache/README.md | 8 +
vendor/psr/simple-cache/composer.json | 25 +
.../psr/simple-cache/src/CacheException.php | 10 +
.../psr/simple-cache/src/CacheInterface.php | 114 +
.../src/InvalidArgumentException.php | 13 +
.../symfony/deprecation-contracts/.gitignore | 3 +
.../deprecation-contracts/CHANGELOG.md | 5 +
vendor/symfony/deprecation-contracts/LICENSE | 19 +
.../symfony/deprecation-contracts/README.md | 26 +
.../deprecation-contracts/composer.json | 35 +
.../deprecation-contracts/function.php | 27 +
.../symfony/http-foundation/AcceptHeader.php | 168 +
.../http-foundation/AcceptHeaderItem.php | 177 +
.../http-foundation/BinaryFileResponse.php | 414 +
vendor/symfony/http-foundation/CHANGELOG.md | 296 +
vendor/symfony/http-foundation/Cookie.php | 422 +
.../Exception/BadRequestException.php | 19 +
.../Exception/ConflictingHeadersException.php | 21 +
.../Exception/JsonException.php | 21 +
.../Exception/RequestExceptionInterface.php | 21 +
.../Exception/SessionNotFoundException.php | 27 +
.../SuspiciousOperationException.php | 20 +
.../ExpressionRequestMatcher.php | 47 +
.../File/Exception/AccessDeniedException.php | 25 +
.../Exception/CannotWriteFileException.php | 21 +
.../File/Exception/ExtensionFileException.php | 21 +
.../File/Exception/FileException.php | 21 +
.../File/Exception/FileNotFoundException.php | 25 +
.../File/Exception/FormSizeFileException.php | 21 +
.../File/Exception/IniSizeFileException.php | 21 +
.../File/Exception/NoFileException.php | 21 +
.../File/Exception/NoTmpDirFileException.php | 21 +
.../File/Exception/PartialFileException.php | 21 +
.../Exception/UnexpectedTypeException.php | 20 +
.../File/Exception/UploadException.php | 21 +
vendor/symfony/http-foundation/File/File.php | 152 +
.../symfony/http-foundation/File/Stream.php | 31 +
.../http-foundation/File/UploadedFile.php | 290 +
vendor/symfony/http-foundation/FileBag.php | 140 +
vendor/symfony/http-foundation/HeaderBag.php | 295 +
.../symfony/http-foundation/HeaderUtils.php | 293 +
vendor/symfony/http-foundation/InputBag.php | 113 +
vendor/symfony/http-foundation/IpUtils.php | 216 +
.../symfony/http-foundation/JsonResponse.php | 221 +
vendor/symfony/http-foundation/LICENSE | 19 +
.../symfony/http-foundation/ParameterBag.php | 228 +
vendor/symfony/http-foundation/README.md | 28 +
.../AbstractRequestRateLimiter.php | 71 +
.../RequestRateLimiterInterface.php | 30 +
.../http-foundation/RedirectResponse.php | 109 +
vendor/symfony/http-foundation/Request.php | 2172 +++
.../http-foundation/RequestMatcher.php | 196 +
.../RequestMatcherInterface.php | 27 +
.../symfony/http-foundation/RequestStack.php | 128 +
vendor/symfony/http-foundation/Response.php | 1288 ++
.../http-foundation/ResponseHeaderBag.php | 291 +
vendor/symfony/http-foundation/ServerBag.php | 99 +
.../Session/Attribute/AttributeBag.php | 152 +
.../Attribute/AttributeBagInterface.php | 61 +
.../Attribute/NamespacedAttributeBag.php | 161 +
.../Session/Flash/AutoExpireFlashBag.php | 161 +
.../Session/Flash/FlashBag.php | 152 +
.../Session/Flash/FlashBagInterface.php | 88 +
.../http-foundation/Session/Session.php | 285 +
.../Session/SessionBagInterface.php | 46 +
.../Session/SessionBagProxy.php | 95 +
.../Session/SessionFactory.php | 40 +
.../Session/SessionFactoryInterface.php | 20 +
.../Session/SessionInterface.php | 166 +
.../http-foundation/Session/SessionUtils.php | 59 +
.../Handler/AbstractSessionHandler.php | 155 +
.../Storage/Handler/IdentityMarshaller.php | 42 +
.../Handler/MarshallingSessionHandler.php | 108 +
.../Handler/MemcachedSessionHandler.php | 135 +
.../Handler/MigratingSessionHandler.php | 139 +
.../Storage/Handler/MongoDbSessionHandler.php | 193 +
.../Handler/NativeFileSessionHandler.php | 59 +
.../Storage/Handler/NullSessionHandler.php | 80 +
.../Storage/Handler/PdoSessionHandler.php | 943 ++
.../Storage/Handler/RedisSessionHandler.php | 137 +
.../Storage/Handler/SessionHandlerFactory.php | 102 +
.../Storage/Handler/StrictSessionHandler.php | 118 +
.../Session/Storage/MetadataBag.php | 167 +
.../Storage/MockArraySessionStorage.php | 252 +
.../Storage/MockFileSessionStorage.php | 160 +
.../Storage/MockFileSessionStorageFactory.php | 42 +
.../Session/Storage/NativeSessionStorage.php | 507 +
.../Storage/NativeSessionStorageFactory.php | 49 +
.../Storage/PhpBridgeSessionStorage.php | 64 +
.../PhpBridgeSessionStorageFactory.php | 47 +
.../Session/Storage/Proxy/AbstractProxy.php | 118 +
.../Storage/Proxy/SessionHandlerProxy.php | 111 +
.../Session/Storage/ServiceSessionFactory.php | 38 +
.../SessionStorageFactoryInterface.php | 25 +
.../Storage/SessionStorageInterface.php | 131 +
.../http-foundation/StreamedResponse.php | 139 +
.../Constraint/RequestAttributeValueSame.php | 55 +
.../Constraint/ResponseCookieValueSame.php | 85 +
.../Test/Constraint/ResponseFormatSame.php | 71 +
.../Test/Constraint/ResponseHasCookie.php | 77 +
.../Test/Constraint/ResponseHasHeader.php | 53 +
.../Test/Constraint/ResponseHeaderSame.php | 55 +
.../Test/Constraint/ResponseIsRedirected.php | 56 +
.../Test/Constraint/ResponseIsSuccessful.php | 56 +
.../Constraint/ResponseIsUnprocessable.php | 56 +
.../Constraint/ResponseStatusCodeSame.php | 63 +
vendor/symfony/http-foundation/UrlHelper.php | 118 +
vendor/symfony/http-foundation/composer.json | 43 +
vendor/symfony/polyfill-iconv/Iconv.php | 744 +
vendor/symfony/polyfill-iconv/LICENSE | 19 +
vendor/symfony/polyfill-iconv/README.md | 14 +
.../Resources/charset/from.big5.php | 13719 +++++++++++++++
.../Resources/charset/from.cp037.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.cp1006.php | Bin 0 -> 3860 bytes
.../Resources/charset/from.cp1026.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.cp424.php | Bin 0 -> 3210 bytes
.../Resources/charset/from.cp437.php | Bin 0 -> 3841 bytes
.../Resources/charset/from.cp500.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.cp737.php | Bin 0 -> 3834 bytes
.../Resources/charset/from.cp775.php | Bin 0 -> 3815 bytes
.../Resources/charset/from.cp850.php | Bin 0 -> 3809 bytes
.../Resources/charset/from.cp852.php | Bin 0 -> 3808 bytes
.../Resources/charset/from.cp855.php | Bin 0 -> 3809 bytes
.../Resources/charset/from.cp856.php | Bin 0 -> 3194 bytes
.../Resources/charset/from.cp857.php | Bin 0 -> 3763 bytes
.../Resources/charset/from.cp860.php | Bin 0 -> 3840 bytes
.../Resources/charset/from.cp861.php | Bin 0 -> 3841 bytes
.../Resources/charset/from.cp862.php | Bin 0 -> 3841 bytes
.../Resources/charset/from.cp863.php | Bin 0 -> 3841 bytes
.../Resources/charset/from.cp864.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.cp865.php | Bin 0 -> 3841 bytes
.../Resources/charset/from.cp866.php | Bin 0 -> 3831 bytes
.../Resources/charset/from.cp869.php | Bin 0 -> 3676 bytes
.../Resources/charset/from.cp874.php | Bin 0 -> 3410 bytes
.../Resources/charset/from.cp875.php | Bin 0 -> 3776 bytes
.../Resources/charset/from.cp932.php | Bin 0 -> 134095 bytes
.../Resources/charset/from.cp936.php | Bin 0 -> 372283 bytes
.../Resources/charset/from.cp949.php | Bin 0 -> 291504 bytes
.../Resources/charset/from.cp950.php | Bin 0 -> 231436 bytes
.../Resources/charset/from.iso-8859-1.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.iso-8859-10.php | Bin 0 -> 3780 bytes
.../Resources/charset/from.iso-8859-11.php | Bin 0 -> 3746 bytes
.../Resources/charset/from.iso-8859-13.php | Bin 0 -> 3783 bytes
.../Resources/charset/from.iso-8859-14.php | Bin 0 -> 3801 bytes
.../Resources/charset/from.iso-8859-15.php | Bin 0 -> 3780 bytes
.../Resources/charset/from.iso-8859-16.php | Bin 0 -> 3782 bytes
.../Resources/charset/from.iso-8859-2.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.iso-8859-3.php | Bin 0 -> 3674 bytes
.../Resources/charset/from.iso-8859-4.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.iso-8859-5.php | Bin 0 -> 3780 bytes
.../Resources/charset/from.iso-8859-6.php | Bin 0 -> 3104 bytes
.../Resources/charset/from.iso-8859-7.php | Bin 0 -> 3692 bytes
.../Resources/charset/from.iso-8859-8.php | Bin 0 -> 3242 bytes
.../Resources/charset/from.iso-8859-9.php | Bin 0 -> 3779 bytes
.../Resources/charset/from.koi8-r.php | Bin 0 -> 3835 bytes
.../Resources/charset/from.koi8-u.php | Bin 0 -> 3827 bytes
.../Resources/charset/from.us-ascii.php | Bin 0 -> 1859 bytes
.../Resources/charset/from.windows-1250.php | Bin 0 -> 3721 bytes
.../Resources/charset/from.windows-1251.php | Bin 0 -> 3782 bytes
.../Resources/charset/from.windows-1252.php | Bin 0 -> 3721 bytes
.../Resources/charset/from.windows-1253.php | Bin 0 -> 3542 bytes
.../Resources/charset/from.windows-1254.php | Bin 0 -> 3691 bytes
.../Resources/charset/from.windows-1255.php | Bin 0 -> 3454 bytes
.../Resources/charset/from.windows-1256.php | Bin 0 -> 3800 bytes
.../Resources/charset/from.windows-1257.php | Bin 0 -> 3616 bytes
.../Resources/charset/from.windows-1258.php | Bin 0 -> 3662 bytes
.../Resources/charset/translit.php | 4106 +++++
vendor/symfony/polyfill-iconv/bootstrap.php | 88 +
vendor/symfony/polyfill-iconv/bootstrap80.php | 80 +
vendor/symfony/polyfill-iconv/composer.json | 41 +
.../polyfill-intl-grapheme/Grapheme.php | 247 +
vendor/symfony/polyfill-intl-grapheme/LICENSE | 19 +
.../symfony/polyfill-intl-grapheme/README.md | 31 +
.../polyfill-intl-grapheme/bootstrap.php | 58 +
.../polyfill-intl-grapheme/bootstrap80.php | 50 +
.../polyfill-intl-grapheme/composer.json | 38 +
.../symfony/polyfill-intl-normalizer/LICENSE | 19 +
.../polyfill-intl-normalizer/Normalizer.php | 310 +
.../polyfill-intl-normalizer/README.md | 14 +
.../Resources/stubs/Normalizer.php | 17 +
.../unidata/canonicalComposition.php | 945 ++
.../unidata/canonicalDecomposition.php | 2065 +++
.../Resources/unidata/combiningClass.php | 876 +
.../unidata/compatibilityDecomposition.php | 3695 +++++
.../polyfill-intl-normalizer/bootstrap.php | 23 +
.../polyfill-intl-normalizer/bootstrap80.php | 19 +
.../polyfill-intl-normalizer/composer.json | 39 +
vendor/symfony/polyfill-mbstring/LICENSE | 19 +
vendor/symfony/polyfill-mbstring/Mbstring.php | 947 ++
vendor/symfony/polyfill-mbstring/README.md | 13 +
.../Resources/unidata/caseFolding.php | 119 +
.../Resources/unidata/lowerCase.php | 1397 ++
.../Resources/unidata/titleCaseRegexp.php | 5 +
.../Resources/unidata/upperCase.php | 1489 ++
.../symfony/polyfill-mbstring/bootstrap.php | 151 +
.../symfony/polyfill-mbstring/bootstrap80.php | 147 +
.../symfony/polyfill-mbstring/composer.json | 41 +
vendor/symfony/polyfill-php72/LICENSE | 19 +
vendor/symfony/polyfill-php72/Php72.php | 217 +
vendor/symfony/polyfill-php72/README.md | 35 +
vendor/symfony/polyfill-php72/bootstrap.php | 57 +
vendor/symfony/polyfill-php72/composer.json | 35 +
vendor/symfony/polyfill-php80/LICENSE | 19 +
vendor/symfony/polyfill-php80/Php80.php | 115 +
vendor/symfony/polyfill-php80/PhpToken.php | 103 +
vendor/symfony/polyfill-php80/README.md | 25 +
.../Resources/stubs/Attribute.php | 31 +
.../Resources/stubs/PhpToken.php | 16 +
.../Resources/stubs/Stringable.php | 20 +
.../Resources/stubs/UnhandledMatchError.php | 16 +
.../Resources/stubs/ValueError.php | 16 +
vendor/symfony/polyfill-php80/bootstrap.php | 42 +
vendor/symfony/polyfill-php80/composer.json | 40 +
.../symfony/translation-contracts/.gitignore | 3 +
.../translation-contracts/CHANGELOG.md | 5 +
vendor/symfony/translation-contracts/LICENSE | 19 +
.../LocaleAwareInterface.php | 31 +
.../symfony/translation-contracts/README.md | 9 +
.../Test/TranslatorTest.php | 390 +
.../TranslatableInterface.php | 20 +
.../TranslatorInterface.php | 67 +
.../translation-contracts/TranslatorTrait.php | 262 +
.../translation-contracts/composer.json | 37 +
vendor/symfony/translation/CHANGELOG.md | 183 +
.../Catalogue/AbstractOperation.php | 203 +
.../translation/Catalogue/MergeOperation.php | 60 +
.../Catalogue/OperationInterface.php | 71 +
.../translation/Catalogue/TargetOperation.php | 74 +
.../Command/TranslationPullCommand.php | 188 +
.../Command/TranslationPushCommand.php | 189 +
.../translation/Command/TranslationTrait.php | 77 +
.../translation/Command/XliffLintCommand.php | 286 +
.../TranslationDataCollector.php | 163 +
.../translation/DataCollectorTranslator.php | 167 +
.../TranslationDumperPass.php | 48 +
.../TranslationExtractorPass.php | 53 +
.../DependencyInjection/TranslatorPass.php | 93 +
.../TranslatorPathsPass.php | 156 +
.../translation/Dumper/CsvFileDumper.php | 60 +
.../translation/Dumper/DumperInterface.php | 30 +
.../symfony/translation/Dumper/FileDumper.php | 112 +
.../translation/Dumper/IcuResFileDumper.php | 104 +
.../translation/Dumper/IniFileDumper.php | 45 +
.../translation/Dumper/JsonFileDumper.php | 40 +
.../translation/Dumper/MoFileDumper.php | 82 +
.../translation/Dumper/PhpFileDumper.php | 38 +
.../translation/Dumper/PoFileDumper.php | 137 +
.../translation/Dumper/QtFileDumper.php | 61 +
.../translation/Dumper/XliffFileDumper.php | 203 +
.../translation/Dumper/YamlFileDumper.php | 62 +
.../Exception/ExceptionInterface.php | 21 +
.../Exception/IncompleteDsnException.php | 24 +
.../Exception/InvalidArgumentException.php | 21 +
.../Exception/InvalidResourceException.php | 21 +
.../translation/Exception/LogicException.php | 21 +
.../MissingRequiredOptionException.php | 25 +
.../Exception/NotFoundResourceException.php | 21 +
.../Exception/ProviderException.php | 41 +
.../Exception/ProviderExceptionInterface.php | 23 +
.../Exception/RuntimeException.php | 21 +
.../Exception/UnsupportedSchemeException.php | 54 +
.../Extractor/AbstractFileExtractor.php | 76 +
.../translation/Extractor/ChainExtractor.php | 57 +
.../Extractor/ExtractorInterface.php | 35 +
.../translation/Extractor/PhpExtractor.php | 336 +
.../Extractor/PhpStringTokenParser.php | 142 +
.../translation/Formatter/IntlFormatter.php | 60 +
.../Formatter/IntlFormatterInterface.php | 27 +
.../Formatter/MessageFormatter.php | 56 +
.../Formatter/MessageFormatterInterface.php | 30 +
.../translation/IdentityTranslator.php | 26 +
vendor/symfony/translation/LICENSE | 19 +
.../translation/Loader/ArrayLoader.php | 60 +
.../translation/Loader/CsvFileLoader.php | 65 +
.../symfony/translation/Loader/FileLoader.php | 63 +
.../translation/Loader/IcuDatFileLoader.php | 61 +
.../translation/Loader/IcuResFileLoader.php | 91 +
.../translation/Loader/IniFileLoader.php | 28 +
.../translation/Loader/JsonFileLoader.php | 60 +
.../translation/Loader/LoaderInterface.php | 38 +
.../translation/Loader/MoFileLoader.php | 140 +
.../translation/Loader/PhpFileLoader.php | 42 +
.../translation/Loader/PoFileLoader.php | 149 +
.../translation/Loader/QtFileLoader.php | 82 +
.../translation/Loader/XliffFileLoader.php | 232 +
.../translation/Loader/YamlFileLoader.php | 54 +
.../symfony/translation/LoggingTranslator.php | 131 +
.../symfony/translation/MessageCatalogue.php | 309 +
.../translation/MessageCatalogueInterface.php | 138 +
.../translation/MetadataAwareInterface.php | 46 +
.../Provider/AbstractProviderFactory.php | 45 +
vendor/symfony/translation/Provider/Dsn.php | 110 +
.../Provider/FilteringProvider.php | 65 +
.../translation/Provider/NullProvider.php | 39 +
.../Provider/NullProviderFactory.php | 34 +
.../Provider/ProviderFactoryInterface.php | 26 +
.../Provider/ProviderInterface.php | 32 +
.../TranslationProviderCollection.php | 57 +
.../TranslationProviderCollectionFactory.php | 57 +
.../PseudoLocalizationTranslator.php | 368 +
vendor/symfony/translation/README.md | 48 +
.../translation/Reader/TranslationReader.php | 62 +
.../Reader/TranslationReaderInterface.php | 27 +
.../Resources/bin/translation-status.php | 278 +
.../translation/Resources/data/parents.json | 141 +
.../translation/Resources/functions.php | 22 +
.../schemas/xliff-core-1.2-strict.xsd | 2223 +++
.../Resources/schemas/xliff-core-2.0.xsd | 411 +
.../translation/Resources/schemas/xml.xsd | 309 +
.../Test/ProviderFactoryTestCase.php | 147 +
.../translation/Test/ProviderTestCase.php | 76 +
.../translation/TranslatableMessage.php | 62 +
vendor/symfony/translation/Translator.php | 494 +
vendor/symfony/translation/TranslatorBag.php | 108 +
.../translation/TranslatorBagInterface.php | 35 +
.../translation/Util/ArrayConverter.php | 144 +
.../symfony/translation/Util/XliffUtils.php | 196 +
.../translation/Writer/TranslationWriter.php | 73 +
.../Writer/TranslationWriterInterface.php | 33 +
vendor/symfony/translation/composer.json | 62 +
.../tinymce/plugins/accordion/index.js | 7 +
.../tinymce/plugins/accordion/plugin.js | 1033 ++
.../tinymce/plugins/accordion/plugin.min.js | 4 +
.../tinymce/plugins/help/js/i18n/keynav/ar.js | 90 +
.../plugins/help/js/i18n/keynav/bg_BG.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/ca.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/cs.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/da.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/de.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/el.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/en.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/es.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/eu.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/fa.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/fi.js | 90 +
.../plugins/help/js/i18n/keynav/fr_FR.js | 90 +
.../plugins/help/js/i18n/keynav/he_IL.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/hi.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/hr.js | 90 +
.../plugins/help/js/i18n/keynav/hu_HU.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/id.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/it.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/ja.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/kk.js | 90 +
.../plugins/help/js/i18n/keynav/ko_KR.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/ms.js | 90 +
.../plugins/help/js/i18n/keynav/nb_NO.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/nl.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/pl.js | 90 +
.../plugins/help/js/i18n/keynav/pt_BR.js | 90 +
.../plugins/help/js/i18n/keynav/pt_PT.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/ro.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/ru.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/sk.js | 90 +
.../plugins/help/js/i18n/keynav/sl_SI.js | 90 +
.../plugins/help/js/i18n/keynav/sv_SE.js | 90 +
.../plugins/help/js/i18n/keynav/th_TH.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/tr.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/uk.js | 90 +
.../tinymce/plugins/help/js/i18n/keynav/vi.js | 90 +
.../plugins/help/js/i18n/keynav/zh_CN.js | 84 +
.../plugins/help/js/i18n/keynav/zh_TW.js | 90 +
vendor/voku/anti-xss/CHANGELOG.md | 237 +
vendor/voku/anti-xss/LICENSE | 22 +
vendor/voku/anti-xss/README.md | 426 +
vendor/voku/anti-xss/build/composer.json | 5 +
vendor/voku/anti-xss/build/docs/base.md | 167 +
vendor/voku/anti-xss/build/generate_docs.php | 11 +
vendor/voku/anti-xss/composer.json | 41 +
.../voku/anti-xss/src/voku/helper/AntiXSS.php | 2143 +++
.../voku/helper/data/entities_fallback.php | 1514 ++
vendor/voku/portable-ascii/.whitesource | 12 +
vendor/voku/portable-ascii/CHANGELOG.md | 191 +
vendor/voku/portable-ascii/LICENSE.txt | 19 +
vendor/voku/portable-ascii/README.md | 428 +
.../voku/portable-ascii/build/composer.json | 5 +
vendor/voku/portable-ascii/build/docs/base.md | 127 +
.../portable-ascii/build/generate_docs.php | 26 +
.../build/generate_max_key_length.php | 20 +
vendor/voku/portable-ascii/composer.json | 37 +
.../portable-ascii/src/voku/helper/ASCII.php | 1500 ++
.../voku/helper/data/ascii_by_languages.php | 2929 ++++
.../helper/data/ascii_extras_by_languages.php | 759 +
.../helper/data/ascii_language_max_key.php | 65 +
.../src/voku/helper/data/ascii_ord.php | 1 +
.../src/voku/helper/data/x000.php | 16 +
.../src/voku/helper/data/x001.php | 1 +
.../src/voku/helper/data/x002.php | 1 +
.../src/voku/helper/data/x003.php | 1 +
.../src/voku/helper/data/x004.php | 1 +
.../src/voku/helper/data/x005.php | 1 +
.../src/voku/helper/data/x006.php | 1 +
.../src/voku/helper/data/x007.php | 1 +
.../src/voku/helper/data/x009.php | 1 +
.../src/voku/helper/data/x00a.php | 1 +
.../src/voku/helper/data/x00b.php | 1 +
.../src/voku/helper/data/x00c.php | 1 +
.../src/voku/helper/data/x00d.php | 1 +
.../src/voku/helper/data/x00e.php | 1 +
.../src/voku/helper/data/x00f.php | 1 +
.../src/voku/helper/data/x010.php | 1 +
.../src/voku/helper/data/x011.php | 1 +
.../src/voku/helper/data/x012.php | 1 +
.../src/voku/helper/data/x013.php | 1 +
.../src/voku/helper/data/x014.php | 1 +
.../src/voku/helper/data/x015.php | 1 +
.../src/voku/helper/data/x016.php | 1 +
.../src/voku/helper/data/x017.php | 1 +
.../src/voku/helper/data/x018.php | 1 +
.../src/voku/helper/data/x01d.php | 1 +
.../src/voku/helper/data/x01e.php | 1 +
.../src/voku/helper/data/x01f.php | 1 +
.../src/voku/helper/data/x020.php | 4 +
.../src/voku/helper/data/x021.php | 1 +
.../src/voku/helper/data/x022.php | 1 +
.../src/voku/helper/data/x023.php | 1 +
.../src/voku/helper/data/x024.php | 1 +
.../src/voku/helper/data/x025.php | 1 +
.../src/voku/helper/data/x026.php | 1 +
.../src/voku/helper/data/x027.php | 1 +
.../src/voku/helper/data/x028.php | 1 +
.../src/voku/helper/data/x029.php | 1 +
.../src/voku/helper/data/x02a.php | 1 +
.../src/voku/helper/data/x02c.php | 1 +
.../src/voku/helper/data/x02e.php | 1 +
.../src/voku/helper/data/x02f.php | 1 +
.../src/voku/helper/data/x030.php | 9 +
.../src/voku/helper/data/x031.php | 1 +
.../src/voku/helper/data/x032.php | 1 +
.../src/voku/helper/data/x033.php | 1 +
.../src/voku/helper/data/x04d.php | 1 +
.../src/voku/helper/data/x04e.php | 1 +
.../src/voku/helper/data/x04f.php | 1 +
.../src/voku/helper/data/x050.php | 1 +
.../src/voku/helper/data/x051.php | 1 +
.../src/voku/helper/data/x052.php | 1 +
.../src/voku/helper/data/x053.php | 1 +
.../src/voku/helper/data/x054.php | 1 +
.../src/voku/helper/data/x055.php | 1 +
.../src/voku/helper/data/x056.php | 1 +
.../src/voku/helper/data/x057.php | 1 +
.../src/voku/helper/data/x058.php | 1 +
.../src/voku/helper/data/x059.php | 1 +
.../src/voku/helper/data/x05a.php | 1 +
.../src/voku/helper/data/x05b.php | 1 +
.../src/voku/helper/data/x05c.php | 1 +
.../src/voku/helper/data/x05d.php | 1 +
.../src/voku/helper/data/x05e.php | 1 +
.../src/voku/helper/data/x05f.php | 1 +
.../src/voku/helper/data/x060.php | 1 +
.../src/voku/helper/data/x061.php | 1 +
.../src/voku/helper/data/x062.php | 1 +
.../src/voku/helper/data/x063.php | 1 +
.../src/voku/helper/data/x064.php | 1 +
.../src/voku/helper/data/x065.php | 1 +
.../src/voku/helper/data/x066.php | 1 +
.../src/voku/helper/data/x067.php | 1 +
.../src/voku/helper/data/x068.php | 1 +
.../src/voku/helper/data/x069.php | 1 +
.../src/voku/helper/data/x06a.php | 1 +
.../src/voku/helper/data/x06b.php | 1 +
.../src/voku/helper/data/x06c.php | 1 +
.../src/voku/helper/data/x06d.php | 1 +
.../src/voku/helper/data/x06e.php | 1 +
.../src/voku/helper/data/x06f.php | 1 +
.../src/voku/helper/data/x070.php | 1 +
.../src/voku/helper/data/x071.php | 1 +
.../src/voku/helper/data/x072.php | 1 +
.../src/voku/helper/data/x073.php | 1 +
.../src/voku/helper/data/x074.php | 1 +
.../src/voku/helper/data/x075.php | 1 +
.../src/voku/helper/data/x076.php | 1 +
.../src/voku/helper/data/x077.php | 1 +
.../src/voku/helper/data/x078.php | 1 +
.../src/voku/helper/data/x079.php | 1 +
.../src/voku/helper/data/x07a.php | 1 +
.../src/voku/helper/data/x07b.php | 1 +
.../src/voku/helper/data/x07c.php | 1 +
.../src/voku/helper/data/x07d.php | 1 +
.../src/voku/helper/data/x07e.php | 1 +
.../src/voku/helper/data/x07f.php | 1 +
.../src/voku/helper/data/x080.php | 1 +
.../src/voku/helper/data/x081.php | 1 +
.../src/voku/helper/data/x082.php | 1 +
.../src/voku/helper/data/x083.php | 1 +
.../src/voku/helper/data/x084.php | 1 +
.../src/voku/helper/data/x085.php | 1 +
.../src/voku/helper/data/x086.php | 1 +
.../src/voku/helper/data/x087.php | 1 +
.../src/voku/helper/data/x088.php | 1 +
.../src/voku/helper/data/x089.php | 1 +
.../src/voku/helper/data/x08a.php | 1 +
.../src/voku/helper/data/x08b.php | 1 +
.../src/voku/helper/data/x08c.php | 1 +
.../src/voku/helper/data/x08d.php | 1 +
.../src/voku/helper/data/x08e.php | 1 +
.../src/voku/helper/data/x08f.php | 1 +
.../src/voku/helper/data/x090.php | 1 +
.../src/voku/helper/data/x091.php | 1 +
.../src/voku/helper/data/x092.php | 1 +
.../src/voku/helper/data/x093.php | 1 +
.../src/voku/helper/data/x094.php | 1 +
.../src/voku/helper/data/x095.php | 1 +
.../src/voku/helper/data/x096.php | 1 +
.../src/voku/helper/data/x097.php | 1 +
.../src/voku/helper/data/x098.php | 1 +
.../src/voku/helper/data/x099.php | 1 +
.../src/voku/helper/data/x09a.php | 1 +
.../src/voku/helper/data/x09b.php | 1 +
.../src/voku/helper/data/x09c.php | 1 +
.../src/voku/helper/data/x09d.php | 1 +
.../src/voku/helper/data/x09e.php | 1 +
.../src/voku/helper/data/x09f.php | 1 +
.../src/voku/helper/data/x0a0.php | 1 +
.../src/voku/helper/data/x0a1.php | 1 +
.../src/voku/helper/data/x0a2.php | 1 +
.../src/voku/helper/data/x0a3.php | 1 +
.../src/voku/helper/data/x0a4.php | 1 +
.../src/voku/helper/data/x0ac.php | 1 +
.../src/voku/helper/data/x0ad.php | 1 +
.../src/voku/helper/data/x0ae.php | 1 +
.../src/voku/helper/data/x0af.php | 1 +
.../src/voku/helper/data/x0b0.php | 1 +
.../src/voku/helper/data/x0b1.php | 1 +
.../src/voku/helper/data/x0b2.php | 1 +
.../src/voku/helper/data/x0b3.php | 1 +
.../src/voku/helper/data/x0b4.php | 1 +
.../src/voku/helper/data/x0b5.php | 1 +
.../src/voku/helper/data/x0b6.php | 1 +
.../src/voku/helper/data/x0b7.php | 1 +
.../src/voku/helper/data/x0b8.php | 1 +
.../src/voku/helper/data/x0b9.php | 1 +
.../src/voku/helper/data/x0ba.php | 1 +
.../src/voku/helper/data/x0bb.php | 1 +
.../src/voku/helper/data/x0bc.php | 1 +
.../src/voku/helper/data/x0bd.php | 1 +
.../src/voku/helper/data/x0be.php | 1 +
.../src/voku/helper/data/x0bf.php | 1 +
.../src/voku/helper/data/x0c0.php | 1 +
.../src/voku/helper/data/x0c1.php | 1 +
.../src/voku/helper/data/x0c2.php | 1 +
.../src/voku/helper/data/x0c3.php | 1 +
.../src/voku/helper/data/x0c4.php | 1 +
.../src/voku/helper/data/x0c5.php | 1 +
.../src/voku/helper/data/x0c6.php | 1 +
.../src/voku/helper/data/x0c7.php | 1 +
.../src/voku/helper/data/x0c8.php | 1 +
.../src/voku/helper/data/x0c9.php | 1 +
.../src/voku/helper/data/x0ca.php | 1 +
.../src/voku/helper/data/x0cb.php | 1 +
.../src/voku/helper/data/x0cc.php | 1 +
.../src/voku/helper/data/x0cd.php | 1 +
.../src/voku/helper/data/x0ce.php | 1 +
.../src/voku/helper/data/x0cf.php | 1 +
.../src/voku/helper/data/x0d0.php | 1 +
.../src/voku/helper/data/x0d1.php | 1 +
.../src/voku/helper/data/x0d2.php | 1 +
.../src/voku/helper/data/x0d3.php | 1 +
.../src/voku/helper/data/x0d4.php | 1 +
.../src/voku/helper/data/x0d5.php | 1 +
.../src/voku/helper/data/x0d6.php | 1 +
.../src/voku/helper/data/x0d7.php | 1 +
.../src/voku/helper/data/x0f9.php | 1 +
.../src/voku/helper/data/x0fa.php | 1 +
.../src/voku/helper/data/x0fb.php | 1 +
.../src/voku/helper/data/x0fc.php | 1 +
.../src/voku/helper/data/x0fd.php | 1 +
.../src/voku/helper/data/x0fe.php | 1 +
.../src/voku/helper/data/x0ff.php | 1 +
.../src/voku/helper/data/x1d4.php | 1 +
.../src/voku/helper/data/x1d5.php | 4 +
.../src/voku/helper/data/x1d6.php | 1 +
.../src/voku/helper/data/x1d7.php | 1 +
.../src/voku/helper/data/x1f1.php | 2 +
vendor/voku/portable-utf8/CHANGELOG.md | 504 +
vendor/voku/portable-utf8/LICENSE-APACHE | 85 +
vendor/voku/portable-utf8/LICENSE-GPL | 124 +
vendor/voku/portable-utf8/README.md | 5346 ++++++
vendor/voku/portable-utf8/SECURITY.md | 14 +
vendor/voku/portable-utf8/SUMMARY.md | 4 +
vendor/voku/portable-utf8/bootstrap.php | 7 +
vendor/voku/portable-utf8/composer.json | 62 +
.../portable-utf8/src/voku/helper/Bootup.php | 117 +
.../portable-utf8/src/voku/helper/UTF8.php | 13722 ++++++++++++++++
.../src/voku/helper/data/caseFolding_full.php | 218 +
.../src/voku/helper/data/chr.php | 1 +
.../src/voku/helper/data/emoji.php | 7 +
.../src/voku/helper/data/encodings.php | 1 +
.../src/voku/helper/data/ord.php | 1 +
.../voku/helper/data/transliterator_list.php | 1 +
.../src/voku/helper/data/utf8_fix.php | 152 +
.../src/voku/helper/data/win1252_to_utf8.php | 126 +
vendor/webklex/php-imap/.github/FUNDING.yml | 2 +
.../.github/ISSUE_TEMPLATE/bug_report.md | 32 +
.../.github/ISSUE_TEMPLATE/feature_request.md | 17 +
.../ISSUE_TEMPLATE/general-help-request.md | 12 +
vendor/webklex/php-imap/.gitignore | 4 +
vendor/webklex/php-imap/.travis.yml | 34 +
vendor/webklex/php-imap/CHANGELOG.md | 739 +
vendor/webklex/php-imap/CODE_OF_CONDUCT.md | 46 +
vendor/webklex/php-imap/LICENSE | 21 +
vendor/webklex/php-imap/LICENSE.md | 21 +
vendor/webklex/php-imap/README.md | 167 +
vendor/webklex/php-imap/_config.yml | 1 +
vendor/webklex/php-imap/composer.json | 58 +
.../examples/custom_attachment_mask.php | 56 +
.../php-imap/examples/custom_message_mask.php | 50 +
.../examples/folder_structure.blade.php | 42 +
.../php-imap/examples/message_table.blade.php | 46 +
vendor/webklex/php-imap/phpunit.xml | 32 +
vendor/webklex/php-imap/src/Address.php | 90 +
vendor/webklex/php-imap/src/Attachment.php | 353 +
vendor/webklex/php-imap/src/Attribute.php | 262 +
vendor/webklex/php-imap/src/Client.php | 746 +
vendor/webklex/php-imap/src/ClientManager.php | 276 +
.../src/Connection/Protocols/ImapProtocol.php | 1160 ++
.../Connection/Protocols/LegacyProtocol.php | 643 +
.../src/Connection/Protocols/Protocol.php | 285 +
.../Protocols/ProtocolInterface.php | 408 +
.../webklex/php-imap/src/EncodingAliases.php | 482 +
vendor/webklex/php-imap/src/Events/Event.php | 28 +
.../php-imap/src/Events/FlagDeletedEvent.php | 22 +
.../php-imap/src/Events/FlagNewEvent.php | 39 +
.../src/Events/FolderDeletedEvent.php | 22 +
.../php-imap/src/Events/FolderMovedEvent.php | 38 +
.../php-imap/src/Events/FolderNewEvent.php | 35 +
.../src/Events/MessageCopiedEvent.php | 22 +
.../src/Events/MessageDeletedEvent.php | 22 +
.../php-imap/src/Events/MessageMovedEvent.php | 38 +
.../php-imap/src/Events/MessageNewEvent.php | 35 +
.../src/Events/MessageRestoredEvent.php | 22 +
.../src/Exceptions/AuthFailedException.php | 24 +
.../Exceptions/ConnectionFailedException.php | 24 +
.../src/Exceptions/EventNotFoundException.php | 24 +
.../Exceptions/FolderFetchingException.php | 24 +
.../Exceptions/GetMessagesFailedException.php | 24 +
.../InvalidMessageDateException.php | 24 +
.../InvalidWhereQueryCriteriaException.php | 24 +
.../src/Exceptions/MaskNotFoundException.php | 24 +
.../MessageContentFetchingException.php | 24 +
.../src/Exceptions/MessageFlagException.php | 24 +
.../MessageHeaderFetchingException.php | 24 +
.../Exceptions/MessageNotFoundException.php | 24 +
.../MessageSearchValidationException.php | 24 +
.../Exceptions/MethodNotFoundException.php | 24 +
.../MethodNotSupportedException.php | 24 +
.../NotSupportedCapabilityException.php | 24 +
.../ProtocolNotSupportedException.php | 24 +
.../src/Exceptions/RuntimeException.php | 24 +
vendor/webklex/php-imap/src/Folder.php | 475 +
vendor/webklex/php-imap/src/Header.php | 756 +
vendor/webklex/php-imap/src/IMAP.php | 375 +
vendor/webklex/php-imap/src/Message.php | 1432 ++
vendor/webklex/php-imap/src/Part.php | 312 +
vendor/webklex/php-imap/src/Query/Query.php | 979 ++
.../webklex/php-imap/src/Query/WhereQuery.php | 546 +
vendor/webklex/php-imap/src/Structure.php | 174 +
.../src/Support/AttachmentCollection.php | 22 +
.../php-imap/src/Support/FlagCollection.php | 22 +
.../php-imap/src/Support/FolderCollection.php | 22 +
.../src/Support/Masks/AttachmentMask.php | 44 +
.../php-imap/src/Support/Masks/Mask.php | 137 +
.../src/Support/Masks/MessageMask.php | 86 +
.../src/Support/MessageCollection.php | 22 +
.../src/Support/PaginatedCollection.php | 82 +
.../webklex/php-imap/src/Traits/HasEvents.php | 77 +
vendor/webklex/php-imap/src/config/imap.php | 226 +
vendor/webklex/php-imap/tests/InitialTest.php | 26 +
2571 files changed, 350456 insertions(+), 15 deletions(-)
create mode 100644 include/memberlistdownload.php
create mode 100755 vendor/bin/carbon
create mode 100644 vendor/composer/autoload_files.php
create mode 100644 vendor/doctrine/inflector/LICENSE
create mode 100644 vendor/doctrine/inflector/README.md
create mode 100644 vendor/doctrine/inflector/composer.json
create mode 100644 vendor/doctrine/inflector/docs/en/index.rst
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Language.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
create mode 100644 vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
create mode 100644 vendor/illuminate/collections/Arr.php
create mode 100644 vendor/illuminate/collections/Collection.php
create mode 100644 vendor/illuminate/collections/Enumerable.php
create mode 100644 vendor/illuminate/collections/HigherOrderCollectionProxy.php
create mode 100644 vendor/illuminate/collections/HigherOrderWhenProxy.php
create mode 100644 vendor/illuminate/collections/ItemNotFoundException.php
create mode 100644 vendor/illuminate/collections/LICENSE.md
create mode 100644 vendor/illuminate/collections/LazyCollection.php
create mode 100644 vendor/illuminate/collections/MultipleItemsFoundException.php
create mode 100644 vendor/illuminate/collections/Traits/EnumeratesValues.php
create mode 100644 vendor/illuminate/collections/composer.json
create mode 100644 vendor/illuminate/collections/helpers.php
create mode 100644 vendor/illuminate/contracts/Auth/Access/Authorizable.php
create mode 100644 vendor/illuminate/contracts/Auth/Access/Gate.php
create mode 100644 vendor/illuminate/contracts/Auth/Authenticatable.php
create mode 100644 vendor/illuminate/contracts/Auth/CanResetPassword.php
create mode 100644 vendor/illuminate/contracts/Auth/Factory.php
create mode 100644 vendor/illuminate/contracts/Auth/Guard.php
create mode 100644 vendor/illuminate/contracts/Auth/Middleware/AuthenticatesRequests.php
create mode 100644 vendor/illuminate/contracts/Auth/MustVerifyEmail.php
create mode 100644 vendor/illuminate/contracts/Auth/PasswordBroker.php
create mode 100644 vendor/illuminate/contracts/Auth/PasswordBrokerFactory.php
create mode 100644 vendor/illuminate/contracts/Auth/StatefulGuard.php
create mode 100644 vendor/illuminate/contracts/Auth/SupportsBasicAuth.php
create mode 100644 vendor/illuminate/contracts/Auth/UserProvider.php
create mode 100644 vendor/illuminate/contracts/Broadcasting/Broadcaster.php
create mode 100644 vendor/illuminate/contracts/Broadcasting/Factory.php
create mode 100644 vendor/illuminate/contracts/Broadcasting/HasBroadcastChannel.php
create mode 100644 vendor/illuminate/contracts/Broadcasting/ShouldBroadcast.php
create mode 100644 vendor/illuminate/contracts/Broadcasting/ShouldBroadcastNow.php
create mode 100644 vendor/illuminate/contracts/Bus/Dispatcher.php
create mode 100644 vendor/illuminate/contracts/Bus/QueueingDispatcher.php
create mode 100644 vendor/illuminate/contracts/Cache/Factory.php
create mode 100644 vendor/illuminate/contracts/Cache/Lock.php
create mode 100644 vendor/illuminate/contracts/Cache/LockProvider.php
create mode 100644 vendor/illuminate/contracts/Cache/LockTimeoutException.php
create mode 100644 vendor/illuminate/contracts/Cache/Repository.php
create mode 100644 vendor/illuminate/contracts/Cache/Store.php
create mode 100644 vendor/illuminate/contracts/Config/Repository.php
create mode 100644 vendor/illuminate/contracts/Console/Application.php
create mode 100644 vendor/illuminate/contracts/Console/Kernel.php
create mode 100644 vendor/illuminate/contracts/Container/BindingResolutionException.php
create mode 100644 vendor/illuminate/contracts/Container/CircularDependencyException.php
create mode 100644 vendor/illuminate/contracts/Container/Container.php
create mode 100644 vendor/illuminate/contracts/Container/ContextualBindingBuilder.php
create mode 100644 vendor/illuminate/contracts/Cookie/Factory.php
create mode 100644 vendor/illuminate/contracts/Cookie/QueueingFactory.php
create mode 100644 vendor/illuminate/contracts/Database/Eloquent/Castable.php
create mode 100644 vendor/illuminate/contracts/Database/Eloquent/CastsAttributes.php
create mode 100644 vendor/illuminate/contracts/Database/Eloquent/CastsInboundAttributes.php
create mode 100644 vendor/illuminate/contracts/Database/Eloquent/DeviatesCastableAttributes.php
create mode 100644 vendor/illuminate/contracts/Database/Eloquent/SerializesCastableAttributes.php
create mode 100644 vendor/illuminate/contracts/Database/Eloquent/SupportsPartialRelations.php
create mode 100644 vendor/illuminate/contracts/Database/Events/MigrationEvent.php
create mode 100644 vendor/illuminate/contracts/Database/ModelIdentifier.php
create mode 100644 vendor/illuminate/contracts/Debug/ExceptionHandler.php
create mode 100644 vendor/illuminate/contracts/Encryption/DecryptException.php
create mode 100644 vendor/illuminate/contracts/Encryption/EncryptException.php
create mode 100644 vendor/illuminate/contracts/Encryption/Encrypter.php
create mode 100644 vendor/illuminate/contracts/Encryption/StringEncrypter.php
create mode 100644 vendor/illuminate/contracts/Events/Dispatcher.php
create mode 100644 vendor/illuminate/contracts/Filesystem/Cloud.php
create mode 100644 vendor/illuminate/contracts/Filesystem/Factory.php
create mode 100644 vendor/illuminate/contracts/Filesystem/FileExistsException.php
create mode 100644 vendor/illuminate/contracts/Filesystem/FileNotFoundException.php
create mode 100644 vendor/illuminate/contracts/Filesystem/Filesystem.php
create mode 100644 vendor/illuminate/contracts/Filesystem/LockTimeoutException.php
create mode 100644 vendor/illuminate/contracts/Foundation/Application.php
create mode 100644 vendor/illuminate/contracts/Foundation/CachesConfiguration.php
create mode 100644 vendor/illuminate/contracts/Foundation/CachesRoutes.php
create mode 100644 vendor/illuminate/contracts/Hashing/Hasher.php
create mode 100644 vendor/illuminate/contracts/Http/Kernel.php
create mode 100644 vendor/illuminate/contracts/LICENSE.md
create mode 100644 vendor/illuminate/contracts/Mail/Factory.php
create mode 100644 vendor/illuminate/contracts/Mail/MailQueue.php
create mode 100644 vendor/illuminate/contracts/Mail/Mailable.php
create mode 100644 vendor/illuminate/contracts/Mail/Mailer.php
create mode 100644 vendor/illuminate/contracts/Notifications/Dispatcher.php
create mode 100644 vendor/illuminate/contracts/Notifications/Factory.php
create mode 100644 vendor/illuminate/contracts/Pagination/CursorPaginator.php
create mode 100644 vendor/illuminate/contracts/Pagination/LengthAwarePaginator.php
create mode 100644 vendor/illuminate/contracts/Pagination/Paginator.php
create mode 100644 vendor/illuminate/contracts/Pipeline/Hub.php
create mode 100644 vendor/illuminate/contracts/Pipeline/Pipeline.php
create mode 100644 vendor/illuminate/contracts/Queue/ClearableQueue.php
create mode 100644 vendor/illuminate/contracts/Queue/EntityNotFoundException.php
create mode 100644 vendor/illuminate/contracts/Queue/EntityResolver.php
create mode 100644 vendor/illuminate/contracts/Queue/Factory.php
create mode 100644 vendor/illuminate/contracts/Queue/Job.php
create mode 100644 vendor/illuminate/contracts/Queue/Monitor.php
create mode 100644 vendor/illuminate/contracts/Queue/Queue.php
create mode 100644 vendor/illuminate/contracts/Queue/QueueableCollection.php
create mode 100644 vendor/illuminate/contracts/Queue/QueueableEntity.php
create mode 100644 vendor/illuminate/contracts/Queue/ShouldBeEncrypted.php
create mode 100644 vendor/illuminate/contracts/Queue/ShouldBeUnique.php
create mode 100644 vendor/illuminate/contracts/Queue/ShouldBeUniqueUntilProcessing.php
create mode 100644 vendor/illuminate/contracts/Queue/ShouldQueue.php
create mode 100644 vendor/illuminate/contracts/Redis/Connection.php
create mode 100644 vendor/illuminate/contracts/Redis/Connector.php
create mode 100644 vendor/illuminate/contracts/Redis/Factory.php
create mode 100644 vendor/illuminate/contracts/Redis/LimiterTimeoutException.php
create mode 100644 vendor/illuminate/contracts/Routing/BindingRegistrar.php
create mode 100644 vendor/illuminate/contracts/Routing/Registrar.php
create mode 100644 vendor/illuminate/contracts/Routing/ResponseFactory.php
create mode 100644 vendor/illuminate/contracts/Routing/UrlGenerator.php
create mode 100644 vendor/illuminate/contracts/Routing/UrlRoutable.php
create mode 100644 vendor/illuminate/contracts/Session/Session.php
create mode 100755 vendor/illuminate/contracts/Support/Arrayable.php
create mode 100644 vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
create mode 100644 vendor/illuminate/contracts/Support/DeferrableProvider.php
create mode 100644 vendor/illuminate/contracts/Support/DeferringDisplayableValue.php
create mode 100644 vendor/illuminate/contracts/Support/Htmlable.php
create mode 100755 vendor/illuminate/contracts/Support/Jsonable.php
create mode 100644 vendor/illuminate/contracts/Support/MessageBag.php
create mode 100755 vendor/illuminate/contracts/Support/MessageProvider.php
create mode 100755 vendor/illuminate/contracts/Support/Renderable.php
create mode 100644 vendor/illuminate/contracts/Support/Responsable.php
create mode 100644 vendor/illuminate/contracts/Support/ValidatedData.php
create mode 100644 vendor/illuminate/contracts/Translation/HasLocalePreference.php
create mode 100755 vendor/illuminate/contracts/Translation/Loader.php
create mode 100644 vendor/illuminate/contracts/Translation/Translator.php
create mode 100644 vendor/illuminate/contracts/Validation/DataAwareRule.php
create mode 100644 vendor/illuminate/contracts/Validation/Factory.php
create mode 100644 vendor/illuminate/contracts/Validation/ImplicitRule.php
create mode 100644 vendor/illuminate/contracts/Validation/Rule.php
create mode 100644 vendor/illuminate/contracts/Validation/UncompromisedVerifier.php
create mode 100644 vendor/illuminate/contracts/Validation/ValidatesWhenResolved.php
create mode 100644 vendor/illuminate/contracts/Validation/Validator.php
create mode 100644 vendor/illuminate/contracts/Validation/ValidatorAwareRule.php
create mode 100755 vendor/illuminate/contracts/View/Engine.php
create mode 100644 vendor/illuminate/contracts/View/Factory.php
create mode 100644 vendor/illuminate/contracts/View/View.php
create mode 100644 vendor/illuminate/contracts/composer.json
create mode 100644 vendor/illuminate/macroable/LICENSE.md
create mode 100644 vendor/illuminate/macroable/Traits/Macroable.php
create mode 100644 vendor/illuminate/macroable/composer.json
create mode 100644 vendor/illuminate/pagination/AbstractCursorPaginator.php
create mode 100644 vendor/illuminate/pagination/AbstractPaginator.php
create mode 100644 vendor/illuminate/pagination/Cursor.php
create mode 100644 vendor/illuminate/pagination/CursorPaginationException.php
create mode 100644 vendor/illuminate/pagination/CursorPaginator.php
create mode 100644 vendor/illuminate/pagination/LICENSE.md
create mode 100644 vendor/illuminate/pagination/LengthAwarePaginator.php
create mode 100755 vendor/illuminate/pagination/PaginationServiceProvider.php
create mode 100644 vendor/illuminate/pagination/PaginationState.php
create mode 100644 vendor/illuminate/pagination/Paginator.php
create mode 100644 vendor/illuminate/pagination/UrlWindow.php
create mode 100755 vendor/illuminate/pagination/composer.json
create mode 100644 vendor/illuminate/pagination/resources/views/bootstrap-4.blade.php
create mode 100644 vendor/illuminate/pagination/resources/views/default.blade.php
create mode 100644 vendor/illuminate/pagination/resources/views/semantic-ui.blade.php
create mode 100644 vendor/illuminate/pagination/resources/views/simple-bootstrap-4.blade.php
create mode 100644 vendor/illuminate/pagination/resources/views/simple-default.blade.php
create mode 100644 vendor/illuminate/pagination/resources/views/simple-tailwind.blade.php
create mode 100644 vendor/illuminate/pagination/resources/views/tailwind.blade.php
create mode 100644 vendor/illuminate/support/AggregateServiceProvider.php
create mode 100644 vendor/illuminate/support/Carbon.php
create mode 100644 vendor/illuminate/support/Composer.php
create mode 100644 vendor/illuminate/support/ConfigurationUrlParser.php
create mode 100644 vendor/illuminate/support/DateFactory.php
create mode 100644 vendor/illuminate/support/Env.php
create mode 100755 vendor/illuminate/support/Facades/App.php
create mode 100755 vendor/illuminate/support/Facades/Artisan.php
create mode 100755 vendor/illuminate/support/Facades/Auth.php
create mode 100755 vendor/illuminate/support/Facades/Blade.php
create mode 100644 vendor/illuminate/support/Facades/Broadcast.php
create mode 100644 vendor/illuminate/support/Facades/Bus.php
create mode 100755 vendor/illuminate/support/Facades/Cache.php
create mode 100755 vendor/illuminate/support/Facades/Config.php
create mode 100755 vendor/illuminate/support/Facades/Cookie.php
create mode 100755 vendor/illuminate/support/Facades/Crypt.php
create mode 100755 vendor/illuminate/support/Facades/DB.php
create mode 100644 vendor/illuminate/support/Facades/Date.php
create mode 100755 vendor/illuminate/support/Facades/Event.php
create mode 100755 vendor/illuminate/support/Facades/Facade.php
create mode 100755 vendor/illuminate/support/Facades/File.php
create mode 100644 vendor/illuminate/support/Facades/Gate.php
create mode 100755 vendor/illuminate/support/Facades/Hash.php
create mode 100644 vendor/illuminate/support/Facades/Http.php
create mode 100755 vendor/illuminate/support/Facades/Lang.php
create mode 100755 vendor/illuminate/support/Facades/Log.php
create mode 100755 vendor/illuminate/support/Facades/Mail.php
create mode 100644 vendor/illuminate/support/Facades/Notification.php
create mode 100644 vendor/illuminate/support/Facades/ParallelTesting.php
create mode 100755 vendor/illuminate/support/Facades/Password.php
create mode 100755 vendor/illuminate/support/Facades/Queue.php
create mode 100644 vendor/illuminate/support/Facades/RateLimiter.php
create mode 100755 vendor/illuminate/support/Facades/Redirect.php
create mode 100755 vendor/illuminate/support/Facades/Redis.php
create mode 100755 vendor/illuminate/support/Facades/Request.php
create mode 100755 vendor/illuminate/support/Facades/Response.php
create mode 100755 vendor/illuminate/support/Facades/Route.php
create mode 100755 vendor/illuminate/support/Facades/Schema.php
create mode 100755 vendor/illuminate/support/Facades/Session.php
create mode 100644 vendor/illuminate/support/Facades/Storage.php
create mode 100755 vendor/illuminate/support/Facades/URL.php
create mode 100755 vendor/illuminate/support/Facades/Validator.php
create mode 100755 vendor/illuminate/support/Facades/View.php
create mode 100755 vendor/illuminate/support/Fluent.php
create mode 100644 vendor/illuminate/support/HigherOrderTapProxy.php
create mode 100644 vendor/illuminate/support/HtmlString.php
create mode 100644 vendor/illuminate/support/InteractsWithTime.php
create mode 100644 vendor/illuminate/support/Js.php
create mode 100644 vendor/illuminate/support/LICENSE.md
create mode 100755 vendor/illuminate/support/Manager.php
create mode 100755 vendor/illuminate/support/MessageBag.php
create mode 100644 vendor/illuminate/support/MultipleInstanceManager.php
create mode 100755 vendor/illuminate/support/NamespacedItemResolver.php
create mode 100644 vendor/illuminate/support/Optional.php
create mode 100755 vendor/illuminate/support/Pluralizer.php
create mode 100644 vendor/illuminate/support/ProcessUtils.php
create mode 100644 vendor/illuminate/support/Reflector.php
create mode 100755 vendor/illuminate/support/ServiceProvider.php
create mode 100644 vendor/illuminate/support/Str.php
create mode 100644 vendor/illuminate/support/Stringable.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/BatchRepositoryFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/BusFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/EventFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/MailFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/NotificationFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/PendingBatchFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/PendingChainFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/PendingMailFake.php
create mode 100644 vendor/illuminate/support/Testing/Fakes/QueueFake.php
create mode 100644 vendor/illuminate/support/Timebox.php
create mode 100644 vendor/illuminate/support/Traits/CapsuleManagerTrait.php
create mode 100644 vendor/illuminate/support/Traits/Conditionable.php
create mode 100644 vendor/illuminate/support/Traits/ForwardsCalls.php
create mode 100644 vendor/illuminate/support/Traits/Localizable.php
create mode 100644 vendor/illuminate/support/Traits/ReflectsClosures.php
create mode 100644 vendor/illuminate/support/Traits/Tappable.php
create mode 100644 vendor/illuminate/support/ValidatedInput.php
create mode 100644 vendor/illuminate/support/ViewErrorBag.php
create mode 100644 vendor/illuminate/support/composer.json
create mode 100755 vendor/illuminate/support/helpers.php
create mode 100644 vendor/maennchen/zipstream-php/.editorconfig
create mode 100644 vendor/maennchen/zipstream-php/.phive/phars.xml
create mode 100644 vendor/maennchen/zipstream-php/.php-cs-fixer.dist.php
create mode 100644 vendor/maennchen/zipstream-php/.phpdoc/template/base.html.twig
create mode 100644 vendor/maennchen/zipstream-php/.tool-versions
create mode 100644 vendor/maennchen/zipstream-php/LICENSE
create mode 100644 vendor/maennchen/zipstream-php/README.md
create mode 100644 vendor/maennchen/zipstream-php/composer.json
create mode 100644 vendor/maennchen/zipstream-php/guides/ContentLength.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/FlySystem.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/Nginx.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/Options.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/PSR7Streams.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/StreamOutput.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/Symfony.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/Varnish.rst
create mode 100644 vendor/maennchen/zipstream-php/guides/index.rst
create mode 100644 vendor/maennchen/zipstream-php/phpdoc.dist.xml
create mode 100644 vendor/maennchen/zipstream-php/phpunit.xml.dist
create mode 100644 vendor/maennchen/zipstream-php/psalm.xml
create mode 100644 vendor/maennchen/zipstream-php/src/Bigint.php
create mode 100644 vendor/maennchen/zipstream-php/src/DeflateStream.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception/EncodingException.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception/IncompatibleOptionsException.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception/OverflowException.php
create mode 100644 vendor/maennchen/zipstream-php/src/Exception/StreamNotReadableException.php
create mode 100644 vendor/maennchen/zipstream-php/src/File.php
create mode 100644 vendor/maennchen/zipstream-php/src/Option/Archive.php
create mode 100644 vendor/maennchen/zipstream-php/src/Option/File.php
create mode 100644 vendor/maennchen/zipstream-php/src/Option/Method.php
create mode 100644 vendor/maennchen/zipstream-php/src/Option/Version.php
create mode 100644 vendor/maennchen/zipstream-php/src/Stream.php
create mode 100644 vendor/maennchen/zipstream-php/src/ZipStream.php
create mode 100644 vendor/maennchen/zipstream-php/test/BigintTest.php
create mode 100644 vendor/maennchen/zipstream-php/test/ZipStreamTest.php
create mode 100644 vendor/maennchen/zipstream-php/test/bootstrap.php
create mode 100644 vendor/maennchen/zipstream-php/test/bug/BugHonorFileTimeTest.php
create mode 100644 vendor/markbaker/complex/.github/workflows/main.yml
create mode 100644 vendor/markbaker/complex/README.md
create mode 100644 vendor/markbaker/complex/classes/src/Complex.php
create mode 100644 vendor/markbaker/complex/classes/src/Exception.php
create mode 100644 vendor/markbaker/complex/classes/src/Functions.php
create mode 100644 vendor/markbaker/complex/classes/src/Operations.php
create mode 100644 vendor/markbaker/complex/composer.json
create mode 100644 vendor/markbaker/complex/examples/complexTest.php
create mode 100644 vendor/markbaker/complex/examples/testFunctions.php
create mode 100644 vendor/markbaker/complex/examples/testOperations.php
create mode 100644 vendor/markbaker/complex/license.md
create mode 100644 vendor/markbaker/matrix/.github/workflows/main.yaml
create mode 100644 vendor/markbaker/matrix/README.md
create mode 100644 vendor/markbaker/matrix/buildPhar.php
create mode 100644 vendor/markbaker/matrix/classes/src/Builder.php
create mode 100644 vendor/markbaker/matrix/classes/src/Decomposition/Decomposition.php
create mode 100644 vendor/markbaker/matrix/classes/src/Decomposition/LU.php
create mode 100644 vendor/markbaker/matrix/classes/src/Decomposition/QR.php
create mode 100644 vendor/markbaker/matrix/classes/src/Div0Exception.php
create mode 100644 vendor/markbaker/matrix/classes/src/Exception.php
create mode 100644 vendor/markbaker/matrix/classes/src/Functions.php
create mode 100644 vendor/markbaker/matrix/classes/src/Matrix.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operations.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operators/Addition.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operators/DirectSum.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operators/Division.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operators/Multiplication.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operators/Operator.php
create mode 100644 vendor/markbaker/matrix/classes/src/Operators/Subtraction.php
create mode 100644 vendor/markbaker/matrix/composer.json
create mode 100644 vendor/markbaker/matrix/examples/test.php
create mode 100644 vendor/markbaker/matrix/infection.json.dist
create mode 100644 vendor/markbaker/matrix/license.md
create mode 100644 vendor/markbaker/matrix/phpstan.neon
create mode 100644 vendor/myclabs/php-enum/LICENSE
create mode 100644 vendor/myclabs/php-enum/README.md
create mode 100644 vendor/myclabs/php-enum/SECURITY.md
create mode 100644 vendor/myclabs/php-enum/composer.json
create mode 100644 vendor/myclabs/php-enum/src/Enum.php
create mode 100644 vendor/myclabs/php-enum/src/PHPUnit/Comparator.php
create mode 100644 vendor/myclabs/php-enum/stubs/Stringable.php
create mode 100644 vendor/nesbot/carbon/.phpstorm.meta.php
create mode 100644 vendor/nesbot/carbon/LICENSE
create mode 100755 vendor/nesbot/carbon/bin/carbon
create mode 100644 vendor/nesbot/carbon/bin/carbon.bat
create mode 100644 vendor/nesbot/carbon/composer.json
create mode 100644 vendor/nesbot/carbon/extension.neon
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/MessageFormatter/MessageFormatterMapperStrongType.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/MessageFormatter/MessageFormatterMapperWeakType.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroBuiltin.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroStatic.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroStrongType.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroWeakType.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/TranslatorStrongType.php
create mode 100644 vendor/nesbot/carbon/lazy/Carbon/TranslatorWeakType.php
create mode 100644 vendor/nesbot/carbon/readme.md
create mode 100644 vendor/nesbot/carbon/sponsors.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/AbstractTranslator.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Carbon.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonConverterInterface.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonImmutable.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonInterface.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonPeriodImmutable.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/EndLessPeriodException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Factory.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/aa.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/aa_DJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/aa_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/aa_ER@saaho.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/aa_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/af.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/agq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/agr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/agr_PE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ak.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ak_GH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/am.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/am_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/an.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/an_ES.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/anp.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/anp_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_AE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_BH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_DZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_EG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_IQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_JO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_KW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_LB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_LY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_MA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_OM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_QA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_SA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_SD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_SS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_SY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_TN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ar_YE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/as.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/as_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/asa.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ast.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ast_ES.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ayc.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ayc_PE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/az.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/az_AZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/az_IR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bas.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/be.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/be_BY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/be_BY@latin.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bem.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bem_ZM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ber.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ber_DZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ber_MA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bez.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bhb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bhb_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bho.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bho_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bi_VU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bm.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bn_BD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bn_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/br.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/brx.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/brx_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bs.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/byn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/byn_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ca.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ccp.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ce.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ce_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cgg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/chr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/chr_US.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ckb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cmn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cmn_TW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/crh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/crh_UA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cs.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/csb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/csb_PL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cv.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cy.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/da.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dav.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_AT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_BE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_DE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_IT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/de_LU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dje.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/doi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/doi_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dsb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dsb_DE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dua.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dv.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dyo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dz.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/dz_BT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ebu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ee.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/el.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/el_CY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/el_GR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_001.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_150.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_AG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_AU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_CY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_DK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_HK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_IE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_IL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_NZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_PH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_US.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_ZM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/eo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_419.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_AR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_BO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_CL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_CO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_CR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_DO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_EC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_ES.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_GT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_HN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_MX.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_NI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_PA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_PE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_PR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_PY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_SV.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_US.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_UY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/es_VE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/et.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/eu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ewo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fa.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ff.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ff_SN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fil.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fil_PH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_BE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_LU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fur.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fur_IT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fy.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fy_DE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/fy_NL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ga.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gd.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gez.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gez_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gez_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gom.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gsw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/guz.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gv.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/gv_GB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ha.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hak.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hak_TW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/haw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/he.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hif.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hif_FJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hne.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hne_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hr_BA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hsb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hsb_DE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ht.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ht_HT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hy.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/hy_AM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/i18n.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ia.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ia_FR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/id.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ig.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ig_NG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ii.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ik.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ik_CA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/in.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/is.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/it.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/it_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/it_IT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/iu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/iu_CA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/iw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ja.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/jgo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/jmc.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/jv.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ka.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kab.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kab_DZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kam.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kde.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kea.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/khq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ki.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kk.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kkj.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kl_GL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kln.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/km.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ko.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kok.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kok_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ks.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ks_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ks_IN@devanagari.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ksb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ksf.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ksh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ku.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/kw_GB.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ky.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lag.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lg_UG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/li.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/li_NL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lij.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lij_IT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lkt.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ln.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ln_CD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lrc.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lt.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/luo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/luy.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lv.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lzh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/lzh_TW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mag.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mag_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mai.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mai_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mas.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mer.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mfe.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mfe_MU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mg_MG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mgh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mgo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mhr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mhr_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/miq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mjw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mjw_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mk.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ml.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mni.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mni_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ms.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ms_MY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mt.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mua.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/my.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/mzn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nan.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nan_TW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nan_TW@latin.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/naq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nb.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nd.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nds.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nds_DE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nds_NL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ne.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nhn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nhn_MX.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/niu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/niu_NU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_AW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_BE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_NL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nmg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nnh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/no.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nr_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nso.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nso_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nus.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/nyn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/oc.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/om.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/or.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/or_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/os.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/os_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pa.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pa_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pa_PK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pap.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pap_AW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pap_CW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/prg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ps.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_PT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/qu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/quz.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/quz_PE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/raj.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/raj_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/rm.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/rn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ro.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/rof.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ru_UA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/rw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/rw_RW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/rwk.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sa.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sa_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sah.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sah_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/saq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sat.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sat_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sbp.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sc.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sc_IT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sd.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sd_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sd_IN@devanagari.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/se.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/seh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ses.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sgs.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sgs_LT.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shn_MM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shs.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/shs_CA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/si.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sid.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sid_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sk.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sm.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sm_WS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/smn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/so.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/so_DJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/so_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/so_KE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/so_SO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_RS.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ss.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/st.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/st_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sv.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sw_KE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sw_TZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/szl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/szl_PL.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ta.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ta_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ta_LK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tcy.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tcy_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/te.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/teo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tet.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tg.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/th.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/the.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/the_NP.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ti.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ti_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ti_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tig.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tig_ER.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tk.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tk_TM.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tl_PH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tlh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tn_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/to.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/to_TO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tpi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tpi_PG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tr.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ts.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ts_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tt.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tt_RU.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tt_RU@iqtelif.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/twq.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tzl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tzm.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/tzm_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ug.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ug_CN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uk.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/unm.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/unm_US.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ur.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ur_IN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ur_PK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uz.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uz_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ@cyrillic.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vai.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ve.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/ve_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/vun.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wa.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wa_BE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wae.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wae_CH.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wal.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wal_ET.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/wo_SN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/xh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/xh_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/xog.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yav.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yi.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yi_US.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yo.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yue.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yue_HK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yuw.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/yuw_PG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zgh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_CN.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_HK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_MO.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_SG.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_TW.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zh_YUE.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zu.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Lang/zu_ZA.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Language.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/List/languages.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/List/regions.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/MessageFormatter/MessageFormatterMapper.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/PHPStan/AbstractMacro.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Cast.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Converter.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Date.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/DeprecatedProperties.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Difference.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Localization.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Macro.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/MagicParameter.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Options.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Test.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/ToStringFormat.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Units.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Traits/Week.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/Translator.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/TranslatorImmutable.php
create mode 100644 vendor/nesbot/carbon/src/Carbon/TranslatorStrongTypeInterface.php
create mode 100644 vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php
create mode 100644 vendor/phpoffice/phpspreadsheet/.php-cs-fixer.dist.php
create mode 100644 vendor/phpoffice/phpspreadsheet/.phpcs.xml.dist
create mode 100644 vendor/phpoffice/phpspreadsheet/.readthedocs.yaml
create mode 100644 vendor/phpoffice/phpspreadsheet/CHANGELOG.md
create mode 100644 vendor/phpoffice/phpspreadsheet/CONTRIBUTING.md
create mode 100644 vendor/phpoffice/phpspreadsheet/LICENSE
create mode 100644 vendor/phpoffice/phpspreadsheet/README.md
create mode 100644 vendor/phpoffice/phpspreadsheet/composer.json
create mode 100644 vendor/phpoffice/phpspreadsheet/phpstan-baseline.neon
create mode 100644 vendor/phpoffice/phpspreadsheet/phpstan.neon.dist
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ArrayEnabled.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/BinaryComparison.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Category.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DAverage.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DCount.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DCountA.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DGet.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMax.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMin.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DProduct.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DStDev.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DStDevP.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DSum.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DVar.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DVarP.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Constants.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Current.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Date.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days360.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Difference.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Helpers.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeValue.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Week.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/YearFrac.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentProcessor.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/BranchPruner.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/CyclicReferenceStack.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/FormattedNumber.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Logger.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Operands/Operand.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Operands/StructuredReference.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselI.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselY.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BitWise.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Compare.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Complex.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexOperations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Constants.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/EngineeringValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Erf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ErfC.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Exception.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ExceptionHandler.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Amortization.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/CashFlowValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/InterestAndPrincipal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Single.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/Periodic.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Constants.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Coupons.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Depreciation.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Dollar.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Helpers.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/InterestRate.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/SecurityValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaToken.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/ErrorValue.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/ExcelError.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/Value.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/WildcardMatch.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Boolean.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Conditional.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Operations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Address.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Filter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Formula.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/HLookup.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Helpers.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/LookupBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/LookupRefValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Selection.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Sort.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Unique.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Absolute.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Angle.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Arabic.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Base.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Exp.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Factorial.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Gcd.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Helpers.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/IntClass.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Operations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Random.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Roman.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Round.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SeriesSum.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sign.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sum.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosecant.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosine.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cotangent.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Secant.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Sine.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Tangent.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trunc.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/AggregateBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Averages.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Averages/Mean.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Conditional.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Confidence.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Counts.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Deviations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/DistributionValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/HyperGeometric.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/NewtonRaphson.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/StandardNormal.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/StudentT.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/MaxMinBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Maximum.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Minimum.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Percentiles.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Permutations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Size.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StandardDeviations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Standardize.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StatisticalValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/VarianceBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Variances.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/CaseConvert.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/CharacterConvert.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Concatenate.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Extract.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Format.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Helpers.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Replace.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Search.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Text.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Trim.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Token/Stack.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Web.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Web/Service.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/Translations.xlsx
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/bg/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/bg/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/cs/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/cs/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/da/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/da/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/de/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/de/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/en/uk/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/es/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/es/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fi/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fi/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fr/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fr/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/hu/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/hu/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/it/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/it/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/nb/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/nb/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/nl/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/nl/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pl/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pl/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/br/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/br/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/ru/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/ru/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/sv/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/sv/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/tr/config
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/tr/functions
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/AddressHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/AddressRange.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/AdvancedValueBinder.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/CellAddress.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/CellRange.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/ColumnRange.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Coordinate.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataType.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataValidation.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataValidator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Hyperlink.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/IValueBinder.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/IgnoredErrors.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/RowRange.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/StringValueBinder.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/CellReferenceHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Axis.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/AxisText.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Chart.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/ChartColor.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/DataSeries.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/DataSeriesValues.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Exception.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/GridLines.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Layout.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Legend.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/PlotArea.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Properties.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/IRenderer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/MtJpGraphRenderer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/PHP Charting Libraries.txt
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Title.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/TrendLine.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Cells.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/CellsFactory.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Comment.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/DefinedName.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Document/Properties.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Document/Security.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Exception.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/HashTable.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Dimension.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Downloader.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Handler.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Html.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Size.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/TextGrid.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IComparable.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/NamedFormula.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/NamedRange.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/BaseReader.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Csv.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Csv/Delimiter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/DefaultReadFilter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Exception.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric/PageSetup.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric/Properties.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric/Styles.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Html.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/IReadFilter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/IReader.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/AutoFilter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/BaseLoader.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/DefinedNames.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/FormulaTranslator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/PageSettings.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/Properties.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Security/XmlScanner.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/BIFF5.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/BIFF8.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/BuiltIn.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/ConditionalFormatting.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/DataValidationHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/ErrorCode.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Escher.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/MD5.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/RC4.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Style/Border.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Style/CellAlignment.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Style/CellFont.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Style/FillPattern.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/AutoFilter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/BaseParserClass.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Chart.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/DataValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Hyperlinks.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Namespaces.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/PageSetup.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Properties.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SharedFormula.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SheetViewOptions.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SheetViews.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Styles.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/TableReader.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Theme.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/WorkbookView.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/DataValidations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/PageSettings.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Properties.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style/Alignment.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style/Border.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style/Fill.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style/Font.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style/NumberFormat.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/Style/StyleBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/ReferenceHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/ITextElement.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/RichText.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/Run.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/TextElement.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Settings.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/CodePage.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Date.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Drawing.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DgContainer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer/BSE.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/File.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Font.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/IntOrFloat.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS/File.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS/Root.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLERead.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/TimeZone.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/BestFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/LinearBestFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PolynomialBestFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PowerBestFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/Trend.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/XMLWriter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Xls.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Spreadsheet.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Alignment.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Border.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Borders.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Color.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Conditional.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/CellMatcher.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/CellStyleAssessor.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalColorScale.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBar.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBarExtension.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalFormatValueObject.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalFormattingRuleExtension.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/StyleMerger.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Blanks.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/CellValue.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/DateValue.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Duplicates.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Errors.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/Expression.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/TextValue.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/WizardAbstract.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/WizardInterface.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Fill.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Font.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/BaseFormatter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Formatter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/FractionFormatter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/NumberFormatter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/PercentageFormatter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Accounting.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Currency.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Date.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/DateTime.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/DateTimeWizard.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Duration.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Locale.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Number.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/NumberBase.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Percentage.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Scientific.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Time.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Wizard.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Protection.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/RgbTint.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Supervisor.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Theme.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter/Column.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter/Column/Rule.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFit.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/BaseDrawing.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/CellIterator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Column.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnCellIterator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnIterator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Dimension.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/HeaderFooter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/HeaderFooterDrawing.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Iterator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/MemoryDrawing.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/PageBreak.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/PageMargins.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/PageSetup.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Pane.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Protection.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Row.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowCellIterator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowDimension.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowIterator.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/SheetView.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Table.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Table/Column.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Table/TableStyle.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Validations.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/BaseWriter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Csv.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Exception.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Html.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/IWriter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/AutoFilters.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Cell/Comment.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Cell/Style.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Content.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Formula.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Meta.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/MetaInf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Mimetype.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Settings.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Styles.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Thumbnails.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/WriterPart.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Dompdf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/BIFFwriter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/CellDataValidation.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/ConditionalHelper.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/ErrorCode.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Escher.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Font.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Parser.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Style/CellAlignment.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Style/CellBorder.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Style/CellFill.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Style/ColorMap.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Workbook.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Worksheet.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Xf.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/AutoFilter.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Comments.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/DocProps.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Drawing.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/FunctionPrefix.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Rels.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/RelsVBA.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/StringTable.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Style.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Table.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Theme.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Workbook.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/WriterPart.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/ZipStream0.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/ZipStream2.php
create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/ZipStream3.php
create mode 100644 vendor/psr/clock/CHANGELOG.md
create mode 100644 vendor/psr/clock/LICENSE
create mode 100644 vendor/psr/clock/README.md
create mode 100644 vendor/psr/clock/composer.json
create mode 100644 vendor/psr/clock/src/ClockInterface.php
create mode 100644 vendor/psr/container/.gitignore
create mode 100644 vendor/psr/container/LICENSE
create mode 100644 vendor/psr/container/README.md
create mode 100644 vendor/psr/container/composer.json
create mode 100644 vendor/psr/container/src/ContainerExceptionInterface.php
create mode 100644 vendor/psr/container/src/ContainerInterface.php
create mode 100644 vendor/psr/container/src/NotFoundExceptionInterface.php
create mode 100644 vendor/psr/http-client/CHANGELOG.md
create mode 100644 vendor/psr/http-client/LICENSE
create mode 100644 vendor/psr/http-client/README.md
create mode 100644 vendor/psr/http-client/composer.json
create mode 100644 vendor/psr/http-client/src/ClientExceptionInterface.php
create mode 100644 vendor/psr/http-client/src/ClientInterface.php
create mode 100644 vendor/psr/http-client/src/NetworkExceptionInterface.php
create mode 100644 vendor/psr/http-client/src/RequestExceptionInterface.php
create mode 100644 vendor/psr/http-factory/LICENSE
create mode 100644 vendor/psr/http-factory/README.md
create mode 100644 vendor/psr/http-factory/composer.json
create mode 100644 vendor/psr/http-factory/src/RequestFactoryInterface.php
create mode 100644 vendor/psr/http-factory/src/ResponseFactoryInterface.php
create mode 100644 vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
create mode 100644 vendor/psr/http-factory/src/StreamFactoryInterface.php
create mode 100644 vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
create mode 100644 vendor/psr/http-factory/src/UriFactoryInterface.php
create mode 100644 vendor/psr/http-message/CHANGELOG.md
create mode 100644 vendor/psr/http-message/LICENSE
create mode 100644 vendor/psr/http-message/README.md
create mode 100644 vendor/psr/http-message/composer.json
create mode 100644 vendor/psr/http-message/docs/PSR7-Interfaces.md
create mode 100644 vendor/psr/http-message/docs/PSR7-Usage.md
create mode 100644 vendor/psr/http-message/src/MessageInterface.php
create mode 100644 vendor/psr/http-message/src/RequestInterface.php
create mode 100644 vendor/psr/http-message/src/ResponseInterface.php
create mode 100644 vendor/psr/http-message/src/ServerRequestInterface.php
create mode 100644 vendor/psr/http-message/src/StreamInterface.php
create mode 100644 vendor/psr/http-message/src/UploadedFileInterface.php
create mode 100644 vendor/psr/http-message/src/UriInterface.php
create mode 100644 vendor/psr/simple-cache/.editorconfig
create mode 100644 vendor/psr/simple-cache/LICENSE.md
create mode 100644 vendor/psr/simple-cache/README.md
create mode 100644 vendor/psr/simple-cache/composer.json
create mode 100644 vendor/psr/simple-cache/src/CacheException.php
create mode 100644 vendor/psr/simple-cache/src/CacheInterface.php
create mode 100644 vendor/psr/simple-cache/src/InvalidArgumentException.php
create mode 100644 vendor/symfony/deprecation-contracts/.gitignore
create mode 100644 vendor/symfony/deprecation-contracts/CHANGELOG.md
create mode 100644 vendor/symfony/deprecation-contracts/LICENSE
create mode 100644 vendor/symfony/deprecation-contracts/README.md
create mode 100644 vendor/symfony/deprecation-contracts/composer.json
create mode 100644 vendor/symfony/deprecation-contracts/function.php
create mode 100644 vendor/symfony/http-foundation/AcceptHeader.php
create mode 100644 vendor/symfony/http-foundation/AcceptHeaderItem.php
create mode 100644 vendor/symfony/http-foundation/BinaryFileResponse.php
create mode 100644 vendor/symfony/http-foundation/CHANGELOG.md
create mode 100644 vendor/symfony/http-foundation/Cookie.php
create mode 100644 vendor/symfony/http-foundation/Exception/BadRequestException.php
create mode 100644 vendor/symfony/http-foundation/Exception/ConflictingHeadersException.php
create mode 100644 vendor/symfony/http-foundation/Exception/JsonException.php
create mode 100644 vendor/symfony/http-foundation/Exception/RequestExceptionInterface.php
create mode 100644 vendor/symfony/http-foundation/Exception/SessionNotFoundException.php
create mode 100644 vendor/symfony/http-foundation/Exception/SuspiciousOperationException.php
create mode 100644 vendor/symfony/http-foundation/ExpressionRequestMatcher.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/CannotWriteFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/ExtensionFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/FileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/FormSizeFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/IniSizeFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/NoFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/NoTmpDirFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/PartialFileException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php
create mode 100644 vendor/symfony/http-foundation/File/Exception/UploadException.php
create mode 100644 vendor/symfony/http-foundation/File/File.php
create mode 100644 vendor/symfony/http-foundation/File/Stream.php
create mode 100644 vendor/symfony/http-foundation/File/UploadedFile.php
create mode 100644 vendor/symfony/http-foundation/FileBag.php
create mode 100644 vendor/symfony/http-foundation/HeaderBag.php
create mode 100644 vendor/symfony/http-foundation/HeaderUtils.php
create mode 100644 vendor/symfony/http-foundation/InputBag.php
create mode 100644 vendor/symfony/http-foundation/IpUtils.php
create mode 100644 vendor/symfony/http-foundation/JsonResponse.php
create mode 100644 vendor/symfony/http-foundation/LICENSE
create mode 100644 vendor/symfony/http-foundation/ParameterBag.php
create mode 100644 vendor/symfony/http-foundation/README.md
create mode 100644 vendor/symfony/http-foundation/RateLimiter/AbstractRequestRateLimiter.php
create mode 100644 vendor/symfony/http-foundation/RateLimiter/RequestRateLimiterInterface.php
create mode 100644 vendor/symfony/http-foundation/RedirectResponse.php
create mode 100644 vendor/symfony/http-foundation/Request.php
create mode 100644 vendor/symfony/http-foundation/RequestMatcher.php
create mode 100644 vendor/symfony/http-foundation/RequestMatcherInterface.php
create mode 100644 vendor/symfony/http-foundation/RequestStack.php
create mode 100644 vendor/symfony/http-foundation/Response.php
create mode 100644 vendor/symfony/http-foundation/ResponseHeaderBag.php
create mode 100644 vendor/symfony/http-foundation/ServerBag.php
create mode 100644 vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php
create mode 100644 vendor/symfony/http-foundation/Session/Attribute/AttributeBagInterface.php
create mode 100644 vendor/symfony/http-foundation/Session/Attribute/NamespacedAttributeBag.php
create mode 100644 vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php
create mode 100644 vendor/symfony/http-foundation/Session/Flash/FlashBag.php
create mode 100644 vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php
create mode 100644 vendor/symfony/http-foundation/Session/Session.php
create mode 100644 vendor/symfony/http-foundation/Session/SessionBagInterface.php
create mode 100644 vendor/symfony/http-foundation/Session/SessionBagProxy.php
create mode 100644 vendor/symfony/http-foundation/Session/SessionFactory.php
create mode 100644 vendor/symfony/http-foundation/Session/SessionFactoryInterface.php
create mode 100644 vendor/symfony/http-foundation/Session/SessionInterface.php
create mode 100644 vendor/symfony/http-foundation/Session/SessionUtils.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/IdentityMarshaller.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/MarshallingSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/MigratingSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/MongoDbSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/NullSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/RedisSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/SessionHandlerFactory.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/MetadataBag.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/MockFileSessionStorageFactory.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/NativeSessionStorageFactory.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorageFactory.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/ServiceSessionFactory.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/SessionStorageFactoryInterface.php
create mode 100644 vendor/symfony/http-foundation/Session/Storage/SessionStorageInterface.php
create mode 100644 vendor/symfony/http-foundation/StreamedResponse.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/RequestAttributeValueSame.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseCookieValueSame.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseFormatSame.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseHasCookie.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseHasHeader.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseHeaderSame.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseIsRedirected.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseIsSuccessful.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseIsUnprocessable.php
create mode 100644 vendor/symfony/http-foundation/Test/Constraint/ResponseStatusCodeSame.php
create mode 100644 vendor/symfony/http-foundation/UrlHelper.php
create mode 100644 vendor/symfony/http-foundation/composer.json
create mode 100644 vendor/symfony/polyfill-iconv/Iconv.php
create mode 100644 vendor/symfony/polyfill-iconv/LICENSE
create mode 100644 vendor/symfony/polyfill-iconv/README.md
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.big5.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp037.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp1006.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp1026.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp424.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp437.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp500.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp737.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp775.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp850.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp852.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp855.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp856.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp857.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp860.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp861.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp862.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp863.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp864.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp865.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp866.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp869.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp874.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp875.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp932.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp936.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp949.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.cp950.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-1.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-10.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-11.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-13.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-14.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-15.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-16.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-2.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-3.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-4.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-5.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-6.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-7.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-8.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.iso-8859-9.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.koi8-r.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.koi8-u.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.us-ascii.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1250.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1251.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1252.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1253.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1254.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1255.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1256.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1257.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/from.windows-1258.php
create mode 100644 vendor/symfony/polyfill-iconv/Resources/charset/translit.php
create mode 100644 vendor/symfony/polyfill-iconv/bootstrap.php
create mode 100644 vendor/symfony/polyfill-iconv/bootstrap80.php
create mode 100644 vendor/symfony/polyfill-iconv/composer.json
create mode 100644 vendor/symfony/polyfill-intl-grapheme/Grapheme.php
create mode 100644 vendor/symfony/polyfill-intl-grapheme/LICENSE
create mode 100644 vendor/symfony/polyfill-intl-grapheme/README.md
create mode 100644 vendor/symfony/polyfill-intl-grapheme/bootstrap.php
create mode 100644 vendor/symfony/polyfill-intl-grapheme/bootstrap80.php
create mode 100644 vendor/symfony/polyfill-intl-grapheme/composer.json
create mode 100644 vendor/symfony/polyfill-intl-normalizer/LICENSE
create mode 100644 vendor/symfony/polyfill-intl-normalizer/Normalizer.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/README.md
create mode 100644 vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/bootstrap.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/bootstrap80.php
create mode 100644 vendor/symfony/polyfill-intl-normalizer/composer.json
create mode 100644 vendor/symfony/polyfill-mbstring/LICENSE
create mode 100644 vendor/symfony/polyfill-mbstring/Mbstring.php
create mode 100644 vendor/symfony/polyfill-mbstring/README.md
create mode 100644 vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php
create mode 100644 vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php
create mode 100644 vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php
create mode 100644 vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php
create mode 100644 vendor/symfony/polyfill-mbstring/bootstrap.php
create mode 100644 vendor/symfony/polyfill-mbstring/bootstrap80.php
create mode 100644 vendor/symfony/polyfill-mbstring/composer.json
create mode 100644 vendor/symfony/polyfill-php72/LICENSE
create mode 100644 vendor/symfony/polyfill-php72/Php72.php
create mode 100644 vendor/symfony/polyfill-php72/README.md
create mode 100644 vendor/symfony/polyfill-php72/bootstrap.php
create mode 100644 vendor/symfony/polyfill-php72/composer.json
create mode 100644 vendor/symfony/polyfill-php80/LICENSE
create mode 100644 vendor/symfony/polyfill-php80/Php80.php
create mode 100644 vendor/symfony/polyfill-php80/PhpToken.php
create mode 100644 vendor/symfony/polyfill-php80/README.md
create mode 100644 vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php
create mode 100644 vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php
create mode 100644 vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php
create mode 100644 vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php
create mode 100644 vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
create mode 100644 vendor/symfony/polyfill-php80/bootstrap.php
create mode 100644 vendor/symfony/polyfill-php80/composer.json
create mode 100644 vendor/symfony/translation-contracts/.gitignore
create mode 100644 vendor/symfony/translation-contracts/CHANGELOG.md
create mode 100644 vendor/symfony/translation-contracts/LICENSE
create mode 100644 vendor/symfony/translation-contracts/LocaleAwareInterface.php
create mode 100644 vendor/symfony/translation-contracts/README.md
create mode 100644 vendor/symfony/translation-contracts/Test/TranslatorTest.php
create mode 100644 vendor/symfony/translation-contracts/TranslatableInterface.php
create mode 100644 vendor/symfony/translation-contracts/TranslatorInterface.php
create mode 100644 vendor/symfony/translation-contracts/TranslatorTrait.php
create mode 100644 vendor/symfony/translation-contracts/composer.json
create mode 100644 vendor/symfony/translation/CHANGELOG.md
create mode 100644 vendor/symfony/translation/Catalogue/AbstractOperation.php
create mode 100644 vendor/symfony/translation/Catalogue/MergeOperation.php
create mode 100644 vendor/symfony/translation/Catalogue/OperationInterface.php
create mode 100644 vendor/symfony/translation/Catalogue/TargetOperation.php
create mode 100644 vendor/symfony/translation/Command/TranslationPullCommand.php
create mode 100644 vendor/symfony/translation/Command/TranslationPushCommand.php
create mode 100644 vendor/symfony/translation/Command/TranslationTrait.php
create mode 100644 vendor/symfony/translation/Command/XliffLintCommand.php
create mode 100644 vendor/symfony/translation/DataCollector/TranslationDataCollector.php
create mode 100644 vendor/symfony/translation/DataCollectorTranslator.php
create mode 100644 vendor/symfony/translation/DependencyInjection/TranslationDumperPass.php
create mode 100644 vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php
create mode 100644 vendor/symfony/translation/DependencyInjection/TranslatorPass.php
create mode 100644 vendor/symfony/translation/DependencyInjection/TranslatorPathsPass.php
create mode 100644 vendor/symfony/translation/Dumper/CsvFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/DumperInterface.php
create mode 100644 vendor/symfony/translation/Dumper/FileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/IcuResFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/IniFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/JsonFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/MoFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/PhpFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/PoFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/QtFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/XliffFileDumper.php
create mode 100644 vendor/symfony/translation/Dumper/YamlFileDumper.php
create mode 100644 vendor/symfony/translation/Exception/ExceptionInterface.php
create mode 100644 vendor/symfony/translation/Exception/IncompleteDsnException.php
create mode 100644 vendor/symfony/translation/Exception/InvalidArgumentException.php
create mode 100644 vendor/symfony/translation/Exception/InvalidResourceException.php
create mode 100644 vendor/symfony/translation/Exception/LogicException.php
create mode 100644 vendor/symfony/translation/Exception/MissingRequiredOptionException.php
create mode 100644 vendor/symfony/translation/Exception/NotFoundResourceException.php
create mode 100644 vendor/symfony/translation/Exception/ProviderException.php
create mode 100644 vendor/symfony/translation/Exception/ProviderExceptionInterface.php
create mode 100644 vendor/symfony/translation/Exception/RuntimeException.php
create mode 100644 vendor/symfony/translation/Exception/UnsupportedSchemeException.php
create mode 100644 vendor/symfony/translation/Extractor/AbstractFileExtractor.php
create mode 100644 vendor/symfony/translation/Extractor/ChainExtractor.php
create mode 100644 vendor/symfony/translation/Extractor/ExtractorInterface.php
create mode 100644 vendor/symfony/translation/Extractor/PhpExtractor.php
create mode 100644 vendor/symfony/translation/Extractor/PhpStringTokenParser.php
create mode 100644 vendor/symfony/translation/Formatter/IntlFormatter.php
create mode 100644 vendor/symfony/translation/Formatter/IntlFormatterInterface.php
create mode 100644 vendor/symfony/translation/Formatter/MessageFormatter.php
create mode 100644 vendor/symfony/translation/Formatter/MessageFormatterInterface.php
create mode 100644 vendor/symfony/translation/IdentityTranslator.php
create mode 100644 vendor/symfony/translation/LICENSE
create mode 100644 vendor/symfony/translation/Loader/ArrayLoader.php
create mode 100644 vendor/symfony/translation/Loader/CsvFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/FileLoader.php
create mode 100644 vendor/symfony/translation/Loader/IcuDatFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/IcuResFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/IniFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/JsonFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/LoaderInterface.php
create mode 100644 vendor/symfony/translation/Loader/MoFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/PhpFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/PoFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/QtFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/XliffFileLoader.php
create mode 100644 vendor/symfony/translation/Loader/YamlFileLoader.php
create mode 100644 vendor/symfony/translation/LoggingTranslator.php
create mode 100644 vendor/symfony/translation/MessageCatalogue.php
create mode 100644 vendor/symfony/translation/MessageCatalogueInterface.php
create mode 100644 vendor/symfony/translation/MetadataAwareInterface.php
create mode 100644 vendor/symfony/translation/Provider/AbstractProviderFactory.php
create mode 100644 vendor/symfony/translation/Provider/Dsn.php
create mode 100644 vendor/symfony/translation/Provider/FilteringProvider.php
create mode 100644 vendor/symfony/translation/Provider/NullProvider.php
create mode 100644 vendor/symfony/translation/Provider/NullProviderFactory.php
create mode 100644 vendor/symfony/translation/Provider/ProviderFactoryInterface.php
create mode 100644 vendor/symfony/translation/Provider/ProviderInterface.php
create mode 100644 vendor/symfony/translation/Provider/TranslationProviderCollection.php
create mode 100644 vendor/symfony/translation/Provider/TranslationProviderCollectionFactory.php
create mode 100644 vendor/symfony/translation/PseudoLocalizationTranslator.php
create mode 100644 vendor/symfony/translation/README.md
create mode 100644 vendor/symfony/translation/Reader/TranslationReader.php
create mode 100644 vendor/symfony/translation/Reader/TranslationReaderInterface.php
create mode 100644 vendor/symfony/translation/Resources/bin/translation-status.php
create mode 100644 vendor/symfony/translation/Resources/data/parents.json
create mode 100644 vendor/symfony/translation/Resources/functions.php
create mode 100644 vendor/symfony/translation/Resources/schemas/xliff-core-1.2-strict.xsd
create mode 100644 vendor/symfony/translation/Resources/schemas/xliff-core-2.0.xsd
create mode 100644 vendor/symfony/translation/Resources/schemas/xml.xsd
create mode 100644 vendor/symfony/translation/Test/ProviderFactoryTestCase.php
create mode 100644 vendor/symfony/translation/Test/ProviderTestCase.php
create mode 100644 vendor/symfony/translation/TranslatableMessage.php
create mode 100644 vendor/symfony/translation/Translator.php
create mode 100644 vendor/symfony/translation/TranslatorBag.php
create mode 100644 vendor/symfony/translation/TranslatorBagInterface.php
create mode 100644 vendor/symfony/translation/Util/ArrayConverter.php
create mode 100644 vendor/symfony/translation/Util/XliffUtils.php
create mode 100644 vendor/symfony/translation/Writer/TranslationWriter.php
create mode 100644 vendor/symfony/translation/Writer/TranslationWriterInterface.php
create mode 100644 vendor/symfony/translation/composer.json
create mode 100644 vendor/tinymce/tinymce/plugins/accordion/index.js
create mode 100644 vendor/tinymce/tinymce/plugins/accordion/plugin.js
create mode 100644 vendor/tinymce/tinymce/plugins/accordion/plugin.min.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ar.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/bg_BG.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ca.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/cs.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/da.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/de.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/el.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/en.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/es.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/eu.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/fa.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/fi.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/fr_FR.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/he_IL.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/hi.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/hr.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/hu_HU.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/id.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/it.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ja.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/kk.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ko_KR.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ms.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/nb_NO.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/nl.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/pl.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/pt_BR.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/pt_PT.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ro.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/ru.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/sk.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/sl_SI.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/sv_SE.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/th_TH.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/tr.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/uk.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/vi.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/zh_CN.js
create mode 100644 vendor/tinymce/tinymce/plugins/help/js/i18n/keynav/zh_TW.js
create mode 100644 vendor/voku/anti-xss/CHANGELOG.md
create mode 100644 vendor/voku/anti-xss/LICENSE
create mode 100644 vendor/voku/anti-xss/README.md
create mode 100644 vendor/voku/anti-xss/build/composer.json
create mode 100644 vendor/voku/anti-xss/build/docs/base.md
create mode 100644 vendor/voku/anti-xss/build/generate_docs.php
create mode 100644 vendor/voku/anti-xss/composer.json
create mode 100644 vendor/voku/anti-xss/src/voku/helper/AntiXSS.php
create mode 100644 vendor/voku/anti-xss/src/voku/helper/data/entities_fallback.php
create mode 100644 vendor/voku/portable-ascii/.whitesource
create mode 100644 vendor/voku/portable-ascii/CHANGELOG.md
create mode 100644 vendor/voku/portable-ascii/LICENSE.txt
create mode 100644 vendor/voku/portable-ascii/README.md
create mode 100644 vendor/voku/portable-ascii/build/composer.json
create mode 100644 vendor/voku/portable-ascii/build/docs/base.md
create mode 100644 vendor/voku/portable-ascii/build/generate_docs.php
create mode 100644 vendor/voku/portable-ascii/build/generate_max_key_length.php
create mode 100644 vendor/voku/portable-ascii/composer.json
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/ASCII.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/ascii_by_languages.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/ascii_extras_by_languages.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/ascii_language_max_key.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/ascii_ord.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x000.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x001.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x002.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x003.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x004.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x005.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x006.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x007.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x009.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x00a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x00b.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x00c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x00d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x00e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x00f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x010.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x011.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x012.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x013.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x014.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x015.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x016.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x017.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x018.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x01d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x01e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x01f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x020.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x021.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x022.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x023.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x024.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x025.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x026.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x027.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x028.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x029.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x02a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x02c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x02e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x02f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x030.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x031.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x032.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x033.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x04d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x04e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x04f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x050.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x051.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x052.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x053.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x054.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x055.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x056.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x057.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x058.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x059.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x05a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x05b.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x05c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x05d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x05e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x05f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x060.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x061.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x062.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x063.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x064.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x065.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x066.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x067.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x068.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x069.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x06a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x06b.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x06c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x06d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x06e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x06f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x070.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x071.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x072.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x073.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x074.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x075.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x076.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x077.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x078.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x079.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x07a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x07b.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x07c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x07d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x07e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x07f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x080.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x081.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x082.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x083.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x084.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x085.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x086.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x087.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x088.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x089.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x08a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x08b.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x08c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x08d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x08e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x08f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x090.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x091.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x092.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x093.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x094.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x095.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x096.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x097.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x098.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x099.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x09a.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x09b.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x09c.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x09d.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x09e.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x09f.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0a0.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0a1.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0a2.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0a3.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0a4.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ac.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ad.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ae.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0af.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b0.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b1.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b2.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b3.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b4.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b5.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b6.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b7.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b8.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0b9.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ba.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0bb.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0bc.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0bd.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0be.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0bf.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c0.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c1.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c2.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c3.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c4.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c5.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c6.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c7.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c8.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0c9.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ca.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0cb.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0cc.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0cd.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ce.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0cf.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d0.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d1.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d2.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d3.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d4.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d5.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d6.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0d7.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0f9.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0fa.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0fb.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0fc.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0fd.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0fe.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x0ff.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x1d4.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x1d5.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x1d6.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x1d7.php
create mode 100644 vendor/voku/portable-ascii/src/voku/helper/data/x1f1.php
create mode 100644 vendor/voku/portable-utf8/CHANGELOG.md
create mode 100644 vendor/voku/portable-utf8/LICENSE-APACHE
create mode 100644 vendor/voku/portable-utf8/LICENSE-GPL
create mode 100644 vendor/voku/portable-utf8/README.md
create mode 100644 vendor/voku/portable-utf8/SECURITY.md
create mode 100644 vendor/voku/portable-utf8/SUMMARY.md
create mode 100644 vendor/voku/portable-utf8/bootstrap.php
create mode 100644 vendor/voku/portable-utf8/composer.json
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/Bootup.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/UTF8.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/caseFolding_full.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/chr.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/emoji.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/encodings.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/ord.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/transliterator_list.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/utf8_fix.php
create mode 100644 vendor/voku/portable-utf8/src/voku/helper/data/win1252_to_utf8.php
create mode 100644 vendor/webklex/php-imap/.github/FUNDING.yml
create mode 100644 vendor/webklex/php-imap/.github/ISSUE_TEMPLATE/bug_report.md
create mode 100644 vendor/webklex/php-imap/.github/ISSUE_TEMPLATE/feature_request.md
create mode 100644 vendor/webklex/php-imap/.github/ISSUE_TEMPLATE/general-help-request.md
create mode 100644 vendor/webklex/php-imap/.gitignore
create mode 100644 vendor/webklex/php-imap/.travis.yml
create mode 100755 vendor/webklex/php-imap/CHANGELOG.md
create mode 100644 vendor/webklex/php-imap/CODE_OF_CONDUCT.md
create mode 100644 vendor/webklex/php-imap/LICENSE
create mode 100644 vendor/webklex/php-imap/LICENSE.md
create mode 100755 vendor/webklex/php-imap/README.md
create mode 100644 vendor/webklex/php-imap/_config.yml
create mode 100644 vendor/webklex/php-imap/composer.json
create mode 100644 vendor/webklex/php-imap/examples/custom_attachment_mask.php
create mode 100644 vendor/webklex/php-imap/examples/custom_message_mask.php
create mode 100644 vendor/webklex/php-imap/examples/folder_structure.blade.php
create mode 100644 vendor/webklex/php-imap/examples/message_table.blade.php
create mode 100644 vendor/webklex/php-imap/phpunit.xml
create mode 100644 vendor/webklex/php-imap/src/Address.php
create mode 100755 vendor/webklex/php-imap/src/Attachment.php
create mode 100644 vendor/webklex/php-imap/src/Attribute.php
create mode 100755 vendor/webklex/php-imap/src/Client.php
create mode 100644 vendor/webklex/php-imap/src/ClientManager.php
create mode 100644 vendor/webklex/php-imap/src/Connection/Protocols/ImapProtocol.php
create mode 100644 vendor/webklex/php-imap/src/Connection/Protocols/LegacyProtocol.php
create mode 100644 vendor/webklex/php-imap/src/Connection/Protocols/Protocol.php
create mode 100644 vendor/webklex/php-imap/src/Connection/Protocols/ProtocolInterface.php
create mode 100644 vendor/webklex/php-imap/src/EncodingAliases.php
create mode 100644 vendor/webklex/php-imap/src/Events/Event.php
create mode 100644 vendor/webklex/php-imap/src/Events/FlagDeletedEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/FlagNewEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/FolderDeletedEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/FolderMovedEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/FolderNewEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/MessageCopiedEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/MessageDeletedEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/MessageMovedEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/MessageNewEvent.php
create mode 100644 vendor/webklex/php-imap/src/Events/MessageRestoredEvent.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/AuthFailedException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/ConnectionFailedException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/EventNotFoundException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/FolderFetchingException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/GetMessagesFailedException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/InvalidMessageDateException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/InvalidWhereQueryCriteriaException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MaskNotFoundException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MessageContentFetchingException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MessageFlagException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MessageHeaderFetchingException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MessageNotFoundException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MessageSearchValidationException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MethodNotFoundException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/MethodNotSupportedException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/NotSupportedCapabilityException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/ProtocolNotSupportedException.php
create mode 100644 vendor/webklex/php-imap/src/Exceptions/RuntimeException.php
create mode 100755 vendor/webklex/php-imap/src/Folder.php
create mode 100644 vendor/webklex/php-imap/src/Header.php
create mode 100644 vendor/webklex/php-imap/src/IMAP.php
create mode 100755 vendor/webklex/php-imap/src/Message.php
create mode 100644 vendor/webklex/php-imap/src/Part.php
create mode 100644 vendor/webklex/php-imap/src/Query/Query.php
create mode 100755 vendor/webklex/php-imap/src/Query/WhereQuery.php
create mode 100644 vendor/webklex/php-imap/src/Structure.php
create mode 100644 vendor/webklex/php-imap/src/Support/AttachmentCollection.php
create mode 100644 vendor/webklex/php-imap/src/Support/FlagCollection.php
create mode 100644 vendor/webklex/php-imap/src/Support/FolderCollection.php
create mode 100644 vendor/webklex/php-imap/src/Support/Masks/AttachmentMask.php
create mode 100755 vendor/webklex/php-imap/src/Support/Masks/Mask.php
create mode 100644 vendor/webklex/php-imap/src/Support/Masks/MessageMask.php
create mode 100644 vendor/webklex/php-imap/src/Support/MessageCollection.php
create mode 100644 vendor/webklex/php-imap/src/Support/PaginatedCollection.php
create mode 100644 vendor/webklex/php-imap/src/Traits/HasEvents.php
create mode 100644 vendor/webklex/php-imap/src/config/imap.php
create mode 100644 vendor/webklex/php-imap/tests/InitialTest.php
diff --git a/composer.json b/composer.json
index 75c218a..478de83 100644
--- a/composer.json
+++ b/composer.json
@@ -9,7 +9,8 @@
"require": {
"tinymce/tinymce": "*",
"phpmailer/phpmailer": "dev-master",
- "webklex/php-imap": "^4.1"
+ "webklex/php-imap": "^4.1",
+ "phpoffice/phpspreadsheet": "dev-master"
},
"minimum-stability": "dev"
}
diff --git a/composer.lock b/composer.lock
index bc6392a..ce3ccb9 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "f05155f56696cab73e4da7f772d9cc96",
+ "content-hash": "72b352d0dd8de809a4596cf92be7dab3",
"packages": [
{
"name": "doctrine/inflector",
@@ -363,6 +363,256 @@
},
"time": "2023-06-11T21:11:10+00:00"
},
+ {
+ "name": "maennchen/zipstream-php",
+ "version": "v2.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/maennchen/ZipStream-PHP.git",
+ "reference": "620c2aab9d4f109aef4949049cc909c24479f8e0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/620c2aab9d4f109aef4949049cc909c24479f8e0",
+ "reference": "620c2aab9d4f109aef4949049cc909c24479f8e0",
+ "shasum": ""
+ },
+ "require": {
+ "ext-mbstring": "*",
+ "myclabs/php-enum": "^1.5",
+ "php": "^8.0",
+ "psr/http-message": "^1.0"
+ },
+ "require-dev": {
+ "ext-zip": "*",
+ "friendsofphp/php-cs-fixer": "^3.9",
+ "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",
+ "mikey179/vfsstream": "^1.6",
+ "php-coveralls/php-coveralls": "^2.4",
+ "phpunit/phpunit": "^8.5.8 || ^9.4.2",
+ "vimeo/psalm": "^5.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "ZipStream\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Paul Duncan",
+ "email": "pabs@pablotron.org"
+ },
+ {
+ "name": "Jonatan Männchen",
+ "email": "jonatan@maennchen.ch"
+ },
+ {
+ "name": "Jesse Donat",
+ "email": "donatj@gmail.com"
+ },
+ {
+ "name": "András Kolesár",
+ "email": "kolesar@kolesar.hu"
+ }
+ ],
+ "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.",
+ "keywords": [
+ "stream",
+ "zip"
+ ],
+ "support": {
+ "issues": "https://github.com/maennchen/ZipStream-PHP/issues",
+ "source": "https://github.com/maennchen/ZipStream-PHP/tree/v2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/maennchen",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/zipstream",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2023-04-19T20:02:44+00:00"
+ },
+ {
+ "name": "markbaker/complex",
+ "version": "3.0.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/MarkBaker/PHPComplex.git",
+ "reference": "95c56caa1cf5c766ad6d65b6344b807c1e8405b9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/95c56caa1cf5c766ad6d65b6344b807c1e8405b9",
+ "reference": "95c56caa1cf5c766ad6d65b6344b807c1e8405b9",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "squizlabs/php_codesniffer": "^3.7"
+ },
+ "default-branch": true,
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Complex\\": "classes/src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Mark Baker",
+ "email": "mark@lange.demon.co.uk"
+ }
+ ],
+ "description": "PHP Class for working with complex numbers",
+ "homepage": "https://github.com/MarkBaker/PHPComplex",
+ "keywords": [
+ "complex",
+ "mathematics"
+ ],
+ "support": {
+ "issues": "https://github.com/MarkBaker/PHPComplex/issues",
+ "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.2"
+ },
+ "time": "2022-12-06T16:21:08+00:00"
+ },
+ {
+ "name": "markbaker/matrix",
+ "version": "3.0.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/MarkBaker/PHPMatrix.git",
+ "reference": "728434227fe21be27ff6d86621a1b13107a2562c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/728434227fe21be27ff6d86621a1b13107a2562c",
+ "reference": "728434227fe21be27ff6d86621a1b13107a2562c",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpdocumentor/phpdocumentor": "2.*",
+ "phploc/phploc": "^4.0",
+ "phpmd/phpmd": "2.*",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "sebastian/phpcpd": "^4.0",
+ "squizlabs/php_codesniffer": "^3.7"
+ },
+ "default-branch": true,
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Matrix\\": "classes/src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Mark Baker",
+ "email": "mark@demon-angel.eu"
+ }
+ ],
+ "description": "PHP Class for working with matrices",
+ "homepage": "https://github.com/MarkBaker/PHPMatrix",
+ "keywords": [
+ "mathematics",
+ "matrix",
+ "vector"
+ ],
+ "support": {
+ "issues": "https://github.com/MarkBaker/PHPMatrix/issues",
+ "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.1"
+ },
+ "time": "2022-12-02T22:17:43+00:00"
+ },
+ {
+ "name": "myclabs/php-enum",
+ "version": "1.8.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/myclabs/php-enum.git",
+ "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/myclabs/php-enum/zipball/a867478eae49c9f59ece437ae7f9506bfaa27483",
+ "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.3 || ^8.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.5",
+ "squizlabs/php_codesniffer": "1.*",
+ "vimeo/psalm": "^4.6.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "MyCLabs\\Enum\\": "src/"
+ },
+ "classmap": [
+ "stubs/Stringable.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP Enum contributors",
+ "homepage": "https://github.com/myclabs/php-enum/graphs/contributors"
+ }
+ ],
+ "description": "PHP Enum implementation",
+ "homepage": "http://github.com/myclabs/php-enum",
+ "keywords": [
+ "enum"
+ ],
+ "support": {
+ "issues": "https://github.com/myclabs/php-enum/issues",
+ "source": "https://github.com/myclabs/php-enum/tree/1.8.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/mnapoli",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-08-04T09:53:51+00:00"
+ },
{
"name": "nesbot/carbon",
"version": "dev-master",
@@ -551,6 +801,112 @@
],
"time": "2023-10-09T11:27:29+00:00"
},
+ {
+ "name": "phpoffice/phpspreadsheet",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/PHPOffice/PhpSpreadsheet.git",
+ "reference": "a17a56b6e01dad0c04e2bfc7ddf5038240a6facf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/a17a56b6e01dad0c04e2bfc7ddf5038240a6facf",
+ "reference": "a17a56b6e01dad0c04e2bfc7ddf5038240a6facf",
+ "shasum": ""
+ },
+ "require": {
+ "ext-ctype": "*",
+ "ext-dom": "*",
+ "ext-fileinfo": "*",
+ "ext-gd": "*",
+ "ext-iconv": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-simplexml": "*",
+ "ext-xml": "*",
+ "ext-xmlreader": "*",
+ "ext-xmlwriter": "*",
+ "ext-zip": "*",
+ "ext-zlib": "*",
+ "maennchen/zipstream-php": "^2.1 || ^3.0",
+ "markbaker/complex": "^3.0",
+ "markbaker/matrix": "^3.0",
+ "php": "^8.0",
+ "psr/http-client": "^1.0",
+ "psr/http-factory": "^1.0",
+ "psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
+ "voku/anti-xss": "^4.1"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-main",
+ "dompdf/dompdf": "^2.0",
+ "friendsofphp/php-cs-fixer": "^3.2",
+ "mitoteam/jpgraph": "^10.3",
+ "mpdf/mpdf": "^8.1.1",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpstan/phpstan": "^1.1",
+ "phpstan/phpstan-phpunit": "^1.0",
+ "phpunit/phpunit": "^9.6",
+ "squizlabs/php_codesniffer": "^3.7",
+ "tecnickcom/tcpdf": "^6.5"
+ },
+ "suggest": {
+ "dompdf/dompdf": "Option for rendering PDF with PDF Writer",
+ "ext-intl": "PHP Internationalization Functions",
+ "mitoteam/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers",
+ "mpdf/mpdf": "Option for rendering PDF with PDF Writer",
+ "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer"
+ },
+ "default-branch": true,
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Maarten Balliauw",
+ "homepage": "https://blog.maartenballiauw.be"
+ },
+ {
+ "name": "Mark Baker",
+ "homepage": "https://markbakeruk.net"
+ },
+ {
+ "name": "Franck Lefevre",
+ "homepage": "https://rootslabs.net"
+ },
+ {
+ "name": "Erik Tilt"
+ },
+ {
+ "name": "Adrien Crivelli"
+ }
+ ],
+ "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine",
+ "homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
+ "keywords": [
+ "OpenXML",
+ "excel",
+ "gnumeric",
+ "ods",
+ "php",
+ "spreadsheet",
+ "xls",
+ "xlsx"
+ ],
+ "support": {
+ "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues",
+ "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/master"
+ },
+ "time": "2023-12-26T15:40:38+00:00"
+ },
{
"name": "psr/clock",
"version": "1.0.0",
@@ -647,6 +1003,168 @@
},
"time": "2021-11-05T16:50:12+00:00"
},
+ {
+ "name": "psr/http-client",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-client.git",
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.0 || ^8.0",
+ "psr/http-message": "^1.0 || ^2.0"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP clients",
+ "homepage": "https://github.com/php-fig/http-client",
+ "keywords": [
+ "http",
+ "http-client",
+ "psr",
+ "psr-18"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-client"
+ },
+ "time": "2023-09-23T14:17:50+00:00"
+ },
+ {
+ "name": "psr/http-factory",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-factory.git",
+ "reference": "7037f4b0950474e9d1350e8df89b15f1842085f6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-factory/zipball/7037f4b0950474e9d1350e8df89b15f1842085f6",
+ "reference": "7037f4b0950474e9d1350e8df89b15f1842085f6",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "psr/http-message": "^1.0 || ^2.0"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
+ "keywords": [
+ "factory",
+ "http",
+ "message",
+ "psr",
+ "psr-17",
+ "psr-7",
+ "request",
+ "response"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-factory"
+ },
+ "time": "2023-09-22T11:16:44+00:00"
+ },
+ {
+ "name": "psr/http-message",
+ "version": "1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-message.git",
+ "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
+ "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP messages",
+ "homepage": "https://github.com/php-fig/http-message",
+ "keywords": [
+ "http",
+ "http-message",
+ "psr",
+ "psr-7",
+ "request",
+ "response"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-message/tree/1.1"
+ },
+ "time": "2023-04-04T09:50:52+00:00"
+ },
{
"name": "psr/simple-cache",
"version": "1.0.1",
@@ -841,6 +1359,257 @@
],
"time": "2023-08-21T07:23:18+00:00"
},
+ {
+ "name": "symfony/polyfill-iconv",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-iconv.git",
+ "reference": "6de50471469b8c9afc38164452ab2b6170ee71c1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/6de50471469b8c9afc38164452ab2b6170ee71c1",
+ "reference": "6de50471469b8c9afc38164452ab2b6170ee71c1",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-iconv": "*"
+ },
+ "suggest": {
+ "ext-iconv": "For best performance"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Iconv\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Iconv extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "iconv",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-01-26T09:26:14+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-grapheme",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
+ "reference": "875e90aeea2777b6f135677f618529449334a612"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612",
+ "reference": "875e90aeea2777b6f135677f618529449334a612",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's grapheme_* functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "grapheme",
+ "intl",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-01-26T09:26:14+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-normalizer",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
+ "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92",
+ "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's Normalizer class and related functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "intl",
+ "normalizer",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-01-26T09:26:14+00:00"
+ },
{
"name": "symfony/polyfill-mbstring",
"version": "1.x-dev",
@@ -925,6 +1694,83 @@
],
"time": "2023-07-28T09:04:16+00:00"
},
+ {
+ "name": "symfony/polyfill-php72",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php72.git",
+ "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179",
+ "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php72\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-01-26T09:26:14+00:00"
+ },
{
"name": "symfony/polyfill-php80",
"version": "1.x-dev",
@@ -1244,6 +2090,89 @@
},
"time": "2023-08-30T11:10:35+00:00"
},
+ {
+ "name": "voku/anti-xss",
+ "version": "4.1.35",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/anti-xss.git",
+ "reference": "4d7ec2816cd6eeebb7d5abbde8b0349f66709496"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/anti-xss/zipball/4d7ec2816cd6eeebb7d5abbde8b0349f66709496",
+ "reference": "4d7ec2816cd6eeebb7d5abbde8b0349f66709496",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "voku/portable-utf8": "~6.0.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "voku\\helper\\": "src/voku/helper/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "EllisLab Dev Team",
+ "homepage": "http://ellislab.com/"
+ },
+ {
+ "name": "Lars Moelleken",
+ "email": "lars@moelleken.org",
+ "homepage": "https://www.moelleken.org/"
+ }
+ ],
+ "description": "anti xss-library",
+ "homepage": "https://github.com/voku/anti-xss",
+ "keywords": [
+ "anti-xss",
+ "clean",
+ "security",
+ "xss"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/anti-xss/issues",
+ "source": "https://github.com/voku/anti-xss/tree/4.1.35"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/anti-xss",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/anti-xss",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-12-08T15:20:33+00:00"
+ },
{
"name": "voku/portable-ascii",
"version": "1.6.1",
@@ -1318,6 +2247,105 @@
],
"time": "2022-01-24T18:55:24+00:00"
},
+ {
+ "name": "voku/portable-utf8",
+ "version": "6.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/portable-utf8.git",
+ "reference": "e4365df3f7b63f9e57e1015f6c3ceec19c169f7a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/portable-utf8/zipball/e4365df3f7b63f9e57e1015f6c3ceec19c169f7a",
+ "reference": "e4365df3f7b63f9e57e1015f6c3ceec19c169f7a",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "symfony/polyfill-iconv": "~1.0",
+ "symfony/polyfill-intl-grapheme": "~1.0",
+ "symfony/polyfill-intl-normalizer": "~1.0",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php72": "~1.0",
+ "voku/portable-ascii": "~1.6.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "suggest": {
+ "ext-ctype": "Use Ctype for e.g. hexadecimal digit detection",
+ "ext-fileinfo": "Use Fileinfo for better binary file detection",
+ "ext-iconv": "Use iconv for best performance",
+ "ext-intl": "Use Intl for best performance",
+ "ext-json": "Use JSON for string detection",
+ "ext-mbstring": "Use Mbstring for best performance"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "voku\\": "src/voku/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "(Apache-2.0 or GPL-2.0)"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Hamid Sarfraz",
+ "homepage": "http://pageconfig.com/"
+ },
+ {
+ "name": "Lars Moelleken",
+ "homepage": "http://www.moelleken.org/"
+ }
+ ],
+ "description": "Portable UTF-8 library - performance optimized (unicode) string functions for php.",
+ "homepage": "https://github.com/voku/portable-utf8",
+ "keywords": [
+ "UTF",
+ "clean",
+ "php",
+ "unicode",
+ "utf-8",
+ "utf8"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/portable-utf8/issues",
+ "source": "https://github.com/voku/portable-utf8/tree/6.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/portable-utf8",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-utf8",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-24T09:49:08+00:00"
+ },
{
"name": "webklex/php-imap",
"version": "4.1.2",
diff --git a/conf/internalpages.conf b/conf/internalpages.conf
index 67e1a2d..6d13141 100644
--- a/conf/internalpages.conf
+++ b/conf/internalpages.conf
@@ -13,6 +13,7 @@
"logout": "",
"savemail": "Ideenboard",
"planboard": "",
- "projectsmanagement": "Förderprojekte"
+ "projectsmanagement": "Förderprojekte",
+ "memberlistdownload": "Download der Mitgliederlist"
}
diff --git a/include/memberlistdownload.php b/include/memberlistdownload.php
new file mode 100644
index 0000000..2c3d79a
--- /dev/null
+++ b/include/memberlistdownload.php
@@ -0,0 +1,64 @@
+loadMembers();
+ $spreadsheet = new Spreadsheet();
+ $sheet = $spreadsheet->getActiveSheet();
+ $columnHeaders = [];
+ $sheet->fromArray([$columnHeaders], null, 'A1');
+ $sheet->fromArray($dataArray, null, 'A2');
+ $writer = new Xlsx($spreadsheet);
+ header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
+ header('Content-Disposition: attachment;filename="excel_file.xlsx"');
+ header('Cache-Control: max-age=0');
+ $writer->save('php://output');
+ }
+
+ private function loadMembers(): array {
+ $query = <<dbConnection, $query);
+ $result = [];
+ while ($row = mysqli_fetch_assoc($result)) {
+ $result[] = [
+ 'first_name' => $this->decode($row['first_name'], $row['salt']),
+ 'last_name' => $this->decode($row['last_name'], $row['salt']),
+ 'street' => $this->decode($row['street'], $row['salt']),
+ 'zip' => $this->decode($row['zip'], $row['salt']),
+ 'town' => $this->decode($row['town'], $row['salt']),
+ 'birthdate' => $this->decode($row['birthdate'], $row['salt']),
+ 'phone' => $this->decode($row['phone'], $row['salt']),
+ 'email' => $this->decode($row['email'], $row['salt']),
+ 'child_name' => $this->decode($row['child_name'], $row['salt']),
+ 'child_street' => $this->decode($row['child_street'], $row['salt']),
+ 'subscription' => $this->decode($row['subscription'], $row['salt']),
+ 'iban' => $this->decode($row['iban'], $row['salt']),
+ 'bank_name' => $this->decode($row['bank_name'], $row['salt']),
+ 'bic' => $this->decode($row['bic'], $row['salt']),
+ 'account_member_name' => $this->decode($row['account_member_name'], $row['salt']),
+ 'membership_status' => $row['membership_status'],
+ 'membership_start' => $row['membership_start'],
+ 'status_text' => $row['status_text'],
+ 'last_payment' => $row['last_payment'],
+ 'description' => $row['description'],
+ ];
+ }
+ return $result;
+ }
+}
diff --git a/templates/imprint.html b/templates/imprint.html
index c1d8cac..89dc7e8 100644
--- a/templates/imprint.html
+++ b/templates/imprint.html
@@ -3,10 +3,10 @@ Harheimer Weg 16
60437 Frankfurt am Main (Bonames)
Email: foerderverein-AJS@gmx.de
Tel: xxx-xxxxxxx
-Vorstand
+Geschäftsführender Vorstand
Vorsitzender: Lucas Fastabend
- Kassenwartin: Alexandra Grabmann
+ Kassenwartin: Peter Werner
Schriftführer: Torsten Schulz
Amtliche Informationen
diff --git a/templates/members.html b/templates/members.html
index 872e914..73e026d 100644
--- a/templates/members.html
+++ b/templates/members.html
@@ -13,3 +13,4 @@
{{memberlist}}
+Mitgliederliste als Excel herunterladen
diff --git a/vendor/bin/carbon b/vendor/bin/carbon
new file mode 100755
index 0000000..86fbfdf
--- /dev/null
+++ b/vendor/bin/carbon
@@ -0,0 +1,119 @@
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (
+ (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
+ || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
+ ) {
+ return include("phpvfscomposer://" . __DIR__ . '/..'.'/nesbot/carbon/bin/carbon');
+ }
+}
+
+return include __DIR__ . '/..'.'/nesbot/carbon/bin/carbon';
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 5490b88..3d9765b 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -8,8 +8,9 @@ $baseDir = dirname($vendorDir);
return array(
'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
+ 'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
'PhpToken' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
- 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
+ 'Stringable' => $vendorDir . '/myclabs/php-enum/stubs/Stringable.php',
'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
);
diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php
new file mode 100644
index 0000000..5c812ea
--- /dev/null
+++ b/vendor/composer/autoload_files.php
@@ -0,0 +1,20 @@
+ $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
+ 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
+ '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
+ '60799491728b879e74601d83e38b2cad' => $vendorDir . '/illuminate/collections/helpers.php',
+ 'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
+ 'def43f6c87e4f8dfd0c9e1b1bab14fe8' => $vendorDir . '/symfony/polyfill-iconv/bootstrap.php',
+ '8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php',
+ 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
+ '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
+ '72579e7bd17821bb1321b87411366eae' => $vendorDir . '/illuminate/support/helpers.php',
+ 'b46ad4fe52f4d1899a2951c7e6ea56b0' => $vendorDir . '/voku/portable-utf8/bootstrap.php',
+);
diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php
index a9966aa..536fa0a 100644
--- a/vendor/composer/autoload_psr4.php
+++ b/vendor/composer/autoload_psr4.php
@@ -6,20 +6,32 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
- 'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'),
+ 'voku\\helper\\' => array($vendorDir . '/voku/anti-xss/src/voku/helper'),
+ 'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku', $vendorDir . '/voku/portable-utf8/src/voku'),
+ 'ZipStream\\' => array($vendorDir . '/maennchen/zipstream-php/src'),
'Webklex\\PHPIMAP\\' => array($vendorDir . '/webklex/php-imap/src'),
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
+ 'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
+ 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
+ 'Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'),
+ 'Symfony\\Polyfill\\Iconv\\' => array($vendorDir . '/symfony/polyfill-iconv'),
'Symfony\\Contracts\\Translation\\' => array($vendorDir . '/symfony/translation-contracts'),
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'),
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
+ 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'),
+ 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
'Psr\\Clock\\' => array($vendorDir . '/psr/clock/src'),
+ 'PhpOffice\\PhpSpreadsheet\\' => array($vendorDir . '/phpoffice/phpspreadsheet/src/PhpSpreadsheet'),
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
- 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/macroable', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/support'),
+ 'MyCLabs\\Enum\\' => array($vendorDir . '/myclabs/php-enum/src'),
+ 'Matrix\\' => array($vendorDir . '/markbaker/matrix/classes/src'),
+ 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/macroable', $vendorDir . '/illuminate/support'),
'Illuminate\\Pagination\\' => array($vendorDir . '/illuminate/pagination'),
'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'),
'Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'),
+ 'Complex\\' => array($vendorDir . '/markbaker/complex/classes/src'),
'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'),
);
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index 85166ea..7a3def4 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -12,14 +12,24 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
'60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php',
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
+ 'def43f6c87e4f8dfd0c9e1b1bab14fe8' => __DIR__ . '/..' . '/symfony/polyfill-iconv/bootstrap.php',
+ '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php',
+ 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
+ '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
'72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php',
+ 'b46ad4fe52f4d1899a2951c7e6ea56b0' => __DIR__ . '/..' . '/voku/portable-utf8/bootstrap.php',
);
public static $prefixLengthsPsr4 = array (
'v' =>
array (
+ 'voku\\helper\\' => 12,
'voku\\' => 5,
),
+ 'Z' =>
+ array (
+ 'ZipStream\\' => 10,
+ ),
'W' =>
array (
'Webklex\\PHPIMAP\\' => 16,
@@ -27,7 +37,11 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
'S' =>
array (
'Symfony\\Polyfill\\Php80\\' => 23,
+ 'Symfony\\Polyfill\\Php72\\' => 23,
'Symfony\\Polyfill\\Mbstring\\' => 26,
+ 'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
+ 'Symfony\\Polyfill\\Intl\\Grapheme\\' => 31,
+ 'Symfony\\Polyfill\\Iconv\\' => 23,
'Symfony\\Contracts\\Translation\\' => 30,
'Symfony\\Component\\Translation\\' => 30,
'Symfony\\Component\\HttpFoundation\\' => 33,
@@ -35,10 +49,18 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
'P' =>
array (
'Psr\\SimpleCache\\' => 16,
+ 'Psr\\Http\\Message\\' => 17,
+ 'Psr\\Http\\Client\\' => 16,
'Psr\\Container\\' => 14,
'Psr\\Clock\\' => 10,
+ 'PhpOffice\\PhpSpreadsheet\\' => 25,
'PHPMailer\\PHPMailer\\' => 20,
),
+ 'M' =>
+ array (
+ 'MyCLabs\\Enum\\' => 13,
+ 'Matrix\\' => 7,
+ ),
'I' =>
array (
'Illuminate\\Support\\' => 19,
@@ -51,14 +73,24 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
),
'C' =>
array (
+ 'Complex\\' => 8,
'Carbon\\' => 7,
),
);
public static $prefixDirsPsr4 = array (
+ 'voku\\helper\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/voku/anti-xss/src/voku/helper',
+ ),
'voku\\' =>
array (
0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku',
+ 1 => __DIR__ . '/..' . '/voku/portable-utf8/src/voku',
+ ),
+ 'ZipStream\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/maennchen/zipstream-php/src',
),
'Webklex\\PHPIMAP\\' =>
array (
@@ -68,10 +100,26 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
),
+ 'Symfony\\Polyfill\\Php72\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-php72',
+ ),
'Symfony\\Polyfill\\Mbstring\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
),
+ 'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
+ ),
+ 'Symfony\\Polyfill\\Intl\\Grapheme\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme',
+ ),
+ 'Symfony\\Polyfill\\Iconv\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-iconv',
+ ),
'Symfony\\Contracts\\Translation\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/translation-contracts',
@@ -88,6 +136,15 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
array (
0 => __DIR__ . '/..' . '/psr/simple-cache/src',
),
+ 'Psr\\Http\\Message\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/http-factory/src',
+ 1 => __DIR__ . '/..' . '/psr/http-message/src',
+ ),
+ 'Psr\\Http\\Client\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/http-client/src',
+ ),
'Psr\\Container\\' =>
array (
0 => __DIR__ . '/..' . '/psr/container/src',
@@ -96,14 +153,26 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
array (
0 => __DIR__ . '/..' . '/psr/clock/src',
),
+ 'PhpOffice\\PhpSpreadsheet\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/phpoffice/phpspreadsheet/src/PhpSpreadsheet',
+ ),
'PHPMailer\\PHPMailer\\' =>
array (
0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src',
),
+ 'MyCLabs\\Enum\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/myclabs/php-enum/src',
+ ),
+ 'Matrix\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/markbaker/matrix/classes/src',
+ ),
'Illuminate\\Support\\' =>
array (
- 0 => __DIR__ . '/..' . '/illuminate/macroable',
- 1 => __DIR__ . '/..' . '/illuminate/collections',
+ 0 => __DIR__ . '/..' . '/illuminate/collections',
+ 1 => __DIR__ . '/..' . '/illuminate/macroable',
2 => __DIR__ . '/..' . '/illuminate/support',
),
'Illuminate\\Pagination\\' =>
@@ -118,6 +187,10 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
array (
0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector',
),
+ 'Complex\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/markbaker/complex/classes/src',
+ ),
'Carbon\\' =>
array (
0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon',
@@ -127,8 +200,9 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
public static $classMap = array (
'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
+ 'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
- 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
+ 'Stringable' => __DIR__ . '/..' . '/myclabs/php-enum/stubs/Stringable.php',
'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
);
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index d271251..cf95cd1 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -375,6 +375,268 @@
},
"install-path": "../illuminate/support"
},
+ {
+ "name": "maennchen/zipstream-php",
+ "version": "v2.x-dev",
+ "version_normalized": "2.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/maennchen/ZipStream-PHP.git",
+ "reference": "620c2aab9d4f109aef4949049cc909c24479f8e0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/620c2aab9d4f109aef4949049cc909c24479f8e0",
+ "reference": "620c2aab9d4f109aef4949049cc909c24479f8e0",
+ "shasum": ""
+ },
+ "require": {
+ "ext-mbstring": "*",
+ "myclabs/php-enum": "^1.5",
+ "php": "^8.0",
+ "psr/http-message": "^1.0"
+ },
+ "require-dev": {
+ "ext-zip": "*",
+ "friendsofphp/php-cs-fixer": "^3.9",
+ "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",
+ "mikey179/vfsstream": "^1.6",
+ "php-coveralls/php-coveralls": "^2.4",
+ "phpunit/phpunit": "^8.5.8 || ^9.4.2",
+ "vimeo/psalm": "^5.0"
+ },
+ "time": "2023-04-19T20:02:44+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "ZipStream\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Paul Duncan",
+ "email": "pabs@pablotron.org"
+ },
+ {
+ "name": "Jonatan Männchen",
+ "email": "jonatan@maennchen.ch"
+ },
+ {
+ "name": "Jesse Donat",
+ "email": "donatj@gmail.com"
+ },
+ {
+ "name": "András Kolesár",
+ "email": "kolesar@kolesar.hu"
+ }
+ ],
+ "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.",
+ "keywords": [
+ "stream",
+ "zip"
+ ],
+ "support": {
+ "issues": "https://github.com/maennchen/ZipStream-PHP/issues",
+ "source": "https://github.com/maennchen/ZipStream-PHP/tree/v2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/maennchen",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/zipstream",
+ "type": "open_collective"
+ }
+ ],
+ "install-path": "../maennchen/zipstream-php"
+ },
+ {
+ "name": "markbaker/complex",
+ "version": "3.0.x-dev",
+ "version_normalized": "3.0.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/MarkBaker/PHPComplex.git",
+ "reference": "95c56caa1cf5c766ad6d65b6344b807c1e8405b9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/95c56caa1cf5c766ad6d65b6344b807c1e8405b9",
+ "reference": "95c56caa1cf5c766ad6d65b6344b807c1e8405b9",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "squizlabs/php_codesniffer": "^3.7"
+ },
+ "time": "2022-12-06T16:21:08+00:00",
+ "default-branch": true,
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Complex\\": "classes/src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Mark Baker",
+ "email": "mark@lange.demon.co.uk"
+ }
+ ],
+ "description": "PHP Class for working with complex numbers",
+ "homepage": "https://github.com/MarkBaker/PHPComplex",
+ "keywords": [
+ "complex",
+ "mathematics"
+ ],
+ "support": {
+ "issues": "https://github.com/MarkBaker/PHPComplex/issues",
+ "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.2"
+ },
+ "install-path": "../markbaker/complex"
+ },
+ {
+ "name": "markbaker/matrix",
+ "version": "3.0.x-dev",
+ "version_normalized": "3.0.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/MarkBaker/PHPMatrix.git",
+ "reference": "728434227fe21be27ff6d86621a1b13107a2562c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/728434227fe21be27ff6d86621a1b13107a2562c",
+ "reference": "728434227fe21be27ff6d86621a1b13107a2562c",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpdocumentor/phpdocumentor": "2.*",
+ "phploc/phploc": "^4.0",
+ "phpmd/phpmd": "2.*",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "sebastian/phpcpd": "^4.0",
+ "squizlabs/php_codesniffer": "^3.7"
+ },
+ "time": "2022-12-02T22:17:43+00:00",
+ "default-branch": true,
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Matrix\\": "classes/src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Mark Baker",
+ "email": "mark@demon-angel.eu"
+ }
+ ],
+ "description": "PHP Class for working with matrices",
+ "homepage": "https://github.com/MarkBaker/PHPMatrix",
+ "keywords": [
+ "mathematics",
+ "matrix",
+ "vector"
+ ],
+ "support": {
+ "issues": "https://github.com/MarkBaker/PHPMatrix/issues",
+ "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.1"
+ },
+ "install-path": "../markbaker/matrix"
+ },
+ {
+ "name": "myclabs/php-enum",
+ "version": "1.8.4",
+ "version_normalized": "1.8.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/myclabs/php-enum.git",
+ "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/myclabs/php-enum/zipball/a867478eae49c9f59ece437ae7f9506bfaa27483",
+ "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.3 || ^8.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.5",
+ "squizlabs/php_codesniffer": "1.*",
+ "vimeo/psalm": "^4.6.2"
+ },
+ "time": "2022-08-04T09:53:51+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "MyCLabs\\Enum\\": "src/"
+ },
+ "classmap": [
+ "stubs/Stringable.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP Enum contributors",
+ "homepage": "https://github.com/myclabs/php-enum/graphs/contributors"
+ }
+ ],
+ "description": "PHP Enum implementation",
+ "homepage": "http://github.com/myclabs/php-enum",
+ "keywords": [
+ "enum"
+ ],
+ "support": {
+ "issues": "https://github.com/myclabs/php-enum/issues",
+ "source": "https://github.com/myclabs/php-enum/tree/1.8.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/mnapoli",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../myclabs/php-enum"
+ },
{
"name": "nesbot/carbon",
"version": "dev-master",
@@ -569,6 +831,115 @@
],
"install-path": "../phpmailer/phpmailer"
},
+ {
+ "name": "phpoffice/phpspreadsheet",
+ "version": "dev-master",
+ "version_normalized": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/PHPOffice/PhpSpreadsheet.git",
+ "reference": "a17a56b6e01dad0c04e2bfc7ddf5038240a6facf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/a17a56b6e01dad0c04e2bfc7ddf5038240a6facf",
+ "reference": "a17a56b6e01dad0c04e2bfc7ddf5038240a6facf",
+ "shasum": ""
+ },
+ "require": {
+ "ext-ctype": "*",
+ "ext-dom": "*",
+ "ext-fileinfo": "*",
+ "ext-gd": "*",
+ "ext-iconv": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-simplexml": "*",
+ "ext-xml": "*",
+ "ext-xmlreader": "*",
+ "ext-xmlwriter": "*",
+ "ext-zip": "*",
+ "ext-zlib": "*",
+ "maennchen/zipstream-php": "^2.1 || ^3.0",
+ "markbaker/complex": "^3.0",
+ "markbaker/matrix": "^3.0",
+ "php": "^8.0",
+ "psr/http-client": "^1.0",
+ "psr/http-factory": "^1.0",
+ "psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
+ "voku/anti-xss": "^4.1"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-main",
+ "dompdf/dompdf": "^2.0",
+ "friendsofphp/php-cs-fixer": "^3.2",
+ "mitoteam/jpgraph": "^10.3",
+ "mpdf/mpdf": "^8.1.1",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpstan/phpstan": "^1.1",
+ "phpstan/phpstan-phpunit": "^1.0",
+ "phpunit/phpunit": "^9.6",
+ "squizlabs/php_codesniffer": "^3.7",
+ "tecnickcom/tcpdf": "^6.5"
+ },
+ "suggest": {
+ "dompdf/dompdf": "Option for rendering PDF with PDF Writer",
+ "ext-intl": "PHP Internationalization Functions",
+ "mitoteam/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers",
+ "mpdf/mpdf": "Option for rendering PDF with PDF Writer",
+ "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer"
+ },
+ "time": "2023-12-26T15:40:38+00:00",
+ "default-branch": true,
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Maarten Balliauw",
+ "homepage": "https://blog.maartenballiauw.be"
+ },
+ {
+ "name": "Mark Baker",
+ "homepage": "https://markbakeruk.net"
+ },
+ {
+ "name": "Franck Lefevre",
+ "homepage": "https://rootslabs.net"
+ },
+ {
+ "name": "Erik Tilt"
+ },
+ {
+ "name": "Adrien Crivelli"
+ }
+ ],
+ "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine",
+ "homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
+ "keywords": [
+ "OpenXML",
+ "excel",
+ "gnumeric",
+ "ods",
+ "php",
+ "spreadsheet",
+ "xls",
+ "xlsx"
+ ],
+ "support": {
+ "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues",
+ "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/master"
+ },
+ "install-path": "../phpoffice/phpspreadsheet"
+ },
{
"name": "psr/clock",
"version": "1.0.0",
@@ -671,6 +1042,177 @@
},
"install-path": "../psr/container"
},
+ {
+ "name": "psr/http-client",
+ "version": "dev-master",
+ "version_normalized": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-client.git",
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.0 || ^8.0",
+ "psr/http-message": "^1.0 || ^2.0"
+ },
+ "time": "2023-09-23T14:17:50+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP clients",
+ "homepage": "https://github.com/php-fig/http-client",
+ "keywords": [
+ "http",
+ "http-client",
+ "psr",
+ "psr-18"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-client"
+ },
+ "install-path": "../psr/http-client"
+ },
+ {
+ "name": "psr/http-factory",
+ "version": "dev-master",
+ "version_normalized": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-factory.git",
+ "reference": "7037f4b0950474e9d1350e8df89b15f1842085f6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-factory/zipball/7037f4b0950474e9d1350e8df89b15f1842085f6",
+ "reference": "7037f4b0950474e9d1350e8df89b15f1842085f6",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "psr/http-message": "^1.0 || ^2.0"
+ },
+ "time": "2023-09-22T11:16:44+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
+ "keywords": [
+ "factory",
+ "http",
+ "message",
+ "psr",
+ "psr-17",
+ "psr-7",
+ "request",
+ "response"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-factory"
+ },
+ "install-path": "../psr/http-factory"
+ },
+ {
+ "name": "psr/http-message",
+ "version": "1.1",
+ "version_normalized": "1.1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-message.git",
+ "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
+ "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "time": "2023-04-04T09:50:52+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP messages",
+ "homepage": "https://github.com/php-fig/http-message",
+ "keywords": [
+ "http",
+ "http-message",
+ "psr",
+ "psr-7",
+ "request",
+ "response"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-message/tree/1.1"
+ },
+ "install-path": "../psr/http-message"
+ },
{
"name": "psr/simple-cache",
"version": "1.0.1",
@@ -874,6 +1416,266 @@
],
"install-path": "../symfony/http-foundation"
},
+ {
+ "name": "symfony/polyfill-iconv",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-iconv.git",
+ "reference": "6de50471469b8c9afc38164452ab2b6170ee71c1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/6de50471469b8c9afc38164452ab2b6170ee71c1",
+ "reference": "6de50471469b8c9afc38164452ab2b6170ee71c1",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-iconv": "*"
+ },
+ "suggest": {
+ "ext-iconv": "For best performance"
+ },
+ "time": "2023-01-26T09:26:14+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Iconv\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Iconv extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "iconv",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/polyfill-iconv"
+ },
+ {
+ "name": "symfony/polyfill-intl-grapheme",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
+ "reference": "875e90aeea2777b6f135677f618529449334a612"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612",
+ "reference": "875e90aeea2777b6f135677f618529449334a612",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "time": "2023-01-26T09:26:14+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's grapheme_* functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "grapheme",
+ "intl",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/polyfill-intl-grapheme"
+ },
+ {
+ "name": "symfony/polyfill-intl-normalizer",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
+ "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92",
+ "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "time": "2023-01-26T09:26:14+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's Normalizer class and related functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "intl",
+ "normalizer",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/polyfill-intl-normalizer"
+ },
{
"name": "symfony/polyfill-mbstring",
"version": "1.x-dev",
@@ -961,6 +1763,86 @@
],
"install-path": "../symfony/polyfill-mbstring"
},
+ {
+ "name": "symfony/polyfill-php72",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php72.git",
+ "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179",
+ "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "time": "2023-01-26T09:26:14+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php72\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/polyfill-php72"
+ },
{
"name": "symfony/polyfill-php80",
"version": "1.x-dev",
@@ -1292,6 +2174,92 @@
},
"install-path": "../tinymce/tinymce"
},
+ {
+ "name": "voku/anti-xss",
+ "version": "4.1.35",
+ "version_normalized": "4.1.35.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/anti-xss.git",
+ "reference": "4d7ec2816cd6eeebb7d5abbde8b0349f66709496"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/anti-xss/zipball/4d7ec2816cd6eeebb7d5abbde8b0349f66709496",
+ "reference": "4d7ec2816cd6eeebb7d5abbde8b0349f66709496",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "voku/portable-utf8": "~6.0.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "time": "2021-12-08T15:20:33+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.1.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "voku\\helper\\": "src/voku/helper/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "EllisLab Dev Team",
+ "homepage": "http://ellislab.com/"
+ },
+ {
+ "name": "Lars Moelleken",
+ "email": "lars@moelleken.org",
+ "homepage": "https://www.moelleken.org/"
+ }
+ ],
+ "description": "anti xss-library",
+ "homepage": "https://github.com/voku/anti-xss",
+ "keywords": [
+ "anti-xss",
+ "clean",
+ "security",
+ "xss"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/anti-xss/issues",
+ "source": "https://github.com/voku/anti-xss/tree/4.1.35"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/anti-xss",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/anti-xss",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../voku/anti-xss"
+ },
{
"name": "voku/portable-ascii",
"version": "1.6.1",
@@ -1369,6 +2337,108 @@
],
"install-path": "../voku/portable-ascii"
},
+ {
+ "name": "voku/portable-utf8",
+ "version": "6.0.1",
+ "version_normalized": "6.0.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/portable-utf8.git",
+ "reference": "e4365df3f7b63f9e57e1015f6c3ceec19c169f7a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/portable-utf8/zipball/e4365df3f7b63f9e57e1015f6c3ceec19c169f7a",
+ "reference": "e4365df3f7b63f9e57e1015f6c3ceec19c169f7a",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "symfony/polyfill-iconv": "~1.0",
+ "symfony/polyfill-intl-grapheme": "~1.0",
+ "symfony/polyfill-intl-normalizer": "~1.0",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php72": "~1.0",
+ "voku/portable-ascii": "~1.6.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "suggest": {
+ "ext-ctype": "Use Ctype for e.g. hexadecimal digit detection",
+ "ext-fileinfo": "Use Fileinfo for better binary file detection",
+ "ext-iconv": "Use iconv for best performance",
+ "ext-intl": "Use Intl for best performance",
+ "ext-json": "Use JSON for string detection",
+ "ext-mbstring": "Use Mbstring for best performance"
+ },
+ "time": "2022-01-24T09:49:08+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "voku\\": "src/voku/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "(Apache-2.0 or GPL-2.0)"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Hamid Sarfraz",
+ "homepage": "http://pageconfig.com/"
+ },
+ {
+ "name": "Lars Moelleken",
+ "homepage": "http://www.moelleken.org/"
+ }
+ ],
+ "description": "Portable UTF-8 library - performance optimized (unicode) string functions for php.",
+ "homepage": "https://github.com/voku/portable-utf8",
+ "keywords": [
+ "UTF",
+ "clean",
+ "php",
+ "unicode",
+ "utf-8",
+ "utf8"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/portable-utf8/issues",
+ "source": "https://github.com/voku/portable-utf8/tree/6.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/portable-utf8",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-utf8",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../voku/portable-utf8"
+ },
{
"name": "webklex/php-imap",
"version": "4.1.2",
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
index 8f52ac8..c23de0c 100644
--- a/vendor/composer/installed.php
+++ b/vendor/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
- 'reference' => '54d30dd3c3ff737ecc0ef62de19a7c9ed29fea2d',
+ 'reference' => 'ea29b477f6aeffb4f7f9f09aacbe245f418aa029',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
- 'reference' => '54d30dd3c3ff737ecc0ef62de19a7c9ed29fea2d',
+ 'reference' => 'ea29b477f6aeffb4f7f9f09aacbe245f418aa029',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -73,6 +73,42 @@
'aliases' => array(),
'dev_requirement' => false,
),
+ 'maennchen/zipstream-php' => array(
+ 'pretty_version' => 'v2.x-dev',
+ 'version' => '2.9999999.9999999.9999999-dev',
+ 'reference' => '620c2aab9d4f109aef4949049cc909c24479f8e0',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../maennchen/zipstream-php',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'markbaker/complex' => array(
+ 'pretty_version' => '3.0.x-dev',
+ 'version' => '3.0.9999999.9999999-dev',
+ 'reference' => '95c56caa1cf5c766ad6d65b6344b807c1e8405b9',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../markbaker/complex',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'markbaker/matrix' => array(
+ 'pretty_version' => '3.0.x-dev',
+ 'version' => '3.0.9999999.9999999-dev',
+ 'reference' => '728434227fe21be27ff6d86621a1b13107a2562c',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../markbaker/matrix',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'myclabs/php-enum' => array(
+ 'pretty_version' => '1.8.4',
+ 'version' => '1.8.4.0',
+ 'reference' => 'a867478eae49c9f59ece437ae7f9506bfaa27483',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../myclabs/php-enum',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'nesbot/carbon' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
@@ -95,6 +131,17 @@
),
'dev_requirement' => false,
),
+ 'phpoffice/phpspreadsheet' => array(
+ 'pretty_version' => 'dev-master',
+ 'version' => 'dev-master',
+ 'reference' => 'a17a56b6e01dad0c04e2bfc7ddf5038240a6facf',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../phpoffice/phpspreadsheet',
+ 'aliases' => array(
+ 0 => '9999999-dev',
+ ),
+ 'dev_requirement' => false,
+ ),
'psr/clock' => array(
'pretty_version' => '1.0.0',
'version' => '1.0.0.0',
@@ -119,6 +166,37 @@
'aliases' => array(),
'dev_requirement' => false,
),
+ 'psr/http-client' => array(
+ 'pretty_version' => 'dev-master',
+ 'version' => 'dev-master',
+ 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../psr/http-client',
+ 'aliases' => array(
+ 0 => '1.0.x-dev',
+ ),
+ 'dev_requirement' => false,
+ ),
+ 'psr/http-factory' => array(
+ 'pretty_version' => 'dev-master',
+ 'version' => 'dev-master',
+ 'reference' => '7037f4b0950474e9d1350e8df89b15f1842085f6',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../psr/http-factory',
+ 'aliases' => array(
+ 0 => '1.0.x-dev',
+ ),
+ 'dev_requirement' => false,
+ ),
+ 'psr/http-message' => array(
+ 'pretty_version' => '1.1',
+ 'version' => '1.1.0.0',
+ 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../psr/http-message',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'psr/simple-cache' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
@@ -146,6 +224,33 @@
'aliases' => array(),
'dev_requirement' => false,
),
+ 'symfony/polyfill-iconv' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '6de50471469b8c9afc38164452ab2b6170ee71c1',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-iconv',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/polyfill-intl-grapheme' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '875e90aeea2777b6f135677f618529449334a612',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/polyfill-intl-normalizer' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'symfony/polyfill-mbstring' => array(
'pretty_version' => '1.x-dev',
'version' => '1.9999999.9999999.9999999-dev',
@@ -155,6 +260,15 @@
'aliases' => array(),
'dev_requirement' => false,
),
+ 'symfony/polyfill-php72' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '70f4aebd92afca2f865444d30a4d2151c13c3179',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-php72',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'symfony/polyfill-php80' => array(
'pretty_version' => '1.x-dev',
'version' => '1.9999999.9999999.9999999-dev',
@@ -199,6 +313,15 @@
),
'dev_requirement' => false,
),
+ 'voku/anti-xss' => array(
+ 'pretty_version' => '4.1.35',
+ 'version' => '4.1.35.0',
+ 'reference' => '4d7ec2816cd6eeebb7d5abbde8b0349f66709496',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../voku/anti-xss',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'voku/portable-ascii' => array(
'pretty_version' => '1.6.1',
'version' => '1.6.1.0',
@@ -208,6 +331,15 @@
'aliases' => array(),
'dev_requirement' => false,
),
+ 'voku/portable-utf8' => array(
+ 'pretty_version' => '6.0.1',
+ 'version' => '6.0.1.0',
+ 'reference' => 'e4365df3f7b63f9e57e1015f6c3ceec19c169f7a',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../voku/portable-utf8',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'webklex/php-imap' => array(
'pretty_version' => '4.1.2',
'version' => '4.1.2.0',
diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php
index 580fa96..adfb472 100644
--- a/vendor/composer/platform_check.php
+++ b/vendor/composer/platform_check.php
@@ -4,8 +4,8 @@
$issues = array();
-if (!(PHP_VERSION_ID >= 70400)) {
- $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
+if (!(PHP_VERSION_ID >= 80000)) {
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.0". You are running ' . PHP_VERSION . '.';
}
if ($issues) {
diff --git a/vendor/doctrine/inflector/LICENSE b/vendor/doctrine/inflector/LICENSE
new file mode 100644
index 0000000..8c38cc1
--- /dev/null
+++ b/vendor/doctrine/inflector/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2006-2015 Doctrine Project
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/vendor/doctrine/inflector/README.md b/vendor/doctrine/inflector/README.md
new file mode 100644
index 0000000..6e3a97f
--- /dev/null
+++ b/vendor/doctrine/inflector/README.md
@@ -0,0 +1,7 @@
+# Doctrine Inflector
+
+Doctrine Inflector is a small library that can perform string manipulations
+with regard to uppercase/lowercase and singular/plural forms of words.
+
+[](https://github.com/doctrine/inflector/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.0.x)
+[](https://codecov.io/gh/doctrine/inflector/branch/2.0.x)
diff --git a/vendor/doctrine/inflector/composer.json b/vendor/doctrine/inflector/composer.json
new file mode 100644
index 0000000..91d7707
--- /dev/null
+++ b/vendor/doctrine/inflector/composer.json
@@ -0,0 +1,41 @@
+{
+ "name": "doctrine/inflector",
+ "type": "library",
+ "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.",
+ "keywords": ["php", "strings", "words", "manipulation", "inflector", "inflection", "uppercase", "lowercase", "singular", "plural"],
+ "homepage": "https://www.doctrine-project.org/projects/inflector.html",
+ "license": "MIT",
+ "authors": [
+ {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"},
+ {"name": "Roman Borschel", "email": "roman@code-factory.org"},
+ {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"},
+ {"name": "Jonathan Wage", "email": "jonwage@gmail.com"},
+ {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"}
+ ],
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^11.0",
+ "phpstan/phpstan": "^1.8",
+ "phpstan/phpstan-phpunit": "^1.1",
+ "phpstan/phpstan-strict-rules": "^1.3",
+ "phpunit/phpunit": "^8.5 || ^9.5",
+ "vimeo/psalm": "^4.25 || ^5.4"
+ },
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Inflector\\": "lib/Doctrine/Inflector"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Doctrine\\Tests\\Inflector\\": "tests/Doctrine/Tests/Inflector"
+ }
+ },
+ "config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ }
+ }
+}
diff --git a/vendor/doctrine/inflector/docs/en/index.rst b/vendor/doctrine/inflector/docs/en/index.rst
new file mode 100644
index 0000000..1e094c8
--- /dev/null
+++ b/vendor/doctrine/inflector/docs/en/index.rst
@@ -0,0 +1,227 @@
+Introduction
+============
+
+The Doctrine Inflector has methods for inflecting text. The features include pluralization,
+singularization, converting between camelCase and under_score and capitalizing
+words.
+
+Installation
+============
+
+You can install the Inflector with composer:
+
+.. code-block:: console
+
+ $ composer require doctrine/inflector
+
+Usage
+=====
+
+Using the inflector is easy, you can create a new ``Doctrine\Inflector\Inflector`` instance by using
+the ``Doctrine\Inflector\InflectorFactory`` class:
+
+.. code-block:: php
+
+ use Doctrine\Inflector\InflectorFactory;
+
+ $inflector = InflectorFactory::create()->build();
+
+By default it will create an English inflector. If you want to use another language, just pass the language
+you want to create an inflector for to the ``createForLanguage()`` method:
+
+.. code-block:: php
+
+ use Doctrine\Inflector\InflectorFactory;
+ use Doctrine\Inflector\Language;
+
+ $inflector = InflectorFactory::createForLanguage(Language::SPANISH)->build();
+
+The supported languages are as follows:
+
+- ``Language::ENGLISH``
+- ``Language::ESPERANTO``
+- ``Language::FRENCH``
+- ``Language::NORWEGIAN_BOKMAL``
+- ``Language::PORTUGUESE``
+- ``Language::SPANISH``
+- ``Language::TURKISH``
+
+If you want to manually construct the inflector instead of using a factory, you can do so like this:
+
+.. code-block:: php
+
+ use Doctrine\Inflector\CachedWordInflector;
+ use Doctrine\Inflector\RulesetInflector;
+ use Doctrine\Inflector\Rules\English;
+
+ $inflector = new Inflector(
+ new CachedWordInflector(new RulesetInflector(
+ English\Rules::getSingularRuleset()
+ )),
+ new CachedWordInflector(new RulesetInflector(
+ English\Rules::getPluralRuleset()
+ ))
+ );
+
+Adding Languages
+----------------
+
+If you are interested in adding support for your language, take a look at the other languages defined in the
+``Doctrine\Inflector\Rules`` namespace and the tests located in ``Doctrine\Tests\Inflector\Rules``. You can copy
+one of the languages and update the rules for your language.
+
+Once you have done this, send a pull request to the ``doctrine/inflector`` repository with the additions.
+
+Custom Setup
+============
+
+If you want to setup custom singular and plural rules, you can configure these in the factory:
+
+.. code-block:: php
+
+ use Doctrine\Inflector\InflectorFactory;
+ use Doctrine\Inflector\Rules\Pattern;
+ use Doctrine\Inflector\Rules\Patterns;
+ use Doctrine\Inflector\Rules\Ruleset;
+ use Doctrine\Inflector\Rules\Substitution;
+ use Doctrine\Inflector\Rules\Substitutions;
+ use Doctrine\Inflector\Rules\Transformation;
+ use Doctrine\Inflector\Rules\Transformations;
+ use Doctrine\Inflector\Rules\Word;
+
+ $inflector = InflectorFactory::create()
+ ->withSingularRules(
+ new Ruleset(
+ new Transformations(
+ new Transformation(new Pattern('/^(bil)er$/i'), '\1'),
+ new Transformation(new Pattern('/^(inflec|contribu)tors$/i'), '\1ta')
+ ),
+ new Patterns(new Pattern('singulars')),
+ new Substitutions(new Substitution(new Word('spins'), new Word('spinor')))
+ )
+ )
+ ->withPluralRules(
+ new Ruleset(
+ new Transformations(
+ new Transformation(new Pattern('^(bil)er$'), '\1'),
+ new Transformation(new Pattern('^(inflec|contribu)tors$'), '\1ta')
+ ),
+ new Patterns(new Pattern('noflect'), new Pattern('abtuse')),
+ new Substitutions(
+ new Substitution(new Word('amaze'), new Word('amazable')),
+ new Substitution(new Word('phone'), new Word('phonezes'))
+ )
+ )
+ )
+ ->build();
+
+No operation inflector
+----------------------
+
+The ``Doctrine\Inflector\NoopWordInflector`` may be used to configure an inflector that doesn't perform any operation for
+pluralization and/or singularization. If will simply return the input as output.
+
+This is an implementation of the `Null Object design pattern `_.
+
+.. code-block:: php
+
+ use Doctrine\Inflector\Inflector;
+ use Doctrine\Inflector\NoopWordInflector;
+
+ $inflector = new Inflector(new NoopWordInflector(), new NoopWordInflector());
+
+Tableize
+========
+
+Converts ``ModelName`` to ``model_name``:
+
+.. code-block:: php
+
+ echo $inflector->tableize('ModelName'); // model_name
+
+Classify
+========
+
+Converts ``model_name`` to ``ModelName``:
+
+.. code-block:: php
+
+ echo $inflector->classify('model_name'); // ModelName
+
+Camelize
+========
+
+This method uses `Classify`_ and then converts the first character to lowercase:
+
+.. code-block:: php
+
+ echo $inflector->camelize('model_name'); // modelName
+
+Capitalize
+==========
+
+Takes a string and capitalizes all of the words, like PHP's built-in
+``ucwords`` function. This extends that behavior, however, by allowing the
+word delimiters to be configured, rather than only separating on
+whitespace.
+
+Here is an example:
+
+.. code-block:: php
+
+ $string = 'top-o-the-morning to all_of_you!';
+
+ echo $inflector->capitalize($string); // Top-O-The-Morning To All_of_you!
+
+ echo $inflector->capitalize($string, '-_ '); // Top-O-The-Morning To All_Of_You!
+
+Pluralize
+=========
+
+Returns a word in plural form.
+
+.. code-block:: php
+
+ echo $inflector->pluralize('browser'); // browsers
+
+Singularize
+===========
+
+Returns a word in singular form.
+
+.. code-block:: php
+
+ echo $inflector->singularize('browsers'); // browser
+
+Urlize
+======
+
+Generate a URL friendly string from a string of text:
+
+.. code-block:: php
+
+ echo $inflector->urlize('My first blog post'); // my-first-blog-post
+
+Unaccent
+========
+
+You can unaccent a string of text using the ``unaccent()`` method:
+
+.. code-block:: php
+
+ echo $inflector->unaccent('año'); // ano
+
+Legacy API
+==========
+
+The API present in Inflector 1.x is still available, but will be deprecated in a future release and dropped for 3.0.
+Support for languages other than English is available in the 2.0 API only.
+
+Acknowledgements
+================
+
+The language rules in this library have been adapted from several different sources, including but not limited to:
+
+- `Ruby On Rails Inflector `_
+- `ICanBoogie Inflector `_
+- `CakePHP Inflector `_
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
new file mode 100644
index 0000000..2d52908
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
@@ -0,0 +1,24 @@
+wordInflector = $wordInflector;
+ }
+
+ public function inflect(string $word): string
+ {
+ return $this->cache[$word] ?? $this->cache[$word] = $this->wordInflector->inflect($word);
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
new file mode 100644
index 0000000..166061d
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
@@ -0,0 +1,66 @@
+singularRulesets[] = $this->getSingularRuleset();
+ $this->pluralRulesets[] = $this->getPluralRuleset();
+ }
+
+ final public function build(): Inflector
+ {
+ return new Inflector(
+ new CachedWordInflector(new RulesetInflector(
+ ...$this->singularRulesets
+ )),
+ new CachedWordInflector(new RulesetInflector(
+ ...$this->pluralRulesets
+ ))
+ );
+ }
+
+ final public function withSingularRules(?Ruleset $singularRules, bool $reset = false): LanguageInflectorFactory
+ {
+ if ($reset) {
+ $this->singularRulesets = [];
+ }
+
+ if ($singularRules instanceof Ruleset) {
+ array_unshift($this->singularRulesets, $singularRules);
+ }
+
+ return $this;
+ }
+
+ final public function withPluralRules(?Ruleset $pluralRules, bool $reset = false): LanguageInflectorFactory
+ {
+ if ($reset) {
+ $this->pluralRulesets = [];
+ }
+
+ if ($pluralRules instanceof Ruleset) {
+ array_unshift($this->pluralRulesets, $pluralRules);
+ }
+
+ return $this;
+ }
+
+ abstract protected function getSingularRuleset(): Ruleset;
+
+ abstract protected function getPluralRuleset(): Ruleset;
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
new file mode 100644
index 0000000..610a4cf
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
@@ -0,0 +1,507 @@
+ 'A',
+ 'Ã' => 'A',
+ 'Â' => 'A',
+ 'Ã' => 'A',
+ 'Ä' => 'Ae',
+ 'Æ' => 'Ae',
+ 'Ã…' => 'Aa',
+ 'æ' => 'a',
+ 'Ç' => 'C',
+ 'È' => 'E',
+ 'É' => 'E',
+ 'Ê' => 'E',
+ 'Ë' => 'E',
+ 'Ì' => 'I',
+ 'Ã' => 'I',
+ 'ÃŽ' => 'I',
+ 'Ã' => 'I',
+ 'Ñ' => 'N',
+ 'Ã’' => 'O',
+ 'Ó' => 'O',
+ 'Ô' => 'O',
+ 'Õ' => 'O',
+ 'Ö' => 'Oe',
+ 'Ù' => 'U',
+ 'Ú' => 'U',
+ 'Û' => 'U',
+ 'Ü' => 'Ue',
+ 'Ã' => 'Y',
+ 'ß' => 'ss',
+ 'Ã ' => 'a',
+ 'á' => 'a',
+ 'â' => 'a',
+ 'ã' => 'a',
+ 'ä' => 'ae',
+ 'Ã¥' => 'aa',
+ 'ç' => 'c',
+ 'è' => 'e',
+ 'é' => 'e',
+ 'ê' => 'e',
+ 'ë' => 'e',
+ 'ì' => 'i',
+ 'Ã' => 'i',
+ 'î' => 'i',
+ 'ï' => 'i',
+ 'ñ' => 'n',
+ 'ò' => 'o',
+ 'ó' => 'o',
+ 'ô' => 'o',
+ 'õ' => 'o',
+ 'ö' => 'oe',
+ 'ù' => 'u',
+ 'ú' => 'u',
+ 'û' => 'u',
+ 'ü' => 'ue',
+ 'ý' => 'y',
+ 'ÿ' => 'y',
+ 'Ä€' => 'A',
+ 'Ä' => 'a',
+ 'Ä‚' => 'A',
+ 'ă' => 'a',
+ 'Ä„' => 'A',
+ 'Ä…' => 'a',
+ 'Ć' => 'C',
+ 'ć' => 'c',
+ 'Ĉ' => 'C',
+ 'ĉ' => 'c',
+ 'ÄŠ' => 'C',
+ 'Ä‹' => 'c',
+ 'Č' => 'C',
+ 'Ä' => 'c',
+ 'ÄŽ' => 'D',
+ 'Ä' => 'd',
+ 'Ä' => 'D',
+ 'Ä‘' => 'd',
+ 'Ä’' => 'E',
+ 'Ä“' => 'e',
+ 'Ä”' => 'E',
+ 'Ä•' => 'e',
+ 'Ä–' => 'E',
+ 'Ä—' => 'e',
+ 'Ę' => 'E',
+ 'Ä™' => 'e',
+ 'Äš' => 'E',
+ 'Ä›' => 'e',
+ 'Ĝ' => 'G',
+ 'Ä' => 'g',
+ 'Äž' => 'G',
+ 'ÄŸ' => 'g',
+ 'Ä ' => 'G',
+ 'Ä¡' => 'g',
+ 'Ä¢' => 'G',
+ 'Ä£' => 'g',
+ 'Ĥ' => 'H',
+ 'Ä¥' => 'h',
+ 'Ħ' => 'H',
+ 'ħ' => 'h',
+ 'Ĩ' => 'I',
+ 'Ä©' => 'i',
+ 'Ī' => 'I',
+ 'Ä«' => 'i',
+ 'Ĭ' => 'I',
+ 'Ä' => 'i',
+ 'Ä®' => 'I',
+ 'į' => 'i',
+ 'İ' => 'I',
+ 'ı' => 'i',
+ 'IJ' => 'IJ',
+ 'ij' => 'ij',
+ 'Ä´' => 'J',
+ 'ĵ' => 'j',
+ 'Ķ' => 'K',
+ 'Ä·' => 'k',
+ 'ĸ' => 'k',
+ 'Ĺ' => 'L',
+ 'ĺ' => 'l',
+ 'Ä»' => 'L',
+ 'ļ' => 'l',
+ 'Ľ' => 'L',
+ 'ľ' => 'l',
+ 'Ä¿' => 'L',
+ 'Å€' => 'l',
+ 'Å' => 'L',
+ 'Å‚' => 'l',
+ 'Ń' => 'N',
+ 'Å„' => 'n',
+ 'Å…' => 'N',
+ 'ņ' => 'n',
+ 'Ň' => 'N',
+ 'ň' => 'n',
+ 'ʼn' => 'N',
+ 'ÅŠ' => 'n',
+ 'Å‹' => 'N',
+ 'Ō' => 'O',
+ 'Å' => 'o',
+ 'ÅŽ' => 'O',
+ 'Å' => 'o',
+ 'Å' => 'O',
+ 'Å‘' => 'o',
+ 'Å’' => 'OE',
+ 'Å“' => 'oe',
+ 'Ø' => 'O',
+ 'ø' => 'o',
+ 'Å”' => 'R',
+ 'Å•' => 'r',
+ 'Å–' => 'R',
+ 'Å—' => 'r',
+ 'Ř' => 'R',
+ 'Å™' => 'r',
+ 'Åš' => 'S',
+ 'Å›' => 's',
+ 'Ŝ' => 'S',
+ 'Å' => 's',
+ 'Åž' => 'S',
+ 'ÅŸ' => 's',
+ 'Å ' => 'S',
+ 'Å¡' => 's',
+ 'Å¢' => 'T',
+ 'Å£' => 't',
+ 'Ť' => 'T',
+ 'Å¥' => 't',
+ 'Ŧ' => 'T',
+ 'ŧ' => 't',
+ 'Ũ' => 'U',
+ 'Å©' => 'u',
+ 'Ū' => 'U',
+ 'Å«' => 'u',
+ 'Ŭ' => 'U',
+ 'Å' => 'u',
+ 'Å®' => 'U',
+ 'ů' => 'u',
+ 'Ű' => 'U',
+ 'ű' => 'u',
+ 'Ų' => 'U',
+ 'ų' => 'u',
+ 'Å´' => 'W',
+ 'ŵ' => 'w',
+ 'Ŷ' => 'Y',
+ 'Å·' => 'y',
+ 'Ÿ' => 'Y',
+ 'Ź' => 'Z',
+ 'ź' => 'z',
+ 'Å»' => 'Z',
+ 'ż' => 'z',
+ 'Ž' => 'Z',
+ 'ž' => 'z',
+ 'Å¿' => 's',
+ '€' => 'E',
+ '£' => '',
+ ];
+
+ /** @var WordInflector */
+ private $singularizer;
+
+ /** @var WordInflector */
+ private $pluralizer;
+
+ public function __construct(WordInflector $singularizer, WordInflector $pluralizer)
+ {
+ $this->singularizer = $singularizer;
+ $this->pluralizer = $pluralizer;
+ }
+
+ /**
+ * Converts a word into the format for a Doctrine table name. Converts 'ModelName' to 'model_name'.
+ */
+ public function tableize(string $word): string
+ {
+ $tableized = preg_replace('~(?<=\\w)([A-Z])~u', '_$1', $word);
+
+ if ($tableized === null) {
+ throw new RuntimeException(sprintf(
+ 'preg_replace returned null for value "%s"',
+ $word
+ ));
+ }
+
+ return mb_strtolower($tableized);
+ }
+
+ /**
+ * Converts a word into the format for a Doctrine class name. Converts 'table_name' to 'TableName'.
+ */
+ public function classify(string $word): string
+ {
+ return str_replace([' ', '_', '-'], '', ucwords($word, ' _-'));
+ }
+
+ /**
+ * Camelizes a word. This uses the classify() method and turns the first character to lowercase.
+ */
+ public function camelize(string $word): string
+ {
+ return lcfirst($this->classify($word));
+ }
+
+ /**
+ * Uppercases words with configurable delimiters between words.
+ *
+ * Takes a string and capitalizes all of the words, like PHP's built-in
+ * ucwords function. This extends that behavior, however, by allowing the
+ * word delimiters to be configured, rather than only separating on
+ * whitespace.
+ *
+ * Here is an example:
+ *
+ * capitalize($string);
+ * // Top-O-The-Morning To All_of_you!
+ *
+ * echo $inflector->capitalize($string, '-_ ');
+ * // Top-O-The-Morning To All_Of_You!
+ * ?>
+ *
+ *
+ * @param string $string The string to operate on.
+ * @param string $delimiters A list of word separators.
+ *
+ * @return string The string with all delimiter-separated words capitalized.
+ */
+ public function capitalize(string $string, string $delimiters = " \n\t\r\0\x0B-"): string
+ {
+ return ucwords($string, $delimiters);
+ }
+
+ /**
+ * Checks if the given string seems like it has utf8 characters in it.
+ *
+ * @param string $string The string to check for utf8 characters in.
+ */
+ public function seemsUtf8(string $string): bool
+ {
+ for ($i = 0; $i < strlen($string); $i++) {
+ if (ord($string[$i]) < 0x80) {
+ continue; // 0bbbbbbb
+ }
+
+ if ((ord($string[$i]) & 0xE0) === 0xC0) {
+ $n = 1; // 110bbbbb
+ } elseif ((ord($string[$i]) & 0xF0) === 0xE0) {
+ $n = 2; // 1110bbbb
+ } elseif ((ord($string[$i]) & 0xF8) === 0xF0) {
+ $n = 3; // 11110bbb
+ } elseif ((ord($string[$i]) & 0xFC) === 0xF8) {
+ $n = 4; // 111110bb
+ } elseif ((ord($string[$i]) & 0xFE) === 0xFC) {
+ $n = 5; // 1111110b
+ } else {
+ return false; // Does not match any model
+ }
+
+ for ($j = 0; $j < $n; $j++) { // n bytes matching 10bbbbbb follow ?
+ if (++$i === strlen($string) || ((ord($string[$i]) & 0xC0) !== 0x80)) {
+ return false;
+ }
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Remove any illegal characters, accents, etc.
+ *
+ * @param string $string String to unaccent
+ *
+ * @return string Unaccented string
+ */
+ public function unaccent(string $string): string
+ {
+ if (preg_match('/[\x80-\xff]/', $string) === false) {
+ return $string;
+ }
+
+ if ($this->seemsUtf8($string)) {
+ $string = strtr($string, self::ACCENTED_CHARACTERS);
+ } else {
+ $characters = [];
+
+ // Assume ISO-8859-1 if not UTF-8
+ $characters['in'] =
+ chr(128)
+ . chr(131)
+ . chr(138)
+ . chr(142)
+ . chr(154)
+ . chr(158)
+ . chr(159)
+ . chr(162)
+ . chr(165)
+ . chr(181)
+ . chr(192)
+ . chr(193)
+ . chr(194)
+ . chr(195)
+ . chr(196)
+ . chr(197)
+ . chr(199)
+ . chr(200)
+ . chr(201)
+ . chr(202)
+ . chr(203)
+ . chr(204)
+ . chr(205)
+ . chr(206)
+ . chr(207)
+ . chr(209)
+ . chr(210)
+ . chr(211)
+ . chr(212)
+ . chr(213)
+ . chr(214)
+ . chr(216)
+ . chr(217)
+ . chr(218)
+ . chr(219)
+ . chr(220)
+ . chr(221)
+ . chr(224)
+ . chr(225)
+ . chr(226)
+ . chr(227)
+ . chr(228)
+ . chr(229)
+ . chr(231)
+ . chr(232)
+ . chr(233)
+ . chr(234)
+ . chr(235)
+ . chr(236)
+ . chr(237)
+ . chr(238)
+ . chr(239)
+ . chr(241)
+ . chr(242)
+ . chr(243)
+ . chr(244)
+ . chr(245)
+ . chr(246)
+ . chr(248)
+ . chr(249)
+ . chr(250)
+ . chr(251)
+ . chr(252)
+ . chr(253)
+ . chr(255);
+
+ $characters['out'] = 'EfSZszYcYuAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy';
+
+ $string = strtr($string, $characters['in'], $characters['out']);
+
+ $doubleChars = [];
+
+ $doubleChars['in'] = [
+ chr(140),
+ chr(156),
+ chr(198),
+ chr(208),
+ chr(222),
+ chr(223),
+ chr(230),
+ chr(240),
+ chr(254),
+ ];
+
+ $doubleChars['out'] = ['OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th'];
+
+ $string = str_replace($doubleChars['in'], $doubleChars['out'], $string);
+ }
+
+ return $string;
+ }
+
+ /**
+ * Convert any passed string to a url friendly string.
+ * Converts 'My first blog post' to 'my-first-blog-post'
+ *
+ * @param string $string String to urlize.
+ *
+ * @return string Urlized string.
+ */
+ public function urlize(string $string): string
+ {
+ // Remove all non url friendly characters with the unaccent function
+ $unaccented = $this->unaccent($string);
+
+ if (function_exists('mb_strtolower')) {
+ $lowered = mb_strtolower($unaccented);
+ } else {
+ $lowered = strtolower($unaccented);
+ }
+
+ $replacements = [
+ '/\W/' => ' ',
+ '/([A-Z]+)([A-Z][a-z])/' => '\1_\2',
+ '/([a-z\d])([A-Z])/' => '\1_\2',
+ '/[^A-Z^a-z^0-9^\/]+/' => '-',
+ ];
+
+ $urlized = $lowered;
+
+ foreach ($replacements as $pattern => $replacement) {
+ $replaced = preg_replace($pattern, $replacement, $urlized);
+
+ if ($replaced === null) {
+ throw new RuntimeException(sprintf(
+ 'preg_replace returned null for value "%s"',
+ $urlized
+ ));
+ }
+
+ $urlized = $replaced;
+ }
+
+ return trim($urlized, '-');
+ }
+
+ /**
+ * Returns a word in singular form.
+ *
+ * @param string $word The word in plural form.
+ *
+ * @return string The word in singular form.
+ */
+ public function singularize(string $word): string
+ {
+ return $this->singularizer->inflect($word);
+ }
+
+ /**
+ * Returns a word in plural form.
+ *
+ * @param string $word The word in singular form.
+ *
+ * @return string The word in plural form.
+ */
+ public function pluralize(string $word): string
+ {
+ return $this->pluralizer->inflect($word);
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
new file mode 100644
index 0000000..dcad85f
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
@@ -0,0 +1,56 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
new file mode 100644
index 0000000..02257de
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
@@ -0,0 +1,189 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/Uninflected.php
new file mode 100644
index 0000000..ed04c93
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Esperanto/Uninflected.php
@@ -0,0 +1,28 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
new file mode 100644
index 0000000..9747f91
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
@@ -0,0 +1,28 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
new file mode 100644
index 0000000..5d8d3b3
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
@@ -0,0 +1,30 @@
+pattern = $pattern;
+
+ if (isset($this->pattern[0]) && $this->pattern[0] === '/') {
+ $this->regex = $this->pattern;
+ } else {
+ $this->regex = '/' . $this->pattern . '/i';
+ }
+ }
+
+ public function getPattern(): string
+ {
+ return $this->pattern;
+ }
+
+ public function getRegex(): string
+ {
+ return $this->regex;
+ }
+
+ public function matches(string $word): bool
+ {
+ return preg_match($this->getRegex(), $word) === 1;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
new file mode 100644
index 0000000..e8d45cb
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
@@ -0,0 +1,34 @@
+patterns = $patterns;
+
+ $patterns = array_map(static function (Pattern $pattern): string {
+ return $pattern->getPattern();
+ }, $this->patterns);
+
+ $this->regex = '/^(?:' . implode('|', $patterns) . ')$/i';
+ }
+
+ public function matches(string $word): bool
+ {
+ return preg_match($this->regex, $word, $regs) === 1;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
new file mode 100644
index 0000000..0d41fe7
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
@@ -0,0 +1,98 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
new file mode 100644
index 0000000..b8e988f
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
@@ -0,0 +1,32 @@
+regular = $regular;
+ $this->uninflected = $uninflected;
+ $this->irregular = $irregular;
+ }
+
+ public function getRegular(): Transformations
+ {
+ return $this->regular;
+ }
+
+ public function getUninflected(): Patterns
+ {
+ return $this->uninflected;
+ }
+
+ public function getIrregular(): Substitutions
+ {
+ return $this->irregular;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
new file mode 100644
index 0000000..9129460
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
@@ -0,0 +1,47 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
new file mode 100644
index 0000000..c26ebe9
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
@@ -0,0 +1,30 @@
+from = $from;
+ $this->to = $to;
+ }
+
+ public function getFrom(): Word
+ {
+ return $this->from;
+ }
+
+ public function getTo(): Word
+ {
+ return $this->to;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
new file mode 100644
index 0000000..17ee296
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
@@ -0,0 +1,57 @@
+substitutions[$substitution->getFrom()->getWord()] = $substitution;
+ }
+ }
+
+ public function getFlippedSubstitutions(): Substitutions
+ {
+ $substitutions = [];
+
+ foreach ($this->substitutions as $substitution) {
+ $substitutions[] = new Substitution(
+ $substitution->getTo(),
+ $substitution->getFrom()
+ );
+ }
+
+ return new Substitutions(...$substitutions);
+ }
+
+ public function inflect(string $word): string
+ {
+ $lowerWord = strtolower($word);
+
+ if (isset($this->substitutions[$lowerWord])) {
+ $firstLetterUppercase = $lowerWord[0] !== $word[0];
+
+ $toWord = $this->substitutions[$lowerWord]->getTo()->getWord();
+
+ if ($firstLetterUppercase) {
+ return strtoupper($toWord[0]) . substr($toWord, 1);
+ }
+
+ return $toWord;
+ }
+
+ return $word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
new file mode 100644
index 0000000..30dcd59
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
@@ -0,0 +1,39 @@
+pattern = $pattern;
+ $this->replacement = $replacement;
+ }
+
+ public function getPattern(): Pattern
+ {
+ return $this->pattern;
+ }
+
+ public function getReplacement(): string
+ {
+ return $this->replacement;
+ }
+
+ public function inflect(string $word): string
+ {
+ return (string) preg_replace($this->pattern->getRegex(), $this->replacement, $word);
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
new file mode 100644
index 0000000..b6a48fa
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
@@ -0,0 +1,29 @@
+transformations = $transformations;
+ }
+
+ public function inflect(string $word): string
+ {
+ foreach ($this->transformations as $transformation) {
+ if ($transformation->getPattern()->matches($word)) {
+ return $transformation->inflect($word);
+ }
+ }
+
+ return $word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
new file mode 100644
index 0000000..a2bda0d
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
@@ -0,0 +1,34 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
new file mode 100644
index 0000000..ec1c37d
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
@@ -0,0 +1,30 @@
+word = $word;
+ }
+
+ public function getWord(): string
+ {
+ return $this->word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
new file mode 100644
index 0000000..12b2ed5
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
@@ -0,0 +1,56 @@
+rulesets = array_merge([$ruleset], $rulesets);
+ }
+
+ public function inflect(string $word): string
+ {
+ if ($word === '') {
+ return '';
+ }
+
+ foreach ($this->rulesets as $ruleset) {
+ if ($ruleset->getUninflected()->matches($word)) {
+ return $word;
+ }
+
+ $inflected = $ruleset->getIrregular()->inflect($word);
+
+ if ($inflected !== $word) {
+ return $inflected;
+ }
+
+ $inflected = $ruleset->getRegular()->inflect($word);
+
+ if ($inflected !== $word) {
+ return $inflected;
+ }
+ }
+
+ return $word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
new file mode 100644
index 0000000..b88b1d6
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
@@ -0,0 +1,10 @@
+all();
+ } elseif (! is_array($values)) {
+ continue;
+ }
+
+ $results[] = $values;
+ }
+
+ return array_merge([], ...$results);
+ }
+
+ /**
+ * Cross join the given arrays, returning all possible permutations.
+ *
+ * @param iterable ...$arrays
+ * @return array
+ */
+ public static function crossJoin(...$arrays)
+ {
+ $results = [[]];
+
+ foreach ($arrays as $index => $array) {
+ $append = [];
+
+ foreach ($results as $product) {
+ foreach ($array as $item) {
+ $product[$index] = $item;
+
+ $append[] = $product;
+ }
+ }
+
+ $results = $append;
+ }
+
+ return $results;
+ }
+
+ /**
+ * Divide an array into two arrays. One with keys and the other with values.
+ *
+ * @param array $array
+ * @return array
+ */
+ public static function divide($array)
+ {
+ return [array_keys($array), array_values($array)];
+ }
+
+ /**
+ * Flatten a multi-dimensional associative array with dots.
+ *
+ * @param iterable $array
+ * @param string $prepend
+ * @return array
+ */
+ public static function dot($array, $prepend = '')
+ {
+ $results = [];
+
+ foreach ($array as $key => $value) {
+ if (is_array($value) && ! empty($value)) {
+ $results = array_merge($results, static::dot($value, $prepend.$key.'.'));
+ } else {
+ $results[$prepend.$key] = $value;
+ }
+ }
+
+ return $results;
+ }
+
+ /**
+ * Convert a flatten "dot" notation array into an expanded array.
+ *
+ * @param iterable $array
+ * @return array
+ */
+ public static function undot($array)
+ {
+ $results = [];
+
+ foreach ($array as $key => $value) {
+ static::set($results, $key, $value);
+ }
+
+ return $results;
+ }
+
+ /**
+ * Get all of the given array except for a specified array of keys.
+ *
+ * @param array $array
+ * @param array|string $keys
+ * @return array
+ */
+ public static function except($array, $keys)
+ {
+ static::forget($array, $keys);
+
+ return $array;
+ }
+
+ /**
+ * Determine if the given key exists in the provided array.
+ *
+ * @param \ArrayAccess|array $array
+ * @param string|int $key
+ * @return bool
+ */
+ public static function exists($array, $key)
+ {
+ if ($array instanceof Enumerable) {
+ return $array->has($key);
+ }
+
+ if ($array instanceof ArrayAccess) {
+ return $array->offsetExists($key);
+ }
+
+ return array_key_exists($key, $array);
+ }
+
+ /**
+ * Return the first element in an array passing a given truth test.
+ *
+ * @param iterable $array
+ * @param callable|null $callback
+ * @param mixed $default
+ * @return mixed
+ */
+ public static function first($array, callable $callback = null, $default = null)
+ {
+ if (is_null($callback)) {
+ if (empty($array)) {
+ return value($default);
+ }
+
+ foreach ($array as $item) {
+ return $item;
+ }
+ }
+
+ foreach ($array as $key => $value) {
+ if ($callback($value, $key)) {
+ return $value;
+ }
+ }
+
+ return value($default);
+ }
+
+ /**
+ * Return the last element in an array passing a given truth test.
+ *
+ * @param array $array
+ * @param callable|null $callback
+ * @param mixed $default
+ * @return mixed
+ */
+ public static function last($array, callable $callback = null, $default = null)
+ {
+ if (is_null($callback)) {
+ return empty($array) ? value($default) : end($array);
+ }
+
+ return static::first(array_reverse($array, true), $callback, $default);
+ }
+
+ /**
+ * Flatten a multi-dimensional array into a single level.
+ *
+ * @param iterable $array
+ * @param int $depth
+ * @return array
+ */
+ public static function flatten($array, $depth = INF)
+ {
+ $result = [];
+
+ foreach ($array as $item) {
+ $item = $item instanceof Collection ? $item->all() : $item;
+
+ if (! is_array($item)) {
+ $result[] = $item;
+ } else {
+ $values = $depth === 1
+ ? array_values($item)
+ : static::flatten($item, $depth - 1);
+
+ foreach ($values as $value) {
+ $result[] = $value;
+ }
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Remove one or many array items from a given array using "dot" notation.
+ *
+ * @param array $array
+ * @param array|string $keys
+ * @return void
+ */
+ public static function forget(&$array, $keys)
+ {
+ $original = &$array;
+
+ $keys = (array) $keys;
+
+ if (count($keys) === 0) {
+ return;
+ }
+
+ foreach ($keys as $key) {
+ // if the exact key exists in the top-level, remove it
+ if (static::exists($array, $key)) {
+ unset($array[$key]);
+
+ continue;
+ }
+
+ $parts = explode('.', $key);
+
+ // clean up before each pass
+ $array = &$original;
+
+ while (count($parts) > 1) {
+ $part = array_shift($parts);
+
+ if (isset($array[$part]) && is_array($array[$part])) {
+ $array = &$array[$part];
+ } else {
+ continue 2;
+ }
+ }
+
+ unset($array[array_shift($parts)]);
+ }
+ }
+
+ /**
+ * Get an item from an array using "dot" notation.
+ *
+ * @param \ArrayAccess|array $array
+ * @param string|int|null $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public static function get($array, $key, $default = null)
+ {
+ if (! static::accessible($array)) {
+ return value($default);
+ }
+
+ if (is_null($key)) {
+ return $array;
+ }
+
+ if (static::exists($array, $key)) {
+ return $array[$key];
+ }
+
+ if (strpos($key, '.') === false) {
+ return $array[$key] ?? value($default);
+ }
+
+ foreach (explode('.', $key) as $segment) {
+ if (static::accessible($array) && static::exists($array, $segment)) {
+ $array = $array[$segment];
+ } else {
+ return value($default);
+ }
+ }
+
+ return $array;
+ }
+
+ /**
+ * Check if an item or items exist in an array using "dot" notation.
+ *
+ * @param \ArrayAccess|array $array
+ * @param string|array $keys
+ * @return bool
+ */
+ public static function has($array, $keys)
+ {
+ $keys = (array) $keys;
+
+ if (! $array || $keys === []) {
+ return false;
+ }
+
+ foreach ($keys as $key) {
+ $subKeyArray = $array;
+
+ if (static::exists($array, $key)) {
+ continue;
+ }
+
+ foreach (explode('.', $key) as $segment) {
+ if (static::accessible($subKeyArray) && static::exists($subKeyArray, $segment)) {
+ $subKeyArray = $subKeyArray[$segment];
+ } else {
+ return false;
+ }
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Determine if any of the keys exist in an array using "dot" notation.
+ *
+ * @param \ArrayAccess|array $array
+ * @param string|array $keys
+ * @return bool
+ */
+ public static function hasAny($array, $keys)
+ {
+ if (is_null($keys)) {
+ return false;
+ }
+
+ $keys = (array) $keys;
+
+ if (! $array) {
+ return false;
+ }
+
+ if ($keys === []) {
+ return false;
+ }
+
+ foreach ($keys as $key) {
+ if (static::has($array, $key)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Determines if an array is associative.
+ *
+ * An array is "associative" if it doesn't have sequential numerical keys beginning with zero.
+ *
+ * @param array $array
+ * @return bool
+ */
+ public static function isAssoc(array $array)
+ {
+ $keys = array_keys($array);
+
+ return array_keys($keys) !== $keys;
+ }
+
+ /**
+ * Determines if an array is a list.
+ *
+ * An array is a "list" if all array keys are sequential integers starting from 0 with no gaps in between.
+ *
+ * @param array $array
+ * @return bool
+ */
+ public static function isList($array)
+ {
+ return ! self::isAssoc($array);
+ }
+
+ /**
+ * Get a subset of the items from the given array.
+ *
+ * @param array $array
+ * @param array|string $keys
+ * @return array
+ */
+ public static function only($array, $keys)
+ {
+ return array_intersect_key($array, array_flip((array) $keys));
+ }
+
+ /**
+ * Pluck an array of values from an array.
+ *
+ * @param iterable $array
+ * @param string|array|int|null $value
+ * @param string|array|null $key
+ * @return array
+ */
+ public static function pluck($array, $value, $key = null)
+ {
+ $results = [];
+
+ [$value, $key] = static::explodePluckParameters($value, $key);
+
+ foreach ($array as $item) {
+ $itemValue = data_get($item, $value);
+
+ // If the key is "null", we will just append the value to the array and keep
+ // looping. Otherwise we will key the array using the value of the key we
+ // received from the developer. Then we'll return the final array form.
+ if (is_null($key)) {
+ $results[] = $itemValue;
+ } else {
+ $itemKey = data_get($item, $key);
+
+ if (is_object($itemKey) && method_exists($itemKey, '__toString')) {
+ $itemKey = (string) $itemKey;
+ }
+
+ $results[$itemKey] = $itemValue;
+ }
+ }
+
+ return $results;
+ }
+
+ /**
+ * Explode the "value" and "key" arguments passed to "pluck".
+ *
+ * @param string|array $value
+ * @param string|array|null $key
+ * @return array
+ */
+ protected static function explodePluckParameters($value, $key)
+ {
+ $value = is_string($value) ? explode('.', $value) : $value;
+
+ $key = is_null($key) || is_array($key) ? $key : explode('.', $key);
+
+ return [$value, $key];
+ }
+
+ /**
+ * Push an item onto the beginning of an array.
+ *
+ * @param array $array
+ * @param mixed $value
+ * @param mixed $key
+ * @return array
+ */
+ public static function prepend($array, $value, $key = null)
+ {
+ if (func_num_args() == 2) {
+ array_unshift($array, $value);
+ } else {
+ $array = [$key => $value] + $array;
+ }
+
+ return $array;
+ }
+
+ /**
+ * Get a value from the array, and remove it.
+ *
+ * @param array $array
+ * @param string|int $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public static function pull(&$array, $key, $default = null)
+ {
+ $value = static::get($array, $key, $default);
+
+ static::forget($array, $key);
+
+ return $value;
+ }
+
+ /**
+ * Convert the array into a query string.
+ *
+ * @param array $array
+ * @return string
+ */
+ public static function query($array)
+ {
+ return http_build_query($array, '', '&', PHP_QUERY_RFC3986);
+ }
+
+ /**
+ * Get one or a specified number of random values from an array.
+ *
+ * @param array $array
+ * @param int|null $number
+ * @param bool|false $preserveKeys
+ * @return mixed
+ *
+ * @throws \InvalidArgumentException
+ */
+ public static function random($array, $number = null, $preserveKeys = false)
+ {
+ $requested = is_null($number) ? 1 : $number;
+
+ $count = count($array);
+
+ if ($requested > $count) {
+ throw new InvalidArgumentException(
+ "You requested {$requested} items, but there are only {$count} items available."
+ );
+ }
+
+ if (is_null($number)) {
+ return $array[array_rand($array)];
+ }
+
+ if ((int) $number === 0) {
+ return [];
+ }
+
+ $keys = array_rand($array, $number);
+
+ $results = [];
+
+ if ($preserveKeys) {
+ foreach ((array) $keys as $key) {
+ $results[$key] = $array[$key];
+ }
+ } else {
+ foreach ((array) $keys as $key) {
+ $results[] = $array[$key];
+ }
+ }
+
+ return $results;
+ }
+
+ /**
+ * Set an array item to a given value using "dot" notation.
+ *
+ * If no key is given to the method, the entire array will be replaced.
+ *
+ * @param array $array
+ * @param string|null $key
+ * @param mixed $value
+ * @return array
+ */
+ public static function set(&$array, $key, $value)
+ {
+ if (is_null($key)) {
+ return $array = $value;
+ }
+
+ $keys = explode('.', $key);
+
+ foreach ($keys as $i => $key) {
+ if (count($keys) === 1) {
+ break;
+ }
+
+ unset($keys[$i]);
+
+ // If the key doesn't exist at this depth, we will just create an empty array
+ // to hold the next value, allowing us to create the arrays to hold final
+ // values at the correct depth. Then we'll keep digging into the array.
+ if (! isset($array[$key]) || ! is_array($array[$key])) {
+ $array[$key] = [];
+ }
+
+ $array = &$array[$key];
+ }
+
+ $array[array_shift($keys)] = $value;
+
+ return $array;
+ }
+
+ /**
+ * Shuffle the given array and return the result.
+ *
+ * @param array $array
+ * @param int|null $seed
+ * @return array
+ */
+ public static function shuffle($array, $seed = null)
+ {
+ if (is_null($seed)) {
+ shuffle($array);
+ } else {
+ mt_srand($seed);
+ shuffle($array);
+ mt_srand();
+ }
+
+ return $array;
+ }
+
+ /**
+ * Sort the array using the given callback or "dot" notation.
+ *
+ * @param array $array
+ * @param callable|array|string|null $callback
+ * @return array
+ */
+ public static function sort($array, $callback = null)
+ {
+ return Collection::make($array)->sortBy($callback)->all();
+ }
+
+ /**
+ * Recursively sort an array by keys and values.
+ *
+ * @param array $array
+ * @param int $options
+ * @param bool $descending
+ * @return array
+ */
+ public static function sortRecursive($array, $options = SORT_REGULAR, $descending = false)
+ {
+ foreach ($array as &$value) {
+ if (is_array($value)) {
+ $value = static::sortRecursive($value, $options, $descending);
+ }
+ }
+
+ if (static::isAssoc($array)) {
+ $descending
+ ? krsort($array, $options)
+ : ksort($array, $options);
+ } else {
+ $descending
+ ? rsort($array, $options)
+ : sort($array, $options);
+ }
+
+ return $array;
+ }
+
+ /**
+ * Conditionally compile classes from an array into a CSS class list.
+ *
+ * @param array $array
+ * @return string
+ */
+ public static function toCssClasses($array)
+ {
+ $classList = static::wrap($array);
+
+ $classes = [];
+
+ foreach ($classList as $class => $constraint) {
+ if (is_numeric($class)) {
+ $classes[] = $constraint;
+ } elseif ($constraint) {
+ $classes[] = $class;
+ }
+ }
+
+ return implode(' ', $classes);
+ }
+
+ /**
+ * Filter the array using the given callback.
+ *
+ * @param array $array
+ * @param callable $callback
+ * @return array
+ */
+ public static function where($array, callable $callback)
+ {
+ return array_filter($array, $callback, ARRAY_FILTER_USE_BOTH);
+ }
+
+ /**
+ * Filter items where the value is not null.
+ *
+ * @param array $array
+ * @return array
+ */
+ public static function whereNotNull($array)
+ {
+ return static::where($array, function ($value) {
+ return ! is_null($value);
+ });
+ }
+
+ /**
+ * If the given value is not an array and not null, wrap it in one.
+ *
+ * @param mixed $value
+ * @return array
+ */
+ public static function wrap($value)
+ {
+ if (is_null($value)) {
+ return [];
+ }
+
+ return is_array($value) ? $value : [$value];
+ }
+}
diff --git a/vendor/illuminate/collections/Collection.php b/vendor/illuminate/collections/Collection.php
new file mode 100644
index 0000000..61a4884
--- /dev/null
+++ b/vendor/illuminate/collections/Collection.php
@@ -0,0 +1,1672 @@
+items = $this->getArrayableItems($items);
+ }
+
+ /**
+ * Create a collection with the given range.
+ *
+ * @param int $from
+ * @param int $to
+ * @return static
+ */
+ public static function range($from, $to)
+ {
+ return new static(range($from, $to));
+ }
+
+ /**
+ * Get all of the items in the collection.
+ *
+ * @return array
+ */
+ public function all()
+ {
+ return $this->items;
+ }
+
+ /**
+ * Get a lazy collection for the items in this collection.
+ *
+ * @return \Illuminate\Support\LazyCollection
+ */
+ public function lazy()
+ {
+ return new LazyCollection($this->items);
+ }
+
+ /**
+ * Get the average value of a given key.
+ *
+ * @param callable|string|null $callback
+ * @return mixed
+ */
+ public function avg($callback = null)
+ {
+ $callback = $this->valueRetriever($callback);
+
+ $items = $this->map(function ($value) use ($callback) {
+ return $callback($value);
+ })->filter(function ($value) {
+ return ! is_null($value);
+ });
+
+ if ($count = $items->count()) {
+ return $items->sum() / $count;
+ }
+ }
+
+ /**
+ * Get the median of a given key.
+ *
+ * @param string|array|null $key
+ * @return mixed
+ */
+ public function median($key = null)
+ {
+ $values = (isset($key) ? $this->pluck($key) : $this)
+ ->filter(function ($item) {
+ return ! is_null($item);
+ })->sort()->values();
+
+ $count = $values->count();
+
+ if ($count === 0) {
+ return;
+ }
+
+ $middle = (int) ($count / 2);
+
+ if ($count % 2) {
+ return $values->get($middle);
+ }
+
+ return (new static([
+ $values->get($middle - 1), $values->get($middle),
+ ]))->average();
+ }
+
+ /**
+ * Get the mode of a given key.
+ *
+ * @param string|array|null $key
+ * @return array|null
+ */
+ public function mode($key = null)
+ {
+ if ($this->count() === 0) {
+ return;
+ }
+
+ $collection = isset($key) ? $this->pluck($key) : $this;
+
+ $counts = new static;
+
+ $collection->each(function ($value) use ($counts) {
+ $counts[$value] = isset($counts[$value]) ? $counts[$value] + 1 : 1;
+ });
+
+ $sorted = $counts->sort();
+
+ $highestValue = $sorted->last();
+
+ return $sorted->filter(function ($value) use ($highestValue) {
+ return $value == $highestValue;
+ })->sort()->keys()->all();
+ }
+
+ /**
+ * Collapse the collection of items into a single array.
+ *
+ * @return static
+ */
+ public function collapse()
+ {
+ return new static(Arr::collapse($this->items));
+ }
+
+ /**
+ * Determine if an item exists in the collection.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return bool
+ */
+ public function contains($key, $operator = null, $value = null)
+ {
+ if (func_num_args() === 1) {
+ if ($this->useAsCallable($key)) {
+ $placeholder = new stdClass;
+
+ return $this->first($key, $placeholder) !== $placeholder;
+ }
+
+ return in_array($key, $this->items);
+ }
+
+ return $this->contains($this->operatorForWhere(...func_get_args()));
+ }
+
+ /**
+ * Determine if an item is not contained in the collection.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return bool
+ */
+ public function doesntContain($key, $operator = null, $value = null)
+ {
+ return ! $this->contains(...func_get_args());
+ }
+
+ /**
+ * Cross join with the given lists, returning all possible permutations.
+ *
+ * @param mixed ...$lists
+ * @return static
+ */
+ public function crossJoin(...$lists)
+ {
+ return new static(Arr::crossJoin(
+ $this->items, ...array_map([$this, 'getArrayableItems'], $lists)
+ ));
+ }
+
+ /**
+ * Get the items in the collection that are not present in the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function diff($items)
+ {
+ return new static(array_diff($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Get the items in the collection that are not present in the given items, using the callback.
+ *
+ * @param mixed $items
+ * @param callable $callback
+ * @return static
+ */
+ public function diffUsing($items, callable $callback)
+ {
+ return new static(array_udiff($this->items, $this->getArrayableItems($items), $callback));
+ }
+
+ /**
+ * Get the items in the collection whose keys and values are not present in the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function diffAssoc($items)
+ {
+ return new static(array_diff_assoc($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Get the items in the collection whose keys and values are not present in the given items, using the callback.
+ *
+ * @param mixed $items
+ * @param callable $callback
+ * @return static
+ */
+ public function diffAssocUsing($items, callable $callback)
+ {
+ return new static(array_diff_uassoc($this->items, $this->getArrayableItems($items), $callback));
+ }
+
+ /**
+ * Get the items in the collection whose keys are not present in the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function diffKeys($items)
+ {
+ return new static(array_diff_key($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Get the items in the collection whose keys are not present in the given items, using the callback.
+ *
+ * @param mixed $items
+ * @param callable $callback
+ * @return static
+ */
+ public function diffKeysUsing($items, callable $callback)
+ {
+ return new static(array_diff_ukey($this->items, $this->getArrayableItems($items), $callback));
+ }
+
+ /**
+ * Retrieve duplicate items from the collection.
+ *
+ * @param callable|string|null $callback
+ * @param bool $strict
+ * @return static
+ */
+ public function duplicates($callback = null, $strict = false)
+ {
+ $items = $this->map($this->valueRetriever($callback));
+
+ $uniqueItems = $items->unique(null, $strict);
+
+ $compare = $this->duplicateComparator($strict);
+
+ $duplicates = new static;
+
+ foreach ($items as $key => $value) {
+ if ($uniqueItems->isNotEmpty() && $compare($value, $uniqueItems->first())) {
+ $uniqueItems->shift();
+ } else {
+ $duplicates[$key] = $value;
+ }
+ }
+
+ return $duplicates;
+ }
+
+ /**
+ * Retrieve duplicate items from the collection using strict comparison.
+ *
+ * @param callable|string|null $callback
+ * @return static
+ */
+ public function duplicatesStrict($callback = null)
+ {
+ return $this->duplicates($callback, true);
+ }
+
+ /**
+ * Get the comparison function to detect duplicates.
+ *
+ * @param bool $strict
+ * @return \Closure
+ */
+ protected function duplicateComparator($strict)
+ {
+ if ($strict) {
+ return function ($a, $b) {
+ return $a === $b;
+ };
+ }
+
+ return function ($a, $b) {
+ return $a == $b;
+ };
+ }
+
+ /**
+ * Get all items except for those with the specified keys.
+ *
+ * @param \Illuminate\Support\Collection|mixed $keys
+ * @return static
+ */
+ public function except($keys)
+ {
+ if ($keys instanceof Enumerable) {
+ $keys = $keys->all();
+ } elseif (! is_array($keys)) {
+ $keys = func_get_args();
+ }
+
+ return new static(Arr::except($this->items, $keys));
+ }
+
+ /**
+ * Run a filter over each of the items.
+ *
+ * @param callable|null $callback
+ * @return static
+ */
+ public function filter(callable $callback = null)
+ {
+ if ($callback) {
+ return new static(Arr::where($this->items, $callback));
+ }
+
+ return new static(array_filter($this->items));
+ }
+
+ /**
+ * Get the first item from the collection passing the given truth test.
+ *
+ * @param callable|null $callback
+ * @param mixed $default
+ * @return mixed
+ */
+ public function first(callable $callback = null, $default = null)
+ {
+ return Arr::first($this->items, $callback, $default);
+ }
+
+ /**
+ * Get a flattened array of the items in the collection.
+ *
+ * @param int $depth
+ * @return static
+ */
+ public function flatten($depth = INF)
+ {
+ return new static(Arr::flatten($this->items, $depth));
+ }
+
+ /**
+ * Flip the items in the collection.
+ *
+ * @return static
+ */
+ public function flip()
+ {
+ return new static(array_flip($this->items));
+ }
+
+ /**
+ * Remove an item from the collection by key.
+ *
+ * @param string|int|array $keys
+ * @return $this
+ */
+ public function forget($keys)
+ {
+ foreach ((array) $keys as $key) {
+ $this->offsetUnset($key);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Get an item from the collection by key.
+ *
+ * @param mixed $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public function get($key, $default = null)
+ {
+ if (array_key_exists($key, $this->items)) {
+ return $this->items[$key];
+ }
+
+ return value($default);
+ }
+
+ /**
+ * Get an item from the collection by key or add it to collection if it does not exist.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return mixed
+ */
+ public function getOrPut($key, $value)
+ {
+ if (array_key_exists($key, $this->items)) {
+ return $this->items[$key];
+ }
+
+ $this->offsetSet($key, $value = value($value));
+
+ return $value;
+ }
+
+ /**
+ * Group an associative array by a field or using a callback.
+ *
+ * @param array|callable|string $groupBy
+ * @param bool $preserveKeys
+ * @return static
+ */
+ public function groupBy($groupBy, $preserveKeys = false)
+ {
+ if (! $this->useAsCallable($groupBy) && is_array($groupBy)) {
+ $nextGroups = $groupBy;
+
+ $groupBy = array_shift($nextGroups);
+ }
+
+ $groupBy = $this->valueRetriever($groupBy);
+
+ $results = [];
+
+ foreach ($this->items as $key => $value) {
+ $groupKeys = $groupBy($value, $key);
+
+ if (! is_array($groupKeys)) {
+ $groupKeys = [$groupKeys];
+ }
+
+ foreach ($groupKeys as $groupKey) {
+ $groupKey = is_bool($groupKey) ? (int) $groupKey : $groupKey;
+
+ if (! array_key_exists($groupKey, $results)) {
+ $results[$groupKey] = new static;
+ }
+
+ $results[$groupKey]->offsetSet($preserveKeys ? $key : null, $value);
+ }
+ }
+
+ $result = new static($results);
+
+ if (! empty($nextGroups)) {
+ return $result->map->groupBy($nextGroups, $preserveKeys);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Key an associative array by a field or using a callback.
+ *
+ * @param callable|string $keyBy
+ * @return static
+ */
+ public function keyBy($keyBy)
+ {
+ $keyBy = $this->valueRetriever($keyBy);
+
+ $results = [];
+
+ foreach ($this->items as $key => $item) {
+ $resolvedKey = $keyBy($item, $key);
+
+ if (is_object($resolvedKey)) {
+ $resolvedKey = (string) $resolvedKey;
+ }
+
+ $results[$resolvedKey] = $item;
+ }
+
+ return new static($results);
+ }
+
+ /**
+ * Determine if an item exists in the collection by key.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ public function has($key)
+ {
+ $keys = is_array($key) ? $key : func_get_args();
+
+ foreach ($keys as $value) {
+ if (! array_key_exists($value, $this->items)) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Determine if any of the keys exist in the collection.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ public function hasAny($key)
+ {
+ if ($this->isEmpty()) {
+ return false;
+ }
+
+ $keys = is_array($key) ? $key : func_get_args();
+
+ foreach ($keys as $value) {
+ if ($this->has($value)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Concatenate values of a given key as a string.
+ *
+ * @param string $value
+ * @param string|null $glue
+ * @return string
+ */
+ public function implode($value, $glue = null)
+ {
+ $first = $this->first();
+
+ if (is_array($first) || (is_object($first) && ! $first instanceof Stringable)) {
+ return implode($glue ?? '', $this->pluck($value)->all());
+ }
+
+ return implode($value ?? '', $this->items);
+ }
+
+ /**
+ * Intersect the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function intersect($items)
+ {
+ return new static(array_intersect($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Intersect the collection with the given items by key.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function intersectByKeys($items)
+ {
+ return new static(array_intersect_key(
+ $this->items, $this->getArrayableItems($items)
+ ));
+ }
+
+ /**
+ * Determine if the collection is empty or not.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return empty($this->items);
+ }
+
+ /**
+ * Determine if the collection contains a single item.
+ *
+ * @return bool
+ */
+ public function containsOneItem()
+ {
+ return $this->count() === 1;
+ }
+
+ /**
+ * Join all items from the collection using a string. The final items can use a separate glue string.
+ *
+ * @param string $glue
+ * @param string $finalGlue
+ * @return string
+ */
+ public function join($glue, $finalGlue = '')
+ {
+ if ($finalGlue === '') {
+ return $this->implode($glue);
+ }
+
+ $count = $this->count();
+
+ if ($count === 0) {
+ return '';
+ }
+
+ if ($count === 1) {
+ return $this->last();
+ }
+
+ $collection = new static($this->items);
+
+ $finalItem = $collection->pop();
+
+ return $collection->implode($glue).$finalGlue.$finalItem;
+ }
+
+ /**
+ * Get the keys of the collection items.
+ *
+ * @return static
+ */
+ public function keys()
+ {
+ return new static(array_keys($this->items));
+ }
+
+ /**
+ * Get the last item from the collection.
+ *
+ * @param callable|null $callback
+ * @param mixed $default
+ * @return mixed
+ */
+ public function last(callable $callback = null, $default = null)
+ {
+ return Arr::last($this->items, $callback, $default);
+ }
+
+ /**
+ * Get the values of a given key.
+ *
+ * @param string|array|int|null $value
+ * @param string|null $key
+ * @return static
+ */
+ public function pluck($value, $key = null)
+ {
+ return new static(Arr::pluck($this->items, $value, $key));
+ }
+
+ /**
+ * Run a map over each of the items.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function map(callable $callback)
+ {
+ $keys = array_keys($this->items);
+
+ $items = array_map($callback, $this->items, $keys);
+
+ return new static(array_combine($keys, $items));
+ }
+
+ /**
+ * Run a dictionary map over the items.
+ *
+ * The callback should return an associative array with a single key/value pair.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function mapToDictionary(callable $callback)
+ {
+ $dictionary = [];
+
+ foreach ($this->items as $key => $item) {
+ $pair = $callback($item, $key);
+
+ $key = key($pair);
+
+ $value = reset($pair);
+
+ if (! isset($dictionary[$key])) {
+ $dictionary[$key] = [];
+ }
+
+ $dictionary[$key][] = $value;
+ }
+
+ return new static($dictionary);
+ }
+
+ /**
+ * Run an associative map over each of the items.
+ *
+ * The callback should return an associative array with a single key/value pair.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function mapWithKeys(callable $callback)
+ {
+ $result = [];
+
+ foreach ($this->items as $key => $value) {
+ $assoc = $callback($value, $key);
+
+ foreach ($assoc as $mapKey => $mapValue) {
+ $result[$mapKey] = $mapValue;
+ }
+ }
+
+ return new static($result);
+ }
+
+ /**
+ * Merge the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function merge($items)
+ {
+ return new static(array_merge($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Recursively merge the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function mergeRecursive($items)
+ {
+ return new static(array_merge_recursive($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Create a collection by using this collection for keys and another for its values.
+ *
+ * @param mixed $values
+ * @return static
+ */
+ public function combine($values)
+ {
+ return new static(array_combine($this->all(), $this->getArrayableItems($values)));
+ }
+
+ /**
+ * Union the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function union($items)
+ {
+ return new static($this->items + $this->getArrayableItems($items));
+ }
+
+ /**
+ * Create a new collection consisting of every n-th element.
+ *
+ * @param int $step
+ * @param int $offset
+ * @return static
+ */
+ public function nth($step, $offset = 0)
+ {
+ $new = [];
+
+ $position = 0;
+
+ foreach ($this->slice($offset)->items as $item) {
+ if ($position % $step === 0) {
+ $new[] = $item;
+ }
+
+ $position++;
+ }
+
+ return new static($new);
+ }
+
+ /**
+ * Get the items with the specified keys.
+ *
+ * @param mixed $keys
+ * @return static
+ */
+ public function only($keys)
+ {
+ if (is_null($keys)) {
+ return new static($this->items);
+ }
+
+ if ($keys instanceof Enumerable) {
+ $keys = $keys->all();
+ }
+
+ $keys = is_array($keys) ? $keys : func_get_args();
+
+ return new static(Arr::only($this->items, $keys));
+ }
+
+ /**
+ * Get and remove the last N items from the collection.
+ *
+ * @param int $count
+ * @return mixed
+ */
+ public function pop($count = 1)
+ {
+ if ($count === 1) {
+ return array_pop($this->items);
+ }
+
+ if ($this->isEmpty()) {
+ return new static;
+ }
+
+ $results = [];
+
+ $collectionCount = $this->count();
+
+ foreach (range(1, min($count, $collectionCount)) as $item) {
+ array_push($results, array_pop($this->items));
+ }
+
+ return new static($results);
+ }
+
+ /**
+ * Push an item onto the beginning of the collection.
+ *
+ * @param mixed $value
+ * @param mixed $key
+ * @return $this
+ */
+ public function prepend($value, $key = null)
+ {
+ $this->items = Arr::prepend($this->items, ...func_get_args());
+
+ return $this;
+ }
+
+ /**
+ * Push one or more items onto the end of the collection.
+ *
+ * @param mixed $values
+ * @return $this
+ */
+ public function push(...$values)
+ {
+ foreach ($values as $value) {
+ $this->items[] = $value;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Push all of the given items onto the collection.
+ *
+ * @param iterable $source
+ * @return static
+ */
+ public function concat($source)
+ {
+ $result = new static($this);
+
+ foreach ($source as $item) {
+ $result->push($item);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Get and remove an item from the collection.
+ *
+ * @param mixed $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public function pull($key, $default = null)
+ {
+ return Arr::pull($this->items, $key, $default);
+ }
+
+ /**
+ * Put an item in the collection by key.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return $this
+ */
+ public function put($key, $value)
+ {
+ $this->offsetSet($key, $value);
+
+ return $this;
+ }
+
+ /**
+ * Get one or a specified number of items randomly from the collection.
+ *
+ * @param int|null $number
+ * @return static|mixed
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function random($number = null)
+ {
+ if (is_null($number)) {
+ return Arr::random($this->items);
+ }
+
+ return new static(Arr::random($this->items, $number));
+ }
+
+ /**
+ * Replace the collection items with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function replace($items)
+ {
+ return new static(array_replace($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Recursively replace the collection items with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function replaceRecursive($items)
+ {
+ return new static(array_replace_recursive($this->items, $this->getArrayableItems($items)));
+ }
+
+ /**
+ * Reverse items order.
+ *
+ * @return static
+ */
+ public function reverse()
+ {
+ return new static(array_reverse($this->items, true));
+ }
+
+ /**
+ * Search the collection for a given value and return the corresponding key if successful.
+ *
+ * @param mixed $value
+ * @param bool $strict
+ * @return mixed
+ */
+ public function search($value, $strict = false)
+ {
+ if (! $this->useAsCallable($value)) {
+ return array_search($value, $this->items, $strict);
+ }
+
+ foreach ($this->items as $key => $item) {
+ if ($value($item, $key)) {
+ return $key;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get and remove the first N items from the collection.
+ *
+ * @param int $count
+ * @return mixed
+ */
+ public function shift($count = 1)
+ {
+ if ($count === 1) {
+ return array_shift($this->items);
+ }
+
+ if ($this->isEmpty()) {
+ return new static;
+ }
+
+ $results = [];
+
+ $collectionCount = $this->count();
+
+ foreach (range(1, min($count, $collectionCount)) as $item) {
+ array_push($results, array_shift($this->items));
+ }
+
+ return new static($results);
+ }
+
+ /**
+ * Shuffle the items in the collection.
+ *
+ * @param int|null $seed
+ * @return static
+ */
+ public function shuffle($seed = null)
+ {
+ return new static(Arr::shuffle($this->items, $seed));
+ }
+
+ /**
+ * Create chunks representing a "sliding window" view of the items in the collection.
+ *
+ * @param int $size
+ * @param int $step
+ * @return static
+ */
+ public function sliding($size = 2, $step = 1)
+ {
+ $chunks = floor(($this->count() - $size) / $step) + 1;
+
+ return static::times($chunks, function ($number) use ($size, $step) {
+ return $this->slice(($number - 1) * $step, $size);
+ });
+ }
+
+ /**
+ * Skip the first {$count} items.
+ *
+ * @param int $count
+ * @return static
+ */
+ public function skip($count)
+ {
+ return $this->slice($count);
+ }
+
+ /**
+ * Skip items in the collection until the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function skipUntil($value)
+ {
+ return new static($this->lazy()->skipUntil($value)->all());
+ }
+
+ /**
+ * Skip items in the collection while the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function skipWhile($value)
+ {
+ return new static($this->lazy()->skipWhile($value)->all());
+ }
+
+ /**
+ * Slice the underlying collection array.
+ *
+ * @param int $offset
+ * @param int|null $length
+ * @return static
+ */
+ public function slice($offset, $length = null)
+ {
+ return new static(array_slice($this->items, $offset, $length, true));
+ }
+
+ /**
+ * Split a collection into a certain number of groups.
+ *
+ * @param int $numberOfGroups
+ * @return static
+ */
+ public function split($numberOfGroups)
+ {
+ if ($this->isEmpty()) {
+ return new static;
+ }
+
+ $groups = new static;
+
+ $groupSize = floor($this->count() / $numberOfGroups);
+
+ $remain = $this->count() % $numberOfGroups;
+
+ $start = 0;
+
+ for ($i = 0; $i < $numberOfGroups; $i++) {
+ $size = $groupSize;
+
+ if ($i < $remain) {
+ $size++;
+ }
+
+ if ($size) {
+ $groups->push(new static(array_slice($this->items, $start, $size)));
+
+ $start += $size;
+ }
+ }
+
+ return $groups;
+ }
+
+ /**
+ * Split a collection into a certain number of groups, and fill the first groups completely.
+ *
+ * @param int $numberOfGroups
+ * @return static
+ */
+ public function splitIn($numberOfGroups)
+ {
+ return $this->chunk(ceil($this->count() / $numberOfGroups));
+ }
+
+ /**
+ * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return mixed
+ *
+ * @throws \Illuminate\Support\ItemNotFoundException
+ * @throws \Illuminate\Support\MultipleItemsFoundException
+ */
+ public function sole($key = null, $operator = null, $value = null)
+ {
+ $filter = func_num_args() > 1
+ ? $this->operatorForWhere(...func_get_args())
+ : $key;
+
+ $items = $this->when($filter)->filter($filter);
+
+ if ($items->isEmpty()) {
+ throw new ItemNotFoundException;
+ }
+
+ if ($items->count() > 1) {
+ throw new MultipleItemsFoundException;
+ }
+
+ return $items->first();
+ }
+
+ /**
+ * Get the first item in the collection but throw an exception if no matching items exist.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return mixed
+ *
+ * @throws \Illuminate\Support\ItemNotFoundException
+ */
+ public function firstOrFail($key = null, $operator = null, $value = null)
+ {
+ $filter = func_num_args() > 1
+ ? $this->operatorForWhere(...func_get_args())
+ : $key;
+
+ $placeholder = new stdClass();
+
+ $item = $this->first($filter, $placeholder);
+
+ if ($item === $placeholder) {
+ throw new ItemNotFoundException;
+ }
+
+ return $item;
+ }
+
+ /**
+ * Chunk the collection into chunks of the given size.
+ *
+ * @param int $size
+ * @return static
+ */
+ public function chunk($size)
+ {
+ if ($size <= 0) {
+ return new static;
+ }
+
+ $chunks = [];
+
+ foreach (array_chunk($this->items, $size, true) as $chunk) {
+ $chunks[] = new static($chunk);
+ }
+
+ return new static($chunks);
+ }
+
+ /**
+ * Chunk the collection into chunks with a callback.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function chunkWhile(callable $callback)
+ {
+ return new static(
+ $this->lazy()->chunkWhile($callback)->mapInto(static::class)
+ );
+ }
+
+ /**
+ * Sort through each item with a callback.
+ *
+ * @param callable|int|null $callback
+ * @return static
+ */
+ public function sort($callback = null)
+ {
+ $items = $this->items;
+
+ $callback && is_callable($callback)
+ ? uasort($items, $callback)
+ : asort($items, $callback ?? SORT_REGULAR);
+
+ return new static($items);
+ }
+
+ /**
+ * Sort items in descending order.
+ *
+ * @param int $options
+ * @return static
+ */
+ public function sortDesc($options = SORT_REGULAR)
+ {
+ $items = $this->items;
+
+ arsort($items, $options);
+
+ return new static($items);
+ }
+
+ /**
+ * Sort the collection using the given callback.
+ *
+ * @param callable|array|string $callback
+ * @param int $options
+ * @param bool $descending
+ * @return static
+ */
+ public function sortBy($callback, $options = SORT_REGULAR, $descending = false)
+ {
+ if (is_array($callback) && ! is_callable($callback)) {
+ return $this->sortByMany($callback);
+ }
+
+ $results = [];
+
+ $callback = $this->valueRetriever($callback);
+
+ // First we will loop through the items and get the comparator from a callback
+ // function which we were given. Then, we will sort the returned values and
+ // grab all the corresponding values for the sorted keys from this array.
+ foreach ($this->items as $key => $value) {
+ $results[$key] = $callback($value, $key);
+ }
+
+ $descending ? arsort($results, $options)
+ : asort($results, $options);
+
+ // Once we have sorted all of the keys in the array, we will loop through them
+ // and grab the corresponding model so we can set the underlying items list
+ // to the sorted version. Then we'll just return the collection instance.
+ foreach (array_keys($results) as $key) {
+ $results[$key] = $this->items[$key];
+ }
+
+ return new static($results);
+ }
+
+ /**
+ * Sort the collection using multiple comparisons.
+ *
+ * @param array $comparisons
+ * @return static
+ */
+ protected function sortByMany(array $comparisons = [])
+ {
+ $items = $this->items;
+
+ usort($items, function ($a, $b) use ($comparisons) {
+ foreach ($comparisons as $comparison) {
+ $comparison = Arr::wrap($comparison);
+
+ $prop = $comparison[0];
+
+ $ascending = Arr::get($comparison, 1, true) === true ||
+ Arr::get($comparison, 1, true) === 'asc';
+
+ $result = 0;
+
+ if (! is_string($prop) && is_callable($prop)) {
+ $result = $prop($a, $b);
+ } else {
+ $values = [data_get($a, $prop), data_get($b, $prop)];
+
+ if (! $ascending) {
+ $values = array_reverse($values);
+ }
+
+ $result = $values[0] <=> $values[1];
+ }
+
+ if ($result === 0) {
+ continue;
+ }
+
+ return $result;
+ }
+ });
+
+ return new static($items);
+ }
+
+ /**
+ * Sort the collection in descending order using the given callback.
+ *
+ * @param callable|string $callback
+ * @param int $options
+ * @return static
+ */
+ public function sortByDesc($callback, $options = SORT_REGULAR)
+ {
+ return $this->sortBy($callback, $options, true);
+ }
+
+ /**
+ * Sort the collection keys.
+ *
+ * @param int $options
+ * @param bool $descending
+ * @return static
+ */
+ public function sortKeys($options = SORT_REGULAR, $descending = false)
+ {
+ $items = $this->items;
+
+ $descending ? krsort($items, $options) : ksort($items, $options);
+
+ return new static($items);
+ }
+
+ /**
+ * Sort the collection keys in descending order.
+ *
+ * @param int $options
+ * @return static
+ */
+ public function sortKeysDesc($options = SORT_REGULAR)
+ {
+ return $this->sortKeys($options, true);
+ }
+
+ /**
+ * Sort the collection keys using a callback.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function sortKeysUsing(callable $callback)
+ {
+ $items = $this->items;
+
+ uksort($items, $callback);
+
+ return new static($items);
+ }
+
+ /**
+ * Splice a portion of the underlying collection array.
+ *
+ * @param int $offset
+ * @param int|null $length
+ * @param mixed $replacement
+ * @return static
+ */
+ public function splice($offset, $length = null, $replacement = [])
+ {
+ if (func_num_args() === 1) {
+ return new static(array_splice($this->items, $offset));
+ }
+
+ return new static(array_splice($this->items, $offset, $length, $this->getArrayableItems($replacement)));
+ }
+
+ /**
+ * Take the first or last {$limit} items.
+ *
+ * @param int $limit
+ * @return static
+ */
+ public function take($limit)
+ {
+ if ($limit < 0) {
+ return $this->slice($limit, abs($limit));
+ }
+
+ return $this->slice(0, $limit);
+ }
+
+ /**
+ * Take items in the collection until the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function takeUntil($value)
+ {
+ return new static($this->lazy()->takeUntil($value)->all());
+ }
+
+ /**
+ * Take items in the collection while the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function takeWhile($value)
+ {
+ return new static($this->lazy()->takeWhile($value)->all());
+ }
+
+ /**
+ * Transform each item in the collection using a callback.
+ *
+ * @param callable $callback
+ * @return $this
+ */
+ public function transform(callable $callback)
+ {
+ $this->items = $this->map($callback)->all();
+
+ return $this;
+ }
+
+ /**
+ * Convert a flatten "dot" notation array into an expanded array.
+ *
+ * @return static
+ */
+ public function undot()
+ {
+ return new static(Arr::undot($this->all()));
+ }
+
+ /**
+ * Return only unique items from the collection array.
+ *
+ * @param string|callable|null $key
+ * @param bool $strict
+ * @return static
+ */
+ public function unique($key = null, $strict = false)
+ {
+ if (is_null($key) && $strict === false) {
+ return new static(array_unique($this->items, SORT_REGULAR));
+ }
+
+ $callback = $this->valueRetriever($key);
+
+ $exists = [];
+
+ return $this->reject(function ($item, $key) use ($callback, $strict, &$exists) {
+ if (in_array($id = $callback($item, $key), $exists, $strict)) {
+ return true;
+ }
+
+ $exists[] = $id;
+ });
+ }
+
+ /**
+ * Reset the keys on the underlying array.
+ *
+ * @return static
+ */
+ public function values()
+ {
+ return new static(array_values($this->items));
+ }
+
+ /**
+ * Zip the collection together with one or more arrays.
+ *
+ * e.g. new Collection([1, 2, 3])->zip([4, 5, 6]);
+ * => [[1, 4], [2, 5], [3, 6]]
+ *
+ * @param mixed ...$items
+ * @return static
+ */
+ public function zip($items)
+ {
+ $arrayableItems = array_map(function ($items) {
+ return $this->getArrayableItems($items);
+ }, func_get_args());
+
+ $params = array_merge([function () {
+ return new static(func_get_args());
+ }, $this->items], $arrayableItems);
+
+ return new static(array_map(...$params));
+ }
+
+ /**
+ * Pad collection to the specified length with a value.
+ *
+ * @param int $size
+ * @param mixed $value
+ * @return static
+ */
+ public function pad($size, $value)
+ {
+ return new static(array_pad($this->items, $size, $value));
+ }
+
+ /**
+ * Get an iterator for the items.
+ *
+ * @return \ArrayIterator
+ */
+ #[\ReturnTypeWillChange]
+ public function getIterator()
+ {
+ return new ArrayIterator($this->items);
+ }
+
+ /**
+ * Count the number of items in the collection.
+ *
+ * @return int
+ */
+ #[\ReturnTypeWillChange]
+ public function count()
+ {
+ return count($this->items);
+ }
+
+ /**
+ * Count the number of items in the collection by a field or using a callback.
+ *
+ * @param callable|string $countBy
+ * @return static
+ */
+ public function countBy($countBy = null)
+ {
+ return new static($this->lazy()->countBy($countBy)->all());
+ }
+
+ /**
+ * Add an item to the collection.
+ *
+ * @param mixed $item
+ * @return $this
+ */
+ public function add($item)
+ {
+ $this->items[] = $item;
+
+ return $this;
+ }
+
+ /**
+ * Get a base Support collection instance from this collection.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function toBase()
+ {
+ return new self($this);
+ }
+
+ /**
+ * Determine if an item exists at an offset.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetExists($key)
+ {
+ return isset($this->items[$key]);
+ }
+
+ /**
+ * Get an item at a given offset.
+ *
+ * @param mixed $key
+ * @return mixed
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetGet($key)
+ {
+ return $this->items[$key];
+ }
+
+ /**
+ * Set the item at a given offset.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetSet($key, $value)
+ {
+ if (is_null($key)) {
+ $this->items[] = $value;
+ } else {
+ $this->items[$key] = $value;
+ }
+ }
+
+ /**
+ * Unset the item at a given offset.
+ *
+ * @param mixed $key
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetUnset($key)
+ {
+ unset($this->items[$key]);
+ }
+}
diff --git a/vendor/illuminate/collections/Enumerable.php b/vendor/illuminate/collections/Enumerable.php
new file mode 100644
index 0000000..261a0c8
--- /dev/null
+++ b/vendor/illuminate/collections/Enumerable.php
@@ -0,0 +1,1027 @@
+zip([4, 5, 6]);
+ * => [[1, 4], [2, 5], [3, 6]]
+ *
+ * @param mixed ...$items
+ * @return static
+ */
+ public function zip($items);
+
+ /**
+ * Collect the values into a collection.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function collect();
+
+ /**
+ * Convert the collection to its string representation.
+ *
+ * @return string
+ */
+ public function __toString();
+
+ /**
+ * Add a method to the list of proxied methods.
+ *
+ * @param string $method
+ * @return void
+ */
+ public static function proxy($method);
+
+ /**
+ * Dynamically access collection proxies.
+ *
+ * @param string $key
+ * @return mixed
+ *
+ * @throws \Exception
+ */
+ public function __get($key);
+}
diff --git a/vendor/illuminate/collections/HigherOrderCollectionProxy.php b/vendor/illuminate/collections/HigherOrderCollectionProxy.php
new file mode 100644
index 0000000..106356c
--- /dev/null
+++ b/vendor/illuminate/collections/HigherOrderCollectionProxy.php
@@ -0,0 +1,63 @@
+method = $method;
+ $this->collection = $collection;
+ }
+
+ /**
+ * Proxy accessing an attribute onto the collection items.
+ *
+ * @param string $key
+ * @return mixed
+ */
+ public function __get($key)
+ {
+ return $this->collection->{$this->method}(function ($value) use ($key) {
+ return is_array($value) ? $value[$key] : $value->{$key};
+ });
+ }
+
+ /**
+ * Proxy a method call onto the collection items.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->collection->{$this->method}(function ($value) use ($method, $parameters) {
+ return $value->{$method}(...$parameters);
+ });
+ }
+}
diff --git a/vendor/illuminate/collections/HigherOrderWhenProxy.php b/vendor/illuminate/collections/HigherOrderWhenProxy.php
new file mode 100644
index 0000000..6653c03
--- /dev/null
+++ b/vendor/illuminate/collections/HigherOrderWhenProxy.php
@@ -0,0 +1,63 @@
+condition = $condition;
+ $this->collection = $collection;
+ }
+
+ /**
+ * Proxy accessing an attribute onto the collection.
+ *
+ * @param string $key
+ * @return mixed
+ */
+ public function __get($key)
+ {
+ return $this->condition
+ ? $this->collection->{$key}
+ : $this->collection;
+ }
+
+ /**
+ * Proxy a method call onto the collection.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->condition
+ ? $this->collection->{$method}(...$parameters)
+ : $this->collection;
+ }
+}
diff --git a/vendor/illuminate/collections/ItemNotFoundException.php b/vendor/illuminate/collections/ItemNotFoundException.php
new file mode 100644
index 0000000..05a51d9
--- /dev/null
+++ b/vendor/illuminate/collections/ItemNotFoundException.php
@@ -0,0 +1,9 @@
+source = $source;
+ } elseif (is_null($source)) {
+ $this->source = static::empty();
+ } else {
+ $this->source = $this->getArrayableItems($source);
+ }
+ }
+
+ /**
+ * Create a collection with the given range.
+ *
+ * @param int $from
+ * @param int $to
+ * @return static
+ */
+ public static function range($from, $to)
+ {
+ return new static(function () use ($from, $to) {
+ if ($from <= $to) {
+ for (; $from <= $to; $from++) {
+ yield $from;
+ }
+ } else {
+ for (; $from >= $to; $from--) {
+ yield $from;
+ }
+ }
+ });
+ }
+
+ /**
+ * Get all items in the enumerable.
+ *
+ * @return array
+ */
+ public function all()
+ {
+ if (is_array($this->source)) {
+ return $this->source;
+ }
+
+ return iterator_to_array($this->getIterator());
+ }
+
+ /**
+ * Eager load all items into a new lazy collection backed by an array.
+ *
+ * @return static
+ */
+ public function eager()
+ {
+ return new static($this->all());
+ }
+
+ /**
+ * Cache values as they're enumerated.
+ *
+ * @return static
+ */
+ public function remember()
+ {
+ $iterator = $this->getIterator();
+
+ $iteratorIndex = 0;
+
+ $cache = [];
+
+ return new static(function () use ($iterator, &$iteratorIndex, &$cache) {
+ for ($index = 0; true; $index++) {
+ if (array_key_exists($index, $cache)) {
+ yield $cache[$index][0] => $cache[$index][1];
+
+ continue;
+ }
+
+ if ($iteratorIndex < $index) {
+ $iterator->next();
+
+ $iteratorIndex++;
+ }
+
+ if (! $iterator->valid()) {
+ break;
+ }
+
+ $cache[$index] = [$iterator->key(), $iterator->current()];
+
+ yield $cache[$index][0] => $cache[$index][1];
+ }
+ });
+ }
+
+ /**
+ * Get the average value of a given key.
+ *
+ * @param callable|string|null $callback
+ * @return mixed
+ */
+ public function avg($callback = null)
+ {
+ return $this->collect()->avg($callback);
+ }
+
+ /**
+ * Get the median of a given key.
+ *
+ * @param string|array|null $key
+ * @return mixed
+ */
+ public function median($key = null)
+ {
+ return $this->collect()->median($key);
+ }
+
+ /**
+ * Get the mode of a given key.
+ *
+ * @param string|array|null $key
+ * @return array|null
+ */
+ public function mode($key = null)
+ {
+ return $this->collect()->mode($key);
+ }
+
+ /**
+ * Collapse the collection of items into a single array.
+ *
+ * @return static
+ */
+ public function collapse()
+ {
+ return new static(function () {
+ foreach ($this as $values) {
+ if (is_array($values) || $values instanceof Enumerable) {
+ foreach ($values as $value) {
+ yield $value;
+ }
+ }
+ }
+ });
+ }
+
+ /**
+ * Determine if an item exists in the enumerable.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return bool
+ */
+ public function contains($key, $operator = null, $value = null)
+ {
+ if (func_num_args() === 1 && $this->useAsCallable($key)) {
+ $placeholder = new stdClass;
+
+ return $this->first($key, $placeholder) !== $placeholder;
+ }
+
+ if (func_num_args() === 1) {
+ $needle = $key;
+
+ foreach ($this as $value) {
+ if ($value == $needle) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ return $this->contains($this->operatorForWhere(...func_get_args()));
+ }
+
+ /**
+ * Determine if an item is not contained in the enumerable.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return bool
+ */
+ public function doesntContain($key, $operator = null, $value = null)
+ {
+ return ! $this->contains(...func_get_args());
+ }
+
+ /**
+ * Cross join the given iterables, returning all possible permutations.
+ *
+ * @param array ...$arrays
+ * @return static
+ */
+ public function crossJoin(...$arrays)
+ {
+ return $this->passthru('crossJoin', func_get_args());
+ }
+
+ /**
+ * Count the number of items in the collection by a field or using a callback.
+ *
+ * @param callable|string $countBy
+ * @return static
+ */
+ public function countBy($countBy = null)
+ {
+ $countBy = is_null($countBy)
+ ? $this->identity()
+ : $this->valueRetriever($countBy);
+
+ return new static(function () use ($countBy) {
+ $counts = [];
+
+ foreach ($this as $key => $value) {
+ $group = $countBy($value, $key);
+
+ if (empty($counts[$group])) {
+ $counts[$group] = 0;
+ }
+
+ $counts[$group]++;
+ }
+
+ yield from $counts;
+ });
+ }
+
+ /**
+ * Get the items that are not present in the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function diff($items)
+ {
+ return $this->passthru('diff', func_get_args());
+ }
+
+ /**
+ * Get the items that are not present in the given items, using the callback.
+ *
+ * @param mixed $items
+ * @param callable $callback
+ * @return static
+ */
+ public function diffUsing($items, callable $callback)
+ {
+ return $this->passthru('diffUsing', func_get_args());
+ }
+
+ /**
+ * Get the items whose keys and values are not present in the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function diffAssoc($items)
+ {
+ return $this->passthru('diffAssoc', func_get_args());
+ }
+
+ /**
+ * Get the items whose keys and values are not present in the given items, using the callback.
+ *
+ * @param mixed $items
+ * @param callable $callback
+ * @return static
+ */
+ public function diffAssocUsing($items, callable $callback)
+ {
+ return $this->passthru('diffAssocUsing', func_get_args());
+ }
+
+ /**
+ * Get the items whose keys are not present in the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function diffKeys($items)
+ {
+ return $this->passthru('diffKeys', func_get_args());
+ }
+
+ /**
+ * Get the items whose keys are not present in the given items, using the callback.
+ *
+ * @param mixed $items
+ * @param callable $callback
+ * @return static
+ */
+ public function diffKeysUsing($items, callable $callback)
+ {
+ return $this->passthru('diffKeysUsing', func_get_args());
+ }
+
+ /**
+ * Retrieve duplicate items.
+ *
+ * @param callable|string|null $callback
+ * @param bool $strict
+ * @return static
+ */
+ public function duplicates($callback = null, $strict = false)
+ {
+ return $this->passthru('duplicates', func_get_args());
+ }
+
+ /**
+ * Retrieve duplicate items using strict comparison.
+ *
+ * @param callable|string|null $callback
+ * @return static
+ */
+ public function duplicatesStrict($callback = null)
+ {
+ return $this->passthru('duplicatesStrict', func_get_args());
+ }
+
+ /**
+ * Get all items except for those with the specified keys.
+ *
+ * @param mixed $keys
+ * @return static
+ */
+ public function except($keys)
+ {
+ return $this->passthru('except', func_get_args());
+ }
+
+ /**
+ * Run a filter over each of the items.
+ *
+ * @param callable|null $callback
+ * @return static
+ */
+ public function filter(callable $callback = null)
+ {
+ if (is_null($callback)) {
+ $callback = function ($value) {
+ return (bool) $value;
+ };
+ }
+
+ return new static(function () use ($callback) {
+ foreach ($this as $key => $value) {
+ if ($callback($value, $key)) {
+ yield $key => $value;
+ }
+ }
+ });
+ }
+
+ /**
+ * Get the first item from the enumerable passing the given truth test.
+ *
+ * @param callable|null $callback
+ * @param mixed $default
+ * @return mixed
+ */
+ public function first(callable $callback = null, $default = null)
+ {
+ $iterator = $this->getIterator();
+
+ if (is_null($callback)) {
+ if (! $iterator->valid()) {
+ return value($default);
+ }
+
+ return $iterator->current();
+ }
+
+ foreach ($iterator as $key => $value) {
+ if ($callback($value, $key)) {
+ return $value;
+ }
+ }
+
+ return value($default);
+ }
+
+ /**
+ * Get a flattened list of the items in the collection.
+ *
+ * @param int $depth
+ * @return static
+ */
+ public function flatten($depth = INF)
+ {
+ $instance = new static(function () use ($depth) {
+ foreach ($this as $item) {
+ if (! is_array($item) && ! $item instanceof Enumerable) {
+ yield $item;
+ } elseif ($depth === 1) {
+ yield from $item;
+ } else {
+ yield from (new static($item))->flatten($depth - 1);
+ }
+ }
+ });
+
+ return $instance->values();
+ }
+
+ /**
+ * Flip the items in the collection.
+ *
+ * @return static
+ */
+ public function flip()
+ {
+ return new static(function () {
+ foreach ($this as $key => $value) {
+ yield $value => $key;
+ }
+ });
+ }
+
+ /**
+ * Get an item by key.
+ *
+ * @param mixed $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public function get($key, $default = null)
+ {
+ if (is_null($key)) {
+ return;
+ }
+
+ foreach ($this as $outerKey => $outerValue) {
+ if ($outerKey == $key) {
+ return $outerValue;
+ }
+ }
+
+ return value($default);
+ }
+
+ /**
+ * Group an associative array by a field or using a callback.
+ *
+ * @param array|callable|string $groupBy
+ * @param bool $preserveKeys
+ * @return static
+ */
+ public function groupBy($groupBy, $preserveKeys = false)
+ {
+ return $this->passthru('groupBy', func_get_args());
+ }
+
+ /**
+ * Key an associative array by a field or using a callback.
+ *
+ * @param callable|string $keyBy
+ * @return static
+ */
+ public function keyBy($keyBy)
+ {
+ return new static(function () use ($keyBy) {
+ $keyBy = $this->valueRetriever($keyBy);
+
+ foreach ($this as $key => $item) {
+ $resolvedKey = $keyBy($item, $key);
+
+ if (is_object($resolvedKey)) {
+ $resolvedKey = (string) $resolvedKey;
+ }
+
+ yield $resolvedKey => $item;
+ }
+ });
+ }
+
+ /**
+ * Determine if an item exists in the collection by key.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ public function has($key)
+ {
+ $keys = array_flip(is_array($key) ? $key : func_get_args());
+ $count = count($keys);
+
+ foreach ($this as $key => $value) {
+ if (array_key_exists($key, $keys) && --$count == 0) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Determine if any of the keys exist in the collection.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ public function hasAny($key)
+ {
+ $keys = array_flip(is_array($key) ? $key : func_get_args());
+
+ foreach ($this as $key => $value) {
+ if (array_key_exists($key, $keys)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Concatenate values of a given key as a string.
+ *
+ * @param string $value
+ * @param string|null $glue
+ * @return string
+ */
+ public function implode($value, $glue = null)
+ {
+ return $this->collect()->implode(...func_get_args());
+ }
+
+ /**
+ * Intersect the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function intersect($items)
+ {
+ return $this->passthru('intersect', func_get_args());
+ }
+
+ /**
+ * Intersect the collection with the given items by key.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function intersectByKeys($items)
+ {
+ return $this->passthru('intersectByKeys', func_get_args());
+ }
+
+ /**
+ * Determine if the items are empty or not.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return ! $this->getIterator()->valid();
+ }
+
+ /**
+ * Determine if the collection contains a single item.
+ *
+ * @return bool
+ */
+ public function containsOneItem()
+ {
+ return $this->take(2)->count() === 1;
+ }
+
+ /**
+ * Join all items from the collection using a string. The final items can use a separate glue string.
+ *
+ * @param string $glue
+ * @param string $finalGlue
+ * @return string
+ */
+ public function join($glue, $finalGlue = '')
+ {
+ return $this->collect()->join(...func_get_args());
+ }
+
+ /**
+ * Get the keys of the collection items.
+ *
+ * @return static
+ */
+ public function keys()
+ {
+ return new static(function () {
+ foreach ($this as $key => $value) {
+ yield $key;
+ }
+ });
+ }
+
+ /**
+ * Get the last item from the collection.
+ *
+ * @param callable|null $callback
+ * @param mixed $default
+ * @return mixed
+ */
+ public function last(callable $callback = null, $default = null)
+ {
+ $needle = $placeholder = new stdClass;
+
+ foreach ($this as $key => $value) {
+ if (is_null($callback) || $callback($value, $key)) {
+ $needle = $value;
+ }
+ }
+
+ return $needle === $placeholder ? value($default) : $needle;
+ }
+
+ /**
+ * Get the values of a given key.
+ *
+ * @param string|array $value
+ * @param string|null $key
+ * @return static
+ */
+ public function pluck($value, $key = null)
+ {
+ return new static(function () use ($value, $key) {
+ [$value, $key] = $this->explodePluckParameters($value, $key);
+
+ foreach ($this as $item) {
+ $itemValue = data_get($item, $value);
+
+ if (is_null($key)) {
+ yield $itemValue;
+ } else {
+ $itemKey = data_get($item, $key);
+
+ if (is_object($itemKey) && method_exists($itemKey, '__toString')) {
+ $itemKey = (string) $itemKey;
+ }
+
+ yield $itemKey => $itemValue;
+ }
+ }
+ });
+ }
+
+ /**
+ * Run a map over each of the items.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function map(callable $callback)
+ {
+ return new static(function () use ($callback) {
+ foreach ($this as $key => $value) {
+ yield $key => $callback($value, $key);
+ }
+ });
+ }
+
+ /**
+ * Run a dictionary map over the items.
+ *
+ * The callback should return an associative array with a single key/value pair.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function mapToDictionary(callable $callback)
+ {
+ return $this->passthru('mapToDictionary', func_get_args());
+ }
+
+ /**
+ * Run an associative map over each of the items.
+ *
+ * The callback should return an associative array with a single key/value pair.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function mapWithKeys(callable $callback)
+ {
+ return new static(function () use ($callback) {
+ foreach ($this as $key => $value) {
+ yield from $callback($value, $key);
+ }
+ });
+ }
+
+ /**
+ * Merge the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function merge($items)
+ {
+ return $this->passthru('merge', func_get_args());
+ }
+
+ /**
+ * Recursively merge the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function mergeRecursive($items)
+ {
+ return $this->passthru('mergeRecursive', func_get_args());
+ }
+
+ /**
+ * Create a collection by using this collection for keys and another for its values.
+ *
+ * @param mixed $values
+ * @return static
+ */
+ public function combine($values)
+ {
+ return new static(function () use ($values) {
+ $values = $this->makeIterator($values);
+
+ $errorMessage = 'Both parameters should have an equal number of elements';
+
+ foreach ($this as $key) {
+ if (! $values->valid()) {
+ trigger_error($errorMessage, E_USER_WARNING);
+
+ break;
+ }
+
+ yield $key => $values->current();
+
+ $values->next();
+ }
+
+ if ($values->valid()) {
+ trigger_error($errorMessage, E_USER_WARNING);
+ }
+ });
+ }
+
+ /**
+ * Union the collection with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function union($items)
+ {
+ return $this->passthru('union', func_get_args());
+ }
+
+ /**
+ * Create a new collection consisting of every n-th element.
+ *
+ * @param int $step
+ * @param int $offset
+ * @return static
+ */
+ public function nth($step, $offset = 0)
+ {
+ return new static(function () use ($step, $offset) {
+ $position = 0;
+
+ foreach ($this->slice($offset) as $item) {
+ if ($position % $step === 0) {
+ yield $item;
+ }
+
+ $position++;
+ }
+ });
+ }
+
+ /**
+ * Get the items with the specified keys.
+ *
+ * @param mixed $keys
+ * @return static
+ */
+ public function only($keys)
+ {
+ if ($keys instanceof Enumerable) {
+ $keys = $keys->all();
+ } elseif (! is_null($keys)) {
+ $keys = is_array($keys) ? $keys : func_get_args();
+ }
+
+ return new static(function () use ($keys) {
+ if (is_null($keys)) {
+ yield from $this;
+ } else {
+ $keys = array_flip($keys);
+
+ foreach ($this as $key => $value) {
+ if (array_key_exists($key, $keys)) {
+ yield $key => $value;
+
+ unset($keys[$key]);
+
+ if (empty($keys)) {
+ break;
+ }
+ }
+ }
+ }
+ });
+ }
+
+ /**
+ * Push all of the given items onto the collection.
+ *
+ * @param iterable $source
+ * @return static
+ */
+ public function concat($source)
+ {
+ return (new static(function () use ($source) {
+ yield from $this;
+ yield from $source;
+ }))->values();
+ }
+
+ /**
+ * Get one or a specified number of items randomly from the collection.
+ *
+ * @param int|null $number
+ * @return static|mixed
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function random($number = null)
+ {
+ $result = $this->collect()->random(...func_get_args());
+
+ return is_null($number) ? $result : new static($result);
+ }
+
+ /**
+ * Replace the collection items with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function replace($items)
+ {
+ return new static(function () use ($items) {
+ $items = $this->getArrayableItems($items);
+
+ foreach ($this as $key => $value) {
+ if (array_key_exists($key, $items)) {
+ yield $key => $items[$key];
+
+ unset($items[$key]);
+ } else {
+ yield $key => $value;
+ }
+ }
+
+ foreach ($items as $key => $value) {
+ yield $key => $value;
+ }
+ });
+ }
+
+ /**
+ * Recursively replace the collection items with the given items.
+ *
+ * @param mixed $items
+ * @return static
+ */
+ public function replaceRecursive($items)
+ {
+ return $this->passthru('replaceRecursive', func_get_args());
+ }
+
+ /**
+ * Reverse items order.
+ *
+ * @return static
+ */
+ public function reverse()
+ {
+ return $this->passthru('reverse', func_get_args());
+ }
+
+ /**
+ * Search the collection for a given value and return the corresponding key if successful.
+ *
+ * @param mixed $value
+ * @param bool $strict
+ * @return mixed
+ */
+ public function search($value, $strict = false)
+ {
+ $predicate = $this->useAsCallable($value)
+ ? $value
+ : function ($item) use ($value, $strict) {
+ return $strict ? $item === $value : $item == $value;
+ };
+
+ foreach ($this as $key => $item) {
+ if ($predicate($item, $key)) {
+ return $key;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Shuffle the items in the collection.
+ *
+ * @param int|null $seed
+ * @return static
+ */
+ public function shuffle($seed = null)
+ {
+ return $this->passthru('shuffle', func_get_args());
+ }
+
+ /**
+ * Create chunks representing a "sliding window" view of the items in the collection.
+ *
+ * @param int $size
+ * @param int $step
+ * @return static
+ */
+ public function sliding($size = 2, $step = 1)
+ {
+ return new static(function () use ($size, $step) {
+ $iterator = $this->getIterator();
+
+ $chunk = [];
+
+ while ($iterator->valid()) {
+ $chunk[$iterator->key()] = $iterator->current();
+
+ if (count($chunk) == $size) {
+ yield tap(new static($chunk), function () use (&$chunk, $step) {
+ $chunk = array_slice($chunk, $step, null, true);
+ });
+
+ // If the $step between chunks is bigger than each chunk's $size
+ // we will skip the extra items (which should never be in any
+ // chunk) before we continue to the next chunk in the loop.
+ if ($step > $size) {
+ $skip = $step - $size;
+
+ for ($i = 0; $i < $skip && $iterator->valid(); $i++) {
+ $iterator->next();
+ }
+ }
+ }
+
+ $iterator->next();
+ }
+ });
+ }
+
+ /**
+ * Skip the first {$count} items.
+ *
+ * @param int $count
+ * @return static
+ */
+ public function skip($count)
+ {
+ return new static(function () use ($count) {
+ $iterator = $this->getIterator();
+
+ while ($iterator->valid() && $count--) {
+ $iterator->next();
+ }
+
+ while ($iterator->valid()) {
+ yield $iterator->key() => $iterator->current();
+
+ $iterator->next();
+ }
+ });
+ }
+
+ /**
+ * Skip items in the collection until the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function skipUntil($value)
+ {
+ $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
+
+ return $this->skipWhile($this->negate($callback));
+ }
+
+ /**
+ * Skip items in the collection while the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function skipWhile($value)
+ {
+ $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
+
+ return new static(function () use ($callback) {
+ $iterator = $this->getIterator();
+
+ while ($iterator->valid() && $callback($iterator->current(), $iterator->key())) {
+ $iterator->next();
+ }
+
+ while ($iterator->valid()) {
+ yield $iterator->key() => $iterator->current();
+
+ $iterator->next();
+ }
+ });
+ }
+
+ /**
+ * Get a slice of items from the enumerable.
+ *
+ * @param int $offset
+ * @param int|null $length
+ * @return static
+ */
+ public function slice($offset, $length = null)
+ {
+ if ($offset < 0 || $length < 0) {
+ return $this->passthru('slice', func_get_args());
+ }
+
+ $instance = $this->skip($offset);
+
+ return is_null($length) ? $instance : $instance->take($length);
+ }
+
+ /**
+ * Split a collection into a certain number of groups.
+ *
+ * @param int $numberOfGroups
+ * @return static
+ */
+ public function split($numberOfGroups)
+ {
+ return $this->passthru('split', func_get_args());
+ }
+
+ /**
+ * Get the first item in the collection, but only if exactly one item exists. Otherwise, throw an exception.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return mixed
+ *
+ * @throws \Illuminate\Support\ItemNotFoundException
+ * @throws \Illuminate\Support\MultipleItemsFoundException
+ */
+ public function sole($key = null, $operator = null, $value = null)
+ {
+ $filter = func_num_args() > 1
+ ? $this->operatorForWhere(...func_get_args())
+ : $key;
+
+ return $this
+ ->when($filter)
+ ->filter($filter)
+ ->take(2)
+ ->collect()
+ ->sole();
+ }
+
+ /**
+ * Get the first item in the collection but throw an exception if no matching items exist.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return mixed
+ *
+ * @throws \Illuminate\Support\ItemNotFoundException
+ */
+ public function firstOrFail($key = null, $operator = null, $value = null)
+ {
+ $filter = func_num_args() > 1
+ ? $this->operatorForWhere(...func_get_args())
+ : $key;
+
+ return $this
+ ->when($filter)
+ ->filter($filter)
+ ->take(1)
+ ->collect()
+ ->firstOrFail();
+ }
+
+ /**
+ * Chunk the collection into chunks of the given size.
+ *
+ * @param int $size
+ * @return static
+ */
+ public function chunk($size)
+ {
+ if ($size <= 0) {
+ return static::empty();
+ }
+
+ return new static(function () use ($size) {
+ $iterator = $this->getIterator();
+
+ while ($iterator->valid()) {
+ $chunk = [];
+
+ while (true) {
+ $chunk[$iterator->key()] = $iterator->current();
+
+ if (count($chunk) < $size) {
+ $iterator->next();
+
+ if (! $iterator->valid()) {
+ break;
+ }
+ } else {
+ break;
+ }
+ }
+
+ yield new static($chunk);
+
+ $iterator->next();
+ }
+ });
+ }
+
+ /**
+ * Split a collection into a certain number of groups, and fill the first groups completely.
+ *
+ * @param int $numberOfGroups
+ * @return static
+ */
+ public function splitIn($numberOfGroups)
+ {
+ return $this->chunk(ceil($this->count() / $numberOfGroups));
+ }
+
+ /**
+ * Chunk the collection into chunks with a callback.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function chunkWhile(callable $callback)
+ {
+ return new static(function () use ($callback) {
+ $iterator = $this->getIterator();
+
+ $chunk = new Collection;
+
+ if ($iterator->valid()) {
+ $chunk[$iterator->key()] = $iterator->current();
+
+ $iterator->next();
+ }
+
+ while ($iterator->valid()) {
+ if (! $callback($iterator->current(), $iterator->key(), $chunk)) {
+ yield new static($chunk);
+
+ $chunk = new Collection;
+ }
+
+ $chunk[$iterator->key()] = $iterator->current();
+
+ $iterator->next();
+ }
+
+ if ($chunk->isNotEmpty()) {
+ yield new static($chunk);
+ }
+ });
+ }
+
+ /**
+ * Sort through each item with a callback.
+ *
+ * @param callable|null|int $callback
+ * @return static
+ */
+ public function sort($callback = null)
+ {
+ return $this->passthru('sort', func_get_args());
+ }
+
+ /**
+ * Sort items in descending order.
+ *
+ * @param int $options
+ * @return static
+ */
+ public function sortDesc($options = SORT_REGULAR)
+ {
+ return $this->passthru('sortDesc', func_get_args());
+ }
+
+ /**
+ * Sort the collection using the given callback.
+ *
+ * @param callable|string $callback
+ * @param int $options
+ * @param bool $descending
+ * @return static
+ */
+ public function sortBy($callback, $options = SORT_REGULAR, $descending = false)
+ {
+ return $this->passthru('sortBy', func_get_args());
+ }
+
+ /**
+ * Sort the collection in descending order using the given callback.
+ *
+ * @param callable|string $callback
+ * @param int $options
+ * @return static
+ */
+ public function sortByDesc($callback, $options = SORT_REGULAR)
+ {
+ return $this->passthru('sortByDesc', func_get_args());
+ }
+
+ /**
+ * Sort the collection keys.
+ *
+ * @param int $options
+ * @param bool $descending
+ * @return static
+ */
+ public function sortKeys($options = SORT_REGULAR, $descending = false)
+ {
+ return $this->passthru('sortKeys', func_get_args());
+ }
+
+ /**
+ * Sort the collection keys in descending order.
+ *
+ * @param int $options
+ * @return static
+ */
+ public function sortKeysDesc($options = SORT_REGULAR)
+ {
+ return $this->passthru('sortKeysDesc', func_get_args());
+ }
+
+ /**
+ * Sort the collection keys using a callback.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function sortKeysUsing(callable $callback)
+ {
+ return $this->passthru('sortKeysUsing', func_get_args());
+ }
+
+ /**
+ * Take the first or last {$limit} items.
+ *
+ * @param int $limit
+ * @return static
+ */
+ public function take($limit)
+ {
+ if ($limit < 0) {
+ return $this->passthru('take', func_get_args());
+ }
+
+ return new static(function () use ($limit) {
+ $iterator = $this->getIterator();
+
+ while ($limit--) {
+ if (! $iterator->valid()) {
+ break;
+ }
+
+ yield $iterator->key() => $iterator->current();
+
+ if ($limit) {
+ $iterator->next();
+ }
+ }
+ });
+ }
+
+ /**
+ * Take items in the collection until the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function takeUntil($value)
+ {
+ $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
+
+ return new static(function () use ($callback) {
+ foreach ($this as $key => $item) {
+ if ($callback($item, $key)) {
+ break;
+ }
+
+ yield $key => $item;
+ }
+ });
+ }
+
+ /**
+ * Take items in the collection until a given point in time.
+ *
+ * @param \DateTimeInterface $timeout
+ * @return static
+ */
+ public function takeUntilTimeout(DateTimeInterface $timeout)
+ {
+ $timeout = $timeout->getTimestamp();
+
+ return $this->takeWhile(function () use ($timeout) {
+ return $this->now() < $timeout;
+ });
+ }
+
+ /**
+ * Take items in the collection while the given condition is met.
+ *
+ * @param mixed $value
+ * @return static
+ */
+ public function takeWhile($value)
+ {
+ $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
+
+ return $this->takeUntil(function ($item, $key) use ($callback) {
+ return ! $callback($item, $key);
+ });
+ }
+
+ /**
+ * Pass each item in the collection to the given callback, lazily.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function tapEach(callable $callback)
+ {
+ return new static(function () use ($callback) {
+ foreach ($this as $key => $value) {
+ $callback($value, $key);
+
+ yield $key => $value;
+ }
+ });
+ }
+
+ /**
+ * Convert a flatten "dot" notation array into an expanded array.
+ *
+ * @return static
+ */
+ public function undot()
+ {
+ return $this->passthru('undot', []);
+ }
+
+ /**
+ * Return only unique items from the collection array.
+ *
+ * @param string|callable|null $key
+ * @param bool $strict
+ * @return static
+ */
+ public function unique($key = null, $strict = false)
+ {
+ $callback = $this->valueRetriever($key);
+
+ return new static(function () use ($callback, $strict) {
+ $exists = [];
+
+ foreach ($this as $key => $item) {
+ if (! in_array($id = $callback($item, $key), $exists, $strict)) {
+ yield $key => $item;
+
+ $exists[] = $id;
+ }
+ }
+ });
+ }
+
+ /**
+ * Reset the keys on the underlying array.
+ *
+ * @return static
+ */
+ public function values()
+ {
+ return new static(function () {
+ foreach ($this as $item) {
+ yield $item;
+ }
+ });
+ }
+
+ /**
+ * Zip the collection together with one or more arrays.
+ *
+ * e.g. new LazyCollection([1, 2, 3])->zip([4, 5, 6]);
+ * => [[1, 4], [2, 5], [3, 6]]
+ *
+ * @param mixed ...$items
+ * @return static
+ */
+ public function zip($items)
+ {
+ $iterables = func_get_args();
+
+ return new static(function () use ($iterables) {
+ $iterators = Collection::make($iterables)->map(function ($iterable) {
+ return $this->makeIterator($iterable);
+ })->prepend($this->getIterator());
+
+ while ($iterators->contains->valid()) {
+ yield new static($iterators->map->current());
+
+ $iterators->each->next();
+ }
+ });
+ }
+
+ /**
+ * Pad collection to the specified length with a value.
+ *
+ * @param int $size
+ * @param mixed $value
+ * @return static
+ */
+ public function pad($size, $value)
+ {
+ if ($size < 0) {
+ return $this->passthru('pad', func_get_args());
+ }
+
+ return new static(function () use ($size, $value) {
+ $yielded = 0;
+
+ foreach ($this as $index => $item) {
+ yield $index => $item;
+
+ $yielded++;
+ }
+
+ while ($yielded++ < $size) {
+ yield $value;
+ }
+ });
+ }
+
+ /**
+ * Get the values iterator.
+ *
+ * @return \Traversable
+ */
+ #[\ReturnTypeWillChange]
+ public function getIterator()
+ {
+ return $this->makeIterator($this->source);
+ }
+
+ /**
+ * Count the number of items in the collection.
+ *
+ * @return int
+ */
+ #[\ReturnTypeWillChange]
+ public function count()
+ {
+ if (is_array($this->source)) {
+ return count($this->source);
+ }
+
+ return iterator_count($this->getIterator());
+ }
+
+ /**
+ * Make an iterator from the given source.
+ *
+ * @param mixed $source
+ * @return \Traversable
+ */
+ protected function makeIterator($source)
+ {
+ if ($source instanceof IteratorAggregate) {
+ return $source->getIterator();
+ }
+
+ if (is_array($source)) {
+ return new ArrayIterator($source);
+ }
+
+ return $source();
+ }
+
+ /**
+ * Explode the "value" and "key" arguments passed to "pluck".
+ *
+ * @param string|array $value
+ * @param string|array|null $key
+ * @return array
+ */
+ protected function explodePluckParameters($value, $key)
+ {
+ $value = is_string($value) ? explode('.', $value) : $value;
+
+ $key = is_null($key) || is_array($key) ? $key : explode('.', $key);
+
+ return [$value, $key];
+ }
+
+ /**
+ * Pass this lazy collection through a method on the collection class.
+ *
+ * @param string $method
+ * @param array $params
+ * @return static
+ */
+ protected function passthru($method, array $params)
+ {
+ return new static(function () use ($method, $params) {
+ yield from $this->collect()->$method(...$params);
+ });
+ }
+
+ /**
+ * Get the current time.
+ *
+ * @return int
+ */
+ protected function now()
+ {
+ return time();
+ }
+}
diff --git a/vendor/illuminate/collections/MultipleItemsFoundException.php b/vendor/illuminate/collections/MultipleItemsFoundException.php
new file mode 100644
index 0000000..944b2dc
--- /dev/null
+++ b/vendor/illuminate/collections/MultipleItemsFoundException.php
@@ -0,0 +1,9 @@
+all() : $value;
+ }
+
+ /**
+ * Create a new instance with no items.
+ *
+ * @return static
+ */
+ public static function empty()
+ {
+ return new static([]);
+ }
+
+ /**
+ * Create a new collection by invoking the callback a given amount of times.
+ *
+ * @param int $number
+ * @param callable|null $callback
+ * @return static
+ */
+ public static function times($number, callable $callback = null)
+ {
+ if ($number < 1) {
+ return new static;
+ }
+
+ return static::range(1, $number)
+ ->when($callback)
+ ->map($callback);
+ }
+
+ /**
+ * Alias for the "avg" method.
+ *
+ * @param callable|string|null $callback
+ * @return mixed
+ */
+ public function average($callback = null)
+ {
+ return $this->avg($callback);
+ }
+
+ /**
+ * Alias for the "contains" method.
+ *
+ * @param mixed $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return bool
+ */
+ public function some($key, $operator = null, $value = null)
+ {
+ return $this->contains(...func_get_args());
+ }
+
+ /**
+ * Determine if an item exists, using strict comparison.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return bool
+ */
+ public function containsStrict($key, $value = null)
+ {
+ if (func_num_args() === 2) {
+ return $this->contains(function ($item) use ($key, $value) {
+ return data_get($item, $key) === $value;
+ });
+ }
+
+ if ($this->useAsCallable($key)) {
+ return ! is_null($this->first($key));
+ }
+
+ foreach ($this as $item) {
+ if ($item === $key) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Dump the items and end the script.
+ *
+ * @param mixed ...$args
+ * @return void
+ */
+ public function dd(...$args)
+ {
+ $this->dump(...$args);
+
+ exit(1);
+ }
+
+ /**
+ * Dump the items.
+ *
+ * @return $this
+ */
+ public function dump()
+ {
+ (new Collection(func_get_args()))
+ ->push($this->all())
+ ->each(function ($item) {
+ VarDumper::dump($item);
+ });
+
+ return $this;
+ }
+
+ /**
+ * Execute a callback over each item.
+ *
+ * @param callable $callback
+ * @return $this
+ */
+ public function each(callable $callback)
+ {
+ foreach ($this as $key => $item) {
+ if ($callback($item, $key) === false) {
+ break;
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Execute a callback over each nested chunk of items.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function eachSpread(callable $callback)
+ {
+ return $this->each(function ($chunk, $key) use ($callback) {
+ $chunk[] = $key;
+
+ return $callback(...$chunk);
+ });
+ }
+
+ /**
+ * Determine if all items pass the given truth test.
+ *
+ * @param string|callable $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return bool
+ */
+ public function every($key, $operator = null, $value = null)
+ {
+ if (func_num_args() === 1) {
+ $callback = $this->valueRetriever($key);
+
+ foreach ($this as $k => $v) {
+ if (! $callback($v, $k)) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ return $this->every($this->operatorForWhere(...func_get_args()));
+ }
+
+ /**
+ * Get the first item by the given key value pair.
+ *
+ * @param string $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return mixed
+ */
+ public function firstWhere($key, $operator = null, $value = null)
+ {
+ return $this->first($this->operatorForWhere(...func_get_args()));
+ }
+
+ /**
+ * Determine if the collection is not empty.
+ *
+ * @return bool
+ */
+ public function isNotEmpty()
+ {
+ return ! $this->isEmpty();
+ }
+
+ /**
+ * Run a map over each nested chunk of items.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function mapSpread(callable $callback)
+ {
+ return $this->map(function ($chunk, $key) use ($callback) {
+ $chunk[] = $key;
+
+ return $callback(...$chunk);
+ });
+ }
+
+ /**
+ * Run a grouping map over the items.
+ *
+ * The callback should return an associative array with a single key/value pair.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function mapToGroups(callable $callback)
+ {
+ $groups = $this->mapToDictionary($callback);
+
+ return $groups->map([$this, 'make']);
+ }
+
+ /**
+ * Map a collection and flatten the result by a single level.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function flatMap(callable $callback)
+ {
+ return $this->map($callback)->collapse();
+ }
+
+ /**
+ * Map the values into a new class.
+ *
+ * @param string $class
+ * @return static
+ */
+ public function mapInto($class)
+ {
+ return $this->map(function ($value, $key) use ($class) {
+ return new $class($value, $key);
+ });
+ }
+
+ /**
+ * Get the min value of a given key.
+ *
+ * @param callable|string|null $callback
+ * @return mixed
+ */
+ public function min($callback = null)
+ {
+ $callback = $this->valueRetriever($callback);
+
+ return $this->map(function ($value) use ($callback) {
+ return $callback($value);
+ })->filter(function ($value) {
+ return ! is_null($value);
+ })->reduce(function ($result, $value) {
+ return is_null($result) || $value < $result ? $value : $result;
+ });
+ }
+
+ /**
+ * Get the max value of a given key.
+ *
+ * @param callable|string|null $callback
+ * @return mixed
+ */
+ public function max($callback = null)
+ {
+ $callback = $this->valueRetriever($callback);
+
+ return $this->filter(function ($value) {
+ return ! is_null($value);
+ })->reduce(function ($result, $item) use ($callback) {
+ $value = $callback($item);
+
+ return is_null($result) || $value > $result ? $value : $result;
+ });
+ }
+
+ /**
+ * "Paginate" the collection by slicing it into a smaller collection.
+ *
+ * @param int $page
+ * @param int $perPage
+ * @return static
+ */
+ public function forPage($page, $perPage)
+ {
+ $offset = max(0, ($page - 1) * $perPage);
+
+ return $this->slice($offset, $perPage);
+ }
+
+ /**
+ * Partition the collection into two arrays using the given callback or key.
+ *
+ * @param callable|string $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return static
+ */
+ public function partition($key, $operator = null, $value = null)
+ {
+ $passed = [];
+ $failed = [];
+
+ $callback = func_num_args() === 1
+ ? $this->valueRetriever($key)
+ : $this->operatorForWhere(...func_get_args());
+
+ foreach ($this as $key => $item) {
+ if ($callback($item, $key)) {
+ $passed[$key] = $item;
+ } else {
+ $failed[$key] = $item;
+ }
+ }
+
+ return new static([new static($passed), new static($failed)]);
+ }
+
+ /**
+ * Get the sum of the given values.
+ *
+ * @param callable|string|null $callback
+ * @return mixed
+ */
+ public function sum($callback = null)
+ {
+ $callback = is_null($callback)
+ ? $this->identity()
+ : $this->valueRetriever($callback);
+
+ return $this->reduce(function ($result, $item) use ($callback) {
+ return $result + $callback($item);
+ }, 0);
+ }
+
+ /**
+ * Apply the callback if the value is truthy.
+ *
+ * @param bool|mixed $value
+ * @param callable|null $callback
+ * @param callable|null $default
+ * @return static|mixed
+ */
+ public function when($value, callable $callback = null, callable $default = null)
+ {
+ if (! $callback) {
+ return new HigherOrderWhenProxy($this, $value);
+ }
+
+ if ($value) {
+ return $callback($this, $value);
+ } elseif ($default) {
+ return $default($this, $value);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Apply the callback if the collection is empty.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static|mixed
+ */
+ public function whenEmpty(callable $callback, callable $default = null)
+ {
+ return $this->when($this->isEmpty(), $callback, $default);
+ }
+
+ /**
+ * Apply the callback if the collection is not empty.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static|mixed
+ */
+ public function whenNotEmpty(callable $callback, callable $default = null)
+ {
+ return $this->when($this->isNotEmpty(), $callback, $default);
+ }
+
+ /**
+ * Apply the callback if the value is falsy.
+ *
+ * @param bool $value
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static|mixed
+ */
+ public function unless($value, callable $callback, callable $default = null)
+ {
+ return $this->when(! $value, $callback, $default);
+ }
+
+ /**
+ * Apply the callback unless the collection is empty.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static|mixed
+ */
+ public function unlessEmpty(callable $callback, callable $default = null)
+ {
+ return $this->whenNotEmpty($callback, $default);
+ }
+
+ /**
+ * Apply the callback unless the collection is not empty.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static|mixed
+ */
+ public function unlessNotEmpty(callable $callback, callable $default = null)
+ {
+ return $this->whenEmpty($callback, $default);
+ }
+
+ /**
+ * Filter items by the given key value pair.
+ *
+ * @param string $key
+ * @param mixed $operator
+ * @param mixed $value
+ * @return static
+ */
+ public function where($key, $operator = null, $value = null)
+ {
+ return $this->filter($this->operatorForWhere(...func_get_args()));
+ }
+
+ /**
+ * Filter items where the value for the given key is null.
+ *
+ * @param string|null $key
+ * @return static
+ */
+ public function whereNull($key = null)
+ {
+ return $this->whereStrict($key, null);
+ }
+
+ /**
+ * Filter items where the value for the given key is not null.
+ *
+ * @param string|null $key
+ * @return static
+ */
+ public function whereNotNull($key = null)
+ {
+ return $this->where($key, '!==', null);
+ }
+
+ /**
+ * Filter items by the given key value pair using strict comparison.
+ *
+ * @param string $key
+ * @param mixed $value
+ * @return static
+ */
+ public function whereStrict($key, $value)
+ {
+ return $this->where($key, '===', $value);
+ }
+
+ /**
+ * Filter items by the given key value pair.
+ *
+ * @param string $key
+ * @param mixed $values
+ * @param bool $strict
+ * @return static
+ */
+ public function whereIn($key, $values, $strict = false)
+ {
+ $values = $this->getArrayableItems($values);
+
+ return $this->filter(function ($item) use ($key, $values, $strict) {
+ return in_array(data_get($item, $key), $values, $strict);
+ });
+ }
+
+ /**
+ * Filter items by the given key value pair using strict comparison.
+ *
+ * @param string $key
+ * @param mixed $values
+ * @return static
+ */
+ public function whereInStrict($key, $values)
+ {
+ return $this->whereIn($key, $values, true);
+ }
+
+ /**
+ * Filter items such that the value of the given key is between the given values.
+ *
+ * @param string $key
+ * @param array $values
+ * @return static
+ */
+ public function whereBetween($key, $values)
+ {
+ return $this->where($key, '>=', reset($values))->where($key, '<=', end($values));
+ }
+
+ /**
+ * Filter items such that the value of the given key is not between the given values.
+ *
+ * @param string $key
+ * @param array $values
+ * @return static
+ */
+ public function whereNotBetween($key, $values)
+ {
+ return $this->filter(function ($item) use ($key, $values) {
+ return data_get($item, $key) < reset($values) || data_get($item, $key) > end($values);
+ });
+ }
+
+ /**
+ * Filter items by the given key value pair.
+ *
+ * @param string $key
+ * @param mixed $values
+ * @param bool $strict
+ * @return static
+ */
+ public function whereNotIn($key, $values, $strict = false)
+ {
+ $values = $this->getArrayableItems($values);
+
+ return $this->reject(function ($item) use ($key, $values, $strict) {
+ return in_array(data_get($item, $key), $values, $strict);
+ });
+ }
+
+ /**
+ * Filter items by the given key value pair using strict comparison.
+ *
+ * @param string $key
+ * @param mixed $values
+ * @return static
+ */
+ public function whereNotInStrict($key, $values)
+ {
+ return $this->whereNotIn($key, $values, true);
+ }
+
+ /**
+ * Filter the items, removing any items that don't match the given type(s).
+ *
+ * @param string|string[] $type
+ * @return static
+ */
+ public function whereInstanceOf($type)
+ {
+ return $this->filter(function ($value) use ($type) {
+ if (is_array($type)) {
+ foreach ($type as $classType) {
+ if ($value instanceof $classType) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ return $value instanceof $type;
+ });
+ }
+
+ /**
+ * Pass the collection to the given callback and return the result.
+ *
+ * @param callable $callback
+ * @return mixed
+ */
+ public function pipe(callable $callback)
+ {
+ return $callback($this);
+ }
+
+ /**
+ * Pass the collection into a new class.
+ *
+ * @param string $class
+ * @return mixed
+ */
+ public function pipeInto($class)
+ {
+ return new $class($this);
+ }
+
+ /**
+ * Pass the collection through a series of callable pipes and return the result.
+ *
+ * @param array $pipes
+ * @return mixed
+ */
+ public function pipeThrough($pipes)
+ {
+ return static::make($pipes)->reduce(
+ function ($carry, $pipe) {
+ return $pipe($carry);
+ },
+ $this,
+ );
+ }
+
+ /**
+ * Pass the collection to the given callback and then return it.
+ *
+ * @param callable $callback
+ * @return $this
+ */
+ public function tap(callable $callback)
+ {
+ $callback(clone $this);
+
+ return $this;
+ }
+
+ /**
+ * Reduce the collection to a single value.
+ *
+ * @param callable $callback
+ * @param mixed $initial
+ * @return mixed
+ */
+ public function reduce(callable $callback, $initial = null)
+ {
+ $result = $initial;
+
+ foreach ($this as $key => $value) {
+ $result = $callback($result, $value, $key);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Reduce the collection to multiple aggregate values.
+ *
+ * @param callable $callback
+ * @param mixed ...$initial
+ * @return array
+ *
+ * @deprecated Use "reduceSpread" instead
+ *
+ * @throws \UnexpectedValueException
+ */
+ public function reduceMany(callable $callback, ...$initial)
+ {
+ return $this->reduceSpread($callback, ...$initial);
+ }
+
+ /**
+ * Reduce the collection to multiple aggregate values.
+ *
+ * @param callable $callback
+ * @param mixed ...$initial
+ * @return array
+ *
+ * @throws \UnexpectedValueException
+ */
+ public function reduceSpread(callable $callback, ...$initial)
+ {
+ $result = $initial;
+
+ foreach ($this as $key => $value) {
+ $result = call_user_func_array($callback, array_merge($result, [$value, $key]));
+
+ if (! is_array($result)) {
+ throw new UnexpectedValueException(sprintf(
+ "%s::reduceMany expects reducer to return an array, but got a '%s' instead.",
+ class_basename(static::class), gettype($result)
+ ));
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Reduce an associative collection to a single value.
+ *
+ * @param callable $callback
+ * @param mixed $initial
+ * @return mixed
+ */
+ public function reduceWithKeys(callable $callback, $initial = null)
+ {
+ return $this->reduce($callback, $initial);
+ }
+
+ /**
+ * Create a collection of all elements that do not pass a given truth test.
+ *
+ * @param callable|mixed $callback
+ * @return static
+ */
+ public function reject($callback = true)
+ {
+ $useAsCallable = $this->useAsCallable($callback);
+
+ return $this->filter(function ($value, $key) use ($callback, $useAsCallable) {
+ return $useAsCallable
+ ? ! $callback($value, $key)
+ : $value != $callback;
+ });
+ }
+
+ /**
+ * Return only unique items from the collection array using strict comparison.
+ *
+ * @param string|callable|null $key
+ * @return static
+ */
+ public function uniqueStrict($key = null)
+ {
+ return $this->unique($key, true);
+ }
+
+ /**
+ * Collect the values into a collection.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function collect()
+ {
+ return new Collection($this->all());
+ }
+
+ /**
+ * Get the collection of items as a plain array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return $this->map(function ($value) {
+ return $value instanceof Arrayable ? $value->toArray() : $value;
+ })->all();
+ }
+
+ /**
+ * Convert the object into something JSON serializable.
+ *
+ * @return array
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return array_map(function ($value) {
+ if ($value instanceof JsonSerializable) {
+ return $value->jsonSerialize();
+ } elseif ($value instanceof Jsonable) {
+ return json_decode($value->toJson(), true);
+ } elseif ($value instanceof Arrayable) {
+ return $value->toArray();
+ }
+
+ return $value;
+ }, $this->all());
+ }
+
+ /**
+ * Get the collection of items as JSON.
+ *
+ * @param int $options
+ * @return string
+ */
+ public function toJson($options = 0)
+ {
+ return json_encode($this->jsonSerialize(), $options);
+ }
+
+ /**
+ * Get a CachingIterator instance.
+ *
+ * @param int $flags
+ * @return \CachingIterator
+ */
+ public function getCachingIterator($flags = CachingIterator::CALL_TOSTRING)
+ {
+ return new CachingIterator($this->getIterator(), $flags);
+ }
+
+ /**
+ * Convert the collection to its string representation.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->escapeWhenCastingToString
+ ? e($this->toJson())
+ : $this->toJson();
+ }
+
+ /**
+ * Indicate that the model's string representation should be escaped when __toString is invoked.
+ *
+ * @param bool $escape
+ * @return $this
+ */
+ public function escapeWhenCastingToString($escape = true)
+ {
+ $this->escapeWhenCastingToString = $escape;
+
+ return $this;
+ }
+
+ /**
+ * Add a method to the list of proxied methods.
+ *
+ * @param string $method
+ * @return void
+ */
+ public static function proxy($method)
+ {
+ static::$proxies[] = $method;
+ }
+
+ /**
+ * Dynamically access collection proxies.
+ *
+ * @param string $key
+ * @return mixed
+ *
+ * @throws \Exception
+ */
+ public function __get($key)
+ {
+ if (! in_array($key, static::$proxies)) {
+ throw new Exception("Property [{$key}] does not exist on this collection instance.");
+ }
+
+ return new HigherOrderCollectionProxy($this, $key);
+ }
+
+ /**
+ * Results array of items from Collection or Arrayable.
+ *
+ * @param mixed $items
+ * @return array
+ */
+ protected function getArrayableItems($items)
+ {
+ if (is_array($items)) {
+ return $items;
+ } elseif ($items instanceof Enumerable) {
+ return $items->all();
+ } elseif ($items instanceof Arrayable) {
+ return $items->toArray();
+ } elseif ($items instanceof Jsonable) {
+ return json_decode($items->toJson(), true);
+ } elseif ($items instanceof JsonSerializable) {
+ return (array) $items->jsonSerialize();
+ } elseif ($items instanceof Traversable) {
+ return iterator_to_array($items);
+ } elseif ($items instanceof UnitEnum) {
+ return [$items];
+ }
+
+ return (array) $items;
+ }
+
+ /**
+ * Get an operator checker callback.
+ *
+ * @param string $key
+ * @param string|null $operator
+ * @param mixed $value
+ * @return \Closure
+ */
+ protected function operatorForWhere($key, $operator = null, $value = null)
+ {
+ if (func_num_args() === 1) {
+ $value = true;
+
+ $operator = '=';
+ }
+
+ if (func_num_args() === 2) {
+ $value = $operator;
+
+ $operator = '=';
+ }
+
+ return function ($item) use ($key, $operator, $value) {
+ $retrieved = data_get($item, $key);
+
+ $strings = array_filter([$retrieved, $value], function ($value) {
+ return is_string($value) || (is_object($value) && method_exists($value, '__toString'));
+ });
+
+ if (count($strings) < 2 && count(array_filter([$retrieved, $value], 'is_object')) == 1) {
+ return in_array($operator, ['!=', '<>', '!==']);
+ }
+
+ switch ($operator) {
+ default:
+ case '=':
+ case '==': return $retrieved == $value;
+ case '!=':
+ case '<>': return $retrieved != $value;
+ case '<': return $retrieved < $value;
+ case '>': return $retrieved > $value;
+ case '<=': return $retrieved <= $value;
+ case '>=': return $retrieved >= $value;
+ case '===': return $retrieved === $value;
+ case '!==': return $retrieved !== $value;
+ }
+ };
+ }
+
+ /**
+ * Determine if the given value is callable, but not a string.
+ *
+ * @param mixed $value
+ * @return bool
+ */
+ protected function useAsCallable($value)
+ {
+ return ! is_string($value) && is_callable($value);
+ }
+
+ /**
+ * Get a value retrieving callback.
+ *
+ * @param callable|string|null $value
+ * @return callable
+ */
+ protected function valueRetriever($value)
+ {
+ if ($this->useAsCallable($value)) {
+ return $value;
+ }
+
+ return function ($item) use ($value) {
+ return data_get($item, $value);
+ };
+ }
+
+ /**
+ * Make a function to check an item's equality.
+ *
+ * @param mixed $value
+ * @return \Closure
+ */
+ protected function equality($value)
+ {
+ return function ($item) use ($value) {
+ return $item === $value;
+ };
+ }
+
+ /**
+ * Make a function using another function, by negating its result.
+ *
+ * @param \Closure $callback
+ * @return \Closure
+ */
+ protected function negate(Closure $callback)
+ {
+ return function (...$params) use ($callback) {
+ return ! $callback(...$params);
+ };
+ }
+
+ /**
+ * Make a function that returns what's passed to it.
+ *
+ * @return \Closure
+ */
+ protected function identity()
+ {
+ return function ($value) {
+ return $value;
+ };
+ }
+}
diff --git a/vendor/illuminate/collections/composer.json b/vendor/illuminate/collections/composer.json
new file mode 100644
index 0000000..ecc4537
--- /dev/null
+++ b/vendor/illuminate/collections/composer.json
@@ -0,0 +1,41 @@
+{
+ "name": "illuminate/collections",
+ "description": "The Illuminate Collections package.",
+ "license": "MIT",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "require": {
+ "php": "^7.3|^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/macroable": "^8.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ },
+ "files": [
+ "helpers.php"
+ ]
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "suggest": {
+ "symfony/var-dumper": "Required to use the dump method (^5.4)."
+ },
+ "config": {
+ "sort-packages": true
+ },
+ "minimum-stability": "dev"
+}
diff --git a/vendor/illuminate/collections/helpers.php b/vendor/illuminate/collections/helpers.php
new file mode 100644
index 0000000..67669e5
--- /dev/null
+++ b/vendor/illuminate/collections/helpers.php
@@ -0,0 +1,186 @@
+ $segment) {
+ unset($key[$i]);
+
+ if (is_null($segment)) {
+ return $target;
+ }
+
+ if ($segment === '*') {
+ if ($target instanceof Collection) {
+ $target = $target->all();
+ } elseif (! is_array($target)) {
+ return value($default);
+ }
+
+ $result = [];
+
+ foreach ($target as $item) {
+ $result[] = data_get($item, $key);
+ }
+
+ return in_array('*', $key) ? Arr::collapse($result) : $result;
+ }
+
+ if (Arr::accessible($target) && Arr::exists($target, $segment)) {
+ $target = $target[$segment];
+ } elseif (is_object($target) && isset($target->{$segment})) {
+ $target = $target->{$segment};
+ } else {
+ return value($default);
+ }
+ }
+
+ return $target;
+ }
+}
+
+if (! function_exists('data_set')) {
+ /**
+ * Set an item on an array or object using dot notation.
+ *
+ * @param mixed $target
+ * @param string|array $key
+ * @param mixed $value
+ * @param bool $overwrite
+ * @return mixed
+ */
+ function data_set(&$target, $key, $value, $overwrite = true)
+ {
+ $segments = is_array($key) ? $key : explode('.', $key);
+
+ if (($segment = array_shift($segments)) === '*') {
+ if (! Arr::accessible($target)) {
+ $target = [];
+ }
+
+ if ($segments) {
+ foreach ($target as &$inner) {
+ data_set($inner, $segments, $value, $overwrite);
+ }
+ } elseif ($overwrite) {
+ foreach ($target as &$inner) {
+ $inner = $value;
+ }
+ }
+ } elseif (Arr::accessible($target)) {
+ if ($segments) {
+ if (! Arr::exists($target, $segment)) {
+ $target[$segment] = [];
+ }
+
+ data_set($target[$segment], $segments, $value, $overwrite);
+ } elseif ($overwrite || ! Arr::exists($target, $segment)) {
+ $target[$segment] = $value;
+ }
+ } elseif (is_object($target)) {
+ if ($segments) {
+ if (! isset($target->{$segment})) {
+ $target->{$segment} = [];
+ }
+
+ data_set($target->{$segment}, $segments, $value, $overwrite);
+ } elseif ($overwrite || ! isset($target->{$segment})) {
+ $target->{$segment} = $value;
+ }
+ } else {
+ $target = [];
+
+ if ($segments) {
+ data_set($target[$segment], $segments, $value, $overwrite);
+ } elseif ($overwrite) {
+ $target[$segment] = $value;
+ }
+ }
+
+ return $target;
+ }
+}
+
+if (! function_exists('head')) {
+ /**
+ * Get the first element of an array. Useful for method chaining.
+ *
+ * @param array $array
+ * @return mixed
+ */
+ function head($array)
+ {
+ return reset($array);
+ }
+}
+
+if (! function_exists('last')) {
+ /**
+ * Get the last element from an array.
+ *
+ * @param array $array
+ * @return mixed
+ */
+ function last($array)
+ {
+ return end($array);
+ }
+}
+
+if (! function_exists('value')) {
+ /**
+ * Return the default value of the given value.
+ *
+ * @param mixed $value
+ * @return mixed
+ */
+ function value($value, ...$args)
+ {
+ return $value instanceof Closure ? $value(...$args) : $value;
+ }
+}
diff --git a/vendor/illuminate/contracts/Auth/Access/Authorizable.php b/vendor/illuminate/contracts/Auth/Access/Authorizable.php
new file mode 100644
index 0000000..cedeb6e
--- /dev/null
+++ b/vendor/illuminate/contracts/Auth/Access/Authorizable.php
@@ -0,0 +1,15 @@
+id = $id;
+ $this->class = $class;
+ $this->relations = $relations;
+ $this->connection = $connection;
+ }
+}
diff --git a/vendor/illuminate/contracts/Debug/ExceptionHandler.php b/vendor/illuminate/contracts/Debug/ExceptionHandler.php
new file mode 100644
index 0000000..54381a1
--- /dev/null
+++ b/vendor/illuminate/contracts/Debug/ExceptionHandler.php
@@ -0,0 +1,46 @@
+getMethods(
+ ReflectionMethod::IS_PUBLIC | ReflectionMethod::IS_PROTECTED
+ );
+
+ foreach ($methods as $method) {
+ if ($replace || ! static::hasMacro($method->name)) {
+ $method->setAccessible(true);
+ static::macro($method->name, $method->invoke($mixin));
+ }
+ }
+ }
+
+ /**
+ * Checks if macro is registered.
+ *
+ * @param string $name
+ * @return bool
+ */
+ public static function hasMacro($name)
+ {
+ return isset(static::$macros[$name]);
+ }
+
+ /**
+ * Flush the existing macros.
+ *
+ * @return void
+ */
+ public static function flushMacros()
+ {
+ static::$macros = [];
+ }
+
+ /**
+ * Dynamically handle calls to the class.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ *
+ * @throws \BadMethodCallException
+ */
+ public static function __callStatic($method, $parameters)
+ {
+ if (! static::hasMacro($method)) {
+ throw new BadMethodCallException(sprintf(
+ 'Method %s::%s does not exist.', static::class, $method
+ ));
+ }
+
+ $macro = static::$macros[$method];
+
+ if ($macro instanceof Closure) {
+ $macro = $macro->bindTo(null, static::class);
+ }
+
+ return $macro(...$parameters);
+ }
+
+ /**
+ * Dynamically handle calls to the class.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ *
+ * @throws \BadMethodCallException
+ */
+ public function __call($method, $parameters)
+ {
+ if (! static::hasMacro($method)) {
+ throw new BadMethodCallException(sprintf(
+ 'Method %s::%s does not exist.', static::class, $method
+ ));
+ }
+
+ $macro = static::$macros[$method];
+
+ if ($macro instanceof Closure) {
+ $macro = $macro->bindTo($this, static::class);
+ }
+
+ return $macro(...$parameters);
+ }
+}
diff --git a/vendor/illuminate/macroable/composer.json b/vendor/illuminate/macroable/composer.json
new file mode 100644
index 0000000..dfa5c62
--- /dev/null
+++ b/vendor/illuminate/macroable/composer.json
@@ -0,0 +1,33 @@
+{
+ "name": "illuminate/macroable",
+ "description": "The Illuminate Macroable package.",
+ "license": "MIT",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "require": {
+ "php": "^7.3|^8.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "config": {
+ "sort-packages": true
+ },
+ "minimum-stability": "dev"
+}
diff --git a/vendor/illuminate/pagination/AbstractCursorPaginator.php b/vendor/illuminate/pagination/AbstractCursorPaginator.php
new file mode 100644
index 0000000..1234485
--- /dev/null
+++ b/vendor/illuminate/pagination/AbstractCursorPaginator.php
@@ -0,0 +1,676 @@
+cursorName => $cursor->encode()];
+
+ if (count($this->query) > 0) {
+ $parameters = array_merge($this->query, $parameters);
+ }
+
+ return $this->path()
+ .(Str::contains($this->path(), '?') ? '&' : '?')
+ .Arr::query($parameters)
+ .$this->buildFragment();
+ }
+
+ /**
+ * Get the URL for the previous page.
+ *
+ * @return string|null
+ */
+ public function previousPageUrl()
+ {
+ if (is_null($previousCursor = $this->previousCursor())) {
+ return null;
+ }
+
+ return $this->url($previousCursor);
+ }
+
+ /**
+ * The URL for the next page, or null.
+ *
+ * @return string|null
+ */
+ public function nextPageUrl()
+ {
+ if (is_null($nextCursor = $this->nextCursor())) {
+ return null;
+ }
+
+ return $this->url($nextCursor);
+ }
+
+ /**
+ * Get the "cursor" that points to the previous set of items.
+ *
+ * @return \Illuminate\Pagination\Cursor|null
+ */
+ public function previousCursor()
+ {
+ if (is_null($this->cursor) ||
+ ($this->cursor->pointsToPreviousItems() && ! $this->hasMore)) {
+ return null;
+ }
+
+ if ($this->items->isEmpty()) {
+ return null;
+ }
+
+ return $this->getCursorForItem($this->items->first(), false);
+ }
+
+ /**
+ * Get the "cursor" that points to the next set of items.
+ *
+ * @return \Illuminate\Pagination\Cursor|null
+ */
+ public function nextCursor()
+ {
+ if ((is_null($this->cursor) && ! $this->hasMore) ||
+ (! is_null($this->cursor) && $this->cursor->pointsToNextItems() && ! $this->hasMore)) {
+ return null;
+ }
+
+ if ($this->items->isEmpty()) {
+ return null;
+ }
+
+ return $this->getCursorForItem($this->items->last(), true);
+ }
+
+ /**
+ * Get a cursor instance for the given item.
+ *
+ * @param \ArrayAccess|\stdClass $item
+ * @param bool $isNext
+ * @return \Illuminate\Pagination\Cursor
+ */
+ public function getCursorForItem($item, $isNext = true)
+ {
+ return new Cursor($this->getParametersForItem($item), $isNext);
+ }
+
+ /**
+ * Get the cursor parameters for a given object.
+ *
+ * @param \ArrayAccess|\stdClass $item
+ * @return array
+ *
+ * @throws \Exception
+ */
+ public function getParametersForItem($item)
+ {
+ return collect($this->parameters)
+ ->flip()
+ ->map(function ($_, $parameterName) use ($item) {
+ if ($item instanceof JsonResource) {
+ $item = $item->resource;
+ }
+
+ if ($item instanceof Model &&
+ ! is_null($parameter = $this->getPivotParameterForItem($item, $parameterName))) {
+ return $parameter;
+ } elseif ($item instanceof ArrayAccess || is_array($item)) {
+ return $this->ensureParameterIsPrimitive(
+ $item[$parameterName] ?? $item[Str::afterLast($parameterName, '.')]
+ );
+ } elseif (is_object($item)) {
+ return $this->ensureParameterIsPrimitive(
+ $item->{$parameterName} ?? $item->{Str::afterLast($parameterName, '.')}
+ );
+ }
+
+ throw new Exception('Only arrays and objects are supported when cursor paginating items.');
+ })->toArray();
+ }
+
+ /**
+ * Get the cursor parameter value from a pivot model if applicable.
+ *
+ * @param \ArrayAccess|\stdClass $item
+ * @param string $parameterName
+ * @return string|null
+ */
+ protected function getPivotParameterForItem($item, $parameterName)
+ {
+ $table = Str::beforeLast($parameterName, '.');
+
+ foreach ($item->getRelations() as $relation) {
+ if ($relation instanceof Pivot && $relation->getTable() === $table) {
+ return $this->ensureParameterIsPrimitive(
+ $relation->getAttribute(Str::afterLast($parameterName, '.'))
+ );
+ }
+ }
+ }
+
+ /**
+ * Ensure the parameter is a primitive type.
+ *
+ * This can resolve issues that arise the developer uses a value object for an attribute.
+ *
+ * @param mixed $parameter
+ * @return mixed
+ */
+ protected function ensureParameterIsPrimitive($parameter)
+ {
+ return is_object($parameter) && method_exists($parameter, '__toString')
+ ? (string) $parameter
+ : $parameter;
+ }
+
+ /**
+ * Get / set the URL fragment to be appended to URLs.
+ *
+ * @param string|null $fragment
+ * @return $this|string|null
+ */
+ public function fragment($fragment = null)
+ {
+ if (is_null($fragment)) {
+ return $this->fragment;
+ }
+
+ $this->fragment = $fragment;
+
+ return $this;
+ }
+
+ /**
+ * Add a set of query string values to the paginator.
+ *
+ * @param array|string|null $key
+ * @param string|null $value
+ * @return $this
+ */
+ public function appends($key, $value = null)
+ {
+ if (is_null($key)) {
+ return $this;
+ }
+
+ if (is_array($key)) {
+ return $this->appendArray($key);
+ }
+
+ return $this->addQuery($key, $value);
+ }
+
+ /**
+ * Add an array of query string values.
+ *
+ * @param array $keys
+ * @return $this
+ */
+ protected function appendArray(array $keys)
+ {
+ foreach ($keys as $key => $value) {
+ $this->addQuery($key, $value);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add all current query string values to the paginator.
+ *
+ * @return $this
+ */
+ public function withQueryString()
+ {
+ if (! is_null($query = Paginator::resolveQueryString())) {
+ return $this->appends($query);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add a query string value to the paginator.
+ *
+ * @param string $key
+ * @param string $value
+ * @return $this
+ */
+ protected function addQuery($key, $value)
+ {
+ if ($key !== $this->cursorName) {
+ $this->query[$key] = $value;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Build the full fragment portion of a URL.
+ *
+ * @return string
+ */
+ protected function buildFragment()
+ {
+ return $this->fragment ? '#'.$this->fragment : '';
+ }
+
+ /**
+ * Load a set of relationships onto the mixed relationship collection.
+ *
+ * @param string $relation
+ * @param array $relations
+ * @return $this
+ */
+ public function loadMorph($relation, $relations)
+ {
+ $this->getCollection()->loadMorph($relation, $relations);
+
+ return $this;
+ }
+
+ /**
+ * Load a set of relationship counts onto the mixed relationship collection.
+ *
+ * @param string $relation
+ * @param array $relations
+ * @return $this
+ */
+ public function loadMorphCount($relation, $relations)
+ {
+ $this->getCollection()->loadMorphCount($relation, $relations);
+
+ return $this;
+ }
+
+ /**
+ * Get the slice of items being paginated.
+ *
+ * @return array
+ */
+ public function items()
+ {
+ return $this->items->all();
+ }
+
+ /**
+ * Transform each item in the slice of items using a callback.
+ *
+ * @param callable $callback
+ * @return $this
+ */
+ public function through(callable $callback)
+ {
+ $this->items->transform($callback);
+
+ return $this;
+ }
+
+ /**
+ * Get the number of items shown per page.
+ *
+ * @return int
+ */
+ public function perPage()
+ {
+ return $this->perPage;
+ }
+
+ /**
+ * Get the current cursor being paginated.
+ *
+ * @return \Illuminate\Pagination\Cursor|null
+ */
+ public function cursor()
+ {
+ return $this->cursor;
+ }
+
+ /**
+ * Get the query string variable used to store the cursor.
+ *
+ * @return string
+ */
+ public function getCursorName()
+ {
+ return $this->cursorName;
+ }
+
+ /**
+ * Set the query string variable used to store the cursor.
+ *
+ * @param string $name
+ * @return $this
+ */
+ public function setCursorName($name)
+ {
+ $this->cursorName = $name;
+
+ return $this;
+ }
+
+ /**
+ * Set the base path to assign to all URLs.
+ *
+ * @param string $path
+ * @return $this
+ */
+ public function withPath($path)
+ {
+ return $this->setPath($path);
+ }
+
+ /**
+ * Set the base path to assign to all URLs.
+ *
+ * @param string $path
+ * @return $this
+ */
+ public function setPath($path)
+ {
+ $this->path = $path;
+
+ return $this;
+ }
+
+ /**
+ * Get the base path for paginator generated URLs.
+ *
+ * @return string|null
+ */
+ public function path()
+ {
+ return $this->path;
+ }
+
+ /**
+ * Resolve the current cursor or return the default value.
+ *
+ * @param string $cursorName
+ * @return \Illuminate\Pagination\Cursor|null
+ */
+ public static function resolveCurrentCursor($cursorName = 'cursor', $default = null)
+ {
+ if (isset(static::$currentCursorResolver)) {
+ return call_user_func(static::$currentCursorResolver, $cursorName);
+ }
+
+ return $default;
+ }
+
+ /**
+ * Set the current cursor resolver callback.
+ *
+ * @param \Closure $resolver
+ * @return void
+ */
+ public static function currentCursorResolver(Closure $resolver)
+ {
+ static::$currentCursorResolver = $resolver;
+ }
+
+ /**
+ * Get an instance of the view factory from the resolver.
+ *
+ * @return \Illuminate\Contracts\View\Factory
+ */
+ public static function viewFactory()
+ {
+ return Paginator::viewFactory();
+ }
+
+ /**
+ * Get an iterator for the items.
+ *
+ * @return \ArrayIterator
+ */
+ #[\ReturnTypeWillChange]
+ public function getIterator()
+ {
+ return $this->items->getIterator();
+ }
+
+ /**
+ * Determine if the list of items is empty.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return $this->items->isEmpty();
+ }
+
+ /**
+ * Determine if the list of items is not empty.
+ *
+ * @return bool
+ */
+ public function isNotEmpty()
+ {
+ return $this->items->isNotEmpty();
+ }
+
+ /**
+ * Get the number of items for the current page.
+ *
+ * @return int
+ */
+ #[\ReturnTypeWillChange]
+ public function count()
+ {
+ return $this->items->count();
+ }
+
+ /**
+ * Get the paginator's underlying collection.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function getCollection()
+ {
+ return $this->items;
+ }
+
+ /**
+ * Set the paginator's underlying collection.
+ *
+ * @param \Illuminate\Support\Collection $collection
+ * @return $this
+ */
+ public function setCollection(Collection $collection)
+ {
+ $this->items = $collection;
+
+ return $this;
+ }
+
+ /**
+ * Get the paginator options.
+ *
+ * @return array
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ /**
+ * Determine if the given item exists.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetExists($key)
+ {
+ return $this->items->has($key);
+ }
+
+ /**
+ * Get the item at the given offset.
+ *
+ * @param mixed $key
+ * @return mixed
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetGet($key)
+ {
+ return $this->items->get($key);
+ }
+
+ /**
+ * Set the item at the given offset.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetSet($key, $value)
+ {
+ $this->items->put($key, $value);
+ }
+
+ /**
+ * Unset the item at the given key.
+ *
+ * @param mixed $key
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetUnset($key)
+ {
+ $this->items->forget($key);
+ }
+
+ /**
+ * Render the contents of the paginator to HTML.
+ *
+ * @return string
+ */
+ public function toHtml()
+ {
+ return (string) $this->render();
+ }
+
+ /**
+ * Make dynamic calls into the collection.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->forwardCallTo($this->getCollection(), $method, $parameters);
+ }
+
+ /**
+ * Render the contents of the paginator when casting to a string.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return (string) $this->render();
+ }
+}
diff --git a/vendor/illuminate/pagination/AbstractPaginator.php b/vendor/illuminate/pagination/AbstractPaginator.php
new file mode 100644
index 0000000..ac9ef40
--- /dev/null
+++ b/vendor/illuminate/pagination/AbstractPaginator.php
@@ -0,0 +1,782 @@
+= 1 && filter_var($page, FILTER_VALIDATE_INT) !== false;
+ }
+
+ /**
+ * Get the URL for the previous page.
+ *
+ * @return string|null
+ */
+ public function previousPageUrl()
+ {
+ if ($this->currentPage() > 1) {
+ return $this->url($this->currentPage() - 1);
+ }
+ }
+
+ /**
+ * Create a range of pagination URLs.
+ *
+ * @param int $start
+ * @param int $end
+ * @return array
+ */
+ public function getUrlRange($start, $end)
+ {
+ return collect(range($start, $end))->mapWithKeys(function ($page) {
+ return [$page => $this->url($page)];
+ })->all();
+ }
+
+ /**
+ * Get the URL for a given page number.
+ *
+ * @param int $page
+ * @return string
+ */
+ public function url($page)
+ {
+ if ($page <= 0) {
+ $page = 1;
+ }
+
+ // If we have any extra query string key / value pairs that need to be added
+ // onto the URL, we will put them in query string form and then attach it
+ // to the URL. This allows for extra information like sortings storage.
+ $parameters = [$this->pageName => $page];
+
+ if (count($this->query) > 0) {
+ $parameters = array_merge($this->query, $parameters);
+ }
+
+ return $this->path()
+ .(Str::contains($this->path(), '?') ? '&' : '?')
+ .Arr::query($parameters)
+ .$this->buildFragment();
+ }
+
+ /**
+ * Get / set the URL fragment to be appended to URLs.
+ *
+ * @param string|null $fragment
+ * @return $this|string|null
+ */
+ public function fragment($fragment = null)
+ {
+ if (is_null($fragment)) {
+ return $this->fragment;
+ }
+
+ $this->fragment = $fragment;
+
+ return $this;
+ }
+
+ /**
+ * Add a set of query string values to the paginator.
+ *
+ * @param array|string|null $key
+ * @param string|null $value
+ * @return $this
+ */
+ public function appends($key, $value = null)
+ {
+ if (is_null($key)) {
+ return $this;
+ }
+
+ if (is_array($key)) {
+ return $this->appendArray($key);
+ }
+
+ return $this->addQuery($key, $value);
+ }
+
+ /**
+ * Add an array of query string values.
+ *
+ * @param array $keys
+ * @return $this
+ */
+ protected function appendArray(array $keys)
+ {
+ foreach ($keys as $key => $value) {
+ $this->addQuery($key, $value);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add all current query string values to the paginator.
+ *
+ * @return $this
+ */
+ public function withQueryString()
+ {
+ if (isset(static::$queryStringResolver)) {
+ return $this->appends(call_user_func(static::$queryStringResolver));
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add a query string value to the paginator.
+ *
+ * @param string $key
+ * @param string $value
+ * @return $this
+ */
+ protected function addQuery($key, $value)
+ {
+ if ($key !== $this->pageName) {
+ $this->query[$key] = $value;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Build the full fragment portion of a URL.
+ *
+ * @return string
+ */
+ protected function buildFragment()
+ {
+ return $this->fragment ? '#'.$this->fragment : '';
+ }
+
+ /**
+ * Load a set of relationships onto the mixed relationship collection.
+ *
+ * @param string $relation
+ * @param array $relations
+ * @return $this
+ */
+ public function loadMorph($relation, $relations)
+ {
+ $this->getCollection()->loadMorph($relation, $relations);
+
+ return $this;
+ }
+
+ /**
+ * Load a set of relationship counts onto the mixed relationship collection.
+ *
+ * @param string $relation
+ * @param array $relations
+ * @return $this
+ */
+ public function loadMorphCount($relation, $relations)
+ {
+ $this->getCollection()->loadMorphCount($relation, $relations);
+
+ return $this;
+ }
+
+ /**
+ * Get the slice of items being paginated.
+ *
+ * @return array
+ */
+ public function items()
+ {
+ return $this->items->all();
+ }
+
+ /**
+ * Get the number of the first item in the slice.
+ *
+ * @return int
+ */
+ public function firstItem()
+ {
+ return count($this->items) > 0 ? ($this->currentPage - 1) * $this->perPage + 1 : null;
+ }
+
+ /**
+ * Get the number of the last item in the slice.
+ *
+ * @return int
+ */
+ public function lastItem()
+ {
+ return count($this->items) > 0 ? $this->firstItem() + $this->count() - 1 : null;
+ }
+
+ /**
+ * Transform each item in the slice of items using a callback.
+ *
+ * @param callable $callback
+ * @return $this
+ */
+ public function through(callable $callback)
+ {
+ $this->items->transform($callback);
+
+ return $this;
+ }
+
+ /**
+ * Get the number of items shown per page.
+ *
+ * @return int
+ */
+ public function perPage()
+ {
+ return $this->perPage;
+ }
+
+ /**
+ * Determine if there are enough items to split into multiple pages.
+ *
+ * @return bool
+ */
+ public function hasPages()
+ {
+ return $this->currentPage() != 1 || $this->hasMorePages();
+ }
+
+ /**
+ * Determine if the paginator is on the first page.
+ *
+ * @return bool
+ */
+ public function onFirstPage()
+ {
+ return $this->currentPage() <= 1;
+ }
+
+ /**
+ * Determine if the paginator is on the last page.
+ *
+ * @return bool
+ */
+ public function onLastPage()
+ {
+ return ! $this->hasMorePages();
+ }
+
+ /**
+ * Get the current page.
+ *
+ * @return int
+ */
+ public function currentPage()
+ {
+ return $this->currentPage;
+ }
+
+ /**
+ * Get the query string variable used to store the page.
+ *
+ * @return string
+ */
+ public function getPageName()
+ {
+ return $this->pageName;
+ }
+
+ /**
+ * Set the query string variable used to store the page.
+ *
+ * @param string $name
+ * @return $this
+ */
+ public function setPageName($name)
+ {
+ $this->pageName = $name;
+
+ return $this;
+ }
+
+ /**
+ * Set the base path to assign to all URLs.
+ *
+ * @param string $path
+ * @return $this
+ */
+ public function withPath($path)
+ {
+ return $this->setPath($path);
+ }
+
+ /**
+ * Set the base path to assign to all URLs.
+ *
+ * @param string $path
+ * @return $this
+ */
+ public function setPath($path)
+ {
+ $this->path = $path;
+
+ return $this;
+ }
+
+ /**
+ * Set the number of links to display on each side of current page link.
+ *
+ * @param int $count
+ * @return $this
+ */
+ public function onEachSide($count)
+ {
+ $this->onEachSide = $count;
+
+ return $this;
+ }
+
+ /**
+ * Get the base path for paginator generated URLs.
+ *
+ * @return string|null
+ */
+ public function path()
+ {
+ return $this->path;
+ }
+
+ /**
+ * Resolve the current request path or return the default value.
+ *
+ * @param string $default
+ * @return string
+ */
+ public static function resolveCurrentPath($default = '/')
+ {
+ if (isset(static::$currentPathResolver)) {
+ return call_user_func(static::$currentPathResolver);
+ }
+
+ return $default;
+ }
+
+ /**
+ * Set the current request path resolver callback.
+ *
+ * @param \Closure $resolver
+ * @return void
+ */
+ public static function currentPathResolver(Closure $resolver)
+ {
+ static::$currentPathResolver = $resolver;
+ }
+
+ /**
+ * Resolve the current page or return the default value.
+ *
+ * @param string $pageName
+ * @param int $default
+ * @return int
+ */
+ public static function resolveCurrentPage($pageName = 'page', $default = 1)
+ {
+ if (isset(static::$currentPageResolver)) {
+ return (int) call_user_func(static::$currentPageResolver, $pageName);
+ }
+
+ return $default;
+ }
+
+ /**
+ * Set the current page resolver callback.
+ *
+ * @param \Closure $resolver
+ * @return void
+ */
+ public static function currentPageResolver(Closure $resolver)
+ {
+ static::$currentPageResolver = $resolver;
+ }
+
+ /**
+ * Resolve the query string or return the default value.
+ *
+ * @param string|array|null $default
+ * @return string
+ */
+ public static function resolveQueryString($default = null)
+ {
+ if (isset(static::$queryStringResolver)) {
+ return (static::$queryStringResolver)();
+ }
+
+ return $default;
+ }
+
+ /**
+ * Set with query string resolver callback.
+ *
+ * @param \Closure $resolver
+ * @return void
+ */
+ public static function queryStringResolver(Closure $resolver)
+ {
+ static::$queryStringResolver = $resolver;
+ }
+
+ /**
+ * Get an instance of the view factory from the resolver.
+ *
+ * @return \Illuminate\Contracts\View\Factory
+ */
+ public static function viewFactory()
+ {
+ return call_user_func(static::$viewFactoryResolver);
+ }
+
+ /**
+ * Set the view factory resolver callback.
+ *
+ * @param \Closure $resolver
+ * @return void
+ */
+ public static function viewFactoryResolver(Closure $resolver)
+ {
+ static::$viewFactoryResolver = $resolver;
+ }
+
+ /**
+ * Set the default pagination view.
+ *
+ * @param string $view
+ * @return void
+ */
+ public static function defaultView($view)
+ {
+ static::$defaultView = $view;
+ }
+
+ /**
+ * Set the default "simple" pagination view.
+ *
+ * @param string $view
+ * @return void
+ */
+ public static function defaultSimpleView($view)
+ {
+ static::$defaultSimpleView = $view;
+ }
+
+ /**
+ * Indicate that Tailwind styling should be used for generated links.
+ *
+ * @return void
+ */
+ public static function useTailwind()
+ {
+ static::defaultView('pagination::tailwind');
+ static::defaultSimpleView('pagination::simple-tailwind');
+ }
+
+ /**
+ * Indicate that Bootstrap 4 styling should be used for generated links.
+ *
+ * @return void
+ */
+ public static function useBootstrap()
+ {
+ static::defaultView('pagination::bootstrap-4');
+ static::defaultSimpleView('pagination::simple-bootstrap-4');
+ }
+
+ /**
+ * Indicate that Bootstrap 3 styling should be used for generated links.
+ *
+ * @return void
+ */
+ public static function useBootstrapThree()
+ {
+ static::defaultView('pagination::default');
+ static::defaultSimpleView('pagination::simple-default');
+ }
+
+ /**
+ * Get an iterator for the items.
+ *
+ * @return \ArrayIterator
+ */
+ #[\ReturnTypeWillChange]
+ public function getIterator()
+ {
+ return $this->items->getIterator();
+ }
+
+ /**
+ * Determine if the list of items is empty.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return $this->items->isEmpty();
+ }
+
+ /**
+ * Determine if the list of items is not empty.
+ *
+ * @return bool
+ */
+ public function isNotEmpty()
+ {
+ return $this->items->isNotEmpty();
+ }
+
+ /**
+ * Get the number of items for the current page.
+ *
+ * @return int
+ */
+ #[\ReturnTypeWillChange]
+ public function count()
+ {
+ return $this->items->count();
+ }
+
+ /**
+ * Get the paginator's underlying collection.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function getCollection()
+ {
+ return $this->items;
+ }
+
+ /**
+ * Set the paginator's underlying collection.
+ *
+ * @param \Illuminate\Support\Collection $collection
+ * @return $this
+ */
+ public function setCollection(Collection $collection)
+ {
+ $this->items = $collection;
+
+ return $this;
+ }
+
+ /**
+ * Get the paginator options.
+ *
+ * @return array
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ /**
+ * Determine if the given item exists.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetExists($key)
+ {
+ return $this->items->has($key);
+ }
+
+ /**
+ * Get the item at the given offset.
+ *
+ * @param mixed $key
+ * @return mixed
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetGet($key)
+ {
+ return $this->items->get($key);
+ }
+
+ /**
+ * Set the item at the given offset.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetSet($key, $value)
+ {
+ $this->items->put($key, $value);
+ }
+
+ /**
+ * Unset the item at the given key.
+ *
+ * @param mixed $key
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetUnset($key)
+ {
+ $this->items->forget($key);
+ }
+
+ /**
+ * Render the contents of the paginator to HTML.
+ *
+ * @return string
+ */
+ public function toHtml()
+ {
+ return (string) $this->render();
+ }
+
+ /**
+ * Make dynamic calls into the collection.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->forwardCallTo($this->getCollection(), $method, $parameters);
+ }
+
+ /**
+ * Render the contents of the paginator when casting to a string.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return (string) $this->render();
+ }
+}
diff --git a/vendor/illuminate/pagination/Cursor.php b/vendor/illuminate/pagination/Cursor.php
new file mode 100644
index 0000000..e8edf65
--- /dev/null
+++ b/vendor/illuminate/pagination/Cursor.php
@@ -0,0 +1,132 @@
+parameters = $parameters;
+ $this->pointsToNextItems = $pointsToNextItems;
+ }
+
+ /**
+ * Get the given parameter from the cursor.
+ *
+ * @param string $parameterName
+ * @return string|null
+ *
+ * @throws \UnexpectedValueException
+ */
+ public function parameter(string $parameterName)
+ {
+ if (! array_key_exists($parameterName, $this->parameters)) {
+ throw new UnexpectedValueException("Unable to find parameter [{$parameterName}] in pagination item.");
+ }
+
+ return $this->parameters[$parameterName];
+ }
+
+ /**
+ * Get the given parameters from the cursor.
+ *
+ * @param array $parameterNames
+ * @return array
+ */
+ public function parameters(array $parameterNames)
+ {
+ return collect($parameterNames)->map(function ($parameterName) {
+ return $this->parameter($parameterName);
+ })->toArray();
+ }
+
+ /**
+ * Determine whether the cursor points to the next set of items.
+ *
+ * @return bool
+ */
+ public function pointsToNextItems()
+ {
+ return $this->pointsToNextItems;
+ }
+
+ /**
+ * Determine whether the cursor points to the previous set of items.
+ *
+ * @return bool
+ */
+ public function pointsToPreviousItems()
+ {
+ return ! $this->pointsToNextItems;
+ }
+
+ /**
+ * Get the array representation of the cursor.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return array_merge($this->parameters, [
+ '_pointsToNextItems' => $this->pointsToNextItems,
+ ]);
+ }
+
+ /**
+ * Get the encoded string representation of the cursor to construct a URL.
+ *
+ * @return string
+ */
+ public function encode()
+ {
+ return str_replace(['+', '/', '='], ['-', '_', ''], base64_encode(json_encode($this->toArray())));
+ }
+
+ /**
+ * Get a cursor instance from the encoded string representation.
+ *
+ * @param string|null $encodedString
+ * @return static|null
+ */
+ public static function fromEncoded($encodedString)
+ {
+ if (is_null($encodedString) || ! is_string($encodedString)) {
+ return null;
+ }
+
+ $parameters = json_decode(base64_decode(str_replace(['-', '_'], ['+', '/'], $encodedString)), true);
+
+ if (json_last_error() !== JSON_ERROR_NONE) {
+ return null;
+ }
+
+ $pointsToNextItems = $parameters['_pointsToNextItems'];
+
+ unset($parameters['_pointsToNextItems']);
+
+ return new static($parameters, $pointsToNextItems);
+ }
+}
diff --git a/vendor/illuminate/pagination/CursorPaginationException.php b/vendor/illuminate/pagination/CursorPaginationException.php
new file mode 100644
index 0000000..b12ca60
--- /dev/null
+++ b/vendor/illuminate/pagination/CursorPaginationException.php
@@ -0,0 +1,13 @@
+options = $options;
+
+ foreach ($options as $key => $value) {
+ $this->{$key} = $value;
+ }
+
+ $this->perPage = $perPage;
+ $this->cursor = $cursor;
+ $this->path = $this->path !== '/' ? rtrim($this->path, '/') : $this->path;
+
+ $this->setItems($items);
+ }
+
+ /**
+ * Set the items for the paginator.
+ *
+ * @param mixed $items
+ * @return void
+ */
+ protected function setItems($items)
+ {
+ $this->items = $items instanceof Collection ? $items : Collection::make($items);
+
+ $this->hasMore = $this->items->count() > $this->perPage;
+
+ $this->items = $this->items->slice(0, $this->perPage);
+
+ if (! is_null($this->cursor) && $this->cursor->pointsToPreviousItems()) {
+ $this->items = $this->items->reverse()->values();
+ }
+ }
+
+ /**
+ * Render the paginator using the given view.
+ *
+ * @param string|null $view
+ * @param array $data
+ * @return \Illuminate\Contracts\Support\Htmlable
+ */
+ public function links($view = null, $data = [])
+ {
+ return $this->render($view, $data);
+ }
+
+ /**
+ * Render the paginator using the given view.
+ *
+ * @param string|null $view
+ * @param array $data
+ * @return \Illuminate\Contracts\Support\Htmlable
+ */
+ public function render($view = null, $data = [])
+ {
+ return static::viewFactory()->make($view ?: Paginator::$defaultSimpleView, array_merge($data, [
+ 'paginator' => $this,
+ ]));
+ }
+
+ /**
+ * Determine if there are more items in the data source.
+ *
+ * @return bool
+ */
+ public function hasMorePages()
+ {
+ return (is_null($this->cursor) && $this->hasMore) ||
+ (! is_null($this->cursor) && $this->cursor->pointsToNextItems() && $this->hasMore) ||
+ (! is_null($this->cursor) && $this->cursor->pointsToPreviousItems());
+ }
+
+ /**
+ * Determine if there are enough items to split into multiple pages.
+ *
+ * @return bool
+ */
+ public function hasPages()
+ {
+ return ! $this->onFirstPage() || $this->hasMorePages();
+ }
+
+ /**
+ * Determine if the paginator is on the first page.
+ *
+ * @return bool
+ */
+ public function onFirstPage()
+ {
+ return is_null($this->cursor) || ($this->cursor->pointsToPreviousItems() && ! $this->hasMore);
+ }
+
+ /**
+ * Get the instance as an array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return [
+ 'data' => $this->items->toArray(),
+ 'path' => $this->path(),
+ 'per_page' => $this->perPage(),
+ 'next_page_url' => $this->nextPageUrl(),
+ 'prev_page_url' => $this->previousPageUrl(),
+ ];
+ }
+
+ /**
+ * Convert the object into something JSON serializable.
+ *
+ * @return array
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->toArray();
+ }
+
+ /**
+ * Convert the object to its JSON representation.
+ *
+ * @param int $options
+ * @return string
+ */
+ public function toJson($options = 0)
+ {
+ return json_encode($this->jsonSerialize(), $options);
+ }
+}
diff --git a/vendor/illuminate/pagination/LICENSE.md b/vendor/illuminate/pagination/LICENSE.md
new file mode 100644
index 0000000..79810c8
--- /dev/null
+++ b/vendor/illuminate/pagination/LICENSE.md
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) Taylor Otwell
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/vendor/illuminate/pagination/LengthAwarePaginator.php b/vendor/illuminate/pagination/LengthAwarePaginator.php
new file mode 100644
index 0000000..24f68b1
--- /dev/null
+++ b/vendor/illuminate/pagination/LengthAwarePaginator.php
@@ -0,0 +1,232 @@
+options = $options;
+
+ foreach ($options as $key => $value) {
+ $this->{$key} = $value;
+ }
+
+ $this->total = $total;
+ $this->perPage = $perPage;
+ $this->lastPage = max((int) ceil($total / $perPage), 1);
+ $this->path = $this->path !== '/' ? rtrim($this->path, '/') : $this->path;
+ $this->currentPage = $this->setCurrentPage($currentPage, $this->pageName);
+ $this->items = $items instanceof Collection ? $items : Collection::make($items);
+ }
+
+ /**
+ * Get the current page for the request.
+ *
+ * @param int $currentPage
+ * @param string $pageName
+ * @return int
+ */
+ protected function setCurrentPage($currentPage, $pageName)
+ {
+ $currentPage = $currentPage ?: static::resolveCurrentPage($pageName);
+
+ return $this->isValidPageNumber($currentPage) ? (int) $currentPage : 1;
+ }
+
+ /**
+ * Render the paginator using the given view.
+ *
+ * @param string|null $view
+ * @param array $data
+ * @return \Illuminate\Contracts\Support\Htmlable
+ */
+ public function links($view = null, $data = [])
+ {
+ return $this->render($view, $data);
+ }
+
+ /**
+ * Render the paginator using the given view.
+ *
+ * @param string|null $view
+ * @param array $data
+ * @return \Illuminate\Contracts\Support\Htmlable
+ */
+ public function render($view = null, $data = [])
+ {
+ return static::viewFactory()->make($view ?: static::$defaultView, array_merge($data, [
+ 'paginator' => $this,
+ 'elements' => $this->elements(),
+ ]));
+ }
+
+ /**
+ * Get the paginator links as a collection (for JSON responses).
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function linkCollection()
+ {
+ return collect($this->elements())->flatMap(function ($item) {
+ if (! is_array($item)) {
+ return [['url' => null, 'label' => '...', 'active' => false]];
+ }
+
+ return collect($item)->map(function ($url, $page) {
+ return [
+ 'url' => $url,
+ 'label' => (string) $page,
+ 'active' => $this->currentPage() === $page,
+ ];
+ });
+ })->prepend([
+ 'url' => $this->previousPageUrl(),
+ 'label' => function_exists('__') ? __('pagination.previous') : 'Previous',
+ 'active' => false,
+ ])->push([
+ 'url' => $this->nextPageUrl(),
+ 'label' => function_exists('__') ? __('pagination.next') : 'Next',
+ 'active' => false,
+ ]);
+ }
+
+ /**
+ * Get the array of elements to pass to the view.
+ *
+ * @return array
+ */
+ protected function elements()
+ {
+ $window = UrlWindow::make($this);
+
+ return array_filter([
+ $window['first'],
+ is_array($window['slider']) ? '...' : null,
+ $window['slider'],
+ is_array($window['last']) ? '...' : null,
+ $window['last'],
+ ]);
+ }
+
+ /**
+ * Get the total number of items being paginated.
+ *
+ * @return int
+ */
+ public function total()
+ {
+ return $this->total;
+ }
+
+ /**
+ * Determine if there are more items in the data source.
+ *
+ * @return bool
+ */
+ public function hasMorePages()
+ {
+ return $this->currentPage() < $this->lastPage();
+ }
+
+ /**
+ * Get the URL for the next page.
+ *
+ * @return string|null
+ */
+ public function nextPageUrl()
+ {
+ if ($this->hasMorePages()) {
+ return $this->url($this->currentPage() + 1);
+ }
+ }
+
+ /**
+ * Get the last page.
+ *
+ * @return int
+ */
+ public function lastPage()
+ {
+ return $this->lastPage;
+ }
+
+ /**
+ * Get the instance as an array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return [
+ 'current_page' => $this->currentPage(),
+ 'data' => $this->items->toArray(),
+ 'first_page_url' => $this->url(1),
+ 'from' => $this->firstItem(),
+ 'last_page' => $this->lastPage(),
+ 'last_page_url' => $this->url($this->lastPage()),
+ 'links' => $this->linkCollection()->toArray(),
+ 'next_page_url' => $this->nextPageUrl(),
+ 'path' => $this->path(),
+ 'per_page' => $this->perPage(),
+ 'prev_page_url' => $this->previousPageUrl(),
+ 'to' => $this->lastItem(),
+ 'total' => $this->total(),
+ ];
+ }
+
+ /**
+ * Convert the object into something JSON serializable.
+ *
+ * @return array
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->toArray();
+ }
+
+ /**
+ * Convert the object to its JSON representation.
+ *
+ * @param int $options
+ * @return string
+ */
+ public function toJson($options = 0)
+ {
+ return json_encode($this->jsonSerialize(), $options);
+ }
+}
diff --git a/vendor/illuminate/pagination/PaginationServiceProvider.php b/vendor/illuminate/pagination/PaginationServiceProvider.php
new file mode 100755
index 0000000..e94cebd
--- /dev/null
+++ b/vendor/illuminate/pagination/PaginationServiceProvider.php
@@ -0,0 +1,34 @@
+loadViewsFrom(__DIR__.'/resources/views', 'pagination');
+
+ if ($this->app->runningInConsole()) {
+ $this->publishes([
+ __DIR__.'/resources/views' => $this->app->resourcePath('views/vendor/pagination'),
+ ], 'laravel-pagination');
+ }
+ }
+
+ /**
+ * Register the service provider.
+ *
+ * @return void
+ */
+ public function register()
+ {
+ PaginationState::resolveUsing($this->app);
+ }
+}
diff --git a/vendor/illuminate/pagination/PaginationState.php b/vendor/illuminate/pagination/PaginationState.php
new file mode 100644
index 0000000..ff8150f
--- /dev/null
+++ b/vendor/illuminate/pagination/PaginationState.php
@@ -0,0 +1,41 @@
+url();
+ });
+
+ Paginator::currentPageResolver(function ($pageName = 'page') use ($app) {
+ $page = $app['request']->input($pageName);
+
+ if (filter_var($page, FILTER_VALIDATE_INT) !== false && (int) $page >= 1) {
+ return (int) $page;
+ }
+
+ return 1;
+ });
+
+ Paginator::queryStringResolver(function () use ($app) {
+ return $app['request']->query();
+ });
+
+ CursorPaginator::currentCursorResolver(function ($cursorName = 'cursor') use ($app) {
+ return Cursor::fromEncoded($app['request']->input($cursorName));
+ });
+ }
+}
diff --git a/vendor/illuminate/pagination/Paginator.php b/vendor/illuminate/pagination/Paginator.php
new file mode 100644
index 0000000..733edb8
--- /dev/null
+++ b/vendor/illuminate/pagination/Paginator.php
@@ -0,0 +1,177 @@
+options = $options;
+
+ foreach ($options as $key => $value) {
+ $this->{$key} = $value;
+ }
+
+ $this->perPage = $perPage;
+ $this->currentPage = $this->setCurrentPage($currentPage);
+ $this->path = $this->path !== '/' ? rtrim($this->path, '/') : $this->path;
+
+ $this->setItems($items);
+ }
+
+ /**
+ * Get the current page for the request.
+ *
+ * @param int $currentPage
+ * @return int
+ */
+ protected function setCurrentPage($currentPage)
+ {
+ $currentPage = $currentPage ?: static::resolveCurrentPage();
+
+ return $this->isValidPageNumber($currentPage) ? (int) $currentPage : 1;
+ }
+
+ /**
+ * Set the items for the paginator.
+ *
+ * @param mixed $items
+ * @return void
+ */
+ protected function setItems($items)
+ {
+ $this->items = $items instanceof Collection ? $items : Collection::make($items);
+
+ $this->hasMore = $this->items->count() > $this->perPage;
+
+ $this->items = $this->items->slice(0, $this->perPage);
+ }
+
+ /**
+ * Get the URL for the next page.
+ *
+ * @return string|null
+ */
+ public function nextPageUrl()
+ {
+ if ($this->hasMorePages()) {
+ return $this->url($this->currentPage() + 1);
+ }
+ }
+
+ /**
+ * Render the paginator using the given view.
+ *
+ * @param string|null $view
+ * @param array $data
+ * @return string
+ */
+ public function links($view = null, $data = [])
+ {
+ return $this->render($view, $data);
+ }
+
+ /**
+ * Render the paginator using the given view.
+ *
+ * @param string|null $view
+ * @param array $data
+ * @return \Illuminate\Contracts\Support\Htmlable
+ */
+ public function render($view = null, $data = [])
+ {
+ return static::viewFactory()->make($view ?: static::$defaultSimpleView, array_merge($data, [
+ 'paginator' => $this,
+ ]));
+ }
+
+ /**
+ * Manually indicate that the paginator does have more pages.
+ *
+ * @param bool $hasMore
+ * @return $this
+ */
+ public function hasMorePagesWhen($hasMore = true)
+ {
+ $this->hasMore = $hasMore;
+
+ return $this;
+ }
+
+ /**
+ * Determine if there are more items in the data source.
+ *
+ * @return bool
+ */
+ public function hasMorePages()
+ {
+ return $this->hasMore;
+ }
+
+ /**
+ * Get the instance as an array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return [
+ 'current_page' => $this->currentPage(),
+ 'data' => $this->items->toArray(),
+ 'first_page_url' => $this->url(1),
+ 'from' => $this->firstItem(),
+ 'next_page_url' => $this->nextPageUrl(),
+ 'path' => $this->path(),
+ 'per_page' => $this->perPage(),
+ 'prev_page_url' => $this->previousPageUrl(),
+ 'to' => $this->lastItem(),
+ ];
+ }
+
+ /**
+ * Convert the object into something JSON serializable.
+ *
+ * @return array
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->toArray();
+ }
+
+ /**
+ * Convert the object to its JSON representation.
+ *
+ * @param int $options
+ * @return string
+ */
+ public function toJson($options = 0)
+ {
+ return json_encode($this->jsonSerialize(), $options);
+ }
+}
diff --git a/vendor/illuminate/pagination/UrlWindow.php b/vendor/illuminate/pagination/UrlWindow.php
new file mode 100644
index 0000000..31c7cc2
--- /dev/null
+++ b/vendor/illuminate/pagination/UrlWindow.php
@@ -0,0 +1,220 @@
+paginator = $paginator;
+ }
+
+ /**
+ * Create a new URL window instance.
+ *
+ * @param \Illuminate\Contracts\Pagination\LengthAwarePaginator $paginator
+ * @return array
+ */
+ public static function make(PaginatorContract $paginator)
+ {
+ return (new static($paginator))->get();
+ }
+
+ /**
+ * Get the window of URLs to be shown.
+ *
+ * @return array
+ */
+ public function get()
+ {
+ $onEachSide = $this->paginator->onEachSide;
+
+ if ($this->paginator->lastPage() < ($onEachSide * 2) + 8) {
+ return $this->getSmallSlider();
+ }
+
+ return $this->getUrlSlider($onEachSide);
+ }
+
+ /**
+ * Get the slider of URLs there are not enough pages to slide.
+ *
+ * @return array
+ */
+ protected function getSmallSlider()
+ {
+ return [
+ 'first' => $this->paginator->getUrlRange(1, $this->lastPage()),
+ 'slider' => null,
+ 'last' => null,
+ ];
+ }
+
+ /**
+ * Create a URL slider links.
+ *
+ * @param int $onEachSide
+ * @return array
+ */
+ protected function getUrlSlider($onEachSide)
+ {
+ $window = $onEachSide + 4;
+
+ if (! $this->hasPages()) {
+ return ['first' => null, 'slider' => null, 'last' => null];
+ }
+
+ // If the current page is very close to the beginning of the page range, we will
+ // just render the beginning of the page range, followed by the last 2 of the
+ // links in this list, since we will not have room to create a full slider.
+ if ($this->currentPage() <= $window) {
+ return $this->getSliderTooCloseToBeginning($window, $onEachSide);
+ }
+
+ // If the current page is close to the ending of the page range we will just get
+ // this first couple pages, followed by a larger window of these ending pages
+ // since we're too close to the end of the list to create a full on slider.
+ elseif ($this->currentPage() > ($this->lastPage() - $window)) {
+ return $this->getSliderTooCloseToEnding($window, $onEachSide);
+ }
+
+ // If we have enough room on both sides of the current page to build a slider we
+ // will surround it with both the beginning and ending caps, with this window
+ // of pages in the middle providing a Google style sliding paginator setup.
+ return $this->getFullSlider($onEachSide);
+ }
+
+ /**
+ * Get the slider of URLs when too close to beginning of window.
+ *
+ * @param int $window
+ * @param int $onEachSide
+ * @return array
+ */
+ protected function getSliderTooCloseToBeginning($window, $onEachSide)
+ {
+ return [
+ 'first' => $this->paginator->getUrlRange(1, $window + $onEachSide),
+ 'slider' => null,
+ 'last' => $this->getFinish(),
+ ];
+ }
+
+ /**
+ * Get the slider of URLs when too close to ending of window.
+ *
+ * @param int $window
+ * @param int $onEachSide
+ * @return array
+ */
+ protected function getSliderTooCloseToEnding($window, $onEachSide)
+ {
+ $last = $this->paginator->getUrlRange(
+ $this->lastPage() - ($window + ($onEachSide - 1)),
+ $this->lastPage()
+ );
+
+ return [
+ 'first' => $this->getStart(),
+ 'slider' => null,
+ 'last' => $last,
+ ];
+ }
+
+ /**
+ * Get the slider of URLs when a full slider can be made.
+ *
+ * @param int $onEachSide
+ * @return array
+ */
+ protected function getFullSlider($onEachSide)
+ {
+ return [
+ 'first' => $this->getStart(),
+ 'slider' => $this->getAdjacentUrlRange($onEachSide),
+ 'last' => $this->getFinish(),
+ ];
+ }
+
+ /**
+ * Get the page range for the current page window.
+ *
+ * @param int $onEachSide
+ * @return array
+ */
+ public function getAdjacentUrlRange($onEachSide)
+ {
+ return $this->paginator->getUrlRange(
+ $this->currentPage() - $onEachSide,
+ $this->currentPage() + $onEachSide
+ );
+ }
+
+ /**
+ * Get the starting URLs of a pagination slider.
+ *
+ * @return array
+ */
+ public function getStart()
+ {
+ return $this->paginator->getUrlRange(1, 2);
+ }
+
+ /**
+ * Get the ending URLs of a pagination slider.
+ *
+ * @return array
+ */
+ public function getFinish()
+ {
+ return $this->paginator->getUrlRange(
+ $this->lastPage() - 1,
+ $this->lastPage()
+ );
+ }
+
+ /**
+ * Determine if the underlying paginator being presented has pages to show.
+ *
+ * @return bool
+ */
+ public function hasPages()
+ {
+ return $this->paginator->lastPage() > 1;
+ }
+
+ /**
+ * Get the current page from the paginator.
+ *
+ * @return int
+ */
+ protected function currentPage()
+ {
+ return $this->paginator->currentPage();
+ }
+
+ /**
+ * Get the last page from the paginator.
+ *
+ * @return int
+ */
+ protected function lastPage()
+ {
+ return $this->paginator->lastPage();
+ }
+}
diff --git a/vendor/illuminate/pagination/composer.json b/vendor/illuminate/pagination/composer.json
new file mode 100755
index 0000000..5c8a380
--- /dev/null
+++ b/vendor/illuminate/pagination/composer.json
@@ -0,0 +1,37 @@
+{
+ "name": "illuminate/pagination",
+ "description": "The Illuminate Pagination package.",
+ "license": "MIT",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "require": {
+ "php": "^7.3|^8.0",
+ "ext-json": "*",
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/support": "^8.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Pagination\\": ""
+ }
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "config": {
+ "sort-packages": true
+ },
+ "minimum-stability": "dev"
+}
diff --git a/vendor/illuminate/pagination/resources/views/bootstrap-4.blade.php b/vendor/illuminate/pagination/resources/views/bootstrap-4.blade.php
new file mode 100644
index 0000000..63c6f56
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/bootstrap-4.blade.php
@@ -0,0 +1,46 @@
+@if ($paginator->hasPages())
+
+
+
+@endif
diff --git a/vendor/illuminate/pagination/resources/views/default.blade.php b/vendor/illuminate/pagination/resources/views/default.blade.php
new file mode 100644
index 0000000..0db70b5
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/default.blade.php
@@ -0,0 +1,46 @@
+@if ($paginator->hasPages())
+
+
+
+@endif
diff --git a/vendor/illuminate/pagination/resources/views/semantic-ui.blade.php b/vendor/illuminate/pagination/resources/views/semantic-ui.blade.php
new file mode 100644
index 0000000..ef0dbb1
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/semantic-ui.blade.php
@@ -0,0 +1,36 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/vendor/illuminate/pagination/resources/views/simple-bootstrap-4.blade.php b/vendor/illuminate/pagination/resources/views/simple-bootstrap-4.blade.php
new file mode 100644
index 0000000..4bb4917
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/simple-bootstrap-4.blade.php
@@ -0,0 +1,27 @@
+@if ($paginator->hasPages())
+
+
+
+@endif
diff --git a/vendor/illuminate/pagination/resources/views/simple-default.blade.php b/vendor/illuminate/pagination/resources/views/simple-default.blade.php
new file mode 100644
index 0000000..36bdbc1
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/simple-default.blade.php
@@ -0,0 +1,19 @@
+@if ($paginator->hasPages())
+
+
+
+@endif
diff --git a/vendor/illuminate/pagination/resources/views/simple-tailwind.blade.php b/vendor/illuminate/pagination/resources/views/simple-tailwind.blade.php
new file mode 100644
index 0000000..6872cca
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/simple-tailwind.blade.php
@@ -0,0 +1,25 @@
+@if ($paginator->hasPages())
+
+ {{-- Previous Page Link --}}
+ @if ($paginator->onFirstPage())
+
+ {!! __('pagination.previous') !!}
+
+ @else
+
+ {!! __('pagination.previous') !!}
+
+ @endif
+
+ {{-- Next Page Link --}}
+ @if ($paginator->hasMorePages())
+
+ {!! __('pagination.next') !!}
+
+ @else
+
+ {!! __('pagination.next') !!}
+
+ @endif
+
+@endif
diff --git a/vendor/illuminate/pagination/resources/views/tailwind.blade.php b/vendor/illuminate/pagination/resources/views/tailwind.blade.php
new file mode 100644
index 0000000..5bf323b
--- /dev/null
+++ b/vendor/illuminate/pagination/resources/views/tailwind.blade.php
@@ -0,0 +1,106 @@
+@if ($paginator->hasPages())
+
+
+
+
+
+
+ {!! __('Showing') !!}
+ @if ($paginator->firstItem())
+ {{ $paginator->firstItem() }}
+ {!! __('to') !!}
+ {{ $paginator->lastItem() }}
+ @else
+ {{ $paginator->count() }}
+ @endif
+ {!! __('of') !!}
+ {{ $paginator->total() }}
+ {!! __('results') !!}
+
+
+
+
+
+ {{-- Previous Page Link --}}
+ @if ($paginator->onFirstPage())
+
+
+
+
+
+
+
+ @else
+
+
+
+
+
+ @endif
+
+ {{-- Pagination Elements --}}
+ @foreach ($elements as $element)
+ {{-- "Three Dots" Separator --}}
+ @if (is_string($element))
+
+ {{ $element }}
+
+ @endif
+
+ {{-- Array Of Links --}}
+ @if (is_array($element))
+ @foreach ($element as $page => $url)
+ @if ($page == $paginator->currentPage())
+
+ {{ $page }}
+
+ @else
+
+ {{ $page }}
+
+ @endif
+ @endforeach
+ @endif
+ @endforeach
+
+ {{-- Next Page Link --}}
+ @if ($paginator->hasMorePages())
+
+
+
+
+
+ @else
+
+
+
+
+
+
+
+ @endif
+
+
+
+
+@endif
diff --git a/vendor/illuminate/support/AggregateServiceProvider.php b/vendor/illuminate/support/AggregateServiceProvider.php
new file mode 100644
index 0000000..d7425c5
--- /dev/null
+++ b/vendor/illuminate/support/AggregateServiceProvider.php
@@ -0,0 +1,52 @@
+instances = [];
+
+ foreach ($this->providers as $provider) {
+ $this->instances[] = $this->app->register($provider);
+ }
+ }
+
+ /**
+ * Get the services provided by the provider.
+ *
+ * @return array
+ */
+ public function provides()
+ {
+ $provides = [];
+
+ foreach ($this->providers as $provider) {
+ $instance = $this->app->resolveProvider($provider);
+
+ $provides = array_merge($provides, $instance->provides());
+ }
+
+ return $provides;
+ }
+}
diff --git a/vendor/illuminate/support/Carbon.php b/vendor/illuminate/support/Carbon.php
new file mode 100644
index 0000000..004b27b
--- /dev/null
+++ b/vendor/illuminate/support/Carbon.php
@@ -0,0 +1,18 @@
+files = $files;
+ $this->workingPath = $workingPath;
+ }
+
+ /**
+ * Regenerate the Composer autoloader files.
+ *
+ * @param string|array $extra
+ * @return int
+ */
+ public function dumpAutoloads($extra = '')
+ {
+ $extra = $extra ? (array) $extra : [];
+
+ $command = array_merge($this->findComposer(), ['dump-autoload'], $extra);
+
+ return $this->getProcess($command)->run();
+ }
+
+ /**
+ * Regenerate the optimized Composer autoloader files.
+ *
+ * @return int
+ */
+ public function dumpOptimized()
+ {
+ return $this->dumpAutoloads('--optimize');
+ }
+
+ /**
+ * Get the composer command for the environment.
+ *
+ * @return array
+ */
+ protected function findComposer()
+ {
+ if ($this->files->exists($this->workingPath.'/composer.phar')) {
+ return [$this->phpBinary(), 'composer.phar'];
+ }
+
+ return ['composer'];
+ }
+
+ /**
+ * Get the PHP binary.
+ *
+ * @return string
+ */
+ protected function phpBinary()
+ {
+ return ProcessUtils::escapeArgument((new PhpExecutableFinder)->find(false));
+ }
+
+ /**
+ * Get a new Symfony process instance.
+ *
+ * @param array $command
+ * @return \Symfony\Component\Process\Process
+ */
+ protected function getProcess(array $command)
+ {
+ return (new Process($command, $this->workingPath))->setTimeout(null);
+ }
+
+ /**
+ * Set the working path used by the class.
+ *
+ * @param string $path
+ * @return $this
+ */
+ public function setWorkingPath($path)
+ {
+ $this->workingPath = realpath($path);
+
+ return $this;
+ }
+}
diff --git a/vendor/illuminate/support/ConfigurationUrlParser.php b/vendor/illuminate/support/ConfigurationUrlParser.php
new file mode 100644
index 0000000..be54b9a
--- /dev/null
+++ b/vendor/illuminate/support/ConfigurationUrlParser.php
@@ -0,0 +1,193 @@
+ 'sqlsrv',
+ 'mysql2' => 'mysql', // RDS
+ 'postgres' => 'pgsql',
+ 'postgresql' => 'pgsql',
+ 'sqlite3' => 'sqlite',
+ 'redis' => 'tcp',
+ 'rediss' => 'tls',
+ ];
+
+ /**
+ * Parse the database configuration, hydrating options using a database configuration URL if possible.
+ *
+ * @param array|string $config
+ * @return array
+ */
+ public function parseConfiguration($config)
+ {
+ if (is_string($config)) {
+ $config = ['url' => $config];
+ }
+
+ $url = Arr::pull($config, 'url');
+
+ if (! $url) {
+ return $config;
+ }
+
+ $rawComponents = $this->parseUrl($url);
+
+ $decodedComponents = $this->parseStringsToNativeTypes(
+ array_map('rawurldecode', $rawComponents)
+ );
+
+ return array_merge(
+ $config,
+ $this->getPrimaryOptions($decodedComponents),
+ $this->getQueryOptions($rawComponents)
+ );
+ }
+
+ /**
+ * Get the primary database connection options.
+ *
+ * @param array $url
+ * @return array
+ */
+ protected function getPrimaryOptions($url)
+ {
+ return array_filter([
+ 'driver' => $this->getDriver($url),
+ 'database' => $this->getDatabase($url),
+ 'host' => $url['host'] ?? null,
+ 'port' => $url['port'] ?? null,
+ 'username' => $url['user'] ?? null,
+ 'password' => $url['pass'] ?? null,
+ ], function ($value) {
+ return ! is_null($value);
+ });
+ }
+
+ /**
+ * Get the database driver from the URL.
+ *
+ * @param array $url
+ * @return string|null
+ */
+ protected function getDriver($url)
+ {
+ $alias = $url['scheme'] ?? null;
+
+ if (! $alias) {
+ return;
+ }
+
+ return static::$driverAliases[$alias] ?? $alias;
+ }
+
+ /**
+ * Get the database name from the URL.
+ *
+ * @param array $url
+ * @return string|null
+ */
+ protected function getDatabase($url)
+ {
+ $path = $url['path'] ?? null;
+
+ return $path && $path !== '/' ? substr($path, 1) : null;
+ }
+
+ /**
+ * Get all of the additional database options from the query string.
+ *
+ * @param array $url
+ * @return array
+ */
+ protected function getQueryOptions($url)
+ {
+ $queryString = $url['query'] ?? null;
+
+ if (! $queryString) {
+ return [];
+ }
+
+ $query = [];
+
+ parse_str($queryString, $query);
+
+ return $this->parseStringsToNativeTypes($query);
+ }
+
+ /**
+ * Parse the string URL to an array of components.
+ *
+ * @param string $url
+ * @return array
+ *
+ * @throws \InvalidArgumentException
+ */
+ protected function parseUrl($url)
+ {
+ $url = preg_replace('#^(sqlite3?):///#', '$1://null/', $url);
+
+ $parsedUrl = parse_url($url);
+
+ if ($parsedUrl === false) {
+ throw new InvalidArgumentException('The database configuration URL is malformed.');
+ }
+
+ return $parsedUrl;
+ }
+
+ /**
+ * Convert string casted values to their native types.
+ *
+ * @param mixed $value
+ * @return mixed
+ */
+ protected function parseStringsToNativeTypes($value)
+ {
+ if (is_array($value)) {
+ return array_map([$this, 'parseStringsToNativeTypes'], $value);
+ }
+
+ if (! is_string($value)) {
+ return $value;
+ }
+
+ $parsedValue = json_decode($value, true);
+
+ if (json_last_error() === JSON_ERROR_NONE) {
+ return $parsedValue;
+ }
+
+ return $value;
+ }
+
+ /**
+ * Get all of the current drivers' aliases.
+ *
+ * @return array
+ */
+ public static function getDriverAliases()
+ {
+ return static::$driverAliases;
+ }
+
+ /**
+ * Add the given driver alias to the driver aliases array.
+ *
+ * @param string $alias
+ * @param string $driver
+ * @return void
+ */
+ public static function addDriverAlias($alias, $driver)
+ {
+ static::$driverAliases[$alias] = $driver;
+ }
+}
diff --git a/vendor/illuminate/support/DateFactory.php b/vendor/illuminate/support/DateFactory.php
new file mode 100644
index 0000000..f36cb46
--- /dev/null
+++ b/vendor/illuminate/support/DateFactory.php
@@ -0,0 +1,231 @@
+$method(...$parameters);
+ }
+
+ $dateClass = static::$dateClass ?: $defaultClassName;
+
+ // Check if date can be created using public class method...
+ if (method_exists($dateClass, $method) ||
+ method_exists($dateClass, 'hasMacro') && $dateClass::hasMacro($method)) {
+ return $dateClass::$method(...$parameters);
+ }
+
+ // If that fails, create the date with the default class...
+ $date = $defaultClassName::$method(...$parameters);
+
+ // If the configured class has an "instance" method, we'll try to pass our date into there...
+ if (method_exists($dateClass, 'instance')) {
+ return $dateClass::instance($date);
+ }
+
+ // Otherwise, assume the configured class has a DateTime compatible constructor...
+ return new $dateClass($date->format('Y-m-d H:i:s.u'), $date->getTimezone());
+ }
+}
diff --git a/vendor/illuminate/support/Env.php b/vendor/illuminate/support/Env.php
new file mode 100644
index 0000000..b310073
--- /dev/null
+++ b/vendor/illuminate/support/Env.php
@@ -0,0 +1,103 @@
+addAdapter(PutenvAdapter::class);
+ }
+
+ static::$repository = $builder->immutable()->make();
+ }
+
+ return static::$repository;
+ }
+
+ /**
+ * Gets the value of an environment variable.
+ *
+ * @param string $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public static function get($key, $default = null)
+ {
+ return Option::fromValue(static::getRepository()->get($key))
+ ->map(function ($value) {
+ switch (strtolower($value)) {
+ case 'true':
+ case '(true)':
+ return true;
+ case 'false':
+ case '(false)':
+ return false;
+ case 'empty':
+ case '(empty)':
+ return '';
+ case 'null':
+ case '(null)':
+ return;
+ }
+
+ if (preg_match('/\A([\'"])(.*)\1\z/', $value, $matches)) {
+ return $matches[2];
+ }
+
+ return $value;
+ })
+ ->getOrCall(function () use ($default) {
+ return value($default);
+ });
+ }
+}
diff --git a/vendor/illuminate/support/Facades/App.php b/vendor/illuminate/support/Facades/App.php
new file mode 100755
index 0000000..8fbec3d
--- /dev/null
+++ b/vendor/illuminate/support/Facades/App.php
@@ -0,0 +1,64 @@
+providerIsLoaded(UiServiceProvider::class)) {
+ throw new RuntimeException('In order to use the Auth::routes() method, please install the laravel/ui package.');
+ }
+
+ static::$app->make('router')->auth($options);
+ }
+}
diff --git a/vendor/illuminate/support/Facades/Blade.php b/vendor/illuminate/support/Facades/Blade.php
new file mode 100755
index 0000000..81019e2
--- /dev/null
+++ b/vendor/illuminate/support/Facades/Blade.php
@@ -0,0 +1,46 @@
+dispatch();
+ }
+
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ */
+ protected static function getFacadeAccessor()
+ {
+ return BusDispatcherContract::class;
+ }
+}
diff --git a/vendor/illuminate/support/Facades/Cache.php b/vendor/illuminate/support/Facades/Cache.php
new file mode 100755
index 0000000..168c351
--- /dev/null
+++ b/vendor/illuminate/support/Facades/Cache.php
@@ -0,0 +1,40 @@
+cookie($key, null));
+ }
+
+ /**
+ * Retrieve a cookie from the request.
+ *
+ * @param string|null $key
+ * @param mixed $default
+ * @return string|array|null
+ */
+ public static function get($key = null, $default = null)
+ {
+ return static::$app['request']->cookie($key, $default);
+ }
+
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ */
+ protected static function getFacadeAccessor()
+ {
+ return 'cookie';
+ }
+}
diff --git a/vendor/illuminate/support/Facades/Crypt.php b/vendor/illuminate/support/Facades/Crypt.php
new file mode 100755
index 0000000..61eaaa8
--- /dev/null
+++ b/vendor/illuminate/support/Facades/Crypt.php
@@ -0,0 +1,27 @@
+resolved($accessor) === true) {
+ $callback(static::getFacadeRoot());
+ }
+
+ static::$app->afterResolving($accessor, function ($service) use ($callback) {
+ $callback($service);
+ });
+ }
+
+ /**
+ * Convert the facade into a Mockery spy.
+ *
+ * @return \Mockery\MockInterface
+ */
+ public static function spy()
+ {
+ if (! static::isMock()) {
+ $class = static::getMockableClass();
+
+ return tap($class ? Mockery::spy($class) : Mockery::spy(), function ($spy) {
+ static::swap($spy);
+ });
+ }
+ }
+
+ /**
+ * Initiate a partial mock on the facade.
+ *
+ * @return \Mockery\MockInterface
+ */
+ public static function partialMock()
+ {
+ $name = static::getFacadeAccessor();
+
+ $mock = static::isMock()
+ ? static::$resolvedInstance[$name]
+ : static::createFreshMockInstance();
+
+ return $mock->makePartial();
+ }
+
+ /**
+ * Initiate a mock expectation on the facade.
+ *
+ * @return \Mockery\Expectation
+ */
+ public static function shouldReceive()
+ {
+ $name = static::getFacadeAccessor();
+
+ $mock = static::isMock()
+ ? static::$resolvedInstance[$name]
+ : static::createFreshMockInstance();
+
+ return $mock->shouldReceive(...func_get_args());
+ }
+
+ /**
+ * Create a fresh mock instance for the given class.
+ *
+ * @return \Mockery\MockInterface
+ */
+ protected static function createFreshMockInstance()
+ {
+ return tap(static::createMock(), function ($mock) {
+ static::swap($mock);
+
+ $mock->shouldAllowMockingProtectedMethods();
+ });
+ }
+
+ /**
+ * Create a fresh mock instance for the given class.
+ *
+ * @return \Mockery\MockInterface
+ */
+ protected static function createMock()
+ {
+ $class = static::getMockableClass();
+
+ return $class ? Mockery::mock($class) : Mockery::mock();
+ }
+
+ /**
+ * Determines whether a mock is set as the instance of the facade.
+ *
+ * @return bool
+ */
+ protected static function isMock()
+ {
+ $name = static::getFacadeAccessor();
+
+ return isset(static::$resolvedInstance[$name]) &&
+ static::$resolvedInstance[$name] instanceof LegacyMockInterface;
+ }
+
+ /**
+ * Get the mockable class for the bound instance.
+ *
+ * @return string|null
+ */
+ protected static function getMockableClass()
+ {
+ if ($root = static::getFacadeRoot()) {
+ return get_class($root);
+ }
+ }
+
+ /**
+ * Hotswap the underlying instance behind the facade.
+ *
+ * @param mixed $instance
+ * @return void
+ */
+ public static function swap($instance)
+ {
+ static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
+
+ if (isset(static::$app)) {
+ static::$app->instance(static::getFacadeAccessor(), $instance);
+ }
+ }
+
+ /**
+ * Get the root object behind the facade.
+ *
+ * @return mixed
+ */
+ public static function getFacadeRoot()
+ {
+ return static::resolveFacadeInstance(static::getFacadeAccessor());
+ }
+
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ *
+ * @throws \RuntimeException
+ */
+ protected static function getFacadeAccessor()
+ {
+ throw new RuntimeException('Facade does not implement getFacadeAccessor method.');
+ }
+
+ /**
+ * Resolve the facade root instance from the container.
+ *
+ * @param object|string $name
+ * @return mixed
+ */
+ protected static function resolveFacadeInstance($name)
+ {
+ if (is_object($name)) {
+ return $name;
+ }
+
+ if (isset(static::$resolvedInstance[$name])) {
+ return static::$resolvedInstance[$name];
+ }
+
+ if (static::$app) {
+ return static::$resolvedInstance[$name] = static::$app[$name];
+ }
+ }
+
+ /**
+ * Clear a resolved facade instance.
+ *
+ * @param string $name
+ * @return void
+ */
+ public static function clearResolvedInstance($name)
+ {
+ unset(static::$resolvedInstance[$name]);
+ }
+
+ /**
+ * Clear all of the resolved instances.
+ *
+ * @return void
+ */
+ public static function clearResolvedInstances()
+ {
+ static::$resolvedInstance = [];
+ }
+
+ /**
+ * Get the application instance behind the facade.
+ *
+ * @return \Illuminate\Contracts\Foundation\Application
+ */
+ public static function getFacadeApplication()
+ {
+ return static::$app;
+ }
+
+ /**
+ * Set the application instance.
+ *
+ * @param \Illuminate\Contracts\Foundation\Application $app
+ * @return void
+ */
+ public static function setFacadeApplication($app)
+ {
+ static::$app = $app;
+ }
+
+ /**
+ * Handle dynamic, static calls to the object.
+ *
+ * @param string $method
+ * @param array $args
+ * @return mixed
+ *
+ * @throws \RuntimeException
+ */
+ public static function __callStatic($method, $args)
+ {
+ $instance = static::getFacadeRoot();
+
+ if (! $instance) {
+ throw new RuntimeException('A facade root has not been set.');
+ }
+
+ return $instance->$method(...$args);
+ }
+}
diff --git a/vendor/illuminate/support/Facades/File.php b/vendor/illuminate/support/Facades/File.php
new file mode 100755
index 0000000..c22d363
--- /dev/null
+++ b/vendor/illuminate/support/Facades/File.php
@@ -0,0 +1,62 @@
+route($channel, $route);
+ }
+
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ */
+ protected static function getFacadeAccessor()
+ {
+ return ChannelManager::class;
+ }
+}
diff --git a/vendor/illuminate/support/Facades/ParallelTesting.php b/vendor/illuminate/support/Facades/ParallelTesting.php
new file mode 100644
index 0000000..c397611
--- /dev/null
+++ b/vendor/illuminate/support/Facades/ParallelTesting.php
@@ -0,0 +1,26 @@
+connection($name)->getSchemaBuilder();
+ }
+
+ /**
+ * Get a schema builder instance for the default connection.
+ *
+ * @return \Illuminate\Database\Schema\Builder
+ */
+ protected static function getFacadeAccessor()
+ {
+ return static::$app['db']->connection()->getSchemaBuilder();
+ }
+}
diff --git a/vendor/illuminate/support/Facades/Session.php b/vendor/illuminate/support/Facades/Session.php
new file mode 100755
index 0000000..a072321
--- /dev/null
+++ b/vendor/illuminate/support/Facades/Session.php
@@ -0,0 +1,45 @@
+get('filesystems.default');
+
+ $root = storage_path('framework/testing/disks/'.$disk);
+
+ if ($token = ParallelTesting::token()) {
+ $root = "{$root}_test_{$token}";
+ }
+
+ (new Filesystem)->cleanDirectory($root);
+
+ static::set($disk, $fake = static::createLocalDriver(array_merge($config, [
+ 'root' => $root,
+ ])));
+
+ return $fake;
+ }
+
+ /**
+ * Replace the given disk with a persistent local testing disk.
+ *
+ * @param string|null $disk
+ * @param array $config
+ * @return \Illuminate\Contracts\Filesystem\Filesystem
+ */
+ public static function persistentFake($disk = null, array $config = [])
+ {
+ $disk = $disk ?: static::$app['config']->get('filesystems.default');
+
+ static::set($disk, $fake = static::createLocalDriver(array_merge($config, [
+ 'root' => storage_path('framework/testing/disks/'.$disk),
+ ])));
+
+ return $fake;
+ }
+
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ */
+ protected static function getFacadeAccessor()
+ {
+ return 'filesystem';
+ }
+}
diff --git a/vendor/illuminate/support/Facades/URL.php b/vendor/illuminate/support/Facades/URL.php
new file mode 100755
index 0000000..7d9941d
--- /dev/null
+++ b/vendor/illuminate/support/Facades/URL.php
@@ -0,0 +1,38 @@
+ $value) {
+ $this->attributes[$key] = $value;
+ }
+ }
+
+ /**
+ * Get an attribute from the fluent instance.
+ *
+ * @param string $key
+ * @param mixed $default
+ * @return mixed
+ */
+ public function get($key, $default = null)
+ {
+ if (array_key_exists($key, $this->attributes)) {
+ return $this->attributes[$key];
+ }
+
+ return value($default);
+ }
+
+ /**
+ * Get the attributes from the fluent instance.
+ *
+ * @return array
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Convert the fluent instance to an array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Convert the object into something JSON serializable.
+ *
+ * @return array
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->toArray();
+ }
+
+ /**
+ * Convert the fluent instance to JSON.
+ *
+ * @param int $options
+ * @return string
+ */
+ public function toJson($options = 0)
+ {
+ return json_encode($this->jsonSerialize(), $options);
+ }
+
+ /**
+ * Determine if the given offset exists.
+ *
+ * @param string $offset
+ * @return bool
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetExists($offset)
+ {
+ return isset($this->attributes[$offset]);
+ }
+
+ /**
+ * Get the value for a given offset.
+ *
+ * @param string $offset
+ * @return mixed
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetGet($offset)
+ {
+ return $this->get($offset);
+ }
+
+ /**
+ * Set the value at the given offset.
+ *
+ * @param string $offset
+ * @param mixed $value
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetSet($offset, $value)
+ {
+ $this->attributes[$offset] = $value;
+ }
+
+ /**
+ * Unset the value at the given offset.
+ *
+ * @param string $offset
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetUnset($offset)
+ {
+ unset($this->attributes[$offset]);
+ }
+
+ /**
+ * Handle dynamic calls to the fluent instance to set attributes.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return $this
+ */
+ public function __call($method, $parameters)
+ {
+ $this->attributes[$method] = count($parameters) > 0 ? $parameters[0] : true;
+
+ return $this;
+ }
+
+ /**
+ * Dynamically retrieve the value of an attribute.
+ *
+ * @param string $key
+ * @return mixed
+ */
+ public function __get($key)
+ {
+ return $this->get($key);
+ }
+
+ /**
+ * Dynamically set the value of an attribute.
+ *
+ * @param string $key
+ * @param mixed $value
+ * @return void
+ */
+ public function __set($key, $value)
+ {
+ $this->offsetSet($key, $value);
+ }
+
+ /**
+ * Dynamically check if an attribute is set.
+ *
+ * @param string $key
+ * @return bool
+ */
+ public function __isset($key)
+ {
+ return $this->offsetExists($key);
+ }
+
+ /**
+ * Dynamically unset an attribute.
+ *
+ * @param string $key
+ * @return void
+ */
+ public function __unset($key)
+ {
+ $this->offsetUnset($key);
+ }
+}
diff --git a/vendor/illuminate/support/HigherOrderTapProxy.php b/vendor/illuminate/support/HigherOrderTapProxy.php
new file mode 100644
index 0000000..bbf9b2e
--- /dev/null
+++ b/vendor/illuminate/support/HigherOrderTapProxy.php
@@ -0,0 +1,38 @@
+target = $target;
+ }
+
+ /**
+ * Dynamically pass method calls to the target.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ $this->target->{$method}(...$parameters);
+
+ return $this->target;
+ }
+}
diff --git a/vendor/illuminate/support/HtmlString.php b/vendor/illuminate/support/HtmlString.php
new file mode 100644
index 0000000..d6b71d4
--- /dev/null
+++ b/vendor/illuminate/support/HtmlString.php
@@ -0,0 +1,66 @@
+html = $html;
+ }
+
+ /**
+ * Get the HTML string.
+ *
+ * @return string
+ */
+ public function toHtml()
+ {
+ return $this->html;
+ }
+
+ /**
+ * Determine if the given HTML string is empty.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return $this->html === '';
+ }
+
+ /**
+ * Determine if the given HTML string is not empty.
+ *
+ * @return bool
+ */
+ public function isNotEmpty()
+ {
+ return ! $this->isEmpty();
+ }
+
+ /**
+ * Get the HTML string.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->toHtml();
+ }
+}
diff --git a/vendor/illuminate/support/InteractsWithTime.php b/vendor/illuminate/support/InteractsWithTime.php
new file mode 100644
index 0000000..2b617c3
--- /dev/null
+++ b/vendor/illuminate/support/InteractsWithTime.php
@@ -0,0 +1,64 @@
+parseDateInterval($delay);
+
+ return $delay instanceof DateTimeInterface
+ ? max(0, $delay->getTimestamp() - $this->currentTime())
+ : (int) $delay;
+ }
+
+ /**
+ * Get the "available at" UNIX timestamp.
+ *
+ * @param \DateTimeInterface|\DateInterval|int $delay
+ * @return int
+ */
+ protected function availableAt($delay = 0)
+ {
+ $delay = $this->parseDateInterval($delay);
+
+ return $delay instanceof DateTimeInterface
+ ? $delay->getTimestamp()
+ : Carbon::now()->addRealSeconds($delay)->getTimestamp();
+ }
+
+ /**
+ * If the given value is an interval, convert it to a DateTime instance.
+ *
+ * @param \DateTimeInterface|\DateInterval|int $delay
+ * @return \DateTimeInterface|int
+ */
+ protected function parseDateInterval($delay)
+ {
+ if ($delay instanceof DateInterval) {
+ $delay = Carbon::now()->add($delay);
+ }
+
+ return $delay;
+ }
+
+ /**
+ * Get the current system time as a UNIX timestamp.
+ *
+ * @return int
+ */
+ protected function currentTime()
+ {
+ return Carbon::now()->getTimestamp();
+ }
+}
diff --git a/vendor/illuminate/support/Js.php b/vendor/illuminate/support/Js.php
new file mode 100644
index 0000000..6d6de34
--- /dev/null
+++ b/vendor/illuminate/support/Js.php
@@ -0,0 +1,145 @@
+js = $this->convertDataToJavaScriptExpression($data, $flags, $depth);
+ }
+
+ /**
+ * Create a new JavaScript string from the given data.
+ *
+ * @param mixed $data
+ * @param int $flags
+ * @param int $depth
+ * @return static
+ *
+ * @throws \JsonException
+ */
+ public static function from($data, $flags = 0, $depth = 512)
+ {
+ return new static($data, $flags, $depth);
+ }
+
+ /**
+ * Convert the given data to a JavaScript expression.
+ *
+ * @param mixed $data
+ * @param int $flags
+ * @param int $depth
+ * @return string
+ *
+ * @throws \JsonException
+ */
+ protected function convertDataToJavaScriptExpression($data, $flags = 0, $depth = 512)
+ {
+ if ($data instanceof self) {
+ return $data->toHtml();
+ }
+
+ $json = $this->jsonEncode($data, $flags, $depth);
+
+ if (is_string($data)) {
+ return "'".substr($json, 1, -1)."'";
+ }
+
+ return $this->convertJsonToJavaScriptExpression($json, $flags);
+ }
+
+ /**
+ * Encode the given data as JSON.
+ *
+ * @param mixed $data
+ * @param int $flags
+ * @param int $depth
+ * @return string
+ *
+ * @throws \JsonException
+ */
+ protected function jsonEncode($data, $flags = 0, $depth = 512)
+ {
+ if ($data instanceof Jsonable) {
+ return $data->toJson($flags | static::REQUIRED_FLAGS);
+ }
+
+ if ($data instanceof Arrayable && ! ($data instanceof JsonSerializable)) {
+ $data = $data->toArray();
+ }
+
+ return json_encode($data, $flags | static::REQUIRED_FLAGS, $depth);
+ }
+
+ /**
+ * Convert the given JSON to a JavaScript expression.
+ *
+ * @param string $json
+ * @param int $flags
+ * @return string
+ *
+ * @throws \JsonException
+ */
+ protected function convertJsonToJavaScriptExpression($json, $flags = 0)
+ {
+ if ('[]' === $json || '{}' === $json) {
+ return $json;
+ }
+
+ if (Str::startsWith($json, ['"', '{', '['])) {
+ return "JSON.parse('".substr(json_encode($json, $flags | static::REQUIRED_FLAGS), 1, -1)."')";
+ }
+
+ return $json;
+ }
+
+ /**
+ * Get the string representation of the data for use in HTML.
+ *
+ * @return string
+ */
+ public function toHtml()
+ {
+ return $this->js;
+ }
+
+ /**
+ * Get the string representation of the data for use in HTML.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->toHtml();
+ }
+}
diff --git a/vendor/illuminate/support/LICENSE.md b/vendor/illuminate/support/LICENSE.md
new file mode 100644
index 0000000..79810c8
--- /dev/null
+++ b/vendor/illuminate/support/LICENSE.md
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) Taylor Otwell
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/vendor/illuminate/support/Manager.php b/vendor/illuminate/support/Manager.php
new file mode 100755
index 0000000..f8ae072
--- /dev/null
+++ b/vendor/illuminate/support/Manager.php
@@ -0,0 +1,193 @@
+container = $container;
+ $this->config = $container->make('config');
+ }
+
+ /**
+ * Get the default driver name.
+ *
+ * @return string
+ */
+ abstract public function getDefaultDriver();
+
+ /**
+ * Get a driver instance.
+ *
+ * @param string|null $driver
+ * @return mixed
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function driver($driver = null)
+ {
+ $driver = $driver ?: $this->getDefaultDriver();
+
+ if (is_null($driver)) {
+ throw new InvalidArgumentException(sprintf(
+ 'Unable to resolve NULL driver for [%s].', static::class
+ ));
+ }
+
+ // If the given driver has not been created before, we will create the instances
+ // here and cache it so we can return it next time very quickly. If there is
+ // already a driver created by this name, we'll just return that instance.
+ if (! isset($this->drivers[$driver])) {
+ $this->drivers[$driver] = $this->createDriver($driver);
+ }
+
+ return $this->drivers[$driver];
+ }
+
+ /**
+ * Create a new driver instance.
+ *
+ * @param string $driver
+ * @return mixed
+ *
+ * @throws \InvalidArgumentException
+ */
+ protected function createDriver($driver)
+ {
+ // First, we will determine if a custom driver creator exists for the given driver and
+ // if it does not we will check for a creator method for the driver. Custom creator
+ // callbacks allow developers to build their own "drivers" easily using Closures.
+ if (isset($this->customCreators[$driver])) {
+ return $this->callCustomCreator($driver);
+ } else {
+ $method = 'create'.Str::studly($driver).'Driver';
+
+ if (method_exists($this, $method)) {
+ return $this->$method();
+ }
+ }
+
+ throw new InvalidArgumentException("Driver [$driver] not supported.");
+ }
+
+ /**
+ * Call a custom driver creator.
+ *
+ * @param string $driver
+ * @return mixed
+ */
+ protected function callCustomCreator($driver)
+ {
+ return $this->customCreators[$driver]($this->container);
+ }
+
+ /**
+ * Register a custom driver creator Closure.
+ *
+ * @param string $driver
+ * @param \Closure $callback
+ * @return $this
+ */
+ public function extend($driver, Closure $callback)
+ {
+ $this->customCreators[$driver] = $callback;
+
+ return $this;
+ }
+
+ /**
+ * Get all of the created "drivers".
+ *
+ * @return array
+ */
+ public function getDrivers()
+ {
+ return $this->drivers;
+ }
+
+ /**
+ * Get the container instance used by the manager.
+ *
+ * @return \Illuminate\Contracts\Container\Container
+ */
+ public function getContainer()
+ {
+ return $this->container;
+ }
+
+ /**
+ * Set the container instance used by the manager.
+ *
+ * @param \Illuminate\Contracts\Container\Container $container
+ * @return $this
+ */
+ public function setContainer(Container $container)
+ {
+ $this->container = $container;
+
+ return $this;
+ }
+
+ /**
+ * Forget all of the resolved driver instances.
+ *
+ * @return $this
+ */
+ public function forgetDrivers()
+ {
+ $this->drivers = [];
+
+ return $this;
+ }
+
+ /**
+ * Dynamically call the default driver instance.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->driver()->$method(...$parameters);
+ }
+}
diff --git a/vendor/illuminate/support/MessageBag.php b/vendor/illuminate/support/MessageBag.php
new file mode 100755
index 0000000..e53d509
--- /dev/null
+++ b/vendor/illuminate/support/MessageBag.php
@@ -0,0 +1,418 @@
+ $value) {
+ $value = $value instanceof Arrayable ? $value->toArray() : (array) $value;
+
+ $this->messages[$key] = array_unique($value);
+ }
+ }
+
+ /**
+ * Get the keys present in the message bag.
+ *
+ * @return array
+ */
+ public function keys()
+ {
+ return array_keys($this->messages);
+ }
+
+ /**
+ * Add a message to the message bag.
+ *
+ * @param string $key
+ * @param string $message
+ * @return $this
+ */
+ public function add($key, $message)
+ {
+ if ($this->isUnique($key, $message)) {
+ $this->messages[$key][] = $message;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add a message to the message bag if the given conditional is "true".
+ *
+ * @param bool $boolean
+ * @param string $key
+ * @param string $message
+ * @return $this
+ */
+ public function addIf($boolean, $key, $message)
+ {
+ return $boolean ? $this->add($key, $message) : $this;
+ }
+
+ /**
+ * Determine if a key and message combination already exists.
+ *
+ * @param string $key
+ * @param string $message
+ * @return bool
+ */
+ protected function isUnique($key, $message)
+ {
+ $messages = (array) $this->messages;
+
+ return ! isset($messages[$key]) || ! in_array($message, $messages[$key]);
+ }
+
+ /**
+ * Merge a new array of messages into the message bag.
+ *
+ * @param \Illuminate\Contracts\Support\MessageProvider|array $messages
+ * @return $this
+ */
+ public function merge($messages)
+ {
+ if ($messages instanceof MessageProvider) {
+ $messages = $messages->getMessageBag()->getMessages();
+ }
+
+ $this->messages = array_merge_recursive($this->messages, $messages);
+
+ return $this;
+ }
+
+ /**
+ * Determine if messages exist for all of the given keys.
+ *
+ * @param array|string|null $key
+ * @return bool
+ */
+ public function has($key)
+ {
+ if ($this->isEmpty()) {
+ return false;
+ }
+
+ if (is_null($key)) {
+ return $this->any();
+ }
+
+ $keys = is_array($key) ? $key : func_get_args();
+
+ foreach ($keys as $key) {
+ if ($this->first($key) === '') {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Determine if messages exist for any of the given keys.
+ *
+ * @param array|string $keys
+ * @return bool
+ */
+ public function hasAny($keys = [])
+ {
+ if ($this->isEmpty()) {
+ return false;
+ }
+
+ $keys = is_array($keys) ? $keys : func_get_args();
+
+ foreach ($keys as $key) {
+ if ($this->has($key)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the first message from the message bag for a given key.
+ *
+ * @param string|null $key
+ * @param string|null $format
+ * @return string
+ */
+ public function first($key = null, $format = null)
+ {
+ $messages = is_null($key) ? $this->all($format) : $this->get($key, $format);
+
+ $firstMessage = Arr::first($messages, null, '');
+
+ return is_array($firstMessage) ? Arr::first($firstMessage) : $firstMessage;
+ }
+
+ /**
+ * Get all of the messages from the message bag for a given key.
+ *
+ * @param string $key
+ * @param string|null $format
+ * @return array
+ */
+ public function get($key, $format = null)
+ {
+ // If the message exists in the message bag, we will transform it and return
+ // the message. Otherwise, we will check if the key is implicit & collect
+ // all the messages that match the given key and output it as an array.
+ if (array_key_exists($key, $this->messages)) {
+ return $this->transform(
+ $this->messages[$key], $this->checkFormat($format), $key
+ );
+ }
+
+ if (Str::contains($key, '*')) {
+ return $this->getMessagesForWildcardKey($key, $format);
+ }
+
+ return [];
+ }
+
+ /**
+ * Get the messages for a wildcard key.
+ *
+ * @param string $key
+ * @param string|null $format
+ * @return array
+ */
+ protected function getMessagesForWildcardKey($key, $format)
+ {
+ return collect($this->messages)
+ ->filter(function ($messages, $messageKey) use ($key) {
+ return Str::is($key, $messageKey);
+ })
+ ->map(function ($messages, $messageKey) use ($format) {
+ return $this->transform(
+ $messages, $this->checkFormat($format), $messageKey
+ );
+ })->all();
+ }
+
+ /**
+ * Get all of the messages for every key in the message bag.
+ *
+ * @param string|null $format
+ * @return array
+ */
+ public function all($format = null)
+ {
+ $format = $this->checkFormat($format);
+
+ $all = [];
+
+ foreach ($this->messages as $key => $messages) {
+ $all = array_merge($all, $this->transform($messages, $format, $key));
+ }
+
+ return $all;
+ }
+
+ /**
+ * Get all of the unique messages for every key in the message bag.
+ *
+ * @param string|null $format
+ * @return array
+ */
+ public function unique($format = null)
+ {
+ return array_unique($this->all($format));
+ }
+
+ /**
+ * Format an array of messages.
+ *
+ * @param array $messages
+ * @param string $format
+ * @param string $messageKey
+ * @return array
+ */
+ protected function transform($messages, $format, $messageKey)
+ {
+ return collect((array) $messages)
+ ->map(function ($message) use ($format, $messageKey) {
+ // We will simply spin through the given messages and transform each one
+ // replacing the :message place holder with the real message allowing
+ // the messages to be easily formatted to each developer's desires.
+ return str_replace([':message', ':key'], [$message, $messageKey], $format);
+ })->all();
+ }
+
+ /**
+ * Get the appropriate format based on the given format.
+ *
+ * @param string $format
+ * @return string
+ */
+ protected function checkFormat($format)
+ {
+ return $format ?: $this->format;
+ }
+
+ /**
+ * Get the raw messages in the message bag.
+ *
+ * @return array
+ */
+ public function messages()
+ {
+ return $this->messages;
+ }
+
+ /**
+ * Get the raw messages in the message bag.
+ *
+ * @return array
+ */
+ public function getMessages()
+ {
+ return $this->messages();
+ }
+
+ /**
+ * Get the messages for the instance.
+ *
+ * @return \Illuminate\Support\MessageBag
+ */
+ public function getMessageBag()
+ {
+ return $this;
+ }
+
+ /**
+ * Get the default message format.
+ *
+ * @return string
+ */
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ /**
+ * Set the default message format.
+ *
+ * @param string $format
+ * @return \Illuminate\Support\MessageBag
+ */
+ public function setFormat($format = ':message')
+ {
+ $this->format = $format;
+
+ return $this;
+ }
+
+ /**
+ * Determine if the message bag has any messages.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return ! $this->any();
+ }
+
+ /**
+ * Determine if the message bag has any messages.
+ *
+ * @return bool
+ */
+ public function isNotEmpty()
+ {
+ return $this->any();
+ }
+
+ /**
+ * Determine if the message bag has any messages.
+ *
+ * @return bool
+ */
+ public function any()
+ {
+ return $this->count() > 0;
+ }
+
+ /**
+ * Get the number of messages in the message bag.
+ *
+ * @return int
+ */
+ #[\ReturnTypeWillChange]
+ public function count()
+ {
+ return count($this->messages, COUNT_RECURSIVE) - count($this->messages);
+ }
+
+ /**
+ * Get the instance as an array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return $this->getMessages();
+ }
+
+ /**
+ * Convert the object into something JSON serializable.
+ *
+ * @return array
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->toArray();
+ }
+
+ /**
+ * Convert the object to its JSON representation.
+ *
+ * @param int $options
+ * @return string
+ */
+ public function toJson($options = 0)
+ {
+ return json_encode($this->jsonSerialize(), $options);
+ }
+
+ /**
+ * Convert the message bag to its string representation.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->toJson();
+ }
+}
diff --git a/vendor/illuminate/support/MultipleInstanceManager.php b/vendor/illuminate/support/MultipleInstanceManager.php
new file mode 100644
index 0000000..97cee33
--- /dev/null
+++ b/vendor/illuminate/support/MultipleInstanceManager.php
@@ -0,0 +1,191 @@
+app = $app;
+ }
+
+ /**
+ * Get the default instance name.
+ *
+ * @return string
+ */
+ abstract public function getDefaultInstance();
+
+ /**
+ * Set the default instance name.
+ *
+ * @param string $name
+ * @return void
+ */
+ abstract public function setDefaultInstance($name);
+
+ /**
+ * Get the instance specific configuration.
+ *
+ * @param string $name
+ * @return array
+ */
+ abstract public function getInstanceConfig($name);
+
+ /**
+ * Get an instance instance by name.
+ *
+ * @param string|null $name
+ * @return mixed
+ */
+ public function instance($name = null)
+ {
+ $name = $name ?: $this->getDefaultInstance();
+
+ return $this->instances[$name] = $this->get($name);
+ }
+
+ /**
+ * Attempt to get an instance from the local cache.
+ *
+ * @param string $name
+ * @return mixed
+ */
+ protected function get($name)
+ {
+ return $this->instances[$name] ?? $this->resolve($name);
+ }
+
+ /**
+ * Resolve the given instance.
+ *
+ * @param string $name
+ * @return mixed
+ *
+ * @throws \InvalidArgumentException
+ */
+ protected function resolve($name)
+ {
+ $config = $this->getInstanceConfig($name);
+
+ if (is_null($config)) {
+ throw new InvalidArgumentException("Instance [{$name}] is not defined.");
+ }
+
+ if (! array_key_exists('driver', $config)) {
+ throw new RuntimeException("Instance [{$name}] does not specify a driver.");
+ }
+
+ if (isset($this->customCreators[$config['driver']])) {
+ return $this->callCustomCreator($config);
+ } else {
+ $driverMethod = 'create'.ucfirst($config['driver']).'Driver';
+
+ if (method_exists($this, $driverMethod)) {
+ return $this->{$driverMethod}($config);
+ } else {
+ throw new InvalidArgumentException("Instance driver [{$config['driver']}] is not supported.");
+ }
+ }
+ }
+
+ /**
+ * Call a custom instance creator.
+ *
+ * @param array $config
+ * @return mixed
+ */
+ protected function callCustomCreator(array $config)
+ {
+ return $this->customCreators[$config['driver']]($this->app, $config);
+ }
+
+ /**
+ * Unset the given instances.
+ *
+ * @param array|string|null $name
+ * @return $this
+ */
+ public function forgetInstance($name = null)
+ {
+ $name = $name ?? $this->getDefaultInstance();
+
+ foreach ((array) $name as $instanceName) {
+ if (isset($this->instances[$instanceName])) {
+ unset($this->instances[$instanceName]);
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Disconnect the given instance and remove from local cache.
+ *
+ * @param string|null $name
+ * @return void
+ */
+ public function purge($name = null)
+ {
+ $name = $name ?? $this->getDefaultInstance();
+
+ unset($this->instances[$name]);
+ }
+
+ /**
+ * Register a custom instance creator Closure.
+ *
+ * @param string $name
+ * @param \Closure $callback
+ * @return $this
+ */
+ public function extend($name, Closure $callback)
+ {
+ $this->customCreators[$name] = $callback->bindTo($this, $this);
+
+ return $this;
+ }
+
+ /**
+ * Dynamically call the default instance.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->instance()->$method(...$parameters);
+ }
+}
diff --git a/vendor/illuminate/support/NamespacedItemResolver.php b/vendor/illuminate/support/NamespacedItemResolver.php
new file mode 100755
index 0000000..a0d8508
--- /dev/null
+++ b/vendor/illuminate/support/NamespacedItemResolver.php
@@ -0,0 +1,112 @@
+parsed[$key])) {
+ return $this->parsed[$key];
+ }
+
+ // If the key does not contain a double colon, it means the key is not in a
+ // namespace, and is just a regular configuration item. Namespaces are a
+ // tool for organizing configuration items for things such as modules.
+ if (strpos($key, '::') === false) {
+ $segments = explode('.', $key);
+
+ $parsed = $this->parseBasicSegments($segments);
+ } else {
+ $parsed = $this->parseNamespacedSegments($key);
+ }
+
+ // Once we have the parsed array of this key's elements, such as its groups
+ // and namespace, we will cache each array inside a simple list that has
+ // the key and the parsed array for quick look-ups for later requests.
+ return $this->parsed[$key] = $parsed;
+ }
+
+ /**
+ * Parse an array of basic segments.
+ *
+ * @param array $segments
+ * @return array
+ */
+ protected function parseBasicSegments(array $segments)
+ {
+ // The first segment in a basic array will always be the group, so we can go
+ // ahead and grab that segment. If there is only one total segment we are
+ // just pulling an entire group out of the array and not a single item.
+ $group = $segments[0];
+
+ // If there is more than one segment in this group, it means we are pulling
+ // a specific item out of a group and will need to return this item name
+ // as well as the group so we know which item to pull from the arrays.
+ $item = count($segments) === 1
+ ? null
+ : implode('.', array_slice($segments, 1));
+
+ return [null, $group, $item];
+ }
+
+ /**
+ * Parse an array of namespaced segments.
+ *
+ * @param string $key
+ * @return array
+ */
+ protected function parseNamespacedSegments($key)
+ {
+ [$namespace, $item] = explode('::', $key);
+
+ // First we'll just explode the first segment to get the namespace and group
+ // since the item should be in the remaining segments. Once we have these
+ // two pieces of data we can proceed with parsing out the item's value.
+ $itemSegments = explode('.', $item);
+
+ $groupAndItem = array_slice(
+ $this->parseBasicSegments($itemSegments), 1
+ );
+
+ return array_merge([$namespace], $groupAndItem);
+ }
+
+ /**
+ * Set the parsed value of a key.
+ *
+ * @param string $key
+ * @param array $parsed
+ * @return void
+ */
+ public function setParsedKey($key, $parsed)
+ {
+ $this->parsed[$key] = $parsed;
+ }
+
+ /**
+ * Flush the cache of parsed keys.
+ *
+ * @return void
+ */
+ public function flushParsedKeys()
+ {
+ $this->parsed = [];
+ }
+}
diff --git a/vendor/illuminate/support/Optional.php b/vendor/illuminate/support/Optional.php
new file mode 100644
index 0000000..816190d
--- /dev/null
+++ b/vendor/illuminate/support/Optional.php
@@ -0,0 +1,135 @@
+value = $value;
+ }
+
+ /**
+ * Dynamically access a property on the underlying object.
+ *
+ * @param string $key
+ * @return mixed
+ */
+ public function __get($key)
+ {
+ if (is_object($this->value)) {
+ return $this->value->{$key} ?? null;
+ }
+ }
+
+ /**
+ * Dynamically check a property exists on the underlying object.
+ *
+ * @param mixed $name
+ * @return bool
+ */
+ public function __isset($name)
+ {
+ if (is_object($this->value)) {
+ return isset($this->value->{$name});
+ }
+
+ if (is_array($this->value) || $this->value instanceof ArrayObject) {
+ return isset($this->value[$name]);
+ }
+
+ return false;
+ }
+
+ /**
+ * Determine if an item exists at an offset.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetExists($key)
+ {
+ return Arr::accessible($this->value) && Arr::exists($this->value, $key);
+ }
+
+ /**
+ * Get an item at a given offset.
+ *
+ * @param mixed $key
+ * @return mixed
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetGet($key)
+ {
+ return Arr::get($this->value, $key);
+ }
+
+ /**
+ * Set the item at a given offset.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetSet($key, $value)
+ {
+ if (Arr::accessible($this->value)) {
+ $this->value[$key] = $value;
+ }
+ }
+
+ /**
+ * Unset the item at a given offset.
+ *
+ * @param string $key
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetUnset($key)
+ {
+ if (Arr::accessible($this->value)) {
+ unset($this->value[$key]);
+ }
+ }
+
+ /**
+ * Dynamically pass a method to the underlying object.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ if (static::hasMacro($method)) {
+ return $this->macroCall($method, $parameters);
+ }
+
+ if (is_object($this->value)) {
+ return $this->value->{$method}(...$parameters);
+ }
+ }
+}
diff --git a/vendor/illuminate/support/Pluralizer.php b/vendor/illuminate/support/Pluralizer.php
new file mode 100755
index 0000000..fbe5182
--- /dev/null
+++ b/vendor/illuminate/support/Pluralizer.php
@@ -0,0 +1,141 @@
+pluralize($value);
+
+ return static::matchCase($plural, $value);
+ }
+
+ /**
+ * Get the singular form of an English word.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function singular($value)
+ {
+ $singular = static::inflector()->singularize($value);
+
+ return static::matchCase($singular, $value);
+ }
+
+ /**
+ * Determine if the given value is uncountable.
+ *
+ * @param string $value
+ * @return bool
+ */
+ protected static function uncountable($value)
+ {
+ return in_array(strtolower($value), static::$uncountable);
+ }
+
+ /**
+ * Attempt to match the case on two strings.
+ *
+ * @param string $value
+ * @param string $comparison
+ * @return string
+ */
+ protected static function matchCase($value, $comparison)
+ {
+ $functions = ['mb_strtolower', 'mb_strtoupper', 'ucfirst', 'ucwords'];
+
+ foreach ($functions as $function) {
+ if ($function($comparison) === $comparison) {
+ return $function($value);
+ }
+ }
+
+ return $value;
+ }
+
+ /**
+ * Get the inflector instance.
+ *
+ * @return \Doctrine\Inflector\Inflector
+ */
+ public static function inflector()
+ {
+ static $inflector;
+
+ if (is_null($inflector)) {
+ $inflector = InflectorFactory::createForLanguage('english')->build();
+ }
+
+ return $inflector;
+ }
+}
diff --git a/vendor/illuminate/support/ProcessUtils.php b/vendor/illuminate/support/ProcessUtils.php
new file mode 100644
index 0000000..1caa9e1
--- /dev/null
+++ b/vendor/illuminate/support/ProcessUtils.php
@@ -0,0 +1,69 @@
+isPublic();
+ }
+
+ if (is_object($var[0]) && method_exists($class, '__call')) {
+ return (new ReflectionMethod($class, '__call'))->isPublic();
+ }
+
+ if (! is_object($var[0]) && method_exists($class, '__callStatic')) {
+ return (new ReflectionMethod($class, '__callStatic'))->isPublic();
+ }
+
+ return false;
+ }
+
+ /**
+ * Get the class name of the given parameter's type, if possible.
+ *
+ * @param \ReflectionParameter $parameter
+ * @return string|null
+ */
+ public static function getParameterClassName($parameter)
+ {
+ $type = $parameter->getType();
+
+ if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) {
+ return;
+ }
+
+ return static::getTypeName($parameter, $type);
+ }
+
+ /**
+ * Get the class names of the given parameter's type, including union types.
+ *
+ * @param \ReflectionParameter $parameter
+ * @return array
+ */
+ public static function getParameterClassNames($parameter)
+ {
+ $type = $parameter->getType();
+
+ if (! $type instanceof ReflectionUnionType) {
+ return array_filter([static::getParameterClassName($parameter)]);
+ }
+
+ $unionTypes = [];
+
+ foreach ($type->getTypes() as $listedType) {
+ if (! $listedType instanceof ReflectionNamedType || $listedType->isBuiltin()) {
+ continue;
+ }
+
+ $unionTypes[] = static::getTypeName($parameter, $listedType);
+ }
+
+ return array_filter($unionTypes);
+ }
+
+ /**
+ * Get the given type's class name.
+ *
+ * @param \ReflectionParameter $parameter
+ * @param \ReflectionNamedType $type
+ * @return string
+ */
+ protected static function getTypeName($parameter, $type)
+ {
+ $name = $type->getName();
+
+ if (! is_null($class = $parameter->getDeclaringClass())) {
+ if ($name === 'self') {
+ return $class->getName();
+ }
+
+ if ($name === 'parent' && $parent = $class->getParentClass()) {
+ return $parent->getName();
+ }
+ }
+
+ return $name;
+ }
+
+ /**
+ * Determine if the parameter's type is a subclass of the given type.
+ *
+ * @param \ReflectionParameter $parameter
+ * @param string $className
+ * @return bool
+ */
+ public static function isParameterSubclassOf($parameter, $className)
+ {
+ $paramClassName = static::getParameterClassName($parameter);
+
+ return $paramClassName
+ && (class_exists($paramClassName) || interface_exists($paramClassName))
+ && (new ReflectionClass($paramClassName))->isSubclassOf($className);
+ }
+}
diff --git a/vendor/illuminate/support/ServiceProvider.php b/vendor/illuminate/support/ServiceProvider.php
new file mode 100755
index 0000000..6c530c1
--- /dev/null
+++ b/vendor/illuminate/support/ServiceProvider.php
@@ -0,0 +1,437 @@
+app = $app;
+ }
+
+ /**
+ * Register any application services.
+ *
+ * @return void
+ */
+ public function register()
+ {
+ //
+ }
+
+ /**
+ * Register a booting callback to be run before the "boot" method is called.
+ *
+ * @param \Closure $callback
+ * @return void
+ */
+ public function booting(Closure $callback)
+ {
+ $this->bootingCallbacks[] = $callback;
+ }
+
+ /**
+ * Register a booted callback to be run after the "boot" method is called.
+ *
+ * @param \Closure $callback
+ * @return void
+ */
+ public function booted(Closure $callback)
+ {
+ $this->bootedCallbacks[] = $callback;
+ }
+
+ /**
+ * Call the registered booting callbacks.
+ *
+ * @return void
+ */
+ public function callBootingCallbacks()
+ {
+ $index = 0;
+
+ while ($index < count($this->bootingCallbacks)) {
+ $this->app->call($this->bootingCallbacks[$index]);
+
+ $index++;
+ }
+ }
+
+ /**
+ * Call the registered booted callbacks.
+ *
+ * @return void
+ */
+ public function callBootedCallbacks()
+ {
+ $index = 0;
+
+ while ($index < count($this->bootedCallbacks)) {
+ $this->app->call($this->bootedCallbacks[$index]);
+
+ $index++;
+ }
+ }
+
+ /**
+ * Merge the given configuration with the existing configuration.
+ *
+ * @param string $path
+ * @param string $key
+ * @return void
+ */
+ protected function mergeConfigFrom($path, $key)
+ {
+ if (! ($this->app instanceof CachesConfiguration && $this->app->configurationIsCached())) {
+ $config = $this->app->make('config');
+
+ $config->set($key, array_merge(
+ require $path, $config->get($key, [])
+ ));
+ }
+ }
+
+ /**
+ * Load the given routes file if routes are not already cached.
+ *
+ * @param string $path
+ * @return void
+ */
+ protected function loadRoutesFrom($path)
+ {
+ if (! ($this->app instanceof CachesRoutes && $this->app->routesAreCached())) {
+ require $path;
+ }
+ }
+
+ /**
+ * Register a view file namespace.
+ *
+ * @param string|array $path
+ * @param string $namespace
+ * @return void
+ */
+ protected function loadViewsFrom($path, $namespace)
+ {
+ $this->callAfterResolving('view', function ($view) use ($path, $namespace) {
+ if (isset($this->app->config['view']['paths']) &&
+ is_array($this->app->config['view']['paths'])) {
+ foreach ($this->app->config['view']['paths'] as $viewPath) {
+ if (is_dir($appPath = $viewPath.'/vendor/'.$namespace)) {
+ $view->addNamespace($namespace, $appPath);
+ }
+ }
+ }
+
+ $view->addNamespace($namespace, $path);
+ });
+ }
+
+ /**
+ * Register the given view components with a custom prefix.
+ *
+ * @param string $prefix
+ * @param array $components
+ * @return void
+ */
+ protected function loadViewComponentsAs($prefix, array $components)
+ {
+ $this->callAfterResolving(BladeCompiler::class, function ($blade) use ($prefix, $components) {
+ foreach ($components as $alias => $component) {
+ $blade->component($component, is_string($alias) ? $alias : null, $prefix);
+ }
+ });
+ }
+
+ /**
+ * Register a translation file namespace.
+ *
+ * @param string $path
+ * @param string $namespace
+ * @return void
+ */
+ protected function loadTranslationsFrom($path, $namespace)
+ {
+ $this->callAfterResolving('translator', function ($translator) use ($path, $namespace) {
+ $translator->addNamespace($namespace, $path);
+ });
+ }
+
+ /**
+ * Register a JSON translation file path.
+ *
+ * @param string $path
+ * @return void
+ */
+ protected function loadJsonTranslationsFrom($path)
+ {
+ $this->callAfterResolving('translator', function ($translator) use ($path) {
+ $translator->addJsonPath($path);
+ });
+ }
+
+ /**
+ * Register database migration paths.
+ *
+ * @param array|string $paths
+ * @return void
+ */
+ protected function loadMigrationsFrom($paths)
+ {
+ $this->callAfterResolving('migrator', function ($migrator) use ($paths) {
+ foreach ((array) $paths as $path) {
+ $migrator->path($path);
+ }
+ });
+ }
+
+ /**
+ * Register Eloquent model factory paths.
+ *
+ * @deprecated Will be removed in a future Laravel version.
+ *
+ * @param array|string $paths
+ * @return void
+ */
+ protected function loadFactoriesFrom($paths)
+ {
+ $this->callAfterResolving(ModelFactory::class, function ($factory) use ($paths) {
+ foreach ((array) $paths as $path) {
+ $factory->load($path);
+ }
+ });
+ }
+
+ /**
+ * Setup an after resolving listener, or fire immediately if already resolved.
+ *
+ * @param string $name
+ * @param callable $callback
+ * @return void
+ */
+ protected function callAfterResolving($name, $callback)
+ {
+ $this->app->afterResolving($name, $callback);
+
+ if ($this->app->resolved($name)) {
+ $callback($this->app->make($name), $this->app);
+ }
+ }
+
+ /**
+ * Register paths to be published by the publish command.
+ *
+ * @param array $paths
+ * @param mixed $groups
+ * @return void
+ */
+ protected function publishes(array $paths, $groups = null)
+ {
+ $this->ensurePublishArrayInitialized($class = static::class);
+
+ static::$publishes[$class] = array_merge(static::$publishes[$class], $paths);
+
+ foreach ((array) $groups as $group) {
+ $this->addPublishGroup($group, $paths);
+ }
+ }
+
+ /**
+ * Ensure the publish array for the service provider is initialized.
+ *
+ * @param string $class
+ * @return void
+ */
+ protected function ensurePublishArrayInitialized($class)
+ {
+ if (! array_key_exists($class, static::$publishes)) {
+ static::$publishes[$class] = [];
+ }
+ }
+
+ /**
+ * Add a publish group / tag to the service provider.
+ *
+ * @param string $group
+ * @param array $paths
+ * @return void
+ */
+ protected function addPublishGroup($group, $paths)
+ {
+ if (! array_key_exists($group, static::$publishGroups)) {
+ static::$publishGroups[$group] = [];
+ }
+
+ static::$publishGroups[$group] = array_merge(
+ static::$publishGroups[$group], $paths
+ );
+ }
+
+ /**
+ * Get the paths to publish.
+ *
+ * @param string|null $provider
+ * @param string|null $group
+ * @return array
+ */
+ public static function pathsToPublish($provider = null, $group = null)
+ {
+ if (! is_null($paths = static::pathsForProviderOrGroup($provider, $group))) {
+ return $paths;
+ }
+
+ return collect(static::$publishes)->reduce(function ($paths, $p) {
+ return array_merge($paths, $p);
+ }, []);
+ }
+
+ /**
+ * Get the paths for the provider or group (or both).
+ *
+ * @param string|null $provider
+ * @param string|null $group
+ * @return array
+ */
+ protected static function pathsForProviderOrGroup($provider, $group)
+ {
+ if ($provider && $group) {
+ return static::pathsForProviderAndGroup($provider, $group);
+ } elseif ($group && array_key_exists($group, static::$publishGroups)) {
+ return static::$publishGroups[$group];
+ } elseif ($provider && array_key_exists($provider, static::$publishes)) {
+ return static::$publishes[$provider];
+ } elseif ($group || $provider) {
+ return [];
+ }
+ }
+
+ /**
+ * Get the paths for the provider and group.
+ *
+ * @param string $provider
+ * @param string $group
+ * @return array
+ */
+ protected static function pathsForProviderAndGroup($provider, $group)
+ {
+ if (! empty(static::$publishes[$provider]) && ! empty(static::$publishGroups[$group])) {
+ return array_intersect_key(static::$publishes[$provider], static::$publishGroups[$group]);
+ }
+
+ return [];
+ }
+
+ /**
+ * Get the service providers available for publishing.
+ *
+ * @return array
+ */
+ public static function publishableProviders()
+ {
+ return array_keys(static::$publishes);
+ }
+
+ /**
+ * Get the groups available for publishing.
+ *
+ * @return array
+ */
+ public static function publishableGroups()
+ {
+ return array_keys(static::$publishGroups);
+ }
+
+ /**
+ * Register the package's custom Artisan commands.
+ *
+ * @param array|mixed $commands
+ * @return void
+ */
+ public function commands($commands)
+ {
+ $commands = is_array($commands) ? $commands : func_get_args();
+
+ Artisan::starting(function ($artisan) use ($commands) {
+ $artisan->resolveCommands($commands);
+ });
+ }
+
+ /**
+ * Get the services provided by the provider.
+ *
+ * @return array
+ */
+ public function provides()
+ {
+ return [];
+ }
+
+ /**
+ * Get the events that trigger this service provider to register.
+ *
+ * @return array
+ */
+ public function when()
+ {
+ return [];
+ }
+
+ /**
+ * Determine if the provider is deferred.
+ *
+ * @return bool
+ */
+ public function isDeferred()
+ {
+ return $this instanceof DeferrableProvider;
+ }
+}
diff --git a/vendor/illuminate/support/Str.php b/vendor/illuminate/support/Str.php
new file mode 100644
index 0000000..21e1904
--- /dev/null
+++ b/vendor/illuminate/support/Str.php
@@ -0,0 +1,1033 @@
+ 0;
+ }
+
+ /**
+ * Convert a string to kebab case.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function kebab($value)
+ {
+ return static::snake($value, '-');
+ }
+
+ /**
+ * Return the length of the given string.
+ *
+ * @param string $value
+ * @param string|null $encoding
+ * @return int
+ */
+ public static function length($value, $encoding = null)
+ {
+ if ($encoding) {
+ return mb_strlen($value, $encoding);
+ }
+
+ return mb_strlen($value);
+ }
+
+ /**
+ * Limit the number of characters in a string.
+ *
+ * @param string $value
+ * @param int $limit
+ * @param string $end
+ * @return string
+ */
+ public static function limit($value, $limit = 100, $end = '...')
+ {
+ if (mb_strwidth($value, 'UTF-8') <= $limit) {
+ return $value;
+ }
+
+ return rtrim(mb_strimwidth($value, 0, $limit, '', 'UTF-8')).$end;
+ }
+
+ /**
+ * Convert the given string to lower-case.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function lower($value)
+ {
+ return mb_strtolower($value, 'UTF-8');
+ }
+
+ /**
+ * Limit the number of words in a string.
+ *
+ * @param string $value
+ * @param int $words
+ * @param string $end
+ * @return string
+ */
+ public static function words($value, $words = 100, $end = '...')
+ {
+ preg_match('/^\s*+(?:\S++\s*+){1,'.$words.'}/u', $value, $matches);
+
+ if (! isset($matches[0]) || static::length($value) === static::length($matches[0])) {
+ return $value;
+ }
+
+ return rtrim($matches[0]).$end;
+ }
+
+ /**
+ * Converts GitHub flavored Markdown into HTML.
+ *
+ * @param string $string
+ * @param array $options
+ * @return string
+ */
+ public static function markdown($string, array $options = [])
+ {
+ $converter = new GithubFlavoredMarkdownConverter($options);
+
+ return (string) $converter->convertToHtml($string);
+ }
+
+ /**
+ * Masks a portion of a string with a repeated character.
+ *
+ * @param string $string
+ * @param string $character
+ * @param int $index
+ * @param int|null $length
+ * @param string $encoding
+ * @return string
+ */
+ public static function mask($string, $character, $index, $length = null, $encoding = 'UTF-8')
+ {
+ if ($character === '') {
+ return $string;
+ }
+
+ if (is_null($length) && PHP_MAJOR_VERSION < 8) {
+ $length = mb_strlen($string, $encoding);
+ }
+
+ $segment = mb_substr($string, $index, $length, $encoding);
+
+ if ($segment === '') {
+ return $string;
+ }
+
+ $strlen = mb_strlen($string, $encoding);
+ $startIndex = $index;
+
+ if ($index < 0) {
+ $startIndex = $index < -$strlen ? 0 : $strlen + $index;
+ }
+
+ $start = mb_substr($string, 0, $startIndex, $encoding);
+ $segmentLen = mb_strlen($segment, $encoding);
+ $end = mb_substr($string, $startIndex + $segmentLen);
+
+ return $start.str_repeat(mb_substr($character, 0, 1, $encoding), $segmentLen).$end;
+ }
+
+ /**
+ * Get the string matching the given pattern.
+ *
+ * @param string $pattern
+ * @param string $subject
+ * @return string
+ */
+ public static function match($pattern, $subject)
+ {
+ preg_match($pattern, $subject, $matches);
+
+ if (! $matches) {
+ return '';
+ }
+
+ return $matches[1] ?? $matches[0];
+ }
+
+ /**
+ * Get the string matching the given pattern.
+ *
+ * @param string $pattern
+ * @param string $subject
+ * @return \Illuminate\Support\Collection
+ */
+ public static function matchAll($pattern, $subject)
+ {
+ preg_match_all($pattern, $subject, $matches);
+
+ if (empty($matches[0])) {
+ return collect();
+ }
+
+ return collect($matches[1] ?? $matches[0]);
+ }
+
+ /**
+ * Pad both sides of a string with another.
+ *
+ * @param string $value
+ * @param int $length
+ * @param string $pad
+ * @return string
+ */
+ public static function padBoth($value, $length, $pad = ' ')
+ {
+ return str_pad($value, strlen($value) - mb_strlen($value) + $length, $pad, STR_PAD_BOTH);
+ }
+
+ /**
+ * Pad the left side of a string with another.
+ *
+ * @param string $value
+ * @param int $length
+ * @param string $pad
+ * @return string
+ */
+ public static function padLeft($value, $length, $pad = ' ')
+ {
+ return str_pad($value, strlen($value) - mb_strlen($value) + $length, $pad, STR_PAD_LEFT);
+ }
+
+ /**
+ * Pad the right side of a string with another.
+ *
+ * @param string $value
+ * @param int $length
+ * @param string $pad
+ * @return string
+ */
+ public static function padRight($value, $length, $pad = ' ')
+ {
+ return str_pad($value, strlen($value) - mb_strlen($value) + $length, $pad, STR_PAD_RIGHT);
+ }
+
+ /**
+ * Parse a Class[@]method style callback into class and method.
+ *
+ * @param string $callback
+ * @param string|null $default
+ * @return array
+ */
+ public static function parseCallback($callback, $default = null)
+ {
+ return static::contains($callback, '@') ? explode('@', $callback, 2) : [$callback, $default];
+ }
+
+ /**
+ * Get the plural form of an English word.
+ *
+ * @param string $value
+ * @param int|array|\Countable $count
+ * @return string
+ */
+ public static function plural($value, $count = 2)
+ {
+ return Pluralizer::plural($value, $count);
+ }
+
+ /**
+ * Pluralize the last word of an English, studly caps case string.
+ *
+ * @param string $value
+ * @param int|array|\Countable $count
+ * @return string
+ */
+ public static function pluralStudly($value, $count = 2)
+ {
+ $parts = preg_split('/(.)(?=[A-Z])/u', $value, -1, PREG_SPLIT_DELIM_CAPTURE);
+
+ $lastWord = array_pop($parts);
+
+ return implode('', $parts).self::plural($lastWord, $count);
+ }
+
+ /**
+ * Generate a more truly "random" alpha-numeric string.
+ *
+ * @param int $length
+ * @return string
+ */
+ public static function random($length = 16)
+ {
+ $string = '';
+
+ while (($len = strlen($string)) < $length) {
+ $size = $length - $len;
+
+ $bytes = random_bytes($size);
+
+ $string .= substr(str_replace(['/', '+', '='], '', base64_encode($bytes)), 0, $size);
+ }
+
+ return $string;
+ }
+
+ /**
+ * Repeat the given string.
+ *
+ * @param string $string
+ * @param int $times
+ * @return string
+ */
+ public static function repeat(string $string, int $times)
+ {
+ return str_repeat($string, $times);
+ }
+
+ /**
+ * Replace a given value in the string sequentially with an array.
+ *
+ * @param string $search
+ * @param array $replace
+ * @param string $subject
+ * @return string
+ */
+ public static function replaceArray($search, array $replace, $subject)
+ {
+ $segments = explode($search, $subject);
+
+ $result = array_shift($segments);
+
+ foreach ($segments as $segment) {
+ $result .= (array_shift($replace) ?? $search).$segment;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Replace the given value in the given string.
+ *
+ * @param string|string[] $search
+ * @param string|string[] $replace
+ * @param string|string[] $subject
+ * @return string
+ */
+ public static function replace($search, $replace, $subject)
+ {
+ return str_replace($search, $replace, $subject);
+ }
+
+ /**
+ * Replace the first occurrence of a given value in the string.
+ *
+ * @param string $search
+ * @param string $replace
+ * @param string $subject
+ * @return string
+ */
+ public static function replaceFirst($search, $replace, $subject)
+ {
+ if ($search === '') {
+ return $subject;
+ }
+
+ $position = strpos($subject, $search);
+
+ if ($position !== false) {
+ return substr_replace($subject, $replace, $position, strlen($search));
+ }
+
+ return $subject;
+ }
+
+ /**
+ * Replace the last occurrence of a given value in the string.
+ *
+ * @param string $search
+ * @param string $replace
+ * @param string $subject
+ * @return string
+ */
+ public static function replaceLast($search, $replace, $subject)
+ {
+ if ($search === '') {
+ return $subject;
+ }
+
+ $position = strrpos($subject, $search);
+
+ if ($position !== false) {
+ return substr_replace($subject, $replace, $position, strlen($search));
+ }
+
+ return $subject;
+ }
+
+ /**
+ * Remove any occurrence of the given string in the subject.
+ *
+ * @param string|array $search
+ * @param string $subject
+ * @param bool $caseSensitive
+ * @return string
+ */
+ public static function remove($search, $subject, $caseSensitive = true)
+ {
+ $subject = $caseSensitive
+ ? str_replace($search, '', $subject)
+ : str_ireplace($search, '', $subject);
+
+ return $subject;
+ }
+
+ /**
+ * Reverse the given string.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function reverse(string $value)
+ {
+ return implode(array_reverse(mb_str_split($value)));
+ }
+
+ /**
+ * Begin a string with a single instance of a given value.
+ *
+ * @param string $value
+ * @param string $prefix
+ * @return string
+ */
+ public static function start($value, $prefix)
+ {
+ $quoted = preg_quote($prefix, '/');
+
+ return $prefix.preg_replace('/^(?:'.$quoted.')+/u', '', $value);
+ }
+
+ /**
+ * Convert the given string to upper-case.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function upper($value)
+ {
+ return mb_strtoupper($value, 'UTF-8');
+ }
+
+ /**
+ * Convert the given string to title case.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function title($value)
+ {
+ return mb_convert_case($value, MB_CASE_TITLE, 'UTF-8');
+ }
+
+ /**
+ * Convert the given string to title case for each word.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function headline($value)
+ {
+ $parts = explode(' ', $value);
+
+ $parts = count($parts) > 1
+ ? $parts = array_map([static::class, 'title'], $parts)
+ : $parts = array_map([static::class, 'title'], static::ucsplit(implode('_', $parts)));
+
+ $collapsed = static::replace(['-', '_', ' '], '_', implode('_', $parts));
+
+ return implode(' ', array_filter(explode('_', $collapsed)));
+ }
+
+ /**
+ * Get the singular form of an English word.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function singular($value)
+ {
+ return Pluralizer::singular($value);
+ }
+
+ /**
+ * Generate a URL friendly "slug" from a given string.
+ *
+ * @param string $title
+ * @param string $separator
+ * @param string|null $language
+ * @return string
+ */
+ public static function slug($title, $separator = '-', $language = 'en')
+ {
+ $title = $language ? static::ascii($title, $language) : $title;
+
+ // Convert all dashes/underscores into separator
+ $flip = $separator === '-' ? '_' : '-';
+
+ $title = preg_replace('!['.preg_quote($flip).']+!u', $separator, $title);
+
+ // Replace @ with the word 'at'
+ $title = str_replace('@', $separator.'at'.$separator, $title);
+
+ // Remove all characters that are not the separator, letters, numbers, or whitespace.
+ $title = preg_replace('![^'.preg_quote($separator).'\pL\pN\s]+!u', '', static::lower($title));
+
+ // Replace all separator characters and whitespace by a single separator
+ $title = preg_replace('!['.preg_quote($separator).'\s]+!u', $separator, $title);
+
+ return trim($title, $separator);
+ }
+
+ /**
+ * Convert a string to snake case.
+ *
+ * @param string $value
+ * @param string $delimiter
+ * @return string
+ */
+ public static function snake($value, $delimiter = '_')
+ {
+ $key = $value;
+
+ if (isset(static::$snakeCache[$key][$delimiter])) {
+ return static::$snakeCache[$key][$delimiter];
+ }
+
+ if (! ctype_lower($value)) {
+ $value = preg_replace('/\s+/u', '', ucwords($value));
+
+ $value = static::lower(preg_replace('/(.)(?=[A-Z])/u', '$1'.$delimiter, $value));
+ }
+
+ return static::$snakeCache[$key][$delimiter] = $value;
+ }
+
+ /**
+ * Determine if a given string starts with a given substring.
+ *
+ * @param string $haystack
+ * @param string|string[] $needles
+ * @return bool
+ */
+ public static function startsWith($haystack, $needles)
+ {
+ foreach ((array) $needles as $needle) {
+ if ((string) $needle !== '' && strncmp($haystack, $needle, strlen($needle)) === 0) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Convert a value to studly caps case.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function studly($value)
+ {
+ $key = $value;
+
+ if (isset(static::$studlyCache[$key])) {
+ return static::$studlyCache[$key];
+ }
+
+ $words = explode(' ', static::replace(['-', '_'], ' ', $value));
+
+ $studlyWords = array_map(function ($word) {
+ return static::ucfirst($word);
+ }, $words);
+
+ return static::$studlyCache[$key] = implode($studlyWords);
+ }
+
+ /**
+ * Returns the portion of the string specified by the start and length parameters.
+ *
+ * @param string $string
+ * @param int $start
+ * @param int|null $length
+ * @return string
+ */
+ public static function substr($string, $start, $length = null)
+ {
+ return mb_substr($string, $start, $length, 'UTF-8');
+ }
+
+ /**
+ * Returns the number of substring occurrences.
+ *
+ * @param string $haystack
+ * @param string $needle
+ * @param int $offset
+ * @param int|null $length
+ * @return int
+ */
+ public static function substrCount($haystack, $needle, $offset = 0, $length = null)
+ {
+ if (! is_null($length)) {
+ return substr_count($haystack, $needle, $offset, $length);
+ } else {
+ return substr_count($haystack, $needle, $offset);
+ }
+ }
+
+ /**
+ * Replace text within a portion of a string.
+ *
+ * @param string|array $string
+ * @param string|array $replace
+ * @param array|int $offset
+ * @param array|int|null $length
+ * @return string|array
+ */
+ public static function substrReplace($string, $replace, $offset = 0, $length = null)
+ {
+ if ($length === null) {
+ $length = strlen($string);
+ }
+
+ return substr_replace($string, $replace, $offset, $length);
+ }
+
+ /**
+ * Swap multiple keywords in a string with other keywords.
+ *
+ * @param array $map
+ * @param string $subject
+ * @return string
+ */
+ public static function swap(array $map, $subject)
+ {
+ return strtr($subject, $map);
+ }
+
+ /**
+ * Make a string's first character uppercase.
+ *
+ * @param string $string
+ * @return string
+ */
+ public static function ucfirst($string)
+ {
+ return static::upper(static::substr($string, 0, 1)).static::substr($string, 1);
+ }
+
+ /**
+ * Split a string into pieces by uppercase characters.
+ *
+ * @param string $string
+ * @return array
+ */
+ public static function ucsplit($string)
+ {
+ return preg_split('/(?=\p{Lu})/u', $string, -1, PREG_SPLIT_NO_EMPTY);
+ }
+
+ /**
+ * Get the number of words a string contains.
+ *
+ * @param string $string
+ * @return int
+ */
+ public static function wordCount($string)
+ {
+ return str_word_count($string);
+ }
+
+ /**
+ * Generate a UUID (version 4).
+ *
+ * @return \Ramsey\Uuid\UuidInterface
+ */
+ public static function uuid()
+ {
+ return static::$uuidFactory
+ ? call_user_func(static::$uuidFactory)
+ : Uuid::uuid4();
+ }
+
+ /**
+ * Generate a time-ordered UUID (version 4).
+ *
+ * @return \Ramsey\Uuid\UuidInterface
+ */
+ public static function orderedUuid()
+ {
+ if (static::$uuidFactory) {
+ return call_user_func(static::$uuidFactory);
+ }
+
+ $factory = new UuidFactory;
+
+ $factory->setRandomGenerator(new CombGenerator(
+ $factory->getRandomGenerator(),
+ $factory->getNumberConverter()
+ ));
+
+ $factory->setCodec(new TimestampFirstCombCodec(
+ $factory->getUuidBuilder()
+ ));
+
+ return $factory->uuid4();
+ }
+
+ /**
+ * Set the callable that will be used to generate UUIDs.
+ *
+ * @param callable|null $factory
+ * @return void
+ */
+ public static function createUuidsUsing(callable $factory = null)
+ {
+ static::$uuidFactory = $factory;
+ }
+
+ /**
+ * Indicate that UUIDs should be created normally and not using a custom factory.
+ *
+ * @return void
+ */
+ public static function createUuidsNormally()
+ {
+ static::$uuidFactory = null;
+ }
+
+ /**
+ * Remove all strings from the casing caches.
+ *
+ * @return void
+ */
+ public static function flushCache()
+ {
+ static::$snakeCache = [];
+ static::$camelCache = [];
+ static::$studlyCache = [];
+ }
+}
diff --git a/vendor/illuminate/support/Stringable.php b/vendor/illuminate/support/Stringable.php
new file mode 100644
index 0000000..414be0c
--- /dev/null
+++ b/vendor/illuminate/support/Stringable.php
@@ -0,0 +1,1026 @@
+value = (string) $value;
+ }
+
+ /**
+ * Return the remainder of a string after the first occurrence of a given value.
+ *
+ * @param string $search
+ * @return static
+ */
+ public function after($search)
+ {
+ return new static(Str::after($this->value, $search));
+ }
+
+ /**
+ * Return the remainder of a string after the last occurrence of a given value.
+ *
+ * @param string $search
+ * @return static
+ */
+ public function afterLast($search)
+ {
+ return new static(Str::afterLast($this->value, $search));
+ }
+
+ /**
+ * Append the given values to the string.
+ *
+ * @param array $values
+ * @return static
+ */
+ public function append(...$values)
+ {
+ return new static($this->value.implode('', $values));
+ }
+
+ /**
+ * Transliterate a UTF-8 value to ASCII.
+ *
+ * @param string $language
+ * @return static
+ */
+ public function ascii($language = 'en')
+ {
+ return new static(Str::ascii($this->value, $language));
+ }
+
+ /**
+ * Get the trailing name component of the path.
+ *
+ * @param string $suffix
+ * @return static
+ */
+ public function basename($suffix = '')
+ {
+ return new static(basename($this->value, $suffix));
+ }
+
+ /**
+ * Get the basename of the class path.
+ *
+ * @return static
+ */
+ public function classBasename()
+ {
+ return new static(class_basename($this->value));
+ }
+
+ /**
+ * Get the portion of a string before the first occurrence of a given value.
+ *
+ * @param string $search
+ * @return static
+ */
+ public function before($search)
+ {
+ return new static(Str::before($this->value, $search));
+ }
+
+ /**
+ * Get the portion of a string before the last occurrence of a given value.
+ *
+ * @param string $search
+ * @return static
+ */
+ public function beforeLast($search)
+ {
+ return new static(Str::beforeLast($this->value, $search));
+ }
+
+ /**
+ * Get the portion of a string between two given values.
+ *
+ * @param string $from
+ * @param string $to
+ * @return static
+ */
+ public function between($from, $to)
+ {
+ return new static(Str::between($this->value, $from, $to));
+ }
+
+ /**
+ * Convert a value to camel case.
+ *
+ * @return static
+ */
+ public function camel()
+ {
+ return new static(Str::camel($this->value));
+ }
+
+ /**
+ * Determine if a given string contains a given substring.
+ *
+ * @param string|array $needles
+ * @return bool
+ */
+ public function contains($needles)
+ {
+ return Str::contains($this->value, $needles);
+ }
+
+ /**
+ * Determine if a given string contains all array values.
+ *
+ * @param array $needles
+ * @return bool
+ */
+ public function containsAll(array $needles)
+ {
+ return Str::containsAll($this->value, $needles);
+ }
+
+ /**
+ * Get the parent directory's path.
+ *
+ * @param int $levels
+ * @return static
+ */
+ public function dirname($levels = 1)
+ {
+ return new static(dirname($this->value, $levels));
+ }
+
+ /**
+ * Determine if a given string ends with a given substring.
+ *
+ * @param string|array $needles
+ * @return bool
+ */
+ public function endsWith($needles)
+ {
+ return Str::endsWith($this->value, $needles);
+ }
+
+ /**
+ * Determine if the string is an exact match with the given value.
+ *
+ * @param string $value
+ * @return bool
+ */
+ public function exactly($value)
+ {
+ return $this->value === $value;
+ }
+
+ /**
+ * Explode the string into an array.
+ *
+ * @param string $delimiter
+ * @param int $limit
+ * @return \Illuminate\Support\Collection
+ */
+ public function explode($delimiter, $limit = PHP_INT_MAX)
+ {
+ return collect(explode($delimiter, $this->value, $limit));
+ }
+
+ /**
+ * Split a string using a regular expression or by length.
+ *
+ * @param string|int $pattern
+ * @param int $limit
+ * @param int $flags
+ * @return \Illuminate\Support\Collection
+ */
+ public function split($pattern, $limit = -1, $flags = 0)
+ {
+ if (filter_var($pattern, FILTER_VALIDATE_INT) !== false) {
+ return collect(mb_str_split($this->value, $pattern));
+ }
+
+ $segments = preg_split($pattern, $this->value, $limit, $flags);
+
+ return ! empty($segments) ? collect($segments) : collect();
+ }
+
+ /**
+ * Cap a string with a single instance of a given value.
+ *
+ * @param string $cap
+ * @return static
+ */
+ public function finish($cap)
+ {
+ return new static(Str::finish($this->value, $cap));
+ }
+
+ /**
+ * Determine if a given string matches a given pattern.
+ *
+ * @param string|array $pattern
+ * @return bool
+ */
+ public function is($pattern)
+ {
+ return Str::is($pattern, $this->value);
+ }
+
+ /**
+ * Determine if a given string is 7 bit ASCII.
+ *
+ * @return bool
+ */
+ public function isAscii()
+ {
+ return Str::isAscii($this->value);
+ }
+
+ /**
+ * Determine if a given string is a valid UUID.
+ *
+ * @return bool
+ */
+ public function isUuid()
+ {
+ return Str::isUuid($this->value);
+ }
+
+ /**
+ * Determine if the given string is empty.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return $this->value === '';
+ }
+
+ /**
+ * Determine if the given string is not empty.
+ *
+ * @return bool
+ */
+ public function isNotEmpty()
+ {
+ return ! $this->isEmpty();
+ }
+
+ /**
+ * Convert a string to kebab case.
+ *
+ * @return static
+ */
+ public function kebab()
+ {
+ return new static(Str::kebab($this->value));
+ }
+
+ /**
+ * Return the length of the given string.
+ *
+ * @param string $encoding
+ * @return int
+ */
+ public function length($encoding = null)
+ {
+ return Str::length($this->value, $encoding);
+ }
+
+ /**
+ * Limit the number of characters in a string.
+ *
+ * @param int $limit
+ * @param string $end
+ * @return static
+ */
+ public function limit($limit = 100, $end = '...')
+ {
+ return new static(Str::limit($this->value, $limit, $end));
+ }
+
+ /**
+ * Convert the given string to lower-case.
+ *
+ * @return static
+ */
+ public function lower()
+ {
+ return new static(Str::lower($this->value));
+ }
+
+ /**
+ * Convert GitHub flavored Markdown into HTML.
+ *
+ * @param array $options
+ * @return static
+ */
+ public function markdown(array $options = [])
+ {
+ return new static(Str::markdown($this->value, $options));
+ }
+
+ /**
+ * Masks a portion of a string with a repeated character.
+ *
+ * @param string $character
+ * @param int $index
+ * @param int|null $length
+ * @param string $encoding
+ * @return static
+ */
+ public function mask($character, $index, $length = null, $encoding = 'UTF-8')
+ {
+ return new static(Str::mask($this->value, $character, $index, $length, $encoding));
+ }
+
+ /**
+ * Get the string matching the given pattern.
+ *
+ * @param string $pattern
+ * @return static
+ */
+ public function match($pattern)
+ {
+ return new static(Str::match($pattern, $this->value));
+ }
+
+ /**
+ * Get the string matching the given pattern.
+ *
+ * @param string $pattern
+ * @return \Illuminate\Support\Collection
+ */
+ public function matchAll($pattern)
+ {
+ return Str::matchAll($pattern, $this->value);
+ }
+
+ /**
+ * Determine if the string matches the given pattern.
+ *
+ * @param string $pattern
+ * @return bool
+ */
+ public function test($pattern)
+ {
+ return $this->match($pattern)->isNotEmpty();
+ }
+
+ /**
+ * Pad both sides of the string with another.
+ *
+ * @param int $length
+ * @param string $pad
+ * @return static
+ */
+ public function padBoth($length, $pad = ' ')
+ {
+ return new static(Str::padBoth($this->value, $length, $pad));
+ }
+
+ /**
+ * Pad the left side of the string with another.
+ *
+ * @param int $length
+ * @param string $pad
+ * @return static
+ */
+ public function padLeft($length, $pad = ' ')
+ {
+ return new static(Str::padLeft($this->value, $length, $pad));
+ }
+
+ /**
+ * Pad the right side of the string with another.
+ *
+ * @param int $length
+ * @param string $pad
+ * @return static
+ */
+ public function padRight($length, $pad = ' ')
+ {
+ return new static(Str::padRight($this->value, $length, $pad));
+ }
+
+ /**
+ * Parse a Class@method style callback into class and method.
+ *
+ * @param string|null $default
+ * @return array
+ */
+ public function parseCallback($default = null)
+ {
+ return Str::parseCallback($this->value, $default);
+ }
+
+ /**
+ * Call the given callback and return a new string.
+ *
+ * @param callable $callback
+ * @return static
+ */
+ public function pipe(callable $callback)
+ {
+ return new static(call_user_func($callback, $this));
+ }
+
+ /**
+ * Get the plural form of an English word.
+ *
+ * @param int $count
+ * @return static
+ */
+ public function plural($count = 2)
+ {
+ return new static(Str::plural($this->value, $count));
+ }
+
+ /**
+ * Pluralize the last word of an English, studly caps case string.
+ *
+ * @param int $count
+ * @return static
+ */
+ public function pluralStudly($count = 2)
+ {
+ return new static(Str::pluralStudly($this->value, $count));
+ }
+
+ /**
+ * Prepend the given values to the string.
+ *
+ * @param array $values
+ * @return static
+ */
+ public function prepend(...$values)
+ {
+ return new static(implode('', $values).$this->value);
+ }
+
+ /**
+ * Remove any occurrence of the given string in the subject.
+ *
+ * @param string|array $search
+ * @param bool $caseSensitive
+ * @return static
+ */
+ public function remove($search, $caseSensitive = true)
+ {
+ return new static(Str::remove($search, $this->value, $caseSensitive));
+ }
+
+ /**
+ * Reverse the string.
+ *
+ * @return static
+ */
+ public function reverse()
+ {
+ return new static(Str::reverse($this->value));
+ }
+
+ /**
+ * Repeat the string.
+ *
+ * @param int $times
+ * @return static
+ */
+ public function repeat(int $times)
+ {
+ return new static(Str::repeat($this->value, $times));
+ }
+
+ /**
+ * Replace the given value in the given string.
+ *
+ * @param string|string[] $search
+ * @param string|string[] $replace
+ * @return static
+ */
+ public function replace($search, $replace)
+ {
+ return new static(Str::replace($search, $replace, $this->value));
+ }
+
+ /**
+ * Replace a given value in the string sequentially with an array.
+ *
+ * @param string $search
+ * @param array $replace
+ * @return static
+ */
+ public function replaceArray($search, array $replace)
+ {
+ return new static(Str::replaceArray($search, $replace, $this->value));
+ }
+
+ /**
+ * Replace the first occurrence of a given value in the string.
+ *
+ * @param string $search
+ * @param string $replace
+ * @return static
+ */
+ public function replaceFirst($search, $replace)
+ {
+ return new static(Str::replaceFirst($search, $replace, $this->value));
+ }
+
+ /**
+ * Replace the last occurrence of a given value in the string.
+ *
+ * @param string $search
+ * @param string $replace
+ * @return static
+ */
+ public function replaceLast($search, $replace)
+ {
+ return new static(Str::replaceLast($search, $replace, $this->value));
+ }
+
+ /**
+ * Replace the patterns matching the given regular expression.
+ *
+ * @param string $pattern
+ * @param \Closure|string $replace
+ * @param int $limit
+ * @return static
+ */
+ public function replaceMatches($pattern, $replace, $limit = -1)
+ {
+ if ($replace instanceof Closure) {
+ return new static(preg_replace_callback($pattern, $replace, $this->value, $limit));
+ }
+
+ return new static(preg_replace($pattern, $replace, $this->value, $limit));
+ }
+
+ /**
+ * Parse input from a string to a collection, according to a format.
+ *
+ * @param string $format
+ * @return \Illuminate\Support\Collection
+ */
+ public function scan($format)
+ {
+ return collect(sscanf($this->value, $format));
+ }
+
+ /**
+ * Begin a string with a single instance of a given value.
+ *
+ * @param string $prefix
+ * @return static
+ */
+ public function start($prefix)
+ {
+ return new static(Str::start($this->value, $prefix));
+ }
+
+ /**
+ * Strip HTML and PHP tags from the given string.
+ *
+ * @param string $allowedTags
+ * @return static
+ */
+ public function stripTags($allowedTags = null)
+ {
+ return new static(strip_tags($this->value, $allowedTags));
+ }
+
+ /**
+ * Convert the given string to upper-case.
+ *
+ * @return static
+ */
+ public function upper()
+ {
+ return new static(Str::upper($this->value));
+ }
+
+ /**
+ * Convert the given string to title case.
+ *
+ * @return static
+ */
+ public function title()
+ {
+ return new static(Str::title($this->value));
+ }
+
+ /**
+ * Convert the given string to title case for each word.
+ *
+ * @return static
+ */
+ public function headline()
+ {
+ return new static(Str::headline($this->value));
+ }
+
+ /**
+ * Get the singular form of an English word.
+ *
+ * @return static
+ */
+ public function singular()
+ {
+ return new static(Str::singular($this->value));
+ }
+
+ /**
+ * Generate a URL friendly "slug" from a given string.
+ *
+ * @param string $separator
+ * @param string|null $language
+ * @return static
+ */
+ public function slug($separator = '-', $language = 'en')
+ {
+ return new static(Str::slug($this->value, $separator, $language));
+ }
+
+ /**
+ * Convert a string to snake case.
+ *
+ * @param string $delimiter
+ * @return static
+ */
+ public function snake($delimiter = '_')
+ {
+ return new static(Str::snake($this->value, $delimiter));
+ }
+
+ /**
+ * Determine if a given string starts with a given substring.
+ *
+ * @param string|array $needles
+ * @return bool
+ */
+ public function startsWith($needles)
+ {
+ return Str::startsWith($this->value, $needles);
+ }
+
+ /**
+ * Convert a value to studly caps case.
+ *
+ * @return static
+ */
+ public function studly()
+ {
+ return new static(Str::studly($this->value));
+ }
+
+ /**
+ * Returns the portion of the string specified by the start and length parameters.
+ *
+ * @param int $start
+ * @param int|null $length
+ * @return static
+ */
+ public function substr($start, $length = null)
+ {
+ return new static(Str::substr($this->value, $start, $length));
+ }
+
+ /**
+ * Returns the number of substring occurrences.
+ *
+ * @param string $needle
+ * @param int|null $offset
+ * @param int|null $length
+ * @return int
+ */
+ public function substrCount($needle, $offset = null, $length = null)
+ {
+ return Str::substrCount($this->value, $needle, $offset ?? 0, $length);
+ }
+
+ /**
+ * Replace text within a portion of a string.
+ *
+ * @param string|array $replace
+ * @param array|int $offset
+ * @param array|int|null $length
+ * @return static
+ */
+ public function substrReplace($replace, $offset = 0, $length = null)
+ {
+ return new static(Str::substrReplace($this->value, $replace, $offset, $length));
+ }
+
+ /**
+ * Swap multiple keywords in a string with other keywords.
+ *
+ * @param array $map
+ * @return static
+ */
+ public function swap(array $map)
+ {
+ return new static(strtr($this->value, $map));
+ }
+
+ /**
+ * Trim the string of the given characters.
+ *
+ * @param string $characters
+ * @return static
+ */
+ public function trim($characters = null)
+ {
+ return new static(trim(...array_merge([$this->value], func_get_args())));
+ }
+
+ /**
+ * Left trim the string of the given characters.
+ *
+ * @param string $characters
+ * @return static
+ */
+ public function ltrim($characters = null)
+ {
+ return new static(ltrim(...array_merge([$this->value], func_get_args())));
+ }
+
+ /**
+ * Right trim the string of the given characters.
+ *
+ * @param string $characters
+ * @return static
+ */
+ public function rtrim($characters = null)
+ {
+ return new static(rtrim(...array_merge([$this->value], func_get_args())));
+ }
+
+ /**
+ * Make a string's first character uppercase.
+ *
+ * @return static
+ */
+ public function ucfirst()
+ {
+ return new static(Str::ucfirst($this->value));
+ }
+
+ /**
+ * Split a string by uppercase characters.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function ucsplit()
+ {
+ return collect(Str::ucsplit($this->value));
+ }
+
+ /**
+ * Execute the given callback if the string contains a given substring.
+ *
+ * @param string|array $needles
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenContains($needles, $callback, $default = null)
+ {
+ return $this->when($this->contains($needles), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string contains all array values.
+ *
+ * @param array $needles
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenContainsAll(array $needles, $callback, $default = null)
+ {
+ return $this->when($this->containsAll($needles), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string is empty.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenEmpty($callback, $default = null)
+ {
+ return $this->when($this->isEmpty(), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string is not empty.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenNotEmpty($callback, $default = null)
+ {
+ return $this->when($this->isNotEmpty(), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string ends with a given substring.
+ *
+ * @param string|array $needles
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenEndsWith($needles, $callback, $default = null)
+ {
+ return $this->when($this->endsWith($needles), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string is an exact match with the given value.
+ *
+ * @param string $value
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenExactly($value, $callback, $default = null)
+ {
+ return $this->when($this->exactly($value), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string matches a given pattern.
+ *
+ * @param string|array $pattern
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenIs($pattern, $callback, $default = null)
+ {
+ return $this->when($this->is($pattern), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string is 7 bit ASCII.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenIsAscii($callback, $default = null)
+ {
+ return $this->when($this->isAscii(), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string is a valid UUID.
+ *
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenIsUuid($callback, $default = null)
+ {
+ return $this->when($this->isUuid(), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string starts with a given substring.
+ *
+ * @param string|array $needles
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenStartsWith($needles, $callback, $default = null)
+ {
+ return $this->when($this->startsWith($needles), $callback, $default);
+ }
+
+ /**
+ * Execute the given callback if the string matches the given pattern.
+ *
+ * @param string $pattern
+ * @param callable $callback
+ * @param callable|null $default
+ * @return static
+ */
+ public function whenTest($pattern, $callback, $default = null)
+ {
+ return $this->when($this->test($pattern), $callback, $default);
+ }
+
+ /**
+ * Limit the number of words in a string.
+ *
+ * @param int $words
+ * @param string $end
+ * @return static
+ */
+ public function words($words = 100, $end = '...')
+ {
+ return new static(Str::words($this->value, $words, $end));
+ }
+
+ /**
+ * Get the number of words a string contains.
+ *
+ * @return int
+ */
+ public function wordCount()
+ {
+ return str_word_count($this->value);
+ }
+
+ /**
+ * Convert the string into a `HtmlString` instance.
+ *
+ * @return \Illuminate\Support\HtmlString
+ */
+ public function toHtmlString()
+ {
+ return new HtmlString($this->value);
+ }
+
+ /**
+ * Dump the string.
+ *
+ * @return $this
+ */
+ public function dump()
+ {
+ VarDumper::dump($this->value);
+
+ return $this;
+ }
+
+ /**
+ * Dump the string and end the script.
+ *
+ * @return never
+ */
+ public function dd()
+ {
+ $this->dump();
+
+ exit(1);
+ }
+
+ /**
+ * Convert the object to a string when JSON encoded.
+ *
+ * @return string
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->__toString();
+ }
+
+ /**
+ * Proxy dynamic properties onto methods.
+ *
+ * @param string $key
+ * @return mixed
+ */
+ public function __get($key)
+ {
+ return $this->{$key}();
+ }
+
+ /**
+ * Get the raw string value.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return (string) $this->value;
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/BatchRepositoryFake.php b/vendor/illuminate/support/Testing/Fakes/BatchRepositoryFake.php
new file mode 100644
index 0000000..d966133
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/BatchRepositoryFake.php
@@ -0,0 +1,142 @@
+name,
+ count($batch->jobs),
+ count($batch->jobs),
+ 0,
+ [],
+ $batch->options,
+ CarbonImmutable::now(),
+ null,
+ null
+ );
+ }
+
+ /**
+ * Increment the total number of jobs within the batch.
+ *
+ * @param string $batchId
+ * @param int $amount
+ * @return void
+ */
+ public function incrementTotalJobs(string $batchId, int $amount)
+ {
+ //
+ }
+
+ /**
+ * Decrement the total number of pending jobs for the batch.
+ *
+ * @param string $batchId
+ * @param string $jobId
+ * @return \Illuminate\Bus\UpdatedBatchJobCounts
+ */
+ public function decrementPendingJobs(string $batchId, string $jobId)
+ {
+ return new UpdatedBatchJobCounts;
+ }
+
+ /**
+ * Increment the total number of failed jobs for the batch.
+ *
+ * @param string $batchId
+ * @param string $jobId
+ * @return \Illuminate\Bus\UpdatedBatchJobCounts
+ */
+ public function incrementFailedJobs(string $batchId, string $jobId)
+ {
+ return new UpdatedBatchJobCounts;
+ }
+
+ /**
+ * Mark the batch that has the given ID as finished.
+ *
+ * @param string $batchId
+ * @return void
+ */
+ public function markAsFinished(string $batchId)
+ {
+ //
+ }
+
+ /**
+ * Cancel the batch that has the given ID.
+ *
+ * @param string $batchId
+ * @return void
+ */
+ public function cancel(string $batchId)
+ {
+ //
+ }
+
+ /**
+ * Delete the batch that has the given ID.
+ *
+ * @param string $batchId
+ * @return void
+ */
+ public function delete(string $batchId)
+ {
+ //
+ }
+
+ /**
+ * Execute the given Closure within a storage specific transaction.
+ *
+ * @param \Closure $callback
+ * @return mixed
+ */
+ public function transaction(Closure $callback)
+ {
+ return $callback();
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/BusFake.php b/vendor/illuminate/support/Testing/Fakes/BusFake.php
new file mode 100644
index 0000000..122252d
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/BusFake.php
@@ -0,0 +1,739 @@
+dispatcher = $dispatcher;
+
+ $this->jobsToFake = Arr::wrap($jobsToFake);
+ }
+
+ /**
+ * Assert if a job was dispatched based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|int|null $callback
+ * @return void
+ */
+ public function assertDispatched($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ if (is_numeric($callback)) {
+ return $this->assertDispatchedTimes($command, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatched($command, $callback)->count() > 0 ||
+ $this->dispatchedAfterResponse($command, $callback)->count() > 0 ||
+ $this->dispatchedSync($command, $callback)->count() > 0,
+ "The expected [{$command}] job was not dispatched."
+ );
+ }
+
+ /**
+ * Assert if a job was pushed a number of times.
+ *
+ * @param string $command
+ * @param int $times
+ * @return void
+ */
+ public function assertDispatchedTimes($command, $times = 1)
+ {
+ $count = $this->dispatched($command)->count() +
+ $this->dispatchedAfterResponse($command)->count() +
+ $this->dispatchedSync($command)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$command}] job was pushed {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Determine if a job was dispatched based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotDispatched($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatched($command, $callback)->count() === 0 &&
+ $this->dispatchedAfterResponse($command, $callback)->count() === 0 &&
+ $this->dispatchedSync($command, $callback)->count() === 0,
+ "The unexpected [{$command}] job was dispatched."
+ );
+ }
+
+ /**
+ * Assert that no jobs were dispatched.
+ *
+ * @return void
+ */
+ public function assertNothingDispatched()
+ {
+ PHPUnit::assertEmpty($this->commands, 'Jobs were dispatched unexpectedly.');
+ }
+
+ /**
+ * Assert if a job was explicitly dispatched synchronously based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|int|null $callback
+ * @return void
+ */
+ public function assertDispatchedSync($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ if (is_numeric($callback)) {
+ return $this->assertDispatchedSyncTimes($command, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatchedSync($command, $callback)->count() > 0,
+ "The expected [{$command}] job was not dispatched synchronously."
+ );
+ }
+
+ /**
+ * Assert if a job was pushed synchronously a number of times.
+ *
+ * @param string $command
+ * @param int $times
+ * @return void
+ */
+ public function assertDispatchedSyncTimes($command, $times = 1)
+ {
+ $count = $this->dispatchedSync($command)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$command}] job was synchronously pushed {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Determine if a job was dispatched based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotDispatchedSync($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ PHPUnit::assertCount(
+ 0, $this->dispatchedSync($command, $callback),
+ "The unexpected [{$command}] job was dispatched synchronously."
+ );
+ }
+
+ /**
+ * Assert if a job was dispatched after the response was sent based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|int|null $callback
+ * @return void
+ */
+ public function assertDispatchedAfterResponse($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ if (is_numeric($callback)) {
+ return $this->assertDispatchedAfterResponseTimes($command, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatchedAfterResponse($command, $callback)->count() > 0,
+ "The expected [{$command}] job was not dispatched after sending the response."
+ );
+ }
+
+ /**
+ * Assert if a job was pushed after the response was sent a number of times.
+ *
+ * @param string $command
+ * @param int $times
+ * @return void
+ */
+ public function assertDispatchedAfterResponseTimes($command, $times = 1)
+ {
+ $count = $this->dispatchedAfterResponse($command)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$command}] job was pushed {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Determine if a job was dispatched based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotDispatchedAfterResponse($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ PHPUnit::assertCount(
+ 0, $this->dispatchedAfterResponse($command, $callback),
+ "The unexpected [{$command}] job was dispatched after sending the response."
+ );
+ }
+
+ /**
+ * Assert if a chain of jobs was dispatched.
+ *
+ * @param array $expectedChain
+ * @return void
+ */
+ public function assertChained(array $expectedChain)
+ {
+ $command = $expectedChain[0];
+
+ $expectedChain = array_slice($expectedChain, 1);
+
+ $callback = null;
+
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ } elseif (! is_string($command)) {
+ $instance = $command;
+
+ $command = get_class($instance);
+
+ $callback = function ($job) use ($instance) {
+ return serialize($this->resetChainPropertiesToDefaults($job)) === serialize($instance);
+ };
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatched($command, $callback)->isNotEmpty(),
+ "The expected [{$command}] job was not dispatched."
+ );
+
+ PHPUnit::assertTrue(
+ collect($expectedChain)->isNotEmpty(),
+ 'The expected chain can not be empty.'
+ );
+
+ $this->isChainOfObjects($expectedChain)
+ ? $this->assertDispatchedWithChainOfObjects($command, $expectedChain, $callback)
+ : $this->assertDispatchedWithChainOfClasses($command, $expectedChain, $callback);
+ }
+
+ /**
+ * Reset the chain properties to their default values on the job.
+ *
+ * @param mixed $job
+ * @return mixed
+ */
+ protected function resetChainPropertiesToDefaults($job)
+ {
+ return tap(clone $job, function ($job) {
+ $job->chainConnection = null;
+ $job->chainQueue = null;
+ $job->chainCatchCallbacks = null;
+ $job->chained = [];
+ });
+ }
+
+ /**
+ * Assert if a job was dispatched with an empty chain based on a truth-test callback.
+ *
+ * @param string|\Closure $command
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertDispatchedWithoutChain($command, $callback = null)
+ {
+ if ($command instanceof Closure) {
+ [$command, $callback] = [$this->firstClosureParameterType($command), $command];
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatched($command, $callback)->isNotEmpty(),
+ "The expected [{$command}] job was not dispatched."
+ );
+
+ $this->assertDispatchedWithChainOfClasses($command, [], $callback);
+ }
+
+ /**
+ * Assert if a job was dispatched with chained jobs based on a truth-test callback.
+ *
+ * @param string $command
+ * @param array $expectedChain
+ * @param callable|null $callback
+ * @return void
+ */
+ protected function assertDispatchedWithChainOfObjects($command, $expectedChain, $callback)
+ {
+ $chain = collect($expectedChain)->map(function ($job) {
+ return serialize($job);
+ })->all();
+
+ PHPUnit::assertTrue(
+ $this->dispatched($command, $callback)->filter(function ($job) use ($chain) {
+ return $job->chained == $chain;
+ })->isNotEmpty(),
+ 'The expected chain was not dispatched.'
+ );
+ }
+
+ /**
+ * Assert if a job was dispatched with chained jobs based on a truth-test callback.
+ *
+ * @param string $command
+ * @param array $expectedChain
+ * @param callable|null $callback
+ * @return void
+ */
+ protected function assertDispatchedWithChainOfClasses($command, $expectedChain, $callback)
+ {
+ $matching = $this->dispatched($command, $callback)->map->chained->map(function ($chain) {
+ return collect($chain)->map(function ($job) {
+ return get_class(unserialize($job));
+ });
+ })->filter(function ($chain) use ($expectedChain) {
+ return $chain->all() === $expectedChain;
+ });
+
+ PHPUnit::assertTrue(
+ $matching->isNotEmpty(), 'The expected chain was not dispatched.'
+ );
+ }
+
+ /**
+ * Determine if the given chain is entirely composed of objects.
+ *
+ * @param array $chain
+ * @return bool
+ */
+ protected function isChainOfObjects($chain)
+ {
+ return ! collect($chain)->contains(function ($job) {
+ return ! is_object($job);
+ });
+ }
+
+ /**
+ * Assert if a batch was dispatched based on a truth-test callback.
+ *
+ * @param callable $callback
+ * @return void
+ */
+ public function assertBatched(callable $callback)
+ {
+ PHPUnit::assertTrue(
+ $this->batched($callback)->count() > 0,
+ 'The expected batch was not dispatched.'
+ );
+ }
+
+ /**
+ * Assert the number of batches that have been dispatched.
+ *
+ * @param int $count
+ * @return void
+ */
+ public function assertBatchCount($count)
+ {
+ PHPUnit::assertCount(
+ $count, $this->batches,
+ );
+ }
+
+ /**
+ * Get all of the jobs matching a truth-test callback.
+ *
+ * @param string $command
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function dispatched($command, $callback = null)
+ {
+ if (! $this->hasDispatched($command)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return collect($this->commands[$command])->filter(function ($command) use ($callback) {
+ return $callback($command);
+ });
+ }
+
+ /**
+ * Get all of the jobs dispatched synchronously matching a truth-test callback.
+ *
+ * @param string $command
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function dispatchedSync(string $command, $callback = null)
+ {
+ if (! $this->hasDispatchedSync($command)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return collect($this->commandsSync[$command])->filter(function ($command) use ($callback) {
+ return $callback($command);
+ });
+ }
+
+ /**
+ * Get all of the jobs dispatched after the response was sent matching a truth-test callback.
+ *
+ * @param string $command
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function dispatchedAfterResponse(string $command, $callback = null)
+ {
+ if (! $this->hasDispatchedAfterResponse($command)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return collect($this->commandsAfterResponse[$command])->filter(function ($command) use ($callback) {
+ return $callback($command);
+ });
+ }
+
+ /**
+ * Get all of the pending batches matching a truth-test callback.
+ *
+ * @param callable $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function batched(callable $callback)
+ {
+ if (empty($this->batches)) {
+ return collect();
+ }
+
+ return collect($this->batches)->filter(function ($batch) use ($callback) {
+ return $callback($batch);
+ });
+ }
+
+ /**
+ * Determine if there are any stored commands for a given class.
+ *
+ * @param string $command
+ * @return bool
+ */
+ public function hasDispatched($command)
+ {
+ return isset($this->commands[$command]) && ! empty($this->commands[$command]);
+ }
+
+ /**
+ * Determine if there are any stored commands for a given class.
+ *
+ * @param string $command
+ * @return bool
+ */
+ public function hasDispatchedSync($command)
+ {
+ return isset($this->commandsSync[$command]) && ! empty($this->commandsSync[$command]);
+ }
+
+ /**
+ * Determine if there are any stored commands for a given class.
+ *
+ * @param string $command
+ * @return bool
+ */
+ public function hasDispatchedAfterResponse($command)
+ {
+ return isset($this->commandsAfterResponse[$command]) && ! empty($this->commandsAfterResponse[$command]);
+ }
+
+ /**
+ * Dispatch a command to its appropriate handler.
+ *
+ * @param mixed $command
+ * @return mixed
+ */
+ public function dispatch($command)
+ {
+ if ($this->shouldFakeJob($command)) {
+ $this->commands[get_class($command)][] = $command;
+ } else {
+ return $this->dispatcher->dispatch($command);
+ }
+ }
+
+ /**
+ * Dispatch a command to its appropriate handler in the current process.
+ *
+ * Queueable jobs will be dispatched to the "sync" queue.
+ *
+ * @param mixed $command
+ * @param mixed $handler
+ * @return mixed
+ */
+ public function dispatchSync($command, $handler = null)
+ {
+ if ($this->shouldFakeJob($command)) {
+ $this->commandsSync[get_class($command)][] = $command;
+ } else {
+ return $this->dispatcher->dispatchSync($command, $handler);
+ }
+ }
+
+ /**
+ * Dispatch a command to its appropriate handler in the current process.
+ *
+ * @param mixed $command
+ * @param mixed $handler
+ * @return mixed
+ */
+ public function dispatchNow($command, $handler = null)
+ {
+ if ($this->shouldFakeJob($command)) {
+ $this->commands[get_class($command)][] = $command;
+ } else {
+ return $this->dispatcher->dispatchNow($command, $handler);
+ }
+ }
+
+ /**
+ * Dispatch a command to its appropriate handler behind a queue.
+ *
+ * @param mixed $command
+ * @return mixed
+ */
+ public function dispatchToQueue($command)
+ {
+ if ($this->shouldFakeJob($command)) {
+ $this->commands[get_class($command)][] = $command;
+ } else {
+ return $this->dispatcher->dispatchToQueue($command);
+ }
+ }
+
+ /**
+ * Dispatch a command to its appropriate handler.
+ *
+ * @param mixed $command
+ * @return mixed
+ */
+ public function dispatchAfterResponse($command)
+ {
+ if ($this->shouldFakeJob($command)) {
+ $this->commandsAfterResponse[get_class($command)][] = $command;
+ } else {
+ return $this->dispatcher->dispatch($command);
+ }
+ }
+
+ /**
+ * Create a new chain of queueable jobs.
+ *
+ * @param \Illuminate\Support\Collection|array $jobs
+ * @return \Illuminate\Foundation\Bus\PendingChain
+ */
+ public function chain($jobs)
+ {
+ $jobs = Collection::wrap($jobs);
+
+ return new PendingChainFake($this, $jobs->shift(), $jobs->toArray());
+ }
+
+ /**
+ * Attempt to find the batch with the given ID.
+ *
+ * @param string $batchId
+ * @return \Illuminate\Bus\Batch|null
+ */
+ public function findBatch(string $batchId)
+ {
+ //
+ }
+
+ /**
+ * Create a new batch of queueable jobs.
+ *
+ * @param \Illuminate\Support\Collection|array $jobs
+ * @return \Illuminate\Bus\PendingBatch
+ */
+ public function batch($jobs)
+ {
+ return new PendingBatchFake($this, Collection::wrap($jobs));
+ }
+
+ /**
+ * Record the fake pending batch dispatch.
+ *
+ * @param \Illuminate\Bus\PendingBatch $pendingBatch
+ * @return \Illuminate\Bus\Batch
+ */
+ public function recordPendingBatch(PendingBatch $pendingBatch)
+ {
+ $this->batches[] = $pendingBatch;
+
+ return (new BatchRepositoryFake)->store($pendingBatch);
+ }
+
+ /**
+ * Determine if a command should be faked or actually dispatched.
+ *
+ * @param mixed $command
+ * @return bool
+ */
+ protected function shouldFakeJob($command)
+ {
+ if (empty($this->jobsToFake)) {
+ return true;
+ }
+
+ return collect($this->jobsToFake)
+ ->filter(function ($job) use ($command) {
+ return $job instanceof Closure
+ ? $job($command)
+ : $job === get_class($command);
+ })->isNotEmpty();
+ }
+
+ /**
+ * Set the pipes commands should be piped through before dispatching.
+ *
+ * @param array $pipes
+ * @return $this
+ */
+ public function pipeThrough(array $pipes)
+ {
+ $this->dispatcher->pipeThrough($pipes);
+
+ return $this;
+ }
+
+ /**
+ * Determine if the given command has a handler.
+ *
+ * @param mixed $command
+ * @return bool
+ */
+ public function hasCommandHandler($command)
+ {
+ return $this->dispatcher->hasCommandHandler($command);
+ }
+
+ /**
+ * Retrieve the handler for a command.
+ *
+ * @param mixed $command
+ * @return mixed
+ */
+ public function getCommandHandler($command)
+ {
+ return $this->dispatcher->getCommandHandler($command);
+ }
+
+ /**
+ * Map a command to a handler.
+ *
+ * @param array $map
+ * @return $this
+ */
+ public function map(array $map)
+ {
+ $this->dispatcher->map($map);
+
+ return $this;
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/EventFake.php b/vendor/illuminate/support/Testing/Fakes/EventFake.php
new file mode 100644
index 0000000..436173e
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/EventFake.php
@@ -0,0 +1,325 @@
+dispatcher = $dispatcher;
+
+ $this->eventsToFake = Arr::wrap($eventsToFake);
+ }
+
+ /**
+ * Assert if an event has a listener attached to it.
+ *
+ * @param string $expectedEvent
+ * @param string $expectedListener
+ * @return void
+ */
+ public function assertListening($expectedEvent, $expectedListener)
+ {
+ foreach ($this->dispatcher->getListeners($expectedEvent) as $listenerClosure) {
+ $actualListener = (new ReflectionFunction($listenerClosure))
+ ->getStaticVariables()['listener'];
+
+ if (is_string($actualListener) && Str::endsWith($actualListener, '@handle')) {
+ $actualListener = Str::parseCallback($actualListener)[0];
+ }
+
+ if ($actualListener === $expectedListener ||
+ ($actualListener instanceof Closure &&
+ $expectedListener === Closure::class)) {
+ PHPUnit::assertTrue(true);
+
+ return;
+ }
+ }
+
+ PHPUnit::assertTrue(
+ false,
+ sprintf(
+ 'Event [%s] does not have the [%s] listener attached to it',
+ $expectedEvent,
+ print_r($expectedListener, true)
+ )
+ );
+ }
+
+ /**
+ * Assert if an event was dispatched based on a truth-test callback.
+ *
+ * @param string|\Closure $event
+ * @param callable|int|null $callback
+ * @return void
+ */
+ public function assertDispatched($event, $callback = null)
+ {
+ if ($event instanceof Closure) {
+ [$event, $callback] = [$this->firstClosureParameterType($event), $event];
+ }
+
+ if (is_int($callback)) {
+ return $this->assertDispatchedTimes($event, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->dispatched($event, $callback)->count() > 0,
+ "The expected [{$event}] event was not dispatched."
+ );
+ }
+
+ /**
+ * Assert if an event was dispatched a number of times.
+ *
+ * @param string $event
+ * @param int $times
+ * @return void
+ */
+ public function assertDispatchedTimes($event, $times = 1)
+ {
+ $count = $this->dispatched($event)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$event}] event was dispatched {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Determine if an event was dispatched based on a truth-test callback.
+ *
+ * @param string|\Closure $event
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotDispatched($event, $callback = null)
+ {
+ if ($event instanceof Closure) {
+ [$event, $callback] = [$this->firstClosureParameterType($event), $event];
+ }
+
+ PHPUnit::assertCount(
+ 0, $this->dispatched($event, $callback),
+ "The unexpected [{$event}] event was dispatched."
+ );
+ }
+
+ /**
+ * Assert that no events were dispatched.
+ *
+ * @return void
+ */
+ public function assertNothingDispatched()
+ {
+ $count = count(Arr::flatten($this->events));
+
+ PHPUnit::assertSame(
+ 0, $count,
+ "{$count} unexpected events were dispatched."
+ );
+ }
+
+ /**
+ * Get all of the events matching a truth-test callback.
+ *
+ * @param string $event
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function dispatched($event, $callback = null)
+ {
+ if (! $this->hasDispatched($event)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return collect($this->events[$event])->filter(function ($arguments) use ($callback) {
+ return $callback(...$arguments);
+ });
+ }
+
+ /**
+ * Determine if the given event has been dispatched.
+ *
+ * @param string $event
+ * @return bool
+ */
+ public function hasDispatched($event)
+ {
+ return isset($this->events[$event]) && ! empty($this->events[$event]);
+ }
+
+ /**
+ * Register an event listener with the dispatcher.
+ *
+ * @param \Closure|string|array $events
+ * @param mixed $listener
+ * @return void
+ */
+ public function listen($events, $listener = null)
+ {
+ $this->dispatcher->listen($events, $listener);
+ }
+
+ /**
+ * Determine if a given event has listeners.
+ *
+ * @param string $eventName
+ * @return bool
+ */
+ public function hasListeners($eventName)
+ {
+ return $this->dispatcher->hasListeners($eventName);
+ }
+
+ /**
+ * Register an event and payload to be dispatched later.
+ *
+ * @param string $event
+ * @param array $payload
+ * @return void
+ */
+ public function push($event, $payload = [])
+ {
+ //
+ }
+
+ /**
+ * Register an event subscriber with the dispatcher.
+ *
+ * @param object|string $subscriber
+ * @return void
+ */
+ public function subscribe($subscriber)
+ {
+ $this->dispatcher->subscribe($subscriber);
+ }
+
+ /**
+ * Flush a set of pushed events.
+ *
+ * @param string $event
+ * @return void
+ */
+ public function flush($event)
+ {
+ //
+ }
+
+ /**
+ * Fire an event and call the listeners.
+ *
+ * @param string|object $event
+ * @param mixed $payload
+ * @param bool $halt
+ * @return array|null
+ */
+ public function dispatch($event, $payload = [], $halt = false)
+ {
+ $name = is_object($event) ? get_class($event) : (string) $event;
+
+ if ($this->shouldFakeEvent($name, $payload)) {
+ $this->events[$name][] = func_get_args();
+ } else {
+ return $this->dispatcher->dispatch($event, $payload, $halt);
+ }
+ }
+
+ /**
+ * Determine if an event should be faked or actually dispatched.
+ *
+ * @param string $eventName
+ * @param mixed $payload
+ * @return bool
+ */
+ protected function shouldFakeEvent($eventName, $payload)
+ {
+ if (empty($this->eventsToFake)) {
+ return true;
+ }
+
+ return collect($this->eventsToFake)
+ ->filter(function ($event) use ($eventName, $payload) {
+ return $event instanceof Closure
+ ? $event($eventName, $payload)
+ : $event === $eventName;
+ })
+ ->isNotEmpty();
+ }
+
+ /**
+ * Remove a set of listeners from the dispatcher.
+ *
+ * @param string $event
+ * @return void
+ */
+ public function forget($event)
+ {
+ //
+ }
+
+ /**
+ * Forget all of the queued listeners.
+ *
+ * @return void
+ */
+ public function forgetPushed()
+ {
+ //
+ }
+
+ /**
+ * Dispatch an event and call the listeners.
+ *
+ * @param string|object $event
+ * @param mixed $payload
+ * @return array|null
+ */
+ public function until($event, $payload = [])
+ {
+ return $this->dispatch($event, $payload, true);
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/MailFake.php b/vendor/illuminate/support/Testing/Fakes/MailFake.php
new file mode 100644
index 0000000..fff5f8f
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/MailFake.php
@@ -0,0 +1,445 @@
+prepareMailableAndCallback($mailable, $callback);
+
+ if (is_numeric($callback)) {
+ return $this->assertSentTimes($mailable, $callback);
+ }
+
+ $message = "The expected [{$mailable}] mailable was not sent.";
+
+ if (count($this->queuedMailables) > 0) {
+ $message .= ' Did you mean to use assertQueued() instead?';
+ }
+
+ PHPUnit::assertTrue(
+ $this->sent($mailable, $callback)->count() > 0,
+ $message
+ );
+ }
+
+ /**
+ * Assert if a mailable was sent a number of times.
+ *
+ * @param string $mailable
+ * @param int $times
+ * @return void
+ */
+ protected function assertSentTimes($mailable, $times = 1)
+ {
+ $count = $this->sent($mailable)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$mailable}] mailable was sent {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Determine if a mailable was not sent or queued to be sent based on a truth-test callback.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotOutgoing($mailable, $callback = null)
+ {
+ $this->assertNotSent($mailable, $callback);
+ $this->assertNotQueued($mailable, $callback);
+ }
+
+ /**
+ * Determine if a mailable was not sent based on a truth-test callback.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotSent($mailable, $callback = null)
+ {
+ [$mailable, $callback] = $this->prepareMailableAndCallback($mailable, $callback);
+
+ PHPUnit::assertCount(
+ 0, $this->sent($mailable, $callback),
+ "The unexpected [{$mailable}] mailable was sent."
+ );
+ }
+
+ /**
+ * Assert that no mailables were sent or queued to be sent.
+ *
+ * @return void
+ */
+ public function assertNothingOutgoing()
+ {
+ $this->assertNothingSent();
+ $this->assertNothingQueued();
+ }
+
+ /**
+ * Assert that no mailables were sent.
+ *
+ * @return void
+ */
+ public function assertNothingSent()
+ {
+ $mailableNames = collect($this->mailables)->map(function ($mailable) {
+ return get_class($mailable);
+ })->join(', ');
+
+ PHPUnit::assertEmpty($this->mailables, 'The following mailables were sent unexpectedly: '.$mailableNames);
+ }
+
+ /**
+ * Assert if a mailable was queued based on a truth-test callback.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|int|null $callback
+ * @return void
+ */
+ public function assertQueued($mailable, $callback = null)
+ {
+ [$mailable, $callback] = $this->prepareMailableAndCallback($mailable, $callback);
+
+ if (is_numeric($callback)) {
+ return $this->assertQueuedTimes($mailable, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->queued($mailable, $callback)->count() > 0,
+ "The expected [{$mailable}] mailable was not queued."
+ );
+ }
+
+ /**
+ * Assert if a mailable was queued a number of times.
+ *
+ * @param string $mailable
+ * @param int $times
+ * @return void
+ */
+ protected function assertQueuedTimes($mailable, $times = 1)
+ {
+ $count = $this->queued($mailable)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$mailable}] mailable was queued {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Determine if a mailable was not queued based on a truth-test callback.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotQueued($mailable, $callback = null)
+ {
+ [$mailable, $callback] = $this->prepareMailableAndCallback($mailable, $callback);
+
+ PHPUnit::assertCount(
+ 0, $this->queued($mailable, $callback),
+ "The unexpected [{$mailable}] mailable was queued."
+ );
+ }
+
+ /**
+ * Assert that no mailables were queued.
+ *
+ * @return void
+ */
+ public function assertNothingQueued()
+ {
+ $mailableNames = collect($this->queuedMailables)->map(function ($mailable) {
+ return get_class($mailable);
+ })->join(', ');
+
+ PHPUnit::assertEmpty($this->queuedMailables, 'The following mailables were queued unexpectedly: '.$mailableNames);
+ }
+
+ /**
+ * Get all of the mailables matching a truth-test callback.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function sent($mailable, $callback = null)
+ {
+ [$mailable, $callback] = $this->prepareMailableAndCallback($mailable, $callback);
+
+ if (! $this->hasSent($mailable)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return $this->mailablesOf($mailable)->filter(function ($mailable) use ($callback) {
+ return $callback($mailable);
+ });
+ }
+
+ /**
+ * Determine if the given mailable has been sent.
+ *
+ * @param string $mailable
+ * @return bool
+ */
+ public function hasSent($mailable)
+ {
+ return $this->mailablesOf($mailable)->count() > 0;
+ }
+
+ /**
+ * Get all of the queued mailables matching a truth-test callback.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function queued($mailable, $callback = null)
+ {
+ [$mailable, $callback] = $this->prepareMailableAndCallback($mailable, $callback);
+
+ if (! $this->hasQueued($mailable)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return $this->queuedMailablesOf($mailable)->filter(function ($mailable) use ($callback) {
+ return $callback($mailable);
+ });
+ }
+
+ /**
+ * Determine if the given mailable has been queued.
+ *
+ * @param string $mailable
+ * @return bool
+ */
+ public function hasQueued($mailable)
+ {
+ return $this->queuedMailablesOf($mailable)->count() > 0;
+ }
+
+ /**
+ * Get all of the mailed mailables for a given type.
+ *
+ * @param string $type
+ * @return \Illuminate\Support\Collection
+ */
+ protected function mailablesOf($type)
+ {
+ return collect($this->mailables)->filter(function ($mailable) use ($type) {
+ return $mailable instanceof $type;
+ });
+ }
+
+ /**
+ * Get all of the mailed mailables for a given type.
+ *
+ * @param string $type
+ * @return \Illuminate\Support\Collection
+ */
+ protected function queuedMailablesOf($type)
+ {
+ return collect($this->queuedMailables)->filter(function ($mailable) use ($type) {
+ return $mailable instanceof $type;
+ });
+ }
+
+ /**
+ * Get a mailer instance by name.
+ *
+ * @param string|null $name
+ * @return \Illuminate\Contracts\Mail\Mailer
+ */
+ public function mailer($name = null)
+ {
+ $this->currentMailer = $name;
+
+ return $this;
+ }
+
+ /**
+ * Begin the process of mailing a mailable class instance.
+ *
+ * @param mixed $users
+ * @return \Illuminate\Mail\PendingMail
+ */
+ public function to($users)
+ {
+ return (new PendingMailFake($this))->to($users);
+ }
+
+ /**
+ * Begin the process of mailing a mailable class instance.
+ *
+ * @param mixed $users
+ * @return \Illuminate\Mail\PendingMail
+ */
+ public function bcc($users)
+ {
+ return (new PendingMailFake($this))->bcc($users);
+ }
+
+ /**
+ * Send a new message with only a raw text part.
+ *
+ * @param string $text
+ * @param \Closure|string $callback
+ * @return void
+ */
+ public function raw($text, $callback)
+ {
+ //
+ }
+
+ /**
+ * Send a new message using a view.
+ *
+ * @param \Illuminate\Contracts\Mail\Mailable|string|array $view
+ * @param array $data
+ * @param \Closure|string|null $callback
+ * @return void
+ */
+ public function send($view, array $data = [], $callback = null)
+ {
+ if (! $view instanceof Mailable) {
+ return;
+ }
+
+ $view->mailer($this->currentMailer);
+
+ if ($view instanceof ShouldQueue) {
+ return $this->queue($view, $data);
+ }
+
+ $this->currentMailer = null;
+
+ $this->mailables[] = $view;
+ }
+
+ /**
+ * Queue a new e-mail message for sending.
+ *
+ * @param \Illuminate\Contracts\Mail\Mailable|string|array $view
+ * @param string|null $queue
+ * @return mixed
+ */
+ public function queue($view, $queue = null)
+ {
+ if (! $view instanceof Mailable) {
+ return;
+ }
+
+ $view->mailer($this->currentMailer);
+
+ $this->currentMailer = null;
+
+ $this->queuedMailables[] = $view;
+ }
+
+ /**
+ * Queue a new e-mail message for sending after (n) seconds.
+ *
+ * @param \DateTimeInterface|\DateInterval|int $delay
+ * @param \Illuminate\Contracts\Mail\Mailable|string|array $view
+ * @param string|null $queue
+ * @return mixed
+ */
+ public function later($delay, $view, $queue = null)
+ {
+ $this->queue($view, $queue);
+ }
+
+ /**
+ * Get the array of failed recipients.
+ *
+ * @return array
+ */
+ public function failures()
+ {
+ return [];
+ }
+
+ /**
+ * Infer mailable class using reflection if a typehinted closure is passed to assertion.
+ *
+ * @param string|\Closure $mailable
+ * @param callable|null $callback
+ * @return array
+ */
+ protected function prepareMailableAndCallback($mailable, $callback)
+ {
+ if ($mailable instanceof Closure) {
+ return [$this->firstClosureParameterType($mailable), $mailable];
+ }
+
+ return [$mailable, $callback];
+ }
+
+ /**
+ * Forget all of the resolved mailer instances.
+ *
+ * @return $this
+ */
+ public function forgetMailers()
+ {
+ $this->currentMailer = null;
+
+ return $this;
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/NotificationFake.php b/vendor/illuminate/support/Testing/Fakes/NotificationFake.php
new file mode 100644
index 0000000..c7b12f4
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/NotificationFake.php
@@ -0,0 +1,327 @@
+assertSentTo(new AnonymousNotifiable, $notification, $callback);
+ }
+
+ /**
+ * Assert if a notification was sent based on a truth-test callback.
+ *
+ * @param mixed $notifiable
+ * @param string|\Closure $notification
+ * @param callable|null $callback
+ * @return void
+ *
+ * @throws \Exception
+ */
+ public function assertSentTo($notifiable, $notification, $callback = null)
+ {
+ if (is_array($notifiable) || $notifiable instanceof Collection) {
+ if (count($notifiable) === 0) {
+ throw new Exception('No notifiable given.');
+ }
+
+ foreach ($notifiable as $singleNotifiable) {
+ $this->assertSentTo($singleNotifiable, $notification, $callback);
+ }
+
+ return;
+ }
+
+ if ($notification instanceof Closure) {
+ [$notification, $callback] = [$this->firstClosureParameterType($notification), $notification];
+ }
+
+ if (is_numeric($callback)) {
+ return $this->assertSentToTimes($notifiable, $notification, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->sent($notifiable, $notification, $callback)->count() > 0,
+ "The expected [{$notification}] notification was not sent."
+ );
+ }
+
+ /**
+ * Assert if a notification was sent on-demand a number of times.
+ *
+ * @param string $notification
+ * @param int $times
+ * @return void
+ */
+ public function assertSentOnDemandTimes($notification, $times = 1)
+ {
+ return $this->assertSentToTimes(new AnonymousNotifiable, $notification, $times);
+ }
+
+ /**
+ * Assert if a notification was sent a number of times.
+ *
+ * @param mixed $notifiable
+ * @param string $notification
+ * @param int $times
+ * @return void
+ */
+ public function assertSentToTimes($notifiable, $notification, $times = 1)
+ {
+ $count = $this->sent($notifiable, $notification)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "Expected [{$notification}] to be sent {$times} times, but was sent {$count} times."
+ );
+ }
+
+ /**
+ * Determine if a notification was sent based on a truth-test callback.
+ *
+ * @param mixed $notifiable
+ * @param string|\Closure $notification
+ * @param callable|null $callback
+ * @return void
+ *
+ * @throws \Exception
+ */
+ public function assertNotSentTo($notifiable, $notification, $callback = null)
+ {
+ if (is_array($notifiable) || $notifiable instanceof Collection) {
+ if (count($notifiable) === 0) {
+ throw new Exception('No notifiable given.');
+ }
+
+ foreach ($notifiable as $singleNotifiable) {
+ $this->assertNotSentTo($singleNotifiable, $notification, $callback);
+ }
+
+ return;
+ }
+
+ if ($notification instanceof Closure) {
+ [$notification, $callback] = [$this->firstClosureParameterType($notification), $notification];
+ }
+
+ PHPUnit::assertCount(
+ 0, $this->sent($notifiable, $notification, $callback),
+ "The unexpected [{$notification}] notification was sent."
+ );
+ }
+
+ /**
+ * Assert that no notifications were sent.
+ *
+ * @return void
+ */
+ public function assertNothingSent()
+ {
+ PHPUnit::assertEmpty($this->notifications, 'Notifications were sent unexpectedly.');
+ }
+
+ /**
+ * Assert the total amount of times a notification was sent.
+ *
+ * @param string $notification
+ * @param int $expectedCount
+ * @return void
+ */
+ public function assertSentTimes($notification, $expectedCount)
+ {
+ $actualCount = collect($this->notifications)
+ ->flatten(1)
+ ->reduce(function ($count, $sent) use ($notification) {
+ return $count + count($sent[$notification] ?? []);
+ }, 0);
+
+ PHPUnit::assertSame(
+ $expectedCount, $actualCount,
+ "Expected [{$notification}] to be sent {$expectedCount} times, but was sent {$actualCount} times."
+ );
+ }
+
+ /**
+ * Assert the total amount of times a notification was sent.
+ *
+ * @param int $expectedCount
+ * @param string $notification
+ * @return void
+ *
+ * @deprecated Use the assertSentTimes method instead
+ */
+ public function assertTimesSent($expectedCount, $notification)
+ {
+ $this->assertSentTimes($notification, $expectedCount);
+ }
+
+ /**
+ * Get all of the notifications matching a truth-test callback.
+ *
+ * @param mixed $notifiable
+ * @param string $notification
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function sent($notifiable, $notification, $callback = null)
+ {
+ if (! $this->hasSent($notifiable, $notification)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ $notifications = collect($this->notificationsFor($notifiable, $notification));
+
+ return $notifications->filter(function ($arguments) use ($callback) {
+ return $callback(...array_values($arguments));
+ })->pluck('notification');
+ }
+
+ /**
+ * Determine if there are more notifications left to inspect.
+ *
+ * @param mixed $notifiable
+ * @param string $notification
+ * @return bool
+ */
+ public function hasSent($notifiable, $notification)
+ {
+ return ! empty($this->notificationsFor($notifiable, $notification));
+ }
+
+ /**
+ * Get all of the notifications for a notifiable entity by type.
+ *
+ * @param mixed $notifiable
+ * @param string $notification
+ * @return array
+ */
+ protected function notificationsFor($notifiable, $notification)
+ {
+ return $this->notifications[get_class($notifiable)][$notifiable->getKey()][$notification] ?? [];
+ }
+
+ /**
+ * Send the given notification to the given notifiable entities.
+ *
+ * @param \Illuminate\Support\Collection|array|mixed $notifiables
+ * @param mixed $notification
+ * @return void
+ */
+ public function send($notifiables, $notification)
+ {
+ $this->sendNow($notifiables, $notification);
+ }
+
+ /**
+ * Send the given notification immediately.
+ *
+ * @param \Illuminate\Support\Collection|array|mixed $notifiables
+ * @param mixed $notification
+ * @param array|null $channels
+ * @return void
+ */
+ public function sendNow($notifiables, $notification, array $channels = null)
+ {
+ if (! $notifiables instanceof Collection && ! is_array($notifiables)) {
+ $notifiables = [$notifiables];
+ }
+
+ foreach ($notifiables as $notifiable) {
+ if (! $notification->id) {
+ $notification->id = Str::uuid()->toString();
+ }
+
+ $notifiableChannels = $channels ?: $notification->via($notifiable);
+
+ if (method_exists($notification, 'shouldSend')) {
+ $notifiableChannels = array_filter(
+ $notifiableChannels,
+ function ($channel) use ($notification, $notifiable) {
+ return $notification->shouldSend($notifiable, $channel) !== false;
+ }
+ );
+
+ if (empty($notifiableChannels)) {
+ continue;
+ }
+ }
+
+ $this->notifications[get_class($notifiable)][$notifiable->getKey()][get_class($notification)][] = [
+ 'notification' => $notification,
+ 'channels' => $notifiableChannels,
+ 'notifiable' => $notifiable,
+ 'locale' => $notification->locale ?? $this->locale ?? value(function () use ($notifiable) {
+ if ($notifiable instanceof HasLocalePreference) {
+ return $notifiable->preferredLocale();
+ }
+ }),
+ ];
+ }
+ }
+
+ /**
+ * Get a channel instance by name.
+ *
+ * @param string|null $name
+ * @return mixed
+ */
+ public function channel($name = null)
+ {
+ //
+ }
+
+ /**
+ * Set the locale of notifications.
+ *
+ * @param string $locale
+ * @return $this
+ */
+ public function locale($locale)
+ {
+ $this->locale = $locale;
+
+ return $this;
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/PendingBatchFake.php b/vendor/illuminate/support/Testing/Fakes/PendingBatchFake.php
new file mode 100644
index 0000000..c60b4b5
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/PendingBatchFake.php
@@ -0,0 +1,39 @@
+bus = $bus;
+ $this->jobs = $jobs;
+ }
+
+ /**
+ * Dispatch the batch.
+ *
+ * @return \Illuminate\Bus\Batch
+ */
+ public function dispatch()
+ {
+ return $this->bus->recordPendingBatch($this);
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/PendingChainFake.php b/vendor/illuminate/support/Testing/Fakes/PendingChainFake.php
new file mode 100644
index 0000000..533c649
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/PendingChainFake.php
@@ -0,0 +1,56 @@
+bus = $bus;
+ $this->job = $job;
+ $this->chain = $chain;
+ }
+
+ /**
+ * Dispatch the job with the given arguments.
+ *
+ * @return \Illuminate\Foundation\Bus\PendingDispatch
+ */
+ public function dispatch()
+ {
+ if (is_string($this->job)) {
+ $firstJob = new $this->job(...func_get_args());
+ } elseif ($this->job instanceof Closure) {
+ $firstJob = CallQueuedClosure::create($this->job);
+ } else {
+ $firstJob = $this->job;
+ }
+
+ $firstJob->allOnConnection($this->connection);
+ $firstJob->allOnQueue($this->queue);
+ $firstJob->chain($this->chain);
+ $firstJob->delay($this->delay);
+ $firstJob->chainCatchCallbacks = $this->catchCallbacks();
+
+ return $this->bus->dispatch($firstJob);
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/PendingMailFake.php b/vendor/illuminate/support/Testing/Fakes/PendingMailFake.php
new file mode 100644
index 0000000..5225130
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/PendingMailFake.php
@@ -0,0 +1,42 @@
+mailer = $mailer;
+ }
+
+ /**
+ * Send a new mailable message instance.
+ *
+ * @param \Illuminate\Contracts\Mail\Mailable $mailable
+ * @return void
+ */
+ public function send(Mailable $mailable)
+ {
+ $this->mailer->send($this->fill($mailable));
+ }
+
+ /**
+ * Push the given mailable onto the queue.
+ *
+ * @param \Illuminate\Contracts\Mail\Mailable $mailable
+ * @return mixed
+ */
+ public function queue(Mailable $mailable)
+ {
+ return $this->mailer->queue($this->fill($mailable));
+ }
+}
diff --git a/vendor/illuminate/support/Testing/Fakes/QueueFake.php b/vendor/illuminate/support/Testing/Fakes/QueueFake.php
new file mode 100644
index 0000000..d37cd67
--- /dev/null
+++ b/vendor/illuminate/support/Testing/Fakes/QueueFake.php
@@ -0,0 +1,414 @@
+firstClosureParameterType($job), $job];
+ }
+
+ if (is_numeric($callback)) {
+ return $this->assertPushedTimes($job, $callback);
+ }
+
+ PHPUnit::assertTrue(
+ $this->pushed($job, $callback)->count() > 0,
+ "The expected [{$job}] job was not pushed."
+ );
+ }
+
+ /**
+ * Assert if a job was pushed a number of times.
+ *
+ * @param string $job
+ * @param int $times
+ * @return void
+ */
+ protected function assertPushedTimes($job, $times = 1)
+ {
+ $count = $this->pushed($job)->count();
+
+ PHPUnit::assertSame(
+ $times, $count,
+ "The expected [{$job}] job was pushed {$count} times instead of {$times} times."
+ );
+ }
+
+ /**
+ * Assert if a job was pushed based on a truth-test callback.
+ *
+ * @param string $queue
+ * @param string|\Closure $job
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertPushedOn($queue, $job, $callback = null)
+ {
+ if ($job instanceof Closure) {
+ [$job, $callback] = [$this->firstClosureParameterType($job), $job];
+ }
+
+ $this->assertPushed($job, function ($job, $pushedQueue) use ($callback, $queue) {
+ if ($pushedQueue !== $queue) {
+ return false;
+ }
+
+ return $callback ? $callback(...func_get_args()) : true;
+ });
+ }
+
+ /**
+ * Assert if a job was pushed with chained jobs based on a truth-test callback.
+ *
+ * @param string $job
+ * @param array $expectedChain
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertPushedWithChain($job, $expectedChain = [], $callback = null)
+ {
+ PHPUnit::assertTrue(
+ $this->pushed($job, $callback)->isNotEmpty(),
+ "The expected [{$job}] job was not pushed."
+ );
+
+ PHPUnit::assertTrue(
+ collect($expectedChain)->isNotEmpty(),
+ 'The expected chain can not be empty.'
+ );
+
+ $this->isChainOfObjects($expectedChain)
+ ? $this->assertPushedWithChainOfObjects($job, $expectedChain, $callback)
+ : $this->assertPushedWithChainOfClasses($job, $expectedChain, $callback);
+ }
+
+ /**
+ * Assert if a job was pushed with an empty chain based on a truth-test callback.
+ *
+ * @param string $job
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertPushedWithoutChain($job, $callback = null)
+ {
+ PHPUnit::assertTrue(
+ $this->pushed($job, $callback)->isNotEmpty(),
+ "The expected [{$job}] job was not pushed."
+ );
+
+ $this->assertPushedWithChainOfClasses($job, [], $callback);
+ }
+
+ /**
+ * Assert if a job was pushed with chained jobs based on a truth-test callback.
+ *
+ * @param string $job
+ * @param array $expectedChain
+ * @param callable|null $callback
+ * @return void
+ */
+ protected function assertPushedWithChainOfObjects($job, $expectedChain, $callback)
+ {
+ $chain = collect($expectedChain)->map(function ($job) {
+ return serialize($job);
+ })->all();
+
+ PHPUnit::assertTrue(
+ $this->pushed($job, $callback)->filter(function ($job) use ($chain) {
+ return $job->chained == $chain;
+ })->isNotEmpty(),
+ 'The expected chain was not pushed.'
+ );
+ }
+
+ /**
+ * Assert if a job was pushed with chained jobs based on a truth-test callback.
+ *
+ * @param string $job
+ * @param array $expectedChain
+ * @param callable|null $callback
+ * @return void
+ */
+ protected function assertPushedWithChainOfClasses($job, $expectedChain, $callback)
+ {
+ $matching = $this->pushed($job, $callback)->map->chained->map(function ($chain) {
+ return collect($chain)->map(function ($job) {
+ return get_class(unserialize($job));
+ });
+ })->filter(function ($chain) use ($expectedChain) {
+ return $chain->all() === $expectedChain;
+ });
+
+ PHPUnit::assertTrue(
+ $matching->isNotEmpty(), 'The expected chain was not pushed.'
+ );
+ }
+
+ /**
+ * Determine if the given chain is entirely composed of objects.
+ *
+ * @param array $chain
+ * @return bool
+ */
+ protected function isChainOfObjects($chain)
+ {
+ return ! collect($chain)->contains(function ($job) {
+ return ! is_object($job);
+ });
+ }
+
+ /**
+ * Determine if a job was pushed based on a truth-test callback.
+ *
+ * @param string|\Closure $job
+ * @param callable|null $callback
+ * @return void
+ */
+ public function assertNotPushed($job, $callback = null)
+ {
+ if ($job instanceof Closure) {
+ [$job, $callback] = [$this->firstClosureParameterType($job), $job];
+ }
+
+ PHPUnit::assertCount(
+ 0, $this->pushed($job, $callback),
+ "The unexpected [{$job}] job was pushed."
+ );
+ }
+
+ /**
+ * Assert that no jobs were pushed.
+ *
+ * @return void
+ */
+ public function assertNothingPushed()
+ {
+ PHPUnit::assertEmpty($this->jobs, 'Jobs were pushed unexpectedly.');
+ }
+
+ /**
+ * Get all of the jobs matching a truth-test callback.
+ *
+ * @param string $job
+ * @param callable|null $callback
+ * @return \Illuminate\Support\Collection
+ */
+ public function pushed($job, $callback = null)
+ {
+ if (! $this->hasPushed($job)) {
+ return collect();
+ }
+
+ $callback = $callback ?: function () {
+ return true;
+ };
+
+ return collect($this->jobs[$job])->filter(function ($data) use ($callback) {
+ return $callback($data['job'], $data['queue']);
+ })->pluck('job');
+ }
+
+ /**
+ * Determine if there are any stored jobs for a given class.
+ *
+ * @param string $job
+ * @return bool
+ */
+ public function hasPushed($job)
+ {
+ return isset($this->jobs[$job]) && ! empty($this->jobs[$job]);
+ }
+
+ /**
+ * Resolve a queue connection instance.
+ *
+ * @param mixed $value
+ * @return \Illuminate\Contracts\Queue\Queue
+ */
+ public function connection($value = null)
+ {
+ return $this;
+ }
+
+ /**
+ * Get the size of the queue.
+ *
+ * @param string|null $queue
+ * @return int
+ */
+ public function size($queue = null)
+ {
+ return collect($this->jobs)->flatten(1)->filter(function ($job) use ($queue) {
+ return $job['queue'] === $queue;
+ })->count();
+ }
+
+ /**
+ * Push a new job onto the queue.
+ *
+ * @param string|object $job
+ * @param mixed $data
+ * @param string|null $queue
+ * @return mixed
+ */
+ public function push($job, $data = '', $queue = null)
+ {
+ $this->jobs[is_object($job) ? get_class($job) : $job][] = [
+ 'job' => $job,
+ 'queue' => $queue,
+ ];
+ }
+
+ /**
+ * Push a raw payload onto the queue.
+ *
+ * @param string $payload
+ * @param string|null $queue
+ * @param array $options
+ * @return mixed
+ */
+ public function pushRaw($payload, $queue = null, array $options = [])
+ {
+ //
+ }
+
+ /**
+ * Push a new job onto the queue after a delay.
+ *
+ * @param \DateTimeInterface|\DateInterval|int $delay
+ * @param string|object $job
+ * @param mixed $data
+ * @param string|null $queue
+ * @return mixed
+ */
+ public function later($delay, $job, $data = '', $queue = null)
+ {
+ return $this->push($job, $data, $queue);
+ }
+
+ /**
+ * Push a new job onto the queue.
+ *
+ * @param string $queue
+ * @param string|object $job
+ * @param mixed $data
+ * @return mixed
+ */
+ public function pushOn($queue, $job, $data = '')
+ {
+ return $this->push($job, $data, $queue);
+ }
+
+ /**
+ * Push a new job onto the queue after a delay.
+ *
+ * @param string $queue
+ * @param \DateTimeInterface|\DateInterval|int $delay
+ * @param string|object $job
+ * @param mixed $data
+ * @return mixed
+ */
+ public function laterOn($queue, $delay, $job, $data = '')
+ {
+ return $this->push($job, $data, $queue);
+ }
+
+ /**
+ * Pop the next job off of the queue.
+ *
+ * @param string|null $queue
+ * @return \Illuminate\Contracts\Queue\Job|null
+ */
+ public function pop($queue = null)
+ {
+ //
+ }
+
+ /**
+ * Push an array of jobs onto the queue.
+ *
+ * @param array $jobs
+ * @param mixed $data
+ * @param string|null $queue
+ * @return mixed
+ */
+ public function bulk($jobs, $data = '', $queue = null)
+ {
+ foreach ($jobs as $job) {
+ $this->push($job, $data, $queue);
+ }
+ }
+
+ /**
+ * Get the jobs that have been pushed.
+ *
+ * @return array
+ */
+ public function pushedJobs()
+ {
+ return $this->jobs;
+ }
+
+ /**
+ * Get the connection name for the queue.
+ *
+ * @return string
+ */
+ public function getConnectionName()
+ {
+ //
+ }
+
+ /**
+ * Set the connection name for the queue.
+ *
+ * @param string $name
+ * @return $this
+ */
+ public function setConnectionName($name)
+ {
+ return $this;
+ }
+
+ /**
+ * Override the QueueManager to prevent circular dependency.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ *
+ * @throws \BadMethodCallException
+ */
+ public function __call($method, $parameters)
+ {
+ throw new BadMethodCallException(sprintf(
+ 'Call to undefined method %s::%s()', static::class, $method
+ ));
+ }
+}
diff --git a/vendor/illuminate/support/Timebox.php b/vendor/illuminate/support/Timebox.php
new file mode 100644
index 0000000..32fd607
--- /dev/null
+++ b/vendor/illuminate/support/Timebox.php
@@ -0,0 +1,70 @@
+earlyReturn && $remainder > 0) {
+ $this->usleep($remainder);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Indicate that the timebox can return early.
+ *
+ * @return $this
+ */
+ public function returnEarly()
+ {
+ $this->earlyReturn = true;
+
+ return $this;
+ }
+
+ /**
+ * Indicate that the timebox cannot return early.
+ *
+ * @return $this
+ */
+ public function dontReturnEarly()
+ {
+ $this->earlyReturn = false;
+
+ return $this;
+ }
+
+ /**
+ * Sleep for the specified number of microseconds.
+ *
+ * @param $microseconds
+ * @return void
+ */
+ protected function usleep($microseconds)
+ {
+ usleep($microseconds);
+ }
+}
diff --git a/vendor/illuminate/support/Traits/CapsuleManagerTrait.php b/vendor/illuminate/support/Traits/CapsuleManagerTrait.php
new file mode 100644
index 0000000..0532755
--- /dev/null
+++ b/vendor/illuminate/support/Traits/CapsuleManagerTrait.php
@@ -0,0 +1,69 @@
+container = $container;
+
+ if (! $this->container->bound('config')) {
+ $this->container->instance('config', new Fluent);
+ }
+ }
+
+ /**
+ * Make this capsule instance available globally.
+ *
+ * @return void
+ */
+ public function setAsGlobal()
+ {
+ static::$instance = $this;
+ }
+
+ /**
+ * Get the IoC container instance.
+ *
+ * @return \Illuminate\Contracts\Container\Container
+ */
+ public function getContainer()
+ {
+ return $this->container;
+ }
+
+ /**
+ * Set the IoC container instance.
+ *
+ * @param \Illuminate\Contracts\Container\Container $container
+ * @return void
+ */
+ public function setContainer(Container $container)
+ {
+ $this->container = $container;
+ }
+}
diff --git a/vendor/illuminate/support/Traits/Conditionable.php b/vendor/illuminate/support/Traits/Conditionable.php
new file mode 100644
index 0000000..7980827
--- /dev/null
+++ b/vendor/illuminate/support/Traits/Conditionable.php
@@ -0,0 +1,44 @@
+{$method}(...$parameters);
+ } catch (Error|BadMethodCallException $e) {
+ $pattern = '~^Call to undefined method (?P[^:]+)::(?P[^\(]+)\(\)$~';
+
+ if (! preg_match($pattern, $e->getMessage(), $matches)) {
+ throw $e;
+ }
+
+ if ($matches['class'] != get_class($object) ||
+ $matches['method'] != $method) {
+ throw $e;
+ }
+
+ static::throwBadMethodCallException($method);
+ }
+ }
+
+ /**
+ * Forward a method call to the given object, returning $this if the forwarded call returned itself.
+ *
+ * @param mixed $object
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ *
+ * @throws \BadMethodCallException
+ */
+ protected function forwardDecoratedCallTo($object, $method, $parameters)
+ {
+ $result = $this->forwardCallTo($object, $method, $parameters);
+
+ if ($result === $object) {
+ return $this;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Throw a bad method call exception for the given method.
+ *
+ * @param string $method
+ * @return void
+ *
+ * @throws \BadMethodCallException
+ */
+ protected static function throwBadMethodCallException($method)
+ {
+ throw new BadMethodCallException(sprintf(
+ 'Call to undefined method %s::%s()', static::class, $method
+ ));
+ }
+}
diff --git a/vendor/illuminate/support/Traits/Localizable.php b/vendor/illuminate/support/Traits/Localizable.php
new file mode 100644
index 0000000..1e9fa58
--- /dev/null
+++ b/vendor/illuminate/support/Traits/Localizable.php
@@ -0,0 +1,34 @@
+getLocale();
+
+ try {
+ $app->setLocale($locale);
+
+ return $callback();
+ } finally {
+ $app->setLocale($original);
+ }
+ }
+}
diff --git a/vendor/illuminate/support/Traits/ReflectsClosures.php b/vendor/illuminate/support/Traits/ReflectsClosures.php
new file mode 100644
index 0000000..bf47d7e
--- /dev/null
+++ b/vendor/illuminate/support/Traits/ReflectsClosures.php
@@ -0,0 +1,88 @@
+closureParameterTypes($closure));
+
+ if (! $types) {
+ throw new RuntimeException('The given Closure has no parameters.');
+ }
+
+ if ($types[0] === null) {
+ throw new RuntimeException('The first parameter of the given Closure is missing a type hint.');
+ }
+
+ return $types[0];
+ }
+
+ /**
+ * Get the class names of the first parameter of the given Closure, including union types.
+ *
+ * @param \Closure $closure
+ * @return array
+ *
+ * @throws \ReflectionException
+ * @throws \RuntimeException
+ */
+ protected function firstClosureParameterTypes(Closure $closure)
+ {
+ $reflection = new ReflectionFunction($closure);
+
+ $types = collect($reflection->getParameters())->mapWithKeys(function ($parameter) {
+ if ($parameter->isVariadic()) {
+ return [$parameter->getName() => null];
+ }
+
+ return [$parameter->getName() => Reflector::getParameterClassNames($parameter)];
+ })->filter()->values()->all();
+
+ if (empty($types)) {
+ throw new RuntimeException('The given Closure has no parameters.');
+ }
+
+ if (isset($types[0]) && empty($types[0])) {
+ throw new RuntimeException('The first parameter of the given Closure is missing a type hint.');
+ }
+
+ return $types[0];
+ }
+
+ /**
+ * Get the class names / types of the parameters of the given Closure.
+ *
+ * @param \Closure $closure
+ * @return array
+ *
+ * @throws \ReflectionException
+ */
+ protected function closureParameterTypes(Closure $closure)
+ {
+ $reflection = new ReflectionFunction($closure);
+
+ return collect($reflection->getParameters())->mapWithKeys(function ($parameter) {
+ if ($parameter->isVariadic()) {
+ return [$parameter->getName() => null];
+ }
+
+ return [$parameter->getName() => Reflector::getParameterClassName($parameter)];
+ })->all();
+ }
+}
diff --git a/vendor/illuminate/support/Traits/Tappable.php b/vendor/illuminate/support/Traits/Tappable.php
new file mode 100644
index 0000000..9353451
--- /dev/null
+++ b/vendor/illuminate/support/Traits/Tappable.php
@@ -0,0 +1,17 @@
+input = $input;
+ }
+
+ /**
+ * Get a subset containing the provided keys with values from the input data.
+ *
+ * @param array|mixed $keys
+ * @return array
+ */
+ public function only($keys)
+ {
+ $results = [];
+
+ $input = $this->input;
+
+ $placeholder = new stdClass;
+
+ foreach (is_array($keys) ? $keys : func_get_args() as $key) {
+ $value = data_get($input, $key, $placeholder);
+
+ if ($value !== $placeholder) {
+ Arr::set($results, $key, $value);
+ }
+ }
+
+ return $results;
+ }
+
+ /**
+ * Get all of the input except for a specified array of items.
+ *
+ * @param array|mixed $keys
+ * @return array
+ */
+ public function except($keys)
+ {
+ $keys = is_array($keys) ? $keys : func_get_args();
+
+ $results = $this->input;
+
+ Arr::forget($results, $keys);
+
+ return $results;
+ }
+
+ /**
+ * Merge the validated input with the given array of additional data.
+ *
+ * @param array $items
+ * @return static
+ */
+ public function merge(array $items)
+ {
+ return new static(array_merge($this->input, $items));
+ }
+
+ /**
+ * Get the input as a collection.
+ *
+ * @return \Illuminate\Support\Collection
+ */
+ public function collect()
+ {
+ return new Collection($this->input);
+ }
+
+ /**
+ * Get the raw, underlying input array.
+ *
+ * @return array
+ */
+ public function all()
+ {
+ return $this->input;
+ }
+
+ /**
+ * Get the instance as an array.
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return $this->all();
+ }
+
+ /**
+ * Dynamically access input data.
+ *
+ * @param string $name
+ * @return mixed
+ */
+ public function __get($name)
+ {
+ return $this->input[$name];
+ }
+
+ /**
+ * Dynamically set input data.
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return mixed
+ */
+ public function __set($name, $value)
+ {
+ $this->input[$name] = $value;
+ }
+
+ /**
+ * Determine if an input key is set.
+ *
+ * @return bool
+ */
+ public function __isset($name)
+ {
+ return isset($this->input[$name]);
+ }
+
+ /**
+ * Remove an input key.
+ *
+ * @param string $name
+ * @return void
+ */
+ public function __unset($name)
+ {
+ unset($this->input[$name]);
+ }
+
+ /**
+ * Determine if an item exists at an offset.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetExists($key)
+ {
+ return isset($this->input[$key]);
+ }
+
+ /**
+ * Get an item at a given offset.
+ *
+ * @param mixed $key
+ * @return mixed
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetGet($key)
+ {
+ return $this->input[$key];
+ }
+
+ /**
+ * Set the item at a given offset.
+ *
+ * @param mixed $key
+ * @param mixed $value
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetSet($key, $value)
+ {
+ if (is_null($key)) {
+ $this->input[] = $value;
+ } else {
+ $this->input[$key] = $value;
+ }
+ }
+
+ /**
+ * Unset the item at a given offset.
+ *
+ * @param string $key
+ * @return void
+ */
+ #[\ReturnTypeWillChange]
+ public function offsetUnset($key)
+ {
+ unset($this->input[$key]);
+ }
+
+ /**
+ * Get an iterator for the input.
+ *
+ * @return \ArrayIterator
+ */
+ #[\ReturnTypeWillChange]
+ public function getIterator()
+ {
+ return new ArrayIterator($this->input);
+ }
+}
diff --git a/vendor/illuminate/support/ViewErrorBag.php b/vendor/illuminate/support/ViewErrorBag.php
new file mode 100644
index 0000000..d51bb53
--- /dev/null
+++ b/vendor/illuminate/support/ViewErrorBag.php
@@ -0,0 +1,131 @@
+bags[$key]);
+ }
+
+ /**
+ * Get a MessageBag instance from the bags.
+ *
+ * @param string $key
+ * @return \Illuminate\Contracts\Support\MessageBag
+ */
+ public function getBag($key)
+ {
+ return Arr::get($this->bags, $key) ?: new MessageBag;
+ }
+
+ /**
+ * Get all the bags.
+ *
+ * @return array
+ */
+ public function getBags()
+ {
+ return $this->bags;
+ }
+
+ /**
+ * Add a new MessageBag instance to the bags.
+ *
+ * @param string $key
+ * @param \Illuminate\Contracts\Support\MessageBag $bag
+ * @return $this
+ */
+ public function put($key, MessageBagContract $bag)
+ {
+ $this->bags[$key] = $bag;
+
+ return $this;
+ }
+
+ /**
+ * Determine if the default message bag has any messages.
+ *
+ * @return bool
+ */
+ public function any()
+ {
+ return $this->count() > 0;
+ }
+
+ /**
+ * Get the number of messages in the default bag.
+ *
+ * @return int
+ */
+ #[\ReturnTypeWillChange]
+ public function count()
+ {
+ return $this->getBag('default')->count();
+ }
+
+ /**
+ * Dynamically call methods on the default bag.
+ *
+ * @param string $method
+ * @param array $parameters
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ return $this->getBag('default')->$method(...$parameters);
+ }
+
+ /**
+ * Dynamically access a view error bag.
+ *
+ * @param string $key
+ * @return \Illuminate\Contracts\Support\MessageBag
+ */
+ public function __get($key)
+ {
+ return $this->getBag($key);
+ }
+
+ /**
+ * Dynamically set a view error bag.
+ *
+ * @param string $key
+ * @param \Illuminate\Contracts\Support\MessageBag $value
+ * @return void
+ */
+ public function __set($key, $value)
+ {
+ $this->put($key, $value);
+ }
+
+ /**
+ * Convert the default bag to its string representation.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return (string) $this->getBag('default');
+ }
+}
diff --git a/vendor/illuminate/support/composer.json b/vendor/illuminate/support/composer.json
new file mode 100644
index 0000000..527bdcb
--- /dev/null
+++ b/vendor/illuminate/support/composer.json
@@ -0,0 +1,55 @@
+{
+ "name": "illuminate/support",
+ "description": "The Illuminate Support package.",
+ "license": "MIT",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "require": {
+ "php": "^7.3|^8.0",
+ "ext-json": "*",
+ "ext-mbstring": "*",
+ "doctrine/inflector": "^1.4|^2.0",
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/macroable": "^8.0",
+ "nesbot/carbon": "^2.53.1",
+ "voku/portable-ascii": "^1.6.1"
+ },
+ "conflict": {
+ "tightenco/collect": "<5.5.33"
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ },
+ "files": [
+ "helpers.php"
+ ]
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "suggest": {
+ "illuminate/filesystem": "Required to use the composer class (^8.0).",
+ "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0.2).",
+ "ramsey/uuid": "Required to use Str::uuid() (^4.2.2).",
+ "symfony/process": "Required to use the composer class (^5.4).",
+ "symfony/var-dumper": "Required to use the dd function (^5.4).",
+ "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)."
+ },
+ "config": {
+ "sort-packages": true
+ },
+ "minimum-stability": "dev"
+}
diff --git a/vendor/illuminate/support/helpers.php b/vendor/illuminate/support/helpers.php
new file mode 100755
index 0000000..0b82fe7
--- /dev/null
+++ b/vendor/illuminate/support/helpers.php
@@ -0,0 +1,379 @@
+ $value) {
+ if (is_numeric($key)) {
+ $start++;
+
+ $array[$start] = Arr::pull($array, $key);
+ }
+ }
+
+ return $array;
+ }
+}
+
+if (! function_exists('blank')) {
+ /**
+ * Determine if the given value is "blank".
+ *
+ * @param mixed $value
+ * @return bool
+ */
+ function blank($value)
+ {
+ if (is_null($value)) {
+ return true;
+ }
+
+ if (is_string($value)) {
+ return trim($value) === '';
+ }
+
+ if (is_numeric($value) || is_bool($value)) {
+ return false;
+ }
+
+ if ($value instanceof Countable) {
+ return count($value) === 0;
+ }
+
+ return empty($value);
+ }
+}
+
+if (! function_exists('class_basename')) {
+ /**
+ * Get the class "basename" of the given object / class.
+ *
+ * @param string|object $class
+ * @return string
+ */
+ function class_basename($class)
+ {
+ $class = is_object($class) ? get_class($class) : $class;
+
+ return basename(str_replace('\\', '/', $class));
+ }
+}
+
+if (! function_exists('class_uses_recursive')) {
+ /**
+ * Returns all traits used by a class, its parent classes and trait of their traits.
+ *
+ * @param object|string $class
+ * @return array
+ */
+ function class_uses_recursive($class)
+ {
+ if (is_object($class)) {
+ $class = get_class($class);
+ }
+
+ $results = [];
+
+ foreach (array_reverse(class_parents($class)) + [$class => $class] as $class) {
+ $results += trait_uses_recursive($class);
+ }
+
+ return array_unique($results);
+ }
+}
+
+if (! function_exists('e')) {
+ /**
+ * Encode HTML special characters in a string.
+ *
+ * @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|string|null $value
+ * @param bool $doubleEncode
+ * @return string
+ */
+ function e($value, $doubleEncode = true)
+ {
+ if ($value instanceof DeferringDisplayableValue) {
+ $value = $value->resolveDisplayableValue();
+ }
+
+ if ($value instanceof Htmlable) {
+ return $value->toHtml();
+ }
+
+ return htmlspecialchars($value ?? '', ENT_QUOTES, 'UTF-8', $doubleEncode);
+ }
+}
+
+if (! function_exists('env')) {
+ /**
+ * Gets the value of an environment variable.
+ *
+ * @param string $key
+ * @param mixed $default
+ * @return mixed
+ */
+ function env($key, $default = null)
+ {
+ return Env::get($key, $default);
+ }
+}
+
+if (! function_exists('filled')) {
+ /**
+ * Determine if a value is "filled".
+ *
+ * @param mixed $value
+ * @return bool
+ */
+ function filled($value)
+ {
+ return ! blank($value);
+ }
+}
+
+if (! function_exists('object_get')) {
+ /**
+ * Get an item from an object using "dot" notation.
+ *
+ * @param object $object
+ * @param string|null $key
+ * @param mixed $default
+ * @return mixed
+ */
+ function object_get($object, $key, $default = null)
+ {
+ if (is_null($key) || trim($key) === '') {
+ return $object;
+ }
+
+ foreach (explode('.', $key) as $segment) {
+ if (! is_object($object) || ! isset($object->{$segment})) {
+ return value($default);
+ }
+
+ $object = $object->{$segment};
+ }
+
+ return $object;
+ }
+}
+
+if (! function_exists('optional')) {
+ /**
+ * Provide access to optional objects.
+ *
+ * @param mixed $value
+ * @param callable|null $callback
+ * @return mixed
+ */
+ function optional($value = null, callable $callback = null)
+ {
+ if (is_null($callback)) {
+ return new Optional($value);
+ } elseif (! is_null($value)) {
+ return $callback($value);
+ }
+ }
+}
+
+if (! function_exists('preg_replace_array')) {
+ /**
+ * Replace a given pattern with each value in the array in sequentially.
+ *
+ * @param string $pattern
+ * @param array $replacements
+ * @param string $subject
+ * @return string
+ */
+ function preg_replace_array($pattern, array $replacements, $subject)
+ {
+ return preg_replace_callback($pattern, function () use (&$replacements) {
+ foreach ($replacements as $key => $value) {
+ return array_shift($replacements);
+ }
+ }, $subject);
+ }
+}
+
+if (! function_exists('retry')) {
+ /**
+ * Retry an operation a given number of times.
+ *
+ * @param int $times
+ * @param callable $callback
+ * @param int|\Closure $sleepMilliseconds
+ * @param callable|null $when
+ * @return mixed
+ *
+ * @throws \Exception
+ */
+ function retry($times, callable $callback, $sleepMilliseconds = 0, $when = null)
+ {
+ $attempts = 0;
+
+ beginning:
+ $attempts++;
+ $times--;
+
+ try {
+ return $callback($attempts);
+ } catch (Exception $e) {
+ if ($times < 1 || ($when && ! $when($e))) {
+ throw $e;
+ }
+
+ if ($sleepMilliseconds) {
+ usleep(value($sleepMilliseconds, $attempts) * 1000);
+ }
+
+ goto beginning;
+ }
+ }
+}
+
+if (! function_exists('tap')) {
+ /**
+ * Call the given Closure with the given value then return the value.
+ *
+ * @param mixed $value
+ * @param callable|null $callback
+ * @return mixed
+ */
+ function tap($value, $callback = null)
+ {
+ if (is_null($callback)) {
+ return new HigherOrderTapProxy($value);
+ }
+
+ $callback($value);
+
+ return $value;
+ }
+}
+
+if (! function_exists('throw_if')) {
+ /**
+ * Throw the given exception if the given condition is true.
+ *
+ * @param mixed $condition
+ * @param \Throwable|string $exception
+ * @param mixed ...$parameters
+ * @return mixed
+ *
+ * @throws \Throwable
+ */
+ function throw_if($condition, $exception = 'RuntimeException', ...$parameters)
+ {
+ if ($condition) {
+ if (is_string($exception) && class_exists($exception)) {
+ $exception = new $exception(...$parameters);
+ }
+
+ throw is_string($exception) ? new RuntimeException($exception) : $exception;
+ }
+
+ return $condition;
+ }
+}
+
+if (! function_exists('throw_unless')) {
+ /**
+ * Throw the given exception unless the given condition is true.
+ *
+ * @param mixed $condition
+ * @param \Throwable|string $exception
+ * @param mixed ...$parameters
+ * @return mixed
+ *
+ * @throws \Throwable
+ */
+ function throw_unless($condition, $exception = 'RuntimeException', ...$parameters)
+ {
+ throw_if(! $condition, $exception, ...$parameters);
+
+ return $condition;
+ }
+}
+
+if (! function_exists('trait_uses_recursive')) {
+ /**
+ * Returns all traits used by a trait and its traits.
+ *
+ * @param string $trait
+ * @return array
+ */
+ function trait_uses_recursive($trait)
+ {
+ $traits = class_uses($trait) ?: [];
+
+ foreach ($traits as $trait) {
+ $traits += trait_uses_recursive($trait);
+ }
+
+ return $traits;
+ }
+}
+
+if (! function_exists('transform')) {
+ /**
+ * Transform the given value if it is present.
+ *
+ * @param mixed $value
+ * @param callable $callback
+ * @param mixed $default
+ * @return mixed|null
+ */
+ function transform($value, callable $callback, $default = null)
+ {
+ if (filled($value)) {
+ return $callback($value);
+ }
+
+ if (is_callable($default)) {
+ return $default($value);
+ }
+
+ return $default;
+ }
+}
+
+if (! function_exists('windows_os')) {
+ /**
+ * Determine whether the current environment is Windows based.
+ *
+ * @return bool
+ */
+ function windows_os()
+ {
+ return PHP_OS_FAMILY === 'Windows';
+ }
+}
+
+if (! function_exists('with')) {
+ /**
+ * Return the given value, optionally passed through the given callback.
+ *
+ * @param mixed $value
+ * @param callable|null $callback
+ * @return mixed
+ */
+ function with($value, callable $callback = null)
+ {
+ return is_null($callback) ? $value : $callback($value);
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/.editorconfig b/vendor/maennchen/zipstream-php/.editorconfig
new file mode 100644
index 0000000..f7cd914
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/.editorconfig
@@ -0,0 +1,22 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+
+[*.{yml,md,xml}]
+indent_style = space
+indent_size = 2
+
+[*.{rst,php}]
+indent_style = space
+indent_size = 4
+
+[composer.json]
+indent_style = space
+indent_size = 2
+
+[composer.lock]
+indent_style = space
+indent_size = 4
diff --git a/vendor/maennchen/zipstream-php/.phive/phars.xml b/vendor/maennchen/zipstream-php/.phive/phars.xml
new file mode 100644
index 0000000..569106a
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/.phive/phars.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/vendor/maennchen/zipstream-php/.php-cs-fixer.dist.php b/vendor/maennchen/zipstream-php/.php-cs-fixer.dist.php
new file mode 100644
index 0000000..3ba86a4
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/.php-cs-fixer.dist.php
@@ -0,0 +1,71 @@
+
+ * @copyright 2022 Nicolas CARPi
+ * @see https://github.com/maennchen/ZipStream-PHP
+ * @license MIT
+ * @package maennchen/ZipStream-PHP
+ */
+
+use PhpCsFixer\Config;
+use PhpCsFixer\Finder;
+
+$finder = Finder::create()
+ ->exclude('.github')
+ ->exclude('.phpdoc')
+ ->exclude('docs')
+ ->exclude('tools')
+ ->exclude('vendor')
+ ->in(__DIR__);
+
+$config = new Config();
+return $config->setRules([
+ '@PER' => true,
+ '@PER:risky' => true,
+ '@PHP81Migration' => true,
+ '@PHPUnit84Migration:risky' => true,
+ 'array_syntax' => ['syntax' => 'short'],
+ 'class_attributes_separation' => true,
+ 'declare_strict_types' => true,
+ 'dir_constant' => true,
+ 'is_null' => true,
+ 'no_homoglyph_names' => true,
+ 'no_null_property_initialization' => true,
+ 'no_php4_constructor' => true,
+ 'no_unused_imports' => true,
+ 'no_useless_else' => true,
+ 'non_printable_character' => true,
+ 'ordered_imports' => true,
+ 'ordered_class_elements' => true,
+ 'php_unit_construct' => true,
+ 'pow_to_exponentiation' => true,
+ 'psr_autoloading' => true,
+ 'random_api_migration' => true,
+ 'return_assignment' => true,
+ 'self_accessor' => true,
+ 'semicolon_after_instruction' => true,
+ 'short_scalar_cast' => true,
+ 'simplified_null_return' => true,
+ 'single_blank_line_before_namespace' => true,
+ 'single_class_element_per_statement' => true,
+ 'single_line_comment_style' => true,
+ 'single_quote' => true,
+ 'space_after_semicolon' => true,
+ 'standardize_not_equals' => true,
+ 'strict_param' => true,
+ 'ternary_operator_spaces' => true,
+ 'trailing_comma_in_multiline' => true,
+ 'trim_array_spaces' => true,
+ 'unary_operator_spaces' => true,
+ 'global_namespace_import' => [
+ 'import_classes' => true,
+ 'import_functions' => true,
+ 'import_constants' => true,
+ ],
+ ])
+ ->setFinder($finder)
+ ->setRiskyAllowed(true);
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/.phpdoc/template/base.html.twig b/vendor/maennchen/zipstream-php/.phpdoc/template/base.html.twig
new file mode 100644
index 0000000..b7507fb
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/.phpdoc/template/base.html.twig
@@ -0,0 +1,15 @@
+{% extends 'layout.html.twig' %}
+
+{% set topMenu = {
+ "menu": [
+ { "name": "Guides", "url": "https://maennchen.dev/ZipStream-PHP/guide/index.html"},
+ { "name": "API", "url": "https://maennchen.dev/ZipStream-PHP/classes/ZipStream-ZipStream.html"},
+ { "name": "Issues", "url": "https://github.com/maennchen/ZipStream-PHP/issues"},
+ ],
+ "social": [
+ { "iconClass": "fab fa-github", "url": "https://github.com/maennchen/ZipStream-PHP"},
+ { "iconClass": "fas fa-envelope-open-text", "url": "https://github.com/maennchen/ZipStream-PHP/discussions"},
+ { "iconClass": "fas fa-money-bill", "url": "https://opencollective.com/zipstream"},
+ ]
+}
+%}
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/.tool-versions b/vendor/maennchen/zipstream-php/.tool-versions
new file mode 100644
index 0000000..2618178
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/.tool-versions
@@ -0,0 +1 @@
+php 8.2.5
diff --git a/vendor/maennchen/zipstream-php/LICENSE b/vendor/maennchen/zipstream-php/LICENSE
new file mode 100644
index 0000000..ebe7fe2
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/LICENSE
@@ -0,0 +1,24 @@
+MIT License
+
+Copyright (C) 2007-2009 Paul Duncan
+Copyright (C) 2014 Jonatan Männchen
+Copyright (C) 2014 Jesse G. Donat
+Copyright (C) 2018 Nicolas CARPi
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/vendor/maennchen/zipstream-php/README.md b/vendor/maennchen/zipstream-php/README.md
new file mode 100644
index 0000000..155a265
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/README.md
@@ -0,0 +1,114 @@
+# ZipStream-PHP
+
+[](https://github.com/maennchen/ZipStream-PHP/actions/workflows/branch_main.yml)
+[](https://coveralls.io/github/maennchen/ZipStream-PHP?branch=main)
+[](https://packagist.org/packages/maennchen/zipstream-php)
+[](https://packagist.org/packages/maennchen/zipstream-php)
+[](https://opencollective.com/zipstream) [](LICENSE)
+
+## Unstable Branch
+
+The `main` branch is not stable. Please see the
+[releases](https://github.com/maennchen/ZipStream-PHP/releases) for a stable
+version.
+
+## Overview
+
+A fast and simple streaming zip file downloader for PHP. Using this library will save you from having to write the Zip to disk. You can directly send it to the user, which is much faster. It can work with S3 buckets or any PSR7 Stream.
+
+Please see the [LICENSE](LICENSE) file for licensing and warranty information.
+
+## Installation
+
+Simply add a dependency on maennchen/zipstream-php to your project's composer.json file if you use Composer to manage the dependencies of your project. Use following command to add the package to your project's dependencies:
+
+```bash
+composer require maennchen/zipstream-php
+```
+
+## Usage
+
+For detailed instructions, please check the
+[Documentation](https://maennchen.dev/ZipStream-PHP/).
+
+Here's a simple example:
+
+```php
+// Autoload the dependencies
+require 'vendor/autoload.php';
+
+// enable output of HTTP headers
+$options = new ZipStream\Option\Archive();
+$options->setSendHttpHeaders(true);
+
+// create a new zipstream object
+$zip = new ZipStream\ZipStream('example.zip', $options);
+
+// create a file named 'hello.txt'
+$zip->addFile('hello.txt', 'This is the contents of hello.txt');
+
+// add a file named 'some_image.jpg' from a local file 'path/to/image.jpg'
+$zip->addFileFromPath('some_image.jpg', 'path/to/image.jpg');
+
+// finish the zip stream
+$zip->finish();
+```
+
+## Upgrade to version 2.0.0
+
+- Only the self opened streams will be closed (#139)
+ If you were relying on ZipStream to close streams that the library didn't open,
+ you'll need to close them yourself now.
+
+## Upgrade to version 1.0.0
+
+- All options parameters to all function have been moved from an `array` to structured option objects. See [the wiki](https://github.com/maennchen/ZipStream-PHP/wiki/Available-options) for examples.
+- The whole library has been refactored. The minimal PHP requirement has been raised to PHP 7.1.
+
+## Usage with Symfony and S3
+
+You can find example code on [the wiki](https://github.com/maennchen/ZipStream-PHP/wiki/Symfony-example).
+
+## Contributing
+
+ZipStream-PHP is a collaborative project. Please take a look at the
+[.github/CONTRIBUTING.md](.github/CONTRIBUTING.md) file.
+
+## About the Authors
+
+- Paul Duncan - https://pablotron.org/
+- Jonatan Männchen - https://maennchen.dev
+- Jesse G. Donat - https://donatstudios.com
+- Nicolas CARPi - https://www.deltablot.com
+- Nik Barham - https://www.brokencube.co.uk
+
+## Contributors
+
+### Code Contributors
+
+This project exists thanks to all the people who contribute.
+[[Contribute](.github/CONTRIBUTING.md)].
+
+
+### Financial Contributors
+
+Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/zipstream/contribute)]
+
+#### Individuals
+
+
+
+#### Organizations
+
+Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/zipstream/contribute)]
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vendor/maennchen/zipstream-php/composer.json b/vendor/maennchen/zipstream-php/composer.json
new file mode 100644
index 0000000..89bc9ec
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/composer.json
@@ -0,0 +1,80 @@
+{
+ "name": "maennchen/zipstream-php",
+ "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.",
+ "keywords": ["zip", "stream"],
+ "type": "library",
+ "license": "MIT",
+ "authors": [{
+ "name": "Paul Duncan",
+ "email": "pabs@pablotron.org"
+ },
+ {
+ "name": "Jonatan Männchen",
+ "email": "jonatan@maennchen.ch"
+ },
+ {
+ "name": "Jesse Donat",
+ "email": "donatj@gmail.com"
+ },
+ {
+ "name": "András Kolesár",
+ "email": "kolesar@kolesar.hu"
+ }
+ ],
+ "require": {
+ "php": "^8.0",
+ "ext-mbstring": "*",
+ "psr/http-message": "^1.0",
+ "myclabs/php-enum": "^1.5"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^8.5.8 || ^9.4.2",
+ "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",
+ "ext-zip": "*",
+ "mikey179/vfsstream": "^1.6",
+ "vimeo/psalm": "^5.0",
+ "php-coveralls/php-coveralls": "^2.4",
+ "friendsofphp/php-cs-fixer": "^3.9"
+ },
+ "scripts": {
+ "format": "php-cs-fixer fix",
+ "test": [
+ "@test:unit",
+ "@test:formatted",
+ "@test:lint"
+ ],
+ "test:unit": "phpunit --coverage-clover=coverage.clover.xml --coverage-html cov",
+ "test:formatted": "@format --dry-run --stop-on-violation --using-cache=no",
+ "test:lint": "psalm --stats --show-info --find-unused-psalm-suppress",
+ "coverage:report": "php-coveralls --coverage_clover=coverage.clover.xml --json_path=coveralls-upload.json --insecure",
+ "install:tools": "phive install --trust-gpg-keys 0x67F861C3D889C656",
+ "docs:generate": "tools/phpdocumentor --sourcecode"
+ },
+ "autoload": {
+ "psr-4": {
+ "ZipStream\\": "src/"
+ }
+ },
+ "archive": {
+ "exclude": [
+ "/composer.lock",
+ "/docs",
+ "/.gitattributes",
+ "/.github",
+ "/.gitignore",
+ "/guides",
+ "/.phive",
+ "/.php-cs-fixer.cache",
+ "/.php-cs-fixer.dist.php",
+ "/.phpdoc",
+ "/phpdoc.dist.xml",
+ "/.phpunit.result.cache",
+ "/phpunit.xml.dist",
+ "/psalm.xml",
+ "/test",
+ "/tools",
+ "/.tool-versions",
+ "/vendor"
+ ]
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/guides/ContentLength.rst b/vendor/maennchen/zipstream-php/guides/ContentLength.rst
new file mode 100644
index 0000000..e51e692
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/ContentLength.rst
@@ -0,0 +1,79 @@
+Adding Content-Length header
+=============
+
+Adding a ``Content-Length`` header for ``ZipStream`` is not trivial since the
+size is not known beforehand.
+
+The following workaround adds an approximated header:
+
+.. code-block:: php
+
+ class Zip
+ {
+ /** @var string */
+ private $name;
+
+ private $files = [];
+
+ public function __construct($name)
+ {
+ $this->name = $name;
+ }
+
+ public function addFile($name, $data)
+ {
+ $this->files[] = ['type' => 'addFile', 'name' => $name, 'data' => $data];
+ }
+
+ public function addFileFromPath($name, $path)
+ {
+ $this->files[] = ['type' => 'addFileFromPath', 'name' => $name, 'path' => $path];
+ }
+
+ public function getEstimate()
+ {
+ $estimate = 22;
+ foreach ($this->files as $file) {
+ $estimate += 76 + 2 * strlen($file['name']);
+ if ($file['type'] === 'addFile') {
+ $estimate += strlen($file['data']);
+ }
+ if ($file['type'] === 'addFileFromPath') {
+ $estimate += filesize($file['path']);
+ }
+ }
+ return $estimate;
+ }
+
+ public function finish()
+ {
+ header('Content-Length: ' . $this->getEstimate());
+ $options = new \ZipStream\Option\Archive();
+ $options->setSendHttpHeaders(true);
+ $options->setEnableZip64(false);
+ $options->setDeflateLevel(-1);
+ $zip = new \ZipStream\ZipStream($this->name, $options);
+
+ $fileOptions = new \ZipStream\Option\File();
+ $fileOptions->setMethod(\ZipStream\Option\Method::STORE());
+ foreach ($this->files as $file) {
+ if ($file['type'] === 'addFile') {
+ $zip->addFile($file['name'], $file['data'], $fileOptions);
+ }
+ if ($file['type'] === 'addFileFromPath') {
+ $zip->addFileFromPath($file['name'], $file['path'], $fileOptions);
+ }
+ }
+ $zip->finish();
+ exit;
+ }
+ }
+
+It only works with the following constraints:
+
+- All file content is known beforehand.
+- Content Deflation is disabled
+
+Thanks to
+`partiellkorrekt `_
+for this workaround.
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/guides/FlySystem.rst b/vendor/maennchen/zipstream-php/guides/FlySystem.rst
new file mode 100644
index 0000000..0243f24
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/FlySystem.rst
@@ -0,0 +1,33 @@
+Usage with FlySystem
+===============
+
+For saving or uploading the generated zip, you can use the
+`Flysystem `_ package, and its many
+adapters.
+
+For that you will need to provide another stream than the ``php://output``
+default one, and pass it to Flysystem ``putStream`` method.
+
+.. code-block:: php
+
+ // Open Stream only once for read and write since it's a memory stream and
+ // the content is lost when closing the stream / opening another one
+ $tempStream = fopen('php://memory', 'w+');
+
+ // Init Options
+ $zipStreamOptions = new Archive();
+ $zipStreamOptions->setOutputStream($tempStream);
+
+ // Create Zip Archive
+ $zipStream = new ZipStream('test.zip', $zipStreamOptions);
+ $zipStream->addFile('test.txt', 'text');
+ $zipStream->finish();
+
+ // Store File (see Flysystem documentation, and all its framework integration)
+ $adapter = new Local(__DIR__.'/path/to/folder'); // Can be any adapter (AWS, Google, Ftp, etc.)
+ $filesystem = new Filesystem($adapter);
+
+ $filesystem->putStream('test.zip', $tempStream)
+
+ // Close Stream
+ fclose($tempStream);
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/guides/Nginx.rst b/vendor/maennchen/zipstream-php/guides/Nginx.rst
new file mode 100644
index 0000000..c53d300
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/Nginx.rst
@@ -0,0 +1,16 @@
+Usage with nginx
+=============
+
+If you are using nginx as a webserver, it will try to buffer the response.
+So you'll want to disable this with a custom header:
+
+.. code-block:: php
+ header('X-Accel-Buffering: no');
+ # or with the Response class from Symfony
+ $response->headers->set('X-Accel-Buffering', 'no');
+
+Alternatively, you can tweak the
+`fastcgi cache parameters `_
+within nginx config.
+
+See `original issue `_.
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/guides/Options.rst b/vendor/maennchen/zipstream-php/guides/Options.rst
new file mode 100644
index 0000000..eabaa6f
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/Options.rst
@@ -0,0 +1,61 @@
+Available options
+===============
+
+Here is the full list of options available to you. You can also have a look at
+``src/Option/Archive.php`` file.
+
+First, an instance of ``ZipStream\Option\Archive`` needs to be created, and
+after that you use setters methods to modify the values.
+
+.. code-block:: php
+ use ZipStream\ZipStream;
+ use ZipStream\Option\Archive as ArchiveOptions;
+
+ require_once 'vendor/autoload.php';
+
+ $opt = new ArchiveOptions();
+
+ // Define output stream (argument is of type resource)
+ $opt->setOutputStream($fd);
+
+ // Set the deflate level (default is 6; use -1 to disable it)
+ $opt->setDeflateLevel(6);
+
+ // Add a comment to the zip file
+ $opt->setComment('This is a comment.');
+
+ // Size, in bytes, of the largest file to try and load into memory (used by addFileFromPath()). Large files may also be compressed differently; see the 'largeFileMethod' option.
+ $opt->setLargeFileSize(30000000);
+
+ // How to handle large files. Legal values are STORE (the default), or DEFLATE. Store sends the file raw and is significantly faster, while DEFLATE compresses the file and is much, much slower. Note that deflate must compress the file twice and is extremely slow.
+ $opt->setLargeFileMethod(ZipStream\Option\Method::STORE());
+ $opt->setLargeFileMethod(ZipStream\Option\Method::DEFLATE());
+
+ // Send http headers (default is false)
+ $opt->setSendHttpHeaders(false);
+
+ // HTTP Content-Disposition. Defaults to 'attachment', where FILENAME is the specified filename. Note that this does nothing if you are not sending HTTP headers.
+ $opt->setContentDisposition('attachment');
+
+ // Set the content type (does nothing if you are not sending HTTP headers)
+ $opt->setContentType('application/x-zip');
+
+ // Set the function called for setting headers. Default is the `header()` of PHP
+ $opt->setHttpHeaderCallback('header');
+
+ // Enable streaming files with single read where general purpose bit 3 indicates local file header contain zero values in crc and size fields, these appear only after file contents in data descriptor block. Default is false. Set to true if your input stream is remote (used with addFileFromStream()).
+ $opt->setZeroHeader(false);
+
+ // Enable reading file stat for determining file size. When a 32-bit system reads file size that is over 2 GB, invalid value appears in file size due to integer overflow. Should be disabled on 32-bit systems with method addFileFromPath if any file may exceed 2 GB. In this case file will be read in blocks and correct size will be determined from content. Default is true.
+ $opt->setStatFiles(true);
+
+ // Enable zip64 extension, allowing very large archives (> 4Gb or file count > 64k)
+ // default is true
+ $opt->setEnableZip64(true);
+
+ // Flush output buffer after every write
+ // default is false
+ $opt->setFlushOutput(true);
+
+ // Now that everything is set you can pass the options to the ZipStream instance
+ $zip = new ZipStream('example.zip', $opt);
diff --git a/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst b/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst
new file mode 100644
index 0000000..4b4ca4b
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst
@@ -0,0 +1,18 @@
+Usage with PSR 7 Streams
+===============
+
+PSR-7 streams are `standardized streams `_.
+
+ZipStream-PHP supports working with these streams with the function
+``addFileFromPsr7Stream``.
+
+For all parameters of the function see the API documentation.
+
+Example
+---------------
+
+.. code-block:: php
+
+ $stream = $response->getBody();
+ // add a file named 'streamfile.txt' from the content of the stream
+ $zip->addFileFromPsr7Stream('streamfile.txt', $stream);
diff --git a/vendor/maennchen/zipstream-php/guides/StreamOutput.rst b/vendor/maennchen/zipstream-php/guides/StreamOutput.rst
new file mode 100644
index 0000000..1a0495f
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/StreamOutput.rst
@@ -0,0 +1,33 @@
+Stream Output
+===============
+
+Stream to S3 Bucket
+---------------
+
+.. code-block:: php
+ use Aws\S3\S3Client;
+ use Aws\Credentials\CredentialProvider;
+ use ZipStream\Option\Archive;
+ use ZipStream\ZipStream;
+
+ $bucket = 'your bucket name';
+ $client = new S3Client([
+ 'region' => 'your region',
+ 'version' => 'latest',
+ 'bucketName' => $bucket,
+ 'credentials' => CredentialProvider::defaultProvider(),
+ ]);
+ $client->registerStreamWrapper();
+
+ $zipFile = fopen("s3://$bucket/example.zip", 'w');
+
+ $options = new Archive();
+ $options->setEnableZip64(false);
+ $options->setOutputStream($zipFile);
+
+ $zip = new ZipStream(null, $options);
+ $zip->addFile('file1.txt', 'File1 data');
+ $zip->addFile('file2.txt', 'File2 data');
+ $zip->finish();
+
+ fclose($zipFile);
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/guides/Symfony.rst b/vendor/maennchen/zipstream-php/guides/Symfony.rst
new file mode 100644
index 0000000..18f9059
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/Symfony.rst
@@ -0,0 +1,126 @@
+Usage with Symfony
+===============
+
+Overview for using ZipStream in Symfony
+--------
+
+Using ZipStream in Symfony requires use of Symfony's ``StreamedResponse`` when
+used in controller actions.
+
+Wrap your call to the relevant ``ZipStream`` stream method (i.e. ``addFile``,
+``addFileFromPath``, ``addFileFromStream``) in Symfony's ``StreamedResponse``
+function passing in any required arguments for your use case.
+
+Using Symfony's ``StreamedResponse`` will allow Symfony to stream output from
+ZipStream correctly to users' browsers and avoid a corrupted final zip landing
+on the users' end.
+
+Example for using ``ZipStream`` in a controller action to zip stream files
+stored in an AWS S3 bucket by key:
+
+.. code-block:: php
+
+ use Symfony\Component\HttpFoundation\StreamedResponse;
+ use Aws\S3\S3Client;
+ use ZipStream;
+
+ //...
+
+ /**
+ * @Route("/zipstream", name="zipstream")
+ */
+ public function zipStreamAction()
+ {
+ //sample test file on s3
+ $s3keys = array(
+ "ziptestfolder/file1.txt"
+ );
+
+ $s3Client = $this->get('app.amazon.s3'); //s3client service
+ $s3Client->registerStreamWrapper(); //required
+
+ //using StreamedResponse to wrap ZipStream functionality for files on AWS s3.
+ $response = new StreamedResponse(function() use($s3keys, $s3Client)
+ {
+ // Define suitable options for ZipStream Archive.
+ $options = new \ZipStream\Option\Archive();
+ $options->setContentType('application/octet-stream');
+ // this is needed to prevent issues with truncated zip files
+ $options->setZeroHeader(true);
+ $options->setComment('test zip file.');
+
+ //initialise zipstream with output zip filename and options.
+ $zip = new ZipStream\ZipStream('test.zip', $options);
+
+ //loop keys - useful for multiple files
+ foreach ($s3keys as $key) {
+ // Get the file name in S3 key so we can save it to the zip
+ //file using the same name.
+ $fileName = basename($key);
+
+ //concatenate s3path.
+ $bucket = 'bucketname'; //replace with your bucket name or get from parameters file.
+ $s3path = "s3://" . $bucket . "/" . $key;
+
+ //addFileFromStream
+ if ($streamRead = fopen($s3path, 'r')) {
+ $zip->addFileFromStream($fileName, $streamRead);
+ } else {
+ die('Could not open stream for reading');
+ }
+ }
+
+ $zip->finish();
+
+ });
+
+ return $response;
+ }
+
+In the above example, files on AWS S3 are being streamed from S3 to the Symfon
+application via ``fopen`` call when the s3Client has ``registerStreamWrapper``
+applied. This stream is then passed to ``ZipStream`` via the
+``addFileFromStream`` function, which ZipStream then streams as a zip to the
+client browser via Symfony's ``StreamedResponse``. No Zip is created server
+side, which makes this approach a more efficient solution for streaming zips to
+the client browser especially for larger files.
+
+For the above use case you will need to have installed
+`aws/aws-sdk-php-symfony `_ to
+support accessing S3 objects in your Symfony web application. This is not
+required for locally stored files on you server you intend to stream via
+``ZipStream``.
+
+See official Symfony documentation for details on
+`Symfony's StreamedResponse `_
+``Symfony\Component\HttpFoundation\StreamedResponse``.
+
+Note from `S3 documentation `_:
+
+ Streams opened in "r" mode only allow data to be read from the stream, and
+ are not seekable by default. This is so that data can be downloaded from
+ Amazon S3 in a truly streaming manner, where previously read bytes do not
+ need to be buffered into memory. If you need a stream to be seekable, you
+ can pass seekable into the stream context options of a function.
+
+Make sure to configure your S3 context correctly!
+
+Uploading a file
+--------
+
+You need to add correct permissions
+(see `#120 `_)
+
+**example code**
+
+
+.. code-block:: php
+
+ $path = "s3://{$adapter->getBucket()}/{$this->getArchivePath()}";
+
+ // the important bit
+ $outputContext = stream_context_create([
+ 's3' => ['ACL' => 'public-read'],
+ ]);
+
+ fopen($path, 'w', null, $outputContext);
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/guides/Varnish.rst b/vendor/maennchen/zipstream-php/guides/Varnish.rst
new file mode 100644
index 0000000..952d287
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/Varnish.rst
@@ -0,0 +1,22 @@
+Usage with Varnish
+=============
+
+Serving a big zip with varnish in between can cause random stream close.
+This can be solved by adding attached code to the vcl file.
+
+To avoid the problem, add the following to your varnish config file:
+
+.. code-block::
+ sub vcl_recv {
+ # Varnish can’t intercept the discussion anymore
+ # helps for streaming big zips
+ if (req.url ~ "\.(tar|gz|zip|7z|exe)$") {
+ return (pipe);
+ }
+ }
+ # Varnish can’t intercept the discussion anymore
+ # helps for streaming big zips
+ sub vcl_pipe {
+ set bereq.http.connection = "close";
+ return (pipe);
+ }
diff --git a/vendor/maennchen/zipstream-php/guides/index.rst b/vendor/maennchen/zipstream-php/guides/index.rst
new file mode 100644
index 0000000..67f504b
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/guides/index.rst
@@ -0,0 +1,100 @@
+ZipStream PHP
+=============
+
+A fast and simple streaming zip file downloader for PHP. Using this library will
+save you from having to write the Zip to disk. You can directly send it to the
+user, which is much faster. It can work with S3 buckets or any PSR7 Stream.
+
+.. toctree::
+
+ index
+ Symfony
+ Options
+ StreamOutput
+ FlySystem
+ PSR7Streams
+ Nginx
+ Varnish
+ ContentLength
+
+Installation
+---------------
+
+Simply add a dependency on ``maennchen/zipstream-php`` to your project's
+``composer.json`` file if you use Composer to manage the dependencies of your
+project. Use following command to add the package to your project's dependencies:
+
+.. code-block:: sh
+ composer require maennchen/zipstream-php
+
+If ``composer install`` yields the following error, your installation is missing
+the `mbstring extension `_,
+either `install it `_
+or run the follwoing command:
+
+.. code-block::
+ Your requirements could not be resolved to an installable set of packages.
+
+ Problem 1
+ - Root composer.json requires PHP extension ext-mbstring * but it is
+ missing from your system. Install or enable PHP's mbstrings extension.
+
+.. code-block:: sh
+ composer require symfony/polyfill-mbstring
+
+Usage Intro
+---------------
+
+Here's a simple example:
+
+.. code-block:: php
+
+ // Autoload the dependencies
+ require 'vendor/autoload.php';
+
+ // enable output of HTTP headers
+ $options = new ZipStream\Option\Archive();
+ $options->setSendHttpHeaders(true);
+
+ // create a new zipstream object
+ $zip = new ZipStream\ZipStream('example.zip', $options);
+
+ // create a file named 'hello.txt'
+ $zip->addFile('hello.txt', 'This is the contents of hello.txt');
+
+ // add a file named 'some_image.jpg' from a local file 'path/to/image.jpg'
+ $zip->addFileFromPath('some_image.jpg', 'path/to/image.jpg');
+
+ // add a file named 'goodbye.txt' from an open stream resource
+ $fp = tmpfile();
+ fwrite($fp, 'The quick brown fox jumped over the lazy dog.');
+ rewind($fp);
+ $zip->addFileFromStream('goodbye.txt', $fp);
+ fclose($fp);
+
+ // finish the zip stream
+ $zip->finish();
+
+You can also add comments, modify file timestamps, and customize (or
+disable) the HTTP headers. It is also possible to specify the storage method
+when adding files, the current default storage method is ``DEFLATE``
+i.e files are stored with Compression mode 0x08.
+
+Known Issues
+---------------
+
+The native Mac OS archive extraction tool prior to macOS 10.15 might not open
+archives in some conditions. A workaround is to disable the Zip64 feature with
+the option ``enableZip64: false``. This limits the archive to 4 Gb and 64k files
+but will allow users on macOS 10.14 and below to open them without issue.
+See `#116 `_.
+
+The linux ``unzip`` utility might not handle properly unicode characters.
+It is recommended to extract with another tool like
+`7-zip `_.
+See `#146 `_.
+
+It is the responsability of the client code to make sure that files are not
+saved with the same path, as it is not possible for the library to figure it out
+while streaming a zip.
+See `#154 `_.
diff --git a/vendor/maennchen/zipstream-php/phpdoc.dist.xml b/vendor/maennchen/zipstream-php/phpdoc.dist.xml
new file mode 100644
index 0000000..b98fe1c
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/phpdoc.dist.xml
@@ -0,0 +1,39 @@
+
+
+ 💾 ZipStream-PHP
+
+ docs
+
+
+ latest
+
+
+ src
+
+ api
+
+ tests/**/*
+ vendor/**/*
+
+
+ php
+
+ public
+ ZipStream
+ true
+
+
+
+ guides
+
+ guide
+
+
+
+
+
\ No newline at end of file
diff --git a/vendor/maennchen/zipstream-php/phpunit.xml.dist b/vendor/maennchen/zipstream-php/phpunit.xml.dist
new file mode 100644
index 0000000..8a2f318
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/phpunit.xml.dist
@@ -0,0 +1,14 @@
+
+
+
+
+ src
+
+
+
+
+ test
+
+
+
+
diff --git a/vendor/maennchen/zipstream-php/psalm.xml b/vendor/maennchen/zipstream-php/psalm.xml
new file mode 100644
index 0000000..4e4c4f6
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/psalm.xml
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vendor/maennchen/zipstream-php/src/Bigint.php b/vendor/maennchen/zipstream-php/src/Bigint.php
new file mode 100644
index 0000000..f2565e9
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Bigint.php
@@ -0,0 +1,174 @@
+fillBytes($value, 0, 8);
+ }
+
+ /**
+ * Get an instance
+ *
+ * @param int $value
+ * @return Bigint
+ */
+ public static function init(int $value = 0): self
+ {
+ return new self($value);
+ }
+
+ /**
+ * Fill bytes from low to high
+ *
+ * @param int $low
+ * @param int $high
+ * @return Bigint
+ */
+ public static function fromLowHigh(int $low, int $high): self
+ {
+ $bigint = new self();
+ $bigint->fillBytes($low, 0, 4);
+ $bigint->fillBytes($high, 4, 4);
+ return $bigint;
+ }
+
+ /**
+ * Get high 32
+ *
+ * @return int
+ */
+ public function getHigh32(): int
+ {
+ return $this->getValue(4, 4);
+ }
+
+ /**
+ * Get value from bytes array
+ *
+ * @param int $end
+ * @param int $length
+ * @return int
+ */
+ public function getValue(int $end = 0, int $length = 8): int
+ {
+ $result = 0;
+ for ($i = $end + $length - 1; $i >= $end; $i--) {
+ $result <<= 8;
+ $result |= $this->bytes[$i];
+ }
+ return $result;
+ }
+
+ /**
+ * Get low FF
+ *
+ * @param bool $force
+ * @return float
+ */
+ public function getLowFF(bool $force = false): float
+ {
+ if ($force || $this->isOver32()) {
+ return (float)0xFFFFFFFF;
+ }
+ return (float)$this->getLow32();
+ }
+
+ /**
+ * Check if is over 32
+ *
+ * @psalm-suppress ArgumentTypeCoercion
+ * @param bool $force
+ * @return bool
+ */
+ public function isOver32(bool $force = false): bool
+ {
+ // value 0xFFFFFFFF already needs a Zip64 header
+ return $force ||
+ max(array_slice($this->bytes, 4, 4)) > 0 ||
+ min(array_slice($this->bytes, 0, 4)) === 0xFF;
+ }
+
+ /**
+ * Get low 32
+ *
+ * @return int
+ */
+ public function getLow32(): int
+ {
+ return $this->getValue(0, 4);
+ }
+
+ /**
+ * Get hexadecimal
+ *
+ * @return string
+ */
+ public function getHex64(): string
+ {
+ $result = '0x';
+ for ($i = 7; $i >= 0; $i--) {
+ $result .= sprintf('%02X', $this->bytes[$i]);
+ }
+ return $result;
+ }
+
+ /**
+ * Add
+ *
+ * @param Bigint $other
+ * @return Bigint
+ */
+ public function add(self $other): self
+ {
+ $result = clone $this;
+ $overflow = false;
+ for ($i = 0; $i < 8; $i++) {
+ $result->bytes[$i] += $other->bytes[$i];
+ if ($overflow) {
+ $result->bytes[$i]++;
+ $overflow = false;
+ }
+ if ($result->bytes[$i] & 0x100) {
+ $overflow = true;
+ $result->bytes[$i] &= 0xFF;
+ }
+ }
+ if ($overflow) {
+ throw new OverflowException();
+ }
+ return $result;
+ }
+
+ /**
+ * Fill the bytes field with int
+ *
+ * @param int $value
+ * @param int $start
+ * @param int $count
+ * @return void
+ */
+ protected function fillBytes(int $value, int $start, int $count): void
+ {
+ for ($i = 0; $i < $count; $i++) {
+ $this->bytes[$start + $i] = $i >= PHP_INT_SIZE ? 0 : $value & 0xFF;
+ $value >>= 8;
+ }
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/src/DeflateStream.php b/vendor/maennchen/zipstream-php/src/DeflateStream.php
new file mode 100644
index 0000000..210cbd2
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/DeflateStream.php
@@ -0,0 +1,27 @@
+zip = $zip;
+
+ $this->name = $name;
+ $this->opt = $opt ?: new FileOptions();
+ $this->method = $this->opt->getMethod();
+ $this->version = Version::STORE();
+ $this->ofs = new Bigint();
+ }
+
+ public function processPath(string $path): void
+ {
+ if (!is_readable($path)) {
+ if (!file_exists($path)) {
+ throw new FileNotFoundException($path);
+ }
+ throw new FileNotReadableException($path);
+ }
+ if ($this->zip->isLargeFile($path) === false) {
+ $data = file_get_contents($path);
+ $this->processData($data);
+ } else {
+ $this->method = $this->zip->opt->getLargeFileMethod();
+
+ $stream = new Stream(fopen($path, 'rb'));
+ $this->processStream($stream);
+ $stream->close();
+ }
+ }
+
+ public function processData(string $data): void
+ {
+ $this->len = new Bigint(strlen($data));
+ $this->crc = crc32($data);
+
+ // compress data if needed
+ if ($this->method->equals(Method::DEFLATE())) {
+ $data = gzdeflate($data);
+ }
+
+ $this->zlen = new Bigint(strlen($data));
+ $this->addFileHeader();
+ $this->zip->send($data);
+ $this->addFileFooter();
+ }
+
+ /**
+ * Create and send zip header for this file.
+ *
+ * @return void
+ * @throws \ZipStream\Exception\EncodingException
+ */
+ public function addFileHeader(): void
+ {
+ $name = static::filterFilename($this->name);
+
+ // calculate name length
+ $nameLength = strlen($name);
+
+ // create dos timestamp
+ $time = static::dosTime($this->opt->getTime()->getTimestamp());
+
+ $comment = $this->opt->getComment();
+
+ if (!mb_check_encoding($name, 'ASCII') ||
+ !mb_check_encoding($comment, 'ASCII')) {
+ // Sets Bit 11: Language encoding flag (EFS). If this bit is set,
+ // the filename and comment fields for this file
+ // MUST be encoded using UTF-8. (see APPENDIX D)
+ if (mb_check_encoding($name, 'UTF-8') &&
+ mb_check_encoding($comment, 'UTF-8')) {
+ $this->bits |= self::BIT_EFS_UTF8;
+ }
+ }
+
+ if ($this->method->equals(Method::DEFLATE())) {
+ $this->version = Version::DEFLATE();
+ }
+
+ $force = (bool)($this->bits & self::BIT_ZERO_HEADER) &&
+ $this->zip->opt->isEnableZip64();
+
+ $footer = $this->buildZip64ExtraBlock($force);
+
+ // If this file will start over 4GB limit in ZIP file,
+ // CDR record will have to use Zip64 extension to describe offset
+ // to keep consistency we use the same value here
+ if ($this->zip->ofs->isOver32()) {
+ $this->version = Version::ZIP64();
+ }
+
+ $fields = [
+ ['V', ZipStream::FILE_HEADER_SIGNATURE],
+ ['v', $this->version->getValue()], // Version needed to Extract
+ ['v', $this->bits], // General purpose bit flags - data descriptor flag set
+ ['v', $this->method->getValue()], // Compression method
+ ['V', $time], // Timestamp (DOS Format)
+ ['V', $this->crc], // CRC32 of data (0 -> moved to data descriptor footer)
+ ['V', $this->zlen->getLowFF($force)], // Length of compressed data (forced to 0xFFFFFFFF for zero header)
+ ['V', $this->len->getLowFF($force)], // Length of original data (forced to 0xFFFFFFFF for zero header)
+ ['v', $nameLength], // Length of filename
+ ['v', strlen($footer)], // Extra data (see above)
+ ];
+
+ // pack fields and calculate "total" length
+ $header = ZipStream::packFields($fields);
+
+ // print header and filename
+ $data = $header . $name . $footer;
+ $this->zip->send($data);
+
+ // save header length
+ $this->hlen = Bigint::init(strlen($data));
+ }
+
+ /**
+ * Strip characters that are not legal in Windows filenames
+ * to prevent compatibility issues
+ *
+ * @param string $filename Unprocessed filename
+ * @return string
+ */
+ public static function filterFilename(string $filename): string
+ {
+ // strip leading slashes from file name
+ // (fixes bug in windows archive viewer)
+ $filename = preg_replace('/^\\/+/', '', $filename);
+
+ return str_replace(['\\', ':', '*', '?', '"', '<', '>', '|'], '_', $filename);
+ }
+
+ /**
+ * Create and send data descriptor footer for this file.
+ *
+ * @return void
+ */
+ public function addFileFooter(): void
+ {
+ if ($this->bits & self::BIT_ZERO_HEADER) {
+ // compressed and uncompressed size
+ $sizeFormat = 'V';
+ if ($this->zip->opt->isEnableZip64()) {
+ $sizeFormat = 'P';
+ }
+ $fields = [
+ ['V', ZipStream::DATA_DESCRIPTOR_SIGNATURE],
+ ['V', $this->crc], // CRC32
+ [$sizeFormat, $this->zlen], // Length of compressed data
+ [$sizeFormat, $this->len], // Length of original data
+ ];
+
+ $footer = ZipStream::packFields($fields);
+ $this->zip->send($footer);
+ } else {
+ $footer = '';
+ }
+ $this->totalLength = $this->hlen->add($this->zlen)->add(Bigint::init(strlen($footer)));
+ $this->zip->addToCdr($this);
+ }
+
+ public function processStream(StreamInterface $stream): void
+ {
+ $this->zlen = new Bigint();
+ $this->len = new Bigint();
+
+ if ($this->zip->opt->isZeroHeader()) {
+ $this->processStreamWithZeroHeader($stream);
+ } else {
+ $this->processStreamWithComputedHeader($stream);
+ }
+ }
+
+ /**
+ * Send CDR record for specified file.
+ *
+ * @return string
+ */
+ public function getCdrFile(): string
+ {
+ $name = static::filterFilename($this->name);
+
+ // get attributes
+ $comment = $this->opt->getComment();
+
+ // get dos timestamp
+ $time = static::dosTime($this->opt->getTime()->getTimestamp());
+
+ $footer = $this->buildZip64ExtraBlock();
+
+ $fields = [
+ ['V', ZipStream::CDR_FILE_SIGNATURE], // Central file header signature
+ ['v', ZipStream::ZIP_VERSION_MADE_BY], // Made by version
+ ['v', $this->version->getValue()], // Extract by version
+ ['v', $this->bits], // General purpose bit flags - data descriptor flag set
+ ['v', $this->method->getValue()], // Compression method
+ ['V', $time], // Timestamp (DOS Format)
+ ['V', $this->crc], // CRC32
+ ['V', $this->zlen->getLowFF()], // Compressed Data Length
+ ['V', $this->len->getLowFF()], // Original Data Length
+ ['v', strlen($name)], // Length of filename
+ ['v', strlen($footer)], // Extra data len (see above)
+ ['v', strlen($comment)], // Length of comment
+ ['v', 0], // Disk number
+ ['v', 0], // Internal File Attributes
+ ['V', 32], // External File Attributes
+ ['V', $this->ofs->getLowFF()], // Relative offset of local header
+ ];
+
+ // pack fields, then append name and comment
+ $header = ZipStream::packFields($fields);
+
+ return $header . $name . $footer . $comment;
+ }
+
+ /**
+ * @return Bigint
+ */
+ public function getTotalLength(): Bigint
+ {
+ return $this->totalLength;
+ }
+
+ /**
+ * Convert a UNIX timestamp to a DOS timestamp.
+ *
+ * @param int $when
+ * @return int DOS Timestamp
+ */
+ final protected static function dosTime(int $when): int
+ {
+ // get date array for timestamp
+ $d = getdate($when);
+
+ // set lower-bound on dates
+ if ($d['year'] < 1980) {
+ $d = [
+ 'year' => 1980,
+ 'mon' => 1,
+ 'mday' => 1,
+ 'hours' => 0,
+ 'minutes' => 0,
+ 'seconds' => 0,
+ ];
+ }
+
+ // remove extra years from 1980
+ $d['year'] -= 1980;
+
+ // return date string
+ return
+ ($d['year'] << 25) |
+ ($d['mon'] << 21) |
+ ($d['mday'] << 16) |
+ ($d['hours'] << 11) |
+ ($d['minutes'] << 5) |
+ ($d['seconds'] >> 1);
+ }
+
+ protected function buildZip64ExtraBlock(bool $force = false): string
+ {
+ $fields = [];
+ if ($this->len->isOver32($force)) {
+ $fields[] = ['P', $this->len]; // Length of original data
+ }
+
+ if ($this->len->isOver32($force)) {
+ $fields[] = ['P', $this->zlen]; // Length of compressed data
+ }
+
+ if ($this->ofs->isOver32()) {
+ $fields[] = ['P', $this->ofs]; // Offset of local header record
+ }
+
+ if (!empty($fields)) {
+ if (!$this->zip->opt->isEnableZip64()) {
+ throw new OverflowException();
+ }
+
+ array_unshift(
+ $fields,
+ ['v', 0x0001], // 64 bit extension
+ ['v', count($fields) * 8] // Length of data block
+ );
+ $this->version = Version::ZIP64();
+ }
+
+ if ($this->bits & self::BIT_EFS_UTF8) {
+ // Put the tricky entry to
+ // force Linux unzip to lookup EFS flag.
+ $fields[] = ['v', 0x5653]; // Choose 'ZS' for proprietary usage
+ $fields[] = ['v', 0x0000]; // zero length
+ }
+
+ return ZipStream::packFields($fields);
+ }
+
+ protected function processStreamWithZeroHeader(StreamInterface $stream): void
+ {
+ $this->bits |= self::BIT_ZERO_HEADER;
+ $this->addFileHeader();
+ $this->readStream($stream, self::COMPUTE | self::SEND);
+ $this->addFileFooter();
+ }
+
+ protected function readStream(StreamInterface $stream, ?int $options = null): void
+ {
+ $this->deflateInit();
+ $total = 0;
+ $size = $this->opt->getSize();
+ while (!$stream->eof() && ($size === 0 || $total < $size)) {
+ $data = $stream->read(self::CHUNKED_READ_BLOCK_SIZE);
+ $total += strlen($data);
+ if ($size > 0 && $total > $size) {
+ $data = substr($data, 0, strlen($data)-($total - $size));
+ }
+ $this->deflateData($stream, $data, $options);
+ if ($options & self::SEND) {
+ $this->zip->send($data);
+ }
+ }
+ $this->deflateFinish($options);
+ }
+
+ protected function deflateInit(): void
+ {
+ $hash = hash_init(self::HASH_ALGORITHM);
+ $this->hash = $hash;
+ if ($this->method->equals(Method::DEFLATE())) {
+ $this->deflate = deflate_init(
+ ZLIB_ENCODING_RAW,
+ ['level' => $this->opt->getDeflateLevel()]
+ );
+ }
+ }
+
+ protected function deflateData(StreamInterface $stream, string &$data, ?int $options = null): void
+ {
+ if ($options & self::COMPUTE) {
+ $this->len = $this->len->add(Bigint::init(strlen($data)));
+ hash_update($this->hash, $data);
+ }
+ if ($this->deflate) {
+ /** @psalm-suppress PossiblyInvalidArgument */
+ $data = deflate_add(
+ $this->deflate,
+ $data,
+ $stream->eof()
+ ? ZLIB_FINISH
+ : ZLIB_NO_FLUSH
+ );
+ }
+ if ($options & self::COMPUTE) {
+ $this->zlen = $this->zlen->add(Bigint::init(strlen($data)));
+ }
+ }
+
+ protected function deflateFinish(?int $options = null): void
+ {
+ if ($options & self::COMPUTE) {
+ $this->crc = hexdec(hash_final($this->hash));
+ }
+ }
+
+ protected function processStreamWithComputedHeader(StreamInterface $stream): void
+ {
+ $this->readStream($stream, self::COMPUTE);
+ $stream->rewind();
+
+ $this->addFileHeader();
+ $this->readStream($stream, self::SEND);
+ $this->addFileFooter();
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/src/Option/Archive.php b/vendor/maennchen/zipstream-php/src/Option/Archive.php
new file mode 100644
index 0000000..374dd1d
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Option/Archive.php
@@ -0,0 +1,276 @@
+ 4 GB or file count > 64k)
+ *
+ * @var bool
+ */
+ private $enableZip64 = true;
+
+ /**
+ * Enable streaming files with single read where
+ * general purpose bit 3 indicates local file header
+ * contain zero values in crc and size fields,
+ * these appear only after file contents
+ * in data descriptor block.
+ *
+ * @var bool
+ */
+ private $zeroHeader = false;
+
+ /**
+ * Enable reading file stat for determining file size.
+ * When a 32-bit system reads file size that is
+ * over 2 GB, invalid value appears in file size
+ * due to integer overflow. Should be disabled on
+ * 32-bit systems with method addFileFromPath
+ * if any file may exceed 2 GB. In this case file
+ * will be read in blocks and correct size will be
+ * determined from content.
+ *
+ * @var bool
+ */
+ private $statFiles = true;
+
+ /**
+ * Enable flush after every write to output stream.
+ * @var bool
+ */
+ private $flushOutput = false;
+
+ /**
+ * HTTP Content-Disposition. Defaults to
+ * 'attachment', where
+ * FILENAME is the specified filename.
+ *
+ * Note that this does nothing if you are
+ * not sending HTTP headers.
+ *
+ * @var string
+ */
+ private $contentDisposition = 'attachment';
+
+ /**
+ * Note that this does nothing if you are
+ * not sending HTTP headers.
+ *
+ * @var string
+ */
+ private $contentType = 'application/x-zip';
+
+ /**
+ * @var int
+ */
+ private $deflateLevel = 6;
+
+ /**
+ * @var StreamInterface|resource
+ */
+ private $outputStream;
+
+ /**
+ * Options constructor.
+ */
+ public function __construct()
+ {
+ $this->largeFileMethod = Method::STORE();
+ $this->outputStream = fopen('php://output', 'wb');
+ }
+
+ public function getComment(): string
+ {
+ return $this->comment;
+ }
+
+ public function setComment(string $comment): void
+ {
+ $this->comment = $comment;
+ }
+
+ public function getLargeFileSize(): int
+ {
+ return $this->largeFileSize;
+ }
+
+ public function setLargeFileSize(int $largeFileSize): void
+ {
+ $this->largeFileSize = $largeFileSize;
+ }
+
+ public function getLargeFileMethod(): Method
+ {
+ return $this->largeFileMethod;
+ }
+
+ public function setLargeFileMethod(Method $largeFileMethod): void
+ {
+ $this->largeFileMethod = $largeFileMethod;
+ }
+
+ public function isSendHttpHeaders(): bool
+ {
+ return $this->sendHttpHeaders;
+ }
+
+ public function setSendHttpHeaders(bool $sendHttpHeaders): void
+ {
+ $this->sendHttpHeaders = $sendHttpHeaders;
+ }
+
+ public function getHttpHeaderCallback(): callable
+ {
+ return $this->httpHeaderCallback;
+ }
+
+ public function setHttpHeaderCallback(callable $httpHeaderCallback): void
+ {
+ $this->httpHeaderCallback = $httpHeaderCallback;
+ }
+
+ public function isEnableZip64(): bool
+ {
+ return $this->enableZip64;
+ }
+
+ public function setEnableZip64(bool $enableZip64): void
+ {
+ $this->enableZip64 = $enableZip64;
+ }
+
+ public function isZeroHeader(): bool
+ {
+ return $this->zeroHeader;
+ }
+
+ public function setZeroHeader(bool $zeroHeader): void
+ {
+ $this->zeroHeader = $zeroHeader;
+ }
+
+ public function isFlushOutput(): bool
+ {
+ return $this->flushOutput;
+ }
+
+ public function setFlushOutput(bool $flushOutput): void
+ {
+ $this->flushOutput = $flushOutput;
+ }
+
+ public function isStatFiles(): bool
+ {
+ return $this->statFiles;
+ }
+
+ public function setStatFiles(bool $statFiles): void
+ {
+ $this->statFiles = $statFiles;
+ }
+
+ public function getContentDisposition(): string
+ {
+ return $this->contentDisposition;
+ }
+
+ public function setContentDisposition(string $contentDisposition): void
+ {
+ $this->contentDisposition = $contentDisposition;
+ }
+
+ public function getContentType(): string
+ {
+ return $this->contentType;
+ }
+
+ public function setContentType(string $contentType): void
+ {
+ $this->contentType = $contentType;
+ }
+
+ /**
+ * @return StreamInterface|resource
+ */
+ public function getOutputStream()
+ {
+ return $this->outputStream;
+ }
+
+ /**
+ * @param StreamInterface|resource $outputStream
+ */
+ public function setOutputStream($outputStream): void
+ {
+ $this->outputStream = $outputStream;
+ }
+
+ /**
+ * @return int
+ */
+ public function getDeflateLevel(): int
+ {
+ return $this->deflateLevel;
+ }
+
+ /**
+ * @param int $deflateLevel
+ */
+ public function setDeflateLevel(int $deflateLevel): void
+ {
+ $this->deflateLevel = $deflateLevel;
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/src/Option/File.php b/vendor/maennchen/zipstream-php/src/Option/File.php
new file mode 100644
index 0000000..37e37ce
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Option/File.php
@@ -0,0 +1,122 @@
+deflateLevel = $this->deflateLevel ?: $archiveOptions->getDeflateLevel();
+ $this->time = $this->time ?: new DateTime();
+ }
+
+ /**
+ * @return string
+ */
+ public function getComment(): string
+ {
+ return $this->comment;
+ }
+
+ /**
+ * @param string $comment
+ */
+ public function setComment(string $comment): void
+ {
+ $this->comment = $comment;
+ }
+
+ /**
+ * @return Method
+ */
+ public function getMethod(): Method
+ {
+ return $this->method ?: Method::DEFLATE();
+ }
+
+ /**
+ * @param Method $method
+ */
+ public function setMethod(Method $method): void
+ {
+ $this->method = $method;
+ }
+
+ /**
+ * @return int
+ */
+ public function getDeflateLevel(): int
+ {
+ return $this->deflateLevel ?: Archive::DEFAULT_DEFLATE_LEVEL;
+ }
+
+ /**
+ * @param int $deflateLevel
+ */
+ public function setDeflateLevel(int $deflateLevel): void
+ {
+ $this->deflateLevel = $deflateLevel;
+ }
+
+ /**
+ * @return DateTimeInterface
+ */
+ public function getTime(): DateTimeInterface
+ {
+ return $this->time;
+ }
+
+ /**
+ * @param DateTimeInterface $time
+ */
+ public function setTime(DateTimeInterface $time): void
+ {
+ $this->time = $time;
+ }
+
+ /**
+ * @return int
+ */
+ public function getSize(): int
+ {
+ return $this->size;
+ }
+
+ /**
+ * @param int $size
+ */
+ public function setSize(int $size): void
+ {
+ $this->size = $size;
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/src/Option/Method.php b/vendor/maennchen/zipstream-php/src/Option/Method.php
new file mode 100644
index 0000000..0dfce1b
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Option/Method.php
@@ -0,0 +1,23 @@
+
+ */
+class Method extends Enum
+{
+ public const STORE = 0x00;
+
+ public const DEFLATE = 0x08;
+}
diff --git a/vendor/maennchen/zipstream-php/src/Option/Version.php b/vendor/maennchen/zipstream-php/src/Option/Version.php
new file mode 100644
index 0000000..f3daa85
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Option/Version.php
@@ -0,0 +1,27 @@
+
+ */
+class Version extends Enum
+{
+ public const STORE = 0x000A; // 1.00
+
+ public const DEFLATE = 0x0014; // 2.00
+
+ public const ZIP64 = 0x002D; // 4.50
+}
diff --git a/vendor/maennchen/zipstream-php/src/Stream.php b/vendor/maennchen/zipstream-php/src/Stream.php
new file mode 100644
index 0000000..d80e70f
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Stream.php
@@ -0,0 +1,265 @@
+stream = $stream;
+ }
+
+ /**
+ * Reads all data from the stream into a string, from the beginning to end.
+ *
+ * This method MUST attempt to seek to the beginning of the stream before
+ * reading data and read the stream until the end is reached.
+ *
+ * Warning: This could attempt to load a large amount of data into memory.
+ *
+ * This method MUST NOT raise an exception in order to conform with PHP's
+ * string casting operations.
+ *
+ * @see http://php.net/manual/en/language.oop5.magic.php#object.tostring
+ * @return string
+ */
+ public function __toString(): string
+ {
+ try {
+ $this->seek(0);
+ } catch (RuntimeException $e) {
+ }
+ return (string) stream_get_contents($this->stream);
+ }
+
+ /**
+ * Closes the stream and any underlying resources.
+ *
+ * @return void
+ */
+ public function close(): void
+ {
+ if (is_resource($this->stream)) {
+ fclose($this->stream);
+ }
+ $this->detach();
+ }
+
+ /**
+ * Separates any underlying resources from the stream.
+ *
+ * After the stream has been detached, the stream is in an unusable state.
+ *
+ * @return resource|null Underlying PHP stream, if any
+ */
+ public function detach()
+ {
+ $result = $this->stream;
+ $this->stream = null;
+ return $result;
+ }
+
+ /**
+ * Seek to a position in the stream.
+ *
+ * @link http://www.php.net/manual/en/function.fseek.php
+ * @param int $offset Stream offset
+ * @param int $whence Specifies how the cursor position will be calculated
+ * based on the seek offset. Valid values are identical to the built-in
+ * PHP $whence values for `fseek()`. SEEK_SET: Set position equal to
+ * offset bytes SEEK_CUR: Set position to current location plus offset
+ * SEEK_END: Set position to end-of-stream plus offset.
+ * @throws RuntimeException on failure.
+ */
+ public function seek($offset, $whence = SEEK_SET): void
+ {
+ if (!$this->isSeekable()) {
+ throw new RuntimeException();
+ }
+ if (fseek($this->stream, $offset, $whence) !== 0) {
+ throw new RuntimeException();
+ }
+ }
+
+ /**
+ * Returns whether or not the stream is seekable.
+ *
+ * @return bool
+ */
+ public function isSeekable(): bool
+ {
+ return (bool)$this->getMetadata('seekable');
+ }
+
+ /**
+ * Get stream metadata as an associative array or retrieve a specific key.
+ *
+ * The keys returned are identical to the keys returned from PHP's
+ * stream_get_meta_data() function.
+ *
+ * @link http://php.net/manual/en/function.stream-get-meta-data.php
+ * @param string $key Specific metadata to retrieve.
+ * @return array|mixed|null Returns an associative array if no key is
+ * provided. Returns a specific key value if a key is provided and the
+ * value is found, or null if the key is not found.
+ */
+ public function getMetadata($key = null)
+ {
+ $metadata = stream_get_meta_data($this->stream);
+ return $key !== null ? @$metadata[$key] : $metadata;
+ }
+
+ /**
+ * Get the size of the stream if known.
+ *
+ * @return int|null Returns the size in bytes if known, or null if unknown.
+ */
+ public function getSize(): ?int
+ {
+ $stats = fstat($this->stream);
+ return $stats['size'];
+ }
+
+ /**
+ * Returns the current position of the file read/write pointer
+ *
+ * @return int Position of the file pointer
+ * @throws RuntimeException on error.
+ */
+ public function tell(): int
+ {
+ $position = ftell($this->stream);
+ if ($position === false) {
+ throw new RuntimeException();
+ }
+ return $position;
+ }
+
+ /**
+ * Returns true if the stream is at the end of the stream.
+ *
+ * @return bool
+ */
+ public function eof(): bool
+ {
+ return feof($this->stream);
+ }
+
+ /**
+ * Seek to the beginning of the stream.
+ *
+ * If the stream is not seekable, this method will raise an exception;
+ * otherwise, it will perform a seek(0).
+ *
+ * @see seek()
+ * @link http://www.php.net/manual/en/function.fseek.php
+ * @throws RuntimeException on failure.
+ */
+ public function rewind(): void
+ {
+ $this->seek(0);
+ }
+
+ /**
+ * Write data to the stream.
+ *
+ * @param string $string The string that is to be written.
+ * @return int Returns the number of bytes written to the stream.
+ * @throws RuntimeException on failure.
+ */
+ public function write($string): int
+ {
+ if (!$this->isWritable()) {
+ throw new RuntimeException();
+ }
+ if (fwrite($this->stream, $string) === false) {
+ throw new RuntimeException();
+ }
+ return mb_strlen($string);
+ }
+
+ /**
+ * Returns whether or not the stream is writable.
+ *
+ * @return bool
+ */
+ public function isWritable(): bool
+ {
+ $mode = $this->getMetadata('mode');
+ if (!is_string($mode)) {
+ throw new RuntimeException('Could not get stream mode from metadata!');
+ }
+ return preg_match('/[waxc+]/', $mode) === 1;
+ }
+
+ /**
+ * Read data from the stream.
+ *
+ * @param int $length Read up to $length bytes from the object and return
+ * them. Fewer than $length bytes may be returned if underlying stream
+ * call returns fewer bytes.
+ * @return string Returns the data read from the stream, or an empty string
+ * if no bytes are available.
+ * @throws RuntimeException if an error occurs.
+ */
+ public function read($length): string
+ {
+ if (!$this->isReadable()) {
+ throw new RuntimeException();
+ }
+ $result = fread($this->stream, $length);
+ if ($result === false) {
+ throw new RuntimeException();
+ }
+ return $result;
+ }
+
+ /**
+ * Returns whether or not the stream is readable.
+ *
+ * @return bool
+ */
+ public function isReadable(): bool
+ {
+ $mode = $this->getMetadata('mode');
+ if (!is_string($mode)) {
+ throw new RuntimeException('Could not get stream mode from metadata!');
+ }
+ return preg_match('/[r+]/', $mode) === 1;
+ }
+
+ /**
+ * Returns the remaining contents in a string
+ *
+ * @return string
+ * @throws RuntimeException if unable to read or an error occurs while
+ * reading.
+ */
+ public function getContents(): string
+ {
+ if (!$this->isReadable()) {
+ throw new RuntimeException();
+ }
+ $result = stream_get_contents($this->stream);
+ if ($result === false) {
+ throw new RuntimeException();
+ }
+ return $result;
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/src/ZipStream.php b/vendor/maennchen/zipstream-php/src/ZipStream.php
new file mode 100644
index 0000000..c01da72
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/ZipStream.php
@@ -0,0 +1,608 @@
+addFile('some_file.gif', $data);
+ *
+ * * add second file
+ * $data = file_get_contents('some_file.gif');
+ * $zip->addFile('another_file.png', $data);
+ *
+ * 3. Finish the zip stream:
+ *
+ * $zip->finish();
+ *
+ * You can also add an archive comment, add comments to individual files,
+ * and adjust the timestamp of files. See the API documentation for each
+ * method below for additional information.
+ *
+ * Example:
+ *
+ * // create a new zip stream object
+ * $zip = new ZipStream('some_files.zip');
+ *
+ * // list of local files
+ * $files = array('foo.txt', 'bar.jpg');
+ *
+ * // read and add each file to the archive
+ * foreach ($files as $path)
+ * $zip->addFile($path, file_get_contents($path));
+ *
+ * // write archive footer to stream
+ * $zip->finish();
+ */
+class ZipStream
+{
+ /**
+ * This number corresponds to the ZIP version/OS used (2 bytes)
+ * From: https://www.iana.org/assignments/media-types/application/zip
+ * The upper byte (leftmost one) indicates the host system (OS) for the
+ * file. Software can use this information to determine
+ * the line record format for text files etc. The current
+ * mappings are:
+ *
+ * 0 - MS-DOS and OS/2 (F.A.T. file systems)
+ * 1 - Amiga 2 - VAX/VMS
+ * 3 - *nix 4 - VM/CMS
+ * 5 - Atari ST 6 - OS/2 H.P.F.S.
+ * 7 - Macintosh 8 - Z-System
+ * 9 - CP/M 10 thru 255 - unused
+ *
+ * The lower byte (rightmost one) indicates the version number of the
+ * software used to encode the file. The value/10
+ * indicates the major version number, and the value
+ * mod 10 is the minor version number.
+ * Here we are using 6 for the OS, indicating OS/2 H.P.F.S.
+ * to prevent file permissions issues upon extract (see #84)
+ * 0x603 is 00000110 00000011 in binary, so 6 and 3
+ */
+ public const ZIP_VERSION_MADE_BY = 0x603;
+
+ /**
+ * The following signatures end with 0x4b50, which in ASCII is PK,
+ * the initials of the inventor Phil Katz.
+ * See https://en.wikipedia.org/wiki/Zip_(file_format)#File_headers
+ */
+ public const FILE_HEADER_SIGNATURE = 0x04034b50;
+
+ public const CDR_FILE_SIGNATURE = 0x02014b50;
+
+ public const CDR_EOF_SIGNATURE = 0x06054b50;
+
+ public const DATA_DESCRIPTOR_SIGNATURE = 0x08074b50;
+
+ public const ZIP64_CDR_EOF_SIGNATURE = 0x06064b50;
+
+ public const ZIP64_CDR_LOCATOR_SIGNATURE = 0x07064b50;
+
+ /**
+ * Global Options
+ *
+ * @var ArchiveOptions
+ */
+ public $opt;
+
+ /**
+ * @var array
+ */
+ public $files = [];
+
+ /**
+ * @var Bigint
+ */
+ public $cdr_ofs;
+
+ /**
+ * @var Bigint
+ */
+ public $ofs;
+
+ /**
+ * @var bool
+ */
+ protected $need_headers;
+
+ /**
+ * @var null|String
+ */
+ protected $output_name;
+
+ /**
+ * Create a new ZipStream object.
+ *
+ * Parameters:
+ *
+ * @param String $name - Name of output file (optional).
+ * @param ArchiveOptions $opt - Archive Options
+ *
+ * Large File Support:
+ *
+ * By default, the method addFileFromPath() will send send files
+ * larger than 20 megabytes along raw rather than attempting to
+ * compress them. You can change both the maximum size and the
+ * compression behavior using the largeFile* options above, with the
+ * following caveats:
+ *
+ * * For "small" files (e.g. files smaller than largeFileSize), the
+ * memory use can be up to twice that of the actual file. In other
+ * words, adding a 10 megabyte file to the archive could potentially
+ * occupy 20 megabytes of memory.
+ *
+ * * Enabling compression on large files (e.g. files larger than
+ * large_file_size) is extremely slow, because ZipStream has to pass
+ * over the large file once to calculate header information, and then
+ * again to compress and send the actual data.
+ *
+ * Examples:
+ *
+ * // create a new zip file named 'foo.zip'
+ * $zip = new ZipStream('foo.zip');
+ *
+ * // create a new zip file named 'bar.zip' with a comment
+ * $opt->setComment = 'this is a comment for the zip file.';
+ * $zip = new ZipStream('bar.zip', $opt);
+ *
+ * Notes:
+ *
+ * In order to let this library send HTTP headers, a filename must be given
+ * _and_ the option `sendHttpHeaders` must be `true`. This behavior is to
+ * allow software to send its own headers (including the filename), and
+ * still use this library.
+ */
+ public function __construct(?string $name = null, ?ArchiveOptions $opt = null)
+ {
+ $this->opt = $opt ?: new ArchiveOptions();
+
+ $this->output_name = $name;
+ $this->need_headers = $name && $this->opt->isSendHttpHeaders();
+
+ $this->cdr_ofs = new Bigint();
+ $this->ofs = new Bigint();
+ }
+
+ /**
+ * addFile
+ *
+ * Add a file to the archive.
+ *
+ * @param String $name - path of file in archive (including directory).
+ * @param String $data - contents of file
+ * @param FileOptions $options
+ *
+ * File Options:
+ * time - Last-modified timestamp (seconds since the epoch) of
+ * this file. Defaults to the current time.
+ * comment - Comment related to this file.
+ * method - Storage method for file ("store" or "deflate")
+ *
+ * Examples:
+ *
+ * // add a file named 'foo.txt'
+ * $data = file_get_contents('foo.txt');
+ * $zip->addFile('foo.txt', $data);
+ *
+ * // add a file named 'bar.jpg' with a comment and a last-modified
+ * // time of two hours ago
+ * $data = file_get_contents('bar.jpg');
+ * $opt->setTime = time() - 2 * 3600;
+ * $opt->setComment = 'this is a comment about bar.jpg';
+ * $zip->addFile('bar.jpg', $data, $opt);
+ */
+ public function addFile(string $name, string $data, ?FileOptions $options = null): void
+ {
+ $options = $options ?: new FileOptions();
+ $options->defaultTo($this->opt);
+
+ $file = new File($this, $name, $options);
+ $file->processData($data);
+ }
+
+ /**
+ * addFileFromPath
+ *
+ * Add a file at path to the archive.
+ *
+ * Note that large files may be compressed differently than smaller
+ * files; see the "Large File Support" section above for more
+ * information.
+ *
+ * @param String $name - name of file in archive (including directory path).
+ * @param String $path - path to file on disk (note: paths should be encoded using
+ * UNIX-style forward slashes -- e.g '/path/to/some/file').
+ * @param FileOptions $options
+ *
+ * File Options:
+ * time - Last-modified timestamp (seconds since the epoch) of
+ * this file. Defaults to the current time.
+ * comment - Comment related to this file.
+ * method - Storage method for file ("store" or "deflate")
+ *
+ * Examples:
+ *
+ * // add a file named 'foo.txt' from the local file '/tmp/foo.txt'
+ * $zip->addFileFromPath('foo.txt', '/tmp/foo.txt');
+ *
+ * // add a file named 'bigfile.rar' from the local file
+ * // '/usr/share/bigfile.rar' with a comment and a last-modified
+ * // time of two hours ago
+ * $path = '/usr/share/bigfile.rar';
+ * $opt->setTime = time() - 2 * 3600;
+ * $opt->setComment = 'this is a comment about bar.jpg';
+ * $zip->addFileFromPath('bigfile.rar', $path, $opt);
+ *
+ * @return void
+ * @throws \ZipStream\Exception\FileNotFoundException
+ * @throws \ZipStream\Exception\FileNotReadableException
+ */
+ public function addFileFromPath(string $name, string $path, ?FileOptions $options = null): void
+ {
+ $options = $options ?: new FileOptions();
+ $options->defaultTo($this->opt);
+
+ $file = new File($this, $name, $options);
+ $file->processPath($path);
+ }
+
+ /**
+ * addFileFromStream
+ *
+ * Add an open stream to the archive.
+ *
+ * @param String $name - path of file in archive (including directory).
+ * @param resource $stream - contents of file as a stream resource
+ * @param FileOptions $options
+ *
+ * File Options:
+ * time - Last-modified timestamp (seconds since the epoch) of
+ * this file. Defaults to the current time.
+ * comment - Comment related to this file.
+ *
+ * Examples:
+ *
+ * // create a temporary file stream and write text to it
+ * $fp = tmpfile();
+ * fwrite($fp, 'The quick brown fox jumped over the lazy dog.');
+ *
+ * // add a file named 'streamfile.txt' from the content of the stream
+ * $x->addFileFromStream('streamfile.txt', $fp);
+ *
+ * @return void
+ */
+ public function addFileFromStream(string $name, $stream, ?FileOptions $options = null): void
+ {
+ $options = $options ?: new FileOptions();
+ $options->defaultTo($this->opt);
+
+ $file = new File($this, $name, $options);
+ $file->processStream(new Stream($stream));
+ }
+
+ /**
+ * addFileFromPsr7Stream
+ *
+ * Add an open stream to the archive.
+ *
+ * @param String $name - path of file in archive (including directory).
+ * @param StreamInterface $stream - contents of file as a stream resource
+ * @param FileOptions $options
+ *
+ * File Options:
+ * time - Last-modified timestamp (seconds since the epoch) of
+ * this file. Defaults to the current time.
+ * comment - Comment related to this file.
+ *
+ * Examples:
+ *
+ * $stream = $response->getBody();
+ * // add a file named 'streamfile.txt' from the content of the stream
+ * $x->addFileFromPsr7Stream('streamfile.txt', $stream);
+ *
+ * @return void
+ */
+ public function addFileFromPsr7Stream(
+ string $name,
+ StreamInterface $stream,
+ ?FileOptions $options = null
+ ): void {
+ $options = $options ?: new FileOptions();
+ $options->defaultTo($this->opt);
+
+ $file = new File($this, $name, $options);
+ $file->processStream($stream);
+ }
+
+ /**
+ * finish
+ *
+ * Write zip footer to stream.
+ *
+ * Example:
+ *
+ * // add a list of files to the archive
+ * $files = array('foo.txt', 'bar.jpg');
+ * foreach ($files as $path)
+ * $zip->addFile($path, file_get_contents($path));
+ *
+ * // write footer to stream
+ * $zip->finish();
+ * @return void
+ *
+ * @throws OverflowException
+ */
+ public function finish(): void
+ {
+ // add trailing cdr file records
+ foreach ($this->files as $cdrFile) {
+ $this->send($cdrFile);
+ $this->cdr_ofs = $this->cdr_ofs->add(Bigint::init(strlen($cdrFile)));
+ }
+
+ // Add 64bit headers (if applicable)
+ if (count($this->files) >= 0xFFFF ||
+ $this->cdr_ofs->isOver32() ||
+ $this->ofs->isOver32()) {
+ if (!$this->opt->isEnableZip64()) {
+ throw new OverflowException();
+ }
+
+ $this->addCdr64Eof();
+ $this->addCdr64Locator();
+ }
+
+ // add trailing cdr eof record
+ $this->addCdrEof();
+
+ // The End
+ $this->clear();
+ }
+
+ /**
+ * Create a format string and argument list for pack(), then call
+ * pack() and return the result.
+ *
+ * @param array $fields
+ * @return string
+ */
+ public static function packFields(array $fields): string
+ {
+ $fmt = '';
+ $args = [];
+
+ // populate format string and argument list
+ foreach ($fields as [$format, $value]) {
+ if ($format === 'P') {
+ $fmt .= 'VV';
+ if ($value instanceof Bigint) {
+ $args[] = $value->getLow32();
+ $args[] = $value->getHigh32();
+ } else {
+ $args[] = $value;
+ $args[] = 0;
+ }
+ } else {
+ if ($value instanceof Bigint) {
+ $value = $value->getLow32();
+ }
+ $fmt .= $format;
+ $args[] = $value;
+ }
+ }
+
+ // prepend format string to argument list
+ array_unshift($args, $fmt);
+
+ // build output string from header and compressed data
+ return pack(...$args);
+ }
+
+ /**
+ * Send string, sending HTTP headers if necessary.
+ * Flush output after write if configure option is set.
+ *
+ * @param String $str
+ * @return void
+ */
+ public function send(string $str): void
+ {
+ if ($this->need_headers) {
+ $this->sendHttpHeaders();
+ }
+ $this->need_headers = false;
+
+ $outputStream = $this->opt->getOutputStream();
+
+ if ($outputStream instanceof StreamInterface) {
+ $outputStream->write($str);
+ } else {
+ fwrite($outputStream, $str);
+ }
+
+ if ($this->opt->isFlushOutput()) {
+ // flush output buffer if it is on and flushable
+ $status = ob_get_status();
+ if (isset($status['flags']) && ($status['flags'] & PHP_OUTPUT_HANDLER_FLUSHABLE)) {
+ ob_flush();
+ }
+
+ // Flush system buffers after flushing userspace output buffer
+ flush();
+ }
+ }
+
+ /**
+ * Is this file larger than large_file_size?
+ *
+ * @param string $path
+ * @return bool
+ */
+ public function isLargeFile(string $path): bool
+ {
+ if (!$this->opt->isStatFiles()) {
+ return false;
+ }
+ $stat = stat($path);
+ return $stat['size'] > $this->opt->getLargeFileSize();
+ }
+
+ /**
+ * Save file attributes for trailing CDR record.
+ *
+ * @param File $file
+ * @return void
+ */
+ public function addToCdr(File $file): void
+ {
+ $file->ofs = $this->ofs;
+ $this->ofs = $this->ofs->add($file->getTotalLength());
+ $this->files[] = $file->getCdrFile();
+ }
+
+ /**
+ * Send ZIP64 CDR EOF (Central Directory Record End-of-File) record.
+ *
+ * @return void
+ */
+ protected function addCdr64Eof(): void
+ {
+ $num_files = count($this->files);
+ $cdr_length = $this->cdr_ofs;
+ $cdr_offset = $this->ofs;
+
+ $fields = [
+ ['V', static::ZIP64_CDR_EOF_SIGNATURE], // ZIP64 end of central file header signature
+ ['P', 44], // Length of data below this header (length of block - 12) = 44
+ ['v', static::ZIP_VERSION_MADE_BY], // Made by version
+ ['v', Version::ZIP64], // Extract by version
+ ['V', 0x00], // disk number
+ ['V', 0x00], // no of disks
+ ['P', $num_files], // no of entries on disk
+ ['P', $num_files], // no of entries in cdr
+ ['P', $cdr_length], // CDR size
+ ['P', $cdr_offset], // CDR offset
+ ];
+
+ $ret = static::packFields($fields);
+ $this->send($ret);
+ }
+
+ /**
+ * Send HTTP headers for this stream.
+ *
+ * @return void
+ */
+ protected function sendHttpHeaders(): void
+ {
+ // grab content disposition
+ $disposition = $this->opt->getContentDisposition();
+
+ if ($this->output_name) {
+ // Various different browsers dislike various characters here. Strip them all for safety.
+ $safe_output = trim(str_replace(['"', "'", '\\', ';', "\n", "\r"], '', $this->output_name));
+
+ // Check if we need to UTF-8 encode the filename
+ $urlencoded = rawurlencode($safe_output);
+ $disposition .= "; filename*=UTF-8''{$urlencoded}";
+ }
+
+ $headers = [
+ 'Content-Type' => $this->opt->getContentType(),
+ 'Content-Disposition' => $disposition,
+ 'Pragma' => 'public',
+ 'Cache-Control' => 'public, must-revalidate',
+ 'Content-Transfer-Encoding' => 'binary',
+ ];
+
+ $call = $this->opt->getHttpHeaderCallback();
+ foreach ($headers as $key => $val) {
+ $call("$key: $val");
+ }
+ }
+
+ /**
+ * Send ZIP64 CDR Locator (Central Directory Record Locator) record.
+ *
+ * @return void
+ */
+ protected function addCdr64Locator(): void
+ {
+ $cdr_offset = $this->ofs->add($this->cdr_ofs);
+
+ $fields = [
+ ['V', static::ZIP64_CDR_LOCATOR_SIGNATURE], // ZIP64 end of central file header signature
+ ['V', 0x00], // Disc number containing CDR64EOF
+ ['P', $cdr_offset], // CDR offset
+ ['V', 1], // Total number of disks
+ ];
+
+ $ret = static::packFields($fields);
+ $this->send($ret);
+ }
+
+ /**
+ * Send CDR EOF (Central Directory Record End-of-File) record.
+ *
+ * @return void
+ */
+ protected function addCdrEof(): void
+ {
+ $num_files = count($this->files);
+ $cdr_length = $this->cdr_ofs;
+ $cdr_offset = $this->ofs;
+
+ // grab comment (if specified)
+ $comment = $this->opt->getComment();
+
+ $fields = [
+ ['V', static::CDR_EOF_SIGNATURE], // end of central file header signature
+ ['v', 0x00], // disk number
+ ['v', 0x00], // no of disks
+ ['v', min($num_files, 0xFFFF)], // no of entries on disk
+ ['v', min($num_files, 0xFFFF)], // no of entries in cdr
+ ['V', $cdr_length->getLowFF()], // CDR size
+ ['V', $cdr_offset->getLowFF()], // CDR offset
+ ['v', strlen($comment)], // Zip Comment size
+ ];
+
+ $ret = static::packFields($fields) . $comment;
+ $this->send($ret);
+ }
+
+ /**
+ * Clear all internal variables. Note that the stream object is not
+ * usable after this.
+ *
+ * @return void
+ */
+ protected function clear(): void
+ {
+ $this->files = [];
+ $this->ofs = new Bigint();
+ $this->cdr_ofs = new Bigint();
+ $this->opt = new ArchiveOptions();
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/test/BigintTest.php b/vendor/maennchen/zipstream-php/test/BigintTest.php
new file mode 100644
index 0000000..4d26fcd
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/test/BigintTest.php
@@ -0,0 +1,66 @@
+assertSame('0x0000000012345678', $bigint->getHex64());
+ $this->assertSame(0x12345678, $bigint->getLow32());
+ $this->assertSame(0, $bigint->getHigh32());
+ }
+
+ public function testConstructLarge(): void
+ {
+ $bigint = new Bigint(0x87654321);
+ $this->assertSame('0x0000000087654321', $bigint->getHex64());
+ $this->assertSame('87654321', bin2hex(pack('N', $bigint->getLow32())));
+ $this->assertSame(0, $bigint->getHigh32());
+ }
+
+ public function testAddSmallValue(): void
+ {
+ $bigint = new Bigint(1);
+ $bigint = $bigint->add(Bigint::init(2));
+ $this->assertSame(3, $bigint->getLow32());
+ $this->assertFalse($bigint->isOver32());
+ $this->assertTrue($bigint->isOver32(true));
+ $this->assertSame($bigint->getLowFF(), (float)$bigint->getLow32());
+ $this->assertSame($bigint->getLowFF(true), (float)0xFFFFFFFF);
+ }
+
+ public function testAddWithOverflowAtLowestByte(): void
+ {
+ $bigint = new Bigint(0xFF);
+ $bigint = $bigint->add(Bigint::init(0x01));
+ $this->assertSame(0x100, $bigint->getLow32());
+ }
+
+ public function testAddWithOverflowAtInteger32(): void
+ {
+ $bigint = new Bigint(0xFFFFFFFE);
+ $this->assertFalse($bigint->isOver32());
+ $bigint = $bigint->add(Bigint::init(0x01));
+ $this->assertTrue($bigint->isOver32());
+ $bigint = $bigint->add(Bigint::init(0x01));
+ $this->assertSame('0x0000000100000000', $bigint->getHex64());
+ $this->assertTrue($bigint->isOver32());
+ $this->assertSame((float)0xFFFFFFFF, $bigint->getLowFF());
+ }
+
+ public function testAddWithOverflowAtInteger64(): void
+ {
+ $bigint = Bigint::fromLowHigh(0xFFFFFFFF, 0xFFFFFFFF);
+ $this->assertSame('0xFFFFFFFFFFFFFFFF', $bigint->getHex64());
+ $this->expectException(OverflowException::class);
+ $bigint->add(Bigint::init(1));
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/test/ZipStreamTest.php b/vendor/maennchen/zipstream-php/test/ZipStreamTest.php
new file mode 100644
index 0000000..5d55bf5
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/test/ZipStreamTest.php
@@ -0,0 +1,619 @@
+expectException(\ZipStream\Exception\FileNotFoundException::class);
+ // Get ZipStream Object
+ $zip = new ZipStream();
+
+ // Trigger error by adding a file which doesn't exist
+ $zip->addFileFromPath('foobar.php', '/foo/bar/foobar.php');
+ }
+
+ public function testFileNotReadableException(): void
+ {
+ // create new virtual filesystem
+ $root = vfsStream::setup('vfs');
+ // create a virtual file with no permissions
+ $file = vfsStream::newFile('foo.txt', 0)->at($root)->setContent('bar');
+ $zip = new ZipStream();
+ $this->expectException(\ZipStream\Exception\FileNotReadableException::class);
+ $zip->addFileFromPath('foo.txt', $file->url());
+ }
+
+ public function testDostime(): void
+ {
+ // Allows testing of protected method
+ $class = new ReflectionClass(File::class);
+ $method = $class->getMethod('dostime');
+ $method->setAccessible(true);
+
+ $this->assertSame($method->invoke(null, 1416246368), 1165069764);
+
+ // January 1 1980 - DOS Epoch.
+ $this->assertSame($method->invoke(null, 315532800), 2162688);
+
+ // January 1 1970 -> January 1 1980 due to minimum DOS Epoch. @todo Throw Exception?
+ $this->assertSame($method->invoke(null, 0), 2162688);
+ }
+
+ public function testAddFile(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $zip->addFile('sample.txt', 'Sample String Data');
+ $zip->addFile('test/sample.txt', 'More Simple Sample Data');
+
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.txt', 'test' . DIRECTORY_SEPARATOR . 'sample.txt'], $files);
+
+ $this->assertStringEqualsFile($tmpDir . '/sample.txt', 'Sample String Data');
+ $this->assertStringEqualsFile($tmpDir . '/test/sample.txt', 'More Simple Sample Data');
+ }
+
+ public function testAddFileUtf8NameComment(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $name = 'árvÃztűrÅ‘ tükörfúrógép.txt';
+ $content = 'Sample String Data';
+ $comment =
+ 'Filename has every special characters ' .
+ 'from Hungarian language in lowercase. ' .
+ 'In uppercase: ÃÃŰÅÜÖÚÓÉ';
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setComment($comment);
+
+ $zip->addFile($name, $content, $fileOptions);
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame([$name], $files);
+ $this->assertStringEqualsFile($tmpDir . '/' . $name, $content);
+
+ $zipArch = new ZipArchive();
+ $zipArch->open($tmp);
+ $this->assertSame($comment, $zipArch->getCommentName($name));
+ }
+
+ public function testAddFileUtf8NameNonUtfComment(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $name = 'á.txt';
+ $content = 'any';
+ $comment = mb_convert_encoding('á', 'ISO-8859-2', 'UTF-8');
+
+ // @see https://libzip.org/documentation/zip_file_get_comment.html
+ //
+ // mb_convert_encoding hasn't CP437.
+ // nearly CP850 (DOS-Latin-1)
+ $guessComment = mb_convert_encoding($comment, 'UTF-8', 'CP850');
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setComment($comment);
+
+ $zip->addFile($name, $content, $fileOptions);
+ $zip->finish();
+ fclose($stream);
+
+ $zipArch = new ZipArchive();
+ $zipArch->open($tmp);
+ $this->assertSame($guessComment, $zipArch->getCommentName($name));
+ $this->assertSame($comment, $zipArch->getCommentName($name, ZipArchive::FL_ENC_RAW));
+ }
+
+ public function testAddFileNonUtf8NameUtfComment(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $name = mb_convert_encoding('á.txt', 'ISO-8859-2', 'UTF-8');
+ $content = 'any';
+ $comment = 'á';
+
+ // @see https://libzip.org/documentation/zip_get_name.html
+ //
+ // mb_convert_encoding hasn't CP437.
+ // nearly CP850 (DOS-Latin-1)
+ $guessName = mb_convert_encoding($name, 'UTF-8', 'CP850');
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setComment($comment);
+
+ $zip->addFile($name, $content, $fileOptions);
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+
+ $this->assertNotSame([$name], $files);
+ $this->assertSame([$guessName], $files);
+ $this->assertStringEqualsFile($tmpDir . '/' . $guessName, $content);
+
+ $zipArch = new ZipArchive();
+ $zipArch->open($tmp);
+ $this->assertSame($guessName, $zipArch->getNameIndex(0));
+ $this->assertSame($name, $zipArch->getNameIndex(0, ZipArchive::FL_ENC_RAW));
+ $this->assertSame($comment, $zipArch->getCommentName($guessName));
+ }
+
+ public function testAddFileWithStorageMethod(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+
+ $zip->addFile('sample.txt', 'Sample String Data', $fileOptions);
+ $zip->addFile('test/sample.txt', 'More Simple Sample Data');
+ $zip->finish();
+ fclose($stream);
+
+ $zipArch = new ZipArchive();
+ $zipArch->open($tmp);
+
+ $sample1 = $zipArch->statName('sample.txt');
+ $sample12 = $zipArch->statName('test/sample.txt');
+ $this->assertSame($sample1['comp_method'], Method::STORE);
+ $this->assertSame($sample12['comp_method'], Method::DEFLATE);
+
+ $zipArch->close();
+ }
+
+ public function testAddFileFromPath(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ [$tmpExample, $streamExample] = $this->getTmpFileStream();
+ fwrite($streamExample, 'Sample String Data');
+ fclose($streamExample);
+ $zip->addFileFromPath('sample.txt', $tmpExample);
+
+ [$tmpExample, $streamExample] = $this->getTmpFileStream();
+ fwrite($streamExample, 'More Simple Sample Data');
+ fclose($streamExample);
+ $zip->addFileFromPath('test/sample.txt', $tmpExample);
+
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.txt', 'test' . DIRECTORY_SEPARATOR . 'sample.txt'], $files);
+
+ $this->assertStringEqualsFile($tmpDir . '/sample.txt', 'Sample String Data');
+ $this->assertStringEqualsFile($tmpDir . '/test/sample.txt', 'More Simple Sample Data');
+ }
+
+ public function testAddFileFromPathWithStorageMethod(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+
+ [$tmpExample, $streamExample] = $this->getTmpFileStream();
+ fwrite($streamExample, 'Sample String Data');
+ fclose($streamExample);
+ $zip->addFileFromPath('sample.txt', $tmpExample, $fileOptions);
+
+ [$tmpExample, $streamExample] = $this->getTmpFileStream();
+ fwrite($streamExample, 'More Simple Sample Data');
+ fclose($streamExample);
+ $zip->addFileFromPath('test/sample.txt', $tmpExample);
+
+ $zip->finish();
+ fclose($stream);
+
+ $zipArch = new ZipArchive();
+ $zipArch->open($tmp);
+
+ $sample1 = $zipArch->statName('sample.txt');
+ $this->assertSame(Method::STORE, $sample1['comp_method']);
+
+ $sample2 = $zipArch->statName('test/sample.txt');
+ $this->assertSame(Method::DEFLATE, $sample2['comp_method']);
+
+ $zipArch->close();
+ }
+
+ public function testAddLargeFileFromPath(): void
+ {
+ $methods = [Method::DEFLATE(), Method::STORE()];
+ $falseTrue = [false, true];
+ foreach ($methods as $method) {
+ foreach ($falseTrue as $zeroHeader) {
+ foreach ($falseTrue as $zip64) {
+ if ($zeroHeader && $method->equals(Method::DEFLATE())) {
+ continue;
+ }
+ $this->addLargeFileFileFromPath($method, $zeroHeader, $zip64);
+ }
+ }
+ }
+ }
+
+ public function testAddFileFromStream(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ // In this test we can't use temporary stream to feed data
+ // because zlib.deflate filter gives empty string before PHP 7
+ // it works fine with file stream
+ $streamExample = fopen(__FILE__, 'rb');
+ $zip->addFileFromStream('sample.txt', $streamExample);
+ // fclose($streamExample);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+
+ $streamExample2 = fopen('php://temp', 'wb+');
+ fwrite($streamExample2, 'More Simple Sample Data');
+ rewind($streamExample2); // move the pointer back to the beginning of file.
+ $zip->addFileFromStream('test/sample.txt', $streamExample2, $fileOptions);
+ // fclose($streamExample2);
+
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.txt', 'test' . DIRECTORY_SEPARATOR . 'sample.txt'], $files);
+
+ $this->assertStringEqualsFile(__FILE__, file_get_contents($tmpDir . '/sample.txt'));
+ $this->assertStringEqualsFile($tmpDir . '/test/sample.txt', 'More Simple Sample Data');
+ }
+
+ public function testAddFileFromStreamWithStorageMethod(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+
+ $streamExample = fopen('php://temp', 'wb+');
+ fwrite($streamExample, 'Sample String Data');
+ rewind($streamExample); // move the pointer back to the beginning of file.
+ $zip->addFileFromStream('sample.txt', $streamExample, $fileOptions);
+ // fclose($streamExample);
+
+ $streamExample2 = fopen('php://temp', 'bw+');
+ fwrite($streamExample2, 'More Simple Sample Data');
+ rewind($streamExample2); // move the pointer back to the beginning of file.
+ $zip->addFileFromStream('test/sample.txt', $streamExample2);
+ // fclose($streamExample2);
+
+ $zip->finish();
+ fclose($stream);
+
+ $zipArch = new ZipArchive();
+ $zipArch->open($tmp);
+
+ $sample1 = $zipArch->statName('sample.txt');
+ $this->assertSame(Method::STORE, $sample1['comp_method']);
+
+ $sample2 = $zipArch->statName('test/sample.txt');
+ $this->assertSame(Method::DEFLATE, $sample2['comp_method']);
+
+ $zipArch->close();
+ }
+
+ public function testAddFileFromPsr7Stream(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $body = 'Sample String Data';
+ $response = new Response(200, [], $body);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+
+ $zip->addFileFromPsr7Stream('sample.json', $response->getBody(), $fileOptions);
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.json'], $files);
+ $this->assertStringEqualsFile($tmpDir . '/sample.json', $body);
+ }
+
+ public function testAddFileFromPsr7StreamWithOutputToPsr7Stream(): void
+ {
+ [$tmp, $resource] = $this->getTmpFileStream();
+ $psr7OutputStream = new Stream($resource);
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($psr7OutputStream);
+
+ $zip = new ZipStream(null, $options);
+
+ $body = 'Sample String Data';
+ $response = new Response(200, [], $body);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+
+ $zip->addFileFromPsr7Stream('sample.json', $response->getBody(), $fileOptions);
+ $zip->finish();
+ $psr7OutputStream->close();
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+ $files = $this->getRecursiveFileList($tmpDir);
+
+ $this->assertSame(['sample.json'], $files);
+ $this->assertStringEqualsFile($tmpDir . '/sample.json', $body);
+ }
+
+ public function testAddFileFromPsr7StreamWithFileSizeSet(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+
+ $zip = new ZipStream(null, $options);
+
+ $body = 'Sample String Data';
+ $fileSize = strlen($body);
+ // Add fake padding
+ $fakePadding = "\0\0\0\0\0\0";
+ $response = new Response(200, [], $body . $fakePadding);
+
+ $fileOptions = new FileOptions();
+ $fileOptions->setMethod(Method::STORE());
+ $fileOptions->setSize($fileSize);
+ $zip->addFileFromPsr7Stream('sample.json', $response->getBody(), $fileOptions);
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.json'], $files);
+ $this->assertStringEqualsFile($tmpDir . '/sample.json', $body);
+ }
+
+ public function testCreateArchiveWithFlushOptionSet(): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+ $options->setFlushOutput(true);
+
+ $zip = new ZipStream(null, $options);
+
+ $zip->addFile('sample.txt', 'Sample String Data');
+ $zip->addFile('test/sample.txt', 'More Simple Sample Data');
+
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.txt', 'test' . DIRECTORY_SEPARATOR . 'sample.txt'], $files);
+
+ $this->assertStringEqualsFile($tmpDir . '/sample.txt', 'Sample String Data');
+ $this->assertStringEqualsFile($tmpDir . '/test/sample.txt', 'More Simple Sample Data');
+ }
+
+ public function testCreateArchiveWithOutputBufferingOffAndFlushOptionSet(): void
+ {
+ // WORKAROUND (1/2): remove phpunit's output buffer in order to run test without any buffering
+ ob_end_flush();
+ $this->assertSame(0, ob_get_level());
+
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+ $options->setFlushOutput(true);
+
+ $zip = new ZipStream(null, $options);
+
+ $zip->addFile('sample.txt', 'Sample String Data');
+
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+ $this->assertStringEqualsFile($tmpDir . '/sample.txt', 'Sample String Data');
+
+ // WORKAROUND (2/2): add back output buffering so that PHPUnit doesn't complain that it is missing
+ ob_start();
+ }
+
+ /**
+ * @return array
+ */
+ protected function getTmpFileStream(): array
+ {
+ $tmp = tempnam(sys_get_temp_dir(), 'zipstreamtest');
+ $stream = fopen($tmp, 'wb+');
+
+ return [$tmp, $stream];
+ }
+
+ /**
+ * @param string $tmp
+ * @return string
+ */
+ protected function validateAndExtractZip($tmp): string
+ {
+ $tmpDir = $this->getTmpDir();
+
+ $zipArch = new ZipArchive();
+ $res = $zipArch->open($tmp);
+
+ if ($res !== true) {
+ $this->fail("Failed to open {$tmp}. Code: $res");
+
+ return $tmpDir;
+ }
+
+ $this->assertSame(0, $zipArch->status);
+ $this->assertSame(0, $zipArch->statusSys);
+
+ $zipArch->extractTo($tmpDir);
+ $zipArch->close();
+
+ return $tmpDir;
+ }
+
+ protected function getTmpDir(): string
+ {
+ $tmp = tempnam(sys_get_temp_dir(), 'zipstreamtest');
+ unlink($tmp);
+ mkdir($tmp) or $this->fail('Failed to make directory');
+
+ return $tmp;
+ }
+
+ /**
+ * @param string $path
+ * @return string[]
+ */
+ protected function getRecursiveFileList(string $path): array
+ {
+ $data = [];
+ $path = (string)realpath($path);
+ $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path));
+
+ $pathLen = strlen($path);
+ foreach ($files as $file) {
+ $filePath = $file->getRealPath();
+ if (!is_dir($filePath)) {
+ $data[] = substr($filePath, $pathLen + 1);
+ }
+ }
+
+ sort($data);
+
+ return $data;
+ }
+
+ protected function addLargeFileFileFromPath($method, $zeroHeader, $zip64): void
+ {
+ [$tmp, $stream] = $this->getTmpFileStream();
+
+ $options = new ArchiveOptions();
+ $options->setOutputStream($stream);
+ $options->setLargeFileMethod($method);
+ $options->setLargeFileSize(5);
+ $options->setZeroHeader($zeroHeader);
+ $options->setEnableZip64($zip64);
+
+ $zip = new ZipStream(null, $options);
+
+ [$tmpExample, $streamExample] = $this->getTmpFileStream();
+ for ($i = 0; $i <= 10000; $i++) {
+ fwrite($streamExample, sha1((string)$i));
+ if ($i % 100 === 0) {
+ fwrite($streamExample, "\n");
+ }
+ }
+ fclose($streamExample);
+ $shaExample = sha1_file($tmpExample);
+ $zip->addFileFromPath('sample.txt', $tmpExample);
+ unlink($tmpExample);
+
+ $zip->finish();
+ fclose($stream);
+
+ $tmpDir = $this->validateAndExtractZip($tmp);
+
+ $files = $this->getRecursiveFileList($tmpDir);
+ $this->assertSame(['sample.txt'], $files);
+
+ $this->assertSame(sha1_file($tmpDir . '/sample.txt'), $shaExample, "SHA-1 Mismatch Method: {$method}");
+ }
+}
diff --git a/vendor/maennchen/zipstream-php/test/bootstrap.php b/vendor/maennchen/zipstream-php/test/bootstrap.php
new file mode 100644
index 0000000..13c7a0e
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/test/bootstrap.php
@@ -0,0 +1,7 @@
+setOutputStream(fopen('php://memory', 'wb'));
+ $fileOpt->setTime(clone $expectedTime);
+
+ $zip = new ZipStream(null, $archiveOpt);
+
+ $zip->addFile('sample.txt', 'Sample', $fileOpt);
+
+ $zip->finish();
+
+ $this->assertEquals($expectedTime, $fileOpt->getTime());
+ }
+}
diff --git a/vendor/markbaker/complex/.github/workflows/main.yml b/vendor/markbaker/complex/.github/workflows/main.yml
new file mode 100644
index 0000000..8911533
--- /dev/null
+++ b/vendor/markbaker/complex/.github/workflows/main.yml
@@ -0,0 +1,153 @@
+name: main
+on: [ push, pull_request ]
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ experimental:
+ - false
+ php-version:
+ - '7.2'
+ - '7.3'
+ - '7.4'
+ - '8.0'
+ - '8.1'
+ - '8.2'
+
+ include:
+ - php-version: 'nightly'
+ experimental: true
+
+ name: PHP ${{ matrix.php-version }}
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php-version }}
+ coverage: none
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Delete composer lock file
+ id: composer-lock
+ if: ${{ matrix.php-version == '8.0' || matrix.php-version == '8.1' || matrix.php-version == '8.2' || matrix.php-version == 'nightly' }}
+ run: |
+ rm composer.lock
+ echo "::set-output name=flags::--ignore-platform-reqs"
+
+ - name: Install dependencies
+ run: composer update --no-progress --prefer-dist --optimize-autoloader ${{ steps.composer-lock.outputs.flags }}
+
+ - name: Setup problem matchers for PHP
+ run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
+
+ - name: Setup problem matchers for PHPUnit
+ run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
+
+ - name: "Run PHPUnit tests (Experimental: ${{ matrix.experimental }})"
+ env:
+ FAILURE_ACTION: "${{ matrix.experimental == true }}"
+ run: vendor/bin/phpunit --verbose || $FAILURE_ACTION
+
+ phpcs:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ coverage: none
+ tools: cs2pr
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Install dependencies
+ run: composer install --no-progress --prefer-dist --optimize-autoloader
+
+ - name: Code style with PHP_CodeSniffer
+ run: ./vendor/bin/phpcs -q --report=checkstyle classes/src/ | cs2pr
+
+ versions:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ coverage: none
+ tools: cs2pr
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Install dependencies
+ run: composer install --no-progress --prefer-dist --optimize-autoloader
+
+ - name: Code Version Compatibility check with PHP_CodeSniffer
+ run: ./vendor/bin/phpcs -q --report-width=200 --report=summary,full classes/src/ --standard=PHPCompatibility --runtime-set testVersion 7.2-
+
+ coverage:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ coverage: pcov
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Install dependencies
+ run: composer install --no-progress --prefer-dist --optimize-autoloader
+
+ - name: Test Coverage
+ run: ./vendor/bin/phpunit --verbose --coverage-text
diff --git a/vendor/markbaker/complex/README.md b/vendor/markbaker/complex/README.md
new file mode 100644
index 0000000..76347af
--- /dev/null
+++ b/vendor/markbaker/complex/README.md
@@ -0,0 +1,173 @@
+PHPComplex
+==========
+
+---
+
+PHP Class Library for working with Complex numbers
+
+[](https://github.com/MarkBaker/PHPComplex/actions)
+[](https://packagist.org/packages/markbaker/complex)
+[](https://packagist.org/packages/markbaker/complex)
+[](https://packagist.org/packages/markbaker/complex)
+
+
+[](https://xkcd.com/2028/)
+
+---
+
+The library currently provides the following operations:
+
+ - addition
+ - subtraction
+ - multiplication
+ - division
+ - division by
+ - division into
+
+together with functions for
+
+ - theta (polar theta angle)
+ - rho (polar distance/radius)
+ - conjugate
+ * negative
+ - inverse (1 / complex)
+ - cos (cosine)
+ - acos (inverse cosine)
+ - cosh (hyperbolic cosine)
+ - acosh (inverse hyperbolic cosine)
+ - sin (sine)
+ - asin (inverse sine)
+ - sinh (hyperbolic sine)
+ - asinh (inverse hyperbolic sine)
+ - sec (secant)
+ - asec (inverse secant)
+ - sech (hyperbolic secant)
+ - asech (inverse hyperbolic secant)
+ - csc (cosecant)
+ - acsc (inverse cosecant)
+ - csch (hyperbolic secant)
+ - acsch (inverse hyperbolic secant)
+ - tan (tangent)
+ - atan (inverse tangent)
+ - tanh (hyperbolic tangent)
+ - atanh (inverse hyperbolic tangent)
+ - cot (cotangent)
+ - acot (inverse cotangent)
+ - coth (hyperbolic cotangent)
+ - acoth (inverse hyperbolic cotangent)
+ - sqrt (square root)
+ - exp (exponential)
+ - ln (natural log)
+ - log10 (base-10 log)
+ - log2 (base-2 log)
+ - pow (raised to the power of a real number)
+
+
+---
+
+# Installation
+
+```shell
+composer require markbaker/complex:^1.0
+```
+
+# Important BC Note
+
+If you've previously been using procedural calls to functions and operations using this library, then from version 3.0 you should use [MarkBaker/PHPComplexFunctions](https://github.com/MarkBaker/PHPComplexFunctions) instead (available on packagist as [markbaker/complex-functions](https://packagist.org/packages/markbaker/complex-functions)).
+
+You'll need to replace `markbaker/complex`in your `composer.json` file with the new library, but otherwise there should be no difference in the namespacing, or in the way that you have called the Complex functions in the past, so no actual code changes are required.
+
+```shell
+composer require markbaker/complex-functions:^3.0
+```
+
+You should not reference this library (`markbaker/complex`) in your `composer.json`, composer wil take care of that for you.
+
+# Usage
+
+To create a new complex object, you can provide either the real, imaginary and suffix parts as individual values, or as an array of values passed passed to the constructor; or a string representing the value. e.g
+
+```php
+$real = 1.23;
+$imaginary = -4.56;
+$suffix = 'i';
+
+$complexObject = new Complex\Complex($real, $imaginary, $suffix);
+```
+or as an array
+```php
+$real = 1.23;
+$imaginary = -4.56;
+$suffix = 'i';
+
+$arguments = [$real, $imaginary, $suffix];
+
+$complexObject = new Complex\Complex($arguments);
+```
+or as a string
+```php
+$complexString = '1.23-4.56i';
+
+$complexObject = new Complex\Complex($complexString);
+```
+
+Complex objects are immutable: whenever you call a method or pass a complex value to a function that returns a complex value, a new Complex object will be returned, and the original will remain unchanged.
+This also allows you to chain multiple methods as you would for a fluent interface (as long as they are methods that will return a Complex result).
+
+## Performing Mathematical Operations
+
+To perform mathematical operations with Complex values, you can call the appropriate method against a complex value, passing other values as arguments
+
+```php
+$complexString1 = '1.23-4.56i';
+$complexString2 = '2.34+5.67i';
+
+$complexObject = new Complex\Complex($complexString1);
+echo $complexObject->add($complexString2);
+```
+
+or use the static Operation methods
+```php
+$complexString1 = '1.23-4.56i';
+$complexString2 = '2.34+5.67i';
+
+echo Complex\Operations::add($complexString1, $complexString2);
+```
+If you want to perform the same operation against multiple values (e.g. to add three or more complex numbers), then you can pass multiple arguments to any of the operations.
+
+You can pass these arguments as Complex objects, or as an array, or string that will parse to a complex object.
+
+## Using functions
+
+When calling any of the available functions for a complex value, you can either call the relevant method for the Complex object
+```php
+$complexString = '1.23-4.56i';
+
+$complexObject = new Complex\Complex($complexString);
+echo $complexObject->sinh();
+```
+
+or use the static Functions methods
+```php
+$complexString = '1.23-4.56i';
+
+echo Complex\Functions::sinh($complexString);
+```
+As with operations, you can pass these arguments as Complex objects, or as an array or string that will parse to a complex object.
+
+
+In the case of the `pow()` function (the only implemented function that requires an additional argument) you need to pass both arguments when calling the function
+
+```php
+$complexString = '1.23-4.56i';
+
+$complexObject = new Complex\Complex($complexString);
+echo Complex\Functions::pow($complexObject, 2);
+```
+or pass the additional argument when calling the method
+```php
+$complexString = '1.23-4.56i';
+
+$complexObject = new Complex\Complex($complexString);
+echo $complexObject->pow(2);
+```
diff --git a/vendor/markbaker/complex/classes/src/Complex.php b/vendor/markbaker/complex/classes/src/Complex.php
new file mode 100644
index 0000000..25414ee
--- /dev/null
+++ b/vendor/markbaker/complex/classes/src/Complex.php
@@ -0,0 +1,388 @@
+realPart = (float) $realPart;
+ $this->imaginaryPart = (float) $imaginaryPart;
+ $this->suffix = strtolower($suffix ?? '');
+ }
+
+ /**
+ * Gets the real part of this complex number
+ *
+ * @return Float
+ */
+ public function getReal(): float
+ {
+ return $this->realPart;
+ }
+
+ /**
+ * Gets the imaginary part of this complex number
+ *
+ * @return Float
+ */
+ public function getImaginary(): float
+ {
+ return $this->imaginaryPart;
+ }
+
+ /**
+ * Gets the suffix of this complex number
+ *
+ * @return String
+ */
+ public function getSuffix(): string
+ {
+ return $this->suffix;
+ }
+
+ /**
+ * Returns true if this is a real value, false if a complex value
+ *
+ * @return Bool
+ */
+ public function isReal(): bool
+ {
+ return $this->imaginaryPart == 0.0;
+ }
+
+ /**
+ * Returns true if this is a complex value, false if a real value
+ *
+ * @return Bool
+ */
+ public function isComplex(): bool
+ {
+ return !$this->isReal();
+ }
+
+ public function format(): string
+ {
+ $str = "";
+ if ($this->imaginaryPart != 0.0) {
+ if (\abs($this->imaginaryPart) != 1.0) {
+ $str .= $this->imaginaryPart . $this->suffix;
+ } else {
+ $str .= (($this->imaginaryPart < 0.0) ? '-' : '') . $this->suffix;
+ }
+ }
+ if ($this->realPart != 0.0) {
+ if (($str) && ($this->imaginaryPart > 0.0)) {
+ $str = "+" . $str;
+ }
+ $str = $this->realPart . $str;
+ }
+ if (!$str) {
+ $str = "0.0";
+ }
+
+ return $str;
+ }
+
+ public function __toString(): string
+ {
+ return $this->format();
+ }
+
+ /**
+ * Validates whether the argument is a valid complex number, converting scalar or array values if possible
+ *
+ * @param mixed $complex The value to validate
+ * @return Complex
+ * @throws Exception If the argument isn't a Complex number or cannot be converted to one
+ */
+ public static function validateComplexArgument($complex): Complex
+ {
+ if (is_scalar($complex) || is_array($complex)) {
+ $complex = new Complex($complex);
+ } elseif (!is_object($complex) || !($complex instanceof Complex)) {
+ throw new Exception('Value is not a valid complex number');
+ }
+
+ return $complex;
+ }
+
+ /**
+ * Returns the reverse of this complex number
+ *
+ * @return Complex
+ */
+ public function reverse(): Complex
+ {
+ return new Complex(
+ $this->imaginaryPart,
+ $this->realPart,
+ ($this->realPart == 0.0) ? null : $this->suffix
+ );
+ }
+
+ public function invertImaginary(): Complex
+ {
+ return new Complex(
+ $this->realPart,
+ $this->imaginaryPart * -1,
+ ($this->imaginaryPart == 0.0) ? null : $this->suffix
+ );
+ }
+
+ public function invertReal(): Complex
+ {
+ return new Complex(
+ $this->realPart * -1,
+ $this->imaginaryPart,
+ ($this->imaginaryPart == 0.0) ? null : $this->suffix
+ );
+ }
+
+ protected static $functions = [
+ 'abs',
+ 'acos',
+ 'acosh',
+ 'acot',
+ 'acoth',
+ 'acsc',
+ 'acsch',
+ 'argument',
+ 'asec',
+ 'asech',
+ 'asin',
+ 'asinh',
+ 'atan',
+ 'atanh',
+ 'conjugate',
+ 'cos',
+ 'cosh',
+ 'cot',
+ 'coth',
+ 'csc',
+ 'csch',
+ 'exp',
+ 'inverse',
+ 'ln',
+ 'log2',
+ 'log10',
+ 'negative',
+ 'pow',
+ 'rho',
+ 'sec',
+ 'sech',
+ 'sin',
+ 'sinh',
+ 'sqrt',
+ 'tan',
+ 'tanh',
+ 'theta',
+ ];
+
+ protected static $operations = [
+ 'add',
+ 'subtract',
+ 'multiply',
+ 'divideby',
+ 'divideinto',
+ ];
+
+ /**
+ * Returns the result of the function call or operation
+ *
+ * @return Complex|float
+ * @throws Exception|\InvalidArgumentException
+ */
+ public function __call($functionName, $arguments)
+ {
+ $functionName = strtolower(str_replace('_', '', $functionName));
+
+ // Test for function calls
+ if (in_array($functionName, self::$functions, true)) {
+ return Functions::$functionName($this, ...$arguments);
+ }
+ // Test for operation calls
+ if (in_array($functionName, self::$operations, true)) {
+ return Operations::$functionName($this, ...$arguments);
+ }
+ throw new Exception('Complex Function or Operation does not exist');
+ }
+}
diff --git a/vendor/markbaker/complex/classes/src/Exception.php b/vendor/markbaker/complex/classes/src/Exception.php
new file mode 100644
index 0000000..a2beb73
--- /dev/null
+++ b/vendor/markbaker/complex/classes/src/Exception.php
@@ -0,0 +1,13 @@
+getReal() - $invsqrt->getImaginary(),
+ $complex->getImaginary() + $invsqrt->getReal()
+ );
+ $log = self::ln($adjust);
+
+ return new Complex(
+ $log->getImaginary(),
+ -1 * $log->getReal()
+ );
+ }
+
+ /**
+ * Returns the inverse hyperbolic cosine of a complex number.
+ *
+ * Formula from Wolfram Alpha:
+ * cosh^(-1)z = ln(z + sqrt(z + 1) sqrt(z - 1)).
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse hyperbolic cosine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function acosh($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal() && ($complex->getReal() > 1)) {
+ return new Complex(\acosh($complex->getReal()));
+ }
+
+ $acosh = self::ln(
+ Operations::add(
+ $complex,
+ Operations::multiply(
+ self::sqrt(Operations::add($complex, 1)),
+ self::sqrt(Operations::subtract($complex, 1))
+ )
+ )
+ );
+
+ return $acosh;
+ }
+
+ /**
+ * Returns the inverse cotangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse cotangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function acot($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return self::atan(self::inverse($complex));
+ }
+
+ /**
+ * Returns the inverse hyperbolic cotangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse hyperbolic cotangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function acoth($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return self::atanh(self::inverse($complex));
+ }
+
+ /**
+ * Returns the inverse cosecant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse cosecant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function acsc($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::asin(self::inverse($complex));
+ }
+
+ /**
+ * Returns the inverse hyperbolic cosecant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse hyperbolic cosecant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function acsch($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::asinh(self::inverse($complex));
+ }
+
+ /**
+ * Returns the argument of a complex number.
+ * Also known as the theta of the complex number, i.e. the angle in radians
+ * from the real axis to the representation of the number in polar coordinates.
+ *
+ * This function is a synonym for theta()
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return float The argument (or theta) value of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ *
+ * @see theta
+ */
+ public static function argument($complex): float
+ {
+ return self::theta($complex);
+ }
+
+ /**
+ * Returns the inverse secant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse secant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function asec($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::acos(self::inverse($complex));
+ }
+
+ /**
+ * Returns the inverse hyperbolic secant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse hyperbolic secant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function asech($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::acosh(self::inverse($complex));
+ }
+
+ /**
+ * Returns the inverse sine of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse sine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function asin($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ $invsqrt = self::sqrt(Operations::subtract(1, Operations::multiply($complex, $complex)));
+ $adjust = new Complex(
+ $invsqrt->getReal() - $complex->getImaginary(),
+ $invsqrt->getImaginary() + $complex->getReal()
+ );
+ $log = self::ln($adjust);
+
+ return new Complex(
+ $log->getImaginary(),
+ -1 * $log->getReal()
+ );
+ }
+
+ /**
+ * Returns the inverse hyperbolic sine of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse hyperbolic sine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function asinh($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal() && ($complex->getReal() > 1)) {
+ return new Complex(\asinh($complex->getReal()));
+ }
+
+ $asinh = clone $complex;
+ $asinh = $asinh->reverse()
+ ->invertReal();
+ $asinh = self::asin($asinh);
+
+ return $asinh->reverse()
+ ->invertImaginary();
+ }
+
+ /**
+ * Returns the inverse tangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse tangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function atan($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ return new Complex(\atan($complex->getReal()));
+ }
+
+ $t1Value = new Complex(-1 * $complex->getImaginary(), $complex->getReal());
+ $uValue = new Complex(1, 0);
+
+ $d1Value = clone $uValue;
+ $d1Value = Operations::subtract($d1Value, $t1Value);
+ $d2Value = Operations::add($t1Value, $uValue);
+ $uResult = $d1Value->divideBy($d2Value);
+ $uResult = self::ln($uResult);
+
+ $realMultiplier = -0.5;
+ $imaginaryMultiplier = 0.5;
+
+ if (abs($uResult->getImaginary()) === M_PI) {
+ // If we have an imaginary value at the max or min (PI or -PI), then we need to ensure
+ // that the primary is assigned for the correct quadrant.
+ $realMultiplier = (
+ ($uResult->getImaginary() === M_PI && $uResult->getReal() > 0.0) ||
+ ($uResult->getImaginary() === -M_PI && $uResult->getReal() < 0.0)
+ ) ? 0.5 : -0.5;
+ }
+
+ return new Complex(
+ $uResult->getImaginary() * $realMultiplier,
+ $uResult->getReal() * $imaginaryMultiplier,
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the inverse hyperbolic tangent of a complex number.
+ *
+ * Formula from Wolfram Alpha:
+ * tanh^(-1)z = 1/2 [ln(1 + z) - ln(1 - z)].
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse hyperbolic tangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function atanh($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ $real = $complex->getReal();
+ if ($real >= -1.0 && $real <= 1.0) {
+ return new Complex(\atanh($real));
+ } else {
+ return new Complex(\atanh(1 / $real), (($real < 0.0) ? M_PI_2 : -1 * M_PI_2));
+ }
+ }
+
+ $atanh = Operations::multiply(
+ Operations::subtract(
+ self::ln(Operations::add(1.0, $complex)),
+ self::ln(Operations::subtract(1.0, $complex))
+ ),
+ 0.5
+ );
+
+ return $atanh;
+ }
+
+ /**
+ * Returns the complex conjugate of a complex number
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The conjugate of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function conjugate($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return new Complex(
+ $complex->getReal(),
+ -1 * $complex->getImaginary(),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the cosine of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The cosine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function cos($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ return new Complex(\cos($complex->getReal()));
+ }
+
+ return self::conjugate(
+ new Complex(
+ \cos($complex->getReal()) * \cosh($complex->getImaginary()),
+ \sin($complex->getReal()) * \sinh($complex->getImaginary()),
+ $complex->getSuffix()
+ )
+ );
+ }
+
+ /**
+ * Returns the hyperbolic cosine of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The hyperbolic cosine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function cosh($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ return new Complex(\cosh($complex->getReal()));
+ }
+
+ return new Complex(
+ \cosh($complex->getReal()) * \cos($complex->getImaginary()),
+ \sinh($complex->getReal()) * \sin($complex->getImaginary()),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the cotangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The cotangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function cot($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::inverse(self::tan($complex));
+ }
+
+ /**
+ * Returns the hyperbolic cotangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The hyperbolic cotangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function coth($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return self::inverse(self::tanh($complex));
+ }
+
+ /**
+ * Returns the cosecant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The cosecant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function csc($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::inverse(self::sin($complex));
+ }
+
+ /**
+ * Returns the hyperbolic cosecant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The hyperbolic cosecant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function csch($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return new Complex(INF);
+ }
+
+ return self::inverse(self::sinh($complex));
+ }
+
+ /**
+ * Returns the exponential of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The exponential of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function exp($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if (($complex->getReal() == 0.0) && (\abs($complex->getImaginary()) == M_PI)) {
+ return new Complex(-1.0, 0.0);
+ }
+
+ $rho = \exp($complex->getReal());
+
+ return new Complex(
+ $rho * \cos($complex->getImaginary()),
+ $rho * \sin($complex->getImaginary()),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the inverse of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The inverse of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws InvalidArgumentException If function would result in a division by zero
+ */
+ public static function inverse($complex): Complex
+ {
+ $complex = clone Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ throw new InvalidArgumentException('Division by zero');
+ }
+
+ return $complex->divideInto(1.0);
+ }
+
+ /**
+ * Returns the natural logarithm of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The natural logarithm of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws InvalidArgumentException If the real and the imaginary parts are both zero
+ */
+ public static function ln($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if (($complex->getReal() == 0.0) && ($complex->getImaginary() == 0.0)) {
+ throw new InvalidArgumentException();
+ }
+
+ return new Complex(
+ \log(self::rho($complex)),
+ self::theta($complex),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the base-2 logarithm of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The base-2 logarithm of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws InvalidArgumentException If the real and the imaginary parts are both zero
+ */
+ public static function log2($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if (($complex->getReal() == 0.0) && ($complex->getImaginary() == 0.0)) {
+ throw new InvalidArgumentException();
+ } elseif (($complex->getReal() > 0.0) && ($complex->getImaginary() == 0.0)) {
+ return new Complex(\log($complex->getReal(), 2), 0.0, $complex->getSuffix());
+ }
+
+ return self::ln($complex)
+ ->multiply(\log(Complex::EULER, 2));
+ }
+
+ /**
+ * Returns the common logarithm (base 10) of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The common logarithm (base 10) of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws InvalidArgumentException If the real and the imaginary parts are both zero
+ */
+ public static function log10($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if (($complex->getReal() == 0.0) && ($complex->getImaginary() == 0.0)) {
+ throw new InvalidArgumentException();
+ } elseif (($complex->getReal() > 0.0) && ($complex->getImaginary() == 0.0)) {
+ return new Complex(\log10($complex->getReal()), 0.0, $complex->getSuffix());
+ }
+
+ return self::ln($complex)
+ ->multiply(\log10(Complex::EULER));
+ }
+
+ /**
+ * Returns the negative of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The negative value of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ *
+ * @see rho
+ *
+ */
+ public static function negative($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return new Complex(
+ -1 * $complex->getReal(),
+ -1 * $complex->getImaginary(),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns a complex number raised to a power.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @param float|integer $power The power to raise this value to
+ * @return Complex The complex argument raised to the real power.
+ * @throws Exception If the power argument isn't a valid real
+ */
+ public static function pow($complex, $power): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if (!is_numeric($power)) {
+ throw new Exception('Power argument must be a real number');
+ }
+
+ if ($complex->getImaginary() == 0.0 && $complex->getReal() >= 0.0) {
+ return new Complex(\pow($complex->getReal(), $power));
+ }
+
+ $rValue = \sqrt(($complex->getReal() * $complex->getReal()) + ($complex->getImaginary() * $complex->getImaginary()));
+ $rPower = \pow($rValue, $power);
+ $theta = $complex->argument() * $power;
+ if ($theta == 0) {
+ return new Complex(1);
+ }
+
+ return new Complex($rPower * \cos($theta), $rPower * \sin($theta), $complex->getSuffix());
+ }
+
+ /**
+ * Returns the rho of a complex number.
+ * This is the distance/radius from the centrepoint to the representation of the number in polar coordinates.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return float The rho value of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function rho($complex): float
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return \sqrt(
+ ($complex->getReal() * $complex->getReal()) +
+ ($complex->getImaginary() * $complex->getImaginary())
+ );
+ }
+
+ /**
+ * Returns the secant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The secant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function sec($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return self::inverse(self::cos($complex));
+ }
+
+ /**
+ * Returns the hyperbolic secant of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The hyperbolic secant of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function sech($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ return self::inverse(self::cosh($complex));
+ }
+
+ /**
+ * Returns the sine of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The sine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function sin($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ return new Complex(\sin($complex->getReal()));
+ }
+
+ return new Complex(
+ \sin($complex->getReal()) * \cosh($complex->getImaginary()),
+ \cos($complex->getReal()) * \sinh($complex->getImaginary()),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the hyperbolic sine of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The hyperbolic sine of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function sinh($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ return new Complex(\sinh($complex->getReal()));
+ }
+
+ return new Complex(
+ \sinh($complex->getReal()) * \cos($complex->getImaginary()),
+ \cosh($complex->getReal()) * \sin($complex->getImaginary()),
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the square root of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The Square root of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function sqrt($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ $theta = self::theta($complex);
+ $delta1 = \cos($theta / 2);
+ $delta2 = \sin($theta / 2);
+ $rho = \sqrt(self::rho($complex));
+
+ return new Complex($delta1 * $rho, $delta2 * $rho, $complex->getSuffix());
+ }
+
+ /**
+ * Returns the tangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The tangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws InvalidArgumentException If function would result in a division by zero
+ */
+ public static function tan($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->isReal()) {
+ return new Complex(\tan($complex->getReal()));
+ }
+
+ $real = $complex->getReal();
+ $imaginary = $complex->getImaginary();
+ $divisor = 1 + \pow(\tan($real), 2) * \pow(\tanh($imaginary), 2);
+ if ($divisor == 0.0) {
+ throw new InvalidArgumentException('Division by zero');
+ }
+
+ return new Complex(
+ \pow(self::sech($imaginary)->getReal(), 2) * \tan($real) / $divisor,
+ \pow(self::sec($real)->getReal(), 2) * \tanh($imaginary) / $divisor,
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the hyperbolic tangent of a complex number.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return Complex The hyperbolic tangent of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ * @throws \InvalidArgumentException If function would result in a division by zero
+ */
+ public static function tanh($complex): Complex
+ {
+ $complex = Complex::validateComplexArgument($complex);
+ $real = $complex->getReal();
+ $imaginary = $complex->getImaginary();
+ $divisor = \cos($imaginary) * \cos($imaginary) + \sinh($real) * \sinh($real);
+ if ($divisor == 0.0) {
+ throw new InvalidArgumentException('Division by zero');
+ }
+
+ return new Complex(
+ \sinh($real) * \cosh($real) / $divisor,
+ 0.5 * \sin(2 * $imaginary) / $divisor,
+ $complex->getSuffix()
+ );
+ }
+
+ /**
+ * Returns the theta of a complex number.
+ * This is the angle in radians from the real axis to the representation of the number in polar coordinates.
+ *
+ * @param Complex|mixed $complex Complex number or a numeric value.
+ * @return float The theta value of the complex argument.
+ * @throws Exception If argument isn't a valid real or complex number.
+ */
+ public static function theta($complex): float
+ {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($complex->getReal() == 0.0) {
+ if ($complex->isReal()) {
+ return 0.0;
+ } elseif ($complex->getImaginary() < 0.0) {
+ return M_PI / -2;
+ }
+ return M_PI / 2;
+ } elseif ($complex->getReal() > 0.0) {
+ return \atan($complex->getImaginary() / $complex->getReal());
+ } elseif ($complex->getImaginary() < 0.0) {
+ return -(M_PI - \atan(\abs($complex->getImaginary()) / \abs($complex->getReal())));
+ }
+
+ return M_PI - \atan($complex->getImaginary() / \abs($complex->getReal()));
+ }
+}
diff --git a/vendor/markbaker/complex/classes/src/Operations.php b/vendor/markbaker/complex/classes/src/Operations.php
new file mode 100644
index 0000000..b13a873
--- /dev/null
+++ b/vendor/markbaker/complex/classes/src/Operations.php
@@ -0,0 +1,210 @@
+isComplex() && $complex->isComplex() &&
+ $result->getSuffix() !== $complex->getSuffix()) {
+ throw new Exception('Suffix Mismatch');
+ }
+
+ $real = $result->getReal() + $complex->getReal();
+ $imaginary = $result->getImaginary() + $complex->getImaginary();
+
+ $result = new Complex(
+ $real,
+ $imaginary,
+ ($imaginary == 0.0) ? null : max($result->getSuffix(), $complex->getSuffix())
+ );
+ }
+
+ return $result;
+ }
+
+ /**
+ * Divides two or more complex numbers
+ *
+ * @param array of string|integer|float|Complex $complexValues The numbers to divide
+ * @return Complex
+ */
+ public static function divideby(...$complexValues): Complex
+ {
+ if (count($complexValues) < 2) {
+ throw new \Exception('This function requires at least 2 arguments');
+ }
+
+ $base = array_shift($complexValues);
+ $result = clone Complex::validateComplexArgument($base);
+
+ foreach ($complexValues as $complex) {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($result->isComplex() && $complex->isComplex() &&
+ $result->getSuffix() !== $complex->getSuffix()) {
+ throw new Exception('Suffix Mismatch');
+ }
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ throw new InvalidArgumentException('Division by zero');
+ }
+
+ $delta1 = ($result->getReal() * $complex->getReal()) +
+ ($result->getImaginary() * $complex->getImaginary());
+ $delta2 = ($result->getImaginary() * $complex->getReal()) -
+ ($result->getReal() * $complex->getImaginary());
+ $delta3 = ($complex->getReal() * $complex->getReal()) +
+ ($complex->getImaginary() * $complex->getImaginary());
+
+ $real = $delta1 / $delta3;
+ $imaginary = $delta2 / $delta3;
+
+ $result = new Complex(
+ $real,
+ $imaginary,
+ ($imaginary == 0.0) ? null : max($result->getSuffix(), $complex->getSuffix())
+ );
+ }
+
+ return $result;
+ }
+
+ /**
+ * Divides two or more complex numbers
+ *
+ * @param array of string|integer|float|Complex $complexValues The numbers to divide
+ * @return Complex
+ */
+ public static function divideinto(...$complexValues): Complex
+ {
+ if (count($complexValues) < 2) {
+ throw new \Exception('This function requires at least 2 arguments');
+ }
+
+ $base = array_shift($complexValues);
+ $result = clone Complex::validateComplexArgument($base);
+
+ foreach ($complexValues as $complex) {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($result->isComplex() && $complex->isComplex() &&
+ $result->getSuffix() !== $complex->getSuffix()) {
+ throw new Exception('Suffix Mismatch');
+ }
+ if ($result->getReal() == 0.0 && $result->getImaginary() == 0.0) {
+ throw new InvalidArgumentException('Division by zero');
+ }
+
+ $delta1 = ($complex->getReal() * $result->getReal()) +
+ ($complex->getImaginary() * $result->getImaginary());
+ $delta2 = ($complex->getImaginary() * $result->getReal()) -
+ ($complex->getReal() * $result->getImaginary());
+ $delta3 = ($result->getReal() * $result->getReal()) +
+ ($result->getImaginary() * $result->getImaginary());
+
+ $real = $delta1 / $delta3;
+ $imaginary = $delta2 / $delta3;
+
+ $result = new Complex(
+ $real,
+ $imaginary,
+ ($imaginary == 0.0) ? null : max($result->getSuffix(), $complex->getSuffix())
+ );
+ }
+
+ return $result;
+ }
+
+ /**
+ * Multiplies two or more complex numbers
+ *
+ * @param array of string|integer|float|Complex $complexValues The numbers to multiply
+ * @return Complex
+ */
+ public static function multiply(...$complexValues): Complex
+ {
+ if (count($complexValues) < 2) {
+ throw new \Exception('This function requires at least 2 arguments');
+ }
+
+ $base = array_shift($complexValues);
+ $result = clone Complex::validateComplexArgument($base);
+
+ foreach ($complexValues as $complex) {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($result->isComplex() && $complex->isComplex() &&
+ $result->getSuffix() !== $complex->getSuffix()) {
+ throw new Exception('Suffix Mismatch');
+ }
+
+ $real = ($result->getReal() * $complex->getReal()) -
+ ($result->getImaginary() * $complex->getImaginary());
+ $imaginary = ($result->getReal() * $complex->getImaginary()) +
+ ($result->getImaginary() * $complex->getReal());
+
+ $result = new Complex(
+ $real,
+ $imaginary,
+ ($imaginary == 0.0) ? null : max($result->getSuffix(), $complex->getSuffix())
+ );
+ }
+
+ return $result;
+ }
+
+ /**
+ * Subtracts two or more complex numbers
+ *
+ * @param array of string|integer|float|Complex $complexValues The numbers to subtract
+ * @return Complex
+ */
+ public static function subtract(...$complexValues): Complex
+ {
+ if (count($complexValues) < 2) {
+ throw new \Exception('This function requires at least 2 arguments');
+ }
+
+ $base = array_shift($complexValues);
+ $result = clone Complex::validateComplexArgument($base);
+
+ foreach ($complexValues as $complex) {
+ $complex = Complex::validateComplexArgument($complex);
+
+ if ($result->isComplex() && $complex->isComplex() &&
+ $result->getSuffix() !== $complex->getSuffix()) {
+ throw new Exception('Suffix Mismatch');
+ }
+
+ $real = $result->getReal() - $complex->getReal();
+ $imaginary = $result->getImaginary() - $complex->getImaginary();
+
+ $result = new Complex(
+ $real,
+ $imaginary,
+ ($imaginary == 0.0) ? null : max($result->getSuffix(), $complex->getSuffix())
+ );
+ }
+
+ return $result;
+ }
+}
diff --git a/vendor/markbaker/complex/composer.json b/vendor/markbaker/complex/composer.json
new file mode 100644
index 0000000..246683c
--- /dev/null
+++ b/vendor/markbaker/complex/composer.json
@@ -0,0 +1,40 @@
+{
+ "name": "markbaker/complex",
+ "type": "library",
+ "description": "PHP Class for working with complex numbers",
+ "keywords": ["complex", "mathematics"],
+ "homepage": "https://github.com/MarkBaker/PHPComplex",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Mark Baker",
+ "email": "mark@lange.demon.co.uk"
+ }
+ ],
+ "config": {
+ "sort-packages": true,
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true,
+ "markbaker/ukraine": true
+ }
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "squizlabs/php_codesniffer": "^3.7",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
+ },
+ "autoload": {
+ "psr-4": {
+ "Complex\\": "classes/src/"
+ }
+ },
+ "scripts": {
+ "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
+ "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n"
+ },
+ "minimum-stability": "dev"
+}
diff --git a/vendor/markbaker/complex/examples/complexTest.php b/vendor/markbaker/complex/examples/complexTest.php
new file mode 100644
index 0000000..9a5e123
--- /dev/null
+++ b/vendor/markbaker/complex/examples/complexTest.php
@@ -0,0 +1,154 @@
+add(456);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456);
+$x->add(789.012);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->add(new Complex(-987.654, -32.1));
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->add(-987.654);
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->add(new Complex(0, 1));
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->add(new Complex(0, -1));
+echo $x, PHP_EOL;
+
+
+echo PHP_EOL, 'Subtract', PHP_EOL;
+
+$x = new Complex(123);
+$x->subtract(456);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456);
+$x->subtract(789.012);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->subtract(new Complex(-987.654, -32.1));
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->subtract(-987.654);
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->subtract(new Complex(0, 1));
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->subtract(new Complex(0, -1));
+echo $x, PHP_EOL;
+
+
+echo PHP_EOL, 'Multiply', PHP_EOL;
+
+$x = new Complex(123);
+$x->multiply(456);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456);
+$x->multiply(789.012);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->multiply(new Complex(-987.654, -32.1));
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->multiply(-987.654);
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->multiply(new Complex(0, 1));
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->multiply(new Complex(0, -1));
+echo $x, PHP_EOL;
+
+
+echo PHP_EOL, 'Divide By', PHP_EOL;
+
+$x = new Complex(123);
+$x->divideBy(456);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456);
+$x->divideBy(789.012);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->divideBy(new Complex(-987.654, -32.1));
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->divideBy(-987.654);
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->divideBy(new Complex(0, 1));
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->divideBy(new Complex(0, -1));
+echo $x, PHP_EOL;
+
+
+echo PHP_EOL, 'Divide Into', PHP_EOL;
+
+$x = new Complex(123);
+$x->divideInto(456);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456);
+$x->divideInto(789.012);
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->divideInto(new Complex(-987.654, -32.1));
+echo $x, PHP_EOL;
+
+$x = new Complex(123.456, 78.90);
+$x->divideInto(-987.654);
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->divideInto(new Complex(0, 1));
+echo $x, PHP_EOL;
+
+$x = new Complex(-987.654, -32.1);
+$x->divideInto(new Complex(0, -1));
+echo $x, PHP_EOL;
diff --git a/vendor/markbaker/complex/examples/testFunctions.php b/vendor/markbaker/complex/examples/testFunctions.php
new file mode 100644
index 0000000..bad1c03
--- /dev/null
+++ b/vendor/markbaker/complex/examples/testFunctions.php
@@ -0,0 +1,52 @@
+getMessage(), PHP_EOL;
+ }
+ }
+ echo PHP_EOL;
+ }
+}
diff --git a/vendor/markbaker/complex/examples/testOperations.php b/vendor/markbaker/complex/examples/testOperations.php
new file mode 100644
index 0000000..2b7e0ba
--- /dev/null
+++ b/vendor/markbaker/complex/examples/testOperations.php
@@ -0,0 +1,35 @@
+ ', $result, PHP_EOL;
+
+echo PHP_EOL;
+
+echo 'Subtraction', PHP_EOL;
+
+$result = Operations::subtract(...$values);
+echo '=> ', $result, PHP_EOL;
+
+echo PHP_EOL;
+
+echo 'Multiplication', PHP_EOL;
+
+$result = Operations::multiply(...$values);
+echo '=> ', $result, PHP_EOL;
diff --git a/vendor/markbaker/complex/license.md b/vendor/markbaker/complex/license.md
new file mode 100644
index 0000000..5b4b156
--- /dev/null
+++ b/vendor/markbaker/complex/license.md
@@ -0,0 +1,25 @@
+The MIT License (MIT)
+=====================
+
+Copyright © `2017` `Mark Baker`
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the “Softwareâ€), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS ISâ€, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/vendor/markbaker/matrix/.github/workflows/main.yaml b/vendor/markbaker/matrix/.github/workflows/main.yaml
new file mode 100644
index 0000000..5fa1bdb
--- /dev/null
+++ b/vendor/markbaker/matrix/.github/workflows/main.yaml
@@ -0,0 +1,124 @@
+name: main
+on: [ push, pull_request ]
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ php-version:
+ - '7.1'
+ - '7.2'
+ - '7.3'
+ - '7.4'
+ - '8.0'
+ - '8.1'
+ - '8.2'
+
+ include:
+ - php-version: 'nightly'
+ experimental: true
+
+ name: PHP ${{ matrix.php-version }}
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php-version }}
+ extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
+ coverage: none
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Delete composer lock file
+ id: composer-lock
+ if: ${{ matrix.php-version == '8.0' || matrix.php-version == '8.1' || matrix.php-version == '8.2' || matrix.php-version == 'nightly' }}
+ run: |
+ rm composer.lock
+ echo "::set-output name=flags::--ignore-platform-reqs"
+
+ - name: Install dependencies
+ run: composer update --no-progress --prefer-dist --optimize-autoloader ${{ steps.composer-lock.outputs.flags }}
+
+ - name: Setup problem matchers for PHP
+ run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
+
+ - name: Setup problem matchers for PHPUnit
+ run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
+
+ - name: Test with PHPUnit
+ run: ./vendor/bin/phpunit
+
+ phpcs:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
+ coverage: none
+ tools: cs2pr
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Install dependencies
+ run: composer install --no-progress --prefer-dist --optimize-autoloader
+
+ - name: Code style with PHP_CodeSniffer
+ run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr --graceful-warnings --colorize
+
+ coverage:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
+ coverage: pcov
+
+ - name: Get composer cache directory
+ id: composer-cache
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
+
+ - name: Cache composer dependencies
+ uses: actions/cache@v3
+ with:
+ path: ${{ steps.composer-cache.outputs.dir }}
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
+ restore-keys: ${{ runner.os }}-composer-
+
+ - name: Install dependencies
+ run: composer install --no-progress --prefer-dist --optimize-autoloader
+
+ - name: Coverage
+ run: |
+ ./vendor/bin/phpunit --coverage-text
diff --git a/vendor/markbaker/matrix/README.md b/vendor/markbaker/matrix/README.md
new file mode 100644
index 0000000..d0dc914
--- /dev/null
+++ b/vendor/markbaker/matrix/README.md
@@ -0,0 +1,215 @@
+PHPMatrix
+==========
+
+---
+
+PHP Class for handling Matrices
+
+[](https://github.com/MarkBaker/PHPMatrix/actions)
+[](https://packagist.org/packages/markbaker/matrix)
+[](https://packagist.org/packages/markbaker/matrix)
+[](https://packagist.org/packages/markbaker/matrix)
+
+
+[](https://xkcd.com/184/)
+
+Matrix Transform
+
+---
+
+This library currently provides the following operations:
+
+ - addition
+ - direct sum
+ - subtraction
+ - multiplication
+ - division (using [A].[B]-1 )
+ - division by
+ - division into
+
+together with functions for
+
+ - adjoint
+ - antidiagonal
+ - cofactors
+ - determinant
+ - diagonal
+ - identity
+ - inverse
+ - minors
+ - trace
+ - transpose
+ - solve
+
+ Given Matrices A and B, calculate X for A.X = B
+
+and classes for
+
+ - Decomposition
+ - LU Decomposition with partial row pivoting,
+
+ such that [P].[A] = [L].[U] and [A] = [P]| .[L].[U]
+ - QR Decomposition
+
+ such that [A] = [Q].[R]
+
+## TO DO
+
+ - power() function
+ - Decomposition
+ - Cholesky Decomposition
+ - EigenValue Decomposition
+ - EigenValues
+ - EigenVectors
+
+---
+
+# Installation
+
+```shell
+composer require markbaker/matrix:^3.0
+```
+
+# Important BC Note
+
+If you've previously been using procedural calls to functions and operations using this library, then from version 3.0 you should use [MarkBaker/PHPMatrixFunctions](https://github.com/MarkBaker/PHPMatrixFunctions) instead (available on packagist as [markbaker/matrix-functions](https://packagist.org/packages/markbaker/matrix-functions)).
+
+You'll need to replace `markbaker/matrix`in your `composer.json` file with the new library, but otherwise there should be no difference in the namespacing, or in the way that you have called the Matrix functions in the past, so no actual code changes are required.
+
+```shell
+composer require markbaker/matrix-functions:^1.0
+```
+
+You should not reference this library (`markbaker/matrix`) in your `composer.json`, composer wil take care of that for you.
+
+# Usage
+
+To create a new Matrix object, provide an array as the constructor argument
+
+```php
+$grid = [
+ [16, 3, 2, 13],
+ [ 5, 10, 11, 8],
+ [ 9, 6, 7, 12],
+ [ 4, 15, 14, 1],
+];
+
+$matrix = new Matrix\Matrix($grid);
+```
+The `Builder` class provides helper methods for creating specific matrices, specifically an identity matrix of a specified size; or a matrix of a specified dimensions, with every cell containing a set value.
+```php
+$matrix = Matrix\Builder::createFilledMatrix(1, 5, 3);
+```
+Will create a matrix of 5 rows and 3 columns, filled with a `1` in every cell; while
+```php
+$matrix = Matrix\Builder::createIdentityMatrix(3);
+```
+will create a 3x3 identity matrix.
+
+
+Matrix objects are immutable: whenever you call a method or pass a grid to a function that returns a matrix value, a new Matrix object will be returned, and the original will remain unchanged. This also allows you to chain multiple methods as you would for a fluent interface (as long as they are methods that will return a Matrix result).
+
+## Performing Mathematical Operations
+
+To perform mathematical operations with Matrices, you can call the appropriate method against a matrix value, passing other values as arguments
+
+```php
+$matrix1 = new Matrix\Matrix([
+ [2, 7, 6],
+ [9, 5, 1],
+ [4, 3, 8],
+]);
+$matrix2 = new Matrix\Matrix([
+ [1, 2, 3],
+ [4, 5, 6],
+ [7, 8, 9],
+]);
+
+var_dump($matrix1->multiply($matrix2)->toArray());
+```
+or pass all values to the appropriate static method
+```php
+$matrix1 = new Matrix\Matrix([
+ [2, 7, 6],
+ [9, 5, 1],
+ [4, 3, 8],
+]);
+$matrix2 = new Matrix\Matrix([
+ [1, 2, 3],
+ [4, 5, 6],
+ [7, 8, 9],
+]);
+
+var_dump(Matrix\Operations::multiply($matrix1, $matrix2)->toArray());
+```
+You can pass in the arguments as Matrix objects, or as arrays.
+
+If you want to perform the same operation against multiple values (e.g. to add three or more matrices), then you can pass multiple arguments to any of the operations.
+
+## Using functions
+
+When calling any of the available functions for a matrix value, you can either call the relevant method for the Matrix object
+```php
+$grid = [
+ [16, 3, 2, 13],
+ [ 5, 10, 11, 8],
+ [ 9, 6, 7, 12],
+ [ 4, 15, 14, 1],
+];
+
+$matrix = new Matrix\Matrix($grid);
+
+echo $matrix->trace();
+```
+or you can call the static method, passing the Matrix object or array as an argument
+```php
+$grid = [
+ [16, 3, 2, 13],
+ [ 5, 10, 11, 8],
+ [ 9, 6, 7, 12],
+ [ 4, 15, 14, 1],
+];
+
+$matrix = new Matrix\Matrix($grid);
+echo Matrix\Functions::trace($matrix);
+```
+```php
+$grid = [
+ [16, 3, 2, 13],
+ [ 5, 10, 11, 8],
+ [ 9, 6, 7, 12],
+ [ 4, 15, 14, 1],
+];
+
+echo Matrix\Functions::trace($grid);
+```
+
+## Decomposition
+
+The library also provides classes for matrix decomposition. You can access these using
+```php
+$grid = [
+ [1, 2],
+ [3, 4],
+];
+
+$matrix = new Matrix\Matrix($grid);
+
+$decomposition = new Matrix\Decomposition\QR($matrix);
+$Q = $decomposition->getQ();
+$R = $decomposition->getR();
+```
+
+or alternatively us the `Decomposition` factory, identifying which form of decomposition you want to use
+```php
+$grid = [
+ [1, 2],
+ [3, 4],
+];
+
+$matrix = new Matrix\Matrix($grid);
+
+$decomposition = Matrix\Decomposition\Decomposition::decomposition(Matrix\Decomposition\Decomposition::QR, $matrix);
+$Q = $decomposition->getQ();
+$R = $decomposition->getR();
+```
diff --git a/vendor/markbaker/matrix/buildPhar.php b/vendor/markbaker/matrix/buildPhar.php
new file mode 100644
index 0000000..e1b8f96
--- /dev/null
+++ b/vendor/markbaker/matrix/buildPhar.php
@@ -0,0 +1,62 @@
+ 'Mark Baker ',
+ 'Description' => 'PHP Class for working with Matrix numbers',
+ 'Copyright' => 'Mark Baker (c) 2013-' . date('Y'),
+ 'Timestamp' => time(),
+ 'Version' => '0.1.0',
+ 'Date' => date('Y-m-d')
+);
+
+// cleanup
+if (file_exists($pharName)) {
+ echo "Removed: {$pharName}\n";
+ unlink($pharName);
+}
+
+echo "Building phar file...\n";
+
+// the phar object
+$phar = new Phar($pharName, null, 'Matrix');
+$phar->buildFromDirectory($sourceDir);
+$phar->setStub(
+<<<'EOT'
+getMessage());
+ exit(1);
+ }
+
+ include 'phar://functions/sqrt.php';
+
+ __HALT_COMPILER();
+EOT
+);
+$phar->setMetadata($metaData);
+$phar->compressFiles(Phar::GZ);
+
+echo "Complete.\n";
+
+exit();
diff --git a/vendor/markbaker/matrix/classes/src/Builder.php b/vendor/markbaker/matrix/classes/src/Builder.php
new file mode 100644
index 0000000..161bb68
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Builder.php
@@ -0,0 +1,70 @@
+toArray();
+
+ for ($x = 0; $x < $dimensions; ++$x) {
+ $grid[$x][$x] = 1;
+ }
+
+ return new Matrix($grid);
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Decomposition/Decomposition.php b/vendor/markbaker/matrix/classes/src/Decomposition/Decomposition.php
new file mode 100644
index 0000000..f014448
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Decomposition/Decomposition.php
@@ -0,0 +1,27 @@
+luMatrix = $matrix->toArray();
+ $this->rows = $matrix->rows;
+ $this->columns = $matrix->columns;
+
+ $this->buildPivot();
+ }
+
+ /**
+ * Get lower triangular factor.
+ *
+ * @return Matrix Lower triangular factor
+ */
+ public function getL(): Matrix
+ {
+ $lower = [];
+
+ $columns = min($this->rows, $this->columns);
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $columns; ++$column) {
+ if ($row > $column) {
+ $lower[$row][$column] = $this->luMatrix[$row][$column];
+ } elseif ($row === $column) {
+ $lower[$row][$column] = 1.0;
+ } else {
+ $lower[$row][$column] = 0.0;
+ }
+ }
+ }
+
+ return new Matrix($lower);
+ }
+
+ /**
+ * Get upper triangular factor.
+ *
+ * @return Matrix Upper triangular factor
+ */
+ public function getU(): Matrix
+ {
+ $upper = [];
+
+ $rows = min($this->rows, $this->columns);
+ for ($row = 0; $row < $rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ if ($row <= $column) {
+ $upper[$row][$column] = $this->luMatrix[$row][$column];
+ } else {
+ $upper[$row][$column] = 0.0;
+ }
+ }
+ }
+
+ return new Matrix($upper);
+ }
+
+ /**
+ * Return pivot permutation vector.
+ *
+ * @return Matrix Pivot matrix
+ */
+ public function getP(): Matrix
+ {
+ $pMatrix = [];
+
+ $pivots = $this->pivot;
+ $pivotCount = count($pivots);
+ foreach ($pivots as $row => $pivot) {
+ $pMatrix[$row] = array_fill(0, $pivotCount, 0);
+ $pMatrix[$row][$pivot] = 1;
+ }
+
+ return new Matrix($pMatrix);
+ }
+
+ /**
+ * Return pivot permutation vector.
+ *
+ * @return array Pivot vector
+ */
+ public function getPivot(): array
+ {
+ return $this->pivot;
+ }
+
+ /**
+ * Is the matrix nonsingular?
+ *
+ * @return bool true if U, and hence A, is nonsingular
+ */
+ public function isNonsingular(): bool
+ {
+ for ($diagonal = 0; $diagonal < $this->columns; ++$diagonal) {
+ if ($this->luMatrix[$diagonal][$diagonal] === 0.0) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ private function buildPivot(): void
+ {
+ for ($row = 0; $row < $this->rows; ++$row) {
+ $this->pivot[$row] = $row;
+ }
+
+ for ($column = 0; $column < $this->columns; ++$column) {
+ $luColumn = $this->localisedReferenceColumn($column);
+
+ $this->applyTransformations($column, $luColumn);
+
+ $pivot = $this->findPivot($column, $luColumn);
+ if ($pivot !== $column) {
+ $this->pivotExchange($pivot, $column);
+ }
+
+ $this->computeMultipliers($column);
+
+ unset($luColumn);
+ }
+ }
+
+ private function localisedReferenceColumn($column): array
+ {
+ $luColumn = [];
+
+ for ($row = 0; $row < $this->rows; ++$row) {
+ $luColumn[$row] = &$this->luMatrix[$row][$column];
+ }
+
+ return $luColumn;
+ }
+
+ private function applyTransformations($column, array $luColumn): void
+ {
+ for ($row = 0; $row < $this->rows; ++$row) {
+ $luRow = $this->luMatrix[$row];
+ // Most of the time is spent in the following dot product.
+ $kmax = min($row, $column);
+ $sValue = 0.0;
+ for ($kValue = 0; $kValue < $kmax; ++$kValue) {
+ $sValue += $luRow[$kValue] * $luColumn[$kValue];
+ }
+ $luRow[$column] = $luColumn[$row] -= $sValue;
+ }
+ }
+
+ private function findPivot($column, array $luColumn): int
+ {
+ $pivot = $column;
+ for ($row = $column + 1; $row < $this->rows; ++$row) {
+ if (abs($luColumn[$row]) > abs($luColumn[$pivot])) {
+ $pivot = $row;
+ }
+ }
+
+ return $pivot;
+ }
+
+ private function pivotExchange($pivot, $column): void
+ {
+ for ($kValue = 0; $kValue < $this->columns; ++$kValue) {
+ $tValue = $this->luMatrix[$pivot][$kValue];
+ $this->luMatrix[$pivot][$kValue] = $this->luMatrix[$column][$kValue];
+ $this->luMatrix[$column][$kValue] = $tValue;
+ }
+
+ $lValue = $this->pivot[$pivot];
+ $this->pivot[$pivot] = $this->pivot[$column];
+ $this->pivot[$column] = $lValue;
+ }
+
+ private function computeMultipliers($diagonal): void
+ {
+ if (($diagonal < $this->rows) && ($this->luMatrix[$diagonal][$diagonal] != 0.0)) {
+ for ($row = $diagonal + 1; $row < $this->rows; ++$row) {
+ $this->luMatrix[$row][$diagonal] /= $this->luMatrix[$diagonal][$diagonal];
+ }
+ }
+ }
+
+ private function pivotB(Matrix $B): array
+ {
+ $X = [];
+ foreach ($this->pivot as $rowId) {
+ $row = $B->getRows($rowId + 1)->toArray();
+ $X[] = array_pop($row);
+ }
+
+ return $X;
+ }
+
+ /**
+ * Solve A*X = B.
+ *
+ * @param Matrix $B a Matrix with as many rows as A and any number of columns
+ *
+ * @throws Exception
+ *
+ * @return Matrix X so that L*U*X = B(piv,:)
+ */
+ public function solve(Matrix $B): Matrix
+ {
+ if ($B->rows !== $this->rows) {
+ throw new Exception('Matrix row dimensions are not equal');
+ }
+
+ if ($this->rows !== $this->columns) {
+ throw new Exception('LU solve() only works on square matrices');
+ }
+
+ if (!$this->isNonsingular()) {
+ throw new Exception('Can only perform operation on singular matrix');
+ }
+
+ // Copy right hand side with pivoting
+ $nx = $B->columns;
+ $X = $this->pivotB($B);
+
+ // Solve L*Y = B(piv,:)
+ for ($k = 0; $k < $this->columns; ++$k) {
+ for ($i = $k + 1; $i < $this->columns; ++$i) {
+ for ($j = 0; $j < $nx; ++$j) {
+ $X[$i][$j] -= $X[$k][$j] * $this->luMatrix[$i][$k];
+ }
+ }
+ }
+
+ // Solve U*X = Y;
+ for ($k = $this->columns - 1; $k >= 0; --$k) {
+ for ($j = 0; $j < $nx; ++$j) {
+ $X[$k][$j] /= $this->luMatrix[$k][$k];
+ }
+ for ($i = 0; $i < $k; ++$i) {
+ for ($j = 0; $j < $nx; ++$j) {
+ $X[$i][$j] -= $X[$k][$j] * $this->luMatrix[$i][$k];
+ }
+ }
+ }
+
+ return new Matrix($X);
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Decomposition/QR.php b/vendor/markbaker/matrix/classes/src/Decomposition/QR.php
new file mode 100644
index 0000000..4b6106f
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Decomposition/QR.php
@@ -0,0 +1,191 @@
+qrMatrix = $matrix->toArray();
+ $this->rows = $matrix->rows;
+ $this->columns = $matrix->columns;
+
+ $this->decompose();
+ }
+
+ public function getHouseholdVectors(): Matrix
+ {
+ $householdVectors = [];
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ if ($row >= $column) {
+ $householdVectors[$row][$column] = $this->qrMatrix[$row][$column];
+ } else {
+ $householdVectors[$row][$column] = 0.0;
+ }
+ }
+ }
+
+ return new Matrix($householdVectors);
+ }
+
+ public function getQ(): Matrix
+ {
+ $qGrid = [];
+
+ $rowCount = $this->rows;
+ for ($k = $this->columns - 1; $k >= 0; --$k) {
+ for ($i = 0; $i < $this->rows; ++$i) {
+ $qGrid[$i][$k] = 0.0;
+ }
+ $qGrid[$k][$k] = 1.0;
+ if ($this->columns > $this->rows) {
+ $qGrid = array_slice($qGrid, 0, $this->rows);
+ }
+
+ for ($j = $k; $j < $this->columns; ++$j) {
+ if (isset($this->qrMatrix[$k], $this->qrMatrix[$k][$k]) && $this->qrMatrix[$k][$k] != 0.0) {
+ $s = 0.0;
+ for ($i = $k; $i < $this->rows; ++$i) {
+ $s += $this->qrMatrix[$i][$k] * $qGrid[$i][$j];
+ }
+ $s = -$s / $this->qrMatrix[$k][$k];
+ for ($i = $k; $i < $this->rows; ++$i) {
+ $qGrid[$i][$j] += $s * $this->qrMatrix[$i][$k];
+ }
+ }
+ }
+ }
+
+ array_walk(
+ $qGrid,
+ function (&$row) use ($rowCount) {
+ $row = array_reverse($row);
+ $row = array_slice($row, 0, $rowCount);
+ }
+ );
+
+ return new Matrix($qGrid);
+ }
+
+ public function getR(): Matrix
+ {
+ $rGrid = [];
+
+ for ($row = 0; $row < $this->columns; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ if ($row < $column) {
+ $rGrid[$row][$column] = $this->qrMatrix[$row][$column] ?? 0.0;
+ } elseif ($row === $column) {
+ $rGrid[$row][$column] = $this->rDiagonal[$row] ?? 0.0;
+ } else {
+ $rGrid[$row][$column] = 0.0;
+ }
+ }
+ }
+
+ if ($this->columns > $this->rows) {
+ $rGrid = array_slice($rGrid, 0, $this->rows);
+ }
+
+ return new Matrix($rGrid);
+ }
+
+ private function hypo($a, $b): float
+ {
+ if (abs($a) > abs($b)) {
+ $r = $b / $a;
+ $r = abs($a) * sqrt(1 + $r * $r);
+ } elseif ($b != 0.0) {
+ $r = $a / $b;
+ $r = abs($b) * sqrt(1 + $r * $r);
+ } else {
+ $r = 0.0;
+ }
+
+ return $r;
+ }
+
+ /**
+ * QR Decomposition computed by Householder reflections.
+ */
+ private function decompose(): void
+ {
+ for ($k = 0; $k < $this->columns; ++$k) {
+ // Compute 2-norm of k-th column without under/overflow.
+ $norm = 0.0;
+ for ($i = $k; $i < $this->rows; ++$i) {
+ $norm = $this->hypo($norm, $this->qrMatrix[$i][$k]);
+ }
+ if ($norm != 0.0) {
+ // Form k-th Householder vector.
+ if ($this->qrMatrix[$k][$k] < 0.0) {
+ $norm = -$norm;
+ }
+ for ($i = $k; $i < $this->rows; ++$i) {
+ $this->qrMatrix[$i][$k] /= $norm;
+ }
+ $this->qrMatrix[$k][$k] += 1.0;
+ // Apply transformation to remaining columns.
+ for ($j = $k + 1; $j < $this->columns; ++$j) {
+ $s = 0.0;
+ for ($i = $k; $i < $this->rows; ++$i) {
+ $s += $this->qrMatrix[$i][$k] * $this->qrMatrix[$i][$j];
+ }
+ $s = -$s / $this->qrMatrix[$k][$k];
+ for ($i = $k; $i < $this->rows; ++$i) {
+ $this->qrMatrix[$i][$j] += $s * $this->qrMatrix[$i][$k];
+ }
+ }
+ }
+ $this->rDiagonal[$k] = -$norm;
+ }
+ }
+
+ public function isFullRank(): bool
+ {
+ for ($j = 0; $j < $this->columns; ++$j) {
+ if ($this->rDiagonal[$j] == 0.0) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Least squares solution of A*X = B.
+ *
+ * @param Matrix $B a Matrix with as many rows as A and any number of columns
+ *
+ * @throws Exception
+ *
+ * @return Matrix matrix that minimizes the two norm of Q*R*X-B
+ */
+ public function solve(Matrix $B): Matrix
+ {
+ if ($B->rows !== $this->rows) {
+ throw new Exception('Matrix row dimensions are not equal');
+ }
+
+ if (!$this->isFullRank()) {
+ throw new Exception('Can only perform this operation on a full-rank matrix');
+ }
+
+ // Compute Y = transpose(Q)*B
+ $Y = $this->getQ()->transpose()
+ ->multiply($B);
+ // Solve R*X = Y;
+ return $this->getR()->inverse()
+ ->multiply($Y);
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Div0Exception.php b/vendor/markbaker/matrix/classes/src/Div0Exception.php
new file mode 100644
index 0000000..eba28f8
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Div0Exception.php
@@ -0,0 +1,13 @@
+isSquare()) {
+ throw new Exception('Adjoint can only be calculated for a square matrix');
+ }
+
+ return self::getAdjoint($matrix);
+ }
+
+ /**
+ * Calculate the cofactors of the matrix
+ *
+ * @param Matrix $matrix The matrix whose cofactors we wish to calculate
+ * @return Matrix
+ *
+ * @throws Exception
+ */
+ private static function getCofactors(Matrix $matrix)
+ {
+ $cofactors = self::getMinors($matrix);
+ $dimensions = $matrix->rows;
+
+ $cof = 1;
+ for ($i = 0; $i < $dimensions; ++$i) {
+ $cofs = $cof;
+ for ($j = 0; $j < $dimensions; ++$j) {
+ $cofactors[$i][$j] *= $cofs;
+ $cofs = -$cofs;
+ }
+ $cof = -$cof;
+ }
+
+ return new Matrix($cofactors);
+ }
+
+ /**
+ * Return the cofactors of this matrix
+ *
+ * @param Matrix|array $matrix The matrix whose cofactors we wish to calculate
+ * @return Matrix
+ *
+ * @throws Exception
+ */
+ public static function cofactors($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Cofactors can only be calculated for a square matrix');
+ }
+
+ return self::getCofactors($matrix);
+ }
+
+ /**
+ * @param Matrix $matrix
+ * @param int $row
+ * @param int $column
+ * @return float
+ * @throws Exception
+ */
+ private static function getDeterminantSegment(Matrix $matrix, $row, $column)
+ {
+ $tmpMatrix = $matrix->toArray();
+ unset($tmpMatrix[$row]);
+ array_walk(
+ $tmpMatrix,
+ function (&$row) use ($column) {
+ unset($row[$column]);
+ }
+ );
+
+ return self::getDeterminant(new Matrix($tmpMatrix));
+ }
+
+ /**
+ * Calculate the determinant of the matrix
+ *
+ * @param Matrix $matrix The matrix whose determinant we wish to calculate
+ * @return float
+ *
+ * @throws Exception
+ */
+ private static function getDeterminant(Matrix $matrix)
+ {
+ $dimensions = $matrix->rows;
+ $determinant = 0;
+
+ switch ($dimensions) {
+ case 1:
+ $determinant = $matrix->getValue(1, 1);
+ break;
+ case 2:
+ $determinant = $matrix->getValue(1, 1) * $matrix->getValue(2, 2) -
+ $matrix->getValue(1, 2) * $matrix->getValue(2, 1);
+ break;
+ default:
+ for ($i = 1; $i <= $dimensions; ++$i) {
+ $det = $matrix->getValue(1, $i) * self::getDeterminantSegment($matrix, 0, $i - 1);
+ if (($i % 2) == 0) {
+ $determinant -= $det;
+ } else {
+ $determinant += $det;
+ }
+ }
+ break;
+ }
+
+ return $determinant;
+ }
+
+ /**
+ * Return the determinant of this matrix
+ *
+ * @param Matrix|array $matrix The matrix whose determinant we wish to calculate
+ * @return float
+ * @throws Exception
+ **/
+ public static function determinant($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Determinant can only be calculated for a square matrix');
+ }
+
+ return self::getDeterminant($matrix);
+ }
+
+ /**
+ * Return the diagonal of this matrix
+ *
+ * @param Matrix|array $matrix The matrix whose diagonal we wish to calculate
+ * @return Matrix
+ * @throws Exception
+ **/
+ public static function diagonal($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Diagonal can only be extracted from a square matrix');
+ }
+
+ $dimensions = $matrix->rows;
+ $grid = Builder::createFilledMatrix(0, $dimensions, $dimensions)
+ ->toArray();
+
+ for ($i = 0; $i < $dimensions; ++$i) {
+ $grid[$i][$i] = $matrix->getValue($i + 1, $i + 1);
+ }
+
+ return new Matrix($grid);
+ }
+
+ /**
+ * Return the antidiagonal of this matrix
+ *
+ * @param Matrix|array $matrix The matrix whose antidiagonal we wish to calculate
+ * @return Matrix
+ * @throws Exception
+ **/
+ public static function antidiagonal($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Anti-Diagonal can only be extracted from a square matrix');
+ }
+
+ $dimensions = $matrix->rows;
+ $grid = Builder::createFilledMatrix(0, $dimensions, $dimensions)
+ ->toArray();
+
+ for ($i = 0; $i < $dimensions; ++$i) {
+ $grid[$i][$dimensions - $i - 1] = $matrix->getValue($i + 1, $dimensions - $i);
+ }
+
+ return new Matrix($grid);
+ }
+
+ /**
+ * Return the identity matrix
+ * The identity matrix, or sometimes ambiguously called a unit matrix, of size n is the n × n square matrix
+ * with ones on the main diagonal and zeros elsewhere
+ *
+ * @param Matrix|array $matrix The matrix whose identity we wish to calculate
+ * @return Matrix
+ * @throws Exception
+ **/
+ public static function identity($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Identity can only be created for a square matrix');
+ }
+
+ $dimensions = $matrix->rows;
+
+ return Builder::createIdentityMatrix($dimensions);
+ }
+
+ /**
+ * Return the inverse of this matrix
+ *
+ * @param Matrix|array $matrix The matrix whose inverse we wish to calculate
+ * @return Matrix
+ * @throws Exception
+ **/
+ public static function inverse($matrix, string $type = 'inverse')
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception(ucfirst($type) . ' can only be calculated for a square matrix');
+ }
+
+ $determinant = self::getDeterminant($matrix);
+ if ($determinant == 0.0) {
+ throw new Div0Exception(ucfirst($type) . ' can only be calculated for a matrix with a non-zero determinant');
+ }
+
+ if ($matrix->rows == 1) {
+ return new Matrix([[1 / $matrix->getValue(1, 1)]]);
+ }
+
+ return self::getAdjoint($matrix)
+ ->multiply(1 / $determinant);
+ }
+
+ /**
+ * Calculate the minors of the matrix
+ *
+ * @param Matrix $matrix The matrix whose minors we wish to calculate
+ * @return array[]
+ *
+ * @throws Exception
+ */
+ protected static function getMinors(Matrix $matrix)
+ {
+ $minors = $matrix->toArray();
+ $dimensions = $matrix->rows;
+ if ($dimensions == 1) {
+ return $minors;
+ }
+
+ for ($i = 0; $i < $dimensions; ++$i) {
+ for ($j = 0; $j < $dimensions; ++$j) {
+ $minors[$i][$j] = self::getDeterminantSegment($matrix, $i, $j);
+ }
+ }
+
+ return $minors;
+ }
+
+ /**
+ * Return the minors of the matrix
+ * The minor of a matrix A is the determinant of some smaller square matrix, cut down from A by removing one or
+ * more of its rows or columns.
+ * Minors obtained by removing just one row and one column from square matrices (first minors) are required for
+ * calculating matrix cofactors, which in turn are useful for computing both the determinant and inverse of
+ * square matrices.
+ *
+ * @param Matrix|array $matrix The matrix whose minors we wish to calculate
+ * @return Matrix
+ * @throws Exception
+ **/
+ public static function minors($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Minors can only be calculated for a square matrix');
+ }
+
+ return new Matrix(self::getMinors($matrix));
+ }
+
+ /**
+ * Return the trace of this matrix
+ * The trace is defined as the sum of the elements on the main diagonal (the diagonal from the upper left to the lower right)
+ * of the matrix
+ *
+ * @param Matrix|array $matrix The matrix whose trace we wish to calculate
+ * @return float
+ * @throws Exception
+ **/
+ public static function trace($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ if (!$matrix->isSquare()) {
+ throw new Exception('Trace can only be extracted from a square matrix');
+ }
+
+ $dimensions = $matrix->rows;
+ $result = 0;
+ for ($i = 1; $i <= $dimensions; ++$i) {
+ $result += $matrix->getValue($i, $i);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Return the transpose of this matrix
+ *
+ * @param Matrix|\a $matrix The matrix whose transpose we wish to calculate
+ * @return Matrix
+ **/
+ public static function transpose($matrix)
+ {
+ $matrix = self::validateMatrix($matrix);
+
+ $array = array_values(array_merge([null], $matrix->toArray()));
+ $grid = call_user_func_array(
+ 'array_map',
+ $array
+ );
+
+ return new Matrix($grid);
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Matrix.php b/vendor/markbaker/matrix/classes/src/Matrix.php
new file mode 100644
index 0000000..95f55e7
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Matrix.php
@@ -0,0 +1,423 @@
+buildFromArray(array_values($grid));
+ }
+
+ /*
+ * Create a new Matrix object from an array of values
+ *
+ * @param array $grid
+ */
+ protected function buildFromArray(array $grid): void
+ {
+ $this->rows = count($grid);
+ $columns = array_reduce(
+ $grid,
+ function ($carry, $value) {
+ return max($carry, is_array($value) ? count($value) : 1);
+ }
+ );
+ $this->columns = $columns;
+
+ array_walk(
+ $grid,
+ function (&$value) use ($columns) {
+ if (!is_array($value)) {
+ $value = [$value];
+ }
+ $value = array_pad(array_values($value), $columns, null);
+ }
+ );
+
+ $this->grid = $grid;
+ }
+
+ /**
+ * Validate that a row number is a positive integer
+ *
+ * @param int $row
+ * @return int
+ * @throws Exception
+ */
+ public static function validateRow(int $row): int
+ {
+ if ((!is_numeric($row)) || (intval($row) < 1)) {
+ throw new Exception('Invalid Row');
+ }
+
+ return (int)$row;
+ }
+
+ /**
+ * Validate that a column number is a positive integer
+ *
+ * @param int $column
+ * @return int
+ * @throws Exception
+ */
+ public static function validateColumn(int $column): int
+ {
+ if ((!is_numeric($column)) || (intval($column) < 1)) {
+ throw new Exception('Invalid Column');
+ }
+
+ return (int)$column;
+ }
+
+ /**
+ * Validate that a row number falls within the set of rows for this matrix
+ *
+ * @param int $row
+ * @return int
+ * @throws Exception
+ */
+ protected function validateRowInRange(int $row): int
+ {
+ $row = static::validateRow($row);
+ if ($row > $this->rows) {
+ throw new Exception('Requested Row exceeds matrix size');
+ }
+
+ return $row;
+ }
+
+ /**
+ * Validate that a column number falls within the set of columns for this matrix
+ *
+ * @param int $column
+ * @return int
+ * @throws Exception
+ */
+ protected function validateColumnInRange(int $column): int
+ {
+ $column = static::validateColumn($column);
+ if ($column > $this->columns) {
+ throw new Exception('Requested Column exceeds matrix size');
+ }
+
+ return $column;
+ }
+
+ /**
+ * Return a new matrix as a subset of rows from this matrix, starting at row number $row, and $rowCount rows
+ * A $rowCount value of 0 will return all rows of the matrix from $row
+ * A negative $rowCount value will return rows until that many rows from the end of the matrix
+ *
+ * Note that row numbers start from 1, not from 0
+ *
+ * @param int $row
+ * @param int $rowCount
+ * @return static
+ * @throws Exception
+ */
+ public function getRows(int $row, int $rowCount = 1): Matrix
+ {
+ $row = $this->validateRowInRange($row);
+ if ($rowCount === 0) {
+ $rowCount = $this->rows - $row + 1;
+ }
+
+ return new static(array_slice($this->grid, $row - 1, (int)$rowCount));
+ }
+
+ /**
+ * Return a new matrix as a subset of columns from this matrix, starting at column number $column, and $columnCount columns
+ * A $columnCount value of 0 will return all columns of the matrix from $column
+ * A negative $columnCount value will return columns until that many columns from the end of the matrix
+ *
+ * Note that column numbers start from 1, not from 0
+ *
+ * @param int $column
+ * @param int $columnCount
+ * @return Matrix
+ * @throws Exception
+ */
+ public function getColumns(int $column, int $columnCount = 1): Matrix
+ {
+ $column = $this->validateColumnInRange($column);
+ if ($columnCount < 1) {
+ $columnCount = $this->columns + $columnCount - $column + 1;
+ }
+
+ $grid = [];
+ for ($i = $column - 1; $i < $column + $columnCount - 1; ++$i) {
+ $grid[] = array_column($this->grid, $i);
+ }
+
+ return (new static($grid))->transpose();
+ }
+
+ /**
+ * Return a new matrix as a subset of rows from this matrix, dropping rows starting at row number $row,
+ * and $rowCount rows
+ * A negative $rowCount value will drop rows until that many rows from the end of the matrix
+ * A $rowCount value of 0 will remove all rows of the matrix from $row
+ *
+ * Note that row numbers start from 1, not from 0
+ *
+ * @param int $row
+ * @param int $rowCount
+ * @return static
+ * @throws Exception
+ */
+ public function dropRows(int $row, int $rowCount = 1): Matrix
+ {
+ $this->validateRowInRange($row);
+ if ($rowCount === 0) {
+ $rowCount = $this->rows - $row + 1;
+ }
+
+ $grid = $this->grid;
+ array_splice($grid, $row - 1, (int)$rowCount);
+
+ return new static($grid);
+ }
+
+ /**
+ * Return a new matrix as a subset of columns from this matrix, dropping columns starting at column number $column,
+ * and $columnCount columns
+ * A negative $columnCount value will drop columns until that many columns from the end of the matrix
+ * A $columnCount value of 0 will remove all columns of the matrix from $column
+ *
+ * Note that column numbers start from 1, not from 0
+ *
+ * @param int $column
+ * @param int $columnCount
+ * @return static
+ * @throws Exception
+ */
+ public function dropColumns(int $column, int $columnCount = 1): Matrix
+ {
+ $this->validateColumnInRange($column);
+ if ($columnCount < 1) {
+ $columnCount = $this->columns + $columnCount - $column + 1;
+ }
+
+ $grid = $this->grid;
+ array_walk(
+ $grid,
+ function (&$row) use ($column, $columnCount) {
+ array_splice($row, $column - 1, (int)$columnCount);
+ }
+ );
+
+ return new static($grid);
+ }
+
+ /**
+ * Return a value from this matrix, from the "cell" identified by the row and column numbers
+ * Note that row and column numbers start from 1, not from 0
+ *
+ * @param int $row
+ * @param int $column
+ * @return mixed
+ * @throws Exception
+ */
+ public function getValue(int $row, int $column)
+ {
+ $row = $this->validateRowInRange($row);
+ $column = $this->validateColumnInRange($column);
+
+ return $this->grid[$row - 1][$column - 1];
+ }
+
+ /**
+ * Returns a Generator that will yield each row of the matrix in turn as a vector matrix
+ * or the value of each cell if the matrix is a column vector
+ *
+ * @return Generator|Matrix[]|mixed[]
+ */
+ public function rows(): Generator
+ {
+ foreach ($this->grid as $i => $row) {
+ yield $i + 1 => ($this->columns == 1)
+ ? $row[0]
+ : new static([$row]);
+ }
+ }
+
+ /**
+ * Returns a Generator that will yield each column of the matrix in turn as a vector matrix
+ * or the value of each cell if the matrix is a row vector
+ *
+ * @return Generator|Matrix[]|mixed[]
+ */
+ public function columns(): Generator
+ {
+ for ($i = 0; $i < $this->columns; ++$i) {
+ yield $i + 1 => ($this->rows == 1)
+ ? $this->grid[0][$i]
+ : new static(array_column($this->grid, $i));
+ }
+ }
+
+ /**
+ * Identify if the row and column dimensions of this matrix are equal,
+ * i.e. if it is a "square" matrix
+ *
+ * @return bool
+ */
+ public function isSquare(): bool
+ {
+ return $this->rows === $this->columns;
+ }
+
+ /**
+ * Identify if this matrix is a vector
+ * i.e. if it comprises only a single row or a single column
+ *
+ * @return bool
+ */
+ public function isVector(): bool
+ {
+ return $this->rows === 1 || $this->columns === 1;
+ }
+
+ /**
+ * Return the matrix as a 2-dimensional array
+ *
+ * @return array
+ */
+ public function toArray(): array
+ {
+ return $this->grid;
+ }
+
+ /**
+ * Solve A*X = B.
+ *
+ * @param Matrix $B Right hand side
+ *
+ * @throws Exception
+ *
+ * @return Matrix ... Solution if A is square, least squares solution otherwise
+ */
+ public function solve(Matrix $B): Matrix
+ {
+ if ($this->columns === $this->rows) {
+ return (new LU($this))->solve($B);
+ }
+
+ return (new QR($this))->solve($B);
+ }
+
+ protected static $getters = [
+ 'rows',
+ 'columns',
+ ];
+
+ /**
+ * Access specific properties as read-only (no setters)
+ *
+ * @param string $propertyName
+ * @return mixed
+ * @throws Exception
+ */
+ public function __get(string $propertyName)
+ {
+ $propertyName = strtolower($propertyName);
+
+ // Test for function calls
+ if (in_array($propertyName, self::$getters)) {
+ return $this->$propertyName;
+ }
+
+ throw new Exception('Property does not exist');
+ }
+
+ protected static $functions = [
+ 'adjoint',
+ 'antidiagonal',
+ 'cofactors',
+ 'determinant',
+ 'diagonal',
+ 'identity',
+ 'inverse',
+ 'minors',
+ 'trace',
+ 'transpose',
+ ];
+
+ protected static $operations = [
+ 'add',
+ 'subtract',
+ 'multiply',
+ 'divideby',
+ 'divideinto',
+ 'directsum',
+ ];
+
+ /**
+ * Returns the result of the function call or operation
+ *
+ * @param string $functionName
+ * @param mixed[] $arguments
+ * @return Matrix|float
+ * @throws Exception
+ */
+ public function __call(string $functionName, $arguments)
+ {
+ $functionName = strtolower(str_replace('_', '', $functionName));
+
+ // Test for function calls
+ if (in_array($functionName, self::$functions, true)) {
+ return Functions::$functionName($this, ...$arguments);
+ }
+ // Test for operation calls
+ if (in_array($functionName, self::$operations, true)) {
+ return Operations::$functionName($this, ...$arguments);
+ }
+ throw new Exception('Function or Operation does not exist');
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operations.php b/vendor/markbaker/matrix/classes/src/Operations.php
new file mode 100644
index 0000000..e3d88d6
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operations.php
@@ -0,0 +1,157 @@
+execute($matrix);
+ }
+
+ return $result->result();
+ }
+
+ public static function directsum(...$matrixValues): Matrix
+ {
+ if (count($matrixValues) < 2) {
+ throw new Exception('DirectSum operation requires at least 2 arguments');
+ }
+
+ $matrix = array_shift($matrixValues);
+
+ if (is_array($matrix)) {
+ $matrix = new Matrix($matrix);
+ }
+ if (!$matrix instanceof Matrix) {
+ throw new Exception('DirectSum arguments must be Matrix or array');
+ }
+
+ $result = new DirectSum($matrix);
+
+ foreach ($matrixValues as $matrix) {
+ $result->execute($matrix);
+ }
+
+ return $result->result();
+ }
+
+ public static function divideby(...$matrixValues): Matrix
+ {
+ if (count($matrixValues) < 2) {
+ throw new Exception('Division operation requires at least 2 arguments');
+ }
+
+ $matrix = array_shift($matrixValues);
+
+ if (is_array($matrix)) {
+ $matrix = new Matrix($matrix);
+ }
+ if (!$matrix instanceof Matrix) {
+ throw new Exception('Division arguments must be Matrix or array');
+ }
+
+ $result = new Division($matrix);
+
+ foreach ($matrixValues as $matrix) {
+ $result->execute($matrix);
+ }
+
+ return $result->result();
+ }
+
+ public static function divideinto(...$matrixValues): Matrix
+ {
+ if (count($matrixValues) < 2) {
+ throw new Exception('Division operation requires at least 2 arguments');
+ }
+
+ $matrix = array_pop($matrixValues);
+ $matrixValues = array_reverse($matrixValues);
+
+ if (is_array($matrix)) {
+ $matrix = new Matrix($matrix);
+ }
+ if (!$matrix instanceof Matrix) {
+ throw new Exception('Division arguments must be Matrix or array');
+ }
+
+ $result = new Division($matrix);
+
+ foreach ($matrixValues as $matrix) {
+ $result->execute($matrix);
+ }
+
+ return $result->result();
+ }
+
+ public static function multiply(...$matrixValues): Matrix
+ {
+ if (count($matrixValues) < 2) {
+ throw new Exception('Multiplication operation requires at least 2 arguments');
+ }
+
+ $matrix = array_shift($matrixValues);
+
+ if (is_array($matrix)) {
+ $matrix = new Matrix($matrix);
+ }
+ if (!$matrix instanceof Matrix) {
+ throw new Exception('Multiplication arguments must be Matrix or array');
+ }
+
+ $result = new Multiplication($matrix);
+
+ foreach ($matrixValues as $matrix) {
+ $result->execute($matrix);
+ }
+
+ return $result->result();
+ }
+
+ public static function subtract(...$matrixValues): Matrix
+ {
+ if (count($matrixValues) < 2) {
+ throw new Exception('Subtraction operation requires at least 2 arguments');
+ }
+
+ $matrix = array_shift($matrixValues);
+
+ if (is_array($matrix)) {
+ $matrix = new Matrix($matrix);
+ }
+ if (!$matrix instanceof Matrix) {
+ throw new Exception('Subtraction arguments must be Matrix or array');
+ }
+
+ $result = new Subtraction($matrix);
+
+ foreach ($matrixValues as $matrix) {
+ $result->execute($matrix);
+ }
+
+ return $result->result();
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operators/Addition.php b/vendor/markbaker/matrix/classes/src/Operators/Addition.php
new file mode 100644
index 0000000..543f56e
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operators/Addition.php
@@ -0,0 +1,68 @@
+addMatrix($value);
+ } elseif (is_numeric($value)) {
+ return $this->addScalar($value);
+ }
+
+ throw new Exception('Invalid argument for addition');
+ }
+
+ /**
+ * Execute the addition for a scalar
+ *
+ * @param mixed $value The numeric value to add to the current base value
+ * @return $this The operation object, allowing multiple additions to be chained
+ **/
+ protected function addScalar($value): Operator
+ {
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ $this->matrix[$row][$column] += $value;
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Execute the addition for a matrix
+ *
+ * @param Matrix $value The numeric value to add to the current base value
+ * @return $this The operation object, allowing multiple additions to be chained
+ * @throws Exception If the provided argument is not appropriate for the operation
+ **/
+ protected function addMatrix(Matrix $value): Operator
+ {
+ $this->validateMatchingDimensions($value);
+
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ $this->matrix[$row][$column] += $value->getValue($row + 1, $column + 1);
+ }
+ }
+
+ return $this;
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operators/DirectSum.php b/vendor/markbaker/matrix/classes/src/Operators/DirectSum.php
new file mode 100644
index 0000000..cc51ef9
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operators/DirectSum.php
@@ -0,0 +1,64 @@
+directSumMatrix($value);
+ }
+
+ throw new Exception('Invalid argument for addition');
+ }
+
+ /**
+ * Execute the direct sum for a matrix
+ *
+ * @param Matrix $value The numeric value to concatenate/direct sum with the current base value
+ * @return $this The operation object, allowing multiple additions to be chained
+ **/
+ private function directSumMatrix($value): Operator
+ {
+ $originalColumnCount = count($this->matrix[0]);
+ $originalRowCount = count($this->matrix);
+ $valColumnCount = $value->columns;
+ $valRowCount = $value->rows;
+ $value = $value->toArray();
+
+ for ($row = 0; $row < $this->rows; ++$row) {
+ $this->matrix[$row] = array_merge($this->matrix[$row], array_fill(0, $valColumnCount, 0));
+ }
+
+ $this->matrix = array_merge(
+ $this->matrix,
+ array_fill(0, $valRowCount, array_fill(0, $originalColumnCount, 0))
+ );
+
+ for ($row = $originalRowCount; $row < $originalRowCount + $valRowCount; ++$row) {
+ array_splice(
+ $this->matrix[$row],
+ $originalColumnCount,
+ $valColumnCount,
+ $value[$row - $originalRowCount]
+ );
+ }
+
+ return $this;
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operators/Division.php b/vendor/markbaker/matrix/classes/src/Operators/Division.php
new file mode 100644
index 0000000..dbfec9d
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operators/Division.php
@@ -0,0 +1,35 @@
+multiplyMatrix($value, $type);
+ } elseif (is_numeric($value)) {
+ return $this->multiplyScalar(1 / $value, $type);
+ }
+
+ throw new Exception('Invalid argument for division');
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operators/Multiplication.php b/vendor/markbaker/matrix/classes/src/Operators/Multiplication.php
new file mode 100644
index 0000000..0761e46
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operators/Multiplication.php
@@ -0,0 +1,86 @@
+multiplyMatrix($value, $type);
+ } elseif (is_numeric($value)) {
+ return $this->multiplyScalar($value, $type);
+ }
+
+ throw new Exception("Invalid argument for $type");
+ }
+
+ /**
+ * Execute the multiplication for a scalar
+ *
+ * @param mixed $value The numeric value to multiply with the current base value
+ * @return $this The operation object, allowing multiple mutiplications to be chained
+ **/
+ protected function multiplyScalar($value, string $type = 'multiplication'): Operator
+ {
+ try {
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ $this->matrix[$row][$column] *= $value;
+ }
+ }
+ } catch (Throwable $e) {
+ throw new Exception("Invalid argument for $type");
+ }
+
+ return $this;
+ }
+
+ /**
+ * Execute the multiplication for a matrix
+ *
+ * @param Matrix $value The numeric value to multiply with the current base value
+ * @return $this The operation object, allowing multiple mutiplications to be chained
+ * @throws Exception If the provided argument is not appropriate for the operation
+ **/
+ protected function multiplyMatrix(Matrix $value, string $type = 'multiplication'): Operator
+ {
+ $this->validateReflectingDimensions($value);
+
+ $newRows = $this->rows;
+ $newColumns = $value->columns;
+ $matrix = Builder::createFilledMatrix(0, $newRows, $newColumns)
+ ->toArray();
+ try {
+ for ($row = 0; $row < $newRows; ++$row) {
+ for ($column = 0; $column < $newColumns; ++$column) {
+ $columnData = $value->getColumns($column + 1)->toArray();
+ foreach ($this->matrix[$row] as $key => $valueData) {
+ $matrix[$row][$column] += $valueData * $columnData[$key][0];
+ }
+ }
+ }
+ } catch (Throwable $e) {
+ throw new Exception("Invalid argument for $type");
+ }
+ $this->matrix = $matrix;
+
+ return $this;
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operators/Operator.php b/vendor/markbaker/matrix/classes/src/Operators/Operator.php
new file mode 100644
index 0000000..39e36c6
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operators/Operator.php
@@ -0,0 +1,78 @@
+rows = $matrix->rows;
+ $this->columns = $matrix->columns;
+ $this->matrix = $matrix->toArray();
+ }
+
+ /**
+ * Compare the dimensions of the matrices being operated on to see if they are valid for addition/subtraction
+ *
+ * @param Matrix $matrix The second Matrix object on which the operation will be performed
+ * @throws Exception
+ */
+ protected function validateMatchingDimensions(Matrix $matrix): void
+ {
+ if (($this->rows != $matrix->rows) || ($this->columns != $matrix->columns)) {
+ throw new Exception('Matrices have mismatched dimensions');
+ }
+ }
+
+ /**
+ * Compare the dimensions of the matrices being operated on to see if they are valid for multiplication/division
+ *
+ * @param Matrix $matrix The second Matrix object on which the operation will be performed
+ * @throws Exception
+ */
+ protected function validateReflectingDimensions(Matrix $matrix): void
+ {
+ if ($this->columns != $matrix->rows) {
+ throw new Exception('Matrices have mismatched dimensions');
+ }
+ }
+
+ /**
+ * Return the result of the operation
+ *
+ * @return Matrix
+ */
+ public function result(): Matrix
+ {
+ return new Matrix($this->matrix);
+ }
+}
diff --git a/vendor/markbaker/matrix/classes/src/Operators/Subtraction.php b/vendor/markbaker/matrix/classes/src/Operators/Subtraction.php
new file mode 100644
index 0000000..b7e14fa
--- /dev/null
+++ b/vendor/markbaker/matrix/classes/src/Operators/Subtraction.php
@@ -0,0 +1,68 @@
+subtractMatrix($value);
+ } elseif (is_numeric($value)) {
+ return $this->subtractScalar($value);
+ }
+
+ throw new Exception('Invalid argument for subtraction');
+ }
+
+ /**
+ * Execute the subtraction for a scalar
+ *
+ * @param mixed $value The numeric value to subtracted from the current base value
+ * @return $this The operation object, allowing multiple additions to be chained
+ **/
+ protected function subtractScalar($value): Operator
+ {
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ $this->matrix[$row][$column] -= $value;
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Execute the subtraction for a matrix
+ *
+ * @param Matrix $value The numeric value to subtract from the current base value
+ * @return $this The operation object, allowing multiple subtractions to be chained
+ * @throws Exception If the provided argument is not appropriate for the operation
+ **/
+ protected function subtractMatrix(Matrix $value): Operator
+ {
+ $this->validateMatchingDimensions($value);
+
+ for ($row = 0; $row < $this->rows; ++$row) {
+ for ($column = 0; $column < $this->columns; ++$column) {
+ $this->matrix[$row][$column] -= $value->getValue($row + 1, $column + 1);
+ }
+ }
+
+ return $this;
+ }
+}
diff --git a/vendor/markbaker/matrix/composer.json b/vendor/markbaker/matrix/composer.json
new file mode 100644
index 0000000..e86a1e0
--- /dev/null
+++ b/vendor/markbaker/matrix/composer.json
@@ -0,0 +1,52 @@
+{
+ "name": "markbaker/matrix",
+ "type": "library",
+ "description": "PHP Class for working with matrices",
+ "keywords": ["matrix", "vector", "mathematics"],
+ "homepage": "https://github.com/MarkBaker/PHPMatrix",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Mark Baker",
+ "email": "mark@demon-angel.eu"
+ }
+ ],
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "phpdocumentor/phpdocumentor": "2.*",
+ "phpmd/phpmd": "2.*",
+ "sebastian/phpcpd": "^4.0",
+ "phploc/phploc": "^4.0",
+ "squizlabs/php_codesniffer": "^3.7",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
+ },
+ "autoload": {
+ "psr-4": {
+ "Matrix\\": "classes/src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "MatrixTest\\": "unitTests/classes/src/"
+ }
+ },
+ "scripts": {
+ "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
+ "test": "phpunit -c phpunit.xml.dist",
+ "mess": "phpmd classes/src/ xml codesize,unusedcode,design,naming -n",
+ "lines": "phploc classes/src/ -n",
+ "cpd": "phpcpd classes/src/ -n",
+ "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n",
+ "coverage": "phpunit -c phpunit.xml.dist --coverage-text --coverage-html ./build/coverage"
+ },
+ "minimum-stability": "dev",
+ "config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ }
+ }
+}
diff --git a/vendor/markbaker/matrix/examples/test.php b/vendor/markbaker/matrix/examples/test.php
new file mode 100644
index 0000000..071dae9
--- /dev/null
+++ b/vendor/markbaker/matrix/examples/test.php
@@ -0,0 +1,33 @@
+solve($target);
+
+echo 'X', PHP_EOL;
+var_export($X->toArray());
+echo PHP_EOL;
+
+$resolve = $matrix->multiply($X);
+
+echo 'Resolve', PHP_EOL;
+var_export($resolve->toArray());
+echo PHP_EOL;
diff --git a/vendor/markbaker/matrix/infection.json.dist b/vendor/markbaker/matrix/infection.json.dist
new file mode 100644
index 0000000..eddaa70
--- /dev/null
+++ b/vendor/markbaker/matrix/infection.json.dist
@@ -0,0 +1,17 @@
+{
+ "timeout": 1,
+ "source": {
+ "directories": [
+ "classes\/src"
+ ]
+ },
+ "logs": {
+ "text": "build/infection/text.log",
+ "summary": "build/infection/summary.log",
+ "debug": "build/infection/debug.log",
+ "perMutator": "build/infection/perMutator.md"
+ },
+ "mutators": {
+ "@default": true
+ }
+}
diff --git a/vendor/markbaker/matrix/license.md b/vendor/markbaker/matrix/license.md
new file mode 100644
index 0000000..7329058
--- /dev/null
+++ b/vendor/markbaker/matrix/license.md
@@ -0,0 +1,25 @@
+The MIT License (MIT)
+=====================
+
+Copyright © `2018` `Mark Baker`
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the “Softwareâ€), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS ISâ€, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/vendor/markbaker/matrix/phpstan.neon b/vendor/markbaker/matrix/phpstan.neon
new file mode 100644
index 0000000..3d90d49
--- /dev/null
+++ b/vendor/markbaker/matrix/phpstan.neon
@@ -0,0 +1,6 @@
+parameters:
+ ignoreErrors:
+ - '#Property [A-Za-z\\]+::\$[A-Za-z]+ has no typehint specified#'
+ - '#Method [A-Za-z\\]+::[A-Za-z]+\(\) has no return typehint specified#'
+ - '#Method [A-Za-z\\]+::[A-Za-z]+\(\) has parameter \$[A-Za-z0-9]+ with no typehint specified#'
+ checkMissingIterableValueType: false
diff --git a/vendor/myclabs/php-enum/LICENSE b/vendor/myclabs/php-enum/LICENSE
new file mode 100644
index 0000000..2a8cf22
--- /dev/null
+++ b/vendor/myclabs/php-enum/LICENSE
@@ -0,0 +1,18 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 My C-Labs
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
+associated documentation files (the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
+NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/myclabs/php-enum/README.md b/vendor/myclabs/php-enum/README.md
new file mode 100644
index 0000000..681d55e
--- /dev/null
+++ b/vendor/myclabs/php-enum/README.md
@@ -0,0 +1,194 @@
+# PHP Enum implementation inspired from SplEnum
+
+[![GitHub Actions][GA Image]][GA Link]
+[](https://packagist.org/packages/myclabs/php-enum)
+[](https://packagist.org/packages/myclabs/php-enum)
+[![Psalm Shepherd][Shepherd Image]][Shepherd Link]
+
+Maintenance for this project is [supported via Tidelift](https://tidelift.com/subscription/pkg/packagist-myclabs-php-enum?utm_source=packagist-myclabs-php-enum&utm_medium=referral&utm_campaign=readme).
+
+## Why?
+
+First, and mainly, `SplEnum` is not integrated to PHP, you have to install the extension separately.
+
+Using an enum instead of class constants provides the following advantages:
+
+- You can use an enum as a parameter type: `function setAction(Action $action) {`
+- You can use an enum as a return type: `function getAction() : Action {`
+- You can enrich the enum with methods (e.g. `format`, `parse`, …)
+- You can extend the enum to add new values (make your enum `final` to prevent it)
+- You can get a list of all the possible values (see below)
+
+This Enum class is not intended to replace class constants, but only to be used when it makes sense.
+
+## Installation
+
+```
+composer require myclabs/php-enum
+```
+
+## Declaration
+
+```php
+use MyCLabs\Enum\Enum;
+
+/**
+ * Action enum
+ */
+final class Action extends Enum
+{
+ private const VIEW = 'view';
+ private const EDIT = 'edit';
+}
+```
+
+## Usage
+
+```php
+$action = Action::VIEW();
+
+// or with a dynamic key:
+$action = Action::$key();
+// or with a dynamic value:
+$action = Action::from($value);
+// or
+$action = new Action($value);
+```
+
+As you can see, static methods are automatically implemented to provide quick access to an enum value.
+
+One advantage over using class constants is to be able to use an enum as a parameter type:
+
+```php
+function setAction(Action $action) {
+ // ...
+}
+```
+
+## Documentation
+
+- `__construct()` The constructor checks that the value exist in the enum
+- `__toString()` You can `echo $myValue`, it will display the enum value (value of the constant)
+- `getValue()` Returns the current value of the enum
+- `getKey()` Returns the key of the current value on Enum
+- `equals()` Tests whether enum instances are equal (returns `true` if enum values are equal, `false` otherwise)
+
+Static methods:
+
+- `from()` Creates an Enum instance, checking that the value exist in the enum
+- `toArray()` method Returns all possible values as an array (constant name in key, constant value in value)
+- `keys()` Returns the names (keys) of all constants in the Enum class
+- `values()` Returns instances of the Enum class of all Enum constants (constant name in key, Enum instance in value)
+- `isValid()` Check if tested value is valid on enum set
+- `isValidKey()` Check if tested key is valid on enum set
+- `assertValidValue()` Assert the value is valid on enum set, throwing exception otherwise
+- `search()` Return key for searched value
+
+### Static methods
+
+```php
+final class Action extends Enum
+{
+ private const VIEW = 'view';
+ private const EDIT = 'edit';
+}
+
+// Static method:
+$action = Action::VIEW();
+$action = Action::EDIT();
+```
+
+Static method helpers are implemented using [`__callStatic()`](http://www.php.net/manual/en/language.oop5.overloading.php#object.callstatic).
+
+If you care about IDE autocompletion, you can either implement the static methods yourself:
+
+```php
+final class Action extends Enum
+{
+ private const VIEW = 'view';
+
+ /**
+ * @return Action
+ */
+ public static function VIEW() {
+ return new Action(self::VIEW);
+ }
+}
+```
+
+or you can use phpdoc (this is supported in PhpStorm for example):
+
+```php
+/**
+ * @method static Action VIEW()
+ * @method static Action EDIT()
+ */
+final class Action extends Enum
+{
+ private const VIEW = 'view';
+ private const EDIT = 'edit';
+}
+```
+
+## Native enums and migration
+Native enum arrived to PHP in version 8.1: https://www.php.net/enumerations
+If your project is running PHP 8.1+ or your library has it as a minimum requirement you should use it instead of this library.
+
+When migrating from `myclabs/php-enum`, the effort should be small if the usage was in the recommended way:
+- private constants
+- final classes
+- no method overridden
+
+Changes for migration:
+- Class definition should be changed from
+```php
+/**
+ * @method static Action VIEW()
+ * @method static Action EDIT()
+ */
+final class Action extends Enum
+{
+ private const VIEW = 'view';
+ private const EDIT = 'edit';
+}
+```
+ to
+```php
+enum Action: string
+{
+ case VIEW = 'view';
+ case EDIT = 'edit';
+}
+```
+All places where the class was used as a type will continue to work.
+
+Usages and the change needed:
+
+| Operation | myclabs/php-enum | native enum |
+|----------------------------------------------------------------|----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Obtain an instance will change from | `$enumCase = Action::VIEW()` | `$enumCase = Action::VIEW` |
+| Create an enum from a backed value | `$enumCase = new Action('view')` | `$enumCase = Action::from('view')` |
+| Get the backed value of the enum instance | `$enumCase->getValue()` | `$enumCase->value` |
+| Compare two enum instances | `$enumCase1 == $enumCase2` or `$enumCase1->equals($enumCase2)` | `$enumCase1 === $enumCase2` |
+| Get the key/name of the enum instance | `$enumCase->getKey()` | `$enumCase->name` |
+| Get a list of all the possible instances of the enum | `Action::values()` | `Action::cases()` |
+| Get a map of possible instances of the enum mapped by name | `Action::values()` | `array_combine(array_map(fn($case) => $case->name, Action::cases()), Action::cases())` or `(new ReflectionEnum(Action::class))->getConstants()` |
+| Get a list of all possible names of the enum | `Action::keys()` | `array_map(fn($case) => $case->name, Action::cases())` |
+| Get a list of all possible backed values of the enum | `Action::toArray()` | `array_map(fn($case) => $case->value, Action::cases())` |
+| Get a map of possible backed values of the enum mapped by name | `Action::toArray()` | `array_combine(array_map(fn($case) => $case->name, Action::cases()), array_map(fn($case) => $case->value, Action::cases()))` or `array_map(fn($case) => $case->value, (new ReflectionEnum(Action::class))->getConstants()))` |
+
+## Related projects
+
+- [PHP 8.1+ native enum](https://www.php.net/enumerations)
+- [Doctrine enum mapping](https://github.com/acelaya/doctrine-enum-type)
+- [Symfony ParamConverter integration](https://github.com/Ex3v/MyCLabsEnumParamConverter)
+- [PHPStan integration](https://github.com/timeweb/phpstan-enum)
+
+
+[GA Image]: https://github.com/myclabs/php-enum/workflows/CI/badge.svg
+
+[GA Link]: https://github.com/myclabs/php-enum/actions?query=workflow%3A%22CI%22+branch%3Amaster
+
+[Shepherd Image]: https://shepherd.dev/github/myclabs/php-enum/coverage.svg
+
+[Shepherd Link]: https://shepherd.dev/github/myclabs/php-enum
diff --git a/vendor/myclabs/php-enum/SECURITY.md b/vendor/myclabs/php-enum/SECURITY.md
new file mode 100644
index 0000000..84fd4e3
--- /dev/null
+++ b/vendor/myclabs/php-enum/SECURITY.md
@@ -0,0 +1,11 @@
+# Security Policy
+
+## Supported Versions
+
+Only the latest stable release is supported.
+
+## Reporting a Vulnerability
+
+To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
+
+Tidelift will coordinate the fix and disclosure.
diff --git a/vendor/myclabs/php-enum/composer.json b/vendor/myclabs/php-enum/composer.json
new file mode 100644
index 0000000..978cb19
--- /dev/null
+++ b/vendor/myclabs/php-enum/composer.json
@@ -0,0 +1,36 @@
+{
+ "name": "myclabs/php-enum",
+ "type": "library",
+ "description": "PHP Enum implementation",
+ "keywords": ["enum"],
+ "homepage": "http://github.com/myclabs/php-enum",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "PHP Enum contributors",
+ "homepage": "https://github.com/myclabs/php-enum/graphs/contributors"
+ }
+ ],
+ "autoload": {
+ "psr-4": {
+ "MyCLabs\\Enum\\": "src/"
+ },
+ "classmap": [
+ "stubs/Stringable.php"
+ ]
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "MyCLabs\\Tests\\Enum\\": "tests/"
+ }
+ },
+ "require": {
+ "php": "^7.3 || ^8.0",
+ "ext-json": "*"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.5",
+ "squizlabs/php_codesniffer": "1.*",
+ "vimeo/psalm": "^4.6.2"
+ }
+}
diff --git a/vendor/myclabs/php-enum/src/Enum.php b/vendor/myclabs/php-enum/src/Enum.php
new file mode 100644
index 0000000..4c94cf6
--- /dev/null
+++ b/vendor/myclabs/php-enum/src/Enum.php
@@ -0,0 +1,318 @@
+
+ * @author Daniel Costa
+ * @author Mirosław Filip
+ *
+ * @psalm-template T
+ * @psalm-immutable
+ * @psalm-consistent-constructor
+ */
+abstract class Enum implements \JsonSerializable, \Stringable
+{
+ /**
+ * Enum value
+ *
+ * @var mixed
+ * @psalm-var T
+ */
+ protected $value;
+
+ /**
+ * Enum key, the constant name
+ *
+ * @var string
+ */
+ private $key;
+
+ /**
+ * Store existing constants in a static cache per object.
+ *
+ *
+ * @var array
+ * @psalm-var array>
+ */
+ protected static $cache = [];
+
+ /**
+ * Cache of instances of the Enum class
+ *
+ * @var array
+ * @psalm-var array>
+ */
+ protected static $instances = [];
+
+ /**
+ * Creates a new value of some type
+ *
+ * @psalm-pure
+ * @param mixed $value
+ *
+ * @psalm-param T $value
+ * @throws \UnexpectedValueException if incompatible type is given.
+ */
+ public function __construct($value)
+ {
+ if ($value instanceof static) {
+ /** @psalm-var T */
+ $value = $value->getValue();
+ }
+
+ /** @psalm-suppress ImplicitToStringCast assertValidValueReturningKey returns always a string but psalm has currently an issue here */
+ $this->key = static::assertValidValueReturningKey($value);
+
+ /** @psalm-var T */
+ $this->value = $value;
+ }
+
+ /**
+ * This method exists only for the compatibility reason when deserializing a previously serialized version
+ * that didn't had the key property
+ */
+ public function __wakeup()
+ {
+ /** @psalm-suppress DocblockTypeContradiction key can be null when deserializing an enum without the key */
+ if ($this->key === null) {
+ /**
+ * @psalm-suppress InaccessibleProperty key is not readonly as marked by psalm
+ * @psalm-suppress PossiblyFalsePropertyAssignmentValue deserializing a case that was removed
+ */
+ $this->key = static::search($this->value);
+ }
+ }
+
+ /**
+ * @param mixed $value
+ * @return static
+ */
+ public static function from($value): self
+ {
+ $key = static::assertValidValueReturningKey($value);
+
+ return self::__callStatic($key, []);
+ }
+
+ /**
+ * @psalm-pure
+ * @return mixed
+ * @psalm-return T
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Returns the enum key (i.e. the constant name).
+ *
+ * @psalm-pure
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ /**
+ * @psalm-pure
+ * @psalm-suppress InvalidCast
+ * @return string
+ */
+ public function __toString()
+ {
+ return (string)$this->value;
+ }
+
+ /**
+ * Determines if Enum should be considered equal with the variable passed as a parameter.
+ * Returns false if an argument is an object of different class or not an object.
+ *
+ * This method is final, for more information read https://github.com/myclabs/php-enum/issues/4
+ *
+ * @psalm-pure
+ * @psalm-param mixed $variable
+ * @return bool
+ */
+ final public function equals($variable = null): bool
+ {
+ return $variable instanceof self
+ && $this->getValue() === $variable->getValue()
+ && static::class === \get_class($variable);
+ }
+
+ /**
+ * Returns the names (keys) of all constants in the Enum class
+ *
+ * @psalm-pure
+ * @psalm-return list
+ * @return array
+ */
+ public static function keys()
+ {
+ return \array_keys(static::toArray());
+ }
+
+ /**
+ * Returns instances of the Enum class of all Enum constants
+ *
+ * @psalm-pure
+ * @psalm-return array
+ * @return static[] Constant name in key, Enum instance in value
+ */
+ public static function values()
+ {
+ $values = array();
+
+ /** @psalm-var T $value */
+ foreach (static::toArray() as $key => $value) {
+ $values[$key] = new static($value);
+ }
+
+ return $values;
+ }
+
+ /**
+ * Returns all possible values as an array
+ *
+ * @psalm-pure
+ * @psalm-suppress ImpureStaticProperty
+ *
+ * @psalm-return array
+ * @return array Constant name in key, constant value in value
+ */
+ public static function toArray()
+ {
+ $class = static::class;
+
+ if (!isset(static::$cache[$class])) {
+ /** @psalm-suppress ImpureMethodCall this reflection API usage has no side-effects here */
+ $reflection = new \ReflectionClass($class);
+ /** @psalm-suppress ImpureMethodCall this reflection API usage has no side-effects here */
+ static::$cache[$class] = $reflection->getConstants();
+ }
+
+ return static::$cache[$class];
+ }
+
+ /**
+ * Check if is valid enum value
+ *
+ * @param $value
+ * @psalm-param mixed $value
+ * @psalm-pure
+ * @psalm-assert-if-true T $value
+ * @return bool
+ */
+ public static function isValid($value)
+ {
+ return \in_array($value, static::toArray(), true);
+ }
+
+ /**
+ * Asserts valid enum value
+ *
+ * @psalm-pure
+ * @psalm-assert T $value
+ * @param mixed $value
+ */
+ public static function assertValidValue($value): void
+ {
+ self::assertValidValueReturningKey($value);
+ }
+
+ /**
+ * Asserts valid enum value
+ *
+ * @psalm-pure
+ * @psalm-assert T $value
+ * @param mixed $value
+ * @return string
+ */
+ private static function assertValidValueReturningKey($value): string
+ {
+ if (false === ($key = static::search($value))) {
+ throw new \UnexpectedValueException("Value '$value' is not part of the enum " . static::class);
+ }
+
+ return $key;
+ }
+
+ /**
+ * Check if is valid enum key
+ *
+ * @param $key
+ * @psalm-param string $key
+ * @psalm-pure
+ * @return bool
+ */
+ public static function isValidKey($key)
+ {
+ $array = static::toArray();
+
+ return isset($array[$key]) || \array_key_exists($key, $array);
+ }
+
+ /**
+ * Return key for value
+ *
+ * @param mixed $value
+ *
+ * @psalm-param mixed $value
+ * @psalm-pure
+ * @return string|false
+ */
+ public static function search($value)
+ {
+ return \array_search($value, static::toArray(), true);
+ }
+
+ /**
+ * Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a class constant
+ *
+ * @param string $name
+ * @param array $arguments
+ *
+ * @return static
+ * @throws \BadMethodCallException
+ *
+ * @psalm-pure
+ */
+ public static function __callStatic($name, $arguments)
+ {
+ $class = static::class;
+ if (!isset(self::$instances[$class][$name])) {
+ $array = static::toArray();
+ if (!isset($array[$name]) && !\array_key_exists($name, $array)) {
+ $message = "No static method or enum constant '$name' in class " . static::class;
+ throw new \BadMethodCallException($message);
+ }
+ return self::$instances[$class][$name] = new static($array[$name]);
+ }
+ return clone self::$instances[$class][$name];
+ }
+
+ /**
+ * Specify data which should be serialized to JSON. This method returns data that can be serialized by json_encode()
+ * natively.
+ *
+ * @return mixed
+ * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
+ * @psalm-pure
+ */
+ #[\ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->getValue();
+ }
+}
diff --git a/vendor/myclabs/php-enum/src/PHPUnit/Comparator.php b/vendor/myclabs/php-enum/src/PHPUnit/Comparator.php
new file mode 100644
index 0000000..302bf80
--- /dev/null
+++ b/vendor/myclabs/php-enum/src/PHPUnit/Comparator.php
@@ -0,0 +1,54 @@
+register(new \MyCLabs\Enum\PHPUnit\Comparator());
+ */
+final class Comparator extends \SebastianBergmann\Comparator\Comparator
+{
+ public function accepts($expected, $actual)
+ {
+ return $expected instanceof Enum && (
+ $actual instanceof Enum || $actual === null
+ );
+ }
+
+ /**
+ * @param Enum $expected
+ * @param Enum|null $actual
+ *
+ * @return void
+ */
+ public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ignoreCase = false)
+ {
+ if ($expected->equals($actual)) {
+ return;
+ }
+
+ throw new ComparisonFailure(
+ $expected,
+ $actual,
+ $this->formatEnum($expected),
+ $this->formatEnum($actual),
+ false,
+ 'Failed asserting that two Enums are equal.'
+ );
+ }
+
+ private function formatEnum(Enum $enum = null)
+ {
+ if ($enum === null) {
+ return "null";
+ }
+
+ return get_class($enum)."::{$enum->getKey()}()";
+ }
+}
diff --git a/vendor/myclabs/php-enum/stubs/Stringable.php b/vendor/myclabs/php-enum/stubs/Stringable.php
new file mode 100644
index 0000000..4811af7
--- /dev/null
+++ b/vendor/myclabs/php-enum/stubs/Stringable.php
@@ -0,0 +1,11 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\MessageFormatter;
+
+use Symfony\Component\Translation\Formatter\MessageFormatterInterface;
+
+if (!class_exists(LazyMessageFormatter::class, false)) {
+ abstract class LazyMessageFormatter implements MessageFormatterInterface
+ {
+ public function format(string $message, string $locale, array $parameters = []): string
+ {
+ return $this->formatter->format(
+ $message,
+ $this->transformLocale($locale),
+ $parameters
+ );
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/MessageFormatter/MessageFormatterMapperWeakType.php b/vendor/nesbot/carbon/lazy/Carbon/MessageFormatter/MessageFormatterMapperWeakType.php
new file mode 100644
index 0000000..cbd890d
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/MessageFormatter/MessageFormatterMapperWeakType.php
@@ -0,0 +1,36 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\MessageFormatter;
+
+use Symfony\Component\Translation\Formatter\ChoiceMessageFormatterInterface;
+use Symfony\Component\Translation\Formatter\MessageFormatterInterface;
+
+if (!class_exists(LazyMessageFormatter::class, false)) {
+ abstract class LazyMessageFormatter implements MessageFormatterInterface, ChoiceMessageFormatterInterface
+ {
+ abstract protected function transformLocale(?string $locale): ?string;
+
+ public function format($message, $locale, array $parameters = [])
+ {
+ return $this->formatter->format(
+ $message,
+ $this->transformLocale($locale),
+ $parameters
+ );
+ }
+
+ public function choiceFormat($message, $number, $locale, array $parameters = [])
+ {
+ return $this->formatter->choiceFormat($message, $number, $locale, $parameters);
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroBuiltin.php b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroBuiltin.php
new file mode 100644
index 0000000..ba7cf63
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroBuiltin.php
@@ -0,0 +1,36 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+use PHPStan\BetterReflection\Reflection;
+use ReflectionMethod;
+
+if (!class_exists(AbstractReflectionMacro::class, false)) {
+ abstract class AbstractReflectionMacro extends AbstractMacro
+ {
+ /**
+ * {@inheritdoc}
+ */
+ public function getReflection(): ?ReflectionMethod
+ {
+ if ($this->reflectionFunction instanceof Reflection\ReflectionMethod) {
+ return new Reflection\Adapter\ReflectionMethod($this->reflectionFunction);
+ }
+
+ return $this->reflectionFunction instanceof ReflectionMethod
+ ? $this->reflectionFunction
+ : null;
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroStatic.php b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroStatic.php
new file mode 100644
index 0000000..bd4c8e8
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/AbstractMacroStatic.php
@@ -0,0 +1,45 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+use PHPStan\BetterReflection\Reflection;
+use ReflectionMethod;
+
+if (!class_exists(AbstractReflectionMacro::class, false)) {
+ abstract class AbstractReflectionMacro extends AbstractMacro
+ {
+ /**
+ * {@inheritdoc}
+ */
+ public function getReflection(): ?Reflection\Adapter\ReflectionMethod
+ {
+ if ($this->reflectionFunction instanceof Reflection\Adapter\ReflectionMethod) {
+ return $this->reflectionFunction;
+ }
+
+ if ($this->reflectionFunction instanceof Reflection\ReflectionMethod) {
+ return new Reflection\Adapter\ReflectionMethod($this->reflectionFunction);
+ }
+
+ return $this->reflectionFunction instanceof ReflectionMethod
+ ? new Reflection\Adapter\ReflectionMethod(
+ Reflection\ReflectionMethod::createFromName(
+ $this->reflectionFunction->getDeclaringClass()->getName(),
+ $this->reflectionFunction->getName()
+ )
+ )
+ : null;
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroStrongType.php b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroStrongType.php
new file mode 100644
index 0000000..f615b3a
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroStrongType.php
@@ -0,0 +1,45 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+if (!class_exists(LazyMacro::class, false)) {
+ abstract class LazyMacro extends AbstractReflectionMacro
+ {
+ /**
+ * {@inheritdoc}
+ */
+ public function getFileName(): ?string
+ {
+ $file = $this->reflectionFunction->getFileName();
+
+ return (($file ? realpath($file) : null) ?: $file) ?: null;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getStartLine(): ?int
+ {
+ return $this->reflectionFunction->getStartLine();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getEndLine(): ?int
+ {
+ return $this->reflectionFunction->getEndLine();
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroWeakType.php b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroWeakType.php
new file mode 100644
index 0000000..bf64c1d
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroWeakType.php
@@ -0,0 +1,51 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+if (!class_exists(LazyMacro::class, false)) {
+ abstract class LazyMacro extends AbstractReflectionMacro
+ {
+ /**
+ * {@inheritdoc}
+ *
+ * @return string|false
+ */
+ public function getFileName()
+ {
+ $file = $this->reflectionFunction->getFileName();
+
+ return (($file ? realpath($file) : null) ?: $file) ?: null;
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return int|false
+ */
+ public function getStartLine()
+ {
+ return $this->reflectionFunction->getStartLine();
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return int|false
+ */
+ public function getEndLine()
+ {
+ return $this->reflectionFunction->getEndLine();
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/TranslatorStrongType.php b/vendor/nesbot/carbon/lazy/Carbon/TranslatorStrongType.php
new file mode 100644
index 0000000..d35308a
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/TranslatorStrongType.php
@@ -0,0 +1,52 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Symfony\Component\Translation\MessageCatalogueInterface;
+
+if (!class_exists(LazyTranslator::class, false)) {
+ class LazyTranslator extends AbstractTranslator implements TranslatorStrongTypeInterface
+ {
+ public function trans(?string $id, array $parameters = [], ?string $domain = null, ?string $locale = null): string
+ {
+ return $this->translate($id, $parameters, $domain, $locale);
+ }
+
+ public function getFromCatalogue(MessageCatalogueInterface $catalogue, string $id, string $domain = 'messages')
+ {
+ $messages = $this->getPrivateProperty($catalogue, 'messages');
+
+ if (isset($messages[$domain.MessageCatalogueInterface::INTL_DOMAIN_SUFFIX][$id])) {
+ return $messages[$domain.MessageCatalogueInterface::INTL_DOMAIN_SUFFIX][$id];
+ }
+
+ if (isset($messages[$domain][$id])) {
+ return $messages[$domain][$id];
+ }
+
+ $fallbackCatalogue = $this->getPrivateProperty($catalogue, 'fallbackCatalogue');
+
+ if ($fallbackCatalogue !== null) {
+ return $this->getFromCatalogue($fallbackCatalogue, $id, $domain);
+ }
+
+ return $id;
+ }
+
+ private function getPrivateProperty($instance, string $field)
+ {
+ return (function (string $field) {
+ return $this->$field;
+ })->call($instance, $field);
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/lazy/Carbon/TranslatorWeakType.php b/vendor/nesbot/carbon/lazy/Carbon/TranslatorWeakType.php
new file mode 100644
index 0000000..94dbdc3
--- /dev/null
+++ b/vendor/nesbot/carbon/lazy/Carbon/TranslatorWeakType.php
@@ -0,0 +1,32 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+if (!class_exists(LazyTranslator::class, false)) {
+ class LazyTranslator extends AbstractTranslator
+ {
+ /**
+ * Returns the translation.
+ *
+ * @param string|null $id
+ * @param array $parameters
+ * @param string|null $domain
+ * @param string|null $locale
+ *
+ * @return string
+ */
+ public function trans($id, array $parameters = [], $domain = null, $locale = null)
+ {
+ return $this->translate($id, $parameters, $domain, $locale);
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/readme.md b/vendor/nesbot/carbon/readme.md
new file mode 100644
index 0000000..b8ec4bf
--- /dev/null
+++ b/vendor/nesbot/carbon/readme.md
@@ -0,0 +1,156 @@
+# Carbon
+
+[](https://packagist.org/packages/nesbot/carbon)
+[](https://packagist.org/packages/nesbot/carbon)
+[](https://github.com/briannesbitt/Carbon/actions)
+[](https://codecov.io/github/briannesbitt/Carbon?branch=master)
+[](https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme)
+
+An international PHP extension for DateTime. [https://carbon.nesbot.com](https://carbon.nesbot.com)
+
+```php
+toDateTimeString());
+printf("Right now in Vancouver is %s", Carbon::now('America/Vancouver')); //implicit __toString()
+$tomorrow = Carbon::now()->addDay();
+$lastWeek = Carbon::now()->subWeek();
+$nextSummerOlympics = Carbon::createFromDate(2016)->addYears(4);
+
+$officialDate = Carbon::now()->toRfc2822String();
+
+$howOldAmI = Carbon::createFromDate(1975, 5, 21)->age;
+
+$noonTodayLondonTime = Carbon::createFromTime(12, 0, 0, 'Europe/London');
+
+$internetWillBlowUpOn = Carbon::create(2038, 01, 19, 3, 14, 7, 'GMT');
+
+// Don't really want this to happen so mock now
+Carbon::setTestNow(Carbon::createFromDate(2000, 1, 1));
+
+// comparisons are always done in UTC
+if (Carbon::now()->gte($internetWillBlowUpOn)) {
+ die();
+}
+
+// Phew! Return to normal behaviour
+Carbon::setTestNow();
+
+if (Carbon::now()->isWeekend()) {
+ echo 'Party!';
+}
+// Over 200 languages (and over 500 regional variants) supported:
+echo Carbon::now()->subMinutes(2)->diffForHumans(); // '2 minutes ago'
+echo Carbon::now()->subMinutes(2)->locale('zh_CN')->diffForHumans(); // '2分钟å‰'
+echo Carbon::parse('2019-07-23 14:51')->isoFormat('LLLL'); // 'Tuesday, July 23, 2019 2:51 PM'
+echo Carbon::parse('2019-07-23 14:51')->locale('fr_FR')->isoFormat('LLLL'); // 'mardi 23 juillet 2019 14:51'
+
+// ... but also does 'from now', 'after' and 'before'
+// rolling up to seconds, minutes, hours, days, months, years
+
+$daysSinceEpoch = Carbon::createFromTimestamp(0)->diffInDays();
+```
+
+[Get supported nesbot/carbon with the Tidelift Subscription](https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme)
+
+## Installation
+
+### With Composer
+
+```
+$ composer require nesbot/carbon
+```
+
+```json
+{
+ "require": {
+ "nesbot/carbon": "^2.16"
+ }
+}
+```
+
+```php
+
+
+### Translators
+
+[Thanks to people helping us to translate Carbon in so many languages](https://carbon.nesbot.com/contribute/translators/)
+
+### Sponsors
+
+Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[[Become a sponsor via OpenCollective](https://opencollective.com/Carbon#sponsor)]
+
+
+
+
+[[Become a sponsor via GitHub](https://github.com/sponsors/kylekatarnls)]
+
+### Backers
+
+Thank you to all our backers! ðŸ™
+
+
+
+[[Become a backer](https://opencollective.com/Carbon#backer)]
+
+## Carbon for enterprise
+
+Available as part of the Tidelift Subscription.
+
+The maintainers of ``Carbon`` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
diff --git a/vendor/nesbot/carbon/sponsors.php b/vendor/nesbot/carbon/sponsors.php
new file mode 100644
index 0000000..4f6d994
--- /dev/null
+++ b/vendor/nesbot/carbon/sponsors.php
@@ -0,0 +1,95 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Carbon\CarbonImmutable;
+
+require_once __DIR__.'/vendor/autoload.php';
+
+function getOpenCollectiveSponsors(): string
+{
+ $members = json_decode(file_get_contents('https://opencollective.com/carbon/members/all.json'), true);
+ $sixMonthsAgo = CarbonImmutable::parse('now - 6 months')->format('Y-m-d h:i');
+
+ $list = array_filter($members, static function ($member) use ($sixMonthsAgo) {
+ return ($member['lastTransactionAmount'] > 3 || $member['isActive']) &&
+ $member['role'] === 'BACKER' &&
+ $member['type'] !== 'USER' &&
+ ($member['totalAmountDonated'] > 100 || $member['lastTransactionAt'] > $sixMonthsAgo || $member['isActive'] && $member['lastTransactionAmount'] >= 30);
+ });
+
+ $list = array_map(static function (array $member) {
+ $createdAt = CarbonImmutable::parse($member['createdAt']);
+ $lastTransactionAt = CarbonImmutable::parse($member['lastTransactionAt']);
+
+ if ($createdAt->format('d H:i:s.u') > $lastTransactionAt->format('d H:i:s.u')) {
+ $createdAt = $createdAt
+ ->setDay($lastTransactionAt->day)
+ ->modify($lastTransactionAt->format('H:i:s.u'));
+ }
+
+ $monthlyContribution = (float) ($member['totalAmountDonated'] / ceil($createdAt->floatDiffInMonths()));
+
+ if (
+ $lastTransactionAt->isAfter('last month') &&
+ $member['lastTransactionAmount'] > $monthlyContribution
+ ) {
+ $monthlyContribution = (float) $member['lastTransactionAmount'];
+ }
+
+ $yearlyContribution = (float) ($member['totalAmountDonated'] / max(1, $createdAt->floatDiffInYears()));
+ $status = null;
+
+ if ($monthlyContribution > 29) {
+ $status = 'sponsor';
+ } elseif ($monthlyContribution > 3 || $yearlyContribution > 20) {
+ $status = 'backer';
+ } elseif ($member['totalAmountDonated'] > 0) {
+ $status = 'helper';
+ }
+
+ return array_merge($member, [
+ 'star' => ($monthlyContribution > 98 || $yearlyContribution > 500),
+ 'status' => $status,
+ 'monthlyContribution' => $monthlyContribution,
+ 'yearlyContribution' => $yearlyContribution,
+ ]);
+ }, $list);
+
+ usort($list, static function (array $a, array $b) {
+ return ($b['monthlyContribution'] <=> $a['monthlyContribution'])
+ ?: ($b['totalAmountDonated'] <=> $a['totalAmountDonated']);
+ });
+
+ return implode('', array_map(static function (array $member) {
+ $href = htmlspecialchars($member['website'] ?? $member['profile']);
+ $src = $member['image'] ?? (strtr($member['profile'], ['https://opencollective.com/' => 'https://images.opencollective.com/']).'/avatar/256.png');
+ [$x, $y] = @getimagesize($src) ?: [0, 0];
+ $validImage = ($x && $y);
+ $src = $validImage ? htmlspecialchars($src) : 'https://opencollective.com/static/images/default-guest-logo.svg';
+ $height = 64;
+ $width = $validImage ? round($x * $height / $y) : $height;
+ $href .= (strpos($href, '?') === false ? '?' : '&').'utm_source=opencollective&utm_medium=github&utm_campaign=Carbon';
+ $title = htmlspecialchars(($member['description'] ?? null) ?: $member['name']);
+ $alt = htmlspecialchars($member['name']);
+
+ return "\n".''.
+ ' '.
+ ' ';
+ }, $list))."\n";
+}
+
+file_put_contents('readme.md', preg_replace_callback(
+ '/()[\s\S]+()/',
+ static function (array $match) {
+ return $match[1].getOpenCollectiveSponsors().$match[2];
+ },
+ file_get_contents('readme.md')
+));
diff --git a/vendor/nesbot/carbon/src/Carbon/AbstractTranslator.php b/vendor/nesbot/carbon/src/Carbon/AbstractTranslator.php
new file mode 100644
index 0000000..8b8fe08
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/AbstractTranslator.php
@@ -0,0 +1,398 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\MessageFormatter\MessageFormatterMapper;
+use Closure;
+use ReflectionException;
+use ReflectionFunction;
+use Symfony\Component\Translation;
+use Symfony\Component\Translation\Formatter\MessageFormatterInterface;
+use Symfony\Component\Translation\Loader\ArrayLoader;
+
+abstract class AbstractTranslator extends Translation\Translator
+{
+ /**
+ * Translator singletons for each language.
+ *
+ * @var array
+ */
+ protected static $singletons = [];
+
+ /**
+ * List of custom localized messages.
+ *
+ * @var array
+ */
+ protected $messages = [];
+
+ /**
+ * List of custom directories that contain translation files.
+ *
+ * @var string[]
+ */
+ protected $directories = [];
+
+ /**
+ * Set to true while constructing.
+ *
+ * @var bool
+ */
+ protected $initializing = false;
+
+ /**
+ * List of locales aliases.
+ *
+ * @var array
+ */
+ protected $aliases = [
+ 'me' => 'sr_Latn_ME',
+ 'scr' => 'sh',
+ ];
+
+ /**
+ * Return a singleton instance of Translator.
+ *
+ * @param string|null $locale optional initial locale ("en" - english by default)
+ *
+ * @return static
+ */
+ public static function get($locale = null)
+ {
+ $locale = $locale ?: 'en';
+ $key = static::class === Translator::class ? $locale : static::class.'|'.$locale;
+
+ if (!isset(static::$singletons[$key])) {
+ static::$singletons[$key] = new static($locale);
+ }
+
+ return static::$singletons[$key];
+ }
+
+ public function __construct($locale, MessageFormatterInterface $formatter = null, $cacheDir = null, $debug = false)
+ {
+ parent::setLocale($locale);
+ $this->initializing = true;
+ $this->directories = [__DIR__.'/Lang'];
+ $this->addLoader('array', new ArrayLoader());
+ parent::__construct($locale, new MessageFormatterMapper($formatter), $cacheDir, $debug);
+ $this->initializing = false;
+ }
+
+ /**
+ * Returns the list of directories translation files are searched in.
+ *
+ * @return array
+ */
+ public function getDirectories(): array
+ {
+ return $this->directories;
+ }
+
+ /**
+ * Set list of directories translation files are searched in.
+ *
+ * @param array $directories new directories list
+ *
+ * @return $this
+ */
+ public function setDirectories(array $directories)
+ {
+ $this->directories = $directories;
+
+ return $this;
+ }
+
+ /**
+ * Add a directory to the list translation files are searched in.
+ *
+ * @param string $directory new directory
+ *
+ * @return $this
+ */
+ public function addDirectory(string $directory)
+ {
+ $this->directories[] = $directory;
+
+ return $this;
+ }
+
+ /**
+ * Remove a directory from the list translation files are searched in.
+ *
+ * @param string $directory directory path
+ *
+ * @return $this
+ */
+ public function removeDirectory(string $directory)
+ {
+ $search = rtrim(strtr($directory, '\\', '/'), '/');
+
+ return $this->setDirectories(array_filter($this->getDirectories(), function ($item) use ($search) {
+ return rtrim(strtr($item, '\\', '/'), '/') !== $search;
+ }));
+ }
+
+ /**
+ * Reset messages of a locale (all locale if no locale passed).
+ * Remove custom messages and reload initial messages from matching
+ * file in Lang directory.
+ *
+ * @param string|null $locale
+ *
+ * @return bool
+ */
+ public function resetMessages($locale = null)
+ {
+ if ($locale === null) {
+ $this->messages = [];
+
+ return true;
+ }
+
+ foreach ($this->getDirectories() as $directory) {
+ $data = @include sprintf('%s/%s.php', rtrim($directory, '\\/'), $locale);
+
+ if ($data !== false) {
+ $this->messages[$locale] = $data;
+ $this->addResource('array', $this->messages[$locale], $locale);
+
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns the list of files matching a given locale prefix (or all if empty).
+ *
+ * @param string $prefix prefix required to filter result
+ *
+ * @return array
+ */
+ public function getLocalesFiles($prefix = '')
+ {
+ $files = [];
+
+ foreach ($this->getDirectories() as $directory) {
+ $directory = rtrim($directory, '\\/');
+
+ foreach (glob("$directory/$prefix*.php") as $file) {
+ $files[] = $file;
+ }
+ }
+
+ return array_unique($files);
+ }
+
+ /**
+ * Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ *
+ * @param string $prefix prefix required to filter result
+ *
+ * @return array
+ */
+ public function getAvailableLocales($prefix = '')
+ {
+ $locales = [];
+ foreach ($this->getLocalesFiles($prefix) as $file) {
+ $locales[] = substr($file, strrpos($file, '/') + 1, -4);
+ }
+
+ return array_unique(array_merge($locales, array_keys($this->messages)));
+ }
+
+ protected function translate(?string $id, array $parameters = [], ?string $domain = null, ?string $locale = null): string
+ {
+ if ($domain === null) {
+ $domain = 'messages';
+ }
+
+ $catalogue = $this->getCatalogue($locale);
+ $format = $this instanceof TranslatorStrongTypeInterface
+ ? $this->getFromCatalogue($catalogue, (string) $id, $domain)
+ : $this->getCatalogue($locale)->get((string) $id, $domain); // @codeCoverageIgnore
+
+ if ($format instanceof Closure) {
+ // @codeCoverageIgnoreStart
+ try {
+ $count = (new ReflectionFunction($format))->getNumberOfRequiredParameters();
+ } catch (ReflectionException $exception) {
+ $count = 0;
+ }
+ // @codeCoverageIgnoreEnd
+
+ return $format(
+ ...array_values($parameters),
+ ...array_fill(0, max(0, $count - \count($parameters)), null)
+ );
+ }
+
+ return parent::trans($id, $parameters, $domain, $locale);
+ }
+
+ /**
+ * Init messages language from matching file in Lang directory.
+ *
+ * @param string $locale
+ *
+ * @return bool
+ */
+ protected function loadMessagesFromFile($locale)
+ {
+ return isset($this->messages[$locale]) || $this->resetMessages($locale);
+ }
+
+ /**
+ * Set messages of a locale and take file first if present.
+ *
+ * @param string $locale
+ * @param array $messages
+ *
+ * @return $this
+ */
+ public function setMessages($locale, $messages)
+ {
+ $this->loadMessagesFromFile($locale);
+ $this->addResource('array', $messages, $locale);
+ $this->messages[$locale] = array_merge(
+ $this->messages[$locale] ?? [],
+ $messages
+ );
+
+ return $this;
+ }
+
+ /**
+ * Set messages of the current locale and take file first if present.
+ *
+ * @param array $messages
+ *
+ * @return $this
+ */
+ public function setTranslations($messages)
+ {
+ return $this->setMessages($this->getLocale(), $messages);
+ }
+
+ /**
+ * Get messages of a locale, if none given, return all the
+ * languages.
+ *
+ * @param string|null $locale
+ *
+ * @return array
+ */
+ public function getMessages($locale = null)
+ {
+ return $locale === null ? $this->messages : $this->messages[$locale];
+ }
+
+ /**
+ * Set the current translator locale and indicate if the source locale file exists
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public function setLocale($locale)
+ {
+ $locale = preg_replace_callback('/[-_]([a-z]{2,}|\d{2,})/', function ($matches) {
+ // _2-letters or YUE is a region, _3+-letters is a variant
+ $upper = strtoupper($matches[1]);
+
+ if ($upper === 'YUE' || $upper === 'ISO' || \strlen($upper) < 3) {
+ return "_$upper";
+ }
+
+ return '_'.ucfirst($matches[1]);
+ }, strtolower($locale));
+
+ $previousLocale = $this->getLocale();
+
+ if ($previousLocale === $locale && isset($this->messages[$locale])) {
+ return true;
+ }
+
+ unset(static::$singletons[$previousLocale]);
+
+ if ($locale === 'auto') {
+ $completeLocale = setlocale(LC_TIME, '0');
+ $locale = preg_replace('/^([^_.-]+).*$/', '$1', $completeLocale);
+ $locales = $this->getAvailableLocales($locale);
+
+ $completeLocaleChunks = preg_split('/[_.-]+/', $completeLocale);
+
+ $getScore = function ($language) use ($completeLocaleChunks) {
+ return self::compareChunkLists($completeLocaleChunks, preg_split('/[_.-]+/', $language));
+ };
+
+ usort($locales, function ($first, $second) use ($getScore) {
+ return $getScore($second) <=> $getScore($first);
+ });
+
+ $locale = $locales[0];
+ }
+
+ if (isset($this->aliases[$locale])) {
+ $locale = $this->aliases[$locale];
+ }
+
+ // If subtag (ex: en_CA) first load the macro (ex: en) to have a fallback
+ if (str_contains($locale, '_') &&
+ $this->loadMessagesFromFile($macroLocale = preg_replace('/^([^_]+).*$/', '$1', $locale))
+ ) {
+ parent::setLocale($macroLocale);
+ }
+
+ if (!$this->loadMessagesFromFile($locale) && !$this->initializing) {
+ return false;
+ }
+
+ parent::setLocale($locale);
+
+ return true;
+ }
+
+ /**
+ * Show locale on var_dump().
+ *
+ * @return array
+ */
+ public function __debugInfo()
+ {
+ return [
+ 'locale' => $this->getLocale(),
+ ];
+ }
+
+ private static function compareChunkLists($referenceChunks, $chunks)
+ {
+ $score = 0;
+
+ foreach ($referenceChunks as $index => $chunk) {
+ if (!isset($chunks[$index])) {
+ $score++;
+
+ continue;
+ }
+
+ if (strtolower($chunks[$index]) === strtolower($chunk)) {
+ $score += 10;
+ }
+ }
+
+ return $score;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Carbon.php b/vendor/nesbot/carbon/src/Carbon/Carbon.php
new file mode 100644
index 0000000..e32569a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Carbon.php
@@ -0,0 +1,523 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\Traits\Date;
+use Carbon\Traits\DeprecatedProperties;
+use DateTime;
+use DateTimeInterface;
+use DateTimeZone;
+
+/**
+ * A simple API extension for DateTime.
+ *
+ * @mixin DeprecatedProperties
+ *
+ *
+ *
+ * @property int $year
+ * @property int $yearIso
+ * @property int $month
+ * @property int $day
+ * @property int $hour
+ * @property int $minute
+ * @property int $second
+ * @property int $micro
+ * @property int $microsecond
+ * @property int|float|string $timestamp seconds since the Unix Epoch
+ * @property string $englishDayOfWeek the day of week in English
+ * @property string $shortEnglishDayOfWeek the abbreviated day of week in English
+ * @property string $englishMonth the month in English
+ * @property string $shortEnglishMonth the abbreviated month in English
+ * @property int $milliseconds
+ * @property int $millisecond
+ * @property int $milli
+ * @property int $week 1 through 53
+ * @property int $isoWeek 1 through 53
+ * @property int $weekYear year according to week format
+ * @property int $isoWeekYear year according to ISO week format
+ * @property int $dayOfYear 1 through 366
+ * @property int $age does a diffInYears() with default parameters
+ * @property int $offset the timezone offset in seconds from UTC
+ * @property int $offsetMinutes the timezone offset in minutes from UTC
+ * @property int $offsetHours the timezone offset in hours from UTC
+ * @property CarbonTimeZone $timezone the current timezone
+ * @property CarbonTimeZone $tz alias of $timezone
+ * @property-read int $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
+ * @property-read int $dayOfWeekIso 1 (for Monday) through 7 (for Sunday)
+ * @property-read int $weekOfYear ISO-8601 week number of year, weeks starting on Monday
+ * @property-read int $daysInMonth number of days in the given month
+ * @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
+ * @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
+ * @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
+ * @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
+ * @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $monthName long name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortMonthName short name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $meridiem lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read string $upperMeridiem uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read int $noZeroHour current hour from 1 to 24
+ * @property-read int $weeksInYear 51 through 53
+ * @property-read int $isoWeeksInYear 51 through 53
+ * @property-read int $weekOfMonth 1 through 5
+ * @property-read int $weekNumberInMonth 1 through 5
+ * @property-read int $firstWeekDay 0 through 6
+ * @property-read int $lastWeekDay 0 through 6
+ * @property-read int $daysInYear 365 or 366
+ * @property-read int $quarter the quarter of this instance, 1 - 4
+ * @property-read int $decade the decade of this instance
+ * @property-read int $century the century of this instance
+ * @property-read int $millennium the millennium of this instance
+ * @property-read bool $dst daylight savings time indicator, true if DST, false otherwise
+ * @property-read bool $local checks if the timezone is local, true if local, false otherwise
+ * @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
+ * @property-read string $timezoneName the current timezone name
+ * @property-read string $tzName alias of $timezoneName
+ * @property-read string $locale locale of the current instance
+ *
+ * @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
+ * @method bool isLocal() Check if the current instance has non-UTC timezone.
+ * @method bool isValid() Check if the current instance is a valid date.
+ * @method bool isDST() Check if the current instance is in a daylight saving time.
+ * @method bool isSunday() Checks if the instance day is sunday.
+ * @method bool isMonday() Checks if the instance day is monday.
+ * @method bool isTuesday() Checks if the instance day is tuesday.
+ * @method bool isWednesday() Checks if the instance day is wednesday.
+ * @method bool isThursday() Checks if the instance day is thursday.
+ * @method bool isFriday() Checks if the instance day is friday.
+ * @method bool isSaturday() Checks if the instance day is saturday.
+ * @method bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentYear() Checks if the instance is in the same year as the current moment.
+ * @method bool isNextYear() Checks if the instance is in the same year as the current moment next year.
+ * @method bool isLastYear() Checks if the instance is in the same year as the current moment last year.
+ * @method bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
+ * @method bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
+ * @method bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
+ * @method bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDay() Checks if the instance is in the same day as the current moment.
+ * @method bool isNextDay() Checks if the instance is in the same day as the current moment next day.
+ * @method bool isLastDay() Checks if the instance is in the same day as the current moment last day.
+ * @method bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
+ * @method bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
+ * @method bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
+ * @method bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
+ * @method bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
+ * @method bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
+ * @method bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
+ * @method bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
+ * @method bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
+ * @method bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
+ * @method bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
+ * @method bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
+ * @method bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
+ * @method bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
+ * @method bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
+ * @method bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
+ * @method bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
+ * @method bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
+ * @method bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
+ * @method bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
+ * @method bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
+ * @method bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
+ * @method bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
+ * @method bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
+ * @method $this years(int $value) Set current instance year to the given value.
+ * @method $this year(int $value) Set current instance year to the given value.
+ * @method $this setYears(int $value) Set current instance year to the given value.
+ * @method $this setYear(int $value) Set current instance year to the given value.
+ * @method $this months(int $value) Set current instance month to the given value.
+ * @method $this month(int $value) Set current instance month to the given value.
+ * @method $this setMonths(int $value) Set current instance month to the given value.
+ * @method $this setMonth(int $value) Set current instance month to the given value.
+ * @method $this days(int $value) Set current instance day to the given value.
+ * @method $this day(int $value) Set current instance day to the given value.
+ * @method $this setDays(int $value) Set current instance day to the given value.
+ * @method $this setDay(int $value) Set current instance day to the given value.
+ * @method $this hours(int $value) Set current instance hour to the given value.
+ * @method $this hour(int $value) Set current instance hour to the given value.
+ * @method $this setHours(int $value) Set current instance hour to the given value.
+ * @method $this setHour(int $value) Set current instance hour to the given value.
+ * @method $this minutes(int $value) Set current instance minute to the given value.
+ * @method $this minute(int $value) Set current instance minute to the given value.
+ * @method $this setMinutes(int $value) Set current instance minute to the given value.
+ * @method $this setMinute(int $value) Set current instance minute to the given value.
+ * @method $this seconds(int $value) Set current instance second to the given value.
+ * @method $this second(int $value) Set current instance second to the given value.
+ * @method $this setSeconds(int $value) Set current instance second to the given value.
+ * @method $this setSecond(int $value) Set current instance second to the given value.
+ * @method $this millis(int $value) Set current instance millisecond to the given value.
+ * @method $this milli(int $value) Set current instance millisecond to the given value.
+ * @method $this setMillis(int $value) Set current instance millisecond to the given value.
+ * @method $this setMilli(int $value) Set current instance millisecond to the given value.
+ * @method $this milliseconds(int $value) Set current instance millisecond to the given value.
+ * @method $this millisecond(int $value) Set current instance millisecond to the given value.
+ * @method $this setMilliseconds(int $value) Set current instance millisecond to the given value.
+ * @method $this setMillisecond(int $value) Set current instance millisecond to the given value.
+ * @method $this micros(int $value) Set current instance microsecond to the given value.
+ * @method $this micro(int $value) Set current instance microsecond to the given value.
+ * @method $this setMicros(int $value) Set current instance microsecond to the given value.
+ * @method $this setMicro(int $value) Set current instance microsecond to the given value.
+ * @method $this microseconds(int $value) Set current instance microsecond to the given value.
+ * @method $this microsecond(int $value) Set current instance microsecond to the given value.
+ * @method $this setMicroseconds(int $value) Set current instance microsecond to the given value.
+ * @method $this setMicrosecond(int $value) Set current instance microsecond to the given value.
+ * @method $this addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
+ * @method $this addYear() Add one year to the instance (using date interval).
+ * @method $this subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
+ * @method $this subYear() Sub one year to the instance (using date interval).
+ * @method $this addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
+ * @method $this addMonth() Add one month to the instance (using date interval).
+ * @method $this subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
+ * @method $this subMonth() Sub one month to the instance (using date interval).
+ * @method $this addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
+ * @method $this addDay() Add one day to the instance (using date interval).
+ * @method $this subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
+ * @method $this subDay() Sub one day to the instance (using date interval).
+ * @method $this addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
+ * @method $this addHour() Add one hour to the instance (using date interval).
+ * @method $this subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
+ * @method $this subHour() Sub one hour to the instance (using date interval).
+ * @method $this addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
+ * @method $this addMinute() Add one minute to the instance (using date interval).
+ * @method $this subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
+ * @method $this subMinute() Sub one minute to the instance (using date interval).
+ * @method $this addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
+ * @method $this addSecond() Add one second to the instance (using date interval).
+ * @method $this subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
+ * @method $this subSecond() Sub one second to the instance (using date interval).
+ * @method $this addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this addMilli() Add one millisecond to the instance (using date interval).
+ * @method $this subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this subMilli() Sub one millisecond to the instance (using date interval).
+ * @method $this addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this addMillisecond() Add one millisecond to the instance (using date interval).
+ * @method $this subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this subMillisecond() Sub one millisecond to the instance (using date interval).
+ * @method $this addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this addMicro() Add one microsecond to the instance (using date interval).
+ * @method $this subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this subMicro() Sub one microsecond to the instance (using date interval).
+ * @method $this addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this addMicrosecond() Add one microsecond to the instance (using date interval).
+ * @method $this subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method $this subMicrosecond() Sub one microsecond to the instance (using date interval).
+ * @method $this addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
+ * @method $this addMillennium() Add one millennium to the instance (using date interval).
+ * @method $this subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
+ * @method $this subMillennium() Sub one millennium to the instance (using date interval).
+ * @method $this addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
+ * @method $this addCentury() Add one century to the instance (using date interval).
+ * @method $this subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
+ * @method $this subCentury() Sub one century to the instance (using date interval).
+ * @method $this addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
+ * @method $this addDecade() Add one decade to the instance (using date interval).
+ * @method $this subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
+ * @method $this subDecade() Sub one decade to the instance (using date interval).
+ * @method $this addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
+ * @method $this addQuarter() Add one quarter to the instance (using date interval).
+ * @method $this subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
+ * @method $this subQuarter() Sub one quarter to the instance (using date interval).
+ * @method $this addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method $this addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method $this addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
+ * @method $this addWeek() Add one week to the instance (using date interval).
+ * @method $this subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
+ * @method $this subWeek() Sub one week to the instance (using date interval).
+ * @method $this addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
+ * @method $this addWeekday() Add one weekday to the instance (using date interval).
+ * @method $this subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
+ * @method $this subWeekday() Sub one weekday to the instance (using date interval).
+ * @method $this addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMicro() Add one microsecond to the instance (using timestamp).
+ * @method $this subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMicro() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method $this addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMicrosecond() Add one microsecond to the instance (using timestamp).
+ * @method $this subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method $this addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMilli() Add one millisecond to the instance (using timestamp).
+ * @method $this subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMilli() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method $this addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMillisecond() Add one millisecond to the instance (using timestamp).
+ * @method $this subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMillisecond() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method $this addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealSecond() Add one second to the instance (using timestamp).
+ * @method $this subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealSecond() Sub one second to the instance (using timestamp).
+ * @method CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
+ * @method $this addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMinute() Add one minute to the instance (using timestamp).
+ * @method $this subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMinute() Sub one minute to the instance (using timestamp).
+ * @method CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
+ * @method $this addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealHour() Add one hour to the instance (using timestamp).
+ * @method $this subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealHour() Sub one hour to the instance (using timestamp).
+ * @method CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
+ * @method $this addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealDay() Add one day to the instance (using timestamp).
+ * @method $this subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealDay() Sub one day to the instance (using timestamp).
+ * @method CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
+ * @method $this addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealWeek() Add one week to the instance (using timestamp).
+ * @method $this subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealWeek() Sub one week to the instance (using timestamp).
+ * @method CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
+ * @method $this addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMonth() Add one month to the instance (using timestamp).
+ * @method $this subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMonth() Sub one month to the instance (using timestamp).
+ * @method CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
+ * @method $this addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealQuarter() Add one quarter to the instance (using timestamp).
+ * @method $this subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealQuarter() Sub one quarter to the instance (using timestamp).
+ * @method CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
+ * @method $this addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealYear() Add one year to the instance (using timestamp).
+ * @method $this subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealYear() Sub one year to the instance (using timestamp).
+ * @method CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
+ * @method $this addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealDecade() Add one decade to the instance (using timestamp).
+ * @method $this subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealDecade() Sub one decade to the instance (using timestamp).
+ * @method CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
+ * @method $this addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealCentury() Add one century to the instance (using timestamp).
+ * @method $this subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealCentury() Sub one century to the instance (using timestamp).
+ * @method CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
+ * @method $this addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
+ * @method $this addRealMillennium() Add one millennium to the instance (using timestamp).
+ * @method $this subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
+ * @method $this subRealMillennium() Sub one millennium to the instance (using timestamp).
+ * @method CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
+ * @method $this roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method $this roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method $this floorYear(float $precision = 1) Truncate the current instance year with given precision.
+ * @method $this floorYears(float $precision = 1) Truncate the current instance year with given precision.
+ * @method $this ceilYear(float $precision = 1) Ceil the current instance year with given precision.
+ * @method $this ceilYears(float $precision = 1) Ceil the current instance year with given precision.
+ * @method $this roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method $this roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method $this floorMonth(float $precision = 1) Truncate the current instance month with given precision.
+ * @method $this floorMonths(float $precision = 1) Truncate the current instance month with given precision.
+ * @method $this ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
+ * @method $this ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
+ * @method $this roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this floorDay(float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this floorDays(float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this ceilDay(float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this ceilDays(float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method $this roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method $this floorHour(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method $this floorHours(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method $this ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method $this ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method $this roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method $this roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method $this floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method $this floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method $this ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method $this ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method $this roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method $this roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method $this floorSecond(float $precision = 1) Truncate the current instance second with given precision.
+ * @method $this floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
+ * @method $this ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
+ * @method $this ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
+ * @method $this roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method $this roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method $this floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method $this floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method $this ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method $this ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method $this roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method $this roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method $this floorCentury(float $precision = 1) Truncate the current instance century with given precision.
+ * @method $this floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
+ * @method $this ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
+ * @method $this ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
+ * @method $this roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method $this roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method $this floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method $this floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method $this ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method $this ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method $this roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method $this roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method $this floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method $this floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method $this ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method $this ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method $this roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method $this roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method $this floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method $this floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method $this ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method $this ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method $this roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method $this roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method $this floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method $this floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method $this ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method $this ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method static static|false createFromFormat(string $format, string $time, DateTimeZone|string|false|null $timezone = null) Parse a string into a new Carbon object according to the specified format.
+ * @method static static __set_state(array $array) https://php.net/manual/en/datetime.set-state.php
+ *
+ *
+ */
+class Carbon extends DateTime implements CarbonInterface
+{
+ use Date;
+
+ /**
+ * Returns true if the current class/instance is mutable.
+ *
+ * @return bool
+ */
+ public static function isMutable()
+ {
+ return true;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonConverterInterface.php b/vendor/nesbot/carbon/src/Carbon/CarbonConverterInterface.php
new file mode 100644
index 0000000..1ce967b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonConverterInterface.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use DateTimeInterface;
+
+interface CarbonConverterInterface
+{
+ public function convertDate(DateTimeInterface $dateTime, bool $negated = false): CarbonInterface;
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonImmutable.php b/vendor/nesbot/carbon/src/Carbon/CarbonImmutable.php
new file mode 100644
index 0000000..4c9c1cf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonImmutable.php
@@ -0,0 +1,582 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\Traits\Date;
+use Carbon\Traits\DeprecatedProperties;
+use DateTimeImmutable;
+use DateTimeInterface;
+use DateTimeZone;
+
+/**
+ * A simple API extension for DateTimeImmutable.
+ *
+ * @mixin DeprecatedProperties
+ *
+ *
+ *
+ * @property int $year
+ * @property int $yearIso
+ * @property int $month
+ * @property int $day
+ * @property int $hour
+ * @property int $minute
+ * @property int $second
+ * @property int $micro
+ * @property int $microsecond
+ * @property int|float|string $timestamp seconds since the Unix Epoch
+ * @property string $englishDayOfWeek the day of week in English
+ * @property string $shortEnglishDayOfWeek the abbreviated day of week in English
+ * @property string $englishMonth the month in English
+ * @property string $shortEnglishMonth the abbreviated month in English
+ * @property int $milliseconds
+ * @property int $millisecond
+ * @property int $milli
+ * @property int $week 1 through 53
+ * @property int $isoWeek 1 through 53
+ * @property int $weekYear year according to week format
+ * @property int $isoWeekYear year according to ISO week format
+ * @property int $dayOfYear 1 through 366
+ * @property int $age does a diffInYears() with default parameters
+ * @property int $offset the timezone offset in seconds from UTC
+ * @property int $offsetMinutes the timezone offset in minutes from UTC
+ * @property int $offsetHours the timezone offset in hours from UTC
+ * @property CarbonTimeZone $timezone the current timezone
+ * @property CarbonTimeZone $tz alias of $timezone
+ * @property-read int $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
+ * @property-read int $dayOfWeekIso 1 (for Monday) through 7 (for Sunday)
+ * @property-read int $weekOfYear ISO-8601 week number of year, weeks starting on Monday
+ * @property-read int $daysInMonth number of days in the given month
+ * @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
+ * @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
+ * @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
+ * @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
+ * @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $monthName long name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortMonthName short name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $meridiem lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read string $upperMeridiem uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read int $noZeroHour current hour from 1 to 24
+ * @property-read int $weeksInYear 51 through 53
+ * @property-read int $isoWeeksInYear 51 through 53
+ * @property-read int $weekOfMonth 1 through 5
+ * @property-read int $weekNumberInMonth 1 through 5
+ * @property-read int $firstWeekDay 0 through 6
+ * @property-read int $lastWeekDay 0 through 6
+ * @property-read int $daysInYear 365 or 366
+ * @property-read int $quarter the quarter of this instance, 1 - 4
+ * @property-read int $decade the decade of this instance
+ * @property-read int $century the century of this instance
+ * @property-read int $millennium the millennium of this instance
+ * @property-read bool $dst daylight savings time indicator, true if DST, false otherwise
+ * @property-read bool $local checks if the timezone is local, true if local, false otherwise
+ * @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
+ * @property-read string $timezoneName the current timezone name
+ * @property-read string $tzName alias of $timezoneName
+ * @property-read string $locale locale of the current instance
+ *
+ * @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
+ * @method bool isLocal() Check if the current instance has non-UTC timezone.
+ * @method bool isValid() Check if the current instance is a valid date.
+ * @method bool isDST() Check if the current instance is in a daylight saving time.
+ * @method bool isSunday() Checks if the instance day is sunday.
+ * @method bool isMonday() Checks if the instance day is monday.
+ * @method bool isTuesday() Checks if the instance day is tuesday.
+ * @method bool isWednesday() Checks if the instance day is wednesday.
+ * @method bool isThursday() Checks if the instance day is thursday.
+ * @method bool isFriday() Checks if the instance day is friday.
+ * @method bool isSaturday() Checks if the instance day is saturday.
+ * @method bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentYear() Checks if the instance is in the same year as the current moment.
+ * @method bool isNextYear() Checks if the instance is in the same year as the current moment next year.
+ * @method bool isLastYear() Checks if the instance is in the same year as the current moment last year.
+ * @method bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
+ * @method bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
+ * @method bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
+ * @method bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDay() Checks if the instance is in the same day as the current moment.
+ * @method bool isNextDay() Checks if the instance is in the same day as the current moment next day.
+ * @method bool isLastDay() Checks if the instance is in the same day as the current moment last day.
+ * @method bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
+ * @method bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
+ * @method bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
+ * @method bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
+ * @method bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
+ * @method bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
+ * @method bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
+ * @method bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
+ * @method bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
+ * @method bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
+ * @method bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
+ * @method bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
+ * @method bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
+ * @method bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
+ * @method bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
+ * @method bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
+ * @method bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
+ * @method bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
+ * @method bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
+ * @method bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
+ * @method bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
+ * @method bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
+ * @method bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
+ * @method bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
+ * @method CarbonImmutable years(int $value) Set current instance year to the given value.
+ * @method CarbonImmutable year(int $value) Set current instance year to the given value.
+ * @method CarbonImmutable setYears(int $value) Set current instance year to the given value.
+ * @method CarbonImmutable setYear(int $value) Set current instance year to the given value.
+ * @method CarbonImmutable months(int $value) Set current instance month to the given value.
+ * @method CarbonImmutable month(int $value) Set current instance month to the given value.
+ * @method CarbonImmutable setMonths(int $value) Set current instance month to the given value.
+ * @method CarbonImmutable setMonth(int $value) Set current instance month to the given value.
+ * @method CarbonImmutable days(int $value) Set current instance day to the given value.
+ * @method CarbonImmutable day(int $value) Set current instance day to the given value.
+ * @method CarbonImmutable setDays(int $value) Set current instance day to the given value.
+ * @method CarbonImmutable setDay(int $value) Set current instance day to the given value.
+ * @method CarbonImmutable hours(int $value) Set current instance hour to the given value.
+ * @method CarbonImmutable hour(int $value) Set current instance hour to the given value.
+ * @method CarbonImmutable setHours(int $value) Set current instance hour to the given value.
+ * @method CarbonImmutable setHour(int $value) Set current instance hour to the given value.
+ * @method CarbonImmutable minutes(int $value) Set current instance minute to the given value.
+ * @method CarbonImmutable minute(int $value) Set current instance minute to the given value.
+ * @method CarbonImmutable setMinutes(int $value) Set current instance minute to the given value.
+ * @method CarbonImmutable setMinute(int $value) Set current instance minute to the given value.
+ * @method CarbonImmutable seconds(int $value) Set current instance second to the given value.
+ * @method CarbonImmutable second(int $value) Set current instance second to the given value.
+ * @method CarbonImmutable setSeconds(int $value) Set current instance second to the given value.
+ * @method CarbonImmutable setSecond(int $value) Set current instance second to the given value.
+ * @method CarbonImmutable millis(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable milli(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable setMillis(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable setMilli(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable milliseconds(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable millisecond(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable setMilliseconds(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable setMillisecond(int $value) Set current instance millisecond to the given value.
+ * @method CarbonImmutable micros(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable micro(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable setMicros(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable setMicro(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable microseconds(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable microsecond(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable setMicroseconds(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable setMicrosecond(int $value) Set current instance microsecond to the given value.
+ * @method CarbonImmutable addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addYear() Add one year to the instance (using date interval).
+ * @method CarbonImmutable subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subYear() Sub one year to the instance (using date interval).
+ * @method CarbonImmutable addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMonth() Add one month to the instance (using date interval).
+ * @method CarbonImmutable subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMonth() Sub one month to the instance (using date interval).
+ * @method CarbonImmutable addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addDay() Add one day to the instance (using date interval).
+ * @method CarbonImmutable subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subDay() Sub one day to the instance (using date interval).
+ * @method CarbonImmutable addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addHour() Add one hour to the instance (using date interval).
+ * @method CarbonImmutable subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subHour() Sub one hour to the instance (using date interval).
+ * @method CarbonImmutable addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMinute() Add one minute to the instance (using date interval).
+ * @method CarbonImmutable subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMinute() Sub one minute to the instance (using date interval).
+ * @method CarbonImmutable addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addSecond() Add one second to the instance (using date interval).
+ * @method CarbonImmutable subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subSecond() Sub one second to the instance (using date interval).
+ * @method CarbonImmutable addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMilli() Add one millisecond to the instance (using date interval).
+ * @method CarbonImmutable subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMilli() Sub one millisecond to the instance (using date interval).
+ * @method CarbonImmutable addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMillisecond() Add one millisecond to the instance (using date interval).
+ * @method CarbonImmutable subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMillisecond() Sub one millisecond to the instance (using date interval).
+ * @method CarbonImmutable addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMicro() Add one microsecond to the instance (using date interval).
+ * @method CarbonImmutable subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMicro() Sub one microsecond to the instance (using date interval).
+ * @method CarbonImmutable addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMicrosecond() Add one microsecond to the instance (using date interval).
+ * @method CarbonImmutable subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMicrosecond() Sub one microsecond to the instance (using date interval).
+ * @method CarbonImmutable addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addMillennium() Add one millennium to the instance (using date interval).
+ * @method CarbonImmutable subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subMillennium() Sub one millennium to the instance (using date interval).
+ * @method CarbonImmutable addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addCentury() Add one century to the instance (using date interval).
+ * @method CarbonImmutable subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subCentury() Sub one century to the instance (using date interval).
+ * @method CarbonImmutable addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addDecade() Add one decade to the instance (using date interval).
+ * @method CarbonImmutable subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subDecade() Sub one decade to the instance (using date interval).
+ * @method CarbonImmutable addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addQuarter() Add one quarter to the instance (using date interval).
+ * @method CarbonImmutable subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subQuarter() Sub one quarter to the instance (using date interval).
+ * @method CarbonImmutable addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonImmutable addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonImmutable addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addWeek() Add one week to the instance (using date interval).
+ * @method CarbonImmutable subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subWeek() Sub one week to the instance (using date interval).
+ * @method CarbonImmutable addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable addWeekday() Add one weekday to the instance (using date interval).
+ * @method CarbonImmutable subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
+ * @method CarbonImmutable subWeekday() Sub one weekday to the instance (using date interval).
+ * @method CarbonImmutable addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMicro() Add one microsecond to the instance (using timestamp).
+ * @method CarbonImmutable subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMicro() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method CarbonImmutable addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMicrosecond() Add one microsecond to the instance (using timestamp).
+ * @method CarbonImmutable subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method CarbonImmutable addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMilli() Add one millisecond to the instance (using timestamp).
+ * @method CarbonImmutable subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMilli() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method CarbonImmutable addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMillisecond() Add one millisecond to the instance (using timestamp).
+ * @method CarbonImmutable subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMillisecond() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method CarbonImmutable addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealSecond() Add one second to the instance (using timestamp).
+ * @method CarbonImmutable subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealSecond() Sub one second to the instance (using timestamp).
+ * @method CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
+ * @method CarbonImmutable addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMinute() Add one minute to the instance (using timestamp).
+ * @method CarbonImmutable subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMinute() Sub one minute to the instance (using timestamp).
+ * @method CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
+ * @method CarbonImmutable addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealHour() Add one hour to the instance (using timestamp).
+ * @method CarbonImmutable subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealHour() Sub one hour to the instance (using timestamp).
+ * @method CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
+ * @method CarbonImmutable addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealDay() Add one day to the instance (using timestamp).
+ * @method CarbonImmutable subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealDay() Sub one day to the instance (using timestamp).
+ * @method CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
+ * @method CarbonImmutable addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealWeek() Add one week to the instance (using timestamp).
+ * @method CarbonImmutable subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealWeek() Sub one week to the instance (using timestamp).
+ * @method CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
+ * @method CarbonImmutable addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMonth() Add one month to the instance (using timestamp).
+ * @method CarbonImmutable subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMonth() Sub one month to the instance (using timestamp).
+ * @method CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
+ * @method CarbonImmutable addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealQuarter() Add one quarter to the instance (using timestamp).
+ * @method CarbonImmutable subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealQuarter() Sub one quarter to the instance (using timestamp).
+ * @method CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
+ * @method CarbonImmutable addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealYear() Add one year to the instance (using timestamp).
+ * @method CarbonImmutable subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealYear() Sub one year to the instance (using timestamp).
+ * @method CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
+ * @method CarbonImmutable addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealDecade() Add one decade to the instance (using timestamp).
+ * @method CarbonImmutable subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealDecade() Sub one decade to the instance (using timestamp).
+ * @method CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
+ * @method CarbonImmutable addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealCentury() Add one century to the instance (using timestamp).
+ * @method CarbonImmutable subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealCentury() Sub one century to the instance (using timestamp).
+ * @method CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
+ * @method CarbonImmutable addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable addRealMillennium() Add one millennium to the instance (using timestamp).
+ * @method CarbonImmutable subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonImmutable subRealMillennium() Sub one millennium to the instance (using timestamp).
+ * @method CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
+ * @method CarbonImmutable roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method CarbonImmutable roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method CarbonImmutable floorYear(float $precision = 1) Truncate the current instance year with given precision.
+ * @method CarbonImmutable floorYears(float $precision = 1) Truncate the current instance year with given precision.
+ * @method CarbonImmutable ceilYear(float $precision = 1) Ceil the current instance year with given precision.
+ * @method CarbonImmutable ceilYears(float $precision = 1) Ceil the current instance year with given precision.
+ * @method CarbonImmutable roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method CarbonImmutable roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method CarbonImmutable floorMonth(float $precision = 1) Truncate the current instance month with given precision.
+ * @method CarbonImmutable floorMonths(float $precision = 1) Truncate the current instance month with given precision.
+ * @method CarbonImmutable ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
+ * @method CarbonImmutable ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
+ * @method CarbonImmutable roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method CarbonImmutable roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method CarbonImmutable floorDay(float $precision = 1) Truncate the current instance day with given precision.
+ * @method CarbonImmutable floorDays(float $precision = 1) Truncate the current instance day with given precision.
+ * @method CarbonImmutable ceilDay(float $precision = 1) Ceil the current instance day with given precision.
+ * @method CarbonImmutable ceilDays(float $precision = 1) Ceil the current instance day with given precision.
+ * @method CarbonImmutable roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method CarbonImmutable roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method CarbonImmutable floorHour(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method CarbonImmutable floorHours(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method CarbonImmutable ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method CarbonImmutable ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method CarbonImmutable roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method CarbonImmutable roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method CarbonImmutable floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method CarbonImmutable floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method CarbonImmutable ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method CarbonImmutable ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method CarbonImmutable roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method CarbonImmutable roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method CarbonImmutable floorSecond(float $precision = 1) Truncate the current instance second with given precision.
+ * @method CarbonImmutable floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
+ * @method CarbonImmutable ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
+ * @method CarbonImmutable ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
+ * @method CarbonImmutable roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method CarbonImmutable roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method CarbonImmutable floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method CarbonImmutable floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method CarbonImmutable ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method CarbonImmutable ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method CarbonImmutable roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method CarbonImmutable roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method CarbonImmutable floorCentury(float $precision = 1) Truncate the current instance century with given precision.
+ * @method CarbonImmutable floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
+ * @method CarbonImmutable ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
+ * @method CarbonImmutable ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
+ * @method CarbonImmutable roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method CarbonImmutable roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method CarbonImmutable floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method CarbonImmutable floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method CarbonImmutable ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method CarbonImmutable ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method CarbonImmutable roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method CarbonImmutable roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method CarbonImmutable floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method CarbonImmutable floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method CarbonImmutable ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method CarbonImmutable ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method CarbonImmutable roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method CarbonImmutable roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method CarbonImmutable floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method CarbonImmutable floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method CarbonImmutable ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method CarbonImmutable ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method CarbonImmutable roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method CarbonImmutable roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method CarbonImmutable floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method CarbonImmutable floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method CarbonImmutable ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method CarbonImmutable ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method static static|false createFromFormat(string $format, string $time, DateTimeZone|string|false|null $timezone = null) Parse a string into a new CarbonImmutable object according to the specified format.
+ * @method static static __set_state(array $array) https://php.net/manual/en/datetime.set-state.php
+ *
+ *
+ */
+class CarbonImmutable extends DateTimeImmutable implements CarbonInterface
+{
+ use Date {
+ __clone as dateTraitClone;
+ }
+
+ public function __clone()
+ {
+ $this->dateTraitClone();
+ $this->endOfTime = false;
+ $this->startOfTime = false;
+ }
+
+ /**
+ * Create a very old date representing start of time.
+ *
+ * @return static
+ */
+ public static function startOfTime(): self
+ {
+ $date = static::parse('0001-01-01')->years(self::getStartOfTimeYear());
+ $date->startOfTime = true;
+
+ return $date;
+ }
+
+ /**
+ * Create a very far date representing end of time.
+ *
+ * @return static
+ */
+ public static function endOfTime(): self
+ {
+ $date = static::parse('9999-12-31 23:59:59.999999')->years(self::getEndOfTimeYear());
+ $date->endOfTime = true;
+
+ return $date;
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ private static function getEndOfTimeYear(): int
+ {
+ if (version_compare(PHP_VERSION, '7.3.0-dev', '<')) {
+ return 145261681241552;
+ }
+
+ // Remove if https://bugs.php.net/bug.php?id=81107 is fixed
+ if (version_compare(PHP_VERSION, '8.1.0-dev', '>=')) {
+ return 1118290769066902787;
+ }
+
+ return PHP_INT_MAX;
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ private static function getStartOfTimeYear(): int
+ {
+ if (version_compare(PHP_VERSION, '7.3.0-dev', '<')) {
+ return -135908816449551;
+ }
+
+ // Remove if https://bugs.php.net/bug.php?id=81107 is fixed
+ if (version_compare(PHP_VERSION, '8.1.0-dev', '>=')) {
+ return -1118290769066898816;
+ }
+
+ return max(PHP_INT_MIN, -9223372036854773760);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonInterface.php b/vendor/nesbot/carbon/src/Carbon/CarbonInterface.php
new file mode 100644
index 0000000..d63c4b8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonInterface.php
@@ -0,0 +1,5143 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use BadMethodCallException;
+use Carbon\Exceptions\BadComparisonUnitException;
+use Carbon\Exceptions\ImmutableException;
+use Carbon\Exceptions\InvalidDateException;
+use Carbon\Exceptions\InvalidFormatException;
+use Carbon\Exceptions\UnknownGetterException;
+use Carbon\Exceptions\UnknownMethodException;
+use Carbon\Exceptions\UnknownSetterException;
+use Closure;
+use DateInterval;
+use DateTime;
+use DateTimeImmutable;
+use DateTimeInterface;
+use DateTimeZone;
+use JsonSerializable;
+use ReflectionException;
+use ReturnTypeWillChange;
+use Symfony\Component\Translation\TranslatorInterface;
+use Throwable;
+
+/**
+ * Common interface for Carbon and CarbonImmutable.
+ *
+ *
+ *
+ * @property int $year
+ * @property int $yearIso
+ * @property int $month
+ * @property int $day
+ * @property int $hour
+ * @property int $minute
+ * @property int $second
+ * @property int $micro
+ * @property int $microsecond
+ * @property int|float|string $timestamp seconds since the Unix Epoch
+ * @property string $englishDayOfWeek the day of week in English
+ * @property string $shortEnglishDayOfWeek the abbreviated day of week in English
+ * @property string $englishMonth the month in English
+ * @property string $shortEnglishMonth the abbreviated month in English
+ * @property int $milliseconds
+ * @property int $millisecond
+ * @property int $milli
+ * @property int $week 1 through 53
+ * @property int $isoWeek 1 through 53
+ * @property int $weekYear year according to week format
+ * @property int $isoWeekYear year according to ISO week format
+ * @property int $dayOfYear 1 through 366
+ * @property int $age does a diffInYears() with default parameters
+ * @property int $offset the timezone offset in seconds from UTC
+ * @property int $offsetMinutes the timezone offset in minutes from UTC
+ * @property int $offsetHours the timezone offset in hours from UTC
+ * @property CarbonTimeZone $timezone the current timezone
+ * @property CarbonTimeZone $tz alias of $timezone
+ * @property-read int $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
+ * @property-read int $dayOfWeekIso 1 (for Monday) through 7 (for Sunday)
+ * @property-read int $weekOfYear ISO-8601 week number of year, weeks starting on Monday
+ * @property-read int $daysInMonth number of days in the given month
+ * @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
+ * @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
+ * @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
+ * @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
+ * @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $monthName long name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortMonthName short name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $meridiem lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read string $upperMeridiem uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read int $noZeroHour current hour from 1 to 24
+ * @property-read int $weeksInYear 51 through 53
+ * @property-read int $isoWeeksInYear 51 through 53
+ * @property-read int $weekOfMonth 1 through 5
+ * @property-read int $weekNumberInMonth 1 through 5
+ * @property-read int $firstWeekDay 0 through 6
+ * @property-read int $lastWeekDay 0 through 6
+ * @property-read int $daysInYear 365 or 366
+ * @property-read int $quarter the quarter of this instance, 1 - 4
+ * @property-read int $decade the decade of this instance
+ * @property-read int $century the century of this instance
+ * @property-read int $millennium the millennium of this instance
+ * @property-read bool $dst daylight savings time indicator, true if DST, false otherwise
+ * @property-read bool $local checks if the timezone is local, true if local, false otherwise
+ * @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
+ * @property-read string $timezoneName the current timezone name
+ * @property-read string $tzName alias of $timezoneName
+ * @property-read string $locale locale of the current instance
+ *
+ * @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
+ * @method bool isLocal() Check if the current instance has non-UTC timezone.
+ * @method bool isValid() Check if the current instance is a valid date.
+ * @method bool isDST() Check if the current instance is in a daylight saving time.
+ * @method bool isSunday() Checks if the instance day is sunday.
+ * @method bool isMonday() Checks if the instance day is monday.
+ * @method bool isTuesday() Checks if the instance day is tuesday.
+ * @method bool isWednesday() Checks if the instance day is wednesday.
+ * @method bool isThursday() Checks if the instance day is thursday.
+ * @method bool isFriday() Checks if the instance day is friday.
+ * @method bool isSaturday() Checks if the instance day is saturday.
+ * @method bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentYear() Checks if the instance is in the same year as the current moment.
+ * @method bool isNextYear() Checks if the instance is in the same year as the current moment next year.
+ * @method bool isLastYear() Checks if the instance is in the same year as the current moment last year.
+ * @method bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
+ * @method bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
+ * @method bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
+ * @method bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDay() Checks if the instance is in the same day as the current moment.
+ * @method bool isNextDay() Checks if the instance is in the same day as the current moment next day.
+ * @method bool isLastDay() Checks if the instance is in the same day as the current moment last day.
+ * @method bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
+ * @method bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
+ * @method bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
+ * @method bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
+ * @method bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
+ * @method bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
+ * @method bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
+ * @method bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
+ * @method bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
+ * @method bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
+ * @method bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
+ * @method bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
+ * @method bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
+ * @method bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
+ * @method bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
+ * @method bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
+ * @method bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
+ * @method bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
+ * @method bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
+ * @method bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
+ * @method bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
+ * @method bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
+ * @method bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
+ * @method bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
+ * @method CarbonInterface years(int $value) Set current instance year to the given value.
+ * @method CarbonInterface year(int $value) Set current instance year to the given value.
+ * @method CarbonInterface setYears(int $value) Set current instance year to the given value.
+ * @method CarbonInterface setYear(int $value) Set current instance year to the given value.
+ * @method CarbonInterface months(int $value) Set current instance month to the given value.
+ * @method CarbonInterface month(int $value) Set current instance month to the given value.
+ * @method CarbonInterface setMonths(int $value) Set current instance month to the given value.
+ * @method CarbonInterface setMonth(int $value) Set current instance month to the given value.
+ * @method CarbonInterface days(int $value) Set current instance day to the given value.
+ * @method CarbonInterface day(int $value) Set current instance day to the given value.
+ * @method CarbonInterface setDays(int $value) Set current instance day to the given value.
+ * @method CarbonInterface setDay(int $value) Set current instance day to the given value.
+ * @method CarbonInterface hours(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface hour(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface setHours(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface setHour(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface minutes(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface minute(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface setMinutes(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface setMinute(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface seconds(int $value) Set current instance second to the given value.
+ * @method CarbonInterface second(int $value) Set current instance second to the given value.
+ * @method CarbonInterface setSeconds(int $value) Set current instance second to the given value.
+ * @method CarbonInterface setSecond(int $value) Set current instance second to the given value.
+ * @method CarbonInterface millis(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface milli(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMillis(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMilli(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface milliseconds(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface millisecond(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMilliseconds(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMillisecond(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface micros(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface micro(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicros(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicro(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface microseconds(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface microsecond(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicroseconds(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicrosecond(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addYear() Add one year to the instance (using date interval).
+ * @method CarbonInterface subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subYear() Sub one year to the instance (using date interval).
+ * @method CarbonInterface addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMonth() Add one month to the instance (using date interval).
+ * @method CarbonInterface subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMonth() Sub one month to the instance (using date interval).
+ * @method CarbonInterface addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addDay() Add one day to the instance (using date interval).
+ * @method CarbonInterface subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subDay() Sub one day to the instance (using date interval).
+ * @method CarbonInterface addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addHour() Add one hour to the instance (using date interval).
+ * @method CarbonInterface subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subHour() Sub one hour to the instance (using date interval).
+ * @method CarbonInterface addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMinute() Add one minute to the instance (using date interval).
+ * @method CarbonInterface subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMinute() Sub one minute to the instance (using date interval).
+ * @method CarbonInterface addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addSecond() Add one second to the instance (using date interval).
+ * @method CarbonInterface subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subSecond() Sub one second to the instance (using date interval).
+ * @method CarbonInterface addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMilli() Add one millisecond to the instance (using date interval).
+ * @method CarbonInterface subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMilli() Sub one millisecond to the instance (using date interval).
+ * @method CarbonInterface addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMillisecond() Add one millisecond to the instance (using date interval).
+ * @method CarbonInterface subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMillisecond() Sub one millisecond to the instance (using date interval).
+ * @method CarbonInterface addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMicro() Add one microsecond to the instance (using date interval).
+ * @method CarbonInterface subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMicro() Sub one microsecond to the instance (using date interval).
+ * @method CarbonInterface addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMicrosecond() Add one microsecond to the instance (using date interval).
+ * @method CarbonInterface subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMicrosecond() Sub one microsecond to the instance (using date interval).
+ * @method CarbonInterface addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMillennium() Add one millennium to the instance (using date interval).
+ * @method CarbonInterface subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMillennium() Sub one millennium to the instance (using date interval).
+ * @method CarbonInterface addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addCentury() Add one century to the instance (using date interval).
+ * @method CarbonInterface subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subCentury() Sub one century to the instance (using date interval).
+ * @method CarbonInterface addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addDecade() Add one decade to the instance (using date interval).
+ * @method CarbonInterface subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subDecade() Sub one decade to the instance (using date interval).
+ * @method CarbonInterface addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addQuarter() Add one quarter to the instance (using date interval).
+ * @method CarbonInterface subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subQuarter() Sub one quarter to the instance (using date interval).
+ * @method CarbonInterface addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addWeek() Add one week to the instance (using date interval).
+ * @method CarbonInterface subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subWeek() Sub one week to the instance (using date interval).
+ * @method CarbonInterface addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addWeekday() Add one weekday to the instance (using date interval).
+ * @method CarbonInterface subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subWeekday() Sub one weekday to the instance (using date interval).
+ * @method CarbonInterface addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMicro() Add one microsecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMicro() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method CarbonInterface addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMicrosecond() Add one microsecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method CarbonInterface addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMilli() Add one millisecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMilli() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method CarbonInterface addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMillisecond() Add one millisecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMillisecond() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method CarbonInterface addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealSecond() Add one second to the instance (using timestamp).
+ * @method CarbonInterface subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealSecond() Sub one second to the instance (using timestamp).
+ * @method CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
+ * @method CarbonInterface addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMinute() Add one minute to the instance (using timestamp).
+ * @method CarbonInterface subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMinute() Sub one minute to the instance (using timestamp).
+ * @method CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
+ * @method CarbonInterface addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealHour() Add one hour to the instance (using timestamp).
+ * @method CarbonInterface subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealHour() Sub one hour to the instance (using timestamp).
+ * @method CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
+ * @method CarbonInterface addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealDay() Add one day to the instance (using timestamp).
+ * @method CarbonInterface subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealDay() Sub one day to the instance (using timestamp).
+ * @method CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
+ * @method CarbonInterface addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealWeek() Add one week to the instance (using timestamp).
+ * @method CarbonInterface subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealWeek() Sub one week to the instance (using timestamp).
+ * @method CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
+ * @method CarbonInterface addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMonth() Add one month to the instance (using timestamp).
+ * @method CarbonInterface subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMonth() Sub one month to the instance (using timestamp).
+ * @method CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
+ * @method CarbonInterface addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealQuarter() Add one quarter to the instance (using timestamp).
+ * @method CarbonInterface subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealQuarter() Sub one quarter to the instance (using timestamp).
+ * @method CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
+ * @method CarbonInterface addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealYear() Add one year to the instance (using timestamp).
+ * @method CarbonInterface subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealYear() Sub one year to the instance (using timestamp).
+ * @method CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
+ * @method CarbonInterface addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealDecade() Add one decade to the instance (using timestamp).
+ * @method CarbonInterface subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealDecade() Sub one decade to the instance (using timestamp).
+ * @method CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
+ * @method CarbonInterface addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealCentury() Add one century to the instance (using timestamp).
+ * @method CarbonInterface subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealCentury() Sub one century to the instance (using timestamp).
+ * @method CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
+ * @method CarbonInterface addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMillennium() Add one millennium to the instance (using timestamp).
+ * @method CarbonInterface subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMillennium() Sub one millennium to the instance (using timestamp).
+ * @method CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
+ * @method CarbonInterface roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method CarbonInterface roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method CarbonInterface floorYear(float $precision = 1) Truncate the current instance year with given precision.
+ * @method CarbonInterface floorYears(float $precision = 1) Truncate the current instance year with given precision.
+ * @method CarbonInterface ceilYear(float $precision = 1) Ceil the current instance year with given precision.
+ * @method CarbonInterface ceilYears(float $precision = 1) Ceil the current instance year with given precision.
+ * @method CarbonInterface roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method CarbonInterface roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method CarbonInterface floorMonth(float $precision = 1) Truncate the current instance month with given precision.
+ * @method CarbonInterface floorMonths(float $precision = 1) Truncate the current instance month with given precision.
+ * @method CarbonInterface ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
+ * @method CarbonInterface ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
+ * @method CarbonInterface roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method CarbonInterface roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method CarbonInterface floorDay(float $precision = 1) Truncate the current instance day with given precision.
+ * @method CarbonInterface floorDays(float $precision = 1) Truncate the current instance day with given precision.
+ * @method CarbonInterface ceilDay(float $precision = 1) Ceil the current instance day with given precision.
+ * @method CarbonInterface ceilDays(float $precision = 1) Ceil the current instance day with given precision.
+ * @method CarbonInterface roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method CarbonInterface roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method CarbonInterface floorHour(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method CarbonInterface floorHours(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method CarbonInterface ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method CarbonInterface ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method CarbonInterface roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method CarbonInterface roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method CarbonInterface floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method CarbonInterface floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method CarbonInterface ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method CarbonInterface ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method CarbonInterface roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method CarbonInterface roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method CarbonInterface floorSecond(float $precision = 1) Truncate the current instance second with given precision.
+ * @method CarbonInterface floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
+ * @method CarbonInterface ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
+ * @method CarbonInterface ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
+ * @method CarbonInterface roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method CarbonInterface roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method CarbonInterface floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method CarbonInterface floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method CarbonInterface ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method CarbonInterface ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method CarbonInterface roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method CarbonInterface roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method CarbonInterface floorCentury(float $precision = 1) Truncate the current instance century with given precision.
+ * @method CarbonInterface floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
+ * @method CarbonInterface ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
+ * @method CarbonInterface ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
+ * @method CarbonInterface roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method CarbonInterface roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method CarbonInterface floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method CarbonInterface floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method CarbonInterface ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method CarbonInterface ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method CarbonInterface roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method CarbonInterface roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method CarbonInterface floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method CarbonInterface floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method CarbonInterface ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method CarbonInterface ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method CarbonInterface roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method CarbonInterface roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method CarbonInterface floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method CarbonInterface floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method CarbonInterface ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method CarbonInterface ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method CarbonInterface roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method CarbonInterface roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method CarbonInterface floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method CarbonInterface floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method CarbonInterface ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method CarbonInterface ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ *
+ *
+ */
+interface CarbonInterface extends DateTimeInterface, JsonSerializable
+{
+ /**
+ * Diff wording options(expressed in octal).
+ */
+ public const NO_ZERO_DIFF = 01;
+ public const JUST_NOW = 02;
+ public const ONE_DAY_WORDS = 04;
+ public const TWO_DAY_WORDS = 010;
+ public const SEQUENTIAL_PARTS_ONLY = 020;
+ public const ROUND = 040;
+ public const FLOOR = 0100;
+ public const CEIL = 0200;
+
+ /**
+ * Diff syntax options.
+ */
+ public const DIFF_ABSOLUTE = 1; // backward compatibility with true
+ public const DIFF_RELATIVE_AUTO = 0; // backward compatibility with false
+ public const DIFF_RELATIVE_TO_NOW = 2;
+ public const DIFF_RELATIVE_TO_OTHER = 3;
+
+ /**
+ * Translate string options.
+ */
+ public const TRANSLATE_MONTHS = 1;
+ public const TRANSLATE_DAYS = 2;
+ public const TRANSLATE_UNITS = 4;
+ public const TRANSLATE_MERIDIEM = 8;
+ public const TRANSLATE_DIFF = 0x10;
+ public const TRANSLATE_ALL = self::TRANSLATE_MONTHS | self::TRANSLATE_DAYS | self::TRANSLATE_UNITS | self::TRANSLATE_MERIDIEM | self::TRANSLATE_DIFF;
+
+ /**
+ * The day constants.
+ */
+ public const SUNDAY = 0;
+ public const MONDAY = 1;
+ public const TUESDAY = 2;
+ public const WEDNESDAY = 3;
+ public const THURSDAY = 4;
+ public const FRIDAY = 5;
+ public const SATURDAY = 6;
+
+ /**
+ * The month constants.
+ * These aren't used by Carbon itself but exist for
+ * convenience sake alone.
+ */
+ public const JANUARY = 1;
+ public const FEBRUARY = 2;
+ public const MARCH = 3;
+ public const APRIL = 4;
+ public const MAY = 5;
+ public const JUNE = 6;
+ public const JULY = 7;
+ public const AUGUST = 8;
+ public const SEPTEMBER = 9;
+ public const OCTOBER = 10;
+ public const NOVEMBER = 11;
+ public const DECEMBER = 12;
+
+ /**
+ * Number of X in Y.
+ */
+ public const YEARS_PER_MILLENNIUM = 1000;
+ public const YEARS_PER_CENTURY = 100;
+ public const YEARS_PER_DECADE = 10;
+ public const MONTHS_PER_YEAR = 12;
+ public const MONTHS_PER_QUARTER = 3;
+ public const QUARTERS_PER_YEAR = 4;
+ public const WEEKS_PER_YEAR = 52;
+ public const WEEKS_PER_MONTH = 4;
+ public const DAYS_PER_YEAR = 365;
+ public const DAYS_PER_WEEK = 7;
+ public const HOURS_PER_DAY = 24;
+ public const MINUTES_PER_HOUR = 60;
+ public const SECONDS_PER_MINUTE = 60;
+ public const MILLISECONDS_PER_SECOND = 1000;
+ public const MICROSECONDS_PER_MILLISECOND = 1000;
+ public const MICROSECONDS_PER_SECOND = 1000000;
+
+ /**
+ * Special settings to get the start of week from current locale culture.
+ */
+ public const WEEK_DAY_AUTO = 'auto';
+
+ /**
+ * RFC7231 DateTime format.
+ *
+ * @var string
+ */
+ public const RFC7231_FORMAT = 'D, d M Y H:i:s \G\M\T';
+
+ /**
+ * Default format to use for __toString method when type juggling occurs.
+ *
+ * @var string
+ */
+ public const DEFAULT_TO_STRING_FORMAT = 'Y-m-d H:i:s';
+
+ /**
+ * Format for converting mocked time, includes microseconds.
+ *
+ * @var string
+ */
+ public const MOCK_DATETIME_FORMAT = 'Y-m-d H:i:s.u';
+
+ /**
+ * Pattern detection for ->isoFormat and ::createFromIsoFormat.
+ *
+ * @var string
+ */
+ public const ISO_FORMAT_REGEXP = '(O[YMDHhms]|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY?|g{1,5}|G{1,5}|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?)';
+
+ //
+
+ /**
+ * Dynamically handle calls to the class.
+ *
+ * @param string $method magic method name called
+ * @param array $parameters parameters list
+ *
+ * @throws UnknownMethodException|BadMethodCallException|ReflectionException|Throwable
+ *
+ * @return mixed
+ */
+ public function __call($method, $parameters);
+
+ /**
+ * Dynamically handle calls to the class.
+ *
+ * @param string $method magic method name called
+ * @param array $parameters parameters list
+ *
+ * @throws BadMethodCallException
+ *
+ * @return mixed
+ */
+ public static function __callStatic($method, $parameters);
+
+ /**
+ * Update constructedObjectId on cloned.
+ */
+ public function __clone();
+
+ /**
+ * Create a new Carbon instance.
+ *
+ * Please see the testing aids section (specifically static::setTestNow())
+ * for more on the possibility of this constructor returning a test instance.
+ *
+ * @param DateTimeInterface|string|null $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ */
+ public function __construct($time = null, $tz = null);
+
+ /**
+ * Show truthy properties on var_dump().
+ *
+ * @return array
+ */
+ public function __debugInfo();
+
+ /**
+ * Get a part of the Carbon object
+ *
+ * @param string $name
+ *
+ * @throws UnknownGetterException
+ *
+ * @return string|int|bool|DateTimeZone|null
+ */
+ public function __get($name);
+
+ /**
+ * Check if an attribute exists on the object
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public function __isset($name);
+
+ /**
+ * Set a part of the Carbon object
+ *
+ * @param string $name
+ * @param string|int|DateTimeZone $value
+ *
+ * @throws UnknownSetterException|ReflectionException
+ *
+ * @return void
+ */
+ public function __set($name, $value);
+
+ /**
+ * The __set_state handler.
+ *
+ * @param string|array $dump
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public static function __set_state($dump);
+
+ /**
+ * Returns the list of properties to dump on serialize() called on.
+ *
+ * Only used by PHP < 7.4.
+ *
+ * @return array
+ */
+ public function __sleep();
+
+ /**
+ * Format the instance as a string using the set format
+ *
+ * @example
+ * ```
+ * echo Carbon::now(); // Carbon instances can be cast to string
+ * ```
+ *
+ * @return string
+ */
+ public function __toString();
+
+ /**
+ * Add given units or interval to the current instance.
+ *
+ * @example $date->add('hour', 3)
+ * @example $date->add(15, 'days')
+ * @example $date->add(CarbonInterval::days(4))
+ *
+ * @param string|DateInterval|Closure|CarbonConverterInterface $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function add($unit, $value = 1, $overflow = null);
+
+ /**
+ * Add seconds to the instance using timestamp. Positive $value travels
+ * forward while negative $value travels into the past.
+ *
+ * @param string $unit
+ * @param int $value
+ *
+ * @return static
+ */
+ public function addRealUnit($unit, $value = 1);
+
+ /**
+ * Add given units to the current instance.
+ *
+ * @param string $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ public function addUnit($unit, $value = 1, $overflow = null);
+
+ /**
+ * Add any unit to a new value without overflowing current other unit given.
+ *
+ * @param string $valueUnit unit name to modify
+ * @param int $value amount to add to the input unit
+ * @param string $overflowUnit unit name to not overflow
+ *
+ * @return static
+ */
+ public function addUnitNoOverflow($valueUnit, $value, $overflowUnit);
+
+ /**
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given to now
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single part)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function ago($syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Modify the current instance to the average of a given instance (default now) and the current instance
+ * (second-precision).
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date
+ *
+ * @return static
+ */
+ public function average($date = null);
+
+ /**
+ * Clone the current instance if it's mutable.
+ *
+ * This method is convenient to ensure you don't mutate the initial object
+ * but avoid to make a useless copy of it if it's already immutable.
+ *
+ * @return static
+ */
+ public function avoidMutation();
+
+ /**
+ * Determines if the instance is between two others.
+ *
+ * The third argument allow you to specify if bounds are included or not (true by default)
+ * but for when you including/excluding bounds may produce different results in your application,
+ * we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->between('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->between('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', false); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ * @param bool $equal Indicates if an equal to comparison should be done
+ *
+ * @return bool
+ */
+ public function between($date1, $date2, $equal = true): bool;
+
+ /**
+ * Determines if the instance is between two others, bounds excluded.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->betweenExcluded('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-25', '2018-08-01'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return bool
+ */
+ public function betweenExcluded($date1, $date2): bool;
+
+ /**
+ * Determines if the instance is between two others, bounds included.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->betweenIncluded('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-25', '2018-08-01'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return bool
+ */
+ public function betweenIncluded($date1, $date2): bool;
+
+ /**
+ * Returns either day of week + time (e.g. "Last Friday at 3:30 PM") if reference time is within 7 days,
+ * or a calendar date (e.g. "10/29/2017") otherwise.
+ *
+ * Language, date and time formats will change according to the current locale.
+ *
+ * @param Carbon|\DateTimeInterface|string|null $referenceTime
+ * @param array $formats
+ *
+ * @return string
+ */
+ public function calendar($referenceTime = null, array $formats = []);
+
+ /**
+ * Checks if the (date)time string is in a given format and valid to create a
+ * new instance.
+ *
+ * @example
+ * ```
+ * Carbon::canBeCreatedFromFormat('11:12:45', 'h:i:s'); // true
+ * Carbon::canBeCreatedFromFormat('13:12:45', 'h:i:s'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ *
+ * @return bool
+ */
+ public static function canBeCreatedFromFormat($date, $format);
+
+ /**
+ * Return the Carbon instance passed through, a now instance in the same timezone
+ * if null given or parse the input if string given.
+ *
+ * @param Carbon|\Carbon\CarbonPeriod|\Carbon\CarbonInterval|\DateInterval|\DatePeriod|DateTimeInterface|string|null $date
+ *
+ * @return static
+ */
+ public function carbonize($date = null);
+
+ /**
+ * Cast the current instance into the given class.
+ *
+ * @param string $className The $className::instance() method will be called to cast the current object.
+ *
+ * @return DateTimeInterface
+ */
+ public function cast(string $className);
+
+ /**
+ * Ceil the current instance second with given precision if specified.
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return CarbonInterface
+ */
+ public function ceil($precision = 1);
+
+ /**
+ * Ceil the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int $precision
+ *
+ * @return CarbonInterface
+ */
+ public function ceilUnit($unit, $precision = 1);
+
+ /**
+ * Ceil the current instance week.
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return CarbonInterface
+ */
+ public function ceilWeek($weekStartsAt = null);
+
+ /**
+ * Similar to native modify() method of DateTime but can handle more grammars.
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->change('next 2pm');
+ * ```
+ *
+ * @link https://php.net/manual/en/datetime.modify.php
+ *
+ * @param string $modifier
+ *
+ * @return static|false
+ */
+ public function change($modifier);
+
+ /**
+ * Cleanup properties attached to the public scope of DateTime when a dump of the date is requested.
+ * foreach ($date as $_) {}
+ * serializer($date)
+ * var_export($date)
+ * get_object_vars($date)
+ */
+ public function cleanupDumpProperties();
+
+ /**
+ * @alias copy
+ *
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function clone();
+
+ /**
+ * Get the closest date from the instance (second-precision).
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return static
+ */
+ public function closest($date1, $date2);
+
+ /**
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function copy();
+
+ /**
+ * Create a new Carbon instance from a specific date and time.
+ *
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ *
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ *
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ *
+ * @param DateTimeInterface|int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null);
+
+ /**
+ * Create a Carbon instance from just a date. The time portion is set to now.
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createFromDate($year = null, $month = null, $day = null, $tz = null);
+
+ /**
+ * Create a Carbon instance from a specific format.
+ *
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ #[ReturnTypeWillChange]
+ public static function createFromFormat($format, $time, $tz = null);
+
+ /**
+ * Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
+ *
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz optional timezone
+ * @param string|null $locale locale to be used for LTS, LT, LL, LLL, etc. macro-formats (en by fault, unneeded if no such macro-format in use)
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator optional custom translator to use for macro-formats
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null);
+
+ /**
+ * Create a Carbon instance from a specific format and a string in a given language.
+ *
+ * @param string $format Datetime format
+ * @param string $locale
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function createFromLocaleFormat($format, $locale, $time, $tz = null);
+
+ /**
+ * Create a Carbon instance from a specific ISO format and a string in a given language.
+ *
+ * @param string $format Datetime ISO format
+ * @param string $locale
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function createFromLocaleIsoFormat($format, $locale, $time, $tz = null);
+
+ /**
+ * Create a Carbon instance from just a time. The date portion is set to today.
+ *
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null);
+
+ /**
+ * Create a Carbon instance from a time string. The date portion is set to today.
+ *
+ * @param string $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createFromTimeString($time, $tz = null);
+
+ /**
+ * Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ * @param \DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function createFromTimestamp($timestamp, $tz = null);
+
+ /**
+ * Create a Carbon instance from a timestamp in milliseconds.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ * @param \DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function createFromTimestampMs($timestamp, $tz = null);
+
+ /**
+ * Create a Carbon instance from a timestamp in milliseconds.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ *
+ * @return static
+ */
+ public static function createFromTimestampMsUTC($timestamp);
+
+ /**
+ * Create a Carbon instance from an timestamp keeping the timezone to UTC.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ *
+ * @return static
+ */
+ public static function createFromTimestampUTC($timestamp);
+
+ /**
+ * Create a Carbon instance from just a date. The time portion is set to midnight.
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createMidnightDate($year = null, $month = null, $day = null, $tz = null);
+
+ /**
+ * Create a new safe Carbon instance from a specific date and time.
+ *
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ *
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ *
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ *
+ * If one of the set values is not valid, an InvalidDateException
+ * will be thrown.
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidDateException
+ *
+ * @return static|false
+ */
+ public static function createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null);
+
+ /**
+ * Create a new Carbon instance from a specific date and time using strict validation.
+ *
+ * @see create()
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null);
+
+ /**
+ * Get/set the day of year.
+ *
+ * @param int|null $value new value for day of year if using as setter.
+ *
+ * @return static|int
+ */
+ public function dayOfYear($value = null);
+
+ /**
+ * Get the difference as a CarbonInterval instance.
+ * Return relative interval (negative if $absolute flag is not set to true and the given date is before
+ * current one).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return CarbonInterval
+ */
+ public function diffAsCarbonInterval($date = null, $absolute = true, array $skip = []);
+
+ /**
+ * Get the difference by the given interval using a filter closure.
+ *
+ * @param CarbonInterval $ci An interval to traverse by
+ * @param Closure $callback
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffFiltered(CarbonInterval $ci, Closure $callback, $date = null, $absolute = true);
+
+ /**
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ *
+ * @example
+ * ```
+ * echo Carbon::tomorrow()->diffForHumans() . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(['parts' => 2]) . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(['parts' => 3, 'join' => true]) . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(Carbon::yesterday()) . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(Carbon::yesterday(), ['short' => true]) . "\n";
+ * ```
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'skip' entry, list of units to skip (array of strings or a single string,
+ * ` it can be the unit name (singular or plural) or its shortcut
+ * ` (y, m, w, d, h, min, s, ms, µs).
+ * - 'aUnit' entry, prefer "an hour" over "1 hour" if true
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * - 'minimumUnit' entry determines the smallest unit of time to display can be long or
+ * ` short form of the units, e.g. 'hour' or 'h' (default value: s)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function diffForHumans($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Get the difference in days rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInDays($date = null, $absolute = true);
+
+ /**
+ * Get the difference in days using a filter closure rounded down.
+ *
+ * @param Closure $callback
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInDaysFiltered(Closure $callback, $date = null, $absolute = true);
+
+ /**
+ * Get the difference in hours rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInHours($date = null, $absolute = true);
+
+ /**
+ * Get the difference in hours using a filter closure rounded down.
+ *
+ * @param Closure $callback
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInHoursFiltered(Closure $callback, $date = null, $absolute = true);
+
+ /**
+ * Get the difference in microseconds.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMicroseconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in milliseconds rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMilliseconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in minutes rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMinutes($date = null, $absolute = true);
+
+ /**
+ * Get the difference in months rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMonths($date = null, $absolute = true);
+
+ /**
+ * Get the difference in quarters rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInQuarters($date = null, $absolute = true);
+
+ /**
+ * Get the difference in hours rounded down using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealHours($date = null, $absolute = true);
+
+ /**
+ * Get the difference in microseconds using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealMicroseconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in milliseconds rounded down using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealMilliseconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in minutes rounded down using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealMinutes($date = null, $absolute = true);
+
+ /**
+ * Get the difference in seconds using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealSeconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in seconds rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInSeconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in weekdays rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInWeekdays($date = null, $absolute = true);
+
+ /**
+ * Get the difference in weekend days using a filter rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInWeekendDays($date = null, $absolute = true);
+
+ /**
+ * Get the difference in weeks rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInWeeks($date = null, $absolute = true);
+
+ /**
+ * Get the difference in years
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInYears($date = null, $absolute = true);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * @param int $humanDiffOption
+ */
+ public static function disableHumanDiffOption($humanDiffOption);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * @param int $humanDiffOption
+ */
+ public static function enableHumanDiffOption($humanDiffOption);
+
+ /**
+ * Modify to end of current given unit.
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->startOf('month')
+ * ->endOf('week', Carbon::FRIDAY);
+ * ```
+ *
+ * @param string $unit
+ * @param array $params
+ *
+ * @return static
+ */
+ public function endOf($unit, ...$params);
+
+ /**
+ * Resets the date to end of the century and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfCentury();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfCentury();
+
+ /**
+ * Resets the time to 23:59:59.999999 end of day
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfDay();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfDay();
+
+ /**
+ * Resets the date to end of the decade and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfDecade();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfDecade();
+
+ /**
+ * Modify to end of current hour, minutes and seconds become 59
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfHour();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfHour();
+
+ /**
+ * Resets the date to end of the millennium and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfMillennium();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfMillennium();
+
+ /**
+ * Modify to end of current minute, seconds become 59
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfMinute();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfMinute();
+
+ /**
+ * Resets the date to end of the month and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfMonth();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfMonth();
+
+ /**
+ * Resets the date to end of the quarter and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfQuarter();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfQuarter();
+
+ /**
+ * Modify to end of current second, microseconds become 999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->endOfSecond()
+ * ->format('H:i:s.u');
+ * ```
+ *
+ * @return static
+ */
+ public function endOfSecond();
+
+ /**
+ * Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->locale('ar')->endOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfWeek(Carbon::SATURDAY) . "\n";
+ * ```
+ *
+ * @param int $weekEndsAt optional start allow you to specify the day of week to use to end the week
+ *
+ * @return static
+ */
+ public function endOfWeek($weekEndsAt = null);
+
+ /**
+ * Resets the date to end of the year and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfYear();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfYear();
+
+ /**
+ * Determines if the instance is equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->eq(Carbon::parse('2018-07-25 12:45:16')); // true
+ * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see equalTo()
+ *
+ * @return bool
+ */
+ public function eq($date): bool;
+
+ /**
+ * Determines if the instance is equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->equalTo(Carbon::parse('2018-07-25 12:45:16')); // true
+ * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function equalTo($date): bool;
+
+ /**
+ * Set the current locale to the given, execute the passed function, reset the locale to previous one,
+ * then return the result of the closure (or null if the closure was void).
+ *
+ * @param string $locale locale ex. en
+ * @param callable $func
+ *
+ * @return mixed
+ */
+ public static function executeWithLocale($locale, $func);
+
+ /**
+ * Get the farthest date from the instance (second-precision).
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return static
+ */
+ public function farthest($date1, $date2);
+
+ /**
+ * Modify to the first occurrence of a given day of the week
+ * in the current month. If no dayOfWeek is provided, modify to the
+ * first day of the current month. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek
+ *
+ * @return static
+ */
+ public function firstOfMonth($dayOfWeek = null);
+
+ /**
+ * Modify to the first occurrence of a given day of the week
+ * in the current quarter. If no dayOfWeek is provided, modify to the
+ * first day of the current quarter. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function firstOfQuarter($dayOfWeek = null);
+
+ /**
+ * Modify to the first occurrence of a given day of the week
+ * in the current year. If no dayOfWeek is provided, modify to the
+ * first day of the current year. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function firstOfYear($dayOfWeek = null);
+
+ /**
+ * Get the difference in days as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInDays($date = null, $absolute = true);
+
+ /**
+ * Get the difference in hours as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInHours($date = null, $absolute = true);
+
+ /**
+ * Get the difference in minutes as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInMinutes($date = null, $absolute = true);
+
+ /**
+ * Get the difference in months as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInMonths($date = null, $absolute = true);
+
+ /**
+ * Get the difference in days as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealDays($date = null, $absolute = true);
+
+ /**
+ * Get the difference in hours as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealHours($date = null, $absolute = true);
+
+ /**
+ * Get the difference in minutes as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealMinutes($date = null, $absolute = true);
+
+ /**
+ * Get the difference in months as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealMonths($date = null, $absolute = true);
+
+ /**
+ * Get the difference in seconds as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealSeconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in weeks as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealWeeks($date = null, $absolute = true);
+
+ /**
+ * Get the difference in year as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealYears($date = null, $absolute = true);
+
+ /**
+ * Get the difference in seconds as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInSeconds($date = null, $absolute = true);
+
+ /**
+ * Get the difference in weeks as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInWeeks($date = null, $absolute = true);
+
+ /**
+ * Get the difference in year as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInYears($date = null, $absolute = true);
+
+ /**
+ * Round the current instance second with given precision if specified.
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return CarbonInterface
+ */
+ public function floor($precision = 1);
+
+ /**
+ * Truncate the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int $precision
+ *
+ * @return CarbonInterface
+ */
+ public function floorUnit($unit, $precision = 1);
+
+ /**
+ * Truncate the current instance week.
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return CarbonInterface
+ */
+ public function floorWeek($weekStartsAt = null);
+
+ /**
+ * Format the instance with the current locale. You can set the current
+ * locale using setlocale() https://php.net/setlocale.
+ *
+ * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ * Use ->isoFormat() instead.
+ * Deprecated since 2.55.0
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ public function formatLocalized($format);
+
+ /**
+ * @alias diffForHumans
+ *
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function from($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Get the difference in a human readable format in the current locale from current
+ * instance to now.
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function fromNow($syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Create an instance from a serialized string.
+ *
+ * @param string $value
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function fromSerialized($value);
+
+ /**
+ * Register a custom macro.
+ *
+ * @param object|callable $macro
+ * @param int $priority marco with higher priority is tried first
+ *
+ * @return void
+ */
+ public static function genericMacro($macro, $priority = 0);
+
+ /**
+ * Get a part of the Carbon object
+ *
+ * @param string $name
+ *
+ * @throws UnknownGetterException
+ *
+ * @return string|int|bool|DateTimeZone|null
+ */
+ public function get($name);
+
+ /**
+ * Returns the alternative number for a given date property if available in the current locale.
+ *
+ * @param string $key date property
+ *
+ * @return string
+ */
+ public function getAltNumber(string $key): string;
+
+ /**
+ * Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ *
+ * @return array
+ */
+ public static function getAvailableLocales();
+
+ /**
+ * Returns list of Language object for each available locale. This object allow you to get the ISO name, native
+ * name, region and variant of the locale.
+ *
+ * @return Language[]
+ */
+ public static function getAvailableLocalesInfo();
+
+ /**
+ * Returns list of calendar formats for ISO formatting.
+ *
+ * @param string|null $locale current locale used if null
+ *
+ * @return array
+ */
+ public function getCalendarFormats($locale = null);
+
+ /**
+ * Get the days of the week
+ *
+ * @return array
+ */
+ public static function getDays();
+
+ /**
+ * Return the number of days since the start of the week (using the current locale or the first parameter
+ * if explicitly given).
+ *
+ * @param int|null $weekStartsAt optional start allow you to specify the day of week to use to start the week,
+ * if not provided, start of week is inferred from the locale
+ * (Sunday for en_US, Monday for de_DE, etc.)
+ *
+ * @return int
+ */
+ public function getDaysFromStartOfWeek(?int $weekStartsAt = null): int;
+
+ /**
+ * Get the fallback locale.
+ *
+ * @see https://symfony.com/doc/current/components/translation.html#fallback-locales
+ *
+ * @return string|null
+ */
+ public static function getFallbackLocale();
+
+ /**
+ * List of replacements from date() format to isoFormat().
+ *
+ * @return array
+ */
+ public static function getFormatsToIsoReplacements();
+
+ /**
+ * Return default humanDiff() options (merged flags as integer).
+ *
+ * @return int
+ */
+ public static function getHumanDiffOptions();
+
+ /**
+ * Returns list of locale formats for ISO formatting.
+ *
+ * @param string|null $locale current locale used if null
+ *
+ * @return array
+ */
+ public function getIsoFormats($locale = null);
+
+ /**
+ * Returns list of locale units for ISO formatting.
+ *
+ * @return array
+ */
+ public static function getIsoUnits();
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return array
+ */
+ #[ReturnTypeWillChange]
+ public static function getLastErrors();
+
+ /**
+ * Get the raw callable macro registered globally or locally for a given name.
+ *
+ * @param string $name
+ *
+ * @return callable|null
+ */
+ public function getLocalMacro($name);
+
+ /**
+ * Get the translator of the current instance or the default if none set.
+ *
+ * @return \Symfony\Component\Translation\TranslatorInterface
+ */
+ public function getLocalTranslator();
+
+ /**
+ * Get the current translator locale.
+ *
+ * @return string
+ */
+ public static function getLocale();
+
+ /**
+ * Get the raw callable macro registered globally for a given name.
+ *
+ * @param string $name
+ *
+ * @return callable|null
+ */
+ public static function getMacro($name);
+
+ /**
+ * get midday/noon hour
+ *
+ * @return int
+ */
+ public static function getMidDayAt();
+
+ /**
+ * Returns the offset hour and minute formatted with +/- and a given separator (":" by default).
+ * For example, if the time zone is 9 hours 30 minutes, you'll get "+09:30", with "@@" as first
+ * argument, "+09@@30", with "" as first argument, "+0930". Negative offset will return something
+ * like "-12:00".
+ *
+ * @param string $separator string to place between hours and minutes (":" by default)
+ *
+ * @return string
+ */
+ public function getOffsetString($separator = ':');
+
+ /**
+ * Returns a unit of the instance padded with 0 by default or any other string if specified.
+ *
+ * @param string $unit Carbon unit name
+ * @param int $length Length of the output (2 by default)
+ * @param string $padString String to use for padding ("0" by default)
+ * @param int $padType Side(s) to pad (STR_PAD_LEFT by default)
+ *
+ * @return string
+ */
+ public function getPaddedUnit($unit, $length = 2, $padString = '0', $padType = 0);
+
+ /**
+ * Returns a timestamp rounded with the given precision (6 by default).
+ *
+ * @example getPreciseTimestamp() 1532087464437474 (microsecond maximum precision)
+ * @example getPreciseTimestamp(6) 1532087464437474
+ * @example getPreciseTimestamp(5) 153208746443747 (1/100000 second precision)
+ * @example getPreciseTimestamp(4) 15320874644375 (1/10000 second precision)
+ * @example getPreciseTimestamp(3) 1532087464437 (millisecond precision)
+ * @example getPreciseTimestamp(2) 153208746444 (1/100 second precision)
+ * @example getPreciseTimestamp(1) 15320874644 (1/10 second precision)
+ * @example getPreciseTimestamp(0) 1532087464 (second precision)
+ * @example getPreciseTimestamp(-1) 153208746 (10 second precision)
+ * @example getPreciseTimestamp(-2) 15320875 (100 second precision)
+ *
+ * @param int $precision
+ *
+ * @return float
+ */
+ public function getPreciseTimestamp($precision = 6);
+
+ /**
+ * Returns current local settings.
+ *
+ * @return array
+ */
+ public function getSettings();
+
+ /**
+ * Get the Carbon instance (real or mock) to be returned when a "now"
+ * instance is created.
+ *
+ * @return Closure|static the current instance used for testing
+ */
+ public static function getTestNow();
+
+ /**
+ * Return a format from H:i to H:i:s.u according to given unit precision.
+ *
+ * @param string $unitPrecision "minute", "second", "millisecond" or "microsecond"
+ *
+ * @return string
+ */
+ public static function getTimeFormatByPrecision($unitPrecision);
+
+ /**
+ * Returns the timestamp with millisecond precision.
+ *
+ * @return int
+ */
+ public function getTimestampMs();
+
+ /**
+ * Get the translation of the current week day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ * @param string $keySuffix "", "_short" or "_min"
+ * @param string|null $defaultValue default value if translation missing
+ *
+ * @return string
+ */
+ public function getTranslatedDayName($context = null, $keySuffix = '', $defaultValue = null);
+
+ /**
+ * Get the translation of the current abbreviated week day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ *
+ * @return string
+ */
+ public function getTranslatedMinDayName($context = null);
+
+ /**
+ * Get the translation of the current month day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ * @param string $keySuffix "" or "_short"
+ * @param string|null $defaultValue default value if translation missing
+ *
+ * @return string
+ */
+ public function getTranslatedMonthName($context = null, $keySuffix = '', $defaultValue = null);
+
+ /**
+ * Get the translation of the current short week day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ *
+ * @return string
+ */
+ public function getTranslatedShortDayName($context = null);
+
+ /**
+ * Get the translation of the current short month day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ *
+ * @return string
+ */
+ public function getTranslatedShortMonthName($context = null);
+
+ /**
+ * Returns raw translation message for a given key.
+ *
+ * @param string $key key to find
+ * @param string|null $locale current locale used if null
+ * @param string|null $default default value if translation returns the key
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator an optional translator to use
+ *
+ * @return string
+ */
+ public function getTranslationMessage(string $key, ?string $locale = null, ?string $default = null, $translator = null);
+
+ /**
+ * Returns raw translation message for a given key.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator the translator to use
+ * @param string $key key to find
+ * @param string|null $locale current locale used if null
+ * @param string|null $default default value if translation returns the key
+ *
+ * @return string
+ */
+ public static function getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null);
+
+ /**
+ * Get the default translator instance in use.
+ *
+ * @return \Symfony\Component\Translation\TranslatorInterface
+ */
+ public static function getTranslator();
+
+ /**
+ * Get the last day of week
+ *
+ * @return int
+ */
+ public static function getWeekEndsAt();
+
+ /**
+ * Get the first day of week
+ *
+ * @return int
+ */
+ public static function getWeekStartsAt();
+
+ /**
+ * Get weekend days
+ *
+ * @return array
+ */
+ public static function getWeekendDays();
+
+ /**
+ * Determines if the instance is greater (after) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function greaterThan($date): bool;
+
+ /**
+ * Determines if the instance is greater (after) than or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function greaterThanOrEqualTo($date): bool;
+
+ /**
+ * Determines if the instance is greater (after) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see greaterThan()
+ *
+ * @return bool
+ */
+ public function gt($date): bool;
+
+ /**
+ * Determines if the instance is greater (after) than or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see greaterThanOrEqualTo()
+ *
+ * @return bool
+ */
+ public function gte($date): bool;
+
+ /**
+ * Checks if the (date)time string is in a given format.
+ *
+ * @example
+ * ```
+ * Carbon::hasFormat('11:12:45', 'h:i:s'); // true
+ * Carbon::hasFormat('13:12:45', 'h:i:s'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ *
+ * @return bool
+ */
+ public static function hasFormat($date, $format);
+
+ /**
+ * Checks if the (date)time string is in a given format.
+ *
+ * @example
+ * ```
+ * Carbon::hasFormatWithModifiers('31/08/2015', 'd#m#Y'); // true
+ * Carbon::hasFormatWithModifiers('31/08/2015', 'm#d#Y'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ *
+ * @return bool
+ */
+ public static function hasFormatWithModifiers($date, $format): bool;
+
+ /**
+ * Checks if macro is registered globally or locally.
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public function hasLocalMacro($name);
+
+ /**
+ * Return true if the current instance has its own translator.
+ *
+ * @return bool
+ */
+ public function hasLocalTranslator();
+
+ /**
+ * Checks if macro is registered globally.
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public static function hasMacro($name);
+
+ /**
+ * Determine if a time string will produce a relative date.
+ *
+ * @param string $time
+ *
+ * @return bool true if time match a relative date, false if absolute or invalid time string
+ */
+ public static function hasRelativeKeywords($time);
+
+ /**
+ * Determine if there is a valid test instance set. A valid test instance
+ * is anything that is not null.
+ *
+ * @return bool true if there is a test instance, otherwise false
+ */
+ public static function hasTestNow();
+
+ /**
+ * Create a Carbon instance from a DateTime one.
+ *
+ * @param DateTimeInterface $date
+ *
+ * @return static
+ */
+ public static function instance($date);
+
+ /**
+ * Returns true if the current date matches the given string.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2018')); // false
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('06-02')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06-02')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('Sunday')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('June')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:45')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:00')); // false
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12h')); // true
+ * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3pm')); // true
+ * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3am')); // false
+ * ```
+ *
+ * @param string $tester day name, month name, hour, date, etc. as string
+ *
+ * @return bool
+ */
+ public function is(string $tester);
+
+ /**
+ * Determines if the instance is greater (after) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see greaterThan()
+ *
+ * @return bool
+ */
+ public function isAfter($date): bool;
+
+ /**
+ * Determines if the instance is less (before) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see lessThan()
+ *
+ * @return bool
+ */
+ public function isBefore($date): bool;
+
+ /**
+ * Determines if the instance is between two others
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->isBetween('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->isBetween('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01', false); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ * @param bool $equal Indicates if an equal to comparison should be done
+ *
+ * @return bool
+ */
+ public function isBetween($date1, $date2, $equal = true): bool;
+
+ /**
+ * Check if its the birthday. Compares the date/month values of the two dates.
+ *
+ * @example
+ * ```
+ * Carbon::now()->subYears(5)->isBirthday(); // true
+ * Carbon::now()->subYears(5)->subDay()->isBirthday(); // false
+ * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-05')); // true
+ * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-06')); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use current day.
+ *
+ * @return bool
+ */
+ public function isBirthday($date = null);
+
+ /**
+ * Determines if the instance is in the current unit given.
+ *
+ * @example
+ * ```
+ * Carbon::now()->isCurrentUnit('hour'); // true
+ * Carbon::now()->subHours(2)->isCurrentUnit('hour'); // false
+ * ```
+ *
+ * @param string $unit The unit to test.
+ *
+ * @throws BadMethodCallException
+ *
+ * @return bool
+ */
+ public function isCurrentUnit($unit);
+
+ /**
+ * Checks if this day is a specific day of the week.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::WEDNESDAY); // true
+ * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::FRIDAY); // false
+ * Carbon::parse('2019-07-17')->isDayOfWeek('Wednesday'); // true
+ * Carbon::parse('2019-07-17')->isDayOfWeek('Friday'); // false
+ * ```
+ *
+ * @param int $dayOfWeek
+ *
+ * @return bool
+ */
+ public function isDayOfWeek($dayOfWeek);
+
+ /**
+ * Check if the instance is end of day.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(); // true
+ * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(); // true
+ * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(); // true
+ * Carbon::parse('2019-02-28 23:59:58.999999')->isEndOfDay(); // false
+ * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(true); // true
+ * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(true); // false
+ * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(true); // false
+ * ```
+ *
+ * @param bool $checkMicroseconds check time at microseconds precision
+ *
+ * @return bool
+ */
+ public function isEndOfDay($checkMicroseconds = false);
+
+ /**
+ * Returns true if the date was created using CarbonImmutable::endOfTime()
+ *
+ * @return bool
+ */
+ public function isEndOfTime(): bool;
+
+ /**
+ * Determines if the instance is in the future, ie. greater (after) than now.
+ *
+ * @example
+ * ```
+ * Carbon::now()->addHours(5)->isFuture(); // true
+ * Carbon::now()->subHours(5)->isFuture(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isFuture();
+
+ /**
+ * Returns true if the current class/instance is immutable.
+ *
+ * @return bool
+ */
+ public static function isImmutable();
+
+ /**
+ * Check if today is the last day of the Month
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28')->isLastOfMonth(); // true
+ * Carbon::parse('2019-03-28')->isLastOfMonth(); // false
+ * Carbon::parse('2019-03-30')->isLastOfMonth(); // false
+ * Carbon::parse('2019-03-31')->isLastOfMonth(); // true
+ * Carbon::parse('2019-04-30')->isLastOfMonth(); // true
+ * ```
+ *
+ * @return bool
+ */
+ public function isLastOfMonth();
+
+ /**
+ * Determines if the instance is a leap year.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2020-01-01')->isLeapYear(); // true
+ * Carbon::parse('2019-01-01')->isLeapYear(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isLeapYear();
+
+ /**
+ * Determines if the instance is a long year (using ISO 8601 year).
+ *
+ * @example
+ * ```
+ * Carbon::parse('2015-01-01')->isLongIsoYear(); // true
+ * Carbon::parse('2016-01-01')->isLongIsoYear(); // true
+ * Carbon::parse('2016-01-03')->isLongIsoYear(); // false
+ * Carbon::parse('2019-12-29')->isLongIsoYear(); // false
+ * Carbon::parse('2019-12-30')->isLongIsoYear(); // true
+ * ```
+ *
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates
+ *
+ * @return bool
+ */
+ public function isLongIsoYear();
+
+ /**
+ * Determines if the instance is a long year (using calendar year).
+ *
+ * âš ï¸ This method completely ignores month and day to use the numeric year number,
+ * it's not correct if the exact date matters. For instance as `2019-12-30` is already
+ * in the first week of the 2020 year, if you want to know from this date if ISO week
+ * year 2020 is a long year, use `isLongIsoYear` instead.
+ *
+ * @example
+ * ```
+ * Carbon::create(2015)->isLongYear(); // true
+ * Carbon::create(2016)->isLongYear(); // false
+ * ```
+ *
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates
+ *
+ * @return bool
+ */
+ public function isLongYear();
+
+ /**
+ * Check if the instance is midday.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 11:59:59.999999')->isMidday(); // false
+ * Carbon::parse('2019-02-28 12:00:00')->isMidday(); // true
+ * Carbon::parse('2019-02-28 12:00:00.999999')->isMidday(); // true
+ * Carbon::parse('2019-02-28 12:00:01')->isMidday(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isMidday();
+
+ /**
+ * Check if the instance is start of day / midnight.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 00:00:00')->isMidnight(); // true
+ * Carbon::parse('2019-02-28 00:00:00.999999')->isMidnight(); // true
+ * Carbon::parse('2019-02-28 00:00:01')->isMidnight(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isMidnight();
+
+ /**
+ * Returns true if a property can be changed via setter.
+ *
+ * @param string $unit
+ *
+ * @return bool
+ */
+ public static function isModifiableUnit($unit);
+
+ /**
+ * Returns true if the current class/instance is mutable.
+ *
+ * @return bool
+ */
+ public static function isMutable();
+
+ /**
+ * Determines if the instance is in the past, ie. less (before) than now.
+ *
+ * @example
+ * ```
+ * Carbon::now()->subHours(5)->isPast(); // true
+ * Carbon::now()->addHours(5)->isPast(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isPast();
+
+ /**
+ * Compares the formatted values of the two dates.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-12-13')); // true
+ * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-06-14')); // false
+ * ```
+ *
+ * @param string $format date formats to compare.
+ * @param \Carbon\Carbon|\DateTimeInterface|string|null $date instance to compare with or null to use current day.
+ *
+ * @return bool
+ */
+ public function isSameAs($format, $date = null);
+
+ /**
+ * Checks if the passed in date is in the same month as the instance´s month.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-01-01')); // true
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-02-01')); // false
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01')); // false
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01'), false); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use the current date.
+ * @param bool $ofSameYear Check if it is the same month in the same year.
+ *
+ * @return bool
+ */
+ public function isSameMonth($date = null, $ofSameYear = true);
+
+ /**
+ * Checks if the passed in date is in the same quarter as the instance quarter (and year if needed).
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-03-01')); // true
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-04-01')); // false
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01')); // false
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01'), false); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|string|null $date The instance to compare with or null to use current day.
+ * @param bool $ofSameYear Check if it is the same month in the same year.
+ *
+ * @return bool
+ */
+ public function isSameQuarter($date = null, $ofSameYear = true);
+
+ /**
+ * Determines if the instance is in the current unit given.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-01-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // true
+ * Carbon::parse('2018-12-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // false
+ * ```
+ *
+ * @param string $unit singular unit string
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date instance to compare with or null to use current day.
+ *
+ * @throws BadComparisonUnitException
+ *
+ * @return bool
+ */
+ public function isSameUnit($unit, $date = null);
+
+ /**
+ * Check if the instance is start of day / midnight.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 00:00:00')->isStartOfDay(); // true
+ * Carbon::parse('2019-02-28 00:00:00.999999')->isStartOfDay(); // true
+ * Carbon::parse('2019-02-28 00:00:01')->isStartOfDay(); // false
+ * Carbon::parse('2019-02-28 00:00:00.000000')->isStartOfDay(true); // true
+ * Carbon::parse('2019-02-28 00:00:00.000012')->isStartOfDay(true); // false
+ * ```
+ *
+ * @param bool $checkMicroseconds check time at microseconds precision
+ *
+ * @return bool
+ */
+ public function isStartOfDay($checkMicroseconds = false);
+
+ /**
+ * Returns true if the date was created using CarbonImmutable::startOfTime()
+ *
+ * @return bool
+ */
+ public function isStartOfTime(): bool;
+
+ /**
+ * Returns true if the strict mode is globally in use, false else.
+ * (It can be overridden in specific instances.)
+ *
+ * @return bool
+ */
+ public static function isStrictModeEnabled();
+
+ /**
+ * Determines if the instance is today.
+ *
+ * @example
+ * ```
+ * Carbon::today()->isToday(); // true
+ * Carbon::tomorrow()->isToday(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isToday();
+
+ /**
+ * Determines if the instance is tomorrow.
+ *
+ * @example
+ * ```
+ * Carbon::tomorrow()->isTomorrow(); // true
+ * Carbon::yesterday()->isTomorrow(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isTomorrow();
+
+ /**
+ * Determines if the instance is a weekday.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-07-14')->isWeekday(); // false
+ * Carbon::parse('2019-07-15')->isWeekday(); // true
+ * ```
+ *
+ * @return bool
+ */
+ public function isWeekday();
+
+ /**
+ * Determines if the instance is a weekend day.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-07-14')->isWeekend(); // true
+ * Carbon::parse('2019-07-15')->isWeekend(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isWeekend();
+
+ /**
+ * Determines if the instance is yesterday.
+ *
+ * @example
+ * ```
+ * Carbon::yesterday()->isYesterday(); // true
+ * Carbon::tomorrow()->isYesterday(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isYesterday();
+
+ /**
+ * Format in the current language using ISO replacement patterns.
+ *
+ * @param string $format
+ * @param string|null $originalFormat provide context if a chunk has been passed alone
+ *
+ * @return string
+ */
+ public function isoFormat(string $format, ?string $originalFormat = null): string;
+
+ /**
+ * Get/set the week number using given first day of week and first
+ * day of year included in the first week. Or use ISO format if no settings
+ * given.
+ *
+ * @param int|null $week
+ * @param int|null $dayOfWeek
+ * @param int|null $dayOfYear
+ *
+ * @return int|static
+ */
+ public function isoWeek($week = null, $dayOfWeek = null, $dayOfYear = null);
+
+ /**
+ * Set/get the week number of year using given first day of week and first
+ * day of year included in the first week. Or use ISO format if no settings
+ * given.
+ *
+ * @param int|null $year if null, act as a getter, if not null, set the year and return current instance.
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int|static
+ */
+ public function isoWeekYear($year = null, $dayOfWeek = null, $dayOfYear = null);
+
+ /**
+ * Get/set the ISO weekday from 1 (Monday) to 7 (Sunday).
+ *
+ * @param int|null $value new value for weekday if using as setter.
+ *
+ * @return static|int
+ */
+ public function isoWeekday($value = null);
+
+ /**
+ * Get the number of weeks of the current week-year using given first day of week and first
+ * day of year included in the first week. Or use ISO format if no settings
+ * given.
+ *
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int
+ */
+ public function isoWeeksInYear($dayOfWeek = null, $dayOfYear = null);
+
+ /**
+ * Prepare the object for JSON serialization.
+ *
+ * @return array|string
+ */
+ #[ReturnTypeWillChange]
+ public function jsonSerialize();
+
+ /**
+ * Modify to the last occurrence of a given day of the week
+ * in the current month. If no dayOfWeek is provided, modify to the
+ * last day of the current month. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek
+ *
+ * @return static
+ */
+ public function lastOfMonth($dayOfWeek = null);
+
+ /**
+ * Modify to the last occurrence of a given day of the week
+ * in the current quarter. If no dayOfWeek is provided, modify to the
+ * last day of the current quarter. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function lastOfQuarter($dayOfWeek = null);
+
+ /**
+ * Modify to the last occurrence of a given day of the week
+ * in the current year. If no dayOfWeek is provided, modify to the
+ * last day of the current year. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function lastOfYear($dayOfWeek = null);
+
+ /**
+ * Determines if the instance is less (before) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function lessThan($date): bool;
+
+ /**
+ * Determines if the instance is less (before) or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function lessThanOrEqualTo($date): bool;
+
+ /**
+ * Get/set the locale for the current instance.
+ *
+ * @param string|null $locale
+ * @param string ...$fallbackLocales
+ *
+ * @return $this|string
+ */
+ public function locale(?string $locale = null, ...$fallbackLocales);
+
+ /**
+ * Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
+ * Support is considered enabled if the 3 words are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasDiffOneDayWords($locale);
+
+ /**
+ * Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasDiffSyntax($locale);
+
+ /**
+ * Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
+ * Support is considered enabled if the 2 words are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasDiffTwoDayWords($locale);
+
+ /**
+ * Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasPeriodSyntax($locale);
+
+ /**
+ * Returns true if the given locale is internally supported and has short-units support.
+ * Support is considered enabled if either year, day or hour has a short variant translated.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasShortUnits($locale);
+
+ /**
+ * Determines if the instance is less (before) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see lessThan()
+ *
+ * @return bool
+ */
+ public function lt($date): bool;
+
+ /**
+ * Determines if the instance is less (before) or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see lessThanOrEqualTo()
+ *
+ * @return bool
+ */
+ public function lte($date): bool;
+
+ /**
+ * Register a custom macro.
+ *
+ * @example
+ * ```
+ * $userSettings = [
+ * 'locale' => 'pt',
+ * 'timezone' => 'America/Sao_Paulo',
+ * ];
+ * Carbon::macro('userFormat', function () use ($userSettings) {
+ * return $this->copy()->locale($userSettings['locale'])->tz($userSettings['timezone'])->calendar();
+ * });
+ * echo Carbon::yesterday()->hours(11)->userFormat();
+ * ```
+ *
+ * @param string $name
+ * @param object|callable $macro
+ *
+ * @return void
+ */
+ public static function macro($name, $macro);
+
+ /**
+ * Make a Carbon instance from given variable if possible.
+ *
+ * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ *
+ * @param mixed $var
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|null
+ */
+ public static function make($var);
+
+ /**
+ * Get the maximum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return static
+ */
+ public function max($date = null);
+
+ /**
+ * Create a Carbon instance for the greatest supported date.
+ *
+ * @return static
+ */
+ public static function maxValue();
+
+ /**
+ * Get the maximum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see max()
+ *
+ * @return static
+ */
+ public function maximum($date = null);
+
+ /**
+ * Return the meridiem of the current time in the current locale.
+ *
+ * @param bool $isLower if true, returns lowercase variant if available in the current locale.
+ *
+ * @return string
+ */
+ public function meridiem(bool $isLower = false): string;
+
+ /**
+ * Modify to midday, default to self::$midDayAt
+ *
+ * @return static
+ */
+ public function midDay();
+
+ /**
+ * Get the minimum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return static
+ */
+ public function min($date = null);
+
+ /**
+ * Create a Carbon instance for the lowest supported date.
+ *
+ * @return static
+ */
+ public static function minValue();
+
+ /**
+ * Get the minimum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see min()
+ *
+ * @return static
+ */
+ public function minimum($date = null);
+
+ /**
+ * Mix another object into the class.
+ *
+ * @example
+ * ```
+ * Carbon::mixin(new class {
+ * public function addMoon() {
+ * return function () {
+ * return $this->addDays(30);
+ * };
+ * }
+ * public function subMoon() {
+ * return function () {
+ * return $this->subDays(30);
+ * };
+ * }
+ * });
+ * $fullMoon = Carbon::create('2018-12-22');
+ * $nextFullMoon = $fullMoon->addMoon();
+ * $blackMoon = Carbon::create('2019-01-06');
+ * $previousBlackMoon = $blackMoon->subMoon();
+ * echo "$nextFullMoon\n";
+ * echo "$previousBlackMoon\n";
+ * ```
+ *
+ * @param object|string $mixin
+ *
+ * @throws ReflectionException
+ *
+ * @return void
+ */
+ public static function mixin($mixin);
+
+ /**
+ * Calls \DateTime::modify if mutable or \DateTimeImmutable::modify else.
+ *
+ * @see https://php.net/manual/en/datetime.modify.php
+ *
+ * @return static|false
+ */
+ #[ReturnTypeWillChange]
+ public function modify($modify);
+
+ /**
+ * Determines if the instance is not equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->ne(Carbon::parse('2018-07-25 12:45:16')); // false
+ * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see notEqualTo()
+ *
+ * @return bool
+ */
+ public function ne($date): bool;
+
+ /**
+ * Modify to the next occurrence of a given modifier such as a day of
+ * the week. If no modifier is provided, modify to the next occurrence
+ * of the current day of the week. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param string|int|null $modifier
+ *
+ * @return static|false
+ */
+ public function next($modifier = null);
+
+ /**
+ * Go forward to the next weekday.
+ *
+ * @return static
+ */
+ public function nextWeekday();
+
+ /**
+ * Go forward to the next weekend day.
+ *
+ * @return static
+ */
+ public function nextWeekendDay();
+
+ /**
+ * Determines if the instance is not equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->notEqualTo(Carbon::parse('2018-07-25 12:45:16')); // false
+ * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function notEqualTo($date): bool;
+
+ /**
+ * Get a Carbon instance for the current date and time.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function now($tz = null);
+
+ /**
+ * Returns a present instance in the same timezone.
+ *
+ * @return static
+ */
+ public function nowWithSameTz();
+
+ /**
+ * Modify to the given occurrence of a given day of the week
+ * in the current month. If the calculated occurrence is outside the scope
+ * of the current month, then return false and no modifications are made.
+ * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int $nth
+ * @param int $dayOfWeek
+ *
+ * @return mixed
+ */
+ public function nthOfMonth($nth, $dayOfWeek);
+
+ /**
+ * Modify to the given occurrence of a given day of the week
+ * in the current quarter. If the calculated occurrence is outside the scope
+ * of the current quarter, then return false and no modifications are made.
+ * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int $nth
+ * @param int $dayOfWeek
+ *
+ * @return mixed
+ */
+ public function nthOfQuarter($nth, $dayOfWeek);
+
+ /**
+ * Modify to the given occurrence of a given day of the week
+ * in the current year. If the calculated occurrence is outside the scope
+ * of the current year, then return false and no modifications are made.
+ * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int $nth
+ * @param int $dayOfWeek
+ *
+ * @return mixed
+ */
+ public function nthOfYear($nth, $dayOfWeek);
+
+ /**
+ * Return a property with its ordinal.
+ *
+ * @param string $key
+ * @param string|null $period
+ *
+ * @return string
+ */
+ public function ordinal(string $key, ?string $period = null): string;
+
+ /**
+ * Create a carbon instance from a string.
+ *
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ *
+ * @param string|DateTimeInterface|null $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function parse($time = null, $tz = null);
+
+ /**
+ * Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
+ *
+ * @param string $time date/time string in the given language (may also contain English).
+ * @param string|null $locale if locale is null or not specified, current global locale will be
+ * used instead.
+ * @param DateTimeZone|string|null $tz optional timezone for the new instance.
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function parseFromLocale($time, $locale = null, $tz = null);
+
+ /**
+ * Returns standardized plural of a given singular/plural unit name (in English).
+ *
+ * @param string $unit
+ *
+ * @return string
+ */
+ public static function pluralUnit(string $unit): string;
+
+ /**
+ * Modify to the previous occurrence of a given modifier such as a day of
+ * the week. If no dayOfWeek is provided, modify to the previous occurrence
+ * of the current day of the week. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param string|int|null $modifier
+ *
+ * @return static|false
+ */
+ public function previous($modifier = null);
+
+ /**
+ * Go backward to the previous weekday.
+ *
+ * @return static
+ */
+ public function previousWeekday();
+
+ /**
+ * Go backward to the previous weekend day.
+ *
+ * @return static
+ */
+ public function previousWeekendDay();
+
+ /**
+ * Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
+ *
+ * @param \DateTimeInterface|Carbon|CarbonImmutable|null $end period end date
+ * @param int|\DateInterval|string|null $interval period default interval or number of the given $unit
+ * @param string|null $unit if specified, $interval must be an integer
+ *
+ * @return CarbonPeriod
+ */
+ public function range($end = null, $interval = null, $unit = null);
+
+ /**
+ * Call native PHP DateTime/DateTimeImmutable add() method.
+ *
+ * @param DateInterval $interval
+ *
+ * @return static
+ */
+ public function rawAdd(DateInterval $interval);
+
+ /**
+ * Create a Carbon instance from a specific format.
+ *
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function rawCreateFromFormat($format, $time, $tz = null);
+
+ /**
+ * @see https://php.net/manual/en/datetime.format.php
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ public function rawFormat($format);
+
+ /**
+ * Create a carbon instance from a string.
+ *
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ *
+ * @param string|DateTimeInterface|null $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function rawParse($time = null, $tz = null);
+
+ /**
+ * Call native PHP DateTime/DateTimeImmutable sub() method.
+ *
+ * @param DateInterval $interval
+ *
+ * @return static
+ */
+ public function rawSub(DateInterval $interval);
+
+ /**
+ * Remove all macros and generic macros.
+ */
+ public static function resetMacros();
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Reset the month overflow behavior.
+ *
+ * @return void
+ */
+ public static function resetMonthsOverflow();
+
+ /**
+ * Reset the format used to the default when type juggling a Carbon instance to a string
+ *
+ * @return void
+ */
+ public static function resetToStringFormat();
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Reset the month overflow behavior.
+ *
+ * @return void
+ */
+ public static function resetYearsOverflow();
+
+ /**
+ * Round the current instance second with given precision if specified.
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ * @param string $function
+ *
+ * @return CarbonInterface
+ */
+ public function round($precision = 1, $function = 'round');
+
+ /**
+ * Round the current instance at the given unit with given precision if specified and the given function.
+ *
+ * @param string $unit
+ * @param float|int $precision
+ * @param string $function
+ *
+ * @return CarbonInterface
+ */
+ public function roundUnit($unit, $precision = 1, $function = 'round');
+
+ /**
+ * Round the current instance week.
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return CarbonInterface
+ */
+ public function roundWeek($weekStartsAt = null);
+
+ /**
+ * The number of seconds since midnight.
+ *
+ * @return int
+ */
+ public function secondsSinceMidnight();
+
+ /**
+ * The number of seconds until 23:59:59.
+ *
+ * @return int
+ */
+ public function secondsUntilEndOfDay();
+
+ /**
+ * Return a serialized string of the instance.
+ *
+ * @return string
+ */
+ public function serialize();
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather transform Carbon object before the serialization.
+ *
+ * JSON serialize all Carbon instances using the given callback.
+ *
+ * @param callable $callback
+ *
+ * @return void
+ */
+ public static function serializeUsing($callback);
+
+ /**
+ * Set a part of the Carbon object
+ *
+ * @param string|array $name
+ * @param string|int|DateTimeZone $value
+ *
+ * @throws ImmutableException|UnknownSetterException
+ *
+ * @return $this
+ */
+ public function set($name, $value = null);
+
+ /**
+ * Set the date with gregorian year, month and day numbers.
+ *
+ * @see https://php.net/manual/en/datetime.setdate.php
+ *
+ * @param int $year
+ * @param int $month
+ * @param int $day
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setDate($year, $month, $day);
+
+ /**
+ * Set the year, month, and date for this instance to that of the passed instance.
+ *
+ * @param Carbon|DateTimeInterface $date now if null
+ *
+ * @return static
+ */
+ public function setDateFrom($date = null);
+
+ /**
+ * Set the date and time all together.
+ *
+ * @param int $year
+ * @param int $month
+ * @param int $day
+ * @param int $hour
+ * @param int $minute
+ * @param int $second
+ * @param int $microseconds
+ *
+ * @return static
+ */
+ public function setDateTime($year, $month, $day, $hour, $minute, $second = 0, $microseconds = 0);
+
+ /**
+ * Set the date and time for this instance to that of the passed instance.
+ *
+ * @param Carbon|DateTimeInterface $date
+ *
+ * @return static
+ */
+ public function setDateTimeFrom($date = null);
+
+ /**
+ * Set the day (keeping the current time) to the start of the week + the number of days passed as the first
+ * parameter. First day of week is driven by the locale unless explicitly set with the second parameter.
+ *
+ * @param int $numberOfDays number of days to add after the start of the current week
+ * @param int|null $weekStartsAt optional start allow you to specify the day of week to use to start the week,
+ * if not provided, start of week is inferred from the locale
+ * (Sunday for en_US, Monday for de_DE, etc.)
+ *
+ * @return static
+ */
+ public function setDaysFromStartOfWeek(int $numberOfDays, ?int $weekStartsAt = null);
+
+ /**
+ * Set the fallback locale.
+ *
+ * @see https://symfony.com/doc/current/components/translation.html#fallback-locales
+ *
+ * @param string $locale
+ */
+ public static function setFallbackLocale($locale);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * @param int $humanDiffOptions
+ */
+ public static function setHumanDiffOptions($humanDiffOptions);
+
+ /**
+ * Set a date according to the ISO 8601 standard - using weeks and day offsets rather than specific dates.
+ *
+ * @see https://php.net/manual/en/datetime.setisodate.php
+ *
+ * @param int $year
+ * @param int $week
+ * @param int $day
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setISODate($year, $week, $day = 1);
+
+ /**
+ * Set the translator for the current instance.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ *
+ * @return $this
+ */
+ public function setLocalTranslator(TranslatorInterface $translator);
+
+ /**
+ * Set the current translator locale and indicate if the source locale file exists.
+ * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function setLocale($locale);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
+ * hour, test it explicitly:
+ * $date->format('G') == 13
+ * or to set explicitly to a given hour:
+ * $date->setTime(13, 0, 0, 0)
+ *
+ * Set midday/noon hour
+ *
+ * @param int $hour midday hour
+ *
+ * @return void
+ */
+ public static function setMidDayAt($hour);
+
+ /**
+ * Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ *
+ * Note the timezone parameter was left out of the examples above and
+ * has no affect as the mock value will be returned regardless of its value.
+ *
+ * Only the moment is mocked with setTestNow(), the timezone will still be the one passed
+ * as parameter of date_default_timezone_get() as a fallback (see setTestNowAndTimezone()).
+ *
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ *
+ * /!\ Use this method for unit tests only.
+ *
+ * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
+ */
+ public static function setTestNow($testNow = null);
+
+ /**
+ * Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ *
+ * It will also align default timezone (e.g. call date_default_timezone_set()) with
+ * the second argument or if null, with the timezone of the given date object.
+ *
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ *
+ * /!\ Use this method for unit tests only.
+ *
+ * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
+ */
+ public static function setTestNowAndTimezone($testNow = null, $tz = null);
+
+ /**
+ * Resets the current time of the DateTime object to a different time.
+ *
+ * @see https://php.net/manual/en/datetime.settime.php
+ *
+ * @param int $hour
+ * @param int $minute
+ * @param int $second
+ * @param int $microseconds
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setTime($hour, $minute, $second = 0, $microseconds = 0);
+
+ /**
+ * Set the hour, minute, second and microseconds for this instance to that of the passed instance.
+ *
+ * @param Carbon|DateTimeInterface $date now if null
+ *
+ * @return static
+ */
+ public function setTimeFrom($date = null);
+
+ /**
+ * Set the time by time string.
+ *
+ * @param string $time
+ *
+ * @return static
+ */
+ public function setTimeFromTimeString($time);
+
+ /**
+ * Set the instance's timestamp.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $unixTimestamp
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setTimestamp($unixTimestamp);
+
+ /**
+ * Set the instance's timezone from a string or object.
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setTimezone($value);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather let Carbon object being cast to string with DEFAULT_TO_STRING_FORMAT, and
+ * use other method or custom format passed to format() method if you need to dump another string
+ * format.
+ *
+ * Set the default format used when type juggling a Carbon instance to a string.
+ *
+ * @param string|Closure|null $format
+ *
+ * @return void
+ */
+ public static function setToStringFormat($format);
+
+ /**
+ * Set the default translator instance to use.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ *
+ * @return void
+ */
+ public static function setTranslator(TranslatorInterface $translator);
+
+ /**
+ * Set specified unit to new given value.
+ *
+ * @param string $unit year, month, day, hour, minute, second or microsecond
+ * @param int $value new value for given unit
+ *
+ * @return static
+ */
+ public function setUnit($unit, $value = null);
+
+ /**
+ * Set any unit to a new value without overflowing current other unit given.
+ *
+ * @param string $valueUnit unit name to modify
+ * @param int $value new value for the input unit
+ * @param string $overflowUnit unit name to not overflow
+ *
+ * @return static
+ */
+ public function setUnitNoOverflow($valueUnit, $value, $overflowUnit);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use UTF-8 language packages on every machine.
+ *
+ * Set if UTF8 will be used for localized date/time.
+ *
+ * @param bool $utf8
+ */
+ public static function setUtf8($utf8);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
+ * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
+ * start of week according to current locale selected and implicitly the end of week.
+ *
+ * Set the last day of week
+ *
+ * @param int|string $day week end day (or 'auto' to get the day before the first day of week
+ * from Carbon::getLocale() culture).
+ *
+ * @return void
+ */
+ public static function setWeekEndsAt($day);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
+ * 'first_day_of_week' locale setting to change the start of week according to current locale
+ * selected and implicitly the end of week.
+ *
+ * Set the first day of week
+ *
+ * @param int|string $day week start day (or 'auto' to get the first day of week from Carbon::getLocale() culture).
+ *
+ * @return void
+ */
+ public static function setWeekStartsAt($day);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider week-end is always saturday and sunday, and if you have some custom
+ * week-end days to handle, give to those days an other name and create a macro for them:
+ *
+ * ```
+ * Carbon::macro('isDayOff', function ($date) {
+ * return $date->isSunday() || $date->isMonday();
+ * });
+ * Carbon::macro('isNotDayOff', function ($date) {
+ * return !$date->isDayOff();
+ * });
+ * if ($someDate->isDayOff()) ...
+ * if ($someDate->isNotDayOff()) ...
+ * // Add 5 not-off days
+ * $count = 5;
+ * while ($someDate->isDayOff() || ($count-- > 0)) {
+ * $someDate->addDay();
+ * }
+ * ```
+ *
+ * Set weekend days
+ *
+ * @param array $days
+ *
+ * @return void
+ */
+ public static function setWeekendDays($days);
+
+ /**
+ * Set specific options.
+ * - strictMode: true|false|null
+ * - monthOverflow: true|false|null
+ * - yearOverflow: true|false|null
+ * - humanDiffOptions: int|null
+ * - toStringFormat: string|Closure|null
+ * - toJsonFormat: string|Closure|null
+ * - locale: string|null
+ * - timezone: \DateTimeZone|string|int|null
+ * - macros: array|null
+ * - genericMacros: array|null
+ *
+ * @param array $settings
+ *
+ * @return $this|static
+ */
+ public function settings(array $settings);
+
+ /**
+ * Set the instance's timezone from a string or object and add/subtract the offset difference.
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static
+ */
+ public function shiftTimezone($value);
+
+ /**
+ * Get the month overflow global behavior (can be overridden in specific instances).
+ *
+ * @return bool
+ */
+ public static function shouldOverflowMonths();
+
+ /**
+ * Get the month overflow global behavior (can be overridden in specific instances).
+ *
+ * @return bool
+ */
+ public static function shouldOverflowYears();
+
+ /**
+ * @alias diffForHumans
+ *
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ */
+ public function since($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Returns standardized singular of a given singular/plural unit name (in English).
+ *
+ * @param string $unit
+ *
+ * @return string
+ */
+ public static function singularUnit(string $unit): string;
+
+ /**
+ * Modify to start of current given unit.
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->startOf('month')
+ * ->endOf('week', Carbon::FRIDAY);
+ * ```
+ *
+ * @param string $unit
+ * @param array $params
+ *
+ * @return static
+ */
+ public function startOf($unit, ...$params);
+
+ /**
+ * Resets the date to the first day of the century and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfCentury();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfCentury();
+
+ /**
+ * Resets the time to 00:00:00 start of day
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfDay();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfDay();
+
+ /**
+ * Resets the date to the first day of the decade and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfDecade();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfDecade();
+
+ /**
+ * Modify to start of current hour, minutes and seconds become 0
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfHour();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfHour();
+
+ /**
+ * Resets the date to the first day of the millennium and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfMillennium();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfMillennium();
+
+ /**
+ * Modify to start of current minute, seconds become 0
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfMinute();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfMinute();
+
+ /**
+ * Resets the date to the first day of the month and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfMonth();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfMonth();
+
+ /**
+ * Resets the date to the first day of the quarter and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfQuarter();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfQuarter();
+
+ /**
+ * Modify to start of current second, microseconds become 0
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->startOfSecond()
+ * ->format('H:i:s.u');
+ * ```
+ *
+ * @return static
+ */
+ public function startOfSecond();
+
+ /**
+ * Resets the date to the first day of week (defined in $weekStartsAt) and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->locale('ar')->startOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfWeek(Carbon::SUNDAY) . "\n";
+ * ```
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return static
+ */
+ public function startOfWeek($weekStartsAt = null);
+
+ /**
+ * Resets the date to the first day of the year and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfYear();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfYear();
+
+ /**
+ * Subtract given units or interval to the current instance.
+ *
+ * @example $date->sub('hour', 3)
+ * @example $date->sub(15, 'days')
+ * @example $date->sub(CarbonInterval::days(4))
+ *
+ * @param string|DateInterval|Closure|CarbonConverterInterface $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function sub($unit, $value = 1, $overflow = null);
+
+ public function subRealUnit($unit, $value = 1);
+
+ /**
+ * Subtract given units to the current instance.
+ *
+ * @param string $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ public function subUnit($unit, $value = 1, $overflow = null);
+
+ /**
+ * Subtract any unit to a new value without overflowing current other unit given.
+ *
+ * @param string $valueUnit unit name to modify
+ * @param int $value amount to subtract to the input unit
+ * @param string $overflowUnit unit name to not overflow
+ *
+ * @return static
+ */
+ public function subUnitNoOverflow($valueUnit, $value, $overflowUnit);
+
+ /**
+ * Subtract given units or interval to the current instance.
+ *
+ * @see sub()
+ *
+ * @param string|DateInterval $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ public function subtract($unit, $value = 1, $overflow = null);
+
+ /**
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ *
+ * @return string
+ */
+ public function timespan($other = null, $timezone = null);
+
+ /**
+ * Set the instance's timestamp.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $unixTimestamp
+ *
+ * @return static
+ */
+ public function timestamp($unixTimestamp);
+
+ /**
+ * @alias setTimezone
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static
+ */
+ public function timezone($value);
+
+ /**
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given (or now if null given) to current instance.
+ *
+ * When comparing a value in the past to default now:
+ * 1 hour from now
+ * 5 months from now
+ *
+ * When comparing a value in the future to default now:
+ * 1 hour ago
+ * 5 months ago
+ *
+ * When comparing a value in the past to another value:
+ * 1 hour after
+ * 5 months after
+ *
+ * When comparing a value in the future to another value:
+ * 1 hour before
+ * 5 months before
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function to($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Get default array representation.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toArray());
+ * ```
+ *
+ * @return array
+ */
+ public function toArray();
+
+ /**
+ * Format the instance as ATOM
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toAtomString();
+ * ```
+ *
+ * @return string
+ */
+ public function toAtomString();
+
+ /**
+ * Format the instance as COOKIE
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toCookieString();
+ * ```
+ *
+ * @return string
+ */
+ public function toCookieString();
+
+ /**
+ * @alias toDateTime
+ *
+ * Return native DateTime PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toDate());
+ * ```
+ *
+ * @return DateTime
+ */
+ public function toDate();
+
+ /**
+ * Format the instance as date
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDateString();
+ * ```
+ *
+ * @return string
+ */
+ public function toDateString();
+
+ /**
+ * Return native DateTime PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toDateTime());
+ * ```
+ *
+ * @return DateTime
+ */
+ public function toDateTime();
+
+ /**
+ * Return native toDateTimeImmutable PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toDateTimeImmutable());
+ * ```
+ *
+ * @return DateTimeImmutable
+ */
+ public function toDateTimeImmutable();
+
+ /**
+ * Format the instance as date and time T-separated with no timezone
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDateTimeLocalString();
+ * echo "\n";
+ * echo Carbon::now()->toDateTimeLocalString('minute'); // You can specify precision among: minute, second, millisecond and microsecond
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toDateTimeLocalString($unitPrecision = 'second');
+
+ /**
+ * Format the instance as date and time
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDateTimeString();
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toDateTimeString($unitPrecision = 'second');
+
+ /**
+ * Format the instance with day, date and time
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDayDateTimeString();
+ * ```
+ *
+ * @return string
+ */
+ public function toDayDateTimeString();
+
+ /**
+ * Format the instance as a readable date
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toFormattedDateString();
+ * ```
+ *
+ * @return string
+ */
+ public function toFormattedDateString();
+
+ /**
+ * Format the instance with the day, and a readable date
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toFormattedDayDateString();
+ * ```
+ *
+ * @return string
+ */
+ public function toFormattedDayDateString(): string;
+
+ /**
+ * Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z, if $keepOffset truthy, offset will be kept:
+ * 1977-04-22T01:00:00-05:00).
+ *
+ * @example
+ * ```
+ * echo Carbon::now('America/Toronto')->toISOString() . "\n";
+ * echo Carbon::now('America/Toronto')->toISOString(true) . "\n";
+ * ```
+ *
+ * @param bool $keepOffset Pass true to keep the date offset. Else forced to UTC.
+ *
+ * @return null|string
+ */
+ public function toISOString($keepOffset = false);
+
+ /**
+ * Return a immutable copy of the instance.
+ *
+ * @return CarbonImmutable
+ */
+ public function toImmutable();
+
+ /**
+ * Format the instance as ISO8601
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toIso8601String();
+ * ```
+ *
+ * @return string
+ */
+ public function toIso8601String();
+
+ /**
+ * Convert the instance to UTC and return as Zulu ISO8601
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toIso8601ZuluString();
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toIso8601ZuluString($unitPrecision = 'second');
+
+ /**
+ * Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z) with UTC timezone.
+ *
+ * @example
+ * ```
+ * echo Carbon::now('America/Toronto')->toJSON();
+ * ```
+ *
+ * @return null|string
+ */
+ public function toJSON();
+
+ /**
+ * Return a mutable copy of the instance.
+ *
+ * @return Carbon
+ */
+ public function toMutable();
+
+ /**
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given to now
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single part)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function toNow($syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * Get default object representation.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toObject());
+ * ```
+ *
+ * @return object
+ */
+ public function toObject();
+
+ /**
+ * Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
+ *
+ * @param \DateTimeInterface|Carbon|CarbonImmutable|int|null $end period end date or recurrences count if int
+ * @param int|\DateInterval|string|null $interval period default interval or number of the given $unit
+ * @param string|null $unit if specified, $interval must be an integer
+ *
+ * @return CarbonPeriod
+ */
+ public function toPeriod($end = null, $interval = null, $unit = null);
+
+ /**
+ * Format the instance as RFC1036
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc1036String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc1036String();
+
+ /**
+ * Format the instance as RFC1123
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc1123String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc1123String();
+
+ /**
+ * Format the instance as RFC2822
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc2822String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc2822String();
+
+ /**
+ * Format the instance as RFC3339
+ *
+ * @param bool $extended
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc3339String() . "\n";
+ * echo Carbon::now()->toRfc3339String(true) . "\n";
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc3339String($extended = false);
+
+ /**
+ * Format the instance as RFC7231
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc7231String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc7231String();
+
+ /**
+ * Format the instance as RFC822
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc822String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc822String();
+
+ /**
+ * Format the instance as RFC850
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc850String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc850String();
+
+ /**
+ * Format the instance as RSS
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRssString();
+ * ```
+ *
+ * @return string
+ */
+ public function toRssString();
+
+ /**
+ * Returns english human readable complete date string.
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toString();
+ * ```
+ *
+ * @return string
+ */
+ public function toString();
+
+ /**
+ * Format the instance as time
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toTimeString();
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toTimeString($unitPrecision = 'second');
+
+ /**
+ * Format the instance as W3C
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toW3cString();
+ * ```
+ *
+ * @return string
+ */
+ public function toW3cString();
+
+ /**
+ * Create a Carbon instance for today.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function today($tz = null);
+
+ /**
+ * Create a Carbon instance for tomorrow.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function tomorrow($tz = null);
+
+ /**
+ * Translate using translation string or callback available.
+ *
+ * @param string $key
+ * @param array $parameters
+ * @param string|int|float|null $number
+ * @param \Symfony\Component\Translation\TranslatorInterface|null $translator
+ * @param bool $altNumbers
+ *
+ * @return string
+ */
+ public function translate(string $key, array $parameters = [], $number = null, ?TranslatorInterface $translator = null, bool $altNumbers = false): string;
+
+ /**
+ * Returns the alternative number for a given integer if available in the current locale.
+ *
+ * @param int $number
+ *
+ * @return string
+ */
+ public function translateNumber(int $number): string;
+
+ /**
+ * Translate a time string from a locale to an other.
+ *
+ * @param string $timeString date/time/duration string to translate (may also contain English)
+ * @param string|null $from input locale of the $timeString parameter (`Carbon::getLocale()` by default)
+ * @param string|null $to output locale of the result returned (`"en"` by default)
+ * @param int $mode specify what to translate with options:
+ * - self::TRANSLATE_ALL (default)
+ * - CarbonInterface::TRANSLATE_MONTHS
+ * - CarbonInterface::TRANSLATE_DAYS
+ * - CarbonInterface::TRANSLATE_UNITS
+ * - CarbonInterface::TRANSLATE_MERIDIEM
+ * You can use pipe to group: CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS
+ *
+ * @return string
+ */
+ public static function translateTimeString($timeString, $from = null, $to = null, $mode = self::TRANSLATE_ALL);
+
+ /**
+ * Translate a time string from the current locale (`$date->locale()`) to an other.
+ *
+ * @param string $timeString time string to translate
+ * @param string|null $to output locale of the result returned ("en" by default)
+ *
+ * @return string
+ */
+ public function translateTimeStringTo($timeString, $to = null);
+
+ /**
+ * Translate using translation string or callback available.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ * @param string $key
+ * @param array $parameters
+ * @param null $number
+ *
+ * @return string
+ */
+ public static function translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null): string;
+
+ /**
+ * Format as ->format() do (using date replacements patterns from https://php.net/manual/en/function.date.php)
+ * but translate words whenever possible (months, day names, etc.) using the current locale.
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ public function translatedFormat(string $format): string;
+
+ /**
+ * Set the timezone or returns the timezone name if no arguments passed.
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static|string
+ */
+ public function tz($value = null);
+
+ /**
+ * @alias getTimestamp
+ *
+ * Returns the UNIX timestamp for the current date.
+ *
+ * @return int
+ */
+ public function unix();
+
+ /**
+ * @alias to
+ *
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given (or now if null given) to current instance.
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function until($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Indicates if months should be calculated with overflow.
+ *
+ * @param bool $monthsOverflow
+ *
+ * @return void
+ */
+ public static function useMonthsOverflow($monthsOverflow = true);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * Enable the strict mode (or disable with passing false).
+ *
+ * @param bool $strictModeEnabled
+ */
+ public static function useStrictMode($strictModeEnabled = true);
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Indicates if years should be calculated with overflow.
+ *
+ * @param bool $yearsOverflow
+ *
+ * @return void
+ */
+ public static function useYearsOverflow($yearsOverflow = true);
+
+ /**
+ * Set the instance's timezone to UTC.
+ *
+ * @return static
+ */
+ public function utc();
+
+ /**
+ * Returns the minutes offset to UTC if no arguments passed, else set the timezone with given minutes shift passed.
+ *
+ * @param int|null $minuteOffset
+ *
+ * @return int|static
+ */
+ public function utcOffset(?int $minuteOffset = null);
+
+ /**
+ * Returns the milliseconds timestamps used amongst other by Date javascript objects.
+ *
+ * @return float
+ */
+ public function valueOf();
+
+ /**
+ * Get/set the week number using given first day of week and first
+ * day of year included in the first week. Or use US format if no settings
+ * given (Sunday / Jan 6).
+ *
+ * @param int|null $week
+ * @param int|null $dayOfWeek
+ * @param int|null $dayOfYear
+ *
+ * @return int|static
+ */
+ public function week($week = null, $dayOfWeek = null, $dayOfYear = null);
+
+ /**
+ * Set/get the week number of year using given first day of week and first
+ * day of year included in the first week. Or use US format if no settings
+ * given (Sunday / Jan 6).
+ *
+ * @param int|null $year if null, act as a getter, if not null, set the year and return current instance.
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int|static
+ */
+ public function weekYear($year = null, $dayOfWeek = null, $dayOfYear = null);
+
+ /**
+ * Get/set the weekday from 0 (Sunday) to 6 (Saturday).
+ *
+ * @param int|null $value new value for weekday if using as setter.
+ *
+ * @return static|int
+ */
+ public function weekday($value = null);
+
+ /**
+ * Get the number of weeks of the current week-year using given first day of week and first
+ * day of year included in the first week. Or use US format if no settings
+ * given (Sunday / Jan 6).
+ *
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int
+ */
+ public function weeksInYear($dayOfWeek = null, $dayOfYear = null);
+
+ /**
+ * Temporarily sets a static date to be used within the callback.
+ * Using setTestNow to set the date, executing the callback, then
+ * clearing the test instance.
+ *
+ * /!\ Use this method for unit tests only.
+ *
+ * @template T
+ *
+ * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
+ * @param Closure(): T $callback
+ *
+ * @return mixed
+ * @phpstan-return T
+ */
+ public static function withTestNow($testNow, $callback);
+
+ /**
+ * Create a Carbon instance for yesterday.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function yesterday($tz = null);
+
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php b/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
new file mode 100644
index 0000000..8437c54
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
@@ -0,0 +1,3054 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\Exceptions\BadFluentConstructorException;
+use Carbon\Exceptions\BadFluentSetterException;
+use Carbon\Exceptions\InvalidCastException;
+use Carbon\Exceptions\InvalidIntervalException;
+use Carbon\Exceptions\OutOfRangeException;
+use Carbon\Exceptions\ParseErrorException;
+use Carbon\Exceptions\UnitNotConfiguredException;
+use Carbon\Exceptions\UnknownGetterException;
+use Carbon\Exceptions\UnknownSetterException;
+use Carbon\Exceptions\UnknownUnitException;
+use Carbon\Traits\IntervalRounding;
+use Carbon\Traits\IntervalStep;
+use Carbon\Traits\MagicParameter;
+use Carbon\Traits\Mixin;
+use Carbon\Traits\Options;
+use Carbon\Traits\ToStringFormat;
+use Closure;
+use DateInterval;
+use DateMalformedIntervalStringException;
+use DateTimeInterface;
+use DateTimeZone;
+use Exception;
+use InvalidArgumentException;
+use ReflectionException;
+use ReturnTypeWillChange;
+use RuntimeException;
+use Throwable;
+
+/**
+ * A simple API extension for DateInterval.
+ * The implementation provides helpers to handle weeks but only days are saved.
+ * Weeks are calculated based on the total days of the current instance.
+ *
+ * @property int $years Total years of the current interval.
+ * @property int $months Total months of the current interval.
+ * @property int $weeks Total weeks of the current interval calculated from the days.
+ * @property int $dayz Total days of the current interval (weeks * 7 + days).
+ * @property int $hours Total hours of the current interval.
+ * @property int $minutes Total minutes of the current interval.
+ * @property int $seconds Total seconds of the current interval.
+ * @property int $microseconds Total microseconds of the current interval.
+ * @property int $milliseconds Total milliseconds of the current interval.
+ * @property int $microExcludeMilli Remaining microseconds without the milliseconds.
+ * @property int $dayzExcludeWeeks Total days remaining in the final week of the current instance (days % 7).
+ * @property int $daysExcludeWeeks alias of dayzExcludeWeeks
+ * @property-read float $totalYears Number of years equivalent to the interval.
+ * @property-read float $totalMonths Number of months equivalent to the interval.
+ * @property-read float $totalWeeks Number of weeks equivalent to the interval.
+ * @property-read float $totalDays Number of days equivalent to the interval.
+ * @property-read float $totalDayz Alias for totalDays.
+ * @property-read float $totalHours Number of hours equivalent to the interval.
+ * @property-read float $totalMinutes Number of minutes equivalent to the interval.
+ * @property-read float $totalSeconds Number of seconds equivalent to the interval.
+ * @property-read float $totalMilliseconds Number of milliseconds equivalent to the interval.
+ * @property-read float $totalMicroseconds Number of microseconds equivalent to the interval.
+ * @property-read string $locale locale of the current instance
+ *
+ * @method static CarbonInterval years($years = 1) Create instance specifying a number of years or modify the number of years if called on an instance.
+ * @method static CarbonInterval year($years = 1) Alias for years()
+ * @method static CarbonInterval months($months = 1) Create instance specifying a number of months or modify the number of months if called on an instance.
+ * @method static CarbonInterval month($months = 1) Alias for months()
+ * @method static CarbonInterval weeks($weeks = 1) Create instance specifying a number of weeks or modify the number of weeks if called on an instance.
+ * @method static CarbonInterval week($weeks = 1) Alias for weeks()
+ * @method static CarbonInterval days($days = 1) Create instance specifying a number of days or modify the number of days if called on an instance.
+ * @method static CarbonInterval dayz($days = 1) Alias for days()
+ * @method static CarbonInterval daysExcludeWeeks($days = 1) Create instance specifying a number of days or modify the number of days (keeping the current number of weeks) if called on an instance.
+ * @method static CarbonInterval dayzExcludeWeeks($days = 1) Alias for daysExcludeWeeks()
+ * @method static CarbonInterval day($days = 1) Alias for days()
+ * @method static CarbonInterval hours($hours = 1) Create instance specifying a number of hours or modify the number of hours if called on an instance.
+ * @method static CarbonInterval hour($hours = 1) Alias for hours()
+ * @method static CarbonInterval minutes($minutes = 1) Create instance specifying a number of minutes or modify the number of minutes if called on an instance.
+ * @method static CarbonInterval minute($minutes = 1) Alias for minutes()
+ * @method static CarbonInterval seconds($seconds = 1) Create instance specifying a number of seconds or modify the number of seconds if called on an instance.
+ * @method static CarbonInterval second($seconds = 1) Alias for seconds()
+ * @method static CarbonInterval milliseconds($milliseconds = 1) Create instance specifying a number of milliseconds or modify the number of milliseconds if called on an instance.
+ * @method static CarbonInterval millisecond($milliseconds = 1) Alias for milliseconds()
+ * @method static CarbonInterval microseconds($microseconds = 1) Create instance specifying a number of microseconds or modify the number of microseconds if called on an instance.
+ * @method static CarbonInterval microsecond($microseconds = 1) Alias for microseconds()
+ * @method $this addYears(int $years) Add given number of years to the current interval
+ * @method $this subYears(int $years) Subtract given number of years to the current interval
+ * @method $this addMonths(int $months) Add given number of months to the current interval
+ * @method $this subMonths(int $months) Subtract given number of months to the current interval
+ * @method $this addWeeks(int|float $weeks) Add given number of weeks to the current interval
+ * @method $this subWeeks(int|float $weeks) Subtract given number of weeks to the current interval
+ * @method $this addDays(int|float $days) Add given number of days to the current interval
+ * @method $this subDays(int|float $days) Subtract given number of days to the current interval
+ * @method $this addHours(int|float $hours) Add given number of hours to the current interval
+ * @method $this subHours(int|float $hours) Subtract given number of hours to the current interval
+ * @method $this addMinutes(int|float $minutes) Add given number of minutes to the current interval
+ * @method $this subMinutes(int|float $minutes) Subtract given number of minutes to the current interval
+ * @method $this addSeconds(int|float $seconds) Add given number of seconds to the current interval
+ * @method $this subSeconds(int|float $seconds) Subtract given number of seconds to the current interval
+ * @method $this addMilliseconds(int|float $milliseconds) Add given number of milliseconds to the current interval
+ * @method $this subMilliseconds(int|float $milliseconds) Subtract given number of milliseconds to the current interval
+ * @method $this addMicroseconds(int|float $microseconds) Add given number of microseconds to the current interval
+ * @method $this subMicroseconds(int|float $microseconds) Subtract given number of microseconds to the current interval
+ * @method $this roundYear(int|float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method $this roundYears(int|float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method $this floorYear(int|float $precision = 1) Truncate the current instance year with given precision.
+ * @method $this floorYears(int|float $precision = 1) Truncate the current instance year with given precision.
+ * @method $this ceilYear(int|float $precision = 1) Ceil the current instance year with given precision.
+ * @method $this ceilYears(int|float $precision = 1) Ceil the current instance year with given precision.
+ * @method $this roundMonth(int|float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method $this roundMonths(int|float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method $this floorMonth(int|float $precision = 1) Truncate the current instance month with given precision.
+ * @method $this floorMonths(int|float $precision = 1) Truncate the current instance month with given precision.
+ * @method $this ceilMonth(int|float $precision = 1) Ceil the current instance month with given precision.
+ * @method $this ceilMonths(int|float $precision = 1) Ceil the current instance month with given precision.
+ * @method $this roundWeek(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this roundWeeks(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this floorWeek(int|float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this floorWeeks(int|float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this ceilWeek(int|float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this ceilWeeks(int|float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this roundDay(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this roundDays(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this floorDay(int|float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this floorDays(int|float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this ceilDay(int|float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this ceilDays(int|float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this roundHour(int|float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method $this roundHours(int|float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method $this floorHour(int|float $precision = 1) Truncate the current instance hour with given precision.
+ * @method $this floorHours(int|float $precision = 1) Truncate the current instance hour with given precision.
+ * @method $this ceilHour(int|float $precision = 1) Ceil the current instance hour with given precision.
+ * @method $this ceilHours(int|float $precision = 1) Ceil the current instance hour with given precision.
+ * @method $this roundMinute(int|float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method $this roundMinutes(int|float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method $this floorMinute(int|float $precision = 1) Truncate the current instance minute with given precision.
+ * @method $this floorMinutes(int|float $precision = 1) Truncate the current instance minute with given precision.
+ * @method $this ceilMinute(int|float $precision = 1) Ceil the current instance minute with given precision.
+ * @method $this ceilMinutes(int|float $precision = 1) Ceil the current instance minute with given precision.
+ * @method $this roundSecond(int|float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method $this roundSeconds(int|float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method $this floorSecond(int|float $precision = 1) Truncate the current instance second with given precision.
+ * @method $this floorSeconds(int|float $precision = 1) Truncate the current instance second with given precision.
+ * @method $this ceilSecond(int|float $precision = 1) Ceil the current instance second with given precision.
+ * @method $this ceilSeconds(int|float $precision = 1) Ceil the current instance second with given precision.
+ * @method $this roundMillennium(int|float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method $this roundMillennia(int|float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method $this floorMillennium(int|float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method $this floorMillennia(int|float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method $this ceilMillennium(int|float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method $this ceilMillennia(int|float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method $this roundCentury(int|float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method $this roundCenturies(int|float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method $this floorCentury(int|float $precision = 1) Truncate the current instance century with given precision.
+ * @method $this floorCenturies(int|float $precision = 1) Truncate the current instance century with given precision.
+ * @method $this ceilCentury(int|float $precision = 1) Ceil the current instance century with given precision.
+ * @method $this ceilCenturies(int|float $precision = 1) Ceil the current instance century with given precision.
+ * @method $this roundDecade(int|float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method $this roundDecades(int|float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method $this floorDecade(int|float $precision = 1) Truncate the current instance decade with given precision.
+ * @method $this floorDecades(int|float $precision = 1) Truncate the current instance decade with given precision.
+ * @method $this ceilDecade(int|float $precision = 1) Ceil the current instance decade with given precision.
+ * @method $this ceilDecades(int|float $precision = 1) Ceil the current instance decade with given precision.
+ * @method $this roundQuarter(int|float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method $this roundQuarters(int|float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method $this floorQuarter(int|float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method $this floorQuarters(int|float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method $this ceilQuarter(int|float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method $this ceilQuarters(int|float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method $this roundMillisecond(int|float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method $this roundMilliseconds(int|float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method $this floorMillisecond(int|float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method $this floorMilliseconds(int|float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method $this ceilMillisecond(int|float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method $this ceilMilliseconds(int|float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method $this roundMicrosecond(int|float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method $this roundMicroseconds(int|float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method $this floorMicrosecond(int|float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method $this floorMicroseconds(int|float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method $this ceilMicrosecond(int|float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method $this ceilMicroseconds(int|float $precision = 1) Ceil the current instance microsecond with given precision.
+ */
+class CarbonInterval extends DateInterval implements CarbonConverterInterface
+{
+ use IntervalRounding;
+ use IntervalStep;
+ use MagicParameter;
+ use Mixin {
+ Mixin::mixin as baseMixin;
+ }
+ use Options;
+ use ToStringFormat;
+
+ /**
+ * Interval spec period designators
+ */
+ public const PERIOD_PREFIX = 'P';
+ public const PERIOD_YEARS = 'Y';
+ public const PERIOD_MONTHS = 'M';
+ public const PERIOD_DAYS = 'D';
+ public const PERIOD_TIME_PREFIX = 'T';
+ public const PERIOD_HOURS = 'H';
+ public const PERIOD_MINUTES = 'M';
+ public const PERIOD_SECONDS = 'S';
+
+ /**
+ * A translator to ... er ... translate stuff
+ *
+ * @var \Symfony\Component\Translation\TranslatorInterface
+ */
+ protected static $translator;
+
+ /**
+ * @var array|null
+ */
+ protected static $cascadeFactors;
+
+ /**
+ * @var array
+ */
+ protected static $formats = [
+ 'y' => 'y',
+ 'Y' => 'y',
+ 'o' => 'y',
+ 'm' => 'm',
+ 'n' => 'm',
+ 'W' => 'weeks',
+ 'd' => 'd',
+ 'j' => 'd',
+ 'z' => 'd',
+ 'h' => 'h',
+ 'g' => 'h',
+ 'H' => 'h',
+ 'G' => 'h',
+ 'i' => 'i',
+ 's' => 's',
+ 'u' => 'micro',
+ 'v' => 'milli',
+ ];
+
+ /**
+ * @var array|null
+ */
+ private static $flipCascadeFactors;
+
+ /**
+ * @var bool
+ */
+ private static $floatSettersEnabled = false;
+
+ /**
+ * The registered macros.
+ *
+ * @var array
+ */
+ protected static $macros = [];
+
+ /**
+ * Timezone handler for settings() method.
+ *
+ * @var mixed
+ */
+ protected $tzName;
+
+ /**
+ * Set the instance's timezone from a string or object.
+ *
+ * @param \DateTimeZone|string $tzName
+ *
+ * @return static
+ */
+ public function setTimezone($tzName)
+ {
+ $this->tzName = $tzName;
+
+ return $this;
+ }
+
+ /**
+ * @internal
+ *
+ * Set the instance's timezone from a string or object and add/subtract the offset difference.
+ *
+ * @param \DateTimeZone|string $tzName
+ *
+ * @return static
+ */
+ public function shiftTimezone($tzName)
+ {
+ $this->tzName = $tzName;
+
+ return $this;
+ }
+
+ /**
+ * Mapping of units and factors for cascading.
+ *
+ * Should only be modified by changing the factors or referenced constants.
+ *
+ * @return array
+ */
+ public static function getCascadeFactors()
+ {
+ return static::$cascadeFactors ?: static::getDefaultCascadeFactors();
+ }
+
+ protected static function getDefaultCascadeFactors(): array
+ {
+ return [
+ 'milliseconds' => [Carbon::MICROSECONDS_PER_MILLISECOND, 'microseconds'],
+ 'seconds' => [Carbon::MILLISECONDS_PER_SECOND, 'milliseconds'],
+ 'minutes' => [Carbon::SECONDS_PER_MINUTE, 'seconds'],
+ 'hours' => [Carbon::MINUTES_PER_HOUR, 'minutes'],
+ 'dayz' => [Carbon::HOURS_PER_DAY, 'hours'],
+ 'weeks' => [Carbon::DAYS_PER_WEEK, 'dayz'],
+ 'months' => [Carbon::WEEKS_PER_MONTH, 'weeks'],
+ 'years' => [Carbon::MONTHS_PER_YEAR, 'months'],
+ ];
+ }
+
+ private static function standardizeUnit($unit)
+ {
+ $unit = rtrim($unit, 'sz').'s';
+
+ return $unit === 'days' ? 'dayz' : $unit;
+ }
+
+ private static function getFlipCascadeFactors()
+ {
+ if (!self::$flipCascadeFactors) {
+ self::$flipCascadeFactors = [];
+
+ foreach (static::getCascadeFactors() as $to => [$factor, $from]) {
+ self::$flipCascadeFactors[self::standardizeUnit($from)] = [self::standardizeUnit($to), $factor];
+ }
+ }
+
+ return self::$flipCascadeFactors;
+ }
+
+ /**
+ * Set default cascading factors for ->cascade() method.
+ *
+ * @param array $cascadeFactors
+ */
+ public static function setCascadeFactors(array $cascadeFactors)
+ {
+ self::$flipCascadeFactors = null;
+ static::$cascadeFactors = $cascadeFactors;
+ }
+
+ /**
+ * This option allow you to opt-in for the Carbon 3 behavior where float
+ * values will no longer be cast to integer (so truncated).
+ *
+ * âš ï¸ This settings will be applied globally, which mean your whole application
+ * code including the third-party dependencies that also may use Carbon will
+ * adopt the new behavior.
+ */
+ public static function enableFloatSetters(bool $floatSettersEnabled = true): void
+ {
+ self::$floatSettersEnabled = $floatSettersEnabled;
+ }
+
+ ///////////////////////////////////////////////////////////////////
+ //////////////////////////// CONSTRUCTORS /////////////////////////
+ ///////////////////////////////////////////////////////////////////
+
+ /**
+ * Create a new CarbonInterval instance.
+ *
+ * @param Closure|DateInterval|string|int|null $years
+ * @param int|float|null $months
+ * @param int|float|null $weeks
+ * @param int|float|null $days
+ * @param int|float|null $hours
+ * @param int|float|null $minutes
+ * @param int|float|null $seconds
+ * @param int|float|null $microseconds
+ *
+ * @throws Exception when the interval_spec (passed as $years) cannot be parsed as an interval.
+ */
+ public function __construct($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null, $microseconds = null)
+ {
+ if ($years instanceof Closure) {
+ $this->step = $years;
+ $years = null;
+ }
+
+ if ($years instanceof DateInterval) {
+ parent::__construct(static::getDateIntervalSpec($years));
+ $this->f = $years->f;
+ self::copyNegativeUnits($years, $this);
+
+ return;
+ }
+
+ $spec = $years;
+ $isStringSpec = (\is_string($spec) && !preg_match('/^[\d.]/', $spec));
+
+ if (!$isStringSpec || (float) $years) {
+ $spec = static::PERIOD_PREFIX;
+
+ $spec .= $years > 0 ? $years.static::PERIOD_YEARS : '';
+ $spec .= $months > 0 ? $months.static::PERIOD_MONTHS : '';
+
+ $specDays = 0;
+ $specDays += $weeks > 0 ? $weeks * static::getDaysPerWeek() : 0;
+ $specDays += $days > 0 ? $days : 0;
+
+ $spec .= $specDays > 0 ? $specDays.static::PERIOD_DAYS : '';
+
+ if ($hours > 0 || $minutes > 0 || $seconds > 0) {
+ $spec .= static::PERIOD_TIME_PREFIX;
+ $spec .= $hours > 0 ? $hours.static::PERIOD_HOURS : '';
+ $spec .= $minutes > 0 ? $minutes.static::PERIOD_MINUTES : '';
+ $spec .= $seconds > 0 ? $seconds.static::PERIOD_SECONDS : '';
+ }
+
+ if ($spec === static::PERIOD_PREFIX) {
+ // Allow the zero interval.
+ $spec .= '0'.static::PERIOD_YEARS;
+ }
+ }
+
+ try {
+ parent::__construct($spec);
+ } catch (Throwable $exception) {
+ try {
+ parent::__construct('PT0S');
+
+ if ($isStringSpec) {
+ if (!preg_match('/^P
+ (?:(?[+-]?\d*(?:\.\d+)?)Y)?
+ (?:(?[+-]?\d*(?:\.\d+)?)M)?
+ (?:(?[+-]?\d*(?:\.\d+)?)W)?
+ (?:(?[+-]?\d*(?:\.\d+)?)D)?
+ (?:T
+ (?:(?[+-]?\d*(?:\.\d+)?)H)?
+ (?:(?[+-]?\d*(?:\.\d+)?)M)?
+ (?:(?[+-]?\d*(?:\.\d+)?)S)?
+ )?
+ $/x', $spec, $match)) {
+ throw new InvalidArgumentException("Invalid duration: $spec");
+ }
+
+ $years = (float) ($match['year'] ?? 0);
+ $this->assertSafeForInteger('year', $years);
+ $months = (float) ($match['month'] ?? 0);
+ $this->assertSafeForInteger('month', $months);
+ $weeks = (float) ($match['week'] ?? 0);
+ $this->assertSafeForInteger('week', $weeks);
+ $days = (float) ($match['day'] ?? 0);
+ $this->assertSafeForInteger('day', $days);
+ $hours = (float) ($match['hour'] ?? 0);
+ $this->assertSafeForInteger('hour', $hours);
+ $minutes = (float) ($match['minute'] ?? 0);
+ $this->assertSafeForInteger('minute', $minutes);
+ $seconds = (float) ($match['second'] ?? 0);
+ $this->assertSafeForInteger('second', $seconds);
+ }
+
+ $totalDays = (($weeks * static::getDaysPerWeek()) + $days);
+ $this->assertSafeForInteger('days total (including weeks)', $totalDays);
+
+ $this->y = (int) $years;
+ $this->m = (int) $months;
+ $this->d = (int) $totalDays;
+ $this->h = (int) $hours;
+ $this->i = (int) $minutes;
+ $this->s = (int) $seconds;
+
+ if (
+ ((float) $this->y) !== $years ||
+ ((float) $this->m) !== $months ||
+ ((float) $this->d) !== $totalDays ||
+ ((float) $this->h) !== $hours ||
+ ((float) $this->i) !== $minutes ||
+ ((float) $this->s) !== $seconds
+ ) {
+ $this->add(static::fromString(
+ ($years - $this->y).' years '.
+ ($months - $this->m).' months '.
+ ($totalDays - $this->d).' days '.
+ ($hours - $this->h).' hours '.
+ ($minutes - $this->i).' minutes '.
+ ($seconds - $this->s).' seconds '
+ ));
+ }
+ } catch (Throwable $secondException) {
+ throw $secondException instanceof OutOfRangeException ? $secondException : $exception;
+ }
+ }
+
+ if ($microseconds !== null) {
+ $this->f = $microseconds / Carbon::MICROSECONDS_PER_SECOND;
+ }
+ }
+
+ /**
+ * Returns the factor for a given source-to-target couple.
+ *
+ * @param string $source
+ * @param string $target
+ *
+ * @return int|float|null
+ */
+ public static function getFactor($source, $target)
+ {
+ $source = self::standardizeUnit($source);
+ $target = self::standardizeUnit($target);
+ $factors = self::getFlipCascadeFactors();
+
+ if (isset($factors[$source])) {
+ [$to, $factor] = $factors[$source];
+
+ if ($to === $target) {
+ return $factor;
+ }
+
+ return $factor * static::getFactor($to, $target);
+ }
+
+ return null;
+ }
+
+ /**
+ * Returns the factor for a given source-to-target couple if set,
+ * else try to find the appropriate constant as the factor, such as Carbon::DAYS_PER_WEEK.
+ *
+ * @param string $source
+ * @param string $target
+ *
+ * @return int|float|null
+ */
+ public static function getFactorWithDefault($source, $target)
+ {
+ $factor = self::getFactor($source, $target);
+
+ if ($factor) {
+ return $factor;
+ }
+
+ static $defaults = [
+ 'month' => ['year' => Carbon::MONTHS_PER_YEAR],
+ 'week' => ['month' => Carbon::WEEKS_PER_MONTH],
+ 'day' => ['week' => Carbon::DAYS_PER_WEEK],
+ 'hour' => ['day' => Carbon::HOURS_PER_DAY],
+ 'minute' => ['hour' => Carbon::MINUTES_PER_HOUR],
+ 'second' => ['minute' => Carbon::SECONDS_PER_MINUTE],
+ 'millisecond' => ['second' => Carbon::MILLISECONDS_PER_SECOND],
+ 'microsecond' => ['millisecond' => Carbon::MICROSECONDS_PER_MILLISECOND],
+ ];
+
+ return $defaults[$source][$target] ?? null;
+ }
+
+ /**
+ * Returns current config for days per week.
+ *
+ * @return int|float
+ */
+ public static function getDaysPerWeek()
+ {
+ return static::getFactor('dayz', 'weeks') ?: Carbon::DAYS_PER_WEEK;
+ }
+
+ /**
+ * Returns current config for hours per day.
+ *
+ * @return int|float
+ */
+ public static function getHoursPerDay()
+ {
+ return static::getFactor('hours', 'dayz') ?: Carbon::HOURS_PER_DAY;
+ }
+
+ /**
+ * Returns current config for minutes per hour.
+ *
+ * @return int|float
+ */
+ public static function getMinutesPerHour()
+ {
+ return static::getFactor('minutes', 'hours') ?: Carbon::MINUTES_PER_HOUR;
+ }
+
+ /**
+ * Returns current config for seconds per minute.
+ *
+ * @return int|float
+ */
+ public static function getSecondsPerMinute()
+ {
+ return static::getFactor('seconds', 'minutes') ?: Carbon::SECONDS_PER_MINUTE;
+ }
+
+ /**
+ * Returns current config for microseconds per second.
+ *
+ * @return int|float
+ */
+ public static function getMillisecondsPerSecond()
+ {
+ return static::getFactor('milliseconds', 'seconds') ?: Carbon::MILLISECONDS_PER_SECOND;
+ }
+
+ /**
+ * Returns current config for microseconds per second.
+ *
+ * @return int|float
+ */
+ public static function getMicrosecondsPerMillisecond()
+ {
+ return static::getFactor('microseconds', 'milliseconds') ?: Carbon::MICROSECONDS_PER_MILLISECOND;
+ }
+
+ /**
+ * Create a new CarbonInterval instance from specific values.
+ * This is an alias for the constructor that allows better fluent
+ * syntax as it allows you to do CarbonInterval::create(1)->fn() rather than
+ * (new CarbonInterval(1))->fn().
+ *
+ * @param int $years
+ * @param int $months
+ * @param int $weeks
+ * @param int $days
+ * @param int $hours
+ * @param int $minutes
+ * @param int $seconds
+ * @param int $microseconds
+ *
+ * @throws Exception when the interval_spec (passed as $years) cannot be parsed as an interval.
+ *
+ * @return static
+ */
+ public static function create($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null, $microseconds = null)
+ {
+ return new static($years, $months, $weeks, $days, $hours, $minutes, $seconds, $microseconds);
+ }
+
+ /**
+ * Parse a string into a new CarbonInterval object according to the specified format.
+ *
+ * @example
+ * ```
+ * echo Carboninterval::createFromFormat('H:i', '1:30');
+ * ```
+ *
+ * @param string $format Format of the $interval input string
+ * @param string|null $interval Input string to convert into an interval
+ *
+ * @throws \Carbon\Exceptions\ParseErrorException when the $interval cannot be parsed as an interval.
+ *
+ * @return static
+ */
+ public static function createFromFormat(string $format, ?string $interval)
+ {
+ $instance = new static(0);
+ $length = mb_strlen($format);
+
+ if (preg_match('/s([,.])([uv])$/', $format, $match)) {
+ $interval = explode($match[1], $interval);
+ $index = \count($interval) - 1;
+ $interval[$index] = str_pad($interval[$index], $match[2] === 'v' ? 3 : 6, '0');
+ $interval = implode($match[1], $interval);
+ }
+
+ $interval = $interval ?? '';
+
+ for ($index = 0; $index < $length; $index++) {
+ $expected = mb_substr($format, $index, 1);
+ $nextCharacter = mb_substr($interval, 0, 1);
+ $unit = static::$formats[$expected] ?? null;
+
+ if ($unit) {
+ if (!preg_match('/^-?\d+/', $interval, $match)) {
+ throw new ParseErrorException('number', $nextCharacter);
+ }
+
+ $interval = mb_substr($interval, mb_strlen($match[0]));
+ $instance->$unit += (int) ($match[0]);
+
+ continue;
+ }
+
+ if ($nextCharacter !== $expected) {
+ throw new ParseErrorException(
+ "'$expected'",
+ $nextCharacter,
+ 'Allowed substitutes for interval formats are '.implode(', ', array_keys(static::$formats))."\n".
+ 'See https://php.net/manual/en/function.date.php for their meaning'
+ );
+ }
+
+ $interval = mb_substr($interval, 1);
+ }
+
+ if ($interval !== '') {
+ throw new ParseErrorException(
+ 'end of string',
+ $interval
+ );
+ }
+
+ return $instance;
+ }
+
+ /**
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function copy()
+ {
+ $date = new static(0);
+ $date->copyProperties($this);
+ $date->step = $this->step;
+
+ return $date;
+ }
+
+ /**
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function clone()
+ {
+ return $this->copy();
+ }
+
+ /**
+ * Provide static helpers to create instances. Allows CarbonInterval::years(3).
+ *
+ * Note: This is done using the magic method to allow static and instance methods to
+ * have the same names.
+ *
+ * @param string $method magic method name called
+ * @param array $parameters parameters list
+ *
+ * @return static|null
+ */
+ public static function __callStatic($method, $parameters)
+ {
+ try {
+ $interval = new static(0);
+ $localStrictModeEnabled = $interval->localStrictModeEnabled;
+ $interval->localStrictModeEnabled = true;
+
+ $result = static::hasMacro($method)
+ ? static::bindMacroContext(null, function () use (&$method, &$parameters, &$interval) {
+ return $interval->callMacro($method, $parameters);
+ })
+ : $interval->$method(...$parameters);
+
+ $interval->localStrictModeEnabled = $localStrictModeEnabled;
+
+ return $result;
+ } catch (BadFluentSetterException $exception) {
+ if (Carbon::isStrictModeEnabled()) {
+ throw new BadFluentConstructorException($method, 0, $exception);
+ }
+
+ return null;
+ }
+ }
+
+ /**
+ * Evaluate the PHP generated by var_export() and recreate the exported CarbonInterval instance.
+ *
+ * @param array $dump data as exported by var_export()
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public static function __set_state($dump)
+ {
+ /** @noinspection PhpVoidFunctionResultUsedInspection */
+ /** @var DateInterval $dateInterval */
+ $dateInterval = parent::__set_state($dump);
+
+ return static::instance($dateInterval);
+ }
+
+ /**
+ * Return the current context from inside a macro callee or a new one if static.
+ *
+ * @return static
+ */
+ protected static function this()
+ {
+ return end(static::$macroContextStack) ?: new static(0);
+ }
+
+ /**
+ * Creates a CarbonInterval from string.
+ *
+ * Format:
+ *
+ * Suffix | Unit | Example | DateInterval expression
+ * -------|---------|---------|------------------------
+ * y | years | 1y | P1Y
+ * mo | months | 3mo | P3M
+ * w | weeks | 2w | P2W
+ * d | days | 28d | P28D
+ * h | hours | 4h | PT4H
+ * m | minutes | 12m | PT12M
+ * s | seconds | 59s | PT59S
+ *
+ * e. g. `1w 3d 4h 32m 23s` is converted to 10 days 4 hours 32 minutes and 23 seconds.
+ *
+ * Special cases:
+ * - An empty string will return a zero interval
+ * - Fractions are allowed for weeks, days, hours and minutes and will be converted
+ * and rounded to the next smaller value (caution: 0.5w = 4d)
+ *
+ * @param string $intervalDefinition
+ *
+ * @return static
+ */
+ public static function fromString($intervalDefinition)
+ {
+ if (empty($intervalDefinition)) {
+ return new static(0);
+ }
+
+ $years = 0;
+ $months = 0;
+ $weeks = 0;
+ $days = 0;
+ $hours = 0;
+ $minutes = 0;
+ $seconds = 0;
+ $milliseconds = 0;
+ $microseconds = 0;
+
+ $pattern = '/(\d+(?:\.\d+)?)\h*([^\d\h]*)/i';
+ preg_match_all($pattern, $intervalDefinition, $parts, PREG_SET_ORDER);
+
+ while ([$part, $value, $unit] = array_shift($parts)) {
+ $intValue = (int) $value;
+ $fraction = (float) $value - $intValue;
+
+ // Fix calculation precision
+ switch (round($fraction, 6)) {
+ case 1:
+ $fraction = 0;
+ $intValue++;
+
+ break;
+ case 0:
+ $fraction = 0;
+
+ break;
+ }
+
+ switch ($unit === 'µs' ? 'µs' : strtolower($unit)) {
+ case 'millennia':
+ case 'millennium':
+ $years += $intValue * CarbonInterface::YEARS_PER_MILLENNIUM;
+
+ break;
+
+ case 'century':
+ case 'centuries':
+ $years += $intValue * CarbonInterface::YEARS_PER_CENTURY;
+
+ break;
+
+ case 'decade':
+ case 'decades':
+ $years += $intValue * CarbonInterface::YEARS_PER_DECADE;
+
+ break;
+
+ case 'year':
+ case 'years':
+ case 'y':
+ case 'yr':
+ case 'yrs':
+ $years += $intValue;
+
+ break;
+
+ case 'quarter':
+ case 'quarters':
+ $months += $intValue * CarbonInterface::MONTHS_PER_QUARTER;
+
+ break;
+
+ case 'month':
+ case 'months':
+ case 'mo':
+ case 'mos':
+ $months += $intValue;
+
+ break;
+
+ case 'week':
+ case 'weeks':
+ case 'w':
+ $weeks += $intValue;
+
+ if ($fraction) {
+ $parts[] = [null, $fraction * static::getDaysPerWeek(), 'd'];
+ }
+
+ break;
+
+ case 'day':
+ case 'days':
+ case 'd':
+ $days += $intValue;
+
+ if ($fraction) {
+ $parts[] = [null, $fraction * static::getHoursPerDay(), 'h'];
+ }
+
+ break;
+
+ case 'hour':
+ case 'hours':
+ case 'h':
+ $hours += $intValue;
+
+ if ($fraction) {
+ $parts[] = [null, $fraction * static::getMinutesPerHour(), 'm'];
+ }
+
+ break;
+
+ case 'minute':
+ case 'minutes':
+ case 'm':
+ $minutes += $intValue;
+
+ if ($fraction) {
+ $parts[] = [null, $fraction * static::getSecondsPerMinute(), 's'];
+ }
+
+ break;
+
+ case 'second':
+ case 'seconds':
+ case 's':
+ $seconds += $intValue;
+
+ if ($fraction) {
+ $parts[] = [null, $fraction * static::getMillisecondsPerSecond(), 'ms'];
+ }
+
+ break;
+
+ case 'millisecond':
+ case 'milliseconds':
+ case 'milli':
+ case 'ms':
+ $milliseconds += $intValue;
+
+ if ($fraction) {
+ $microseconds += round($fraction * static::getMicrosecondsPerMillisecond());
+ }
+
+ break;
+
+ case 'microsecond':
+ case 'microseconds':
+ case 'micro':
+ case 'µs':
+ $microseconds += $intValue;
+
+ break;
+
+ default:
+ throw new InvalidIntervalException(
+ sprintf('Invalid part %s in definition %s', $part, $intervalDefinition)
+ );
+ }
+ }
+
+ return new static($years, $months, $weeks, $days, $hours, $minutes, $seconds, $milliseconds * Carbon::MICROSECONDS_PER_MILLISECOND + $microseconds);
+ }
+
+ /**
+ * Creates a CarbonInterval from string using a different locale.
+ *
+ * @param string $interval interval string in the given language (may also contain English).
+ * @param string|null $locale if locale is null or not specified, current global locale will be used instead.
+ *
+ * @return static
+ */
+ public static function parseFromLocale($interval, $locale = null)
+ {
+ return static::fromString(Carbon::translateTimeString($interval, $locale ?: static::getLocale(), 'en'));
+ }
+
+ private static function castIntervalToClass(DateInterval $interval, string $className, array $skip = [])
+ {
+ $mainClass = DateInterval::class;
+
+ if (!is_a($className, $mainClass, true)) {
+ throw new InvalidCastException("$className is not a sub-class of $mainClass.");
+ }
+
+ $microseconds = $interval->f;
+ $instance = new $className(static::getDateIntervalSpec($interval, false, $skip));
+
+ if ($microseconds) {
+ $instance->f = $microseconds;
+ }
+
+ if ($interval instanceof self && is_a($className, self::class, true)) {
+ self::copyStep($interval, $instance);
+ }
+
+ self::copyNegativeUnits($interval, $instance);
+
+ return $instance;
+ }
+
+ private static function copyNegativeUnits(DateInterval $from, DateInterval $to): void
+ {
+ $to->invert = $from->invert;
+
+ foreach (['y', 'm', 'd', 'h', 'i', 's'] as $unit) {
+ if ($from->$unit < 0) {
+ $to->$unit *= -1;
+ }
+ }
+ }
+
+ private static function copyStep(self $from, self $to): void
+ {
+ $to->setStep($from->getStep());
+ }
+
+ /**
+ * Cast the current instance into the given class.
+ *
+ * @param string $className The $className::instance() method will be called to cast the current object.
+ *
+ * @return DateInterval
+ */
+ public function cast(string $className)
+ {
+ return self::castIntervalToClass($this, $className);
+ }
+
+ /**
+ * Create a CarbonInterval instance from a DateInterval one. Can not instance
+ * DateInterval objects created from DateTime::diff() as you can't externally
+ * set the $days field.
+ *
+ * @param DateInterval $interval
+ * @param bool $skipCopy set to true to return the passed object
+ * (without copying it) if it's already of the
+ * current class
+ *
+ * @return static
+ */
+ public static function instance(DateInterval $interval, array $skip = [], bool $skipCopy = false)
+ {
+ if ($skipCopy && $interval instanceof static) {
+ return $interval;
+ }
+
+ return self::castIntervalToClass($interval, static::class, $skip);
+ }
+
+ /**
+ * Make a CarbonInterval instance from given variable if possible.
+ *
+ * Always return a new instance. Parse only strings and only these likely to be intervals (skip dates
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ *
+ * @param mixed|int|DateInterval|string|Closure|null $interval interval or number of the given $unit
+ * @param string|null $unit if specified, $interval must be an integer
+ * @param bool $skipCopy set to true to return the passed object
+ * (without copying it) if it's already of the
+ * current class
+ *
+ * @return static|null
+ */
+ public static function make($interval, $unit = null, bool $skipCopy = false)
+ {
+ if ($unit) {
+ $interval = "$interval ".Carbon::pluralUnit($unit);
+ }
+
+ if ($interval instanceof DateInterval) {
+ return static::instance($interval, [], $skipCopy);
+ }
+
+ if ($interval instanceof Closure) {
+ return new static($interval);
+ }
+
+ if (!\is_string($interval)) {
+ return null;
+ }
+
+ return static::makeFromString($interval);
+ }
+
+ protected static function makeFromString(string $interval)
+ {
+ $interval = preg_replace('/\s+/', ' ', trim($interval));
+
+ if (preg_match('/^P[T\d]/', $interval)) {
+ return new static($interval);
+ }
+
+ if (preg_match('/^(?:\h*\d+(?:\.\d+)?\h*[a-z]+)+$/i', $interval)) {
+ return static::fromString($interval);
+ }
+
+ // @codeCoverageIgnoreStart
+ try {
+ /** @var static $interval */
+ $interval = static::createFromDateString($interval);
+ } catch (DateMalformedIntervalStringException $e) {
+ return null;
+ }
+ // @codeCoverageIgnoreEnd
+
+ return !$interval || $interval->isEmpty() ? null : $interval;
+ }
+
+ protected function resolveInterval($interval)
+ {
+ if (!($interval instanceof self)) {
+ return self::make($interval);
+ }
+
+ return $interval;
+ }
+
+ /**
+ * Sets up a DateInterval from the relative parts of the string.
+ *
+ * @param string $time
+ *
+ * @return static
+ *
+ * @link https://php.net/manual/en/dateinterval.createfromdatestring.php
+ */
+ #[ReturnTypeWillChange]
+ public static function createFromDateString($time)
+ {
+ $interval = @parent::createFromDateString(strtr($time, [
+ ',' => ' ',
+ ' and ' => ' ',
+ ]));
+
+ if ($interval instanceof DateInterval) {
+ $interval = static::instance($interval);
+ }
+
+ return $interval;
+ }
+
+ ///////////////////////////////////////////////////////////////////
+ ///////////////////////// GETTERS AND SETTERS /////////////////////
+ ///////////////////////////////////////////////////////////////////
+
+ /**
+ * Get a part of the CarbonInterval object.
+ *
+ * @param string $name
+ *
+ * @throws UnknownGetterException
+ *
+ * @return int|float|string
+ */
+ public function get($name)
+ {
+ if (str_starts_with($name, 'total')) {
+ return $this->total(substr($name, 5));
+ }
+
+ switch ($name) {
+ case 'years':
+ return $this->y;
+
+ case 'months':
+ return $this->m;
+
+ case 'dayz':
+ return $this->d;
+
+ case 'hours':
+ return $this->h;
+
+ case 'minutes':
+ return $this->i;
+
+ case 'seconds':
+ return $this->s;
+
+ case 'milli':
+ case 'milliseconds':
+ return (int) (round($this->f * Carbon::MICROSECONDS_PER_SECOND) / Carbon::MICROSECONDS_PER_MILLISECOND);
+
+ case 'micro':
+ case 'microseconds':
+ return (int) round($this->f * Carbon::MICROSECONDS_PER_SECOND);
+
+ case 'microExcludeMilli':
+ return (int) round($this->f * Carbon::MICROSECONDS_PER_SECOND) % Carbon::MICROSECONDS_PER_MILLISECOND;
+
+ case 'weeks':
+ return (int) ($this->d / (int) static::getDaysPerWeek());
+
+ case 'daysExcludeWeeks':
+ case 'dayzExcludeWeeks':
+ return $this->d % (int) static::getDaysPerWeek();
+
+ case 'locale':
+ return $this->getTranslatorLocale();
+
+ default:
+ throw new UnknownGetterException($name);
+ }
+ }
+
+ /**
+ * Get a part of the CarbonInterval object.
+ *
+ * @param string $name
+ *
+ * @throws UnknownGetterException
+ *
+ * @return int|float|string
+ */
+ public function __get($name)
+ {
+ return $this->get($name);
+ }
+
+ /**
+ * Set a part of the CarbonInterval object.
+ *
+ * @param string|array $name
+ * @param int $value
+ *
+ * @throws UnknownSetterException
+ *
+ * @return $this
+ */
+ public function set($name, $value = null)
+ {
+ $properties = \is_array($name) ? $name : [$name => $value];
+
+ foreach ($properties as $key => $value) {
+ switch (Carbon::singularUnit(rtrim($key, 'z'))) {
+ case 'year':
+ $this->checkIntegerValue($key, $value);
+ $this->y = $value;
+ $this->handleDecimalPart('year', $value, $this->y);
+
+ break;
+
+ case 'month':
+ $this->checkIntegerValue($key, $value);
+ $this->m = $value;
+ $this->handleDecimalPart('month', $value, $this->m);
+
+ break;
+
+ case 'week':
+ $this->checkIntegerValue($key, $value);
+ $days = $value * (int) static::getDaysPerWeek();
+ $this->assertSafeForInteger('days total (including weeks)', $days);
+ $this->d = $days;
+ $this->handleDecimalPart('day', $days, $this->d);
+
+ break;
+
+ case 'day':
+ $this->checkIntegerValue($key, $value);
+ $this->d = $value;
+ $this->handleDecimalPart('day', $value, $this->d);
+
+ break;
+
+ case 'daysexcludeweek':
+ case 'dayzexcludeweek':
+ $this->checkIntegerValue($key, $value);
+ $days = $this->weeks * (int) static::getDaysPerWeek() + $value;
+ $this->assertSafeForInteger('days total (including weeks)', $days);
+ $this->d = $days;
+ $this->handleDecimalPart('day', $days, $this->d);
+
+ break;
+
+ case 'hour':
+ $this->checkIntegerValue($key, $value);
+ $this->h = $value;
+ $this->handleDecimalPart('hour', $value, $this->h);
+
+ break;
+
+ case 'minute':
+ $this->checkIntegerValue($key, $value);
+ $this->i = $value;
+ $this->handleDecimalPart('minute', $value, $this->i);
+
+ break;
+
+ case 'second':
+ $this->checkIntegerValue($key, $value);
+ $this->s = $value;
+ $this->handleDecimalPart('second', $value, $this->s);
+
+ break;
+
+ case 'milli':
+ case 'millisecond':
+ $this->microseconds = $value * Carbon::MICROSECONDS_PER_MILLISECOND + $this->microseconds % Carbon::MICROSECONDS_PER_MILLISECOND;
+
+ break;
+
+ case 'micro':
+ case 'microsecond':
+ $this->f = $value / Carbon::MICROSECONDS_PER_SECOND;
+
+ break;
+
+ default:
+ if ($this->localStrictModeEnabled ?? Carbon::isStrictModeEnabled()) {
+ throw new UnknownSetterException($key);
+ }
+
+ $this->$key = $value;
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Set a part of the CarbonInterval object.
+ *
+ * @param string $name
+ * @param int $value
+ *
+ * @throws UnknownSetterException
+ */
+ public function __set($name, $value)
+ {
+ $this->set($name, $value);
+ }
+
+ /**
+ * Allow setting of weeks and days to be cumulative.
+ *
+ * @param int $weeks Number of weeks to set
+ * @param int $days Number of days to set
+ *
+ * @return static
+ */
+ public function weeksAndDays($weeks, $days)
+ {
+ $this->dayz = ($weeks * static::getDaysPerWeek()) + $days;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if the interval is empty for each unit.
+ *
+ * @return bool
+ */
+ public function isEmpty()
+ {
+ return $this->years === 0 &&
+ $this->months === 0 &&
+ $this->dayz === 0 &&
+ !$this->days &&
+ $this->hours === 0 &&
+ $this->minutes === 0 &&
+ $this->seconds === 0 &&
+ $this->microseconds === 0;
+ }
+
+ /**
+ * Register a custom macro.
+ *
+ * @example
+ * ```
+ * CarbonInterval::macro('twice', function () {
+ * return $this->times(2);
+ * });
+ * echo CarbonInterval::hours(2)->twice();
+ * ```
+ *
+ * @param string $name
+ * @param object|callable $macro
+ *
+ * @return void
+ */
+ public static function macro($name, $macro)
+ {
+ static::$macros[$name] = $macro;
+ }
+
+ /**
+ * Register macros from a mixin object.
+ *
+ * @example
+ * ```
+ * CarbonInterval::mixin(new class {
+ * public function daysToHours() {
+ * return function () {
+ * $this->hours += $this->days;
+ * $this->days = 0;
+ *
+ * return $this;
+ * };
+ * }
+ * public function hoursToDays() {
+ * return function () {
+ * $this->days += $this->hours;
+ * $this->hours = 0;
+ *
+ * return $this;
+ * };
+ * }
+ * });
+ * echo CarbonInterval::hours(5)->hoursToDays() . "\n";
+ * echo CarbonInterval::days(5)->daysToHours() . "\n";
+ * ```
+ *
+ * @param object|string $mixin
+ *
+ * @throws ReflectionException
+ *
+ * @return void
+ */
+ public static function mixin($mixin)
+ {
+ static::baseMixin($mixin);
+ }
+
+ /**
+ * Check if macro is registered.
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public static function hasMacro($name)
+ {
+ return isset(static::$macros[$name]);
+ }
+
+ /**
+ * Call given macro.
+ *
+ * @param string $name
+ * @param array $parameters
+ *
+ * @return mixed
+ */
+ protected function callMacro($name, $parameters)
+ {
+ $macro = static::$macros[$name];
+
+ if ($macro instanceof Closure) {
+ $boundMacro = @$macro->bindTo($this, static::class) ?: @$macro->bindTo(null, static::class);
+
+ return ($boundMacro ?: $macro)(...$parameters);
+ }
+
+ return $macro(...$parameters);
+ }
+
+ /**
+ * Allow fluent calls on the setters... CarbonInterval::years(3)->months(5)->day().
+ *
+ * Note: This is done using the magic method to allow static and instance methods to
+ * have the same names.
+ *
+ * @param string $method magic method name called
+ * @param array $parameters parameters list
+ *
+ * @throws BadFluentSetterException|Throwable
+ *
+ * @return static
+ */
+ public function __call($method, $parameters)
+ {
+ if (static::hasMacro($method)) {
+ return static::bindMacroContext($this, function () use (&$method, &$parameters) {
+ return $this->callMacro($method, $parameters);
+ });
+ }
+
+ $roundedValue = $this->callRoundMethod($method, $parameters);
+
+ if ($roundedValue !== null) {
+ return $roundedValue;
+ }
+
+ if (preg_match('/^(?add|sub)(?[A-Z].*)$/', $method, $match)) {
+ $value = $this->getMagicParameter($parameters, 0, Carbon::pluralUnit($match['unit']), 0);
+
+ return $this->{$match['method']}($value, $match['unit']);
+ }
+
+ $value = $this->getMagicParameter($parameters, 0, Carbon::pluralUnit($method), 1);
+
+ try {
+ $this->set($method, $value);
+ } catch (UnknownSetterException $exception) {
+ if ($this->localStrictModeEnabled ?? Carbon::isStrictModeEnabled()) {
+ throw new BadFluentSetterException($method, 0, $exception);
+ }
+ }
+
+ return $this;
+ }
+
+ protected function getForHumansInitialVariables($syntax, $short)
+ {
+ if (\is_array($syntax)) {
+ return $syntax;
+ }
+
+ if (\is_int($short)) {
+ return [
+ 'parts' => $short,
+ 'short' => false,
+ ];
+ }
+
+ if (\is_bool($syntax)) {
+ return [
+ 'short' => $syntax,
+ 'syntax' => CarbonInterface::DIFF_ABSOLUTE,
+ ];
+ }
+
+ return [];
+ }
+
+ /**
+ * @param mixed $syntax
+ * @param mixed $short
+ * @param mixed $parts
+ * @param mixed $options
+ *
+ * @return array
+ */
+ protected function getForHumansParameters($syntax = null, $short = false, $parts = -1, $options = null)
+ {
+ $optionalSpace = ' ';
+ $default = $this->getTranslationMessage('list.0') ?? $this->getTranslationMessage('list') ?? ' ';
+ $join = $default === '' ? '' : ' ';
+ $altNumbers = false;
+ $aUnit = false;
+ $minimumUnit = 's';
+ $skip = [];
+ extract($this->getForHumansInitialVariables($syntax, $short));
+ $skip = array_map('strtolower', array_filter((array) $skip, static function ($value) {
+ return \is_string($value) && $value !== '';
+ }));
+
+ if ($syntax === null) {
+ $syntax = CarbonInterface::DIFF_ABSOLUTE;
+ }
+
+ if ($parts === -1) {
+ $parts = INF;
+ }
+
+ if ($options === null) {
+ $options = static::getHumanDiffOptions();
+ }
+
+ if ($join === false) {
+ $join = ' ';
+ } elseif ($join === true) {
+ $join = [
+ $default,
+ $this->getTranslationMessage('list.1') ?? $default,
+ ];
+ }
+
+ if ($altNumbers && $altNumbers !== true) {
+ $language = new Language($this->locale);
+ $altNumbers = \in_array($language->getCode(), (array) $altNumbers, true);
+ }
+
+ if (\is_array($join)) {
+ [$default, $last] = $join;
+
+ if ($default !== ' ') {
+ $optionalSpace = '';
+ }
+
+ $join = function ($list) use ($default, $last) {
+ if (\count($list) < 2) {
+ return implode('', $list);
+ }
+
+ $end = array_pop($list);
+
+ return implode($default, $list).$last.$end;
+ };
+ }
+
+ if (\is_string($join)) {
+ if ($join !== ' ') {
+ $optionalSpace = '';
+ }
+
+ $glue = $join;
+ $join = function ($list) use ($glue) {
+ return implode($glue, $list);
+ };
+ }
+
+ $interpolations = [
+ ':optional-space' => $optionalSpace,
+ ];
+
+ return [$syntax, $short, $parts, $options, $join, $aUnit, $altNumbers, $interpolations, $minimumUnit, $skip];
+ }
+
+ protected static function getRoundingMethodFromOptions(int $options): ?string
+ {
+ if ($options & CarbonInterface::ROUND) {
+ return 'round';
+ }
+
+ if ($options & CarbonInterface::CEIL) {
+ return 'ceil';
+ }
+
+ if ($options & CarbonInterface::FLOOR) {
+ return 'floor';
+ }
+
+ return null;
+ }
+
+ /**
+ * Returns interval values as an array where key are the unit names and values the counts.
+ *
+ * @return int[]
+ */
+ public function toArray()
+ {
+ return [
+ 'years' => $this->years,
+ 'months' => $this->months,
+ 'weeks' => $this->weeks,
+ 'days' => $this->daysExcludeWeeks,
+ 'hours' => $this->hours,
+ 'minutes' => $this->minutes,
+ 'seconds' => $this->seconds,
+ 'microseconds' => $this->microseconds,
+ ];
+ }
+
+ /**
+ * Returns interval non-zero values as an array where key are the unit names and values the counts.
+ *
+ * @return int[]
+ */
+ public function getNonZeroValues()
+ {
+ return array_filter($this->toArray(), 'intval');
+ }
+
+ /**
+ * Returns interval values as an array where key are the unit names and values the counts
+ * from the biggest non-zero one the the smallest non-zero one.
+ *
+ * @return int[]
+ */
+ public function getValuesSequence()
+ {
+ $nonZeroValues = $this->getNonZeroValues();
+
+ if ($nonZeroValues === []) {
+ return [];
+ }
+
+ $keys = array_keys($nonZeroValues);
+ $firstKey = $keys[0];
+ $lastKey = $keys[\count($keys) - 1];
+ $values = [];
+ $record = false;
+
+ foreach ($this->toArray() as $unit => $count) {
+ if ($unit === $firstKey) {
+ $record = true;
+ }
+
+ if ($record) {
+ $values[$unit] = $count;
+ }
+
+ if ($unit === $lastKey) {
+ $record = false;
+ }
+ }
+
+ return $values;
+ }
+
+ /**
+ * Get the current interval in a human readable format in the current locale.
+ *
+ * @example
+ * ```
+ * echo CarbonInterval::fromString('4d 3h 40m')->forHumans() . "\n";
+ * echo CarbonInterval::fromString('4d 3h 40m')->forHumans(['parts' => 2]) . "\n";
+ * echo CarbonInterval::fromString('4d 3h 40m')->forHumans(['parts' => 3, 'join' => true]) . "\n";
+ * echo CarbonInterval::fromString('4d 3h 40m')->forHumans(['short' => true]) . "\n";
+ * echo CarbonInterval::fromString('1d 24h')->forHumans(['join' => ' or ']) . "\n";
+ * echo CarbonInterval::fromString('1d 24h')->forHumans(['minimumUnit' => 'hour']) . "\n";
+ * ```
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'skip' entry, list of units to skip (array of strings or a single string,
+ * ` it can be the unit name (singular or plural) or its shortcut
+ * ` (y, m, w, d, h, min, s, ms, µs).
+ * - 'aUnit' entry, prefer "an hour" over "1 hour" if true
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'minimumUnit' entry determines the smallest unit of time to display can be long or
+ * ` short form of the units, e.g. 'hour' or 'h' (default value: s)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: -1: no limits)
+ * @param int $options human diff options
+ *
+ * @throws Exception
+ *
+ * @return string
+ */
+ public function forHumans($syntax = null, $short = false, $parts = -1, $options = null)
+ {
+ [$syntax, $short, $parts, $options, $join, $aUnit, $altNumbers, $interpolations, $minimumUnit, $skip] = $this
+ ->getForHumansParameters($syntax, $short, $parts, $options);
+
+ $interval = [];
+
+ $syntax = (int) ($syntax ?? CarbonInterface::DIFF_ABSOLUTE);
+ $absolute = $syntax === CarbonInterface::DIFF_ABSOLUTE;
+ $relativeToNow = $syntax === CarbonInterface::DIFF_RELATIVE_TO_NOW;
+ $count = 1;
+ $unit = $short ? 's' : 'second';
+ $isFuture = $this->invert === 1;
+ $transId = $relativeToNow ? ($isFuture ? 'from_now' : 'ago') : ($isFuture ? 'after' : 'before');
+ $declensionMode = null;
+
+ /** @var \Symfony\Component\Translation\Translator $translator */
+ $translator = $this->getLocalTranslator();
+
+ $handleDeclensions = function ($unit, $count, $index = 0, $parts = 1) use ($interpolations, $transId, $translator, $altNumbers, $absolute, &$declensionMode) {
+ if (!$absolute) {
+ $declensionMode = $declensionMode ?? $this->translate($transId.'_mode');
+
+ if ($this->needsDeclension($declensionMode, $index, $parts)) {
+ // Some languages have special pluralization for past and future tense.
+ $key = $unit.'_'.$transId;
+ $result = $this->translate($key, $interpolations, $count, $translator, $altNumbers);
+
+ if ($result !== $key) {
+ return $result;
+ }
+ }
+ }
+
+ $result = $this->translate($unit, $interpolations, $count, $translator, $altNumbers);
+
+ if ($result !== $unit) {
+ return $result;
+ }
+
+ return null;
+ };
+
+ $intervalValues = $this;
+ $method = static::getRoundingMethodFromOptions($options);
+
+ if ($method) {
+ $previousCount = INF;
+
+ while (
+ \count($intervalValues->getNonZeroValues()) > $parts &&
+ ($count = \count($keys = array_keys($intervalValues->getValuesSequence()))) > 1
+ ) {
+ $index = min($count, $previousCount - 1) - 2;
+
+ if ($index < 0) {
+ break;
+ }
+
+ $intervalValues = $this->copy()->roundUnit(
+ $keys[$index],
+ 1,
+ $method
+ );
+ $previousCount = $count;
+ }
+ }
+
+ $diffIntervalArray = [
+ ['value' => $intervalValues->years, 'unit' => 'year', 'unitShort' => 'y'],
+ ['value' => $intervalValues->months, 'unit' => 'month', 'unitShort' => 'm'],
+ ['value' => $intervalValues->weeks, 'unit' => 'week', 'unitShort' => 'w'],
+ ['value' => $intervalValues->daysExcludeWeeks, 'unit' => 'day', 'unitShort' => 'd'],
+ ['value' => $intervalValues->hours, 'unit' => 'hour', 'unitShort' => 'h'],
+ ['value' => $intervalValues->minutes, 'unit' => 'minute', 'unitShort' => 'min'],
+ ['value' => $intervalValues->seconds, 'unit' => 'second', 'unitShort' => 's'],
+ ['value' => $intervalValues->milliseconds, 'unit' => 'millisecond', 'unitShort' => 'ms'],
+ ['value' => $intervalValues->microExcludeMilli, 'unit' => 'microsecond', 'unitShort' => 'µs'],
+ ];
+
+ if (!empty($skip)) {
+ foreach ($diffIntervalArray as $index => &$unitData) {
+ $nextIndex = $index + 1;
+
+ if ($unitData['value'] &&
+ isset($diffIntervalArray[$nextIndex]) &&
+ \count(array_intersect([$unitData['unit'], $unitData['unit'].'s', $unitData['unitShort']], $skip))
+ ) {
+ $diffIntervalArray[$nextIndex]['value'] += $unitData['value'] *
+ self::getFactorWithDefault($diffIntervalArray[$nextIndex]['unit'], $unitData['unit']);
+ $unitData['value'] = 0;
+ }
+ }
+ }
+
+ $transChoice = function ($short, $unitData, $index, $parts) use ($absolute, $handleDeclensions, $translator, $aUnit, $altNumbers, $interpolations) {
+ $count = $unitData['value'];
+
+ if ($short) {
+ $result = $handleDeclensions($unitData['unitShort'], $count, $index, $parts);
+
+ if ($result !== null) {
+ return $result;
+ }
+ } elseif ($aUnit) {
+ $result = $handleDeclensions('a_'.$unitData['unit'], $count, $index, $parts);
+
+ if ($result !== null) {
+ return $result;
+ }
+ }
+
+ if (!$absolute) {
+ return $handleDeclensions($unitData['unit'], $count, $index, $parts);
+ }
+
+ return $this->translate($unitData['unit'], $interpolations, $count, $translator, $altNumbers);
+ };
+
+ $fallbackUnit = ['second', 's'];
+
+ foreach ($diffIntervalArray as $diffIntervalData) {
+ if ($diffIntervalData['value'] > 0) {
+ $unit = $short ? $diffIntervalData['unitShort'] : $diffIntervalData['unit'];
+ $count = $diffIntervalData['value'];
+ $interval[] = [$short, $diffIntervalData];
+ } elseif ($options & CarbonInterface::SEQUENTIAL_PARTS_ONLY && \count($interval) > 0) {
+ break;
+ }
+
+ // break the loop after we get the required number of parts in array
+ if (\count($interval) >= $parts) {
+ break;
+ }
+
+ // break the loop after we have reached the minimum unit
+ if (\in_array($minimumUnit, [$diffIntervalData['unit'], $diffIntervalData['unitShort']], true)) {
+ $fallbackUnit = [$diffIntervalData['unit'], $diffIntervalData['unitShort']];
+
+ break;
+ }
+ }
+
+ $actualParts = \count($interval);
+
+ foreach ($interval as $index => &$item) {
+ $item = $transChoice($item[0], $item[1], $index, $actualParts);
+ }
+
+ if (\count($interval) === 0) {
+ if ($relativeToNow && $options & CarbonInterface::JUST_NOW) {
+ $key = 'diff_now';
+ $translation = $this->translate($key, $interpolations, null, $translator);
+
+ if ($translation !== $key) {
+ return $translation;
+ }
+ }
+
+ $count = $options & CarbonInterface::NO_ZERO_DIFF ? 1 : 0;
+ $unit = $fallbackUnit[$short ? 1 : 0];
+ $interval[] = $this->translate($unit, $interpolations, $count, $translator, $altNumbers);
+ }
+
+ // join the interval parts by a space
+ $time = $join($interval);
+
+ unset($diffIntervalArray, $interval);
+
+ if ($absolute) {
+ return $time;
+ }
+
+ $isFuture = $this->invert === 1;
+
+ $transId = $relativeToNow ? ($isFuture ? 'from_now' : 'ago') : ($isFuture ? 'after' : 'before');
+
+ if ($parts === 1) {
+ if ($relativeToNow && $unit === 'day') {
+ if ($count === 1 && $options & CarbonInterface::ONE_DAY_WORDS) {
+ $key = $isFuture ? 'diff_tomorrow' : 'diff_yesterday';
+ $translation = $this->translate($key, $interpolations, null, $translator);
+
+ if ($translation !== $key) {
+ return $translation;
+ }
+ }
+
+ if ($count === 2 && $options & CarbonInterface::TWO_DAY_WORDS) {
+ $key = $isFuture ? 'diff_after_tomorrow' : 'diff_before_yesterday';
+ $translation = $this->translate($key, $interpolations, null, $translator);
+
+ if ($translation !== $key) {
+ return $translation;
+ }
+ }
+ }
+
+ $aTime = $aUnit ? $handleDeclensions('a_'.$unit, $count) : null;
+
+ $time = $aTime ?: $handleDeclensions($unit, $count) ?: $time;
+ }
+
+ $time = [':time' => $time];
+
+ return $this->translate($transId, array_merge($time, $interpolations, $time), null, $translator);
+ }
+
+ /**
+ * Format the instance as a string using the forHumans() function.
+ *
+ * @throws Exception
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ $format = $this->localToStringFormat ?? static::$toStringFormat;
+
+ if (!$format) {
+ return $this->forHumans();
+ }
+
+ if ($format instanceof Closure) {
+ return $format($this);
+ }
+
+ return $this->format($format);
+ }
+
+ /**
+ * Return native DateInterval PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(CarbonInterval::hours(2)->toDateInterval());
+ * ```
+ *
+ * @return DateInterval
+ */
+ public function toDateInterval()
+ {
+ return self::castIntervalToClass($this, DateInterval::class);
+ }
+
+ /**
+ * Convert the interval to a CarbonPeriod.
+ *
+ * @param DateTimeInterface|string|int ...$params Start date, [end date or recurrences] and optional settings.
+ *
+ * @return CarbonPeriod
+ */
+ public function toPeriod(...$params)
+ {
+ if ($this->tzName) {
+ $tz = \is_string($this->tzName) ? new DateTimeZone($this->tzName) : $this->tzName;
+
+ if ($tz instanceof DateTimeZone) {
+ array_unshift($params, $tz);
+ }
+ }
+
+ return CarbonPeriod::create($this, ...$params);
+ }
+
+ /**
+ * Invert the interval.
+ *
+ * @param bool|int $inverted if a parameter is passed, the passed value cast as 1 or 0 is used
+ * as the new value of the ->invert property.
+ *
+ * @return $this
+ */
+ public function invert($inverted = null)
+ {
+ $this->invert = (\func_num_args() === 0 ? !$this->invert : $inverted) ? 1 : 0;
+
+ return $this;
+ }
+
+ protected function solveNegativeInterval()
+ {
+ if (!$this->isEmpty() && $this->years <= 0 && $this->months <= 0 && $this->dayz <= 0 && $this->hours <= 0 && $this->minutes <= 0 && $this->seconds <= 0 && $this->microseconds <= 0) {
+ $this->years *= -1;
+ $this->months *= -1;
+ $this->dayz *= -1;
+ $this->hours *= -1;
+ $this->minutes *= -1;
+ $this->seconds *= -1;
+ $this->microseconds *= -1;
+ $this->invert();
+ }
+
+ return $this;
+ }
+
+ /**
+ * Add the passed interval to the current instance.
+ *
+ * @param string|DateInterval $unit
+ * @param int|float $value
+ *
+ * @return $this
+ */
+ public function add($unit, $value = 1)
+ {
+ if (is_numeric($unit)) {
+ [$value, $unit] = [$unit, $value];
+ }
+
+ if (\is_string($unit) && !preg_match('/^\s*\d/', $unit)) {
+ $unit = "$value $unit";
+ $value = 1;
+ }
+
+ $interval = static::make($unit);
+
+ if (!$interval) {
+ throw new InvalidIntervalException('This type of data cannot be added/subtracted.');
+ }
+
+ if ($value !== 1) {
+ $interval->times($value);
+ }
+
+ $sign = ($this->invert === 1) !== ($interval->invert === 1) ? -1 : 1;
+ $this->years += $interval->y * $sign;
+ $this->months += $interval->m * $sign;
+ $this->dayz += ($interval->days === false ? $interval->d : $interval->days) * $sign;
+ $this->hours += $interval->h * $sign;
+ $this->minutes += $interval->i * $sign;
+ $this->seconds += $interval->s * $sign;
+ $this->microseconds += $interval->microseconds * $sign;
+
+ $this->solveNegativeInterval();
+
+ return $this;
+ }
+
+ /**
+ * Subtract the passed interval to the current instance.
+ *
+ * @param string|DateInterval $unit
+ * @param int|float $value
+ *
+ * @return $this
+ */
+ public function sub($unit, $value = 1)
+ {
+ if (is_numeric($unit)) {
+ [$value, $unit] = [$unit, $value];
+ }
+
+ return $this->add($unit, -(float) $value);
+ }
+
+ /**
+ * Subtract the passed interval to the current instance.
+ *
+ * @param string|DateInterval $unit
+ * @param int|float $value
+ *
+ * @return $this
+ */
+ public function subtract($unit, $value = 1)
+ {
+ return $this->sub($unit, $value);
+ }
+
+ /**
+ * Add given parameters to the current interval.
+ *
+ * @param int $years
+ * @param int $months
+ * @param int|float $weeks
+ * @param int|float $days
+ * @param int|float $hours
+ * @param int|float $minutes
+ * @param int|float $seconds
+ * @param int|float $microseconds
+ *
+ * @return $this
+ */
+ public function plus(
+ $years = 0,
+ $months = 0,
+ $weeks = 0,
+ $days = 0,
+ $hours = 0,
+ $minutes = 0,
+ $seconds = 0,
+ $microseconds = 0
+ ): self {
+ return $this->add("
+ $years years $months months $weeks weeks $days days
+ $hours hours $minutes minutes $seconds seconds $microseconds microseconds
+ ");
+ }
+
+ /**
+ * Add given parameters to the current interval.
+ *
+ * @param int $years
+ * @param int $months
+ * @param int|float $weeks
+ * @param int|float $days
+ * @param int|float $hours
+ * @param int|float $minutes
+ * @param int|float $seconds
+ * @param int|float $microseconds
+ *
+ * @return $this
+ */
+ public function minus(
+ $years = 0,
+ $months = 0,
+ $weeks = 0,
+ $days = 0,
+ $hours = 0,
+ $minutes = 0,
+ $seconds = 0,
+ $microseconds = 0
+ ): self {
+ return $this->sub("
+ $years years $months months $weeks weeks $days days
+ $hours hours $minutes minutes $seconds seconds $microseconds microseconds
+ ");
+ }
+
+ /**
+ * Multiply current instance given number of times. times() is naive, it multiplies each unit
+ * (so day can be greater than 31, hour can be greater than 23, etc.) and the result is rounded
+ * separately for each unit.
+ *
+ * Use times() when you want a fast and approximated calculation that does not cascade units.
+ *
+ * For a precise and cascaded calculation,
+ *
+ * @see multiply()
+ *
+ * @param float|int $factor
+ *
+ * @return $this
+ */
+ public function times($factor)
+ {
+ if ($factor < 0) {
+ $this->invert = $this->invert ? 0 : 1;
+ $factor = -$factor;
+ }
+
+ $this->years = (int) round($this->years * $factor);
+ $this->months = (int) round($this->months * $factor);
+ $this->dayz = (int) round($this->dayz * $factor);
+ $this->hours = (int) round($this->hours * $factor);
+ $this->minutes = (int) round($this->minutes * $factor);
+ $this->seconds = (int) round($this->seconds * $factor);
+ $this->microseconds = (int) round($this->microseconds * $factor);
+
+ return $this;
+ }
+
+ /**
+ * Divide current instance by a given divider. shares() is naive, it divides each unit separately
+ * and the result is rounded for each unit. So 5 hours and 20 minutes shared by 3 becomes 2 hours
+ * and 7 minutes.
+ *
+ * Use shares() when you want a fast and approximated calculation that does not cascade units.
+ *
+ * For a precise and cascaded calculation,
+ *
+ * @see divide()
+ *
+ * @param float|int $divider
+ *
+ * @return $this
+ */
+ public function shares($divider)
+ {
+ return $this->times(1 / $divider);
+ }
+
+ protected function copyProperties(self $interval, $ignoreSign = false)
+ {
+ $this->years = $interval->years;
+ $this->months = $interval->months;
+ $this->dayz = $interval->dayz;
+ $this->hours = $interval->hours;
+ $this->minutes = $interval->minutes;
+ $this->seconds = $interval->seconds;
+ $this->microseconds = $interval->microseconds;
+
+ if (!$ignoreSign) {
+ $this->invert = $interval->invert;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Multiply and cascade current instance by a given factor.
+ *
+ * @param float|int $factor
+ *
+ * @return $this
+ */
+ public function multiply($factor)
+ {
+ if ($factor < 0) {
+ $this->invert = $this->invert ? 0 : 1;
+ $factor = -$factor;
+ }
+
+ $yearPart = (int) floor($this->years * $factor); // Split calculation to prevent imprecision
+
+ if ($yearPart) {
+ $this->years -= $yearPart / $factor;
+ }
+
+ return $this->copyProperties(
+ static::create($yearPart)
+ ->microseconds(abs($this->totalMicroseconds) * $factor)
+ ->cascade(),
+ true
+ );
+ }
+
+ /**
+ * Divide and cascade current instance by a given divider.
+ *
+ * @param float|int $divider
+ *
+ * @return $this
+ */
+ public function divide($divider)
+ {
+ return $this->multiply(1 / $divider);
+ }
+
+ /**
+ * Get the interval_spec string of a date interval.
+ *
+ * @param DateInterval $interval
+ *
+ * @return string
+ */
+ public static function getDateIntervalSpec(DateInterval $interval, bool $microseconds = false, array $skip = [])
+ {
+ $date = array_filter([
+ static::PERIOD_YEARS => abs($interval->y),
+ static::PERIOD_MONTHS => abs($interval->m),
+ static::PERIOD_DAYS => abs($interval->d),
+ ]);
+
+ if (
+ $interval->days >= CarbonInterface::DAYS_PER_WEEK * CarbonInterface::WEEKS_PER_MONTH &&
+ (!isset($date[static::PERIOD_YEARS]) || \count(array_intersect(['y', 'year', 'years'], $skip))) &&
+ (!isset($date[static::PERIOD_MONTHS]) || \count(array_intersect(['m', 'month', 'months'], $skip)))
+ ) {
+ $date = [
+ static::PERIOD_DAYS => abs($interval->days),
+ ];
+ }
+
+ $seconds = abs($interval->s);
+ if ($microseconds && $interval->f > 0) {
+ $seconds = sprintf('%d.%06d', $seconds, abs($interval->f) * 1000000);
+ }
+
+ $time = array_filter([
+ static::PERIOD_HOURS => abs($interval->h),
+ static::PERIOD_MINUTES => abs($interval->i),
+ static::PERIOD_SECONDS => $seconds,
+ ]);
+
+ $specString = static::PERIOD_PREFIX;
+
+ foreach ($date as $key => $value) {
+ $specString .= $value.$key;
+ }
+
+ if (\count($time) > 0) {
+ $specString .= static::PERIOD_TIME_PREFIX;
+ foreach ($time as $key => $value) {
+ $specString .= $value.$key;
+ }
+ }
+
+ return $specString === static::PERIOD_PREFIX ? 'PT0S' : $specString;
+ }
+
+ /**
+ * Get the interval_spec string.
+ *
+ * @return string
+ */
+ public function spec(bool $microseconds = false)
+ {
+ return static::getDateIntervalSpec($this, $microseconds);
+ }
+
+ /**
+ * Comparing 2 date intervals.
+ *
+ * @param DateInterval $first
+ * @param DateInterval $second
+ *
+ * @return int
+ */
+ public static function compareDateIntervals(DateInterval $first, DateInterval $second)
+ {
+ $current = Carbon::now();
+ $passed = $current->avoidMutation()->add($second);
+ $current->add($first);
+
+ if ($current < $passed) {
+ return -1;
+ }
+ if ($current > $passed) {
+ return 1;
+ }
+
+ return 0;
+ }
+
+ /**
+ * Comparing with passed interval.
+ *
+ * @param DateInterval $interval
+ *
+ * @return int
+ */
+ public function compare(DateInterval $interval)
+ {
+ return static::compareDateIntervals($this, $interval);
+ }
+
+ private function invertCascade(array $values)
+ {
+ return $this->set(array_map(function ($value) {
+ return -$value;
+ }, $values))->doCascade(true)->invert();
+ }
+
+ private function doCascade(bool $deep)
+ {
+ $originalData = $this->toArray();
+ $originalData['milliseconds'] = (int) ($originalData['microseconds'] / static::getMicrosecondsPerMillisecond());
+ $originalData['microseconds'] = $originalData['microseconds'] % static::getMicrosecondsPerMillisecond();
+ $originalData['weeks'] = (int) ($this->d / static::getDaysPerWeek());
+ $originalData['daysExcludeWeeks'] = fmod($this->d, static::getDaysPerWeek());
+ unset($originalData['days']);
+ $newData = $originalData;
+ $previous = [];
+
+ foreach (self::getFlipCascadeFactors() as $source => [$target, $factor]) {
+ foreach (['source', 'target'] as $key) {
+ if ($$key === 'dayz') {
+ $$key = 'daysExcludeWeeks';
+ }
+ }
+
+ $value = $newData[$source];
+ $modulo = fmod($factor + fmod($value, $factor), $factor);
+ $newData[$source] = $modulo;
+ $newData[$target] += ($value - $modulo) / $factor;
+
+ $decimalPart = fmod($newData[$source], 1);
+
+ if ($decimalPart !== 0.0) {
+ $unit = $source;
+
+ foreach ($previous as [$subUnit, $subFactor]) {
+ $newData[$unit] -= $decimalPart;
+ $newData[$subUnit] += $decimalPart * $subFactor;
+ $decimalPart = fmod($newData[$subUnit], 1);
+
+ if ($decimalPart === 0.0) {
+ break;
+ }
+
+ $unit = $subUnit;
+ }
+ }
+
+ array_unshift($previous, [$source, $factor]);
+ }
+
+ $positive = null;
+
+ if (!$deep) {
+ foreach ($newData as $value) {
+ if ($value) {
+ if ($positive === null) {
+ $positive = ($value > 0);
+
+ continue;
+ }
+
+ if (($value > 0) !== $positive) {
+ return $this->invertCascade($originalData)
+ ->solveNegativeInterval();
+ }
+ }
+ }
+ }
+
+ return $this->set($newData)
+ ->solveNegativeInterval();
+ }
+
+ /**
+ * Convert overflowed values into bigger units.
+ *
+ * @return $this
+ */
+ public function cascade()
+ {
+ return $this->doCascade(false);
+ }
+
+ public function hasNegativeValues(): bool
+ {
+ foreach ($this->toArray() as $value) {
+ if ($value < 0) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ public function hasPositiveValues(): bool
+ {
+ foreach ($this->toArray() as $value) {
+ if ($value > 0) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get amount of given unit equivalent to the interval.
+ *
+ * @param string $unit
+ *
+ * @throws UnknownUnitException|UnitNotConfiguredException
+ *
+ * @return float
+ */
+ public function total($unit)
+ {
+ $realUnit = $unit = strtolower($unit);
+
+ if (\in_array($unit, ['days', 'weeks'])) {
+ $realUnit = 'dayz';
+ } elseif (!\in_array($unit, ['microseconds', 'milliseconds', 'seconds', 'minutes', 'hours', 'dayz', 'months', 'years'])) {
+ throw new UnknownUnitException($unit);
+ }
+
+ $result = 0;
+ $cumulativeFactor = 0;
+ $unitFound = false;
+ $factors = self::getFlipCascadeFactors();
+ $daysPerWeek = (int) static::getDaysPerWeek();
+
+ $values = [
+ 'years' => $this->years,
+ 'months' => $this->months,
+ 'weeks' => (int) ($this->d / $daysPerWeek),
+ 'dayz' => fmod($this->d, $daysPerWeek),
+ 'hours' => $this->hours,
+ 'minutes' => $this->minutes,
+ 'seconds' => $this->seconds,
+ 'milliseconds' => (int) ($this->microseconds / Carbon::MICROSECONDS_PER_MILLISECOND),
+ 'microseconds' => $this->microseconds % Carbon::MICROSECONDS_PER_MILLISECOND,
+ ];
+
+ if (isset($factors['dayz']) && $factors['dayz'][0] !== 'weeks') {
+ $values['dayz'] += $values['weeks'] * $daysPerWeek;
+ $values['weeks'] = 0;
+ }
+
+ foreach ($factors as $source => [$target, $factor]) {
+ if ($source === $realUnit) {
+ $unitFound = true;
+ $value = $values[$source];
+ $result += $value;
+ $cumulativeFactor = 1;
+ }
+
+ if ($factor === false) {
+ if ($unitFound) {
+ break;
+ }
+
+ $result = 0;
+ $cumulativeFactor = 0;
+
+ continue;
+ }
+
+ if ($target === $realUnit) {
+ $unitFound = true;
+ }
+
+ if ($cumulativeFactor) {
+ $cumulativeFactor *= $factor;
+ $result += $values[$target] * $cumulativeFactor;
+
+ continue;
+ }
+
+ $value = $values[$source];
+
+ $result = ($result + $value) / $factor;
+ }
+
+ if (isset($target) && !$cumulativeFactor) {
+ $result += $values[$target];
+ }
+
+ if (!$unitFound) {
+ throw new UnitNotConfiguredException($unit);
+ }
+
+ if ($this->invert) {
+ $result *= -1;
+ }
+
+ if ($unit === 'weeks') {
+ $result /= $daysPerWeek;
+ }
+
+ // Cast as int numbers with no decimal part
+ return fmod($result, 1) === 0.0 ? (int) $result : $result;
+ }
+
+ /**
+ * Determines if the instance is equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @see equalTo()
+ *
+ * @return bool
+ */
+ public function eq($interval): bool
+ {
+ return $this->equalTo($interval);
+ }
+
+ /**
+ * Determines if the instance is equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @return bool
+ */
+ public function equalTo($interval): bool
+ {
+ $interval = $this->resolveInterval($interval);
+
+ return $interval !== null && $this->totalMicroseconds === $interval->totalMicroseconds;
+ }
+
+ /**
+ * Determines if the instance is not equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @see notEqualTo()
+ *
+ * @return bool
+ */
+ public function ne($interval): bool
+ {
+ return $this->notEqualTo($interval);
+ }
+
+ /**
+ * Determines if the instance is not equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @return bool
+ */
+ public function notEqualTo($interval): bool
+ {
+ return !$this->eq($interval);
+ }
+
+ /**
+ * Determines if the instance is greater (longer) than another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @see greaterThan()
+ *
+ * @return bool
+ */
+ public function gt($interval): bool
+ {
+ return $this->greaterThan($interval);
+ }
+
+ /**
+ * Determines if the instance is greater (longer) than another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @return bool
+ */
+ public function greaterThan($interval): bool
+ {
+ $interval = $this->resolveInterval($interval);
+
+ return $interval === null || $this->totalMicroseconds > $interval->totalMicroseconds;
+ }
+
+ /**
+ * Determines if the instance is greater (longer) than or equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @see greaterThanOrEqualTo()
+ *
+ * @return bool
+ */
+ public function gte($interval): bool
+ {
+ return $this->greaterThanOrEqualTo($interval);
+ }
+
+ /**
+ * Determines if the instance is greater (longer) than or equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @return bool
+ */
+ public function greaterThanOrEqualTo($interval): bool
+ {
+ return $this->greaterThan($interval) || $this->equalTo($interval);
+ }
+
+ /**
+ * Determines if the instance is less (shorter) than another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @see lessThan()
+ *
+ * @return bool
+ */
+ public function lt($interval): bool
+ {
+ return $this->lessThan($interval);
+ }
+
+ /**
+ * Determines if the instance is less (shorter) than another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @return bool
+ */
+ public function lessThan($interval): bool
+ {
+ $interval = $this->resolveInterval($interval);
+
+ return $interval !== null && $this->totalMicroseconds < $interval->totalMicroseconds;
+ }
+
+ /**
+ * Determines if the instance is less (shorter) than or equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @see lessThanOrEqualTo()
+ *
+ * @return bool
+ */
+ public function lte($interval): bool
+ {
+ return $this->lessThanOrEqualTo($interval);
+ }
+
+ /**
+ * Determines if the instance is less (shorter) than or equal to another
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval
+ *
+ * @return bool
+ */
+ public function lessThanOrEqualTo($interval): bool
+ {
+ return $this->lessThan($interval) || $this->equalTo($interval);
+ }
+
+ /**
+ * Determines if the instance is between two others.
+ *
+ * The third argument allow you to specify if bounds are included or not (true by default)
+ * but for when you including/excluding bounds may produce different results in your application,
+ * we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead.
+ *
+ * @example
+ * ```
+ * CarbonInterval::hours(48)->between(CarbonInterval::day(), CarbonInterval::days(3)); // true
+ * CarbonInterval::hours(48)->between(CarbonInterval::day(), CarbonInterval::hours(36)); // false
+ * CarbonInterval::hours(48)->between(CarbonInterval::day(), CarbonInterval::days(2)); // true
+ * CarbonInterval::hours(48)->between(CarbonInterval::day(), CarbonInterval::days(2), false); // false
+ * ```
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval1
+ * @param CarbonInterval|DateInterval|mixed $interval2
+ * @param bool $equal Indicates if an equal to comparison should be done
+ *
+ * @return bool
+ */
+ public function between($interval1, $interval2, $equal = true): bool
+ {
+ return $equal
+ ? $this->greaterThanOrEqualTo($interval1) && $this->lessThanOrEqualTo($interval2)
+ : $this->greaterThan($interval1) && $this->lessThan($interval2);
+ }
+
+ /**
+ * Determines if the instance is between two others, bounds excluded.
+ *
+ * @example
+ * ```
+ * CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::days(3)); // true
+ * CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::hours(36)); // false
+ * CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::days(2)); // true
+ * ```
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval1
+ * @param CarbonInterval|DateInterval|mixed $interval2
+ *
+ * @return bool
+ */
+ public function betweenIncluded($interval1, $interval2): bool
+ {
+ return $this->between($interval1, $interval2, true);
+ }
+
+ /**
+ * Determines if the instance is between two others, bounds excluded.
+ *
+ * @example
+ * ```
+ * CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::days(3)); // true
+ * CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::hours(36)); // false
+ * CarbonInterval::hours(48)->betweenExcluded(CarbonInterval::day(), CarbonInterval::days(2)); // false
+ * ```
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval1
+ * @param CarbonInterval|DateInterval|mixed $interval2
+ *
+ * @return bool
+ */
+ public function betweenExcluded($interval1, $interval2): bool
+ {
+ return $this->between($interval1, $interval2, false);
+ }
+
+ /**
+ * Determines if the instance is between two others
+ *
+ * @example
+ * ```
+ * CarbonInterval::hours(48)->isBetween(CarbonInterval::day(), CarbonInterval::days(3)); // true
+ * CarbonInterval::hours(48)->isBetween(CarbonInterval::day(), CarbonInterval::hours(36)); // false
+ * CarbonInterval::hours(48)->isBetween(CarbonInterval::day(), CarbonInterval::days(2)); // true
+ * CarbonInterval::hours(48)->isBetween(CarbonInterval::day(), CarbonInterval::days(2), false); // false
+ * ```
+ *
+ * @param CarbonInterval|DateInterval|mixed $interval1
+ * @param CarbonInterval|DateInterval|mixed $interval2
+ * @param bool $equal Indicates if an equal to comparison should be done
+ *
+ * @return bool
+ */
+ public function isBetween($interval1, $interval2, $equal = true): bool
+ {
+ return $this->between($interval1, $interval2, $equal);
+ }
+
+ /**
+ * Round the current instance at the given unit with given precision if specified and the given function.
+ *
+ * @param string $unit
+ * @param float|int|string|DateInterval|null $precision
+ * @param string $function
+ *
+ * @throws Exception
+ *
+ * @return $this
+ */
+ public function roundUnit($unit, $precision = 1, $function = 'round')
+ {
+ if (static::getCascadeFactors() !== static::getDefaultCascadeFactors()) {
+ $value = $function($this->total($unit) / $precision) * $precision;
+ $inverted = $value < 0;
+
+ return $this->copyProperties(self::fromString(
+ number_format(abs($value), 12, '.', '').' '.$unit
+ )->invert($inverted)->cascade());
+ }
+
+ $base = CarbonImmutable::parse('2000-01-01 00:00:00', 'UTC')
+ ->roundUnit($unit, $precision, $function);
+ $next = $base->add($this);
+ $inverted = $next < $base;
+
+ if ($inverted) {
+ $next = $base->sub($this);
+ }
+
+ $this->copyProperties(
+ $next
+ ->roundUnit($unit, $precision, $function)
+ ->diffAsCarbonInterval($base)
+ );
+
+ return $this->invert($inverted);
+ }
+
+ /**
+ * Truncate the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int|string|DateInterval|null $precision
+ *
+ * @throws Exception
+ *
+ * @return $this
+ */
+ public function floorUnit($unit, $precision = 1)
+ {
+ return $this->roundUnit($unit, $precision, 'floor');
+ }
+
+ /**
+ * Ceil the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int|string|DateInterval|null $precision
+ *
+ * @throws Exception
+ *
+ * @return $this
+ */
+ public function ceilUnit($unit, $precision = 1)
+ {
+ return $this->roundUnit($unit, $precision, 'ceil');
+ }
+
+ /**
+ * Round the current instance second with given precision if specified.
+ *
+ * @param float|int|string|DateInterval|null $precision
+ * @param string $function
+ *
+ * @throws Exception
+ *
+ * @return $this
+ */
+ public function round($precision = 1, $function = 'round')
+ {
+ return $this->roundWith($precision, $function);
+ }
+
+ /**
+ * Round the current instance second with given precision if specified.
+ *
+ * @param float|int|string|DateInterval|null $precision
+ *
+ * @throws Exception
+ *
+ * @return $this
+ */
+ public function floor($precision = 1)
+ {
+ return $this->round($precision, 'floor');
+ }
+
+ /**
+ * Ceil the current instance second with given precision if specified.
+ *
+ * @param float|int|string|DateInterval|null $precision
+ *
+ * @throws Exception
+ *
+ * @return $this
+ */
+ public function ceil($precision = 1)
+ {
+ return $this->round($precision, 'ceil');
+ }
+
+ private function needsDeclension(string $mode, int $index, int $parts): bool
+ {
+ switch ($mode) {
+ case 'last':
+ return $index === $parts - 1;
+ default:
+ return true;
+ }
+ }
+
+ private function checkIntegerValue(string $name, $value)
+ {
+ if (\is_int($value)) {
+ return;
+ }
+
+ $this->assertSafeForInteger($name, $value);
+
+ if (\is_float($value) && (((float) (int) $value) === $value)) {
+ return;
+ }
+
+ if (!self::$floatSettersEnabled) {
+ $type = \gettype($value);
+ @trigger_error(
+ "Since 2.70.0, it's deprecated to pass $type value for $name.\n".
+ "It's truncated when stored as an integer interval unit.\n".
+ "From 3.0.0, decimal part will no longer be truncated and will be cascaded to smaller units.\n".
+ "- To maintain the current behavior, use explicit cast: $name((int) \$value)\n".
+ "- To adopt the new behavior globally, call CarbonInterval::enableFloatSetters()\n",
+ \E_USER_DEPRECATED
+ );
+ }
+ }
+
+ /**
+ * Throw an exception if precision loss when storing the given value as an integer would be >= 1.0.
+ */
+ private function assertSafeForInteger(string $name, $value)
+ {
+ if ($value && !\is_int($value) && ($value >= 0x7fffffffffffffff || $value <= -0x7fffffffffffffff)) {
+ throw new OutOfRangeException($name, -0x7fffffffffffffff, 0x7fffffffffffffff, $value);
+ }
+ }
+
+ private function handleDecimalPart(string $unit, $value, $integerValue)
+ {
+ if (self::$floatSettersEnabled) {
+ $floatValue = (float) $value;
+ $base = (float) $integerValue;
+
+ if ($floatValue === $base) {
+ return;
+ }
+
+ $units = [
+ 'y' => 'year',
+ 'm' => 'month',
+ 'd' => 'day',
+ 'h' => 'hour',
+ 'i' => 'minute',
+ 's' => 'second',
+ ];
+ $upper = true;
+
+ foreach ($units as $property => $name) {
+ if ($name === $unit) {
+ $upper = false;
+
+ continue;
+ }
+
+ if (!$upper && $this->$property !== 0) {
+ throw new RuntimeException(
+ "You cannot set $unit to a float value as $name would be overridden, ".
+ 'set it first to 0 explicitly if you really want to erase its value'
+ );
+ }
+ }
+
+ $this->add($unit, $floatValue - $base);
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php b/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
new file mode 100644
index 0000000..9633d2b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
@@ -0,0 +1,2729 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\Exceptions\EndLessPeriodException;
+use Carbon\Exceptions\InvalidCastException;
+use Carbon\Exceptions\InvalidIntervalException;
+use Carbon\Exceptions\InvalidPeriodDateException;
+use Carbon\Exceptions\InvalidPeriodParameterException;
+use Carbon\Exceptions\NotACarbonClassException;
+use Carbon\Exceptions\NotAPeriodException;
+use Carbon\Exceptions\UnknownGetterException;
+use Carbon\Exceptions\UnknownMethodException;
+use Carbon\Exceptions\UnreachableException;
+use Carbon\Traits\IntervalRounding;
+use Carbon\Traits\Mixin;
+use Carbon\Traits\Options;
+use Carbon\Traits\ToStringFormat;
+use Closure;
+use Countable;
+use DateInterval;
+use DatePeriod;
+use DateTime;
+use DateTimeImmutable;
+use DateTimeInterface;
+use DateTimeZone;
+use InvalidArgumentException;
+use Iterator;
+use JsonSerializable;
+use ReflectionException;
+use ReturnTypeWillChange;
+use RuntimeException;
+
+/**
+ * Substitution of DatePeriod with some modifications and many more features.
+ *
+ * @property-read int|float $recurrences number of recurrences (if end not set).
+ * @property-read bool $include_start_date rather the start date is included in the iteration.
+ * @property-read bool $include_end_date rather the end date is included in the iteration (if recurrences not set).
+ * @property-read CarbonInterface $start Period start date.
+ * @property-read CarbonInterface $current Current date from the iteration.
+ * @property-read CarbonInterface $end Period end date.
+ * @property-read CarbonInterval $interval Underlying date interval instance. Always present, one day by default.
+ *
+ * @method static static start($date, $inclusive = null) Create instance specifying start date or modify the start date if called on an instance.
+ * @method static static since($date, $inclusive = null) Alias for start().
+ * @method static static sinceNow($inclusive = null) Create instance with start date set to now or set the start date to now if called on an instance.
+ * @method static static end($date = null, $inclusive = null) Create instance specifying end date or modify the end date if called on an instance.
+ * @method static static until($date = null, $inclusive = null) Alias for end().
+ * @method static static untilNow($inclusive = null) Create instance with end date set to now or set the end date to now if called on an instance.
+ * @method static static dates($start, $end = null) Create instance with start and end dates or modify the start and end dates if called on an instance.
+ * @method static static between($start, $end = null) Create instance with start and end dates or modify the start and end dates if called on an instance.
+ * @method static static recurrences($recurrences = null) Create instance with maximum number of recurrences or modify the number of recurrences if called on an instance.
+ * @method static static times($recurrences = null) Alias for recurrences().
+ * @method static static options($options = null) Create instance with options or modify the options if called on an instance.
+ * @method static static toggle($options, $state = null) Create instance with options toggled on or off, or toggle options if called on an instance.
+ * @method static static filter($callback, $name = null) Create instance with filter added to the stack or append a filter if called on an instance.
+ * @method static static push($callback, $name = null) Alias for filter().
+ * @method static static prepend($callback, $name = null) Create instance with filter prepended to the stack or prepend a filter if called on an instance.
+ * @method static static filters(array $filters = []) Create instance with filters stack or replace the whole filters stack if called on an instance.
+ * @method static static interval($interval) Create instance with given date interval or modify the interval if called on an instance.
+ * @method static static each($interval) Create instance with given date interval or modify the interval if called on an instance.
+ * @method static static every($interval) Create instance with given date interval or modify the interval if called on an instance.
+ * @method static static step($interval) Create instance with given date interval or modify the interval if called on an instance.
+ * @method static static stepBy($interval) Create instance with given date interval or modify the interval if called on an instance.
+ * @method static static invert() Create instance with inverted date interval or invert the interval if called on an instance.
+ * @method static static years($years = 1) Create instance specifying a number of years for date interval or replace the interval by the given a number of years if called on an instance.
+ * @method static static year($years = 1) Alias for years().
+ * @method static static months($months = 1) Create instance specifying a number of months for date interval or replace the interval by the given a number of months if called on an instance.
+ * @method static static month($months = 1) Alias for months().
+ * @method static static weeks($weeks = 1) Create instance specifying a number of weeks for date interval or replace the interval by the given a number of weeks if called on an instance.
+ * @method static static week($weeks = 1) Alias for weeks().
+ * @method static static days($days = 1) Create instance specifying a number of days for date interval or replace the interval by the given a number of days if called on an instance.
+ * @method static static dayz($days = 1) Alias for days().
+ * @method static static day($days = 1) Alias for days().
+ * @method static static hours($hours = 1) Create instance specifying a number of hours for date interval or replace the interval by the given a number of hours if called on an instance.
+ * @method static static hour($hours = 1) Alias for hours().
+ * @method static static minutes($minutes = 1) Create instance specifying a number of minutes for date interval or replace the interval by the given a number of minutes if called on an instance.
+ * @method static static minute($minutes = 1) Alias for minutes().
+ * @method static static seconds($seconds = 1) Create instance specifying a number of seconds for date interval or replace the interval by the given a number of seconds if called on an instance.
+ * @method static static second($seconds = 1) Alias for seconds().
+ * @method static static milliseconds($milliseconds = 1) Create instance specifying a number of milliseconds for date interval or replace the interval by the given a number of milliseconds if called on an instance.
+ * @method static static millisecond($milliseconds = 1) Alias for milliseconds().
+ * @method static static microseconds($microseconds = 1) Create instance specifying a number of microseconds for date interval or replace the interval by the given a number of microseconds if called on an instance.
+ * @method static static microsecond($microseconds = 1) Alias for microseconds().
+ * @method $this roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method $this roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method $this floorYear(float $precision = 1) Truncate the current instance year with given precision.
+ * @method $this floorYears(float $precision = 1) Truncate the current instance year with given precision.
+ * @method $this ceilYear(float $precision = 1) Ceil the current instance year with given precision.
+ * @method $this ceilYears(float $precision = 1) Ceil the current instance year with given precision.
+ * @method $this roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method $this roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method $this floorMonth(float $precision = 1) Truncate the current instance month with given precision.
+ * @method $this floorMonths(float $precision = 1) Truncate the current instance month with given precision.
+ * @method $this ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
+ * @method $this ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
+ * @method $this roundWeek(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this roundWeeks(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this floorWeek(float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this floorWeeks(float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this ceilWeek(float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this ceilWeeks(float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method $this floorDay(float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this floorDays(float $precision = 1) Truncate the current instance day with given precision.
+ * @method $this ceilDay(float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this ceilDays(float $precision = 1) Ceil the current instance day with given precision.
+ * @method $this roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method $this roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method $this floorHour(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method $this floorHours(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method $this ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method $this ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method $this roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method $this roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method $this floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method $this floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method $this ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method $this ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method $this roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method $this roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method $this floorSecond(float $precision = 1) Truncate the current instance second with given precision.
+ * @method $this floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
+ * @method $this ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
+ * @method $this ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
+ * @method $this roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method $this roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method $this floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method $this floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method $this ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method $this ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method $this roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method $this roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method $this floorCentury(float $precision = 1) Truncate the current instance century with given precision.
+ * @method $this floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
+ * @method $this ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
+ * @method $this ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
+ * @method $this roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method $this roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method $this floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method $this floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method $this ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method $this ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method $this roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method $this roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method $this floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method $this floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method $this ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method $this ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method $this roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method $this roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method $this floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method $this floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method $this ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method $this ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method $this roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method $this roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method $this floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method $this floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method $this ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method $this ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
+ *
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
+ */
+class CarbonPeriod implements Iterator, Countable, JsonSerializable
+{
+ use IntervalRounding;
+ use Mixin {
+ Mixin::mixin as baseMixin;
+ }
+ use Options;
+ use ToStringFormat;
+
+ /**
+ * Built-in filter for limit by recurrences.
+ *
+ * @var callable
+ */
+ public const RECURRENCES_FILTER = [self::class, 'filterRecurrences'];
+
+ /**
+ * Built-in filter for limit to an end.
+ *
+ * @var callable
+ */
+ public const END_DATE_FILTER = [self::class, 'filterEndDate'];
+
+ /**
+ * Special value which can be returned by filters to end iteration. Also a filter.
+ *
+ * @var callable
+ */
+ public const END_ITERATION = [self::class, 'endIteration'];
+
+ /**
+ * Exclude start date from iteration.
+ *
+ * @var int
+ */
+ public const EXCLUDE_START_DATE = 1;
+
+ /**
+ * Exclude end date from iteration.
+ *
+ * @var int
+ */
+ public const EXCLUDE_END_DATE = 2;
+
+ /**
+ * Yield CarbonImmutable instances.
+ *
+ * @var int
+ */
+ public const IMMUTABLE = 4;
+
+ /**
+ * Number of maximum attempts before giving up on finding next valid date.
+ *
+ * @var int
+ */
+ public const NEXT_MAX_ATTEMPTS = 1000;
+
+ /**
+ * Number of maximum attempts before giving up on finding end date.
+ *
+ * @var int
+ */
+ public const END_MAX_ATTEMPTS = 10000;
+
+ /**
+ * The registered macros.
+ *
+ * @var array
+ */
+ protected static $macros = [];
+
+ /**
+ * Date class of iteration items.
+ *
+ * @var string
+ */
+ protected $dateClass = Carbon::class;
+
+ /**
+ * Underlying date interval instance. Always present, one day by default.
+ *
+ * @var CarbonInterval
+ */
+ protected $dateInterval;
+
+ /**
+ * True once __construct is finished.
+ *
+ * @var bool
+ */
+ protected $constructed = false;
+
+ /**
+ * Whether current date interval was set by default.
+ *
+ * @var bool
+ */
+ protected $isDefaultInterval;
+
+ /**
+ * The filters stack.
+ *
+ * @var array
+ */
+ protected $filters = [];
+
+ /**
+ * Period start date. Applied on rewind. Always present, now by default.
+ *
+ * @var CarbonInterface
+ */
+ protected $startDate;
+
+ /**
+ * Period end date. For inverted interval should be before the start date. Applied via a filter.
+ *
+ * @var CarbonInterface|null
+ */
+ protected $endDate;
+
+ /**
+ * Limit for number of recurrences. Applied via a filter.
+ *
+ * @var int|null
+ */
+ protected $recurrences;
+
+ /**
+ * Iteration options.
+ *
+ * @var int
+ */
+ protected $options;
+
+ /**
+ * Index of current date. Always sequential, even if some dates are skipped by filters.
+ * Equal to null only before the first iteration.
+ *
+ * @var int
+ */
+ protected $key;
+
+ /**
+ * Current date. May temporarily hold unaccepted value when looking for a next valid date.
+ * Equal to null only before the first iteration.
+ *
+ * @var CarbonInterface
+ */
+ protected $current;
+
+ /**
+ * Timezone of current date. Taken from the start date.
+ *
+ * @var \DateTimeZone|null
+ */
+ protected $timezone;
+
+ /**
+ * The cached validation result for current date.
+ *
+ * @var bool|string|null
+ */
+ protected $validationResult;
+
+ /**
+ * Timezone handler for settings() method.
+ *
+ * @var mixed
+ */
+ protected $tzName;
+
+ /**
+ * Make a CarbonPeriod instance from given variable if possible.
+ *
+ * @param mixed $var
+ *
+ * @return static|null
+ */
+ public static function make($var)
+ {
+ try {
+ return static::instance($var);
+ } catch (NotAPeriodException $e) {
+ return static::create($var);
+ }
+ }
+
+ /**
+ * Create a new instance from a DatePeriod or CarbonPeriod object.
+ *
+ * @param CarbonPeriod|DatePeriod $period
+ *
+ * @return static
+ */
+ public static function instance($period)
+ {
+ if ($period instanceof static) {
+ return $period->copy();
+ }
+
+ if ($period instanceof self) {
+ return new static(
+ $period->getStartDate(),
+ $period->getEndDate() ?: $period->getRecurrences(),
+ $period->getDateInterval(),
+ $period->getOptions()
+ );
+ }
+
+ if ($period instanceof DatePeriod) {
+ return new static(
+ $period->start,
+ $period->end ?: ($period->recurrences - 1),
+ $period->interval,
+ $period->include_start_date ? 0 : static::EXCLUDE_START_DATE
+ );
+ }
+
+ $class = static::class;
+ $type = \gettype($period);
+
+ throw new NotAPeriodException(
+ 'Argument 1 passed to '.$class.'::'.__METHOD__.'() '.
+ 'must be an instance of DatePeriod or '.$class.', '.
+ ($type === 'object' ? 'instance of '.\get_class($period) : $type).' given.'
+ );
+ }
+
+ /**
+ * Create a new instance.
+ *
+ * @return static
+ */
+ public static function create(...$params)
+ {
+ return static::createFromArray($params);
+ }
+
+ /**
+ * Create a new instance from an array of parameters.
+ *
+ * @param array $params
+ *
+ * @return static
+ */
+ public static function createFromArray(array $params)
+ {
+ return new static(...$params);
+ }
+
+ /**
+ * Create CarbonPeriod from ISO 8601 string.
+ *
+ * @param string $iso
+ * @param int|null $options
+ *
+ * @return static
+ */
+ public static function createFromIso($iso, $options = null)
+ {
+ $params = static::parseIso8601($iso);
+
+ $instance = static::createFromArray($params);
+
+ if ($options !== null) {
+ $instance->setOptions($options);
+ }
+
+ return $instance;
+ }
+
+ /**
+ * Return whether given interval contains non zero value of any time unit.
+ *
+ * @param \DateInterval $interval
+ *
+ * @return bool
+ */
+ protected static function intervalHasTime(DateInterval $interval)
+ {
+ return $interval->h || $interval->i || $interval->s || $interval->f;
+ }
+
+ /**
+ * Return whether given variable is an ISO 8601 specification.
+ *
+ * Note: Check is very basic, as actual validation will be done later when parsing.
+ * We just want to ensure that variable is not any other type of a valid parameter.
+ *
+ * @param mixed $var
+ *
+ * @return bool
+ */
+ protected static function isIso8601($var)
+ {
+ if (!\is_string($var)) {
+ return false;
+ }
+
+ // Match slash but not within a timezone name.
+ $part = '[a-z]+(?:[_-][a-z]+)*';
+
+ preg_match("#\b$part/$part\b|(/)#i", $var, $match);
+
+ return isset($match[1]);
+ }
+
+ /**
+ * Parse given ISO 8601 string into an array of arguments.
+ *
+ * @SuppressWarnings(PHPMD.ElseExpression)
+ *
+ * @param string $iso
+ *
+ * @return array
+ */
+ protected static function parseIso8601($iso)
+ {
+ $result = [];
+
+ $interval = null;
+ $start = null;
+ $end = null;
+
+ foreach (explode('/', $iso) as $key => $part) {
+ if ($key === 0 && preg_match('/^R(\d*|INF)$/', $part, $match)) {
+ $parsed = \strlen($match[1]) ? (($match[1] !== 'INF') ? (int) $match[1] : INF) : null;
+ } elseif ($interval === null && $parsed = CarbonInterval::make($part)) {
+ $interval = $part;
+ } elseif ($start === null && $parsed = Carbon::make($part)) {
+ $start = $part;
+ } elseif ($end === null && $parsed = Carbon::make(static::addMissingParts($start ?? '', $part))) {
+ $end = $part;
+ } else {
+ throw new InvalidPeriodParameterException("Invalid ISO 8601 specification: $iso.");
+ }
+
+ $result[] = $parsed;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Add missing parts of the target date from the soure date.
+ *
+ * @param string $source
+ * @param string $target
+ *
+ * @return string
+ */
+ protected static function addMissingParts($source, $target)
+ {
+ $pattern = '/'.preg_replace('/\d+/', '[0-9]+', preg_quote($target, '/')).'$/';
+
+ $result = preg_replace($pattern, $target, $source, 1, $count);
+
+ return $count ? $result : $target;
+ }
+
+ /**
+ * Register a custom macro.
+ *
+ * @example
+ * ```
+ * CarbonPeriod::macro('middle', function () {
+ * return $this->getStartDate()->average($this->getEndDate());
+ * });
+ * echo CarbonPeriod::since('2011-05-12')->until('2011-06-03')->middle();
+ * ```
+ *
+ * @param string $name
+ * @param object|callable $macro
+ *
+ * @return void
+ */
+ public static function macro($name, $macro)
+ {
+ static::$macros[$name] = $macro;
+ }
+
+ /**
+ * Register macros from a mixin object.
+ *
+ * @example
+ * ```
+ * CarbonPeriod::mixin(new class {
+ * public function addDays() {
+ * return function ($count = 1) {
+ * return $this->setStartDate(
+ * $this->getStartDate()->addDays($count)
+ * )->setEndDate(
+ * $this->getEndDate()->addDays($count)
+ * );
+ * };
+ * }
+ * public function subDays() {
+ * return function ($count = 1) {
+ * return $this->setStartDate(
+ * $this->getStartDate()->subDays($count)
+ * )->setEndDate(
+ * $this->getEndDate()->subDays($count)
+ * );
+ * };
+ * }
+ * });
+ * echo CarbonPeriod::create('2000-01-01', '2000-02-01')->addDays(5)->subDays(3);
+ * ```
+ *
+ * @param object|string $mixin
+ *
+ * @throws ReflectionException
+ *
+ * @return void
+ */
+ public static function mixin($mixin)
+ {
+ static::baseMixin($mixin);
+ }
+
+ /**
+ * Check if macro is registered.
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public static function hasMacro($name)
+ {
+ return isset(static::$macros[$name]);
+ }
+
+ /**
+ * Provide static proxy for instance aliases.
+ *
+ * @param string $method
+ * @param array $parameters
+ *
+ * @return mixed
+ */
+ public static function __callStatic($method, $parameters)
+ {
+ $date = new static();
+
+ if (static::hasMacro($method)) {
+ return static::bindMacroContext(null, function () use (&$method, &$parameters, &$date) {
+ return $date->callMacro($method, $parameters);
+ });
+ }
+
+ return $date->$method(...$parameters);
+ }
+
+ /**
+ * CarbonPeriod constructor.
+ *
+ * @SuppressWarnings(PHPMD.ElseExpression)
+ *
+ * @throws InvalidArgumentException
+ */
+ public function __construct(...$arguments)
+ {
+ if (is_a($this->dateClass, DateTimeImmutable::class, true)) {
+ $this->options = static::IMMUTABLE;
+ }
+
+ // Parse and assign arguments one by one. First argument may be an ISO 8601 spec,
+ // which will be first parsed into parts and then processed the same way.
+
+ $argumentsCount = \count($arguments);
+
+ if ($argumentsCount && static::isIso8601($iso = $arguments[0])) {
+ array_splice($arguments, 0, 1, static::parseIso8601($iso));
+ }
+
+ if ($argumentsCount === 1) {
+ if ($arguments[0] instanceof DatePeriod) {
+ $arguments = [
+ $arguments[0]->start,
+ $arguments[0]->end ?: ($arguments[0]->recurrences - 1),
+ $arguments[0]->interval,
+ $arguments[0]->include_start_date ? 0 : static::EXCLUDE_START_DATE,
+ ];
+ } elseif ($arguments[0] instanceof self) {
+ $arguments = [
+ $arguments[0]->getStartDate(),
+ $arguments[0]->getEndDate() ?: $arguments[0]->getRecurrences(),
+ $arguments[0]->getDateInterval(),
+ $arguments[0]->getOptions(),
+ ];
+ }
+ }
+
+ $optionsSet = false;
+
+ foreach ($arguments as $argument) {
+ $parsedDate = null;
+
+ if ($argument instanceof DateTimeZone) {
+ $this->setTimezone($argument);
+ } elseif ($this->dateInterval === null &&
+ (
+ (\is_string($argument) && preg_match(
+ '/^(-?\d(\d(?![\/-])|[^\d\/-]([\/-])?)*|P[T\d].*|(?:\h*\d+(?:\.\d+)?\h*[a-z]+)+)$/i',
+ $argument
+ )) ||
+ $argument instanceof DateInterval ||
+ $argument instanceof Closure
+ ) &&
+ $parsedInterval = @CarbonInterval::make($argument)
+ ) {
+ $this->setDateInterval($parsedInterval);
+ } elseif ($this->startDate === null && $parsedDate = $this->makeDateTime($argument)) {
+ $this->setStartDate($parsedDate);
+ } elseif ($this->endDate === null && ($parsedDate = $parsedDate ?? $this->makeDateTime($argument))) {
+ $this->setEndDate($parsedDate);
+ } elseif ($this->recurrences === null && $this->endDate === null && is_numeric($argument)) {
+ $this->setRecurrences($argument);
+ } elseif (!$optionsSet && (\is_int($argument) || $argument === null)) {
+ $optionsSet = true;
+ $this->setOptions(((int) $this->options) | ((int) $argument));
+ } else {
+ throw new InvalidPeriodParameterException('Invalid constructor parameters.');
+ }
+ }
+
+ if ($this->startDate === null) {
+ $this->setStartDate(Carbon::now());
+ }
+
+ if ($this->dateInterval === null) {
+ $this->setDateInterval(CarbonInterval::day());
+
+ $this->isDefaultInterval = true;
+ }
+
+ if ($this->options === null) {
+ $this->setOptions(0);
+ }
+
+ $this->constructed = true;
+ }
+
+ /**
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function copy()
+ {
+ return clone $this;
+ }
+
+ /**
+ * Prepare the instance to be set (self if mutable to be mutated,
+ * copy if immutable to generate a new instance).
+ *
+ * @return static
+ */
+ protected function copyIfImmutable()
+ {
+ return $this;
+ }
+
+ /**
+ * Get the getter for a property allowing both `DatePeriod` snakeCase and camelCase names.
+ *
+ * @param string $name
+ *
+ * @return callable|null
+ */
+ protected function getGetter(string $name)
+ {
+ switch (strtolower(preg_replace('/[A-Z]/', '_$0', $name))) {
+ case 'start':
+ case 'start_date':
+ return [$this, 'getStartDate'];
+ case 'end':
+ case 'end_date':
+ return [$this, 'getEndDate'];
+ case 'interval':
+ case 'date_interval':
+ return [$this, 'getDateInterval'];
+ case 'recurrences':
+ return [$this, 'getRecurrences'];
+ case 'include_start_date':
+ return [$this, 'isStartIncluded'];
+ case 'include_end_date':
+ return [$this, 'isEndIncluded'];
+ case 'current':
+ return [$this, 'current'];
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Get a property allowing both `DatePeriod` snakeCase and camelCase names.
+ *
+ * @param string $name
+ *
+ * @return bool|CarbonInterface|CarbonInterval|int|null
+ */
+ public function get(string $name)
+ {
+ $getter = $this->getGetter($name);
+
+ if ($getter) {
+ return $getter();
+ }
+
+ throw new UnknownGetterException($name);
+ }
+
+ /**
+ * Get a property allowing both `DatePeriod` snakeCase and camelCase names.
+ *
+ * @param string $name
+ *
+ * @return bool|CarbonInterface|CarbonInterval|int|null
+ */
+ public function __get(string $name)
+ {
+ return $this->get($name);
+ }
+
+ /**
+ * Check if an attribute exists on the object
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public function __isset(string $name): bool
+ {
+ return $this->getGetter($name) !== null;
+ }
+
+ /**
+ * @alias copy
+ *
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function clone()
+ {
+ return clone $this;
+ }
+
+ /**
+ * Set the iteration item class.
+ *
+ * @param string $dateClass
+ *
+ * @return static
+ */
+ public function setDateClass(string $dateClass)
+ {
+ if (!is_a($dateClass, CarbonInterface::class, true)) {
+ throw new NotACarbonClassException($dateClass);
+ }
+
+ $self = $this->copyIfImmutable();
+ $self->dateClass = $dateClass;
+
+ if (is_a($dateClass, Carbon::class, true)) {
+ $self->options = $self->options & ~static::IMMUTABLE;
+ } elseif (is_a($dateClass, CarbonImmutable::class, true)) {
+ $self->options = $self->options | static::IMMUTABLE;
+ }
+
+ return $self;
+ }
+
+ /**
+ * Returns iteration item date class.
+ *
+ * @return string
+ */
+ public function getDateClass(): string
+ {
+ return $this->dateClass;
+ }
+
+ /**
+ * Change the period date interval.
+ *
+ * @param DateInterval|string $interval
+ *
+ * @throws InvalidIntervalException
+ *
+ * @return static
+ */
+ public function setDateInterval($interval)
+ {
+ if (!$interval = CarbonInterval::make($interval)) {
+ throw new InvalidIntervalException('Invalid interval.');
+ }
+
+ if ($interval->spec() === 'PT0S' && !$interval->f && !$interval->getStep()) {
+ throw new InvalidIntervalException('Empty interval is not accepted.');
+ }
+
+ $self = $this->copyIfImmutable();
+ $self->dateInterval = $interval;
+
+ $self->isDefaultInterval = false;
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Invert the period date interval.
+ *
+ * @return static
+ */
+ public function invertDateInterval()
+ {
+ return $this->setDateInterval($this->dateInterval->invert());
+ }
+
+ /**
+ * Set start and end date.
+ *
+ * @param DateTime|DateTimeInterface|string $start
+ * @param DateTime|DateTimeInterface|string|null $end
+ *
+ * @return static
+ */
+ public function setDates($start, $end)
+ {
+ return $this->setStartDate($start)->setEndDate($end);
+ }
+
+ /**
+ * Change the period options.
+ *
+ * @param int|null $options
+ *
+ * @throws InvalidArgumentException
+ *
+ * @return static
+ */
+ public function setOptions($options)
+ {
+ if (!\is_int($options) && $options !== null) {
+ throw new InvalidPeriodParameterException('Invalid options.');
+ }
+
+ $self = $this->copyIfImmutable();
+ $self->options = $options ?: 0;
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Get the period options.
+ *
+ * @return int
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ /**
+ * Toggle given options on or off.
+ *
+ * @param int $options
+ * @param bool|null $state
+ *
+ * @throws \InvalidArgumentException
+ *
+ * @return static
+ */
+ public function toggleOptions($options, $state = null)
+ {
+ if ($state === null) {
+ $state = ($this->options & $options) !== $options;
+ }
+
+ return $this->setOptions(
+ $state ?
+ $this->options | $options :
+ $this->options & ~$options
+ );
+ }
+
+ /**
+ * Toggle EXCLUDE_START_DATE option.
+ *
+ * @param bool $state
+ *
+ * @return static
+ */
+ public function excludeStartDate($state = true)
+ {
+ return $this->toggleOptions(static::EXCLUDE_START_DATE, $state);
+ }
+
+ /**
+ * Toggle EXCLUDE_END_DATE option.
+ *
+ * @param bool $state
+ *
+ * @return static
+ */
+ public function excludeEndDate($state = true)
+ {
+ return $this->toggleOptions(static::EXCLUDE_END_DATE, $state);
+ }
+
+ /**
+ * Get the underlying date interval.
+ *
+ * @return CarbonInterval
+ */
+ public function getDateInterval()
+ {
+ return $this->dateInterval->copy();
+ }
+
+ /**
+ * Get start date of the period.
+ *
+ * @param string|null $rounding Optional rounding 'floor', 'ceil', 'round' using the period interval.
+ *
+ * @return CarbonInterface
+ */
+ public function getStartDate(string $rounding = null)
+ {
+ $date = $this->startDate->avoidMutation();
+
+ return $rounding ? $date->round($this->getDateInterval(), $rounding) : $date;
+ }
+
+ /**
+ * Get end date of the period.
+ *
+ * @param string|null $rounding Optional rounding 'floor', 'ceil', 'round' using the period interval.
+ *
+ * @return CarbonInterface|null
+ */
+ public function getEndDate(string $rounding = null)
+ {
+ if (!$this->endDate) {
+ return null;
+ }
+
+ $date = $this->endDate->avoidMutation();
+
+ return $rounding ? $date->round($this->getDateInterval(), $rounding) : $date;
+ }
+
+ /**
+ * Get number of recurrences.
+ *
+ * @return int|float|null
+ */
+ public function getRecurrences()
+ {
+ return $this->recurrences;
+ }
+
+ /**
+ * Returns true if the start date should be excluded.
+ *
+ * @return bool
+ */
+ public function isStartExcluded()
+ {
+ return ($this->options & static::EXCLUDE_START_DATE) !== 0;
+ }
+
+ /**
+ * Returns true if the end date should be excluded.
+ *
+ * @return bool
+ */
+ public function isEndExcluded()
+ {
+ return ($this->options & static::EXCLUDE_END_DATE) !== 0;
+ }
+
+ /**
+ * Returns true if the start date should be included.
+ *
+ * @return bool
+ */
+ public function isStartIncluded()
+ {
+ return !$this->isStartExcluded();
+ }
+
+ /**
+ * Returns true if the end date should be included.
+ *
+ * @return bool
+ */
+ public function isEndIncluded()
+ {
+ return !$this->isEndExcluded();
+ }
+
+ /**
+ * Return the start if it's included by option, else return the start + 1 period interval.
+ *
+ * @return CarbonInterface
+ */
+ public function getIncludedStartDate()
+ {
+ $start = $this->getStartDate();
+
+ if ($this->isStartExcluded()) {
+ return $start->add($this->getDateInterval());
+ }
+
+ return $start;
+ }
+
+ /**
+ * Return the end if it's included by option, else return the end - 1 period interval.
+ * Warning: if the period has no fixed end, this method will iterate the period to calculate it.
+ *
+ * @return CarbonInterface
+ */
+ public function getIncludedEndDate()
+ {
+ $end = $this->getEndDate();
+
+ if (!$end) {
+ return $this->calculateEnd();
+ }
+
+ if ($this->isEndExcluded()) {
+ return $end->sub($this->getDateInterval());
+ }
+
+ return $end;
+ }
+
+ /**
+ * Add a filter to the stack.
+ *
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ *
+ * @param callable $callback
+ * @param string $name
+ *
+ * @return static
+ */
+ public function addFilter($callback, $name = null)
+ {
+ $self = $this->copyIfImmutable();
+ $tuple = $self->createFilterTuple(\func_get_args());
+
+ $self->filters[] = $tuple;
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Prepend a filter to the stack.
+ *
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ *
+ * @param callable $callback
+ * @param string $name
+ *
+ * @return static
+ */
+ public function prependFilter($callback, $name = null)
+ {
+ $self = $this->copyIfImmutable();
+ $tuple = $self->createFilterTuple(\func_get_args());
+
+ array_unshift($self->filters, $tuple);
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Remove a filter by instance or name.
+ *
+ * @param callable|string $filter
+ *
+ * @return static
+ */
+ public function removeFilter($filter)
+ {
+ $self = $this->copyIfImmutable();
+ $key = \is_callable($filter) ? 0 : 1;
+
+ $self->filters = array_values(array_filter(
+ $this->filters,
+ function ($tuple) use ($key, $filter) {
+ return $tuple[$key] !== $filter;
+ }
+ ));
+
+ $self->updateInternalState();
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Return whether given instance or name is in the filter stack.
+ *
+ * @param callable|string $filter
+ *
+ * @return bool
+ */
+ public function hasFilter($filter)
+ {
+ $key = \is_callable($filter) ? 0 : 1;
+
+ foreach ($this->filters as $tuple) {
+ if ($tuple[$key] === $filter) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Get filters stack.
+ *
+ * @return array
+ */
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+
+ /**
+ * Set filters stack.
+ *
+ * @param array $filters
+ *
+ * @return static
+ */
+ public function setFilters(array $filters)
+ {
+ $self = $this->copyIfImmutable();
+ $self->filters = $filters;
+
+ $self->updateInternalState();
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Reset filters stack.
+ *
+ * @return static
+ */
+ public function resetFilters()
+ {
+ $self = $this->copyIfImmutable();
+ $self->filters = [];
+
+ if ($self->endDate !== null) {
+ $self->filters[] = [static::END_DATE_FILTER, null];
+ }
+
+ if ($self->recurrences !== null) {
+ $self->filters[] = [static::RECURRENCES_FILTER, null];
+ }
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Add a recurrences filter (set maximum number of recurrences).
+ *
+ * @param int|float|null $recurrences
+ *
+ * @throws InvalidArgumentException
+ *
+ * @return static
+ */
+ public function setRecurrences($recurrences)
+ {
+ if ((!is_numeric($recurrences) && $recurrences !== null) || $recurrences < 0) {
+ throw new InvalidPeriodParameterException('Invalid number of recurrences.');
+ }
+
+ if ($recurrences === null) {
+ return $this->removeFilter(static::RECURRENCES_FILTER);
+ }
+
+ /** @var self $self */
+ $self = $this->copyIfImmutable();
+ $self->recurrences = $recurrences === INF ? INF : (int) $recurrences;
+
+ if (!$self->hasFilter(static::RECURRENCES_FILTER)) {
+ return $self->addFilter(static::RECURRENCES_FILTER);
+ }
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Change the period start date.
+ *
+ * @param DateTime|DateTimeInterface|string $date
+ * @param bool|null $inclusive
+ *
+ * @throws InvalidPeriodDateException
+ *
+ * @return static
+ */
+ public function setStartDate($date, $inclusive = null)
+ {
+ if (!$this->isInfiniteDate($date) && !($date = ([$this->dateClass, 'make'])($date))) {
+ throw new InvalidPeriodDateException('Invalid start date.');
+ }
+
+ $self = $this->copyIfImmutable();
+ $self->startDate = $date;
+
+ if ($inclusive !== null) {
+ $self = $self->toggleOptions(static::EXCLUDE_START_DATE, !$inclusive);
+ }
+
+ return $self;
+ }
+
+ /**
+ * Change the period end date.
+ *
+ * @param DateTime|DateTimeInterface|string|null $date
+ * @param bool|null $inclusive
+ *
+ * @throws \InvalidArgumentException
+ *
+ * @return static
+ */
+ public function setEndDate($date, $inclusive = null)
+ {
+ if ($date !== null && !$this->isInfiniteDate($date) && !$date = ([$this->dateClass, 'make'])($date)) {
+ throw new InvalidPeriodDateException('Invalid end date.');
+ }
+
+ if (!$date) {
+ return $this->removeFilter(static::END_DATE_FILTER);
+ }
+
+ $self = $this->copyIfImmutable();
+ $self->endDate = $date;
+
+ if ($inclusive !== null) {
+ $self = $self->toggleOptions(static::EXCLUDE_END_DATE, !$inclusive);
+ }
+
+ if (!$self->hasFilter(static::END_DATE_FILTER)) {
+ return $self->addFilter(static::END_DATE_FILTER);
+ }
+
+ $self->handleChangedParameters();
+
+ return $self;
+ }
+
+ /**
+ * Check if the current position is valid.
+ *
+ * @return bool
+ */
+ #[ReturnTypeWillChange]
+ public function valid()
+ {
+ return $this->validateCurrentDate() === true;
+ }
+
+ /**
+ * Return the current key.
+ *
+ * @return int|null
+ */
+ #[ReturnTypeWillChange]
+ public function key()
+ {
+ return $this->valid()
+ ? $this->key
+ : null;
+ }
+
+ /**
+ * Return the current date.
+ *
+ * @return CarbonInterface|null
+ */
+ #[ReturnTypeWillChange]
+ public function current()
+ {
+ return $this->valid()
+ ? $this->prepareForReturn($this->current)
+ : null;
+ }
+
+ /**
+ * Move forward to the next date.
+ *
+ * @throws RuntimeException
+ *
+ * @return void
+ */
+ #[ReturnTypeWillChange]
+ public function next()
+ {
+ if ($this->current === null) {
+ $this->rewind();
+ }
+
+ if ($this->validationResult !== static::END_ITERATION) {
+ $this->key++;
+
+ $this->incrementCurrentDateUntilValid();
+ }
+ }
+
+ /**
+ * Rewind to the start date.
+ *
+ * Iterating over a date in the UTC timezone avoids bug during backward DST change.
+ *
+ * @see https://bugs.php.net/bug.php?id=72255
+ * @see https://bugs.php.net/bug.php?id=74274
+ * @see https://wiki.php.net/rfc/datetime_and_daylight_saving_time
+ *
+ * @throws RuntimeException
+ *
+ * @return void
+ */
+ #[ReturnTypeWillChange]
+ public function rewind()
+ {
+ $this->key = 0;
+ $this->current = ([$this->dateClass, 'make'])($this->startDate);
+ $settings = $this->getSettings();
+
+ if ($this->hasLocalTranslator()) {
+ $settings['locale'] = $this->getTranslatorLocale();
+ }
+
+ $this->current->settings($settings);
+ $this->timezone = static::intervalHasTime($this->dateInterval) ? $this->current->getTimezone() : null;
+
+ if ($this->timezone) {
+ $this->current = $this->current->utc();
+ }
+
+ $this->validationResult = null;
+
+ if ($this->isStartExcluded() || $this->validateCurrentDate() === false) {
+ $this->incrementCurrentDateUntilValid();
+ }
+ }
+
+ /**
+ * Skip iterations and returns iteration state (false if ended, true if still valid).
+ *
+ * @param int $count steps number to skip (1 by default)
+ *
+ * @return bool
+ */
+ public function skip($count = 1)
+ {
+ for ($i = $count; $this->valid() && $i > 0; $i--) {
+ $this->next();
+ }
+
+ return $this->valid();
+ }
+
+ /**
+ * Format the date period as ISO 8601.
+ *
+ * @return string
+ */
+ public function toIso8601String()
+ {
+ $parts = [];
+
+ if ($this->recurrences !== null) {
+ $parts[] = 'R'.$this->recurrences;
+ }
+
+ $parts[] = $this->startDate->toIso8601String();
+
+ $parts[] = $this->dateInterval->spec();
+
+ if ($this->endDate !== null) {
+ $parts[] = $this->endDate->toIso8601String();
+ }
+
+ return implode('/', $parts);
+ }
+
+ /**
+ * Convert the date period into a string.
+ *
+ * @return string
+ */
+ public function toString()
+ {
+ $format = $this->localToStringFormat ?? static::$toStringFormat;
+
+ if ($format instanceof Closure) {
+ return $format($this);
+ }
+
+ $translator = ([$this->dateClass, 'getTranslator'])();
+
+ $parts = [];
+
+ $format = $format ?? (
+ !$this->startDate->isStartOfDay() || ($this->endDate && !$this->endDate->isStartOfDay())
+ ? 'Y-m-d H:i:s'
+ : 'Y-m-d'
+ );
+
+ if ($this->recurrences !== null) {
+ $parts[] = $this->translate('period_recurrences', [], $this->recurrences, $translator);
+ }
+
+ $parts[] = $this->translate('period_interval', [':interval' => $this->dateInterval->forHumans([
+ 'join' => true,
+ ])], null, $translator);
+
+ $parts[] = $this->translate('period_start_date', [':date' => $this->startDate->rawFormat($format)], null, $translator);
+
+ if ($this->endDate !== null) {
+ $parts[] = $this->translate('period_end_date', [':date' => $this->endDate->rawFormat($format)], null, $translator);
+ }
+
+ $result = implode(' ', $parts);
+
+ return mb_strtoupper(mb_substr($result, 0, 1)).mb_substr($result, 1);
+ }
+
+ /**
+ * Format the date period as ISO 8601.
+ *
+ * @return string
+ */
+ public function spec()
+ {
+ return $this->toIso8601String();
+ }
+
+ /**
+ * Cast the current instance into the given class.
+ *
+ * @param string $className The $className::instance() method will be called to cast the current object.
+ *
+ * @return DatePeriod
+ */
+ public function cast(string $className)
+ {
+ if (!method_exists($className, 'instance')) {
+ if (is_a($className, DatePeriod::class, true)) {
+ return new $className(
+ $this->rawDate($this->getStartDate()),
+ $this->getDateInterval(),
+ $this->getEndDate() ? $this->rawDate($this->getIncludedEndDate()) : $this->getRecurrences(),
+ $this->isStartExcluded() ? DatePeriod::EXCLUDE_START_DATE : 0
+ );
+ }
+
+ throw new InvalidCastException("$className has not the instance() method needed to cast the date.");
+ }
+
+ return $className::instance($this);
+ }
+
+ /**
+ * Return native DatePeriod PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(CarbonPeriod::create('2021-01-05', '2021-02-15')->toDatePeriod());
+ * ```
+ *
+ * @return DatePeriod
+ */
+ public function toDatePeriod()
+ {
+ return $this->cast(DatePeriod::class);
+ }
+
+ /**
+ * Return `true` if the period has no custom filter and is guaranteed to be endless.
+ *
+ * Note that we can't check if a period is endless as soon as it has custom filters
+ * because filters can emit `CarbonPeriod::END_ITERATION` to stop the iteration in
+ * a way we can't predict without actually iterating the period.
+ */
+ public function isUnfilteredAndEndLess(): bool
+ {
+ foreach ($this->filters as $filter) {
+ switch ($filter) {
+ case [static::RECURRENCES_FILTER, null]:
+ if ($this->recurrences !== null && is_finite($this->recurrences)) {
+ return false;
+ }
+
+ break;
+
+ case [static::END_DATE_FILTER, null]:
+ if ($this->endDate !== null && !$this->endDate->isEndOfTime()) {
+ return false;
+ }
+
+ break;
+
+ default:
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Convert the date period into an array without changing current iteration state.
+ *
+ * @return CarbonInterface[]
+ */
+ public function toArray()
+ {
+ if ($this->isUnfilteredAndEndLess()) {
+ throw new EndLessPeriodException("Endless period can't be converted to array nor counted.");
+ }
+
+ $state = [
+ $this->key,
+ $this->current ? $this->current->avoidMutation() : null,
+ $this->validationResult,
+ ];
+
+ $result = iterator_to_array($this);
+
+ [$this->key, $this->current, $this->validationResult] = $state;
+
+ return $result;
+ }
+
+ /**
+ * Count dates in the date period.
+ *
+ * @return int
+ */
+ #[ReturnTypeWillChange]
+ public function count()
+ {
+ return \count($this->toArray());
+ }
+
+ /**
+ * Return the first date in the date period.
+ *
+ * @return CarbonInterface|null
+ */
+ public function first()
+ {
+ if ($this->isUnfilteredAndEndLess()) {
+ foreach ($this as $date) {
+ $this->rewind();
+
+ return $date;
+ }
+
+ return null;
+ }
+
+ return ($this->toArray() ?: [])[0] ?? null;
+ }
+
+ /**
+ * Return the last date in the date period.
+ *
+ * @return CarbonInterface|null
+ */
+ public function last()
+ {
+ $array = $this->toArray();
+
+ return $array ? $array[\count($array) - 1] : null;
+ }
+
+ /**
+ * Convert the date period into a string.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->toString();
+ }
+
+ /**
+ * Add aliases for setters.
+ *
+ * CarbonPeriod::days(3)->hours(5)->invert()
+ * ->sinceNow()->until('2010-01-10')
+ * ->filter(...)
+ * ->count()
+ *
+ * Note: We use magic method to let static and instance aliases with the same names.
+ *
+ * @param string $method
+ * @param array $parameters
+ *
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ if (static::hasMacro($method)) {
+ return static::bindMacroContext($this, function () use (&$method, &$parameters) {
+ return $this->callMacro($method, $parameters);
+ });
+ }
+
+ $roundedValue = $this->callRoundMethod($method, $parameters);
+
+ if ($roundedValue !== null) {
+ return $roundedValue;
+ }
+
+ switch ($method) {
+ case 'start':
+ case 'since':
+ self::setDefaultParameters($parameters, [
+ [0, 'date', null],
+ ]);
+
+ return $this->setStartDate(...$parameters);
+
+ case 'sinceNow':
+ return $this->setStartDate(new Carbon(), ...$parameters);
+
+ case 'end':
+ case 'until':
+ self::setDefaultParameters($parameters, [
+ [0, 'date', null],
+ ]);
+
+ return $this->setEndDate(...$parameters);
+
+ case 'untilNow':
+ return $this->setEndDate(new Carbon(), ...$parameters);
+
+ case 'dates':
+ case 'between':
+ self::setDefaultParameters($parameters, [
+ [0, 'start', null],
+ [1, 'end', null],
+ ]);
+
+ return $this->setDates(...$parameters);
+
+ case 'recurrences':
+ case 'times':
+ self::setDefaultParameters($parameters, [
+ [0, 'recurrences', null],
+ ]);
+
+ return $this->setRecurrences(...$parameters);
+
+ case 'options':
+ self::setDefaultParameters($parameters, [
+ [0, 'options', null],
+ ]);
+
+ return $this->setOptions(...$parameters);
+
+ case 'toggle':
+ self::setDefaultParameters($parameters, [
+ [0, 'options', null],
+ ]);
+
+ return $this->toggleOptions(...$parameters);
+
+ case 'filter':
+ case 'push':
+ return $this->addFilter(...$parameters);
+
+ case 'prepend':
+ return $this->prependFilter(...$parameters);
+
+ case 'filters':
+ self::setDefaultParameters($parameters, [
+ [0, 'filters', []],
+ ]);
+
+ return $this->setFilters(...$parameters);
+
+ case 'interval':
+ case 'each':
+ case 'every':
+ case 'step':
+ case 'stepBy':
+ return $this->setDateInterval(...$parameters);
+
+ case 'invert':
+ return $this->invertDateInterval();
+
+ case 'years':
+ case 'year':
+ case 'months':
+ case 'month':
+ case 'weeks':
+ case 'week':
+ case 'days':
+ case 'dayz':
+ case 'day':
+ case 'hours':
+ case 'hour':
+ case 'minutes':
+ case 'minute':
+ case 'seconds':
+ case 'second':
+ case 'milliseconds':
+ case 'millisecond':
+ case 'microseconds':
+ case 'microsecond':
+ return $this->setDateInterval((
+ // Override default P1D when instantiating via fluent setters.
+ [$this->isDefaultInterval ? new CarbonInterval('PT0S') : $this->dateInterval, $method]
+ )(...$parameters));
+ }
+
+ if ($this->localStrictModeEnabled ?? Carbon::isStrictModeEnabled()) {
+ throw new UnknownMethodException($method);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Set the instance's timezone from a string or object and apply it to start/end.
+ *
+ * @param \DateTimeZone|string $timezone
+ *
+ * @return static
+ */
+ public function setTimezone($timezone)
+ {
+ $self = $this->copyIfImmutable();
+ $self->tzName = $timezone;
+ $self->timezone = $timezone;
+
+ if ($self->startDate) {
+ $self = $self->setStartDate($self->startDate->setTimezone($timezone));
+ }
+
+ if ($self->endDate) {
+ $self = $self->setEndDate($self->endDate->setTimezone($timezone));
+ }
+
+ return $self;
+ }
+
+ /**
+ * Set the instance's timezone from a string or object and add/subtract the offset difference to start/end.
+ *
+ * @param \DateTimeZone|string $timezone
+ *
+ * @return static
+ */
+ public function shiftTimezone($timezone)
+ {
+ $self = $this->copyIfImmutable();
+ $self->tzName = $timezone;
+ $self->timezone = $timezone;
+
+ if ($self->startDate) {
+ $self = $self->setStartDate($self->startDate->shiftTimezone($timezone));
+ }
+
+ if ($self->endDate) {
+ $self = $self->setEndDate($self->endDate->shiftTimezone($timezone));
+ }
+
+ return $self;
+ }
+
+ /**
+ * Returns the end is set, else calculated from start an recurrences.
+ *
+ * @param string|null $rounding Optional rounding 'floor', 'ceil', 'round' using the period interval.
+ *
+ * @return CarbonInterface
+ */
+ public function calculateEnd(string $rounding = null)
+ {
+ if ($end = $this->getEndDate($rounding)) {
+ return $end;
+ }
+
+ if ($this->dateInterval->isEmpty()) {
+ return $this->getStartDate($rounding);
+ }
+
+ $date = $this->getEndFromRecurrences() ?? $this->iterateUntilEnd();
+
+ if ($date && $rounding) {
+ $date = $date->avoidMutation()->round($this->getDateInterval(), $rounding);
+ }
+
+ return $date;
+ }
+
+ /**
+ * @return CarbonInterface|null
+ */
+ private function getEndFromRecurrences()
+ {
+ if ($this->recurrences === null) {
+ throw new UnreachableException(
+ "Could not calculate period end without either explicit end or recurrences.\n".
+ "If you're looking for a forever-period, use ->setRecurrences(INF)."
+ );
+ }
+
+ if ($this->recurrences === INF) {
+ $start = $this->getStartDate();
+
+ return $start < $start->avoidMutation()->add($this->getDateInterval())
+ ? CarbonImmutable::endOfTime()
+ : CarbonImmutable::startOfTime();
+ }
+
+ if ($this->filters === [[static::RECURRENCES_FILTER, null]]) {
+ return $this->getStartDate()->avoidMutation()->add(
+ $this->getDateInterval()->times(
+ $this->recurrences - ($this->isStartExcluded() ? 0 : 1)
+ )
+ );
+ }
+
+ return null;
+ }
+
+ /**
+ * @return CarbonInterface|null
+ */
+ private function iterateUntilEnd()
+ {
+ $attempts = 0;
+ $date = null;
+
+ foreach ($this as $date) {
+ if (++$attempts > static::END_MAX_ATTEMPTS) {
+ throw new UnreachableException(
+ 'Could not calculate period end after iterating '.static::END_MAX_ATTEMPTS.' times.'
+ );
+ }
+ }
+
+ return $date;
+ }
+
+ /**
+ * Returns true if the current period overlaps the given one (if 1 parameter passed)
+ * or the period between 2 dates (if 2 parameters passed).
+ *
+ * @param CarbonPeriod|\DateTimeInterface|Carbon|CarbonImmutable|string $rangeOrRangeStart
+ * @param \DateTimeInterface|Carbon|CarbonImmutable|string|null $rangeEnd
+ *
+ * @return bool
+ */
+ public function overlaps($rangeOrRangeStart, $rangeEnd = null)
+ {
+ $range = $rangeEnd ? static::create($rangeOrRangeStart, $rangeEnd) : $rangeOrRangeStart;
+
+ if (!($range instanceof self)) {
+ $range = static::create($range);
+ }
+
+ [$start, $end] = $this->orderCouple($this->getStartDate(), $this->calculateEnd());
+ [$rangeStart, $rangeEnd] = $this->orderCouple($range->getStartDate(), $range->calculateEnd());
+
+ return $end > $rangeStart && $rangeEnd > $start;
+ }
+
+ /**
+ * Execute a given function on each date of the period.
+ *
+ * @example
+ * ```
+ * Carbon::create('2020-11-29')->daysUntil('2020-12-24')->forEach(function (Carbon $date) {
+ * echo $date->diffInDays('2020-12-25')." days before Christmas!\n";
+ * });
+ * ```
+ *
+ * @param callable $callback
+ */
+ public function forEach(callable $callback)
+ {
+ foreach ($this as $date) {
+ $callback($date);
+ }
+ }
+
+ /**
+ * Execute a given function on each date of the period and yield the result of this function.
+ *
+ * @example
+ * ```
+ * $period = Carbon::create('2020-11-29')->daysUntil('2020-12-24');
+ * echo implode("\n", iterator_to_array($period->map(function (Carbon $date) {
+ * return $date->diffInDays('2020-12-25').' days before Christmas!';
+ * })));
+ * ```
+ *
+ * @param callable $callback
+ *
+ * @return \Generator
+ */
+ public function map(callable $callback)
+ {
+ foreach ($this as $date) {
+ yield $callback($date);
+ }
+ }
+
+ /**
+ * Determines if the instance is equal to another.
+ * Warning: if options differ, instances wil never be equal.
+ *
+ * @param mixed $period
+ *
+ * @see equalTo()
+ *
+ * @return bool
+ */
+ public function eq($period): bool
+ {
+ return $this->equalTo($period);
+ }
+
+ /**
+ * Determines if the instance is equal to another.
+ * Warning: if options differ, instances wil never be equal.
+ *
+ * @param mixed $period
+ *
+ * @return bool
+ */
+ public function equalTo($period): bool
+ {
+ if (!($period instanceof self)) {
+ $period = self::make($period);
+ }
+
+ $end = $this->getEndDate();
+
+ return $period !== null
+ && $this->getDateInterval()->eq($period->getDateInterval())
+ && $this->getStartDate()->eq($period->getStartDate())
+ && ($end ? $end->eq($period->getEndDate()) : $this->getRecurrences() === $period->getRecurrences())
+ && ($this->getOptions() & (~static::IMMUTABLE)) === ($period->getOptions() & (~static::IMMUTABLE));
+ }
+
+ /**
+ * Determines if the instance is not equal to another.
+ * Warning: if options differ, instances wil never be equal.
+ *
+ * @param mixed $period
+ *
+ * @see notEqualTo()
+ *
+ * @return bool
+ */
+ public function ne($period): bool
+ {
+ return $this->notEqualTo($period);
+ }
+
+ /**
+ * Determines if the instance is not equal to another.
+ * Warning: if options differ, instances wil never be equal.
+ *
+ * @param mixed $period
+ *
+ * @return bool
+ */
+ public function notEqualTo($period): bool
+ {
+ return !$this->eq($period);
+ }
+
+ /**
+ * Determines if the start date is before an other given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function startsBefore($date = null): bool
+ {
+ return $this->getStartDate()->lessThan($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the start date is before or the same as a given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function startsBeforeOrAt($date = null): bool
+ {
+ return $this->getStartDate()->lessThanOrEqualTo($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the start date is after an other given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function startsAfter($date = null): bool
+ {
+ return $this->getStartDate()->greaterThan($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the start date is after or the same as a given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function startsAfterOrAt($date = null): bool
+ {
+ return $this->getStartDate()->greaterThanOrEqualTo($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the start date is the same as a given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function startsAt($date = null): bool
+ {
+ return $this->getStartDate()->equalTo($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the end date is before an other given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function endsBefore($date = null): bool
+ {
+ return $this->calculateEnd()->lessThan($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the end date is before or the same as a given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function endsBeforeOrAt($date = null): bool
+ {
+ return $this->calculateEnd()->lessThanOrEqualTo($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the end date is after an other given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function endsAfter($date = null): bool
+ {
+ return $this->calculateEnd()->greaterThan($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the end date is after or the same as a given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function endsAfterOrAt($date = null): bool
+ {
+ return $this->calculateEnd()->greaterThanOrEqualTo($this->resolveCarbon($date));
+ }
+
+ /**
+ * Determines if the end date is the same as a given date.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @param mixed $date
+ *
+ * @return bool
+ */
+ public function endsAt($date = null): bool
+ {
+ return $this->calculateEnd()->equalTo($this->resolveCarbon($date));
+ }
+
+ /**
+ * Return true if start date is now or later.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @return bool
+ */
+ public function isStarted(): bool
+ {
+ return $this->startsBeforeOrAt();
+ }
+
+ /**
+ * Return true if end date is now or later.
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @return bool
+ */
+ public function isEnded(): bool
+ {
+ return $this->endsBeforeOrAt();
+ }
+
+ /**
+ * Return true if now is between start date (included) and end date (excluded).
+ * (Rather start/end are included by options is ignored.)
+ *
+ * @return bool
+ */
+ public function isInProgress(): bool
+ {
+ return $this->isStarted() && !$this->isEnded();
+ }
+
+ /**
+ * Round the current instance at the given unit with given precision if specified and the given function.
+ *
+ * @param string $unit
+ * @param float|int|string|\DateInterval|null $precision
+ * @param string $function
+ *
+ * @return static
+ */
+ public function roundUnit($unit, $precision = 1, $function = 'round')
+ {
+ $self = $this->copyIfImmutable();
+ $self = $self->setStartDate($self->getStartDate()->roundUnit($unit, $precision, $function));
+
+ if ($self->endDate) {
+ $self = $self->setEndDate($self->getEndDate()->roundUnit($unit, $precision, $function));
+ }
+
+ return $self->setDateInterval($self->getDateInterval()->roundUnit($unit, $precision, $function));
+ }
+
+ /**
+ * Truncate the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return static
+ */
+ public function floorUnit($unit, $precision = 1)
+ {
+ return $this->roundUnit($unit, $precision, 'floor');
+ }
+
+ /**
+ * Ceil the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return static
+ */
+ public function ceilUnit($unit, $precision = 1)
+ {
+ return $this->roundUnit($unit, $precision, 'ceil');
+ }
+
+ /**
+ * Round the current instance second with given precision if specified (else period interval is used).
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ * @param string $function
+ *
+ * @return static
+ */
+ public function round($precision = null, $function = 'round')
+ {
+ return $this->roundWith(
+ $precision ?? $this->getDateInterval()->setLocalTranslator(TranslatorImmutable::get('en'))->forHumans(),
+ $function
+ );
+ }
+
+ /**
+ * Round the current instance second with given precision if specified (else period interval is used).
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return static
+ */
+ public function floor($precision = null)
+ {
+ return $this->round($precision, 'floor');
+ }
+
+ /**
+ * Ceil the current instance second with given precision if specified (else period interval is used).
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return static
+ */
+ public function ceil($precision = null)
+ {
+ return $this->round($precision, 'ceil');
+ }
+
+ /**
+ * Specify data which should be serialized to JSON.
+ *
+ * @link https://php.net/manual/en/jsonserializable.jsonserialize.php
+ *
+ * @return CarbonInterface[]
+ */
+ #[ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->toArray();
+ }
+
+ /**
+ * Return true if the given date is between start and end.
+ *
+ * @param \Carbon\Carbon|\Carbon\CarbonPeriod|\Carbon\CarbonInterval|\DateInterval|\DatePeriod|\DateTimeInterface|string|null $date
+ *
+ * @return bool
+ */
+ public function contains($date = null): bool
+ {
+ $startMethod = 'startsBefore'.($this->isStartIncluded() ? 'OrAt' : '');
+ $endMethod = 'endsAfter'.($this->isEndIncluded() ? 'OrAt' : '');
+
+ return $this->$startMethod($date) && $this->$endMethod($date);
+ }
+
+ /**
+ * Return true if the current period follows a given other period (with no overlap).
+ * For instance, [2019-08-01 -> 2019-08-12] follows [2019-07-29 -> 2019-07-31]
+ * Note than in this example, follows() would be false if 2019-08-01 or 2019-07-31 was excluded by options.
+ *
+ * @param \Carbon\CarbonPeriod|\DatePeriod|string $period
+ *
+ * @return bool
+ */
+ public function follows($period, ...$arguments): bool
+ {
+ $period = $this->resolveCarbonPeriod($period, ...$arguments);
+
+ return $this->getIncludedStartDate()->equalTo($period->getIncludedEndDate()->add($period->getDateInterval()));
+ }
+
+ /**
+ * Return true if the given other period follows the current one (with no overlap).
+ * For instance, [2019-07-29 -> 2019-07-31] is followed by [2019-08-01 -> 2019-08-12]
+ * Note than in this example, isFollowedBy() would be false if 2019-08-01 or 2019-07-31 was excluded by options.
+ *
+ * @param \Carbon\CarbonPeriod|\DatePeriod|string $period
+ *
+ * @return bool
+ */
+ public function isFollowedBy($period, ...$arguments): bool
+ {
+ $period = $this->resolveCarbonPeriod($period, ...$arguments);
+
+ return $period->follows($this);
+ }
+
+ /**
+ * Return true if the given period either follows or is followed by the current one.
+ *
+ * @see follows()
+ * @see isFollowedBy()
+ *
+ * @param \Carbon\CarbonPeriod|\DatePeriod|string $period
+ *
+ * @return bool
+ */
+ public function isConsecutiveWith($period, ...$arguments): bool
+ {
+ return $this->follows($period, ...$arguments) || $this->isFollowedBy($period, ...$arguments);
+ }
+
+ /**
+ * Update properties after removing built-in filters.
+ *
+ * @return void
+ */
+ protected function updateInternalState()
+ {
+ if (!$this->hasFilter(static::END_DATE_FILTER)) {
+ $this->endDate = null;
+ }
+
+ if (!$this->hasFilter(static::RECURRENCES_FILTER)) {
+ $this->recurrences = null;
+ }
+ }
+
+ /**
+ * Create a filter tuple from raw parameters.
+ *
+ * Will create an automatic filter callback for one of Carbon's is* methods.
+ *
+ * @param array $parameters
+ *
+ * @return array
+ */
+ protected function createFilterTuple(array $parameters)
+ {
+ $method = array_shift($parameters);
+
+ if (!$this->isCarbonPredicateMethod($method)) {
+ return [$method, array_shift($parameters)];
+ }
+
+ return [function ($date) use ($method, $parameters) {
+ return ([$date, $method])(...$parameters);
+ }, $method];
+ }
+
+ /**
+ * Return whether given callable is a string pointing to one of Carbon's is* methods
+ * and should be automatically converted to a filter callback.
+ *
+ * @param callable $callable
+ *
+ * @return bool
+ */
+ protected function isCarbonPredicateMethod($callable)
+ {
+ return \is_string($callable) && str_starts_with($callable, 'is') &&
+ (method_exists($this->dateClass, $callable) || ([$this->dateClass, 'hasMacro'])($callable));
+ }
+
+ /**
+ * Recurrences filter callback (limits number of recurrences).
+ *
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ *
+ * @param \Carbon\Carbon $current
+ * @param int $key
+ *
+ * @return bool|string
+ */
+ protected function filterRecurrences($current, $key)
+ {
+ if ($key < $this->recurrences) {
+ return true;
+ }
+
+ return static::END_ITERATION;
+ }
+
+ /**
+ * End date filter callback.
+ *
+ * @param \Carbon\Carbon $current
+ *
+ * @return bool|string
+ */
+ protected function filterEndDate($current)
+ {
+ if (!$this->isEndExcluded() && $current == $this->endDate) {
+ return true;
+ }
+
+ if ($this->dateInterval->invert ? $current > $this->endDate : $current < $this->endDate) {
+ return true;
+ }
+
+ return static::END_ITERATION;
+ }
+
+ /**
+ * End iteration filter callback.
+ *
+ * @return string
+ */
+ protected function endIteration()
+ {
+ return static::END_ITERATION;
+ }
+
+ /**
+ * Handle change of the parameters.
+ */
+ protected function handleChangedParameters()
+ {
+ if (($this->getOptions() & static::IMMUTABLE) && $this->dateClass === Carbon::class) {
+ $this->dateClass = CarbonImmutable::class;
+ } elseif (!($this->getOptions() & static::IMMUTABLE) && $this->dateClass === CarbonImmutable::class) {
+ $this->dateClass = Carbon::class;
+ }
+
+ $this->validationResult = null;
+ }
+
+ /**
+ * Validate current date and stop iteration when necessary.
+ *
+ * Returns true when current date is valid, false if it is not, or static::END_ITERATION
+ * when iteration should be stopped.
+ *
+ * @return bool|string
+ */
+ protected function validateCurrentDate()
+ {
+ if ($this->current === null) {
+ $this->rewind();
+ }
+
+ // Check after the first rewind to avoid repeating the initial validation.
+ return $this->validationResult ?? ($this->validationResult = $this->checkFilters());
+ }
+
+ /**
+ * Check whether current value and key pass all the filters.
+ *
+ * @return bool|string
+ */
+ protected function checkFilters()
+ {
+ $current = $this->prepareForReturn($this->current);
+
+ foreach ($this->filters as $tuple) {
+ $result = \call_user_func(
+ $tuple[0],
+ $current->avoidMutation(),
+ $this->key,
+ $this
+ );
+
+ if ($result === static::END_ITERATION) {
+ return static::END_ITERATION;
+ }
+
+ if (!$result) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Prepare given date to be returned to the external logic.
+ *
+ * @param CarbonInterface $date
+ *
+ * @return CarbonInterface
+ */
+ protected function prepareForReturn(CarbonInterface $date)
+ {
+ $date = ([$this->dateClass, 'make'])($date);
+
+ if ($this->timezone) {
+ $date = $date->setTimezone($this->timezone);
+ }
+
+ return $date;
+ }
+
+ /**
+ * Keep incrementing the current date until a valid date is found or the iteration is ended.
+ *
+ * @throws RuntimeException
+ *
+ * @return void
+ */
+ protected function incrementCurrentDateUntilValid()
+ {
+ $attempts = 0;
+
+ do {
+ $this->current = $this->current->add($this->dateInterval);
+
+ $this->validationResult = null;
+
+ if (++$attempts > static::NEXT_MAX_ATTEMPTS) {
+ throw new UnreachableException('Could not find next valid date.');
+ }
+ } while ($this->validateCurrentDate() === false);
+ }
+
+ /**
+ * Call given macro.
+ *
+ * @param string $name
+ * @param array $parameters
+ *
+ * @return mixed
+ */
+ protected function callMacro($name, $parameters)
+ {
+ $macro = static::$macros[$name];
+
+ if ($macro instanceof Closure) {
+ $boundMacro = @$macro->bindTo($this, static::class) ?: @$macro->bindTo(null, static::class);
+
+ return ($boundMacro ?: $macro)(...$parameters);
+ }
+
+ return $macro(...$parameters);
+ }
+
+ /**
+ * Return the Carbon instance passed through, a now instance in the same timezone
+ * if null given or parse the input if string given.
+ *
+ * @param \Carbon\Carbon|\Carbon\CarbonPeriod|\Carbon\CarbonInterval|\DateInterval|\DatePeriod|\DateTimeInterface|string|null $date
+ *
+ * @return \Carbon\CarbonInterface
+ */
+ protected function resolveCarbon($date = null)
+ {
+ return $this->getStartDate()->nowWithSameTz()->carbonize($date);
+ }
+
+ /**
+ * Resolve passed arguments or DatePeriod to a CarbonPeriod object.
+ *
+ * @param mixed $period
+ * @param mixed ...$arguments
+ *
+ * @return static
+ */
+ protected function resolveCarbonPeriod($period, ...$arguments)
+ {
+ if ($period instanceof self) {
+ return $period;
+ }
+
+ return $period instanceof DatePeriod
+ ? static::instance($period)
+ : static::create($period, ...$arguments);
+ }
+
+ private function orderCouple($first, $second): array
+ {
+ return $first > $second ? [$second, $first] : [$first, $second];
+ }
+
+ private function makeDateTime($value): ?DateTimeInterface
+ {
+ if ($value instanceof DateTimeInterface) {
+ return $value;
+ }
+
+ if (\is_string($value)) {
+ $value = trim($value);
+
+ if (!preg_match('/^P[\dT]/', $value) &&
+ !preg_match('/^R\d/', $value) &&
+ preg_match('/[a-z\d]/i', $value)
+ ) {
+ return Carbon::parse($value, $this->tzName);
+ }
+ }
+
+ return null;
+ }
+
+ private function isInfiniteDate($date): bool
+ {
+ return $date instanceof CarbonInterface && ($date->isEndOfTime() || $date->isStartOfTime());
+ }
+
+ private function rawDate($date): ?DateTimeInterface
+ {
+ if ($date === false || $date === null) {
+ return null;
+ }
+
+ if ($date instanceof CarbonInterface) {
+ return $date->isMutable()
+ ? $date->toDateTime()
+ : $date->toDateTimeImmutable();
+ }
+
+ if (\in_array(\get_class($date), [DateTime::class, DateTimeImmutable::class], true)) {
+ return $date;
+ }
+
+ $class = $date instanceof DateTime ? DateTime::class : DateTimeImmutable::class;
+
+ return new $class($date->format('Y-m-d H:i:s.u'), $date->getTimezone());
+ }
+
+ private static function setDefaultParameters(array &$parameters, array $defaults): void
+ {
+ foreach ($defaults as [$index, $name, $value]) {
+ if (!\array_key_exists($index, $parameters) && !\array_key_exists($name, $parameters)) {
+ $parameters[$index] = $value;
+ }
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonPeriodImmutable.php b/vendor/nesbot/carbon/src/Carbon/CarbonPeriodImmutable.php
new file mode 100644
index 0000000..cda0733
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonPeriodImmutable.php
@@ -0,0 +1,33 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+class CarbonPeriodImmutable extends CarbonPeriod
+{
+ /**
+ * Date class of iteration items.
+ *
+ * @var string
+ */
+ protected $dateClass = CarbonImmutable::class;
+
+ /**
+ * Prepare the instance to be set (self if mutable to be mutated,
+ * copy if immutable to generate a new instance).
+ *
+ * @return static
+ */
+ protected function copyIfImmutable()
+ {
+ return $this->constructed ? clone $this : $this;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php b/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
new file mode 100644
index 0000000..c81899f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
@@ -0,0 +1,320 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\Exceptions\InvalidCastException;
+use Carbon\Exceptions\InvalidTimeZoneException;
+use DateTimeInterface;
+use DateTimeZone;
+use Throwable;
+
+class CarbonTimeZone extends DateTimeZone
+{
+ public function __construct($timezone = null)
+ {
+ parent::__construct(static::getDateTimeZoneNameFromMixed($timezone));
+ }
+
+ protected static function parseNumericTimezone($timezone)
+ {
+ if ($timezone <= -100 || $timezone >= 100) {
+ throw new InvalidTimeZoneException('Absolute timezone offset cannot be greater than 100.');
+ }
+
+ return ($timezone >= 0 ? '+' : '').ltrim($timezone, '+').':00';
+ }
+
+ protected static function getDateTimeZoneNameFromMixed($timezone)
+ {
+ if ($timezone === null) {
+ return date_default_timezone_get();
+ }
+
+ if (\is_string($timezone)) {
+ $timezone = preg_replace('/^\s*([+-]\d+)(\d{2})\s*$/', '$1:$2', $timezone);
+ }
+
+ if (is_numeric($timezone)) {
+ return static::parseNumericTimezone($timezone);
+ }
+
+ return $timezone;
+ }
+
+ protected static function getDateTimeZoneFromName(&$name)
+ {
+ return @timezone_open($name = (string) static::getDateTimeZoneNameFromMixed($name));
+ }
+
+ /**
+ * Cast the current instance into the given class.
+ *
+ * @param string $className The $className::instance() method will be called to cast the current object.
+ *
+ * @return DateTimeZone
+ */
+ public function cast(string $className)
+ {
+ if (!method_exists($className, 'instance')) {
+ if (is_a($className, DateTimeZone::class, true)) {
+ return new $className($this->getName());
+ }
+
+ throw new InvalidCastException("$className has not the instance() method needed to cast the date.");
+ }
+
+ return $className::instance($this);
+ }
+
+ /**
+ * Create a CarbonTimeZone from mixed input.
+ *
+ * @param DateTimeZone|string|int|null $object original value to get CarbonTimeZone from it.
+ * @param DateTimeZone|string|int|null $objectDump dump of the object for error messages.
+ *
+ * @throws InvalidTimeZoneException
+ *
+ * @return false|static
+ */
+ public static function instance($object = null, $objectDump = null)
+ {
+ $tz = $object;
+
+ if ($tz instanceof static) {
+ return $tz;
+ }
+
+ if ($tz === null) {
+ return new static();
+ }
+
+ if (!$tz instanceof DateTimeZone) {
+ $tz = static::getDateTimeZoneFromName($object);
+ }
+
+ if ($tz !== false) {
+ return new static($tz->getName());
+ }
+
+ if (Carbon::isStrictModeEnabled()) {
+ throw new InvalidTimeZoneException('Unknown or bad timezone ('.($objectDump ?: $object).')');
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns abbreviated name of the current timezone according to DST setting.
+ *
+ * @param bool $dst
+ *
+ * @return string
+ */
+ public function getAbbreviatedName($dst = false)
+ {
+ $name = $this->getName();
+
+ foreach ($this->listAbbreviations() as $abbreviation => $zones) {
+ foreach ($zones as $zone) {
+ if ($zone['timezone_id'] === $name && $zone['dst'] == $dst) {
+ return $abbreviation;
+ }
+ }
+ }
+
+ return 'unknown';
+ }
+
+ /**
+ * @alias getAbbreviatedName
+ *
+ * Returns abbreviated name of the current timezone according to DST setting.
+ *
+ * @param bool $dst
+ *
+ * @return string
+ */
+ public function getAbbr($dst = false)
+ {
+ return $this->getAbbreviatedName($dst);
+ }
+
+ /**
+ * Get the offset as string "sHH:MM" (such as "+00:00" or "-12:30").
+ *
+ * @param DateTimeInterface|null $date
+ *
+ * @return string
+ */
+ public function toOffsetName(DateTimeInterface $date = null)
+ {
+ return static::getOffsetNameFromMinuteOffset(
+ $this->getOffset($date ?: Carbon::now($this)) / 60
+ );
+ }
+
+ /**
+ * Returns a new CarbonTimeZone object using the offset string instead of region string.
+ *
+ * @param DateTimeInterface|null $date
+ *
+ * @return CarbonTimeZone
+ */
+ public function toOffsetTimeZone(DateTimeInterface $date = null)
+ {
+ return new static($this->toOffsetName($date));
+ }
+
+ /**
+ * Returns the first region string (such as "America/Toronto") that matches the current timezone or
+ * false if no match is found.
+ *
+ * @see timezone_name_from_abbr native PHP function.
+ *
+ * @param DateTimeInterface|null $date
+ * @param int $isDst
+ *
+ * @return string|false
+ */
+ public function toRegionName(DateTimeInterface $date = null, $isDst = 1)
+ {
+ $name = $this->getName();
+ $firstChar = substr($name, 0, 1);
+
+ if ($firstChar !== '+' && $firstChar !== '-') {
+ return $name;
+ }
+
+ $date = $date ?: Carbon::now($this);
+
+ // Integer construction no longer supported since PHP 8
+ // @codeCoverageIgnoreStart
+ try {
+ $offset = @$this->getOffset($date) ?: 0;
+ } catch (Throwable $e) {
+ $offset = 0;
+ }
+ // @codeCoverageIgnoreEnd
+
+ $name = @timezone_name_from_abbr('', $offset, $isDst);
+
+ if ($name) {
+ return $name;
+ }
+
+ foreach (timezone_identifiers_list() as $timezone) {
+ if (Carbon::instance($date)->tz($timezone)->getOffset() === $offset) {
+ return $timezone;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns a new CarbonTimeZone object using the region string instead of offset string.
+ *
+ * @param DateTimeInterface|null $date
+ *
+ * @return CarbonTimeZone|false
+ */
+ public function toRegionTimeZone(DateTimeInterface $date = null)
+ {
+ $tz = $this->toRegionName($date);
+
+ if ($tz !== false) {
+ return new static($tz);
+ }
+
+ if (Carbon::isStrictModeEnabled()) {
+ throw new InvalidTimeZoneException('Unknown timezone for offset '.$this->getOffset($date ?: Carbon::now($this)).' seconds.');
+ }
+
+ return false;
+ }
+
+ /**
+ * Cast to string (get timezone name).
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->getName();
+ }
+
+ /**
+ * Return the type number:
+ *
+ * Type 1; A UTC offset, such as -0300
+ * Type 2; A timezone abbreviation, such as GMT
+ * Type 3: A timezone identifier, such as Europe/London
+ */
+ public function getType(): int
+ {
+ return preg_match('/"timezone_type";i:(\d)/', serialize($this), $match) ? (int) $match[1] : 3;
+ }
+
+ /**
+ * Create a CarbonTimeZone from mixed input.
+ *
+ * @param DateTimeZone|string|int|null $object
+ *
+ * @return false|static
+ */
+ public static function create($object = null)
+ {
+ return static::instance($object);
+ }
+
+ /**
+ * Create a CarbonTimeZone from int/float hour offset.
+ *
+ * @param float $hourOffset number of hour of the timezone shift (can be decimal).
+ *
+ * @return false|static
+ */
+ public static function createFromHourOffset(float $hourOffset)
+ {
+ return static::createFromMinuteOffset($hourOffset * Carbon::MINUTES_PER_HOUR);
+ }
+
+ /**
+ * Create a CarbonTimeZone from int/float minute offset.
+ *
+ * @param float $minuteOffset number of total minutes of the timezone shift.
+ *
+ * @return false|static
+ */
+ public static function createFromMinuteOffset(float $minuteOffset)
+ {
+ return static::instance(static::getOffsetNameFromMinuteOffset($minuteOffset));
+ }
+
+ /**
+ * Convert a total minutes offset into a standardized timezone offset string.
+ *
+ * @param float $minutes number of total minutes of the timezone shift.
+ *
+ * @return string
+ */
+ public static function getOffsetNameFromMinuteOffset(float $minutes): string
+ {
+ $minutes = round($minutes);
+ $unsignedMinutes = abs($minutes);
+
+ return ($minutes < 0 ? '-' : '+').
+ str_pad((string) floor($unsignedMinutes / 60), 2, '0', STR_PAD_LEFT).
+ ':'.
+ str_pad((string) ($unsignedMinutes % 60), 2, '0', STR_PAD_LEFT);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php b/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
new file mode 100644
index 0000000..4f35d6c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
@@ -0,0 +1,38 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Cli;
+
+class Invoker
+{
+ public const CLI_CLASS_NAME = 'Carbon\\Cli';
+
+ protected function runWithCli(string $className, array $parameters): bool
+ {
+ $cli = new $className();
+
+ return $cli(...$parameters);
+ }
+
+ public function __invoke(...$parameters): bool
+ {
+ if (class_exists(self::CLI_CLASS_NAME)) {
+ return $this->runWithCli(self::CLI_CLASS_NAME, $parameters);
+ }
+
+ $function = (($parameters[1] ?? '') === 'install' ? ($parameters[2] ?? null) : null) ?: 'shell_exec';
+ $function('composer require carbon-cli/carbon-cli --no-interaction');
+
+ echo 'Installation succeeded.';
+
+ return true;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php
new file mode 100644
index 0000000..ccc457f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php
@@ -0,0 +1,23 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Doctrine;
+
+use Doctrine\DBAL\Platforms\AbstractPlatform;
+
+interface CarbonDoctrineType
+{
+ public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform);
+
+ public function convertToPHPValue($value, AbstractPlatform $platform);
+
+ public function convertToDatabaseValue($value, AbstractPlatform $platform);
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
new file mode 100644
index 0000000..bf476a7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
@@ -0,0 +1,37 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Doctrine;
+
+use Doctrine\DBAL\Platforms\AbstractPlatform;
+
+class CarbonImmutableType extends DateTimeImmutableType implements CarbonDoctrineType
+{
+ /**
+ * {@inheritdoc}
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return 'carbon_immutable';
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return bool
+ */
+ public function requiresSQLCommentHint(AbstractPlatform $platform)
+ {
+ return true;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
new file mode 100644
index 0000000..9289d84
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
@@ -0,0 +1,37 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Doctrine;
+
+use Doctrine\DBAL\Platforms\AbstractPlatform;
+
+class CarbonType extends DateTimeType implements CarbonDoctrineType
+{
+ /**
+ * {@inheritdoc}
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return 'carbon';
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return bool
+ */
+ public function requiresSQLCommentHint(AbstractPlatform $platform)
+ {
+ return true;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php
new file mode 100644
index 0000000..ecfe17e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php
@@ -0,0 +1,123 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Doctrine;
+
+use Carbon\Carbon;
+use Carbon\CarbonInterface;
+use DateTimeInterface;
+use Doctrine\DBAL\Platforms\AbstractPlatform;
+use Doctrine\DBAL\Types\ConversionException;
+use Exception;
+
+/**
+ * @template T of CarbonInterface
+ */
+trait CarbonTypeConverter
+{
+ /**
+ * @return class-string
+ */
+ protected function getCarbonClassName(): string
+ {
+ return Carbon::class;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
+ {
+ $precision = $fieldDeclaration['precision'] ?: 10;
+
+ if ($fieldDeclaration['secondPrecision'] ?? false) {
+ $precision = 0;
+ }
+
+ if ($precision === 10) {
+ $precision = DateTimeDefaultPrecision::get();
+ }
+
+ $type = parent::getSQLDeclaration($fieldDeclaration, $platform);
+
+ if (!$precision) {
+ return $type;
+ }
+
+ if (str_contains($type, '(')) {
+ return preg_replace('/\(\d+\)/', "($precision)", $type);
+ }
+
+ [$before, $after] = explode(' ', "$type ");
+
+ return trim("$before($precision) $after");
+ }
+
+ /**
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ *
+ * @return T|null
+ */
+ public function convertToPHPValue($value, AbstractPlatform $platform)
+ {
+ $class = $this->getCarbonClassName();
+
+ if ($value === null || is_a($value, $class)) {
+ return $value;
+ }
+
+ if ($value instanceof DateTimeInterface) {
+ return $class::instance($value);
+ }
+
+ $date = null;
+ $error = null;
+
+ try {
+ $date = $class::parse($value);
+ } catch (Exception $exception) {
+ $error = $exception;
+ }
+
+ if (!$date) {
+ throw ConversionException::conversionFailedFormat(
+ $value,
+ $this->getName(),
+ 'Y-m-d H:i:s.u or any format supported by '.$class.'::parse()',
+ $error
+ );
+ }
+
+ return $date;
+ }
+
+ /**
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ *
+ * @return string|null
+ */
+ public function convertToDatabaseValue($value, AbstractPlatform $platform)
+ {
+ if ($value === null) {
+ return $value;
+ }
+
+ if ($value instanceof DateTimeInterface) {
+ return $value->format('Y-m-d H:i:s.u');
+ }
+
+ throw ConversionException::conversionFailedInvalidType(
+ $value,
+ $this->getName(),
+ ['null', 'DateTime', 'Carbon']
+ );
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
new file mode 100644
index 0000000..642fd41
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
@@ -0,0 +1,37 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Doctrine;
+
+class DateTimeDefaultPrecision
+{
+ private static $precision = 6;
+
+ /**
+ * Change the default Doctrine datetime and datetime_immutable precision.
+ *
+ * @param int $precision
+ */
+ public static function set(int $precision): void
+ {
+ self::$precision = $precision;
+ }
+
+ /**
+ * Get the default Doctrine datetime and datetime_immutable precision.
+ *
+ * @return int
+ */
+ public static function get(): int
+ {
+ return self::$precision;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php
new file mode 100644
index 0000000..4992710
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php
@@ -0,0 +1,24 @@
+ */
+ use CarbonTypeConverter;
+
+ /**
+ * @return class-string
+ */
+ protected function getCarbonClassName(): string
+ {
+ return CarbonImmutable::class;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php
new file mode 100644
index 0000000..29b0bb9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php
@@ -0,0 +1,16 @@
+ */
+ use CarbonTypeConverter;
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php
new file mode 100644
index 0000000..3ca8837
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php
@@ -0,0 +1,48 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use Throwable;
+
+class BadComparisonUnitException extends UnitException
+{
+ /**
+ * The unit.
+ *
+ * @var string
+ */
+ protected $unit;
+
+ /**
+ * Constructor.
+ *
+ * @param string $unit
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($unit, $code = 0, Throwable $previous = null)
+ {
+ $this->unit = $unit;
+
+ parent::__construct("Bad comparison unit: '$unit'", $code, $previous);
+ }
+
+ /**
+ * Get the unit.
+ *
+ * @return string
+ */
+ public function getUnit(): string
+ {
+ return $this->unit;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php
new file mode 100644
index 0000000..2e222e5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use BadMethodCallException as BaseBadMethodCallException;
+use Throwable;
+
+class BadFluentConstructorException extends BaseBadMethodCallException implements BadMethodCallException
+{
+ /**
+ * The method.
+ *
+ * @var string
+ */
+ protected $method;
+
+ /**
+ * Constructor.
+ *
+ * @param string $method
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($method, $code = 0, Throwable $previous = null)
+ {
+ $this->method = $method;
+
+ parent::__construct(sprintf("Unknown fluent constructor '%s'.", $method), $code, $previous);
+ }
+
+ /**
+ * Get the method.
+ *
+ * @return string
+ */
+ public function getMethod(): string
+ {
+ return $this->method;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php
new file mode 100644
index 0000000..4ceaa2e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use BadMethodCallException as BaseBadMethodCallException;
+use Throwable;
+
+class BadFluentSetterException extends BaseBadMethodCallException implements BadMethodCallException
+{
+ /**
+ * The setter.
+ *
+ * @var string
+ */
+ protected $setter;
+
+ /**
+ * Constructor.
+ *
+ * @param string $setter
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($setter, $code = 0, Throwable $previous = null)
+ {
+ $this->setter = $setter;
+
+ parent::__construct(sprintf("Unknown fluent setter '%s'", $setter), $code, $previous);
+ }
+
+ /**
+ * Get the setter.
+ *
+ * @return string
+ */
+ public function getSetter(): string
+ {
+ return $this->setter;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php
new file mode 100644
index 0000000..108206d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+interface BadMethodCallException extends Exception
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/EndLessPeriodException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/EndLessPeriodException.php
new file mode 100644
index 0000000..e104926
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/EndLessPeriodException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use RuntimeException as BaseRuntimeException;
+
+final class EndLessPeriodException extends BaseRuntimeException implements RuntimeException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php
new file mode 100644
index 0000000..8ad747e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+interface Exception
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php
new file mode 100644
index 0000000..db334c6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php
@@ -0,0 +1,48 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use RuntimeException as BaseRuntimeException;
+use Throwable;
+
+class ImmutableException extends BaseRuntimeException implements RuntimeException
+{
+ /**
+ * The value.
+ *
+ * @var string
+ */
+ protected $value;
+
+ /**
+ * Constructor.
+ *
+ * @param string $value the immutable type/value
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($value, $code = 0, Throwable $previous = null)
+ {
+ $this->value = $value;
+ parent::__construct("$value is immutable.", $code, $previous);
+ }
+
+ /**
+ * Get the value.
+ *
+ * @return string
+ */
+ public function getValue(): string
+ {
+ return $this->value;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php
new file mode 100644
index 0000000..5b013cd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+interface InvalidArgumentException extends Exception
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php
new file mode 100644
index 0000000..a421401
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidCastException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
new file mode 100644
index 0000000..c9ecb6b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
@@ -0,0 +1,67 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+class InvalidDateException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ /**
+ * The invalid field.
+ *
+ * @var string
+ */
+ private $field;
+
+ /**
+ * The invalid value.
+ *
+ * @var mixed
+ */
+ private $value;
+
+ /**
+ * Constructor.
+ *
+ * @param string $field
+ * @param mixed $value
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($field, $value, $code = 0, Throwable $previous = null)
+ {
+ $this->field = $field;
+ $this->value = $value;
+ parent::__construct($field.' : '.$value.' is not a valid value.', $code, $previous);
+ }
+
+ /**
+ * Get the invalid field.
+ *
+ * @return string
+ */
+ public function getField()
+ {
+ return $this->field;
+ }
+
+ /**
+ * Get the invalid value.
+ *
+ * @return mixed
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php
new file mode 100644
index 0000000..92d55fe
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidFormatException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php
new file mode 100644
index 0000000..69cf412
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidIntervalException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php
new file mode 100644
index 0000000..9bd84a9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidPeriodDateException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php
new file mode 100644
index 0000000..cf2c902
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidPeriodParameterException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php
new file mode 100644
index 0000000..f725955
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidTimeZoneException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php
new file mode 100644
index 0000000..2c8ec9b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class InvalidTypeException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
new file mode 100644
index 0000000..7a87632
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
@@ -0,0 +1,50 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use Carbon\CarbonInterface;
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+class NotACarbonClassException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ /**
+ * The className.
+ *
+ * @var string
+ */
+ protected $className;
+
+ /**
+ * Constructor.
+ *
+ * @param string $className
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($className, $code = 0, Throwable $previous = null)
+ {
+ $this->className = $className;
+
+ parent::__construct(sprintf('Given class does not implement %s: %s', CarbonInterface::class, $className), $code, $previous);
+ }
+
+ /**
+ * Get the className.
+ *
+ * @return string
+ */
+ public function getClassName(): string
+ {
+ return $this->className;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
new file mode 100644
index 0000000..4edd7a4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class NotAPeriodException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
new file mode 100644
index 0000000..f2c5468
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
@@ -0,0 +1,32 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+class NotLocaleAwareException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ /**
+ * Constructor.
+ *
+ * @param mixed $object
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($object, $code = 0, Throwable $previous = null)
+ {
+ $dump = \is_object($object) ? \get_class($object) : \gettype($object);
+
+ parent::__construct("$dump does neither implements Symfony\Contracts\Translation\LocaleAwareInterface nor getLocale() method.", $code, $previous);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php
new file mode 100644
index 0000000..2c586d0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php
@@ -0,0 +1,101 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+// This will extends OutOfRangeException instead of InvalidArgumentException since 3.0.0
+// use OutOfRangeException as BaseOutOfRangeException;
+
+class OutOfRangeException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ /**
+ * The unit or name of the value.
+ *
+ * @var string
+ */
+ private $unit;
+
+ /**
+ * The range minimum.
+ *
+ * @var mixed
+ */
+ private $min;
+
+ /**
+ * The range maximum.
+ *
+ * @var mixed
+ */
+ private $max;
+
+ /**
+ * The invalid value.
+ *
+ * @var mixed
+ */
+ private $value;
+
+ /**
+ * Constructor.
+ *
+ * @param string $unit
+ * @param mixed $min
+ * @param mixed $max
+ * @param mixed $value
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($unit, $min, $max, $value, $code = 0, Throwable $previous = null)
+ {
+ $this->unit = $unit;
+ $this->min = $min;
+ $this->max = $max;
+ $this->value = $value;
+
+ parent::__construct("$unit must be between $min and $max, $value given", $code, $previous);
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getMax()
+ {
+ return $this->max;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getMin()
+ {
+ return $this->min;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
new file mode 100644
index 0000000..5416fd1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
@@ -0,0 +1,88 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+class ParseErrorException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ /**
+ * The expected.
+ *
+ * @var string
+ */
+ protected $expected;
+
+ /**
+ * The actual.
+ *
+ * @var string
+ */
+ protected $actual;
+
+ /**
+ * The help message.
+ *
+ * @var string
+ */
+ protected $help;
+
+ /**
+ * Constructor.
+ *
+ * @param string $expected
+ * @param string $actual
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($expected, $actual, $help = '', $code = 0, Throwable $previous = null)
+ {
+ $this->expected = $expected;
+ $this->actual = $actual;
+ $this->help = $help;
+
+ $actual = $actual === '' ? 'data is missing' : "get '$actual'";
+
+ parent::__construct(trim("Format expected $expected but $actual\n$help"), $code, $previous);
+ }
+
+ /**
+ * Get the expected.
+ *
+ * @return string
+ */
+ public function getExpected(): string
+ {
+ return $this->expected;
+ }
+
+ /**
+ * Get the actual.
+ *
+ * @return string
+ */
+ public function getActual(): string
+ {
+ return $this->actual;
+ }
+
+ /**
+ * Get the help message.
+ *
+ * @return string
+ */
+ public function getHelp(): string
+ {
+ return $this->help;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php
new file mode 100644
index 0000000..ad196f7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+interface RuntimeException extends Exception
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php
new file mode 100644
index 0000000..ee99953
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+
+class UnitException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php
new file mode 100644
index 0000000..0e72305
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php
@@ -0,0 +1,48 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use Throwable;
+
+class UnitNotConfiguredException extends UnitException
+{
+ /**
+ * The unit.
+ *
+ * @var string
+ */
+ protected $unit;
+
+ /**
+ * Constructor.
+ *
+ * @param string $unit
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($unit, $code = 0, Throwable $previous = null)
+ {
+ $this->unit = $unit;
+
+ parent::__construct("Unit $unit have no configuration to get total from other units.", $code, $previous);
+ }
+
+ /**
+ * Get the unit.
+ *
+ * @return string
+ */
+ public function getUnit(): string
+ {
+ return $this->unit;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php
new file mode 100644
index 0000000..5c50497
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+class UnknownGetterException extends BaseInvalidArgumentException implements InvalidArgumentException
+{
+ /**
+ * The getter.
+ *
+ * @var string
+ */
+ protected $getter;
+
+ /**
+ * Constructor.
+ *
+ * @param string $getter getter name
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($getter, $code = 0, Throwable $previous = null)
+ {
+ $this->getter = $getter;
+
+ parent::__construct("Unknown getter '$getter'", $code, $previous);
+ }
+
+ /**
+ * Get the getter.
+ *
+ * @return string
+ */
+ public function getGetter(): string
+ {
+ return $this->getter;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php
new file mode 100644
index 0000000..75273a7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use BadMethodCallException as BaseBadMethodCallException;
+use Throwable;
+
+class UnknownMethodException extends BaseBadMethodCallException implements BadMethodCallException
+{
+ /**
+ * The method.
+ *
+ * @var string
+ */
+ protected $method;
+
+ /**
+ * Constructor.
+ *
+ * @param string $method
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($method, $code = 0, Throwable $previous = null)
+ {
+ $this->method = $method;
+
+ parent::__construct("Method $method does not exist.", $code, $previous);
+ }
+
+ /**
+ * Get the method.
+ *
+ * @return string
+ */
+ public function getMethod(): string
+ {
+ return $this->method;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php
new file mode 100644
index 0000000..a795f5d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use InvalidArgumentException as BaseInvalidArgumentException;
+use Throwable;
+
+class UnknownSetterException extends BaseInvalidArgumentException implements BadMethodCallException
+{
+ /**
+ * The setter.
+ *
+ * @var string
+ */
+ protected $setter;
+
+ /**
+ * Constructor.
+ *
+ * @param string $setter setter name
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($setter, $code = 0, Throwable $previous = null)
+ {
+ $this->setter = $setter;
+
+ parent::__construct("Unknown setter '$setter'", $code, $previous);
+ }
+
+ /**
+ * Get the setter.
+ *
+ * @return string
+ */
+ public function getSetter(): string
+ {
+ return $this->setter;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php
new file mode 100644
index 0000000..ecd7f7a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php
@@ -0,0 +1,48 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use Throwable;
+
+class UnknownUnitException extends UnitException
+{
+ /**
+ * The unit.
+ *
+ * @var string
+ */
+ protected $unit;
+
+ /**
+ * Constructor.
+ *
+ * @param string $unit
+ * @param int $code
+ * @param Throwable|null $previous
+ */
+ public function __construct($unit, $code = 0, Throwable $previous = null)
+ {
+ $this->unit = $unit;
+
+ parent::__construct("Unknown unit '$unit'.", $code, $previous);
+ }
+
+ /**
+ * Get the unit.
+ *
+ * @return string
+ */
+ public function getUnit(): string
+ {
+ return $this->unit;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php
new file mode 100644
index 0000000..1654ab1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Exceptions;
+
+use RuntimeException as BaseRuntimeException;
+
+class UnreachableException extends BaseRuntimeException implements RuntimeException
+{
+ //
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Factory.php b/vendor/nesbot/carbon/src/Carbon/Factory.php
new file mode 100644
index 0000000..d497535
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Factory.php
@@ -0,0 +1,326 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Closure;
+use DateTimeInterface;
+use ReflectionMethod;
+
+/**
+ * A factory to generate Carbon instances with common settings.
+ *
+ *
+ *
+ * @method bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
+ * new instance.
+ * @method Carbon|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * @method Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
+ * @method Carbon|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
+ * @method Carbon|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
+ * @method Carbon|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
+ * @method Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
+ * @method Carbon createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
+ * @method Carbon createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
+ * @method Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * If one of the set values is not valid, an InvalidDateException
+ * will be thrown.
+ * @method CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
+ * @method Carbon disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method Carbon enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
+ * then return the result of the closure (or null if the closure was void).
+ * @method Carbon fromSerialized($value) Create an instance from a serialized string.
+ * @method void genericMacro($macro, $priority = 0) Register a custom macro.
+ * @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ * @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
+ * name, region and variant of the locale.
+ * @method array getDays() Get the days of the week
+ * @method string|null getFallbackLocale() Get the fallback locale.
+ * @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
+ * @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
+ * @method array getIsoUnits() Returns list of locale units for ISO formatting.
+ * @method array getLastErrors() {@inheritdoc}
+ * @method string getLocale() Get the current translator locale.
+ * @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
+ * @method int getMidDayAt() get midday/noon hour
+ * @method Closure|Carbon getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
+ * instance is created.
+ * @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
+ * @method string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
+ * @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
+ * @method int getWeekEndsAt() Get the last day of week
+ * @method int getWeekStartsAt() Get the first day of week
+ * @method array getWeekendDays() Get weekend days
+ * @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasMacro($name) Checks if macro is registered globally.
+ * @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
+ * @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
+ * is anything that is not null.
+ * @method Carbon instance($date) Create a Carbon instance from a DateTime one.
+ * @method bool isImmutable() Returns true if the current class/instance is immutable.
+ * @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
+ * @method bool isMutable() Returns true if the current class/instance is mutable.
+ * @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
+ * (It can be overridden in specific instances.)
+ * @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
+ * Support is considered enabled if the 3 words are translated in the given locale.
+ * @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
+ * Support is considered enabled if the 2 words are translated in the given locale.
+ * @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
+ * Support is considered enabled if either year, day or hour has a short variant translated.
+ * @method void macro($name, $macro) Register a custom macro.
+ * @method Carbon|null make($var) Make a Carbon instance from given variable if possible.
+ * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ * @method Carbon maxValue() Create a Carbon instance for the greatest supported date.
+ * @method Carbon minValue() Create a Carbon instance for the lowest supported date.
+ * @method void mixin($mixin) Mix another object into the class.
+ * @method Carbon now($tz = null) Get a Carbon instance for the current date and time.
+ * @method Carbon parse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method Carbon parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
+ * @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
+ * @method Carbon|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method Carbon rawParse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method Carbon resetMacros() Remove all macros and generic macros.
+ * @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
+ * @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather transform Carbon object before the serialization.
+ * JSON serialize all Carbon instances using the given callback.
+ * @method Carbon setFallbackLocale($locale) Set the fallback locale.
+ * @method Carbon setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
+ * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
+ * @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
+ * hour, test it explicitly:
+ * $date->format('G') == 13
+ * or to set explicitly to a given hour:
+ * $date->setTime(13, 0, 0, 0)
+ * Set midday/noon hour
+ * @method Carbon setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ * Note the timezone parameter was left out of the examples above and
+ * has no affect as the mock value will be returned regardless of its value.
+ * Only the moment is mocked with setTestNow(), the timezone will still be the one passed
+ * as parameter of date_default_timezone_get() as a fallback (see setTestNowAndTimezone()).
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ * /!\ Use this method for unit tests only.
+ * @method Carbon setTestNowAndTimezone($testNow = null, $tz = null) Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ * It will also align default timezone (e.g. call date_default_timezone_set()) with
+ * the second argument or if null, with the timezone of the given date object.
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ * /!\ Use this method for unit tests only.
+ * @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather let Carbon object being cast to string with DEFAULT_TO_STRING_FORMAT, and
+ * use other method or custom format passed to format() method if you need to dump another string
+ * format.
+ * Set the default format used when type juggling a Carbon instance to a string.
+ * @method void setTranslator(TranslatorInterface $translator) Set the default translator instance to use.
+ * @method Carbon setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use UTF-8 language packages on every machine.
+ * Set if UTF8 will be used for localized date/time.
+ * @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
+ * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
+ * start of week according to current locale selected and implicitly the end of week.
+ * Set the last day of week
+ * @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
+ * 'first_day_of_week' locale setting to change the start of week according to current locale
+ * selected and implicitly the end of week.
+ * Set the first day of week
+ * @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider week-end is always saturday and sunday, and if you have some custom
+ * week-end days to handle, give to those days an other name and create a macro for them:
+ * ```
+ * Carbon::macro('isDayOff', function ($date) {
+ * return $date->isSunday() || $date->isMonday();
+ * });
+ * Carbon::macro('isNotDayOff', function ($date) {
+ * return !$date->isDayOff();
+ * });
+ * if ($someDate->isDayOff()) ...
+ * if ($someDate->isNotDayOff()) ...
+ * // Add 5 not-off days
+ * $count = 5;
+ * while ($someDate->isDayOff() || ($count-- > 0)) {
+ * $someDate->addDay();
+ * }
+ * ```
+ * Set weekend days
+ * @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
+ * @method Carbon today($tz = null) Create a Carbon instance for today.
+ * @method Carbon tomorrow($tz = null) Create a Carbon instance for tomorrow.
+ * @method string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
+ * @method string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
+ * @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method Carbon useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method mixed withTestNow($testNow, $callback) Temporarily sets a static date to be used within the callback.
+ * Using setTestNow to set the date, executing the callback, then
+ * clearing the test instance.
+ * /!\ Use this method for unit tests only.
+ * @method Carbon yesterday($tz = null) Create a Carbon instance for yesterday.
+ *
+ *
+ */
+class Factory
+{
+ protected $className = Carbon::class;
+
+ protected $settings = [];
+
+ public function __construct(array $settings = [], ?string $className = null)
+ {
+ if ($className) {
+ $this->className = $className;
+ }
+
+ $this->settings = $settings;
+ }
+
+ public function getClassName()
+ {
+ return $this->className;
+ }
+
+ public function setClassName(string $className)
+ {
+ $this->className = $className;
+
+ return $this;
+ }
+
+ public function className(string $className = null)
+ {
+ return $className === null ? $this->getClassName() : $this->setClassName($className);
+ }
+
+ public function getSettings()
+ {
+ return $this->settings;
+ }
+
+ public function setSettings(array $settings)
+ {
+ $this->settings = $settings;
+
+ return $this;
+ }
+
+ public function settings(array $settings = null)
+ {
+ return $settings === null ? $this->getSettings() : $this->setSettings($settings);
+ }
+
+ public function mergeSettings(array $settings)
+ {
+ $this->settings = array_merge($this->settings, $settings);
+
+ return $this;
+ }
+
+ public function __call($name, $arguments)
+ {
+ $method = new ReflectionMethod($this->className, $name);
+ $settings = $this->settings;
+
+ if ($settings && isset($settings['timezone'])) {
+ $tzParameters = array_filter($method->getParameters(), function ($parameter) {
+ return \in_array($parameter->getName(), ['tz', 'timezone'], true);
+ });
+
+ if (isset($arguments[0]) && \in_array($name, ['instance', 'make', 'create', 'parse'], true)) {
+ if ($arguments[0] instanceof DateTimeInterface) {
+ $settings['innerTimezone'] = $settings['timezone'];
+ } elseif (\is_string($arguments[0]) && date_parse($arguments[0])['is_localtime']) {
+ unset($settings['timezone'], $settings['innerTimezone']);
+ }
+ } elseif (\count($tzParameters)) {
+ array_splice($arguments, key($tzParameters), 0, [$settings['timezone']]);
+ unset($settings['timezone']);
+ }
+ }
+
+ $result = $this->className::$name(...$arguments);
+
+ return $result instanceof CarbonInterface && !empty($settings)
+ ? $result->settings($settings)
+ : $result;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php b/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
new file mode 100644
index 0000000..d88a1cf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
@@ -0,0 +1,259 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Closure;
+use DateTimeImmutable;
+use DateTimeZone;
+use Psr\Clock\ClockInterface;
+
+/**
+ * A factory to generate CarbonImmutable instances with common settings.
+ *
+ *
+ *
+ * @method bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
+ * new instance.
+ * @method CarbonImmutable|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * @method CarbonImmutable createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
+ * @method CarbonImmutable|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
+ * @method CarbonImmutable|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
+ * @method CarbonImmutable|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
+ * @method CarbonImmutable createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
+ * @method CarbonImmutable createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
+ * @method CarbonImmutable createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
+ * @method CarbonImmutable|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * If one of the set values is not valid, an InvalidDateException
+ * will be thrown.
+ * @method CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
+ * @method CarbonImmutable disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method CarbonImmutable enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
+ * then return the result of the closure (or null if the closure was void).
+ * @method CarbonImmutable fromSerialized($value) Create an instance from a serialized string.
+ * @method void genericMacro($macro, $priority = 0) Register a custom macro.
+ * @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ * @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
+ * name, region and variant of the locale.
+ * @method array getDays() Get the days of the week
+ * @method string|null getFallbackLocale() Get the fallback locale.
+ * @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
+ * @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
+ * @method array getIsoUnits() Returns list of locale units for ISO formatting.
+ * @method array getLastErrors() {@inheritdoc}
+ * @method string getLocale() Get the current translator locale.
+ * @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
+ * @method int getMidDayAt() get midday/noon hour
+ * @method Closure|CarbonImmutable getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
+ * instance is created.
+ * @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
+ * @method string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
+ * @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
+ * @method int getWeekEndsAt() Get the last day of week
+ * @method int getWeekStartsAt() Get the first day of week
+ * @method array getWeekendDays() Get weekend days
+ * @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasMacro($name) Checks if macro is registered globally.
+ * @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
+ * @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
+ * is anything that is not null.
+ * @method CarbonImmutable instance($date) Create a Carbon instance from a DateTime one.
+ * @method bool isImmutable() Returns true if the current class/instance is immutable.
+ * @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
+ * @method bool isMutable() Returns true if the current class/instance is mutable.
+ * @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
+ * (It can be overridden in specific instances.)
+ * @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
+ * Support is considered enabled if the 3 words are translated in the given locale.
+ * @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
+ * Support is considered enabled if the 2 words are translated in the given locale.
+ * @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
+ * Support is considered enabled if either year, day or hour has a short variant translated.
+ * @method void macro($name, $macro) Register a custom macro.
+ * @method CarbonImmutable|null make($var) Make a Carbon instance from given variable if possible.
+ * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ * @method CarbonImmutable maxValue() Create a Carbon instance for the greatest supported date.
+ * @method CarbonImmutable minValue() Create a Carbon instance for the lowest supported date.
+ * @method void mixin($mixin) Mix another object into the class.
+ * @method CarbonImmutable parse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method CarbonImmutable parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
+ * @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
+ * @method CarbonImmutable|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method CarbonImmutable rawParse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method CarbonImmutable resetMacros() Remove all macros and generic macros.
+ * @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
+ * @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather transform Carbon object before the serialization.
+ * JSON serialize all Carbon instances using the given callback.
+ * @method CarbonImmutable setFallbackLocale($locale) Set the fallback locale.
+ * @method CarbonImmutable setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
+ * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
+ * @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
+ * hour, test it explicitly:
+ * $date->format('G') == 13
+ * or to set explicitly to a given hour:
+ * $date->setTime(13, 0, 0, 0)
+ * Set midday/noon hour
+ * @method CarbonImmutable setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ * Note the timezone parameter was left out of the examples above and
+ * has no affect as the mock value will be returned regardless of its value.
+ * Only the moment is mocked with setTestNow(), the timezone will still be the one passed
+ * as parameter of date_default_timezone_get() as a fallback (see setTestNowAndTimezone()).
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ * /!\ Use this method for unit tests only.
+ * @method CarbonImmutable setTestNowAndTimezone($testNow = null, $tz = null) Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ * It will also align default timezone (e.g. call date_default_timezone_set()) with
+ * the second argument or if null, with the timezone of the given date object.
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ * /!\ Use this method for unit tests only.
+ * @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather let Carbon object being cast to string with DEFAULT_TO_STRING_FORMAT, and
+ * use other method or custom format passed to format() method if you need to dump another string
+ * format.
+ * Set the default format used when type juggling a Carbon instance to a string.
+ * @method void setTranslator(TranslatorInterface $translator) Set the default translator instance to use.
+ * @method CarbonImmutable setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use UTF-8 language packages on every machine.
+ * Set if UTF8 will be used for localized date/time.
+ * @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
+ * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
+ * start of week according to current locale selected and implicitly the end of week.
+ * Set the last day of week
+ * @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
+ * 'first_day_of_week' locale setting to change the start of week according to current locale
+ * selected and implicitly the end of week.
+ * Set the first day of week
+ * @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider week-end is always saturday and sunday, and if you have some custom
+ * week-end days to handle, give to those days an other name and create a macro for them:
+ * ```
+ * Carbon::macro('isDayOff', function ($date) {
+ * return $date->isSunday() || $date->isMonday();
+ * });
+ * Carbon::macro('isNotDayOff', function ($date) {
+ * return !$date->isDayOff();
+ * });
+ * if ($someDate->isDayOff()) ...
+ * if ($someDate->isNotDayOff()) ...
+ * // Add 5 not-off days
+ * $count = 5;
+ * while ($someDate->isDayOff() || ($count-- > 0)) {
+ * $someDate->addDay();
+ * }
+ * ```
+ * Set weekend days
+ * @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
+ * @method CarbonImmutable today($tz = null) Create a Carbon instance for today.
+ * @method CarbonImmutable tomorrow($tz = null) Create a Carbon instance for tomorrow.
+ * @method string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
+ * @method string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
+ * @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method CarbonImmutable useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method mixed withTestNow($testNow, $callback) Temporarily sets a static date to be used within the callback.
+ * Using setTestNow to set the date, executing the callback, then
+ * clearing the test instance.
+ * /!\ Use this method for unit tests only.
+ * @method CarbonImmutable yesterday($tz = null) Create a Carbon instance for yesterday.
+ *
+ *
+ */
+class FactoryImmutable extends Factory implements ClockInterface
+{
+ protected $className = CarbonImmutable::class;
+
+ /**
+ * Get a Carbon instance for the current date and time.
+ *
+ * @param DateTimeZone|string|int|null $tz
+ *
+ * @return CarbonImmutable
+ */
+ public function now($tz = null): DateTimeImmutable
+ {
+ $className = $this->className;
+
+ return new $className(null, $tz);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/aa.php b/vendor/nesbot/carbon/src/Carbon/Lang/aa.php
new file mode 100644
index 0000000..f3431e4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/aa.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/aa_DJ.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/aa_DJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/aa_DJ.php
new file mode 100644
index 0000000..c6e23c0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/aa_DJ.php
@@ -0,0 +1,44 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Qunxa Garablu', 'Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Liiqen', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
+ 'months_short' => ['qun', 'nah', 'cig', 'agd', 'cax', 'qas', 'qad', 'leq', 'way', 'dit', 'xim', 'kax'],
+ 'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'],
+ 'weekdays_short' => ['aca', 'etl', 'tal', 'arb', 'kam', 'gum', 'sab'],
+ 'weekdays_min' => ['aca', 'etl', 'tal', 'arb', 'kam', 'gum', 'sab'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['saaku', 'carra'],
+
+ 'year' => ':count gaqambo', // less reliable
+ 'y' => ':count gaqambo', // less reliable
+ 'a_year' => ':count gaqambo', // less reliable
+
+ 'month' => ':count à lsa',
+ 'm' => ':count à lsa',
+ 'a_month' => ':count à lsa',
+
+ 'day' => ':count saaku', // less reliable
+ 'd' => ':count saaku', // less reliable
+ 'a_day' => ':count saaku', // less reliable
+
+ 'hour' => ':count ayti', // less reliable
+ 'h' => ':count ayti', // less reliable
+ 'a_hour' => ':count ayti', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/aa_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/aa_ER.php
new file mode 100644
index 0000000..f8f395b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/aa_ER.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Qunxa Garablu', 'Naharsi Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Leqeeni', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
+ 'months_short' => ['Qun', 'Nah', 'Cig', 'Agd', 'Cax', 'Qas', 'Qad', 'Leq', 'Way', 'Dit', 'Xim', 'Kax'],
+ 'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'],
+ 'weekdays_short' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
+ 'weekdays_min' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['saaku', 'carra'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/aa_ER@saaho.php b/vendor/nesbot/carbon/src/Carbon/Lang/aa_ER@saaho.php
new file mode 100644
index 0000000..6461225
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/aa_ER@saaho.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Qunxa Garablu', 'Naharsi Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Leqeeni', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
+ 'months_short' => ['Qun', 'Nah', 'Cig', 'Agd', 'Cax', 'Qas', 'Qad', 'Leq', 'Way', 'Dit', 'Xim', 'Kax'],
+ 'weekdays' => ['Naba Sambat', 'Sani', 'Salus', 'Rabuq', 'Camus', 'Jumqata', 'Qunxa Sambat'],
+ 'weekdays_short' => ['Nab', 'San', 'Sal', 'Rab', 'Cam', 'Jum', 'Qun'],
+ 'weekdays_min' => ['Nab', 'San', 'Sal', 'Rab', 'Cam', 'Jum', 'Qun'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['saaku', 'carra'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/aa_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/aa_ET.php
new file mode 100644
index 0000000..e55e591
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/aa_ET.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Qunxa Garablu', 'Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Liiqen', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
+ 'months_short' => ['Qun', 'Kud', 'Cig', 'Agd', 'Cax', 'Qas', 'Qad', 'Leq', 'Way', 'Dit', 'Xim', 'Kax'],
+ 'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'],
+ 'weekdays_short' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
+ 'weekdays_min' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['saaku', 'carra'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/af.php b/vendor/nesbot/carbon/src/Carbon/Lang/af.php
new file mode 100644
index 0000000..27771d7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/af.php
@@ -0,0 +1,79 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - JD Isaacks
+ * - Pierre du Plessis
+ */
+return [
+ 'year' => ':count jaar',
+ 'a_year' => '\'n jaar|:count jaar',
+ 'y' => ':count j.',
+ 'month' => ':count maand|:count maande',
+ 'a_month' => '\'n maand|:count maande',
+ 'm' => ':count maa.',
+ 'week' => ':count week|:count weke',
+ 'a_week' => '\'n week|:count weke',
+ 'w' => ':count w.',
+ 'day' => ':count dag|:count dae',
+ 'a_day' => '\'n dag|:count dae',
+ 'd' => ':count d.',
+ 'hour' => ':count uur',
+ 'a_hour' => '\'n uur|:count uur',
+ 'h' => ':count u.',
+ 'minute' => ':count minuut|:count minute',
+ 'a_minute' => '\'n minuut|:count minute',
+ 'min' => ':count min.',
+ 'second' => ':count sekond|:count sekondes',
+ 'a_second' => '\'n paar sekondes|:count sekondes',
+ 's' => ':count s.',
+ 'ago' => ':time gelede',
+ 'from_now' => 'oor :time',
+ 'after' => ':time na',
+ 'before' => ':time voor',
+ 'diff_now' => 'Nou',
+ 'diff_today' => 'Vandag',
+ 'diff_today_regexp' => 'Vandag(?:\\s+om)?',
+ 'diff_yesterday' => 'Gister',
+ 'diff_yesterday_regexp' => 'Gister(?:\\s+om)?',
+ 'diff_tomorrow' => 'Môre',
+ 'diff_tomorrow_regexp' => 'Môre(?:\\s+om)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Vandag om] LT',
+ 'nextDay' => '[Môre om] LT',
+ 'nextWeek' => 'dddd [om] LT',
+ 'lastDay' => '[Gister om] LT',
+ 'lastWeek' => '[Laas] dddd [om] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ return $number.(($number === 1 || $number === 8 || $number >= 20) ? 'ste' : 'de');
+ },
+ 'meridiem' => ['VM', 'NM'],
+ 'months' => ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember'],
+ 'months_short' => ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
+ 'weekdays_short' => ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],
+ 'weekdays_min' => ['So', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' en '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php b/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
new file mode 100644
index 0000000..f2fcf05
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/af.php', [
+ 'meridiem' => ['v', 'n'],
+ 'weekdays' => ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
+ 'weekdays_short' => ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'],
+ 'weekdays_min' => ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'],
+ 'months' => ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember'],
+ 'months_short' => ['Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Des.'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'DD MMM YYYY',
+ 'LLL' => 'DD MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, DD MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
new file mode 100644
index 0000000..27896bd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/af.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/agq.php b/vendor/nesbot/carbon/src/Carbon/Lang/agq.php
new file mode 100644
index 0000000..7011464
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/agq.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['a.g', 'a.k'],
+ 'weekdays' => ['tsuʔntsɨ', 'tsuʔukpà ', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ'],
+ 'weekdays_short' => ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'],
+ 'weekdays_min' => ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'],
+ 'months' => ['ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kÆ—Ì€zùʔ', 'ndzɔ̀ŋɔ̀tÆ—Ì€dʉ̀ghà ', 'ndzɔ̀ŋɔ̀tÇŽafʉ̄ghÄ', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tÆ—Ì€fʉ̀ghà dzughù', 'ndzɔ̀ŋɔ̀ghÇ”uwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔà kaa wo', 'ndzɔ̀ŋèfwòo'],
+ 'months_short' => ['nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/agr.php b/vendor/nesbot/carbon/src/Carbon/Lang/agr.php
new file mode 100644
index 0000000..8f036ae
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/agr.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/agr_PE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/agr_PE.php b/vendor/nesbot/carbon/src/Carbon/Lang/agr_PE.php
new file mode 100644
index 0000000..54a326a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/agr_PE.php
@@ -0,0 +1,44 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - somosazucar.org libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Petsatin', 'Kupitin', 'Uyaitin', 'Tayutin', 'Kegketin', 'Tegmatin', 'Kuntutin', 'Yagkujutin', 'Daiktatin', 'Ipamtatin', 'Shinutin', 'Sakamtin'],
+ 'months_short' => ['Pet', 'Kup', 'Uya', 'Tay', 'Keg', 'Teg', 'Kun', 'Yag', 'Dait', 'Ipam', 'Shin', 'Sak'],
+ 'weekdays' => ['Tuntuamtin', 'Achutin', 'Kugkuktin', 'Saketin', 'Shimpitin', 'Imaptin', 'Bataetin'],
+ 'weekdays_short' => ['Tun', 'Ach', 'Kug', 'Sak', 'Shim', 'Im', 'Bat'],
+ 'weekdays_min' => ['Tun', 'Ach', 'Kug', 'Sak', 'Shim', 'Im', 'Bat'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 7,
+ 'meridiem' => ['VM', 'NM'],
+
+ 'year' => ':count yaya', // less reliable
+ 'y' => ':count yaya', // less reliable
+ 'a_year' => ':count yaya', // less reliable
+
+ 'month' => ':count nantu', // less reliable
+ 'm' => ':count nantu', // less reliable
+ 'a_month' => ':count nantu', // less reliable
+
+ 'day' => ':count nayaim', // less reliable
+ 'd' => ':count nayaim', // less reliable
+ 'a_day' => ':count nayaim', // less reliable
+
+ 'hour' => ':count kuwiš', // less reliable
+ 'h' => ':count kuwiš', // less reliable
+ 'a_hour' => ':count kuwiš', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ak.php b/vendor/nesbot/carbon/src/Carbon/Lang/ak.php
new file mode 100644
index 0000000..5a64be3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ak.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ak_GH.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ak_GH.php b/vendor/nesbot/carbon/src/Carbon/Lang/ak_GH.php
new file mode 100644
index 0000000..1381946
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ak_GH.php
@@ -0,0 +1,40 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Sugar Labs // OLPC sugarlabs.org libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY/MM/DD',
+ ],
+ 'months' => ['Sanda-ƆpÉ›pÉ”n', 'Kwakwar-Ɔgyefuo', 'EbÉ”w-Ɔbenem', 'EbÉ”bira-Oforisuo', 'Esusow Aketseaba-KÉ”tÉ”nimba', 'Obirade-AyÉ›wohomumu', 'AyÉ›woho-Kitawonsa', 'Difuu-Ɔsandaa', 'Fankwa-ÆbÉ”', 'ƆbÉ›sÉ›-Ahinime', 'ƆberÉ›fÉ›w-Obubuo', 'Mumu-ƆpÉ›nimba'],
+ 'months_short' => ['S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Æ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ'],
+ 'weekdays' => ['Kwesida', 'Dwowda', 'Benada', 'Wukuda', 'Yawda', 'Fida', 'Memeneda'],
+ 'weekdays_short' => ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'],
+ 'weekdays_min' => ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['AN', 'EW'],
+
+ 'year' => ':count afe',
+ 'y' => ':count afe',
+ 'a_year' => ':count afe',
+
+ 'month' => ':count bosume',
+ 'm' => ':count bosume',
+ 'a_month' => ':count bosume',
+
+ 'day' => ':count ɛda',
+ 'd' => ':count ɛda',
+ 'a_day' => ':count ɛda',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/am.php b/vendor/nesbot/carbon/src/Carbon/Lang/am.php
new file mode 100644
index 0000000..63bf72d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/am.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/am_ET.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/am_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/am_ET.php
new file mode 100644
index 0000000..ece8062
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/am_ET.php
@@ -0,0 +1,58 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጃንዩወሪ', 'áŒá‰¥áˆ©á‹ˆáˆª', 'ማáˆá‰½', 'ኤá•ሪáˆ', 'ሜá‹', 'áŒáŠ•', 'áŒáˆ‹á‹', 'ኦገስት', 'ሴá•ቴáˆá‰ áˆ', 'ኦáŠá‰¶á‰ áˆ', 'ኖቬáˆá‰ áˆ', 'ዲሴáˆá‰ áˆ'],
+ 'months_short' => ['ጃንዩ', 'áŒá‰¥áˆ©', 'ማáˆá‰½', 'ኤá•ረ', 'ሜዠ', 'áŒáŠ• ', 'áŒáˆ‹á‹', 'ኦገስ', 'ሴá•ቴ', 'ኦáŠá‰°', 'ኖቬáˆ', 'ዲሴáˆ'],
+ 'weekdays' => ['እሑድ', 'ሰኞ', 'ማáŠáˆ°áŠž', 'ረቡዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰¥', 'ቅዳሜ'],
+ 'weekdays_short' => ['እሑድ', 'ሰኞ ', 'ማáŠáˆ°', 'ረቡዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰¥', 'ቅዳሜ'],
+ 'weekdays_min' => ['እሑድ', 'ሰኞ ', 'ማáŠáˆ°', 'ረቡዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰¥', 'ቅዳሜ'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ጡዋት', 'ከሰዓት'],
+
+ 'year' => ':count አመት',
+ 'y' => ':count አመት',
+ 'a_year' => ':count አመት',
+
+ 'month' => ':count ወáˆ',
+ 'm' => ':count ወáˆ',
+ 'a_month' => ':count ወáˆ',
+
+ 'week' => ':count ሳáˆáŠ•á‰µ',
+ 'w' => ':count ሳáˆáŠ•á‰µ',
+ 'a_week' => ':count ሳáˆáŠ•á‰µ',
+
+ 'day' => ':count ቀን',
+ 'd' => ':count ቀን',
+ 'a_day' => ':count ቀን',
+
+ 'hour' => ':count ሰዓት',
+ 'h' => ':count ሰዓት',
+ 'a_hour' => ':count ሰዓት',
+
+ 'minute' => ':count ደቂቃ',
+ 'min' => ':count ደቂቃ',
+ 'a_minute' => ':count ደቂቃ',
+
+ 'second' => ':count ሴኮንድ',
+ 's' => ':count ሴኮንድ',
+ 'a_second' => ':count ሴኮንድ',
+
+ 'ago' => 'ከ:time በáŠá‰µ',
+ 'from_now' => 'በ:time á‹áˆµáŒ¥',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/an.php b/vendor/nesbot/carbon/src/Carbon/Lang/an.php
new file mode 100644
index 0000000..565abf2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/an.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/an_ES.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/an_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/an_ES.php
new file mode 100644
index 0000000..faf8ae0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/an_ES.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Softaragones Jordi Mallach Pérez, Juan Pablo MartÃnez bug-glibc-locales@gnu.org, softaragones@softaragones.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['chinero', 'febrero', 'marzo', 'abril', 'mayo', 'chunyo', 'chuliol', 'agosto', 'setiembre', 'octubre', 'noviembre', 'aviento'],
+ 'months_short' => ['chi', 'feb', 'mar', 'abr', 'may', 'chn', 'chl', 'ago', 'set', 'oct', 'nov', 'avi'],
+ 'weekdays' => ['domingo', 'luns', 'martes', 'mierques', 'chueves', 'viernes', 'sabado'],
+ 'weekdays_short' => ['dom', 'lun', 'mar', 'mie', 'chu', 'vie', 'sab'],
+ 'weekdays_min' => ['dom', 'lun', 'mar', 'mie', 'chu', 'vie', 'sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count año',
+ 'y' => ':count año',
+ 'a_year' => ':count año',
+
+ 'month' => ':count mes',
+ 'm' => ':count mes',
+ 'a_month' => ':count mes',
+
+ 'week' => ':count semana',
+ 'w' => ':count semana',
+ 'a_week' => ':count semana',
+
+ 'day' => ':count dÃa',
+ 'd' => ':count dÃa',
+ 'a_day' => ':count dÃa',
+
+ 'hour' => ':count reloch', // less reliable
+ 'h' => ':count reloch', // less reliable
+ 'a_hour' => ':count reloch', // less reliable
+
+ 'minute' => ':count minuto',
+ 'min' => ':count minuto',
+ 'a_minute' => ':count minuto',
+
+ 'second' => ':count segundo',
+ 's' => ':count segundo',
+ 'a_second' => ':count segundo',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/anp.php b/vendor/nesbot/carbon/src/Carbon/Lang/anp.php
new file mode 100644
index 0000000..b56c67b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/anp.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/anp_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/anp_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/anp_IN.php
new file mode 100644
index 0000000..11069be
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/anp_IN.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bhashaghar@googlegroups.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆà¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितंबर', 'अकà¥à¤Ÿà¥‚बर', 'नवंबर', 'दिसंबर"'],
+ 'months_short' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆà¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितंबर', 'अकà¥à¤Ÿà¥‚बर', 'नवंबर', 'दिसंबर'],
+ 'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बà¥à¤§à¤µà¤¾à¤°', 'बृहसà¥à¤ªà¤¤à¤¿à¤µà¤¾à¤°', 'शà¥à¤•à¥à¤°à¤µà¤¾à¤°', 'शनिवार'],
+ 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'बृहसà¥à¤ªà¤¤à¤¿', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'बृहसà¥à¤ªà¤¤à¤¿', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar.php
new file mode 100644
index 0000000..5f73f63
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar.php
@@ -0,0 +1,93 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Atef Ben Ali (atefBB)
+ * - Ibrahim AshShohail
+ * - MLTDev
+ * - Mohamed Sabil (mohamedsabil83)
+ * - Yazan Alnugnugh (yazan-alnugnugh)
+ */
+$months = [
+ 'يناير',
+ 'ÙØ¨Ø±Ø§ÙŠØ±',
+ 'مارس',
+ 'أبريل',
+ 'مايو',
+ 'يونيو',
+ 'يوليو',
+ 'أغسطس',
+ 'سبتمبر',
+ 'أكتوبر',
+ 'نوÙمبر',
+ 'ديسمبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => ':time من الآن',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدًا(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم عند الساعة] LT',
+ 'nextDay' => '[غدًا عند الساعة] LT',
+ 'nextWeek' => 'dddd [عند الساعة] LT',
+ 'lastDay' => '[أمس عند الساعة] LT',
+ 'lastWeek' => 'dddd [عند الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_AE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_AE.php
new file mode 100644
index 0000000..35a22b1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_AE.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت '],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_BH.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_BH.php
new file mode 100644
index 0000000..3518096
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_BH.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_DZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_DZ.php
new file mode 100644
index 0000000..aea4eee
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_DZ.php
@@ -0,0 +1,92 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Authors:
+ * - Josh Soref
+ * - Noureddine LOUAHEDJ
+ * - JD Isaacks
+ * - Atef Ben Ali (atefBB)
+ * - Mohamed Sabil (mohamedsabil83)
+ */
+$months = [
+ 'جانÙÙŠ',
+ 'ÙÙŠÙØ±ÙŠ',
+ 'مارس',
+ 'Ø£ÙØ±ÙŠÙ„',
+ 'ماي',
+ 'جوان',
+ 'جويلية',
+ 'أوت',
+ 'سبتمبر',
+ 'أكتوبر',
+ 'نوÙمبر',
+ 'ديسمبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => 'ÙÙŠ :time',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø£Ø', 'إث', 'ثلا', 'أر', 'خم', 'جم', 'سب'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 4,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم على الساعة] LT',
+ 'nextDay' => '[غدا على الساعة] LT',
+ 'nextWeek' => 'dddd [على الساعة] LT',
+ 'lastDay' => '[أمس على الساعة] LT',
+ 'lastWeek' => 'dddd [على الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_EG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_EG.php
new file mode 100644
index 0000000..3518096
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_EG.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IN.php
new file mode 100644
index 0000000..5fecf70
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IN.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_IQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IQ.php
new file mode 100644
index 0000000..2d42008
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IQ.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_JO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_JO.php
new file mode 100644
index 0000000..2d42008
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_JO.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_KW.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_KW.php
new file mode 100644
index 0000000..b3fb1cf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_KW.php
@@ -0,0 +1,95 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Authors:
+ * - Josh Soref
+ * - Nusret Parlak
+ * - JD Isaacks
+ * - Atef Ben Ali (atefBB)
+ * - Mohamed Sabil (mohamedsabil83)
+ * - Abdullah-Alhariri
+ */
+$months = [
+ 'يناير',
+ 'ÙØ¨Ø±Ø§ÙŠØ±',
+ 'مارس',
+ 'أبريل',
+ 'ماي',
+ 'يونيو',
+ 'يوليوز',
+ 'غشت',
+ 'شتنبر',
+ 'أكتوبر',
+ 'نونبر',
+ 'دجنبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => 'ÙÙŠ :time',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم على الساعة] LT',
+ 'nextDay' => '[غدا على الساعة] LT',
+ 'nextWeek' => 'dddd [على الساعة] LT',
+ 'lastDay' => '[أمس على الساعة] LT',
+ 'lastWeek' => 'dddd [على الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_LB.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_LB.php
new file mode 100644
index 0000000..2792745
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_LB.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_LY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_LY.php
new file mode 100644
index 0000000..1f0af49
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_LY.php
@@ -0,0 +1,92 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Atef Ben Ali (atefBB)
+ * - Ibrahim AshShohail
+ * - MLTDev
+ */
+
+$months = [
+ 'يناير',
+ 'ÙØ¨Ø±Ø§ÙŠØ±',
+ 'مارس',
+ 'أبريل',
+ 'مايو',
+ 'يونيو',
+ 'يوليو',
+ 'أغسطس',
+ 'سبتمبر',
+ 'أكتوبر',
+ 'نوÙمبر',
+ 'ديسمبر',
+];
+
+return [
+ 'year' => implode('|', [':count سنة', 'سنة', 'سنتين', ':count سنوات', ':count سنة']),
+ 'a_year' => implode('|', [':count سنة', 'سنة', 'سنتين', ':count سنوات', ':count سنة']),
+ 'month' => implode('|', [':count شهر', 'شهر', 'شهرين', ':count أشهر', ':count شهر']),
+ 'a_month' => implode('|', [':count شهر', 'شهر', 'شهرين', ':count أشهر', ':count شهر']),
+ 'week' => implode('|', [':count أسبوع', 'أسبوع', 'أسبوعين', ':count أسابيع', ':count أسبوع']),
+ 'a_week' => implode('|', [':count أسبوع', 'أسبوع', 'أسبوعين', ':count أسابيع', ':count أسبوع']),
+ 'day' => implode('|', [':count يوم', 'يوم', 'يومين', ':count أيام', ':count يوم']),
+ 'a_day' => implode('|', [':count يوم', 'يوم', 'يومين', ':count أيام', ':count يوم']),
+ 'hour' => implode('|', [':count ساعة', 'ساعة', 'ساعتين', ':count ساعات', ':count ساعة']),
+ 'a_hour' => implode('|', [':count ساعة', 'ساعة', 'ساعتين', ':count ساعات', ':count ساعة']),
+ 'minute' => implode('|', [':count دقيقة', 'دقيقة', 'دقيقتين', ':count دقائق', ':count دقيقة']),
+ 'a_minute' => implode('|', [':count دقيقة', 'دقيقة', 'دقيقتين', ':count دقائق', ':count دقيقة']),
+ 'second' => implode('|', [':count ثانية', 'ثانية', 'ثانيتين', ':count ثواني', ':count ثانية']),
+ 'a_second' => implode('|', [':count ثانية', 'ثانية', 'ثانيتين', ':count ثواني', ':count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => ':time من الآن',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدًا(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['مرة', 'مرة', ':count مرتين', ':count مرات', ':count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم عند الساعة] LT',
+ 'nextDay' => '[غدًا عند الساعة] LT',
+ 'nextWeek' => 'dddd [عند الساعة] LT',
+ 'lastDay' => '[أمس عند الساعة] LT',
+ 'lastWeek' => 'dddd [عند الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_MA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_MA.php
new file mode 100644
index 0000000..047ae05
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_MA.php
@@ -0,0 +1,92 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ * - Atef Ben Ali (atefBB)
+ * - Mohamed Sabil (mohamedsabil83)
+ */
+$months = [
+ 'يناير',
+ 'ÙØ¨Ø±Ø§ÙŠØ±',
+ 'مارس',
+ 'أبريل',
+ 'ماي',
+ 'يونيو',
+ 'يوليوز',
+ 'غشت',
+ 'شتنبر',
+ 'أكتوبر',
+ 'نونبر',
+ 'دجنبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => 'ÙÙŠ :time',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم على الساعة] LT',
+ 'nextDay' => '[غدا على الساعة] LT',
+ 'nextWeek' => 'dddd [على الساعة] LT',
+ 'lastDay' => '[أمس على الساعة] LT',
+ 'lastWeek' => 'dddd [على الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_OM.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_OM.php
new file mode 100644
index 0000000..3518096
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_OM.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
new file mode 100644
index 0000000..503c60d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_QA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_QA.php
new file mode 100644
index 0000000..3518096
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_QA.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SA.php
new file mode 100644
index 0000000..550b0c7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SA.php
@@ -0,0 +1,94 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ * - Atef Ben Ali (atefBB)
+ * - Mohamed Sabil (mohamedsabil83)
+ * - Abdullah-Alhariri
+ */
+$months = [
+ 'يناير',
+ 'ÙØ¨Ø±Ø§ÙŠØ±',
+ 'مارس',
+ 'أبريل',
+ 'مايو',
+ 'يونيو',
+ 'يوليو',
+ 'أغسطس',
+ 'سبتمبر',
+ 'أكتوبر',
+ 'نوÙمبر',
+ 'ديسمبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => 'ÙÙŠ :time',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم على الساعة] LT',
+ 'nextDay' => '[غدا على الساعة] LT',
+ 'nextWeek' => 'dddd [على الساعة] LT',
+ 'lastDay' => '[أمس على الساعة] LT',
+ 'lastWeek' => 'dddd [على الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SD.php
new file mode 100644
index 0000000..3518096
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SD.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SS.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SS.php
new file mode 100644
index 0000000..32f3282
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SS.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SY.php
new file mode 100644
index 0000000..2d42008
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SY.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'ØØ²ÙŠØ±Ø§Ù†', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php
new file mode 100644
index 0000000..c2d4b43
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php
@@ -0,0 +1,95 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Abdellah Chadidi
+ * - Atef Ben Ali (atefBB)
+ * - Mohamed Sabil (mohamedsabil83)
+ */
+// Same for long and short
+$months = [
+ // @TODO add shakl to months
+ 'يناير',
+ 'ÙØ¨Ø±Ø§ÙŠØ±',
+ 'مارس',
+ 'أبريل',
+ 'مايو',
+ 'يونيو',
+ 'يوليو',
+ 'أغسطس',
+ 'سبتمبر',
+ 'أكتوبر',
+ 'نوÙمبر',
+ 'ديسمبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سَنَة', '{1}سَنَة', '{2}سَنَتَيْن', ']2,11[:count سَنَوَات', ']10,Inf[:count سَنَة']),
+ 'a_year' => implode('|', ['{0}:count سَنَة', '{1}سَنَة', '{2}سَنَتَيْن', ']2,11[:count سَنَوَات', ']10,Inf[:count سَنَة']),
+ 'month' => implode('|', ['{0}:count شَهْرَ', '{1}شَهْرَ', '{2}شَهْرَيْن', ']2,11[:count Ø£ÙŽØ´Ù’Ù‡ÙØ±', ']10,Inf[:count شَهْرَ']),
+ 'a_month' => implode('|', ['{0}:count شَهْرَ', '{1}شَهْرَ', '{2}شَهْرَيْن', ']2,11[:count Ø£ÙŽØ´Ù’Ù‡ÙØ±', ']10,Inf[:count شَهْرَ']),
+ 'week' => implode('|', ['{0}:count Ø£ÙØ³Ù’بÙوع', '{1}Ø£ÙØ³Ù’بÙوع', '{2}Ø£ÙØ³Ù’بÙوعَيْن', ']2,11[:count أَسَابÙيع', ']10,Inf[:count Ø£ÙØ³Ù’بÙوع']),
+ 'a_week' => implode('|', ['{0}:count Ø£ÙØ³Ù’بÙوع', '{1}Ø£ÙØ³Ù’بÙوع', '{2}Ø£ÙØ³Ù’بÙوعَيْن', ']2,11[:count أَسَابÙيع', ']10,Inf[:count Ø£ÙØ³Ù’بÙوع']),
+ 'day' => implode('|', ['{0}:count يَوْم', '{1}يَوْم', '{2}يَوْمَيْن', ']2,11[:count أَيَّام', ']10,Inf[:count يَوْم']),
+ 'a_day' => implode('|', ['{0}:count يَوْم', '{1}يَوْم', '{2}يَوْمَيْن', ']2,11[:count أَيَّام', ']10,Inf[:count يَوْم']),
+ 'hour' => implode('|', ['{0}:count سَاعَة', '{1}سَاعَة', '{2}سَاعَتَيْن', ']2,11[:count سَاعَات', ']10,Inf[:count سَاعَة']),
+ 'a_hour' => implode('|', ['{0}:count سَاعَة', '{1}سَاعَة', '{2}سَاعَتَيْن', ']2,11[:count سَاعَات', ']10,Inf[:count سَاعَة']),
+ 'minute' => implode('|', ['{0}:count دَقÙيقَة', '{1}دَقÙيقَة', '{2}دَقÙيقَتَيْن', ']2,11[:count دَقَائÙÙ‚', ']10,Inf[:count دَقÙيقَة']),
+ 'a_minute' => implode('|', ['{0}:count دَقÙيقَة', '{1}دَقÙيقَة', '{2}دَقÙيقَتَيْن', ']2,11[:count دَقَائÙÙ‚', ']10,Inf[:count دَقÙيقَة']),
+ 'second' => implode('|', ['{0}:count ثَانÙÙŠÙŽØ©', '{1}ثَانÙÙŠÙŽØ©', '{2}ثَانÙيَتَيْن', ']2,11[:count ثَوَان', ']10,Inf[:count ثَانÙÙŠÙŽØ©']),
+ 'a_second' => implode('|', ['{0}:count ثَانÙÙŠÙŽØ©', '{1}ثَانÙÙŠÙŽØ©', '{2}ثَانÙيَتَيْن', ']2,11[:count ثَوَان', ']10,Inf[:count ثَانÙÙŠÙŽØ©']),
+ 'ago' => 'Ù…Ùنْذ٠:time',
+ 'from_now' => 'Ù…ÙÙ†ÙŽ الْآن :time',
+ 'after' => 'بَعْدَ :time',
+ 'before' => 'قَبْلَ :time',
+
+ // @TODO add shakl to translations below
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدًا(?:\\s+عند)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم عند الساعة] LT',
+ 'nextDay' => '[غدًا عند الساعة] LT',
+ 'nextWeek' => 'dddd [عند الساعة] LT',
+ 'lastDay' => '[أمس عند الساعة] LT',
+ 'lastWeek' => 'dddd [عند الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
new file mode 100644
index 0000000..e790b99
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ar.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_TN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_TN.php
new file mode 100644
index 0000000..f096678
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_TN.php
@@ -0,0 +1,91 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Authors:
+ * - JD Isaacks
+ * - Atef Ben Ali (atefBB)
+ * - Mohamed Sabil (mohamedsabil83)
+ */
+$months = [
+ 'جانÙÙŠ',
+ 'ÙÙŠÙØ±ÙŠ',
+ 'مارس',
+ 'Ø£ÙØ±ÙŠÙ„',
+ 'ماي',
+ 'جوان',
+ 'جويلية',
+ 'أوت',
+ 'سبتمبر',
+ 'أكتوبر',
+ 'نوÙمبر',
+ 'ديسمبر',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
+ 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
+ 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
+ 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
+ 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
+ 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
+ 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
+ 'ago' => 'منذ :time',
+ 'from_now' => 'ÙÙŠ :time',
+ 'after' => 'بعد :time',
+ 'before' => 'قبل :time',
+ 'diff_now' => 'الآن',
+ 'diff_today' => 'اليوم',
+ 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_yesterday' => 'أمس',
+ 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_tomorrow' => 'غداً',
+ 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?',
+ 'diff_before_yesterday' => 'قبل الأمس',
+ 'diff_after_tomorrow' => 'بعد غد',
+ 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
+ 'period_interval' => 'كل :interval',
+ 'period_start_date' => 'من :date',
+ 'period_end_date' => 'إلى :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø£ØØ¯', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اليوم على الساعة] LT',
+ 'nextDay' => '[غدا على الساعة] LT',
+ 'nextWeek' => 'dddd [على الساعة] LT',
+ 'lastDay' => '[أمس على الساعة] LT',
+ 'lastWeek' => 'dddd [على الساعة] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ص', 'م'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_YE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_YE.php
new file mode 100644
index 0000000..169fe88
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_YE.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ * - Abdullah-Alhariri
+ */
+return array_replace_recursive(require __DIR__.'/ar.php', [
+ 'formats' => [
+ 'L' => 'DD MMM, YYYY',
+ ],
+ 'months' => ['يناير', 'ÙØ¨Ø±Ø§ÙŠØ±', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'],
+ 'months_short' => ['ينا', 'ÙØ¨Ø±', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوÙ', 'ديس'],
+ 'weekdays' => ['Ø§Ù„Ø£ØØ¯', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ 'weekdays_short' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'weekdays_min' => ['Ø', 'Ù†', 'Ø«', 'ر', 'Ø®', 'ج', 'س'],
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰٤', '۰٥', '۰٦', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱٤', '۱٥', '۱٦', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲٤', '۲٥', '۲٦', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳٤', '۳٥', '۳٦', '۳۷', '۳۸', '۳۹', '٤۰', '٤۱', '٤۲', '٤۳', '٤٤', '٤٥', '٤٦', '٤۷', '٤۸', '٤۹', '٥۰', '٥۱', '٥۲', '٥۳', '٥٤', '٥٥', '٥٦', '٥۷', '٥۸', '٥۹', '٦۰', '٦۱', '٦۲', '٦۳', '٦٤', '٦٥', '٦٦', '٦۷', '٦۸', '٦۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷٤', '۷٥', '۷٦', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸٤', '۸٥', '۸٦', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹٤', '۹٥', '۹٦', '۹۷', '۹۸', '۹۹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/as.php b/vendor/nesbot/carbon/src/Carbon/Lang/as.php
new file mode 100644
index 0000000..04bc3df
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/as.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/as_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/as_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/as_IN.php
new file mode 100644
index 0000000..5fbc3db
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/as_IN.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Amitakhya Phukan, Red Hat bug-glibc@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D-MM-YYYY',
+ ],
+ 'months' => ['জানà§à§±à¦¾à§°à§€', 'ফেবà§à§°à§à§±à¦¾à§°à§€', 'মাৰà§à¦š', 'à¦à¦ªà§à§°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগষà§à¦Ÿ', 'ছেপà§à¦¤à§‡à¦®à§à¦¬à§°', 'অকà§à¦Ÿà§‹à¦¬à§°', 'নৱেমà§à¦¬à§°', 'ডিচেমà§à¦¬à§°'],
+ 'months_short' => ['জানà§', 'ফেবà§à§°à§', 'মাৰà§à¦š', 'à¦à¦ªà§à§°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগ', 'সেপà§à¦Ÿ', 'অকà§à¦Ÿà§‹', 'নà¦à§‡', 'ডিসে'],
+ 'weekdays' => ['দেওবাৰ', 'সোমবাৰ', 'মঙà§à¦—লবাৰ', 'বà§à¦§à¦¬à¦¾à§°', 'বৃহষà§à¦ªà¦¤à¦¿à¦¬à¦¾à§°', 'শà§à¦•à§à§°à¦¬à¦¾à§°', 'শনিবাৰ'],
+ 'weekdays_short' => ['দেও', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহষà§à¦ªà¦¤à¦¿', 'শà§à¦•à§à§°', 'শনি'],
+ 'weekdays_min' => ['দেও', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহষà§à¦ªà¦¤à¦¿', 'শà§à¦•à§à§°', 'শনি'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['পূৰà§à¦¬à§à¦¬à¦¾à¦¹à§à¦¨', 'অপৰাহà§à¦¨'],
+
+ 'year' => ':count বছৰ',
+ 'y' => ':count বছৰ',
+ 'a_year' => ':count বছৰ',
+
+ 'month' => ':count মাহ',
+ 'm' => ':count মাহ',
+ 'a_month' => ':count মাহ',
+
+ 'week' => ':count সপà§à¦¤à¦¾à¦¹',
+ 'w' => ':count সপà§à¦¤à¦¾à¦¹',
+ 'a_week' => ':count সপà§à¦¤à¦¾à¦¹',
+
+ 'day' => ':count বাৰ',
+ 'd' => ':count বাৰ',
+ 'a_day' => ':count বাৰ',
+
+ 'hour' => ':count ঘণà§à¦Ÿà¦¾',
+ 'h' => ':count ঘণà§à¦Ÿà¦¾',
+ 'a_hour' => ':count ঘণà§à¦Ÿà¦¾',
+
+ 'minute' => ':count মিনিট',
+ 'min' => ':count মিনিট',
+ 'a_minute' => ':count মিনিট',
+
+ 'second' => ':count দà§à¦¬à¦¿à¦¤à§€à¦¯à¦¼',
+ 's' => ':count দà§à¦¬à¦¿à¦¤à§€à¦¯à¦¼',
+ 'a_second' => ':count দà§à¦¬à¦¿à¦¤à§€à¦¯à¦¼',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/asa.php b/vendor/nesbot/carbon/src/Carbon/Lang/asa.php
new file mode 100644
index 0000000..03bb483
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/asa.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['icheheavo', 'ichamthi'],
+ 'weekdays' => ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'],
+ 'weekdays_min' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Dec'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ast.php b/vendor/nesbot/carbon/src/Carbon/Lang/ast.php
new file mode 100644
index 0000000..d9bdebe
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ast.php
@@ -0,0 +1,59 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Jordi Mallach jordi@gnu.org
+ * - Adolfo Jayme-Barrientos (fitojb)
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['de xineru', 'de febreru', 'de marzu', 'd’abril', 'de mayu', 'de xunu', 'de xunetu', 'd’agostu', 'de setiembre', 'd’ochobre', 'de payares', 'd’avientu'],
+ 'months_short' => ['xin', 'feb', 'mar', 'abr', 'may', 'xun', 'xnt', 'ago', 'set', 'och', 'pay', 'avi'],
+ 'weekdays' => ['domingu', 'llunes', 'martes', 'miércoles', 'xueves', 'vienres', 'sábadu'],
+ 'weekdays_short' => ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'],
+ 'weekdays_min' => ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'],
+
+ 'year' => ':count añu|:count años',
+ 'y' => ':count añu|:count años',
+ 'a_year' => 'un añu|:count años',
+
+ 'month' => ':count mes',
+ 'm' => ':count mes',
+ 'a_month' => 'un mes|:count mes',
+
+ 'week' => ':count selmana|:count selmanes',
+ 'w' => ':count selmana|:count selmanes',
+ 'a_week' => 'una selmana|:count selmanes',
+
+ 'day' => ':count dÃa|:count dÃes',
+ 'd' => ':count dÃa|:count dÃes',
+ 'a_day' => 'un dÃa|:count dÃes',
+
+ 'hour' => ':count hora|:count hores',
+ 'h' => ':count hora|:count hores',
+ 'a_hour' => 'una hora|:count hores',
+
+ 'minute' => ':count minutu|:count minutos',
+ 'min' => ':count minutu|:count minutos',
+ 'a_minute' => 'un minutu|:count minutos',
+
+ 'second' => ':count segundu|:count segundos',
+ 's' => ':count segundu|:count segundos',
+ 'a_second' => 'un segundu|:count segundos',
+
+ 'ago' => 'hai :time',
+ 'from_now' => 'en :time',
+ 'after' => ':time dempués',
+ 'before' => ':time enantes',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ast_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/ast_ES.php
new file mode 100644
index 0000000..04d7562
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ast_ES.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ast.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ayc.php b/vendor/nesbot/carbon/src/Carbon/Lang/ayc.php
new file mode 100644
index 0000000..d6a6f63
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ayc.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ayc_PE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ayc_PE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ayc_PE.php
new file mode 100644
index 0000000..ff18504
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ayc_PE.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - runasimipi.org libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['inïru', 'phiwriru', 'marsu', 'awrila', 'mayu', 'junyu', 'julyu', 'awustu', 'sitimri', 'uktuwri', 'nuwimri', 'risimri'],
+ 'months_short' => ['ini', 'phi', 'mar', 'awr', 'may', 'jun', 'jul', 'awu', 'sit', 'ukt', 'nuw', 'ris'],
+ 'weekdays' => ['tuminku', 'lunisa', 'martisa', 'mirkulisa', 'juywisa', 'wirnisa', 'sawäru'],
+ 'weekdays_short' => ['tum', 'lun', 'mar', 'mir', 'juy', 'wir', 'saw'],
+ 'weekdays_min' => ['tum', 'lun', 'mar', 'mir', 'juy', 'wir', 'saw'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['VM', 'NM'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az.php b/vendor/nesbot/carbon/src/Carbon/Lang/az.php
new file mode 100644
index 0000000..1e92106
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az.php
@@ -0,0 +1,128 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Kunal Marwaha
+ * - François B
+ * - JD Isaacks
+ * - Orxan
+ * - Şəhriyar İmanov
+ * - Baran Şengül
+ */
+return [
+ 'year' => ':count il',
+ 'a_year' => '{1}bir il|]1,Inf[:count il',
+ 'y' => ':count il',
+ 'month' => ':count ay',
+ 'a_month' => '{1}bir ay|]1,Inf[:count ay',
+ 'm' => ':count ay',
+ 'week' => ':count həftə',
+ 'a_week' => '{1}bir həftə|]1,Inf[:count həftə',
+ 'w' => ':count h.',
+ 'day' => ':count gün',
+ 'a_day' => '{1}bir gün|]1,Inf[:count gün',
+ 'd' => ':count g.',
+ 'hour' => ':count saat',
+ 'a_hour' => '{1}bir saat|]1,Inf[:count saat',
+ 'h' => ':count saat',
+ 'minute' => ':count d.',
+ 'a_minute' => '{1}bir dəqiqə|]1,Inf[:count dəqiqə',
+ 'min' => ':count dəqiqə',
+ 'second' => ':count san.',
+ 'a_second' => '{1}birneçə saniyə|]1,Inf[:count saniyə',
+ 's' => ':count saniyÉ™',
+ 'ago' => ':time əvvəl',
+ 'from_now' => ':time sonra',
+ 'after' => ':time sonra',
+ 'before' => ':time əvvəl',
+ 'diff_now' => 'indi',
+ 'diff_today' => 'bugün',
+ 'diff_today_regexp' => 'bugün(?:\\s+saat)?',
+ 'diff_yesterday' => 'dünən',
+ 'diff_tomorrow' => 'sabah',
+ 'diff_tomorrow_regexp' => 'sabah(?:\\s+saat)?',
+ 'diff_before_yesterday' => 'srağagün',
+ 'diff_after_tomorrow' => 'birisi gün',
+ 'period_recurrences' => ':count dəfədən bir',
+ 'period_interval' => 'hər :interval',
+ 'period_start_date' => ':date tarixindən başlayaraq',
+ 'period_end_date' => ':date tarixinədək',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[bugün saat] LT',
+ 'nextDay' => '[sabah saat] LT',
+ 'nextWeek' => '[gələn həftə] dddd [saat] LT',
+ 'lastDay' => '[dünən] LT',
+ 'lastWeek' => '[keçən həftə] dddd [saat] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ if ($number === 0) { // special case for zero
+ return "$number-ıncı";
+ }
+
+ static $suffixes = [
+ 1 => '-inci',
+ 5 => '-inci',
+ 8 => '-inci',
+ 70 => '-inci',
+ 80 => '-inci',
+ 2 => '-nci',
+ 7 => '-nci',
+ 20 => '-nci',
+ 50 => '-nci',
+ 3 => '-üncü',
+ 4 => '-üncü',
+ 100 => '-üncü',
+ 6 => '-ncı',
+ 9 => '-uncu',
+ 10 => '-uncu',
+ 30 => '-uncu',
+ 60 => '-ıncı',
+ 90 => '-ıncı',
+ ];
+
+ $lastDigit = $number % 10;
+
+ return $number.($suffixes[$lastDigit] ?? $suffixes[$number % 100 - $lastDigit] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'gecÉ™';
+ }
+ if ($hour < 12) {
+ return 'səhər';
+ }
+ if ($hour < 17) {
+ return 'gündüz';
+ }
+
+ return 'axÅŸam';
+ },
+ 'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
+ 'months_short' => ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'],
+ 'months_standalone' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr'],
+ 'weekdays' => ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
+ 'weekdays_short' => ['baz', 'bze', 'çax', 'çər', 'cax', 'cüm', 'şən'],
+ 'weekdays_min' => ['bz', 'be', 'ça', 'çə', 'ca', 'cü', 'şə'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' vÉ™ '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az_AZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/az_AZ.php
new file mode 100644
index 0000000..2acf881
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az_AZ.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/az.php', [
+ 'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],
+ 'weekdays' => ['bazar günü', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
+ 'weekdays_short' => ['baz', 'ber', 'çax', 'çər', 'cax', 'cüm', 'şnb'],
+ 'weekdays_min' => ['baz', 'ber', 'çax', 'çər', 'cax', 'cüm', 'şnb'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
new file mode 100644
index 0000000..28fc62f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/az.php', [
+ 'weekdays' => ['базар', 'базар ертәÑи', 'чәршәнбә ахшамы', 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә'],
+ 'weekdays_short' => ['Б.', 'Б.Е.', 'Ч.Ð.', 'Ч.', 'Ò¸.Ð.', 'Ò¸.', 'Ш.'],
+ 'weekdays_min' => ['Б.', 'Б.Е.', 'Ч.Ð.', 'Ч.', 'Ò¸.Ð.', 'Ò¸.', 'Ш.'],
+ 'months' => ['јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', 'ијул', 'авгуÑÑ‚', 'Ñентјабр', 'октјабр', 'нојабр', 'декабр'],
+ 'months_short' => ['јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'Ñен', 'окт', 'ној', 'дек'],
+ 'months_standalone' => ['Јанвар', 'Феврал', 'Март', 'Ðпрел', 'Май', 'Ијун', 'Ијул', 'ÐвгуÑÑ‚', 'Сентјабр', 'Октјабр', 'Ðојабр', 'Декабр'],
+ 'meridiem' => ['а', 'п'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az_IR.php b/vendor/nesbot/carbon/src/Carbon/Lang/az_IR.php
new file mode 100644
index 0000000..991a0ef
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az_IR.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Mousa Moradi mousamk@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'OY/OM/OD',
+ ],
+ 'months' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مئی', 'ژوئن', 'جولای', 'آقۇست', 'سپتامبر', 'اوْکتوْبر', 'نوْوامبر', 'دسامبر'],
+ 'months_short' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مئی', 'ژوئن', 'جولای', 'آقۇست', 'سپتامبر', 'اوْکتوْبر', 'نوْوامبر', 'دسامبر'],
+ 'weekdays' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چارشنبه', 'جۆمعه آخشامی', 'جۆمعه', 'شنبه'],
+ 'weekdays_short' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چارشنبه', 'جۆمعه آخشامی', 'جۆمعه', 'شنبه'],
+ 'weekdays_min' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چارشنبه', 'جۆمعه آخشامی', 'جۆمعه', 'شنبه'],
+ 'first_day_of_week' => 6,
+ 'alt_numbers' => ['Û°Û°', 'Û°Û±', 'Û°Û²', 'Û°Û³', 'Û°Û´', 'Û°Ûµ', 'Û°Û¶', 'Û°Û·', 'Û°Û¸', 'Û°Û¹', 'Û±Û°', 'Û±Û±', 'Û±Û²', 'Û±Û³', 'Û±Û´', 'Û±Ûµ', 'Û±Û¶', 'Û±Û·', 'Û±Û¸', 'Û±Û¹', 'Û²Û°', 'Û²Û±', 'Û²Û²', 'Û²Û³', 'Û²Û´', 'Û²Ûµ', 'Û²Û¶', 'Û²Û·', 'Û²Û¸', 'Û²Û¹', 'Û³Û°', 'Û³Û±', 'Û³Û²', 'Û³Û³', 'Û³Û´', 'Û³Ûµ', 'Û³Û¶', 'Û³Û·', 'Û³Û¸', 'Û³Û¹', 'Û´Û°', 'Û´Û±', 'Û´Û²', 'Û´Û³', 'Û´Û´', 'Û´Ûµ', 'Û´Û¶', 'Û´Û·', 'Û´Û¸', 'Û´Û¹', 'ÛµÛ°', 'ÛµÛ±', 'ÛµÛ²', 'ÛµÛ³', 'ÛµÛ´', 'ÛµÛµ', 'ÛµÛ¶', 'ÛµÛ·', 'ÛµÛ¸', 'ÛµÛ¹', 'Û¶Û°', 'Û¶Û±', 'Û¶Û²', 'Û¶Û³', 'Û¶Û´', 'Û¶Ûµ', 'Û¶Û¶', 'Û¶Û·', 'Û¶Û¸', 'Û¶Û¹', 'Û·Û°', 'Û·Û±', 'Û·Û²', 'Û·Û³', 'Û·Û´', 'Û·Ûµ', 'Û·Û¶', 'Û·Û·', 'Û·Û¸', 'Û·Û¹', 'Û¸Û°', 'Û¸Û±', 'Û¸Û²', 'Û¸Û³', 'Û¸Û´', 'Û¸Ûµ', 'Û¸Û¶', 'Û¸Û·', 'Û¸Û¸', 'Û¸Û¹', 'Û¹Û°', 'Û¹Û±', 'Û¹Û²', 'Û¹Û³', 'Û¹Û´', 'Û¹Ûµ', 'Û¹Û¶', 'Û¹Û·', 'Û¹Û¸', 'Û¹Û¹'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
new file mode 100644
index 0000000..0be3391
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/az.php', [
+ 'meridiem' => ['a', 'p'],
+ 'weekdays' => ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
+ 'weekdays_short' => ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'],
+ 'weekdays_min' => ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'],
+ 'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
+ 'months_short' => ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'],
+ 'months_standalone' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'D MMMM YYYY, dddd HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bas.php b/vendor/nesbot/carbon/src/Carbon/Lang/bas.php
new file mode 100644
index 0000000..41bfa1d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bas.php
@@ -0,0 +1,32 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['I bikɛ̂glà ', 'I ɓugajɔp'],
+ 'weekdays' => ['ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', 'ŋgwà kɔɔ', 'ŋgwà jôn'],
+ 'weekdays_short' => ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'],
+ 'weekdays_min' => ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'],
+ 'months' => ['Kɔndɔŋ', 'Mà cɛ̂l', 'Mà tùmb', 'Mà top', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà ', 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', 'Mà yɛsèp', 'Lìbuy li ńyèe'],
+ 'months_short' => ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'second' => ':count móndî', // less reliable
+ 's' => ':count móndî', // less reliable
+ 'a_second' => ':count móndî', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/be.php b/vendor/nesbot/carbon/src/Carbon/Lang/be.php
new file mode 100644
index 0000000..ee73636
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/be.php
@@ -0,0 +1,172 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Carbon\CarbonInterface;
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
+ }, 'be');
+}
+// @codeCoverageIgnoreEnd
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - SobakaSlava
+ * - François B
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - AbadonnaAbbys
+ * - Siomkin Alexander
+ */
+return [
+ 'year' => ':count год|:count гады|:count гадоў',
+ 'a_year' => '{1}год|:count год|:count гады|:count гадоў',
+ 'y' => ':count год|:count гады|:count гадоў',
+ 'month' => ':count меÑÑц|:count меÑÑцы|:count меÑÑцаў',
+ 'a_month' => '{1}меÑÑц|:count меÑÑц|:count меÑÑцы|:count меÑÑцаў',
+ 'm' => ':count меÑÑц|:count меÑÑцы|:count меÑÑцаў',
+ 'week' => ':count тыдзень|:count тыдні|:count тыднÑÑž',
+ 'a_week' => '{1}тыдзень|:count тыдзень|:count тыдні|:count тыднÑÑž',
+ 'w' => ':count тыдзень|:count тыдні|:count тыднÑÑž',
+ 'day' => ':count дзень|:count дні|:count дзён',
+ 'a_day' => '{1}дзень|:count дзень|:count дні|:count дзён',
+ 'd' => ':count дн',
+ 'hour' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'a_hour' => '{1}гадзіна|:count гадзіна|:count гадзіны|:count гадзін',
+ 'h' => ':count гадзіна|:count гадзіны|:count гадзін',
+ 'minute' => ':count хвіліна|:count хвіліны|:count хвілін',
+ 'a_minute' => '{1}хвіліна|:count хвіліна|:count хвіліны|:count хвілін',
+ 'min' => ':count хв',
+ 'second' => ':count Ñекунда|:count Ñекунды|:count Ñекунд',
+ 'a_second' => '{1}некалькі Ñекунд|:count Ñекунда|:count Ñекунды|:count Ñекунд',
+ 's' => ':count Ñек',
+
+ 'hour_ago' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'a_hour_ago' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
+ 'h_ago' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'minute_ago' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'a_minute_ago' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
+ 'min_ago' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'second_ago' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 'a_second_ago' => '{1}некалькі Ñекунд|:count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 's_ago' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+
+ 'hour_from_now' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'a_hour_from_now' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
+ 'h_from_now' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'minute_from_now' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'a_minute_from_now' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
+ 'min_from_now' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'second_from_now' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 'a_second_from_now' => '{1}некалькі Ñекунд|:count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 's_from_now' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+
+ 'hour_after' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'a_hour_after' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
+ 'h_after' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'minute_after' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'a_minute_after' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
+ 'min_after' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'second_after' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 'a_second_after' => '{1}некалькі Ñекунд|:count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 's_after' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+
+ 'hour_before' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'a_hour_before' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
+ 'h_before' => ':count гадзіну|:count гадзіны|:count гадзін',
+ 'minute_before' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'a_minute_before' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
+ 'min_before' => ':count хвіліну|:count хвіліны|:count хвілін',
+ 'second_before' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 'a_second_before' => '{1}некалькі Ñекунд|:count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 's_before' => ':count Ñекунду|:count Ñекунды|:count Ñекунд',
+
+ 'ago' => ':time таму',
+ 'from_now' => 'праз :time',
+ 'after' => ':time паÑлÑ',
+ 'before' => ':time да',
+ 'diff_now' => 'цÑпер',
+ 'diff_today' => 'СённÑ',
+ 'diff_today_regexp' => 'СённÑ(?:\\s+Ñž)?',
+ 'diff_yesterday' => 'учора',
+ 'diff_yesterday_regexp' => 'Учора(?:\\s+ў)?',
+ 'diff_tomorrow' => 'заўтра',
+ 'diff_tomorrow_regexp' => 'Заўтра(?:\\s+ў)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY г.',
+ 'LLL' => 'D MMMM YYYY г., HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY г., HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ð¡Ñ‘Ð½Ð½Ñ Ñž] LT',
+ 'nextDay' => '[Заўтра ў] LT',
+ 'nextWeek' => '[У] dddd [ў] LT',
+ 'lastDay' => '[Учора ў] LT',
+ 'lastWeek' => function (CarbonInterface $current) {
+ switch ($current->dayOfWeek) {
+ case 1:
+ case 2:
+ case 4:
+ return '[У мінулы] dddd [ў] LT';
+ default:
+ return '[У мінулую] dddd [ў] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'M':
+ case 'd':
+ case 'DDD':
+ case 'w':
+ case 'W':
+ return ($number % 10 === 2 || $number % 10 === 3) && ($number % 100 !== 12 && $number % 100 !== 13) ? $number.'-Ñ–' : $number.'-Ñ‹';
+ case 'D':
+ return $number.'-га';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'ночы';
+ }
+ if ($hour < 12) {
+ return 'раніцы';
+ }
+ if ($hour < 17) {
+ return 'днÑ';
+ }
+
+ return 'вечара';
+ },
+ 'months' => ['ÑтудзенÑ', 'лютага', 'Ñакавіка', 'краÑавіка', 'траўнÑ', 'чÑрвенÑ', 'ліпенÑ', 'жніўнÑ', 'вераÑнÑ', 'каÑтрычніка', 'ліÑтапада', 'ÑнежнÑ'],
+ 'months_standalone' => ['Ñтудзень', 'люты', 'Ñакавік', 'краÑавік', 'травень', 'чÑрвень', 'ліпень', 'жнівень', 'вераÑень', 'каÑтрычнік', 'ліÑтапад', 'Ñнежань'],
+ 'months_short' => ['Ñтуд', 'лют', 'Ñак', 'краÑ', 'трав', 'чÑрв', 'ліп', 'жнів', 'вер', 'каÑÑ‚', 'ліÑÑ‚', 'Ñнеж'],
+ 'months_regexp' => '/(DD?o?\.?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['нÑдзелю', 'панÑдзелак', 'аўторак', 'Ñераду', 'чацвер', 'пÑтніцу', 'Ñуботу'],
+ 'weekdays_standalone' => ['нÑдзелÑ', 'панÑдзелак', 'аўторак', 'Ñерада', 'чацвер', 'пÑтніца', 'Ñубота'],
+ 'weekdays_short' => ['нд', 'пн', 'ат', 'ÑÑ€', 'чц', 'пт', 'Ñб'],
+ 'weekdays_min' => ['нд', 'пн', 'ат', 'ÑÑ€', 'чц', 'пт', 'Ñб'],
+ 'weekdays_regexp' => '/\[ ?[Ууў] ?(?:мінулую|наÑтупную)? ?\] ?dddd/',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' Ñ– '],
+ 'months_short_standalone' => ['Ñту', 'лют', 'Ñак', 'кра', 'май', 'чÑÑ€', 'ліп', 'жні', 'вер', 'каÑ', 'ліÑ', 'Ñне'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/be_BY.php b/vendor/nesbot/carbon/src/Carbon/Lang/be_BY.php
new file mode 100644
index 0000000..26684b4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/be_BY.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/be.php', [
+ 'months' => ['ÑтудзенÑ', 'лютага', 'Ñакавіка', 'краÑавіка', 'маÑ', 'чÑрвенÑ', 'ліпенÑ', 'жніўнÑ', 'вераÑнÑ', 'каÑтрычніка', 'ліÑтапада', 'ÑнежнÑ'],
+ 'months_short' => ['Ñту', 'лют', 'Ñак', 'кра', 'маÑ', 'чÑÑ€', 'ліп', 'жні', 'вер', 'каÑ', 'ліÑ', 'Ñне'],
+ 'weekdays' => ['ÐÑдзелÑ', 'ПанÑдзелак', 'Ðўторак', 'Серада', 'Чацвер', 'ПÑтніца', 'Субота'],
+ 'weekdays_short' => ['ÐÑд', 'Пан', 'Ðўт', 'Срд', 'Чцв', 'ПÑÑ‚', 'Суб'],
+ 'weekdays_min' => ['ÐÑд', 'Пан', 'Ðўт', 'Срд', 'Чцв', 'ПÑÑ‚', 'Суб'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/be_BY@latin.php b/vendor/nesbot/carbon/src/Carbon/Lang/be_BY@latin.php
new file mode 100644
index 0000000..517ce83
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/be_BY@latin.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['studzienia', 'lutaha', 'sakavika', 'krasavika', 'maja', 'Äervienia', 'lipienia', 'žniÅnia', 'vieraÅ›nia', 'kastryÄnika', 'listapada', 'Å›niežnia'],
+ 'months_short' => ['Stu', 'Lut', 'Sak', 'Kra', 'Maj', 'Čer', 'Lip', 'Žni', 'Vie', 'Kas', 'Lis', 'Śni'],
+ 'weekdays' => ['Niadziela', 'PaniadzieÅ‚ak', 'AÅtorak', 'Sierada', 'ÄŒaćvier', 'Piatnica', 'Subota'],
+ 'weekdays_short' => ['Nia', 'Pan', 'AÅt', 'Sie', 'ÄŒać', 'Pia', 'Sub'],
+ 'weekdays_min' => ['Nia', 'Pan', 'AÅt', 'Sie', 'ÄŒać', 'Pia', 'Sub'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bem.php b/vendor/nesbot/carbon/src/Carbon/Lang/bem.php
new file mode 100644
index 0000000..1c3ef03
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bem.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/bem_ZM.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bem_ZM.php b/vendor/nesbot/carbon/src/Carbon/Lang/bem_ZM.php
new file mode 100644
index 0000000..620b579
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bem_ZM.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - ANLoc Martin Benjamin locales@africanlocalization.net
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'MM/DD/YYYY',
+ ],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Epreo', 'Mei', 'Juni', 'Julai', 'Ogasti', 'Septemba', 'Oktoba', 'Novemba', 'Disemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Epr', 'Mei', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Dis'],
+ 'weekdays' => ['Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', 'Pachibelushi'],
+ 'weekdays_short' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ 'weekdays_min' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['uluchelo', 'akasuba'],
+
+ 'year' => 'myaka :count',
+ 'y' => 'myaka :count',
+ 'a_year' => 'myaka :count',
+
+ 'month' => 'myeshi :count',
+ 'm' => 'myeshi :count',
+ 'a_month' => 'myeshi :count',
+
+ 'week' => 'umulungu :count',
+ 'w' => 'umulungu :count',
+ 'a_week' => 'umulungu :count',
+
+ 'day' => 'inshiku :count',
+ 'd' => 'inshiku :count',
+ 'a_day' => 'inshiku :count',
+
+ 'hour' => 'awala :count',
+ 'h' => 'awala :count',
+ 'a_hour' => 'awala :count',
+
+ 'minute' => 'miniti :count',
+ 'min' => 'miniti :count',
+ 'a_minute' => 'miniti :count',
+
+ 'second' => 'sekondi :count',
+ 's' => 'sekondi :count',
+ 'a_second' => 'sekondi :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ber.php b/vendor/nesbot/carbon/src/Carbon/Lang/ber.php
new file mode 100644
index 0000000..685603c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ber.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ber_DZ.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ber_DZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ber_DZ.php
new file mode 100644
index 0000000..38de10a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ber_DZ.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
+ 'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],
+ 'weekdays' => ['bazar günü', 'birinci gün', 'ikinci gün', 'üçüncü gün', 'dördüncü gün', 'beşinci gün', 'altıncı gün'],
+ 'weekdays_short' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
+ 'weekdays_min' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ber_MA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ber_MA.php
new file mode 100644
index 0000000..38de10a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ber_MA.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
+ 'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],
+ 'weekdays' => ['bazar günü', 'birinci gün', 'ikinci gün', 'üçüncü gün', 'dördüncü gün', 'beşinci gün', 'altıncı gün'],
+ 'weekdays_short' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
+ 'weekdays_min' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bez.php b/vendor/nesbot/carbon/src/Carbon/Lang/bez.php
new file mode 100644
index 0000000..d59c5ef
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bez.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['pamilau', 'pamunyi'],
+ 'weekdays' => ['pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', 'pa shahulembela'],
+ 'weekdays_short' => ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'],
+ 'weekdays_min' => ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'],
+ 'months' => ['pa mwedzi gwa hutala', 'pa mwedzi gwa wuvili', 'pa mwedzi gwa wudatu', 'pa mwedzi gwa wutai', 'pa mwedzi gwa wuhanu', 'pa mwedzi gwa sita', 'pa mwedzi gwa saba', 'pa mwedzi gwa nane', 'pa mwedzi gwa tisa', 'pa mwedzi gwa kumi', 'pa mwedzi gwa kumi na moja', 'pa mwedzi gwa kumi na mbili'],
+ 'months_short' => ['Hut', 'Vil', 'Dat', 'Tai', 'Han', 'Sit', 'Sab', 'Nan', 'Tis', 'Kum', 'Kmj', 'Kmb'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bg.php b/vendor/nesbot/carbon/src/Carbon/Lang/bg.php
new file mode 100644
index 0000000..f768074
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bg.php
@@ -0,0 +1,114 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - Glavić
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count година|:count години',
+ 'a_year' => 'година|:count години',
+ 'y' => ':count година|:count години',
+ 'month' => ':count меÑец|:count меÑеца',
+ 'a_month' => 'меÑец|:count меÑеца',
+ 'm' => ':count меÑец|:count меÑеца',
+ 'week' => ':count Ñедмица|:count Ñедмици',
+ 'a_week' => 'Ñедмица|:count Ñедмици',
+ 'w' => ':count Ñедмица|:count Ñедмици',
+ 'day' => ':count ден|:count дни',
+ 'a_day' => 'ден|:count дни',
+ 'd' => ':count ден|:count дни',
+ 'hour' => ':count чаÑ|:count чаÑа',
+ 'a_hour' => 'чаÑ|:count чаÑа',
+ 'h' => ':count чаÑ|:count чаÑа',
+ 'minute' => ':count минута|:count минути',
+ 'a_minute' => 'минута|:count минути',
+ 'min' => ':count минута|:count минути',
+ 'second' => ':count Ñекунда|:count Ñекунди',
+ 'a_second' => 'нÑколко Ñекунди|:count Ñекунди',
+ 's' => ':count Ñекунда|:count Ñекунди',
+ 'ago' => 'преди :time',
+ 'from_now' => 'Ñлед :time',
+ 'after' => 'Ñлед :time',
+ 'before' => 'преди :time',
+ 'diff_now' => 'Ñега',
+ 'diff_today' => 'ДнеÑ',
+ 'diff_today_regexp' => 'ДнеÑ(?:\\s+в)?',
+ 'diff_yesterday' => 'вчера',
+ 'diff_yesterday_regexp' => 'Вчера(?:\\s+в)?',
+ 'diff_tomorrow' => 'утре',
+ 'diff_tomorrow_regexp' => 'Утре(?:\\s+в)?',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'D.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ð”Ð½ÐµÑ Ð²] LT',
+ 'nextDay' => '[Утре в] LT',
+ 'nextWeek' => 'dddd [в] LT',
+ 'lastDay' => '[Вчера в] LT',
+ 'lastWeek' => function (CarbonInterface $current) {
+ switch ($current->dayOfWeek) {
+ case 0:
+ case 3:
+ case 6:
+ return '[В изминалата] dddd [в] LT';
+ default:
+ return '[Ð’ изминалиÑ] dddd [в] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ $lastDigit = $number % 10;
+ $last2Digits = $number % 100;
+ if ($number === 0) {
+ return "$number-ев";
+ }
+ if ($last2Digits === 0) {
+ return "$number-ен";
+ }
+ if ($last2Digits > 10 && $last2Digits < 20) {
+ return "$number-ти";
+ }
+ if ($lastDigit === 1) {
+ return "$number-ви";
+ }
+ if ($lastDigit === 2) {
+ return "$number-ри";
+ }
+ if ($lastDigit === 7 || $lastDigit === 8) {
+ return "$number-ми";
+ }
+
+ return "$number-ти";
+ },
+ 'months' => ['Ñнуари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'авгуÑÑ‚', 'Ñептември', 'октомври', 'ноември', 'декември'],
+ 'months_short' => ['Ñну', 'фев', 'мар', 'апр', 'май', 'юни', 'юли', 'авг', 'Ñеп', 'окт', 'ное', 'дек'],
+ 'weekdays' => ['неделÑ', 'понеделник', 'вторник', 'ÑÑ€Ñда', 'четвъртък', 'петък', 'Ñъбота'],
+ 'weekdays_short' => ['нед', 'пон', 'вто', 'ÑÑ€Ñ', 'чет', 'пет', 'Ñъб'],
+ 'weekdays_min' => ['нд', 'пн', 'вт', 'ÑÑ€', 'чт', 'пт', 'Ñб'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' и '],
+ 'meridiem' => ['преди обÑд', 'Ñледобед'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php b/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php
new file mode 100644
index 0000000..b53874d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/bg.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bhb.php b/vendor/nesbot/carbon/src/Carbon/Lang/bhb.php
new file mode 100644
index 0000000..49f0803
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bhb.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/bhb_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bhb_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bhb_IN.php
new file mode 100644
index 0000000..ab557cb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bhb_IN.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Samsung Electronics Co., Ltd. alexey.merzlyakov@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ 'weekdays' => ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ 'weekdays_short' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ 'weekdays_min' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bho.php b/vendor/nesbot/carbon/src/Carbon/Lang/bho.php
new file mode 100644
index 0000000..e9ed0b6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bho.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/bho_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bho_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bho_IN.php
new file mode 100644
index 0000000..bc54f36
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bho_IN.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bhashaghar@googlegroups.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆà¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°"'],
+ 'months_short' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆà¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°"'],
+ 'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बà¥à¤§à¤µà¤¾à¤°', 'गà¥à¤°à¥à¤µà¤¾à¤°', 'शà¥à¤•à¥à¤°à¤µà¤¾à¤°', 'शनिवार'],
+ 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'गà¥à¤°à¥', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'गà¥à¤°à¥', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+
+ 'hour' => ':count मौसम',
+ 'h' => ':count मौसम',
+ 'a_hour' => ':count मौसम',
+
+ 'minute' => ':count कला',
+ 'min' => ':count कला',
+ 'a_minute' => ':count कला',
+
+ 'second' => ':count सोमार',
+ 's' => ':count सोमार',
+ 'a_second' => ':count सोमार',
+
+ 'year' => ':count साल',
+ 'y' => ':count साल',
+ 'a_year' => ':count साल',
+
+ 'month' => ':count महिना',
+ 'm' => ':count महिना',
+ 'a_month' => ':count महिना',
+
+ 'week' => ':count सपà¥à¤¤à¤¾à¤¹',
+ 'w' => ':count सपà¥à¤¤à¤¾à¤¹',
+ 'a_week' => ':count सपà¥à¤¤à¤¾à¤¹',
+
+ 'day' => ':count दिन',
+ 'd' => ':count दिन',
+ 'a_day' => ':count दिन',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bi.php b/vendor/nesbot/carbon/src/Carbon/Lang/bi.php
new file mode 100644
index 0000000..dd08128
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bi.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/bi_VU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bi_VU.php b/vendor/nesbot/carbon/src/Carbon/Lang/bi_VU.php
new file mode 100644
index 0000000..1fe7770
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bi_VU.php
@@ -0,0 +1,53 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com & maninder1.s@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'dddd DD MMM YYYY',
+ ],
+ 'months' => ['jenuware', 'febwari', 'maj', 'epril', 'mei', 'jun', 'julae', 'ogis', 'septemba', 'oktoba', 'novemba', 'disemba'],
+ 'months_short' => ['jen', 'feb', 'maj', 'epr', 'mei', 'jun', 'jul', 'ogi', 'sep', 'okt', 'nov', 'dis'],
+ 'weekdays' => ['sande', 'mande', 'maj', 'wota', 'fraede', 'sarede'],
+ 'weekdays_short' => ['san', 'man', 'maj', 'wot', 'fra', 'sar'],
+ 'weekdays_min' => ['san', 'man', 'maj', 'wot', 'fra', 'sar'],
+
+ 'year' => ':count seven', // less reliable
+ 'y' => ':count seven', // less reliable
+ 'a_year' => ':count seven', // less reliable
+
+ 'month' => ':count mi', // less reliable
+ 'm' => ':count mi', // less reliable
+ 'a_month' => ':count mi', // less reliable
+
+ 'week' => ':count sarede', // less reliable
+ 'w' => ':count sarede', // less reliable
+ 'a_week' => ':count sarede', // less reliable
+
+ 'day' => ':count betde', // less reliable
+ 'd' => ':count betde', // less reliable
+ 'a_day' => ':count betde', // less reliable
+
+ 'hour' => ':count klok', // less reliable
+ 'h' => ':count klok', // less reliable
+ 'a_hour' => ':count klok', // less reliable
+
+ 'minute' => ':count smol', // less reliable
+ 'min' => ':count smol', // less reliable
+ 'a_minute' => ':count smol', // less reliable
+
+ 'second' => ':count tu', // less reliable
+ 's' => ':count tu', // less reliable
+ 'a_second' => ':count tu', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bm.php b/vendor/nesbot/carbon/src/Carbon/Lang/bm.php
new file mode 100644
index 0000000..92822d2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bm.php
@@ -0,0 +1,70 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Estelle Comment
+ */
+return [
+ 'year' => 'san :count',
+ 'a_year' => '{1}san kelen|san :count',
+ 'y' => 'san :count',
+ 'month' => 'kalo :count',
+ 'a_month' => '{1}kalo kelen|kalo :count',
+ 'm' => 'k. :count',
+ 'week' => 'dɔgɔkun :count',
+ 'a_week' => 'dɔgɔkun kelen',
+ 'w' => 'd. :count',
+ 'day' => 'tile :count',
+ 'd' => 't. :count',
+ 'a_day' => '{1}tile kelen|tile :count',
+ 'hour' => 'lɛrɛ :count',
+ 'a_hour' => '{1}lɛrɛ kelen|lɛrɛ :count',
+ 'h' => 'l. :count',
+ 'minute' => 'miniti :count',
+ 'a_minute' => '{1}miniti kelen|miniti :count',
+ 'min' => 'm. :count',
+ 'second' => 'sekondi :count',
+ 'a_second' => '{1}sanga dama dama|sekondi :count',
+ 's' => 'sek. :count',
+ 'ago' => 'a bÉ› :time bÉ”',
+ 'from_now' => ':time kɔnɔ',
+ 'diff_today' => 'Bi',
+ 'diff_yesterday' => 'Kunu',
+ 'diff_yesterday_regexp' => 'Kunu(?:\\s+lɛrɛ)?',
+ 'diff_tomorrow' => 'Sini',
+ 'diff_tomorrow_regexp' => 'Sini(?:\\s+lɛrɛ)?',
+ 'diff_today_regexp' => 'Bi(?:\\s+lɛrɛ)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'MMMM [tile] D [san] YYYY',
+ 'LLL' => 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
+ 'LLLL' => 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Bi lɛrɛ] LT',
+ 'nextDay' => '[Sini lɛrɛ] LT',
+ 'nextWeek' => 'dddd [don lɛrɛ] LT',
+ 'lastDay' => '[Kunu lɛrɛ] LT',
+ 'lastWeek' => 'dddd [tɛmɛnen lɛrɛ] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['Zanwuyekalo', 'Fewuruyekalo', 'Marisikalo', 'Awirilikalo', 'Mɛkalo', 'Zuwɛnkalo', 'Zuluyekalo', 'Utikalo', 'Sɛtanburukalo', 'ɔkutɔburukalo', 'Nowanburukalo', 'Desanburukalo'],
+ 'months_short' => ['Zan', 'Few', 'Mar', 'Awi', 'Mɛ', 'Zuw', 'Zul', 'Uti', 'Sɛt', 'ɔku', 'Now', 'Des'],
+ 'weekdays' => ['Kari', 'Ntɛnɛn', 'Tarata', 'Araba', 'Alamisa', 'Juma', 'Sibiri'],
+ 'weekdays_short' => ['Kar', 'NtÉ›', 'Tar', 'Ara', 'Ala', 'Jum', 'Sib'],
+ 'weekdays_min' => ['Ka', 'Nt', 'Ta', 'Ar', 'Al', 'Ju', 'Si'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' ni '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bn.php b/vendor/nesbot/carbon/src/Carbon/Lang/bn.php
new file mode 100644
index 0000000..8e14789
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bn.php
@@ -0,0 +1,100 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Shakib Hossain
+ * - Raju
+ * - Aniruddha Adhikary
+ * - JD Isaacks
+ * - Saiful Islam
+ * - Faisal Islam
+ */
+return [
+ 'year' => ':count বছর',
+ 'a_year' => 'à¦à¦• বছর|:count বছর',
+ 'y' => '১ বছর|:count বছর',
+ 'month' => ':count মাস',
+ 'a_month' => 'à¦à¦• মাস|:count মাস',
+ 'm' => '১ মাস|:count মাস',
+ 'week' => ':count সপà§à¦¤à¦¾à¦¹',
+ 'a_week' => 'à§§ সপà§à¦¤à¦¾à¦¹|:count সপà§à¦¤à¦¾à¦¹',
+ 'w' => 'à§§ সপà§à¦¤à¦¾à¦¹|:count সপà§à¦¤à¦¾à¦¹',
+ 'day' => ':count দিন',
+ 'a_day' => 'à¦à¦• দিন|:count দিন',
+ 'd' => '১ দিন|:count দিন',
+ 'hour' => ':count ঘনà§à¦Ÿà¦¾',
+ 'a_hour' => 'à¦à¦• ঘনà§à¦Ÿà¦¾|:count ঘনà§à¦Ÿà¦¾',
+ 'h' => 'à§§ ঘনà§à¦Ÿà¦¾|:count ঘনà§à¦Ÿà¦¾',
+ 'minute' => ':count মিনিট',
+ 'a_minute' => 'à¦à¦• মিনিট|:count মিনিট',
+ 'min' => '১ মিনিট|:count মিনিট',
+ 'second' => ':count সেকেনà§à¦¡',
+ 'a_second' => 'কয়েক সেকেনà§à¦¡|:count সেকেনà§à¦¡',
+ 's' => 'à§§ সেকেনà§à¦¡|:count সেকেনà§à¦¡',
+ 'ago' => ':time আগে',
+ 'from_now' => ':time পরে',
+ 'after' => ':time পরে',
+ 'before' => ':time আগে',
+ 'diff_now' => 'à¦à¦–ন',
+ 'diff_today' => 'আজ',
+ 'diff_yesterday' => 'গতকাল',
+ 'diff_tomorrow' => 'আগামীকাল',
+ 'period_recurrences' => ':count বার|:count বার',
+ 'period_interval' => 'পà§à¦°à¦¤à¦¿ :interval',
+ 'period_start_date' => ':date থেকে',
+ 'period_end_date' => ':date পরà§à¦¯à¦¨à§à¦¤',
+ 'formats' => [
+ 'LT' => 'A Oh:Om সময়',
+ 'LTS' => 'A Oh:Om:Os সময়',
+ 'L' => 'OD/OM/OY',
+ 'LL' => 'OD MMMM OY',
+ 'LLL' => 'OD MMMM OY, A Oh:Om সময়',
+ 'LLLL' => 'dddd, OD MMMM OY, A Oh:Om সময়',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[আজ] LT',
+ 'nextDay' => '[আগামীকাল] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[গতকাল] LT',
+ 'lastWeek' => '[গত] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'রাত';
+ }
+ if ($hour < 10) {
+ return 'সকাল';
+ }
+ if ($hour < 17) {
+ return 'দà§à¦ªà§à¦°';
+ }
+ if ($hour < 20) {
+ return 'বিকাল';
+ }
+
+ return 'রাত';
+ },
+ 'months' => ['জানà§à§Ÿà¦¾à¦°à§€', 'ফেবà§à¦°à§à§Ÿà¦¾à¦°à¦¿', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগসà§à¦Ÿ', 'সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°', 'অকà§à¦Ÿà§‹à¦¬à¦°', 'নà¦à§‡à¦®à§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'months_short' => ['জানà§', 'ফেব', 'মারà§à¦š', 'à¦à¦ªà§à¦°', 'মে', 'জà§à¦¨', 'জà§à¦²', 'আগ', 'সেপà§à¦Ÿ', 'অকà§à¦Ÿà§‹', 'নà¦à§‡', 'ডিসে'],
+ 'weekdays' => ['রবিবার', 'সোমবার', 'মঙà§à¦—লবার', 'বà§à¦§à¦¬à¦¾à¦°', 'বৃহসà§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°', 'শà§à¦•à§à¦°à¦¬à¦¾à¦°', 'শনিবার'],
+ 'weekdays_short' => ['রবি', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহসà§à¦ªà¦¤à¦¿', 'শà§à¦•à§à¦°', 'শনি'],
+ 'weekdays_min' => ['রবি', 'সোম', 'মঙà§à¦—', 'বà§à¦§', 'বৃহঃ', 'শà§à¦•à§à¦°', 'শনি'],
+ 'list' => [', ', ' à¦à¦¬à¦‚ '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'weekdays_standalone' => ['রবিবার', 'সোমবার', 'মঙà§à¦—লবার', 'বà§à¦§à¦¬à¦¾à¦°', 'বৃহষà§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°', 'শà§à¦•à§à¦°à¦¬à¦¾à¦°', 'শনিবার'],
+ 'weekdays_min_standalone' => ['রঃ', 'সোঃ', 'মঃ', 'বà§à¦ƒ', 'বৃঃ', 'শà§à¦ƒ', 'শনি'],
+ 'months_short_standalone' => ['জানà§à¦¯à¦¼à¦¾à¦°à§€', 'ফেবà§à¦°à§à¦¯à¦¼à¦¾à¦°à§€', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগসà§à¦Ÿ', 'সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°', 'অকà§à¦Ÿà§‹à¦¬à¦°', 'নà¦à§‡à¦®à§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'alt_numbers' => ['০', 'à§§', '২', 'à§©', '৪', 'à§«', '৬', 'à§', 'à§®', '৯'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bn_BD.php b/vendor/nesbot/carbon/src/Carbon/Lang/bn_BD.php
new file mode 100644
index 0000000..b5b28dd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bn_BD.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ankur Group, Taneem Ahmed, Jamil Ahmed
+ */
+return array_replace_recursive(require __DIR__.'/bn.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['জানà§à¦¯à¦¼à¦¾à¦°à§€', 'ফেবà§à¦°à§à¦¯à¦¼à¦¾à¦°à§€', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগসà§à¦Ÿ', 'সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°', 'অকà§à¦Ÿà§‹à¦¬à¦°', 'নà¦à§‡à¦®à§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'months_short' => ['জানà§', 'ফেব', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগসà§à¦Ÿ', 'সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°', 'অকà§à¦Ÿà§‹à¦¬à¦°', 'নà¦à§‡à¦®à§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'weekdays' => ['রবিবার', 'সোমবার', 'মঙà§à¦—লবার', 'বà§à¦§à¦¬à¦¾à¦°', 'বৃহসà§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°', 'শà§à¦•à§à¦°à¦¬à¦¾à¦°', 'শনিবার'],
+ 'weekdays_short' => ['রবি', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহঃ', 'শà§à¦•à§à¦°', 'শনি'],
+ 'weekdays_min' => ['রবি', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহঃ', 'শà§à¦•à§à¦°', 'শনি'],
+ 'first_day_of_week' => 5,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bn_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bn_IN.php
new file mode 100644
index 0000000..8b3a50e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bn_IN.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/bn.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['জানà§à¦¯à¦¼à¦¾à¦°à§€', 'ফেবà§à¦°à§à¦¯à¦¼à¦¾à¦°à§€', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগসà§à¦Ÿ', 'সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°', 'অকà§à¦Ÿà§‹à¦¬à¦°', 'নà¦à§‡à¦®à§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'months_short' => ['জানà§', 'ফেব', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগসà§à¦Ÿ', 'সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°', 'অকà§à¦Ÿà§‹à¦¬à¦°', 'নà¦à§‡à¦®à§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'weekdays' => ['রবিবার', 'সোমবার', 'মঙà§à¦—লবার', 'বà§à¦§à¦¬à¦¾à¦°', 'বৃহসà§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°', 'শà§à¦•à§à¦°à¦¬à¦¾à¦°', 'শনিবার'],
+ 'weekdays_short' => ['রবি', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহসà§à¦ªà¦¤à¦¿', 'শà§à¦•à§à¦°', 'শনি'],
+ 'weekdays_min' => ['রবি', 'সোম', 'মঙà§à¦—ল', 'বà§à¦§', 'বৃহসà§à¦ªà¦¤à¦¿', 'শà§à¦•à§à¦°', 'শনি'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bo.php b/vendor/nesbot/carbon/src/Carbon/Lang/bo.php
new file mode 100644
index 0000000..99e1bf4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bo.php
@@ -0,0 +1,71 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ */
+return [
+ 'year' => '{1}ལོ་གཅིག|]1,Inf[:count ལོ',
+ 'month' => '{1}ཟླ་བ་གཅིག|]1,Inf[:count ཟླ་བ',
+ 'week' => ':count བདུན་ཕྲག',
+ 'day' => '{1}ཉིན་གཅིག|]1,Inf[:count ཉིན་',
+ 'hour' => '{1}ཆུ་ཚོད་གཅིག|]1,Inf[:count ཆུ་ཚོད',
+ 'minute' => '{1}སà¾à½¢à¼‹à½˜à¼‹à½‚ཅིག|]1,Inf[:count སà¾à½¢à¼‹à½˜',
+ 'second' => '{1}ལམ་སང|]1,Inf[:count སà¾à½¢à¼‹à½†à¼',
+ 'ago' => ':time སྔན་ལ',
+ 'from_now' => ':time ལ་',
+ 'diff_yesterday' => 'à½à¼‹à½¦à½„',
+ 'diff_today' => 'དི་རིང',
+ 'diff_tomorrow' => 'སང་ཉིན',
+ 'formats' => [
+ 'LT' => 'A h:mm',
+ 'LTS' => 'A h:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[དི་རིང] LT',
+ 'nextDay' => '[སང་ཉིན] LT',
+ 'nextWeek' => '[བདུན་ཕྲག་རྗེས་མ], LT',
+ 'lastDay' => '[à½à¼‹à½¦à½„] LT',
+ 'lastWeek' => '[བདུན་ཕྲག་མà½à½ ་མ] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'མཚན་མོ';
+ }
+ if ($hour < 10) {
+ return 'ཞོགས་ཀས';
+ }
+ if ($hour < 17) {
+ return 'ཉིན་གུང';
+ }
+ if ($hour < 20) {
+ return 'དགོང་དག';
+ }
+
+ return 'མཚན་མོ';
+ },
+ 'months' => ['ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ'],
+ 'months_short' => ['ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ'],
+ 'weekdays' => ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'],
+ 'weekdays_short' => ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ', 'པ་སངས་', 'སྤེན་པ་'],
+ 'weekdays_min' => ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ', 'པ་སངས་', 'སྤེན་པ་'],
+ 'list' => [', ', ' ཨནད་ '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'months_standalone' => ['ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php
new file mode 100644
index 0000000..380abb1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/bo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php
new file mode 100644
index 0000000..ca50d04
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/bo.php', [
+ 'meridiem' => ['སྔ་དྲོ་', 'ཕྱི་དྲོ་'],
+ 'weekdays' => ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'],
+ 'weekdays_short' => ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'],
+ 'weekdays_min' => ['ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་'],
+ 'months' => ['ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', 'ཟླ་བ་བཅུ་གཅིག་པ', 'ཟླ་བ་བཅུ་གཉིས་པ'],
+ 'months_short' => ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'],
+ 'months_standalone' => ['ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་'],
+ 'weekend' => [0, 0],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'YYYY ལོའི་MMMཚེས་D',
+ 'LLL' => 'སྤྱི་ལོ་YYYY MMMMའི་ཚེས་D h:mm a',
+ 'LLLL' => 'YYYY MMMMའི་ཚེས་D, dddd h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/br.php b/vendor/nesbot/carbon/src/Carbon/Lang/br.php
new file mode 100644
index 0000000..583472f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/br.php
@@ -0,0 +1,76 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Serhan Apaydın
+ * - JD Isaacks
+ */
+return [
+ 'year' => '{1}:count bloaz|{3,4,5,9}:count bloaz|[0,Inf[:count vloaz',
+ 'a_year' => '{1}ur bloaz|{3,4,5,9}:count bloaz|[0,Inf[:count vloaz',
+ 'month' => '{1}:count miz|{2}:count viz|[0,Inf[:count miz',
+ 'a_month' => '{1}ur miz|{2}:count viz|[0,Inf[:count miz',
+ 'week' => ':count sizhun',
+ 'a_week' => '{1}ur sizhun|:count sizhun',
+ 'day' => '{1}:count devezh|{2}:count zevezh|[0,Inf[:count devezh',
+ 'a_day' => '{1}un devezh|{2}:count zevezh|[0,Inf[:count devezh',
+ 'hour' => ':count eur',
+ 'a_hour' => '{1}un eur|:count eur',
+ 'minute' => '{1}:count vunutenn|{2}:count vunutenn|[0,Inf[:count munutenn',
+ 'a_minute' => '{1}ur vunutenn|{2}:count vunutenn|[0,Inf[:count munutenn',
+ 'second' => ':count eilenn',
+ 'a_second' => '{1}un nebeud segondennoù|[0,Inf[:count eilenn',
+ 'ago' => ':time \'zo',
+ 'from_now' => 'a-benn :time',
+ 'diff_now' => 'bremañ',
+ 'diff_today' => 'Hiziv',
+ 'diff_today_regexp' => 'Hiziv(?:\\s+da)?',
+ 'diff_yesterday' => 'decʼh',
+ 'diff_yesterday_regexp' => 'Dec\'h(?:\\s+da)?',
+ 'diff_tomorrow' => 'warcʼhoazh',
+ 'diff_tomorrow_regexp' => 'Warc\'hoazh(?:\\s+da)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D [a viz] MMMM YYYY',
+ 'LLL' => 'D [a viz] MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D [a viz] MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Hiziv da] LT',
+ 'nextDay' => '[Warc\'hoazh da] LT',
+ 'nextWeek' => 'dddd [da] LT',
+ 'lastDay' => '[Dec\'h da] LT',
+ 'lastWeek' => 'dddd [paset da] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ return $number.($number === 1 ? 'añ' : 'vet');
+ },
+ 'months' => ['Genver', 'C\'hwevrer', 'Meurzh', 'Ebrel', 'Mae', 'Mezheven', 'Gouere', 'Eost', 'Gwengolo', 'Here', 'Du', 'Kerzu'],
+ 'months_short' => ['Gen', 'C\'hwe', 'Meu', 'Ebr', 'Mae', 'Eve', 'Gou', 'Eos', 'Gwe', 'Her', 'Du', 'Ker'],
+ 'weekdays' => ['Sul', 'Lun', 'Meurzh', 'Merc\'her', 'Yaou', 'Gwener', 'Sadorn'],
+ 'weekdays_short' => ['Sul', 'Lun', 'Meu', 'Mer', 'Yao', 'Gwe', 'Sad'],
+ 'weekdays_min' => ['Su', 'Lu', 'Me', 'Mer', 'Ya', 'Gw', 'Sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' hag '],
+ 'meridiem' => ['A.M.', 'G.M.'],
+
+ 'y' => ':count bl.',
+ 'd' => ':count d',
+ 'h' => ':count e',
+ 'min' => ':count min',
+ 's' => ':count s',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php
new file mode 100644
index 0000000..7f54185
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/br.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/brx.php b/vendor/nesbot/carbon/src/Carbon/Lang/brx.php
new file mode 100644
index 0000000..a0a7bf9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/brx.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/brx_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/brx_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/brx_IN.php
new file mode 100644
index 0000000..2d80ced
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/brx_IN.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'M/D/YY',
+ ],
+ 'months' => ['जानà¥à¤µà¤¾à¤°à¥€', 'फेबà¥à¤°à¥à¤µà¤¾à¤°à¥€', 'मारà¥à¤¸', 'à¤à¤«à¥à¤°à¤¿à¤²', 'मे', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤‡', 'आगसà¥à¤¥', 'सेबथेजà¥à¤¬à¤¼à¤°', 'अखथबर', 'नबेजà¥à¤¬à¤¼à¤°', 'दिसेजà¥à¤¬à¤¼à¤°'],
+ 'months_short' => ['जानà¥à¤µà¤¾à¤°à¥€', 'फेबà¥à¤°à¥à¤µà¤¾à¤°à¥€', 'मारà¥à¤¸', 'à¤à¤ªà¥à¤°à¤¿à¤²', 'मे', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤‡', 'आगसà¥à¤¥', 'सेबथेजà¥à¤¬à¤¼à¤°', 'अखथबर', 'नबेजà¥à¤¬à¤¼à¤°', 'दिसेजà¥à¤¬à¤¼à¤°'],
+ 'weekdays' => ['रबिबार', 'सोबार', 'मंगलबार', 'बà¥à¤¦à¤¬à¤¾à¤°', 'बिसथिबार', 'सà¥à¤–à¥à¤°à¤¬à¤¾à¤°', 'सà¥à¤¨à¤¿à¤¬à¤¾à¤°'],
+ 'weekdays_short' => ['रबि', 'सम', 'मंगल', 'बà¥à¤¦', 'बिसथि', 'सà¥à¤–à¥à¤°', 'सà¥à¤¨à¤¿'],
+ 'weekdays_min' => ['रबि', 'सम', 'मंगल', 'बà¥à¤¦', 'बिसथि', 'सà¥à¤–à¥à¤°', 'सà¥à¤¨à¤¿'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['फà¥à¤‚.', 'बेलासे.'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs.php
new file mode 100644
index 0000000..e5d6808
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs.php
@@ -0,0 +1,97 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bokideckonja
+ * - Josh Soref
+ * - François B
+ * - shaishavgandhi05
+ * - Serhan Apaydın
+ * - JD Isaacks
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count godina|:count godine|:count godina',
+ 'y' => ':count godina|:count godine|:count godina',
+ 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
+ 'm' => ':count mjesec|:count mjeseca|:count mjeseci',
+ 'week' => ':count sedmice|:count sedmicu|:count sedmica',
+ 'w' => ':count sedmice|:count sedmicu|:count sedmica',
+ 'day' => ':count dan|:count dana|:count dana',
+ 'd' => ':count dan|:count dana|:count dana',
+ 'hour' => ':count sat|:count sata|:count sati',
+ 'h' => ':count sat|:count sata|:count sati',
+ 'minute' => ':count minut|:count minuta|:count minuta',
+ 'min' => ':count minut|:count minuta|:count minuta',
+ 'second' => ':count sekund|:count sekunda|:count sekundi',
+ 's' => ':count sekund|:count sekunda|:count sekundi',
+ 'ago' => 'prije :time',
+ 'from_now' => 'za :time',
+ 'after' => 'nakon :time',
+ 'before' => ':time ranije',
+ 'diff_now' => 'sada',
+ 'diff_today' => 'danas',
+ 'diff_today_regexp' => 'danas(?:\\s+u)?',
+ 'diff_yesterday' => 'juÄer',
+ 'diff_yesterday_regexp' => 'juÄer(?:\\s+u)?',
+ 'diff_tomorrow' => 'sutra',
+ 'diff_tomorrow_regexp' => 'sutra(?:\\s+u)?',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[danas u] LT',
+ 'nextDay' => '[sutra u] LT',
+ 'nextWeek' => function (CarbonInterface $current) {
+ switch ($current->dayOfWeek) {
+ case 0:
+ return '[u] [nedjelju] [u] LT';
+ case 3:
+ return '[u] [srijedu] [u] LT';
+ case 6:
+ return '[u] [subotu] [u] LT';
+ default:
+ return '[u] dddd [u] LT';
+ }
+ },
+ 'lastDay' => '[juÄer u] LT',
+ 'lastWeek' => function (CarbonInterface $current) {
+ switch ($current->dayOfWeek) {
+ case 0:
+ case 3:
+ return '[prošlu] dddd [u] LT';
+ case 6:
+ return '[prošle] [subote] [u] LT';
+ default:
+ return '[prošli] dddd [u] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', 'novembar', 'decembar'],
+ 'months_short' => ['jan.', 'feb.', 'mar.', 'apr.', 'maj.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
+ 'weekdays' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'Äetvrtak', 'petak', 'subota'],
+ 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', 'Äet.', 'pet.', 'sub.'],
+ 'weekdays_min' => ['ne', 'po', 'ut', 'sr', 'Äe', 'pe', 'su'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' i '],
+ 'meridiem' => ['prijepodne', 'popodne'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
new file mode 100644
index 0000000..0a59117
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/bs.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php
new file mode 100644
index 0000000..e1a1744
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/bs.php', [
+ 'meridiem' => ['пре подне', 'поподне'],
+ 'weekdays' => ['недјеља', 'понедјељак', 'уторак', 'Ñриједа', 'четвртак', 'петак', 'Ñубота'],
+ 'weekdays_short' => ['нед', 'пон', 'уто', 'Ñри', 'чет', 'пет', 'Ñуб'],
+ 'weekdays_min' => ['нед', 'пон', 'уто', 'Ñри', 'чет', 'пет', 'Ñуб'],
+ 'months' => ['јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', 'јули', 'аугуÑÑ‚', 'Ñептембар', 'октобар', 'новембар', 'децембар'],
+ 'months_short' => ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'ауг', 'Ñеп', 'окт', 'нов', 'дец'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D.M.YYYY.',
+ 'LL' => 'DD.MM.YYYY.',
+ 'LLL' => 'DD. MMMM YYYY. HH:mm',
+ 'LLLL' => 'dddd, DD. MMMM YYYY. HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php
new file mode 100644
index 0000000..b4e363e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/bs.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/byn.php b/vendor/nesbot/carbon/src/Carbon/Lang/byn.php
new file mode 100644
index 0000000..7125f3d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/byn.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/byn_ER.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/byn_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/byn_ER.php
new file mode 100644
index 0000000..ad67533
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/byn_ER.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['áˆá‹°á‰µáˆª', 'ካብኽብቲ', 'áŠá‰¥áˆ‹', 'á‹áŒ…ኺሪ', 'áŠá‰¢á‰…ሪ', 'áˆáŠªáŠ¤áˆ á‰µáŒ“Ì…áŠ’áˆª', 'ኰáˆáŠ©', 'ማáˆá‹«áˆ ትሪ', 'ያኸኒ መሳቅለሪ', 'መተሉ', 'áˆáŠªáŠ¤áˆ áˆ˜áˆ½á‹ˆáˆª', 'ተሕሳስሪ'],
+ 'months_short' => ['áˆá‹°á‰µ', 'ካብኽ', 'áŠá‰¥áˆ‹', 'á‹áŒ…ኺ', 'áŠá‰¢á‰…', 'áˆ/ት', 'ኰáˆ', 'ማáˆá‹«', 'ያኸኒ', 'መተሉ', 'áˆ/áˆ', 'ተሕሳ'],
+ 'weekdays' => ['ሰንበሠቅዳዅ', 'ሰኑ', 'ሰሊáŒ', 'ለጓ ወሪ ለብዋ', 'ኣáˆá‹µ', 'ኣáˆá‰¥', 'ሰንበሠሽጓዅ'],
+ 'weekdays_short' => ['ሰ/ቅ', 'ሰኑ', 'ሰሊáŒ', 'ለጓ', 'ኣáˆá‹µ', 'ኣáˆá‰¥', 'ሰ/ሽ'],
+ 'weekdays_min' => ['ሰ/ቅ', 'ሰኑ', 'ሰሊáŒ', 'ለጓ', 'ኣáˆá‹µ', 'ኣáˆá‰¥', 'ሰ/ሽ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['á‹á‹±áˆµ ጃብ', 'á‹á‹±áˆµ á‹°áˆá‰¢'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca.php
new file mode 100644
index 0000000..b8b1994
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca.php
@@ -0,0 +1,117 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - mestremuten
+ * - François B
+ * - Marc Ordinas i Llopis
+ * - Pere Orga
+ * - JD Isaacks
+ * - QuentÃ
+ * - VÃctor DÃaz
+ * - Xavi
+ * - qcardona
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count any|:count anys',
+ 'a_year' => 'un any|:count anys',
+ 'y' => ':count any|:count anys',
+ 'month' => ':count mes|:count mesos',
+ 'a_month' => 'un mes|:count mesos',
+ 'm' => ':count mes|:count mesos',
+ 'week' => ':count setmana|:count setmanes',
+ 'a_week' => 'una setmana|:count setmanes',
+ 'w' => ':count setmana|:count setmanes',
+ 'day' => ':count dia|:count dies',
+ 'a_day' => 'un dia|:count dies',
+ 'd' => ':count d',
+ 'hour' => ':count hora|:count hores',
+ 'a_hour' => 'una hora|:count hores',
+ 'h' => ':count h',
+ 'minute' => ':count minut|:count minuts',
+ 'a_minute' => 'un minut|:count minuts',
+ 'min' => ':count min',
+ 'second' => ':count segon|:count segons',
+ 'a_second' => 'uns segons|:count segons',
+ 's' => ':count s',
+ 'ago' => 'fa :time',
+ 'from_now' => 'd\'aquà a :time',
+ 'after' => ':time després',
+ 'before' => ':time abans',
+ 'diff_now' => 'ara mateix',
+ 'diff_today' => 'avui',
+ 'diff_today_regexp' => 'avui(?:\\s+a)?(?:\\s+les)?',
+ 'diff_yesterday' => 'ahir',
+ 'diff_yesterday_regexp' => 'ahir(?:\\s+a)?(?:\\s+les)?',
+ 'diff_tomorrow' => 'demà ',
+ 'diff_tomorrow_regexp' => 'demà (?:\\s+a)?(?:\\s+les)?',
+ 'diff_before_yesterday' => 'abans d\'ahir',
+ 'diff_after_tomorrow' => 'demà passat',
+ 'period_recurrences' => ':count cop|:count cops',
+ 'period_interval' => 'cada :interval',
+ 'period_start_date' => 'de :date',
+ 'period_end_date' => 'fins a :date',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM [de] YYYY',
+ 'LLL' => 'D MMMM [de] YYYY [a les] H:mm',
+ 'LLLL' => 'dddd D MMMM [de] YYYY [a les] H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => function (CarbonInterface $current) {
+ return '[avui a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
+ },
+ 'nextDay' => function (CarbonInterface $current) {
+ return '[demà a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
+ },
+ 'nextWeek' => function (CarbonInterface $current) {
+ return 'dddd [a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
+ },
+ 'lastDay' => function (CarbonInterface $current) {
+ return '[ahir a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
+ },
+ 'lastWeek' => function (CarbonInterface $current) {
+ return '[el] dddd [passat a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ return $number.(
+ ($period === 'w' || $period === 'W') ? 'a' : (
+ ($number === 1) ? 'r' : (
+ ($number === 2) ? 'n' : (
+ ($number === 3) ? 'r' : (
+ ($number === 4) ? 't' : 'è'
+ )
+ )
+ )
+ )
+ );
+ },
+ 'months' => ['de gener', 'de febrer', 'de març', 'd\'abril', 'de maig', 'de juny', 'de juliol', 'd\'agost', 'de setembre', 'd\'octubre', 'de novembre', 'de desembre'],
+ 'months_standalone' => ['gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', 'novembre', 'desembre'],
+ 'months_short' => ['de gen.', 'de febr.', 'de març', 'd\'abr.', 'de maig', 'de juny', 'de jul.', 'd\'ag.', 'de set.', 'd\'oct.', 'de nov.', 'de des.'],
+ 'months_short_standalone' => ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'],
+ 'months_regexp' => '/(D[oD]?[\s,]+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'],
+ 'weekdays_short' => ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'],
+ 'weekdays_min' => ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' i '],
+ 'meridiem' => ['a. m.', 'p. m.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php
new file mode 100644
index 0000000..861acd2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ca.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php
new file mode 100644
index 0000000..5004978
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ca.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php
new file mode 100644
index 0000000..1c16421
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php
@@ -0,0 +1,23 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'ca');
+ }, 'ca_ES_Valencia');
+}
+// @codeCoverageIgnoreEnd
+
+return array_replace_recursive(require __DIR__.'/ca.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php
new file mode 100644
index 0000000..861acd2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ca.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php
new file mode 100644
index 0000000..861acd2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ca.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php b/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php
new file mode 100644
index 0000000..99c1dca
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['𑄢𑄧ð‘„𑄨ð‘„𑄢𑄴', '𑄥𑄧𑄟𑄴ð‘„𑄢𑄴', 'ð‘„Ÿð‘„§ð‘„𑄉𑄧𑄣𑄴ð‘„𑄢𑄴', 'ð‘„𑄪𑄖𑄴ð‘„𑄢𑄴', 'ð‘„𑄳𑄢𑄨𑄥𑄪𑄛𑄴ð‘„𑄢𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴ð‘„𑄢𑄴', '𑄥𑄧𑄚𑄨ð‘„𑄢𑄴'],
+ 'weekdays_short' => ['𑄢𑄧ð‘„𑄨', '𑄥𑄧𑄟𑄴', 'ð‘„Ÿð‘„§ð‘„𑄉𑄧𑄣𑄴', 'ð‘„𑄪𑄖𑄴', 'ð‘„𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'],
+ 'weekdays_min' => ['𑄢𑄧ð‘„𑄨', '𑄥𑄧𑄟𑄴', 'ð‘„Ÿð‘„§ð‘„𑄉𑄧𑄣𑄴', 'ð‘„𑄪𑄖𑄴', 'ð‘„𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'],
+ 'months' => ['𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴ð‘„𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣ð‘„', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴ð‘„𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄬ð‘„𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴ð‘„𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴ð‘„𑄧𑄢𑄴'],
+ 'months_short' => ['𑄎𑄚𑄪', '𑄜𑄬𑄛𑄴', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣ð‘„', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴ð‘„𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮ð‘„𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴ð‘„𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴ð‘„𑄢𑄴'],
+ 'months_short_standalone' => ['𑄎𑄚𑄪𑄠𑄢𑄨', '𑄜𑄬𑄛𑄴ð‘„𑄳𑄢𑄪𑄠𑄢𑄨', '𑄟𑄢𑄴𑄌𑄧', '𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴', '𑄟𑄬', '𑄎𑄪𑄚𑄴', '𑄎𑄪𑄣ð‘„', '𑄃𑄉𑄧𑄌𑄴𑄑𑄴', '𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴ð‘„𑄧𑄢𑄴', '𑄃𑄧𑄇𑄴𑄑𑄮ð‘„𑄧𑄢𑄴', '𑄚𑄧𑄞𑄬𑄟𑄴ð‘„𑄧𑄢𑄴', '𑄓𑄨𑄥𑄬𑄟𑄴ð‘„𑄧𑄢𑄴'],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM, YYYY h:mm a',
+ 'LLLL' => 'dddd, D MMMM, YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php
new file mode 100644
index 0000000..c1fa8af
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ccp.php', [
+ 'weekend' => [0, 0],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ce.php b/vendor/nesbot/carbon/src/Carbon/Lang/ce.php
new file mode 100644
index 0000000..f99f6ff
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ce.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ce_RU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ce_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/ce_RU.php
new file mode 100644
index 0000000..f769856
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ce_RU.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - ANCHR
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY.DD.MM',
+ ],
+ 'months' => ['Январь', 'Февраль', 'Март', 'Ðпрель', 'Май', 'Июнь', 'Июль', 'ÐвгуÑÑ‚', 'СентÑбрь', 'ОктÑбрь', 'ÐоÑбрь', 'Декабрь'],
+ 'months_short' => ['Ñнв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'weekdays' => ['КӀиранан де', 'Оршотан де', 'Шинарин де', 'Кхаарин де', 'Еарин де', 'ПӀераÑкан де', 'Шот де'],
+ 'weekdays_short' => ['КӀ', 'Ор', 'Ши', 'Кх', 'Еа', 'ПӀ', 'Шо'],
+ 'weekdays_min' => ['КӀ', 'Ор', 'Ши', 'Кх', 'Еа', 'ПӀ', 'Шо'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count шо',
+ 'y' => ':count шо',
+ 'a_year' => ':count шо',
+
+ 'month' => ':count бутт',
+ 'm' => ':count бутт',
+ 'a_month' => ':count бутт',
+
+ 'week' => ':count кÓира',
+ 'w' => ':count кÓира',
+ 'a_week' => ':count кÓира',
+
+ 'day' => ':count де',
+ 'd' => ':count де',
+ 'a_day' => ':count де',
+
+ 'hour' => ':count Ñахьт',
+ 'h' => ':count Ñахьт',
+ 'a_hour' => ':count Ñахьт',
+
+ 'minute' => ':count минот',
+ 'min' => ':count минот',
+ 'a_minute' => ':count минот',
+
+ 'second' => ':count Ñекунд',
+ 's' => ':count Ñекунд',
+ 'a_second' => ':count Ñекунд',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php b/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php
new file mode 100644
index 0000000..09bcc1c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', 'Orwamukaaga'],
+ 'weekdays_short' => ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'],
+ 'weekdays_min' => ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'],
+ 'months' => ['Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', 'Okwaikumi na ibiri'],
+ 'months_short' => ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'day' => ':count ruhanga', // less reliable
+ 'd' => ':count ruhanga', // less reliable
+ 'a_day' => ':count ruhanga', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/chr.php b/vendor/nesbot/carbon/src/Carbon/Lang/chr.php
new file mode 100644
index 0000000..e26190f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/chr.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/chr_US.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/chr_US.php b/vendor/nesbot/carbon/src/Carbon/Lang/chr_US.php
new file mode 100644
index 0000000..371353e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/chr_US.php
@@ -0,0 +1,58 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Cherokee Nation Joseph Erb josepherb7@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'MM/DD/YYYY',
+ ],
+ 'months' => ['Ꭴáƒáޏá”á…', 'ᎧᎦᎵ', 'Ꭰá…á±', 'Ꭷá¬á‚', 'Ꭰá‚áᎬá˜', 'á•áŽáŽ·á±', 'Ꭻá°á‰á‚', 'ᎦᎶá‚', 'ášá޵áá—', 'ášá‚á…á—', 'á…á“á•á†', 'ᎥáᎩá±'],
+ 'months_short' => ['Ꭴáƒ', 'ᎧᎦ', 'Ꭰá…', 'Ꭷá¬', 'Ꭰá‚', 'á•áŽ', 'Ꭻá°', 'ᎦᎶ', 'ášá޵', 'ášá‚', 'á…á“', 'Ꭵá'],
+ 'weekdays' => ['ᎤᎾá™á“á†áᎬ', 'ᎤᎾá™á“á‰á…Ꭿ', 'á”ᎵáᎢᎦ', 'á¦áŽ¢áᎢᎦ', 'á…ᎩáᎢᎦ', 'á§áŽ¾áŽ©áŽ¶áá—', 'ᎤᎾá™á“áˆá•Ꮎ'],
+ 'weekdays_short' => ['á†áᎬ', 'á‰á…Ꭿ', 'á”Ꮅá', 'á¦áŽ¢á', 'á…Ꭹá', 'á§áŽ¾áŽ©', 'áˆá•Ꮎ'],
+ 'weekdays_min' => ['á†áᎬ', 'á‰á…Ꭿ', 'á”Ꮅá', 'á¦áŽ¢á', 'á…Ꭹá', 'á§áŽ¾áŽ©', 'áˆá•Ꮎ'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['áŒáŽ¾áŽ´', 'á’Ꭿá±áŽ¢á—á¢', 'ꮜꮎꮄ', 'ꮢê¿á¹ê²ê®§ê®²'],
+
+ 'second' => ':count áᎢ', // less reliable
+ 's' => ':count áᎢ', // less reliable
+ 'a_second' => ':count áᎢ', // less reliable
+
+ 'year' => ':count á‘á•á˜á´á“',
+ 'y' => ':count á‘á•á˜á´á“',
+ 'a_year' => ':count á‘á•á˜á´á“',
+
+ 'month' => ':count áá…á™',
+ 'm' => ':count áá…á™',
+ 'a_month' => ':count áá…á™',
+
+ 'week' => ':count á‘Ꮎá™á“á†áá—',
+ 'w' => ':count á‘Ꮎá™á“á†áá—',
+ 'a_week' => ':count á‘Ꮎá™á“á†áá—',
+
+ 'day' => ':count ᎢᎦ',
+ 'd' => ':count ᎢᎦ',
+ 'a_day' => ':count ᎢᎦ',
+
+ 'hour' => ':count á‘áŸá޶á›',
+ 'h' => ':count á‘áŸá޶á›',
+ 'a_hour' => ':count á‘áŸá޶á›',
+
+ 'minute' => ':count Ꭲá¯á”á¬áá”á…',
+ 'min' => ':count Ꭲá¯á”á¬áá”á…',
+ 'a_minute' => ':count Ꭲá¯á”á¬áá”á…',
+
+ 'ago' => ':time á¥áލá’',
+ 'from_now' => 'ᎾᎿ :time',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ckb.php b/vendor/nesbot/carbon/src/Carbon/Lang/ckb.php
new file mode 100644
index 0000000..acf4dc2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ckb.php
@@ -0,0 +1,89 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Swara Mohammed
+ */
+$months = [
+ 'ڕێبەندان',
+ 'Ú•Û•Ø´Û•Ù…Û•',
+ 'نەورۆز',
+ 'گوڵان',
+ 'جۆزەردان',
+ 'پوشپەڕ',
+ 'گەلاوێژ',
+ 'خەرمانان',
+ 'ڕەزبەر',
+ 'گەڵاڕێزان',
+ 'سەرماوەرز',
+ 'Ø¨Û•ÙØ±Ø§Ù†Ø¨Ø§Ø±',
+];
+
+return [
+ 'year' => implode('|', ['{0}:count ساڵێک', '{1}ساڵێک', '{2}دوو ساڵ', ']2,11[:count ساڵ', ']10,Inf[:count ساڵ']),
+ 'a_year' => implode('|', ['{0}:count ساڵێک', '{1}ساڵێک', '{2}دوو ساڵ', ']2,11[:count ساڵ', ']10,Inf[:count ساڵ']),
+ 'month' => implode('|', ['{0}:count مانگێک', '{1}مانگێک', '{2}دوو مانگ', ']2,11[:count مانگ', ']10,Inf[:count مانگ']),
+ 'a_month' => implode('|', ['{0}:count مانگێک', '{1}مانگێک', '{2}دوو مانگ', ']2,11[:count مانگ', ']10,Inf[:count مانگ']),
+ 'week' => implode('|', ['{0}:count Ù‡Û•ÙØªÛ•یەک', '{1}Ù‡Û•ÙØªÛ•یەک', '{2}دوو Ù‡Û•ÙØªÛ•', ']2,11[:count Ù‡Û•ÙØªÛ•', ']10,Inf[:count Ù‡Û•ÙØªÛ•']),
+ 'a_week' => implode('|', ['{0}:count Ù‡Û•ÙØªÛ•یەک', '{1}Ù‡Û•ÙØªÛ•یەک', '{2}دوو Ù‡Û•ÙØªÛ•', ']2,11[:count Ù‡Û•ÙØªÛ•', ']10,Inf[:count Ù‡Û•ÙØªÛ•']),
+ 'day' => implode('|', ['{0}:count ڕۆژێک', '{1}ڕۆژێک', '{2}دوو ڕۆژ', ']2,11[:count ڕۆژ', ']10,Inf[:count ڕۆژ']),
+ 'a_day' => implode('|', ['{0}:count ڕۆژێک', '{1}ڕۆژێک', '{2}دوو ڕۆژ', ']2,11[:count ڕۆژ', ']10,Inf[:count ڕۆژ']),
+ 'hour' => implode('|', ['{0}:count کاتژمێرێک', '{1}کاتژمێرێک', '{2}دوو کاتژمێر', ']2,11[:count کاتژمێر', ']10,Inf[:count کاتژمێر']),
+ 'a_hour' => implode('|', ['{0}:count کاتژمێرێک', '{1}کاتژمێرێک', '{2}دوو کاتژمێر', ']2,11[:count کاتژمێر', ']10,Inf[:count کاتژمێر']),
+ 'minute' => implode('|', ['{0}:count خولەکێک', '{1}خولەکێک', '{2}دوو خولەک', ']2,11[:count خولەک', ']10,Inf[:count خولەک']),
+ 'a_minute' => implode('|', ['{0}:count خولەکێک', '{1}خولەکێک', '{2}دوو خولەک', ']2,11[:count خولەک', ']10,Inf[:count خولەک']),
+ 'second' => implode('|', ['{0}:count چرکەیەک', '{1}چرکەیەک', '{2}دوو چرکە', ']2,11[:count چرکە', ']10,Inf[:count چرکە']),
+ 'a_second' => implode('|', ['{0}:count چرکەیەک', '{1}چرکەیەک', '{2}دوو چرکە', ']2,11[:count چرکە', ']10,Inf[:count چرکە']),
+ 'ago' => 'Ù¾ÛŽØ´ :time',
+ 'from_now' => ':time لە ئێستاوە',
+ 'after' => 'دوای :time',
+ 'before' => 'Ù¾ÛŽØ´ :time',
+ 'diff_now' => 'ئێستا',
+ 'diff_today' => 'ئەمڕۆ',
+ 'diff_today_regexp' => 'ڕۆژ(?:\\s+لە)?(?:\\s+کاتژمێر)?',
+ 'diff_yesterday' => 'دوێنێ',
+ 'diff_yesterday_regexp' => 'دوێنێ(?:\\s+لە)?(?:\\s+کاتژمێر)?',
+ 'diff_tomorrow' => 'سبەینێ',
+ 'diff_tomorrow_regexp' => 'سبەینێ(?:\\s+لە)?(?:\\s+کاتژمێر)?',
+ 'diff_before_yesterday' => 'پێش دوێنێ',
+ 'diff_after_tomorrow' => 'دوای سبەینێ',
+ 'period_recurrences' => implode('|', ['{0}جار', '{1}جار', '{2}:count دووجار', ']2,11[:count جار', ']10,Inf[:count جار']),
+ 'period_interval' => 'هەموو :interval',
+ 'period_start_date' => 'Ù„Û• :date',
+ 'period_end_date' => 'بۆ :date',
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'هەینی', 'شەممە'],
+ 'weekdays_short' => ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'هەینی', 'شەممە'],
+ 'weekdays_min' => ['یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', 'پێنجشەممە', 'هەینی', 'شەممە'],
+ 'list' => ['، ', ' و '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ئەمڕۆ لە کاتژمێر] LT',
+ 'nextDay' => '[سبەینێ لە کاتژمێر] LT',
+ 'nextWeek' => 'dddd [لە کاتژمێر] LT',
+ 'lastDay' => '[دوێنێ لە کاتژمێر] LT',
+ 'lastWeek' => 'dddd [لە کاتژمێر] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['پ.ن', 'د.ن'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cmn.php b/vendor/nesbot/carbon/src/Carbon/Lang/cmn.php
new file mode 100644
index 0000000..80b1d69
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cmn.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/cmn_TW.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cmn_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/cmn_TW.php
new file mode 100644
index 0000000..7e43f9d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cmn_TW.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY年MM月DD號',
+ ],
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => [' 1月', ' 2月', ' 3月', ' 4月', ' 5月', ' 6月', ' 7月', ' 8月', ' 9月', '10月', '11月', '12月'],
+ 'weekdays' => ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期å…'],
+ 'weekdays_short' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'meridiem' => ['上åˆ', '下åˆ'],
+
+ 'year' => ':count å¹´',
+ 'y' => ':count å¹´',
+ 'a_year' => ':count å¹´',
+
+ 'month' => ':count 月',
+ 'm' => ':count 月',
+ 'a_month' => ':count 月',
+
+ 'week' => ':count 周',
+ 'w' => ':count 周',
+ 'a_week' => ':count 周',
+
+ 'day' => ':count 白天',
+ 'd' => ':count 白天',
+ 'a_day' => ':count 白天',
+
+ 'hour' => ':count å°æ—¶',
+ 'h' => ':count å°æ—¶',
+ 'a_hour' => ':count å°æ—¶',
+
+ 'minute' => ':count 分钟',
+ 'min' => ':count 分钟',
+ 'a_minute' => ':count 分钟',
+
+ 'second' => ':count ç§’',
+ 's' => ':count ç§’',
+ 'a_second' => ':count ç§’',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/crh.php b/vendor/nesbot/carbon/src/Carbon/Lang/crh.php
new file mode 100644
index 0000000..a1d7ce6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/crh.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/crh_UA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/crh_UA.php b/vendor/nesbot/carbon/src/Carbon/Lang/crh_UA.php
new file mode 100644
index 0000000..0513933
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/crh_UA.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - ReÅŸat SABIQ tilde.birlik@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'Mayıs', 'İyun', 'İyul', 'Avgust', 'Sentâbr', 'Oktâbr', 'Noyabr', 'Dekabr'],
+ 'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'],
+ 'weekdays' => ['Bazar', 'Bazarertesi', 'Salı', 'Çarşembe', 'Cumaaqşamı', 'Cuma', 'Cumaertesi'],
+ 'weekdays_short' => ['Baz', 'Ber', 'Sal', 'Çar', 'Caq', 'Cum', 'Cer'],
+ 'weekdays_min' => ['Baz', 'Ber', 'Sal', 'Çar', 'Caq', 'Cum', 'Cer'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ÜE', 'ÜS'],
+
+ 'year' => ':count yıl',
+ 'y' => ':count yıl',
+ 'a_year' => ':count yıl',
+
+ 'month' => ':count ay',
+ 'm' => ':count ay',
+ 'a_month' => ':count ay',
+
+ 'week' => ':count afta',
+ 'w' => ':count afta',
+ 'a_week' => ':count afta',
+
+ 'day' => ':count kün',
+ 'd' => ':count kün',
+ 'a_day' => ':count kün',
+
+ 'hour' => ':count saat',
+ 'h' => ':count saat',
+ 'a_hour' => ':count saat',
+
+ 'minute' => ':count daqqa',
+ 'min' => ':count daqqa',
+ 'a_minute' => ':count daqqa',
+
+ 'second' => ':count ekinci',
+ 's' => ':count ekinci',
+ 'a_second' => ':count ekinci',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cs.php b/vendor/nesbot/carbon/src/Carbon/Lang/cs.php
new file mode 100644
index 0000000..c01e3cc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cs.php
@@ -0,0 +1,123 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Jakub Tesinsky
+ * - Martin Suja
+ * - Nikos Timiopulos
+ * - Bohuslav BlÃn
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Lukas Svoboda
+ * - Max Melentiev
+ * - Juanito Fatas
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Václav Pávek
+ * - CodeSkills
+ * - Tlapi
+ * - newman101
+ * - Petr Kadlec
+ * - tommaskraus
+ * - Karel Sommer (calvera)
+ */
+$za = function ($time) {
+ return 'za '.strtr($time, [
+ 'hodina' => 'hodinu',
+ 'minuta' => 'minutu',
+ 'sekunda' => 'sekundu',
+ ]);
+};
+
+$pred = function ($time) {
+ $time = strtr($time, [
+ 'hodina' => 'hodinou',
+ 'minuta' => 'minutou',
+ 'sekunda' => 'sekundou',
+ ]);
+ $time = preg_replace('/hodiny?(?!\w)/', 'hodinami', $time);
+ $time = preg_replace('/minuty?(?!\w)/', 'minutami', $time);
+ $time = preg_replace('/sekundy?(?!\w)/', 'sekundami', $time);
+
+ return "před $time";
+};
+
+return [
+ 'year' => ':count rok|:count roky|:count let',
+ 'y' => ':count rok|:count roky|:count let',
+ 'a_year' => 'rok|:count roky|:count let',
+ 'month' => ':count mÄ›sÃc|:count mÄ›sÃce|:count mÄ›sÃců',
+ 'm' => ':count měs.',
+ 'a_month' => 'mÄ›sÃc|:count mÄ›sÃce|:count mÄ›sÃců',
+ 'week' => ':count týden|:count týdny|:count týdnů',
+ 'w' => ':count týd.',
+ 'a_week' => 'týden|:count týdny|:count týdnů',
+ 'day' => ':count den|:count dny|:count dnÃ',
+ 'd' => ':count den|:count dny|:count dnÃ',
+ 'a_day' => 'den|:count dny|:count dnÃ',
+ 'hour' => ':count hodina|:count hodiny|:count hodin',
+ 'h' => ':count hod.',
+ 'a_hour' => 'hodina|:count hodiny|:count hodin',
+ 'minute' => ':count minuta|:count minuty|:count minut',
+ 'min' => ':count min.',
+ 'a_minute' => 'minuta|:count minuty|:count minut',
+ 'second' => ':count sekunda|:count sekundy|:count sekund',
+ 's' => ':count sek.',
+ 'a_second' => 'pár sekund|:count sekundy|:count sekund',
+
+ 'month_ago' => ':count mÄ›sÃcem|:count mÄ›sÃci|:count mÄ›sÃci',
+ 'a_month_ago' => 'mÄ›sÃcem|:count mÄ›sÃci|:count mÄ›sÃci',
+ 'day_ago' => ':count dnem|:count dny|:count dny',
+ 'a_day_ago' => 'dnem|:count dny|:count dny',
+ 'week_ago' => ':count týdnem|:count týdny|:count týdny',
+ 'a_week_ago' => 'týdnem|:count týdny|:count týdny',
+ 'year_ago' => ':count rokem|:count roky|:count lety',
+ 'y_ago' => ':count rok.|:count rok.|:count let.',
+ 'a_year_ago' => 'rokem|:count roky|:count lety',
+
+ 'month_before' => ':count mÄ›sÃcem|:count mÄ›sÃci|:count mÄ›sÃci',
+ 'a_month_before' => 'mÄ›sÃcem|:count mÄ›sÃci|:count mÄ›sÃci',
+ 'day_before' => ':count dnem|:count dny|:count dny',
+ 'a_day_before' => 'dnem|:count dny|:count dny',
+ 'week_before' => ':count týdnem|:count týdny|:count týdny',
+ 'a_week_before' => 'týdnem|:count týdny|:count týdny',
+ 'year_before' => ':count rokem|:count roky|:count lety',
+ 'y_before' => ':count rok.|:count rok.|:count let.',
+ 'a_year_before' => 'rokem|:count roky|:count lety',
+
+ 'ago' => $pred,
+ 'from_now' => $za,
+ 'before' => $pred,
+ 'after' => $za,
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'months' => ['ledna', 'února', 'bÅ™ezna', 'dubna', 'kvÄ›tna', 'Äervna', 'Äervence', 'srpna', 'zářÃ', 'Å™Ãjna', 'listopadu', 'prosince'],
+ 'months_standalone' => ['leden', 'únor', 'bÅ™ezen', 'duben', 'kvÄ›ten', 'Äerven', 'Äervenec', 'srpen', 'zářÃ', 'Å™Ãjen', 'listopad', 'prosinec'],
+ 'months_short' => ['led', 'úno', 'bÅ™e', 'dub', 'kvÄ›', 'Ävn', 'Ävc', 'srp', 'zář', 'Å™Ãj', 'lis', 'pro'],
+ 'weekdays' => ['nedÄ›le', 'pondÄ›lÃ', 'úterý', 'stÅ™eda', 'Ätvrtek', 'pátek', 'sobota'],
+ 'weekdays_short' => ['ned', 'pon', 'úte', 'stÅ™', 'Ätv', 'pát', 'sob'],
+ 'weekdays_min' => ['ne', 'po', 'út', 'st', 'Ät', 'pá', 'so'],
+ 'list' => [', ', ' a '],
+ 'diff_now' => 'nynÃ',
+ 'diff_yesterday' => 'vÄera',
+ 'diff_tomorrow' => 'zÃtra',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD. MM. YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D. MMMM YYYY HH:mm',
+ ],
+ 'meridiem' => ['dopoledne', 'odpoledne'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php
new file mode 100644
index 0000000..ea2517e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/cs.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/csb.php b/vendor/nesbot/carbon/src/Carbon/Lang/csb.php
new file mode 100644
index 0000000..a35d281
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/csb.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/csb_PL.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/csb_PL.php b/vendor/nesbot/carbon/src/Carbon/Lang/csb_PL.php
new file mode 100644
index 0000000..25e0ca8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/csb_PL.php
@@ -0,0 +1,41 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - csb_PL locale Michal Ostrowski bug-glibc-locales@gnu.org
+ */
+return [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'MMMM DD, YYYY',
+ 'LLL' => 'DD MMM HH:mm',
+ 'LLLL' => 'MMMM DD, YYYY HH:mm',
+ ],
+ 'months' => ['stëcznika', 'gromicznika', 'strëmiannika', 'łżëkwiata', 'maja', 'czerwińca', 'lëpińca', 'zélnika', 'séwnika', 'rujana', 'lëstopadnika', 'gòdnika'],
+ 'months_short' => ['stë', 'gro', 'str', 'łżë', 'maj', 'cze', 'lëp', 'zél', 'séw', 'ruj', 'lës', 'gòd'],
+ 'weekdays' => ['niedzela', 'pòniedzôłk', 'wtórk', 'strzoda', 'czwiôrtk', 'piątk', 'sobòta'],
+ 'weekdays_short' => ['nie', 'pòn', 'wtó', 'str', 'czw', 'pią', 'sob'],
+ 'weekdays_min' => ['nie', 'pòn', 'wtó', 'str', 'czw', 'pią', 'sob'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' a téż '],
+ 'two_words_connector' => ' a téż ',
+ 'year' => ':count rok',
+ 'month' => ':count miesiÄ…c',
+ 'week' => ':count tidzéń',
+ 'day' => ':count dzéń',
+ 'hour' => ':count gòdzëna',
+ 'minute' => ':count minuta',
+ 'second' => ':count sekunda',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cu.php b/vendor/nesbot/carbon/src/Carbon/Lang/cu.php
new file mode 100644
index 0000000..d6d1312
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cu.php
@@ -0,0 +1,52 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'months' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
+ 'months_short' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'YYYY MMMM D, dddd HH:mm',
+ ],
+
+ 'year' => ':count лѣто',
+ 'y' => ':count лѣто',
+ 'a_year' => ':count лѣто',
+
+ 'month' => ':count мѣÑѧць',
+ 'm' => ':count мѣÑѧць',
+ 'a_month' => ':count мѣÑѧць',
+
+ 'week' => ':count Ñєдмица',
+ 'w' => ':count Ñєдмица',
+ 'a_week' => ':count Ñєдмица',
+
+ 'day' => ':count дьнь',
+ 'd' => ':count дьнь',
+ 'a_day' => ':count дьнь',
+
+ 'hour' => ':count година',
+ 'h' => ':count година',
+ 'a_hour' => ':count година',
+
+ 'minute' => ':count малъ', // less reliable
+ 'min' => ':count малъ', // less reliable
+ 'a_minute' => ':count малъ', // less reliable
+
+ 'second' => ':count въторъ',
+ 's' => ':count въторъ',
+ 'a_second' => ':count въторъ',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cv.php b/vendor/nesbot/carbon/src/Carbon/Lang/cv.php
new file mode 100644
index 0000000..8aeb73a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cv.php
@@ -0,0 +1,65 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - JD Isaacks
+ */
+return [
+ 'year' => ':count ҫул',
+ 'a_year' => '{1}пӗр ҫул|:count ҫул',
+ 'month' => ':count уйӑх',
+ 'a_month' => '{1}пӗр уйӑх|:count уйӑх',
+ 'week' => ':count Ñрне',
+ 'a_week' => '{1}пӗр Ñрне|:count Ñрне',
+ 'day' => ':count кун',
+ 'a_day' => '{1}пӗр кун|:count кун',
+ 'hour' => ':count Ñехет',
+ 'a_hour' => '{1}пӗр Ñехет|:count Ñехет',
+ 'minute' => ':count минут',
+ 'a_minute' => '{1}пӗр минут|:count минут',
+ 'second' => ':count ҫеккунт',
+ 'a_second' => '{1}пӗр-ик ҫеккунт|:count ҫеккунт',
+ 'ago' => ':time каÑлла',
+ 'from_now' => function ($time) {
+ return $time.(preg_match('/Ñехет$/u', $time) ? 'рен' : (preg_match('/ҫул/u', $time) ? 'тан' : 'ран'));
+ },
+ 'diff_yesterday' => 'Ӗнер',
+ 'diff_today' => 'ПаÑн',
+ 'diff_tomorrow' => 'Ыран',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD-MM-YYYY',
+ 'LL' => 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
+ 'LLL' => 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
+ 'LLLL' => 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ПаÑн] LT [Ñехетре]',
+ 'nextDay' => '[Ыран] LT [Ñехетре]',
+ 'nextWeek' => '[ҪитеÑ] dddd LT [Ñехетре]',
+ 'lastDay' => '[Ӗнер] LT [Ñехетре]',
+ 'lastWeek' => '[Иртнӗ] dddd LT [Ñехетре]',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number-мӗш',
+ 'months' => ['кӑрлач', 'нарӑÑ', 'пуш', 'ака', 'май', 'ҫӗртме', 'утӑ', 'ҫурла', 'авӑн', 'юпа', 'чӳк', 'раштав'],
+ 'months_short' => ['кӑр', 'нар', 'пуш', 'ака', 'май', 'ҫӗр', 'утӑ', 'ҫур', 'авн', 'юпа', 'чӳк', 'раш'],
+ 'weekdays' => ['вырÑарникун', 'тунтикун', 'ытларикун', 'юнкун', 'кӗҫнерникун', 'Ñрнекун', 'шӑматкун'],
+ 'weekdays_short' => ['выр', 'тун', 'ытл', 'юн', 'кӗҫ', 'Ñрн', 'шӑм'],
+ 'weekdays_min' => ['вр', 'тн', 'ыт', 'юн', 'кҫ', 'ÑÑ€', 'шм'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' тата '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php
new file mode 100644
index 0000000..197bd8d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/cv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cy.php b/vendor/nesbot/carbon/src/Carbon/Lang/cy.php
new file mode 100644
index 0000000..119274f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cy.php
@@ -0,0 +1,79 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - JD Isaacks
+ * - Daniel Monaghan
+ */
+return [
+ 'year' => '{1}blwyddyn|]1,Inf[:count flynedd',
+ 'y' => ':countbl',
+ 'month' => '{1}mis|]1,Inf[:count mis',
+ 'm' => ':countmi',
+ 'week' => ':count wythnos',
+ 'w' => ':countw',
+ 'day' => '{1}diwrnod|]1,Inf[:count diwrnod',
+ 'd' => ':countd',
+ 'hour' => '{1}awr|]1,Inf[:count awr',
+ 'h' => ':counth',
+ 'minute' => '{1}munud|]1,Inf[:count munud',
+ 'min' => ':countm',
+ 'second' => '{1}ychydig eiliadau|]1,Inf[:count eiliad',
+ 's' => ':counts',
+ 'ago' => ':time yn ôl',
+ 'from_now' => 'mewn :time',
+ 'after' => ':time ar ôl',
+ 'before' => ':time o\'r blaen',
+ 'diff_now' => 'nawr',
+ 'diff_today' => 'Heddiw',
+ 'diff_today_regexp' => 'Heddiw(?:\\s+am)?',
+ 'diff_yesterday' => 'ddoe',
+ 'diff_yesterday_regexp' => 'Ddoe(?:\\s+am)?',
+ 'diff_tomorrow' => 'yfory',
+ 'diff_tomorrow_regexp' => 'Yfory(?:\\s+am)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Heddiw am] LT',
+ 'nextDay' => '[Yfory am] LT',
+ 'nextWeek' => 'dddd [am] LT',
+ 'lastDay' => '[Ddoe am] LT',
+ 'lastWeek' => 'dddd [diwethaf am] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ return $number.(
+ $number > 20
+ ? (\in_array((int) $number, [40, 50, 60, 80, 100], true) ? 'fed' : 'ain')
+ : ([
+ '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
+ 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed', // 11eg to 20fed
+ ])[$number] ?? ''
+ );
+ },
+ 'months' => ['Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', 'Hydref', 'Tachwedd', 'Rhagfyr'],
+ 'months_short' => ['Ion', 'Chwe', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Aws', 'Med', 'Hyd', 'Tach', 'Rhag'],
+ 'weekdays' => ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'],
+ 'weekdays_short' => ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'],
+ 'weekdays_min' => ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' a '],
+ 'meridiem' => ['yb', 'yh'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php
new file mode 100644
index 0000000..2c8148d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/cy.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/da.php b/vendor/nesbot/carbon/src/Carbon/Lang/da.php
new file mode 100644
index 0000000..322f91d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/da.php
@@ -0,0 +1,81 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Rune Mønnike
+ * - François B
+ * - codenhagen
+ * - JD Isaacks
+ * - Jens Herlevsen
+ * - Ulrik McArdle (mcardle)
+ * - Frederik Sauer (FrittenKeeZ)
+ * - Janus Bahs Jacquet (kokoshneta)
+ */
+return [
+ 'year' => ':count år|:count år',
+ 'a_year' => 'et år|:count år',
+ 'y' => ':count år|:count år',
+ 'month' => ':count måned|:count måneder',
+ 'a_month' => 'en måned|:count måneder',
+ 'm' => ':count mdr.',
+ 'week' => ':count uge|:count uger',
+ 'a_week' => 'en uge|:count uger',
+ 'w' => ':count u.',
+ 'day' => ':count dag|:count dage',
+ 'a_day' => ':count dag|:count dage',
+ 'd' => ':count d.',
+ 'hour' => ':count time|:count timer',
+ 'a_hour' => 'en time|:count timer',
+ 'h' => ':count t.',
+ 'minute' => ':count minut|:count minutter',
+ 'a_minute' => 'et minut|:count minutter',
+ 'min' => ':count min.',
+ 'second' => ':count sekund|:count sekunder',
+ 'a_second' => 'få sekunder|:count sekunder',
+ 's' => ':count s.',
+ 'ago' => 'for :time siden',
+ 'from_now' => 'om :time',
+ 'after' => ':time efter',
+ 'before' => ':time før',
+ 'diff_now' => 'nu',
+ 'diff_today' => 'i dag',
+ 'diff_today_regexp' => 'i dag(?:\\s+kl.)?',
+ 'diff_yesterday' => 'i går',
+ 'diff_yesterday_regexp' => 'i går(?:\\s+kl.)?',
+ 'diff_tomorrow' => 'i morgen',
+ 'diff_tomorrow_regexp' => 'i morgen(?:\\s+kl.)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[i dag kl.] LT',
+ 'nextDay' => '[i morgen kl.] LT',
+ 'nextWeek' => 'på dddd [kl.] LT',
+ 'lastDay' => '[i går kl.] LT',
+ 'lastWeek' => '[i] dddd[s kl.] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december'],
+ 'months_short' => ['jan.', 'feb.', 'mar.', 'apr.', 'maj.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
+ 'weekdays' => ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],
+ 'weekdays_short' => ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'],
+ 'weekdays_min' => ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' og '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php b/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php
new file mode 100644
index 0000000..392c484
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/da.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php b/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php
new file mode 100644
index 0000000..ea5698b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/da.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D. MMM YYYY',
+ 'LLL' => 'D. MMMM YYYY HH.mm',
+ 'LLLL' => 'dddd [den] D. MMMM YYYY HH.mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dav.php b/vendor/nesbot/carbon/src/Carbon/Lang/dav.php
new file mode 100644
index 0000000..e95ec4b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dav.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Luma lwa K', 'luma lwa p'],
+ 'weekdays' => ['Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', 'Kuramuka kasanu', 'Kifula nguwo'],
+ 'weekdays_short' => ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'],
+ 'weekdays_min' => ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'],
+ 'months' => ['Mori ghwa imbiri', 'Mori ghwa kawi', 'Mori ghwa kadadu', 'Mori ghwa kana', 'Mori ghwa kasanu', 'Mori ghwa karandadu', 'Mori ghwa mfungade', 'Mori ghwa wunyanya', 'Mori ghwa ikenda', 'Mori ghwa ikumi', 'Mori ghwa ikumi na imweri', 'Mori ghwa ikumi na iwi'],
+ 'months_short' => ['Imb', 'Kaw', 'Kad', 'Kan', 'Kas', 'Kar', 'Mfu', 'Wun', 'Ike', 'Iku', 'Imw', 'Iwi'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de.php b/vendor/nesbot/carbon/src/Carbon/Lang/de.php
new file mode 100644
index 0000000..3b70750
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de.php
@@ -0,0 +1,117 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Michael Hohl
+ * - sheriffmarley
+ * - dennisoderwald
+ * - Timo
+ * - Karag2006
+ * - Pete Scopes (pdscopes)
+ */
+return [
+ 'year' => ':count Jahr|:count Jahre',
+ 'a_year' => 'ein Jahr|:count Jahre',
+ 'y' => ':count J.',
+ 'month' => ':count Monat|:count Monate',
+ 'a_month' => 'ein Monat|:count Monate',
+ 'm' => ':count Mon.',
+ 'week' => ':count Woche|:count Wochen',
+ 'a_week' => 'eine Woche|:count Wochen',
+ 'w' => ':count Wo.',
+ 'day' => ':count Tag|:count Tage',
+ 'a_day' => 'ein Tag|:count Tage',
+ 'd' => ':count Tg.',
+ 'hour' => ':count Stunde|:count Stunden',
+ 'a_hour' => 'eine Stunde|:count Stunden',
+ 'h' => ':count Std.',
+ 'minute' => ':count Minute|:count Minuten',
+ 'a_minute' => 'eine Minute|:count Minuten',
+ 'min' => ':count Min.',
+ 'second' => ':count Sekunde|:count Sekunden',
+ 'a_second' => 'ein paar Sekunden|:count Sekunden',
+ 's' => ':count Sek.',
+ 'millisecond' => ':count Millisekunde|:count Millisekunden',
+ 'a_millisecond' => 'eine Millisekunde|:count Millisekunden',
+ 'ms' => ':countms',
+ 'microsecond' => ':count Mikrosekunde|:count Mikrosekunden',
+ 'a_microsecond' => 'eine Mikrosekunde|:count Mikrosekunden',
+ 'µs' => ':countµs',
+ 'ago' => 'vor :time',
+ 'from_now' => 'in :time',
+ 'after' => ':time später',
+ 'before' => ':time zuvor',
+
+ 'year_from_now' => ':count Jahr|:count Jahren',
+ 'month_from_now' => ':count Monat|:count Monaten',
+ 'week_from_now' => ':count Woche|:count Wochen',
+ 'day_from_now' => ':count Tag|:count Tagen',
+ 'year_ago' => ':count Jahr|:count Jahren',
+ 'month_ago' => ':count Monat|:count Monaten',
+ 'week_ago' => ':count Woche|:count Wochen',
+ 'day_ago' => ':count Tag|:count Tagen',
+ 'a_year_from_now' => 'ein Jahr|:count Jahren',
+ 'a_month_from_now' => 'ein Monat|:count Monaten',
+ 'a_week_from_now' => 'eine Woche|:count Wochen',
+ 'a_day_from_now' => 'ein Tag|:count Tagen',
+ 'a_year_ago' => 'ein Jahr|:count Jahren',
+ 'a_month_ago' => 'ein Monat|:count Monaten',
+ 'a_week_ago' => 'eine Woche|:count Wochen',
+ 'a_day_ago' => 'ein Tag|:count Tagen',
+
+ 'diff_now' => 'Gerade eben',
+ 'diff_today' => 'heute',
+ 'diff_today_regexp' => 'heute(?:\\s+um)?',
+ 'diff_yesterday' => 'Gestern',
+ 'diff_yesterday_regexp' => 'gestern(?:\\s+um)?',
+ 'diff_tomorrow' => 'Morgen',
+ 'diff_tomorrow_regexp' => 'morgen(?:\\s+um)?',
+ 'diff_before_yesterday' => 'Vorgestern',
+ 'diff_after_tomorrow' => 'Übermorgen',
+
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY HH:mm',
+ ],
+
+ 'calendar' => [
+ 'sameDay' => '[heute um] LT [Uhr]',
+ 'nextDay' => '[morgen um] LT [Uhr]',
+ 'nextWeek' => 'dddd [um] LT [Uhr]',
+ 'lastDay' => '[gestern um] LT [Uhr]',
+ 'lastWeek' => '[letzten] dddd [um] LT [Uhr]',
+ 'sameElse' => 'L',
+ ],
+
+ 'months' => ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
+ 'months_short' => ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
+ 'weekdays' => ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
+ 'weekdays_short' => ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
+ 'weekdays_min' => ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
+ 'ordinal' => ':number.',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' und '],
+ 'ordinal_words' => [
+ 'of' => 'im',
+ 'first' => 'erster',
+ 'second' => 'zweiter',
+ 'third' => 'dritter',
+ 'fourth' => 'vierten',
+ 'fifth' => 'fünfter',
+ 'last' => 'letzten',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_AT.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_AT.php
new file mode 100644
index 0000000..a2ea4c0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_AT.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - sheriffmarley
+ * - Timo
+ * - Michael Hohl
+ * - Namoshek
+ * - Bernhard Baumrock (BernhardBaumrock)
+ */
+return array_replace_recursive(require __DIR__.'/de.php', [
+ 'months' => [
+ 0 => 'Jänner',
+ ],
+ 'months_short' => [
+ 0 => 'Jän',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_BE.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_BE.php
new file mode 100644
index 0000000..8ed8dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_BE.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/de.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_CH.php
new file mode 100644
index 0000000..a869ab4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_CH.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - sheriffmarley
+ * - Timo
+ * - Michael Hohl
+ */
+return array_replace_recursive(require __DIR__.'/de.php', [
+ 'weekdays_short' => ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_DE.php
new file mode 100644
index 0000000..fb1209d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_DE.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return require __DIR__.'/de.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_IT.php
new file mode 100644
index 0000000..604a856
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_IT.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Matthias Dieter Wallno:fer libc-locales@sourceware.org
+ */
+return require __DIR__.'/de.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php
new file mode 100644
index 0000000..03e606a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/de.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_LU.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_LU.php
new file mode 100644
index 0000000..8ed8dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_LU.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/de.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dje.php b/vendor/nesbot/carbon/src/Carbon/Lang/dje.php
new file mode 100644
index 0000000..74b7ac1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dje.php
@@ -0,0 +1,40 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Subbaahi', 'Zaarikay b'],
+ 'weekdays' => ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamisi', 'Alzuma', 'Asibti'],
+ 'weekdays_short' => ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'],
+ 'weekdays_min' => ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'],
+ 'months' => ['Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', 'Oktoobur', 'Noowanbur', 'Deesanbur'],
+ 'months_short' => ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count hari', // less reliable
+ 'y' => ':count hari', // less reliable
+ 'a_year' => ':count hari', // less reliable
+
+ 'week' => ':count alzuma', // less reliable
+ 'w' => ':count alzuma', // less reliable
+ 'a_week' => ':count alzuma', // less reliable
+
+ 'second' => ':count atinni', // less reliable
+ 's' => ':count atinni', // less reliable
+ 'a_second' => ':count atinni', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/doi.php b/vendor/nesbot/carbon/src/Carbon/Lang/doi.php
new file mode 100644
index 0000000..cb679c5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/doi.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/doi_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/doi_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/doi_IN.php
new file mode 100644
index 0000000..d359721
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/doi_IN.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat Pune libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'à¤à¤ªà¥à¤°à¥ˆà¤²', 'मेई', 'जून', 'जूलै', 'अगसà¥à¤¤', 'सितंबर', 'अकà¥à¤¤à¥‚बर', 'नवंबर', 'दिसंबर'],
+ 'months_short' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'à¤à¤ªà¥à¤°à¥ˆà¤²', 'मेई', 'जून', 'जूलै', 'अगसà¥à¤¤', 'सितंबर', 'अकà¥à¤¤à¥‚बर', 'नवंबर', 'दिसंबर'],
+ 'weekdays' => ['à¤à¤¤à¤¬à¤¾à¤°', 'सोमबार', 'मंगलबर', 'बà¥à¤§à¤¬à¤¾à¤°', 'बीरबार', 'शà¥à¤•à¥à¤•रबार', 'शà¥à¤¨à¥€à¤šà¤°à¤¬à¤¾à¤°'],
+ 'weekdays_short' => ['à¤à¤¤', 'सोम', 'मंगल', 'बà¥à¤§', 'बीर', 'शà¥à¤•à¥à¤•र', 'शà¥à¤¨à¥€à¤šà¤°'],
+ 'weekdays_min' => ['à¤à¤¤', 'सोम', 'मंगल', 'बà¥à¤§', 'बीर', 'शà¥à¤•à¥à¤•र', 'शà¥à¤¨à¥€à¤šà¤°'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['सञं', 'सबेर'],
+
+ 'second' => ':count सङार', // less reliable
+ 's' => ':count सङार', // less reliable
+ 'a_second' => ':count सङार', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dsb.php b/vendor/nesbot/carbon/src/Carbon/Lang/dsb.php
new file mode 100644
index 0000000..1d214d5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dsb.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/dsb_DE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dsb_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/dsb_DE.php
new file mode 100644
index 0000000..1b94187
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dsb_DE.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Information from Michael Wolf bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'DD. MMMM YYYY',
+ 'LLL' => 'DD. MMMM, HH:mm [góź.]',
+ 'LLLL' => 'dddd, DD. MMMM YYYY, HH:mm [góź.]',
+ ],
+ 'months' => ['januara', 'februara', 'měrca', 'apryla', 'maja', 'junija', 'julija', 'awgusta', 'septembra', 'oktobra', 'nowembra', 'decembra'],
+ 'months_short' => ['Jan', 'Feb', 'Měr', 'Apr', 'Maj', 'Jun', 'Jul', 'Awg', 'Sep', 'Okt', 'Now', 'Dec'],
+ 'weekdays' => ['Njeźela', 'Pónjeźele', 'Wałtora', 'Srjoda', 'Stwórtk', 'Pětk', 'Sobota'],
+ 'weekdays_short' => ['Nj', 'Pó', 'Wa', 'Sr', 'St', 'Pě', 'So'],
+ 'weekdays_min' => ['Nj', 'Pó', 'Wa', 'Sr', 'St', 'Pě', 'So'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count lěto',
+ 'y' => ':count lěto',
+ 'a_year' => ':count lěto',
+
+ 'month' => ':count mjasec',
+ 'm' => ':count mjasec',
+ 'a_month' => ':count mjasec',
+
+ 'week' => ':count tyźeń',
+ 'w' => ':count tyźeń',
+ 'a_week' => ':count tyźeń',
+
+ 'day' => ':count źeń',
+ 'd' => ':count źeń',
+ 'a_day' => ':count źeń',
+
+ 'hour' => ':count góźina',
+ 'h' => ':count góźina',
+ 'a_hour' => ':count góźina',
+
+ 'minute' => ':count minuta',
+ 'min' => ':count minuta',
+ 'a_minute' => ':count minuta',
+
+ 'second' => ':count drugi',
+ 's' => ':count drugi',
+ 'a_second' => ':count drugi',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dua.php b/vendor/nesbot/carbon/src/Carbon/Lang/dua.php
new file mode 100644
index 0000000..55e5c7c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dua.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['idiɓa', 'ebyámu'],
+ 'weekdays' => ['éti', 'mÉ”Ìsú', 'kwasú', 'mukÉ”Ìsú', 'Å‹gisú', 'ɗónÉ›sú', 'esaÉ“asú'],
+ 'weekdays_short' => ['ét', 'mÉ”Ìs', 'kwa', 'muk', 'Å‹gi', 'ɗón', 'esa'],
+ 'weekdays_min' => ['ét', 'mÉ”Ìs', 'kwa', 'muk', 'Å‹gi', 'ɗón', 'esa'],
+ 'months' => ['dimÉ”Ìdi', 'Å‹gÉ”ndÉ›', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esÉ”pÉ›sÉ”pÉ›', 'madiɓɛÌdÃɓɛÌ', 'diÅ‹gindi', 'nyÉ›tÉ›ki', 'mayésÉ›Ì', 'tinÃnÃ', 'eláŋgÉ›Ì'],
+ 'months_short' => ['di', 'ŋgɔn', 'sɔŋ', 'diɓ', 'emi', 'esɔ', 'mad', 'diŋ', 'nyɛt', 'may', 'tin', 'elá'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count ma mbu', // less reliable
+ 'y' => ':count ma mbu', // less reliable
+ 'a_year' => ':count ma mbu', // less reliable
+
+ 'month' => ':count myo̱di', // less reliable
+ 'm' => ':count myo̱di', // less reliable
+ 'a_month' => ':count myo̱di', // less reliable
+
+ 'week' => ':count woki', // less reliable
+ 'w' => ':count woki', // less reliable
+ 'a_week' => ':count woki', // less reliable
+
+ 'day' => ':count buńa', // less reliable
+ 'd' => ':count buńa', // less reliable
+ 'a_day' => ':count buńa', // less reliable
+
+ 'hour' => ':count ma awa', // less reliable
+ 'h' => ':count ma awa', // less reliable
+ 'a_hour' => ':count ma awa', // less reliable
+
+ 'minute' => ':count minuti', // less reliable
+ 'min' => ':count minuti', // less reliable
+ 'a_minute' => ':count minuti', // less reliable
+
+ 'second' => ':count maba', // less reliable
+ 's' => ':count maba', // less reliable
+ 'a_second' => ':count maba', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dv.php b/vendor/nesbot/carbon/src/Carbon/Lang/dv.php
new file mode 100644
index 0000000..4b8d7e1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dv.php
@@ -0,0 +1,89 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+$months = [
+ 'Þ–Þ¬Þ‚ÞªÞ‡Þ¦ÞƒÞ©',
+ 'ÞŠÞ¬Þ„Þ°ÞƒÞªÞ‡Þ¦ÞƒÞ©',
+ 'Þ‰Þ§ÞƒÞ¨Þ—Þª',
+ 'Þ‡ÞÞ•Þ°ÞƒÞ©ÞÞª',
+ 'Þ‰Þ',
+ 'Þ–Þ«Þ‚Þ°',
+ 'Þ–ÞªÞÞ¦Þ‡Þ¨',
+ 'Þ‡Þ¯ÞŽÞ¦ÞÞ°Þ“Þª',
+ 'ÞÞ¬Þ•Þ°Þ“Þ¬Þ‰Þ°Þ„Þ¦ÞƒÞª',
+ 'Þ‡Þ®Þ†Þ°Þ“Þ¯Þ„Þ¦ÞƒÞª',
+ 'Þ‚Þ®ÞˆÞ¬Þ‰Þ°Þ„Þ¦ÞƒÞª',
+ 'Þ‘Þ¨ÞÞ¬Þ‰Þ°Þ„Þ¦ÞƒÞª',
+];
+
+$weekdays = [
+ 'އާދިއްތަ',
+ 'Þ€Þ¯Þ‰Þ¦',
+ 'Þ‡Þ¦Þ‚Þ°ÞŽÞ§ÞƒÞ¦',
+ 'Þ„ÞªÞ‹Þ¦',
+ 'Þ„ÞªÞƒÞ§Þްފަތި',
+ 'Þ€ÞªÞ†ÞªÞƒÞª',
+ 'Þ€Þ®Þ‚Þ¨Þ€Þ¨ÞƒÞª',
+];
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Jawish Hameed
+ */
+return [
+ 'year' => ':count '.'Þ‡Þ¦Þ€Þ¦ÞƒÞª',
+ 'a_year' => '{1}'.'Þ‡Þ¦Þ€Þ¦ÞƒÞ¬Þ‡Þ°'.'|:count '.'Þ‡Þ¦Þ€Þ¦ÞƒÞª',
+ 'month' => ':count '.'Þ‰Þ¦ÞÞ°',
+ 'a_month' => '{1}'.'Þ‰Þ¦Þ€Þ¬Þ‡Þ°'.'|:count '.'Þ‰Þ¦ÞÞ°',
+ 'week' => ':count '.'ހަފްތާ',
+ 'a_week' => '{1}'.'Þިކުންތުކޮޅެއް'.'|:count '.'ހަފްތާ',
+ 'day' => ':count '.'Þ‹ÞªÞˆÞ¦ÞÞ°',
+ 'a_day' => '{1}'.'Þ‹ÞªÞˆÞ¦Þ€Þ¬Þ‡Þ°'.'|:count '.'Þ‹ÞªÞˆÞ¦ÞÞ°',
+ 'hour' => ':count '.'ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞª',
+ 'a_hour' => '{1}'.'ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞ¬Þ‡Þ°'.'|:count '.'ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞª',
+ 'minute' => ':count '.'Þ‰Þ¨Þ‚Þ¨Þ“Þª',
+ 'a_minute' => '{1}'.'Þ‰Þ¨Þ‚Þ¨Þ“Þ¬Þ‡Þ°'.'|:count '.'Þ‰Þ¨Þ‚Þ¨Þ“Þª',
+ 'second' => ':count '.'Þިކުންތު',
+ 'a_second' => '{1}'.'Þިކުންތުކޮޅެއް'.'|:count '.'Þިކުންތު',
+ 'ago' => 'Þ†ÞªÞƒÞ¨Þ‚Þ° :time',
+ 'from_now' => 'ތެރÞÞŽÞ¦Þ‡Þ¨ :time',
+ 'after' => ':time ÞŠÞ¦Þ€ÞªÞ‚Þ°',
+ 'before' => ':time Þ†ÞªÞƒÞ¨',
+ 'diff_yesterday' => 'Þ‡Þ¨Þ‡Þ°Þ”Þ¬',
+ 'diff_today' => 'Þ‰Þ¨Þ‡Þ¦Þ‹Þª',
+ 'diff_tomorrow' => 'Þ‰Þ§Þ‹Þ¦Þ‰Þ§',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Þ‰Þ¨Þ‡Þ¦Þ‹Þª] LT',
+ 'nextDay' => '[Þ‰Þ§Þ‹Þ¦Þ‰Þ§] LT',
+ 'nextWeek' => 'dddd LT',
+ 'lastDay' => '[Þ‡Þ¨Þ‡Þ°Þ”Þ¬] LT',
+ 'lastWeek' => '[ފާއިތުވި] dddd LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['Þ‰Þ†', 'Þ‰ÞŠ'],
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => $weekdays,
+ 'weekdays_short' => $weekdays,
+ 'weekdays_min' => ['Þ‡Þ§Þ‹Þ¨', 'Þ€Þ¯Þ‰Þ¦', 'Þ‡Þ¦Þ‚Þ°', 'Þ„ÞªÞ‹Þ¦', 'Þ„ÞªÞƒÞ§', 'Þ€ÞªÞ†Þª', 'Þ€Þ®Þ‚Þ¨'],
+ 'list' => [', ', ' Þ‡Þ¦Þ‹Þ¨ '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php b/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php
new file mode 100644
index 0000000..2668d5b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php
@@ -0,0 +1,87 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ahmed Ali
+ */
+
+$months = [
+ 'Þ–Þ¬Þ‚ÞªÞ‡Þ¦ÞƒÞ©',
+ 'ÞŠÞ¬Þ„Þ°ÞƒÞªÞ‡Þ¦ÞƒÞ©',
+ 'Þ‰Þ§ÞƒÞ¨Þ—Þª',
+ 'Þ‡ÞÞ•Þ°ÞƒÞ©ÞÞª',
+ 'Þ‰Þ',
+ 'Þ–Þ«Þ‚Þ°',
+ 'Þ–ÞªÞÞ¦Þ‡Þ¨',
+ 'Þ‡Þ¯ÞŽÞ¦ÞÞ°Þ“Þª',
+ 'ÞÞ¬Þ•Þ°Þ“Þ¬Þ‰Þ°Þ„Þ¦ÞƒÞª',
+ 'Þ‡Þ®Þ†Þ°Þ“Þ¯Þ„Þ¦ÞƒÞª',
+ 'Þ‚Þ®ÞˆÞ¬Þ‰Þ°Þ„Þ¦ÞƒÞª',
+ 'Þ‘Þ¨ÞÞ¬Þ‰Þ°Þ„Þ¦ÞƒÞª',
+];
+
+$weekdays = [
+ 'އާދިއްތަ',
+ 'Þ€Þ¯Þ‰Þ¦',
+ 'Þ‡Þ¦Þ‚Þ°ÞŽÞ§ÞƒÞ¦',
+ 'Þ„ÞªÞ‹Þ¦',
+ 'Þ„ÞªÞƒÞ§Þްފަތި',
+ 'Þ€ÞªÞ†ÞªÞƒÞª',
+ 'Þ€Þ®Þ‚Þ¨Þ€Þ¨ÞƒÞª',
+];
+
+return [
+ 'year' => '{0}Þ‡Þ¦Þ€Þ¦ÞƒÞ¬Þ‡Þ°|[1,Inf]:count Þ‡Þ¦Þ€Þ¦ÞƒÞª',
+ 'y' => '{0}Þ‡Þ¦Þ€Þ¦ÞƒÞ¬Þ‡Þ°|[1,Inf]:count Þ‡Þ¦Þ€Þ¦ÞƒÞª',
+ 'month' => '{0}Þ‰Þ¦Þ‡Þ°ÞÞ¦ÞƒÞ¬Þ‡Þ°|[1,Inf]:count Þ‰Þ¦ÞÞ°',
+ 'm' => '{0}Þ‰Þ¦Þ‡Þ°ÞÞ¦ÞƒÞ¬Þ‡Þ°|[1,Inf]:count Þ‰Þ¦ÞÞ°',
+ 'week' => '{0}ހަފްތާއެއް|[1,Inf]:count ހަފްތާ',
+ 'w' => '{0}ހަފްތާއެއް|[1,Inf]:count ހަފްތާ',
+ 'day' => '{0}Þ‹ÞªÞˆÞ¦ÞÞ°|[1,Inf]:count Þ‹ÞªÞˆÞ¦ÞÞ°',
+ 'd' => '{0}Þ‹ÞªÞˆÞ¦ÞÞ°|[1,Inf]:count Þ‹ÞªÞˆÞ¦ÞÞ°',
+ 'hour' => '{0}ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞ¬Þ‡Þ°|[1,Inf]:count ÞŽÞ¦Þ‘Þ¨',
+ 'h' => '{0}ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞ¬Þ‡Þ°|[1,Inf]:count ÞŽÞ¦Þ‘Þ¨',
+ 'minute' => '{0}Þ‰Þ¨Þ‚Þ¬Þ“Þ¬Þ‡Þ°|[1,Inf]:count Þ‰Þ¨Þ‚Þ¬Þ“Þ°',
+ 'min' => '{0}Þ‰Þ¨Þ‚Þ¬Þ“Þ¬Þ‡Þ°|[1,Inf]:count Þ‰Þ¨Þ‚Þ¬Þ“Þ°',
+ 'second' => '{0}Þިކުންތެއް|[1,Inf]:count Þިކުންތު',
+ 's' => '{0}Þިކުންތެއް|[1,Inf]:count Þިކުންތު',
+ 'ago' => ':time Þ†ÞªÞƒÞ¨Þ‚Þ°',
+ 'from_now' => ':time ÞŠÞ¦Þ€ÞªÞ‚Þ°',
+ 'after' => ':time ÞŠÞ¦Þ€ÞªÞ‚Þ°',
+ 'before' => ':time Þ†ÞªÞƒÞ¨',
+ 'diff_yesterday' => 'Þ‡Þ¨Þ‡Þ°Þ”Þ¬',
+ 'diff_today' => 'Þ‰Þ¨Þ‡Þ¦Þ‹Þª',
+ 'diff_tomorrow' => 'Þ‰Þ§Þ‹Þ¦Þ‰Þ§',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Þ‰Þ¨Þ‡Þ¦Þ‹Þª] LT',
+ 'nextDay' => '[Þ‰Þ§Þ‹Þ¦Þ‰Þ§] LT',
+ 'nextWeek' => 'dddd LT',
+ 'lastDay' => '[Þ‡Þ¨Þ‡Þ°Þ”Þ¬] LT',
+ 'lastWeek' => '[ފާއިތުވި] dddd LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['Þ‰Þ†', 'Þ‰ÞŠ'],
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => $weekdays,
+ 'weekdays_short' => $weekdays,
+ 'weekdays_min' => ['Þ‡Þ§Þ‹Þ¨', 'Þ€Þ¯Þ‰Þ¦', 'Þ‡Þ¦Þ‚Þ°', 'Þ„ÞªÞ‹Þ¦', 'Þ„ÞªÞƒÞ§', 'Þ€ÞªÞ†Þª', 'Þ€Þ®Þ‚Þ¨'],
+ 'list' => [', ', ' Þ‡Þ¦Þ‹Þ¨ '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php b/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php
new file mode 100644
index 0000000..33082e6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Dimas', 'Teneŋ', 'Talata', 'Alarbay', 'Aramisay', 'Arjuma', 'Sibiti'],
+ 'weekdays_short' => ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'],
+ 'weekdays_min' => ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'],
+ 'months' => ['Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', 'Oktobar', 'Novembar', 'Disambar'],
+ 'months_short' => ['Sa', 'Fe', 'Ma', 'Ab', 'Me', 'Su', 'Sú', 'Ut', 'Se', 'Ok', 'No', 'De'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dz.php b/vendor/nesbot/carbon/src/Carbon/Lang/dz.php
new file mode 100644
index 0000000..cc17e69
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dz.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/dz_BT.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dz_BT.php b/vendor/nesbot/carbon/src/Carbon/Lang/dz_BT.php
new file mode 100644
index 0000000..bfbcaf4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dz_BT.php
@@ -0,0 +1,43 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Sherubtse College bug-glibc@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'པསྱི་ལོYYཟལMMཚེསDD',
+ ],
+ 'months' => ['ཟླ་བ་དང་པ་', 'ཟླ་བ་གཉིས་པ་', 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', 'ཟླ་བ་ལྔ་ཕ་', 'ཟླ་བ་དྲུག་པ་', 'ཟླ་བ་བདུནཔ་', 'ཟླ་བ་བརྒྱད་པ་', 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', 'ཟླ་བ་བཅུ་གཅིག་པ་', 'ཟླ་བ་བཅུ་གཉིས་པ་'],
+ 'months_short' => ['ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', 'ཟླ་༡༡', 'ཟླ་༡༢'],
+ 'weekdays' => ['གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་ཕ་', 'གཟའ་པུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་ཕ་', 'གཟའ་ཉི་མ་'],
+ 'weekdays_short' => ['ཟླ་', 'མིར་', 'ལྷག་', 'པུར་', 'སངས་', 'སྤེན་', 'ཉི་'],
+ 'weekdays_min' => ['ཟླ་', 'མིར་', 'ལྷག་', 'པུར་', 'སངས་', 'སྤེན་', 'ཉི་'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ངས་ཆ', 'ཕྱི་ཆ'],
+
+ 'year' => ':count ཆརཔ', // less reliable
+ 'y' => ':count ཆརཔ', // less reliable
+ 'a_year' => ':count ཆརཔ', // less reliable
+
+ 'month' => ':count ཟླ་བ', // less reliable
+ 'm' => ':count ཟླ་བ', // less reliable
+ 'a_month' => ':count ཟླ་བ', // less reliable
+
+ 'day' => ':count ཉི', // less reliable
+ 'd' => ':count ཉི', // less reliable
+ 'a_day' => ':count ཉི', // less reliable
+
+ 'second' => ':count ཆ', // less reliable
+ 's' => ':count ཆ', // less reliable
+ 'a_second' => ':count ཆ', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php b/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php
new file mode 100644
index 0000000..f60bc6f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['KI', 'UT'],
+ 'weekdays' => ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'],
+ 'weekdays_short' => ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'],
+ 'weekdays_min' => ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'],
+ 'months' => ['Mweri wa mbere', 'Mweri wa kaĩri', 'Mweri wa kathatũ', 'Mweri wa kana', 'Mweri wa gatano', 'Mweri wa gatantatũ', 'Mweri wa mũgwanja', 'Mweri wa kanana', 'Mweri wa kenda', 'Mweri wa ikũmi', 'Mweri wa ikũmi na ũmwe', 'Mweri wa ikũmi na Kaĩrĩ'],
+ 'months_short' => ['Mbe', 'Kai', 'Kat', 'Kan', 'Gat', 'Gan', 'Mug', 'Knn', 'Ken', 'Iku', 'Imw', 'Igi'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ee.php b/vendor/nesbot/carbon/src/Carbon/Lang/ee.php
new file mode 100644
index 0000000..f96c5c9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ee.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Å‹', 'É£'],
+ 'weekdays' => ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'],
+ 'weekdays_short' => ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'],
+ 'weekdays_min' => ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'],
+ 'months' => ['dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome'],
+ 'months_short' => ['dzv', 'dzd', 'ted', 'afÉ”', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'a [ga] h:mm',
+ 'LTS' => 'a [ga] h:mm:ss',
+ 'L' => 'M/D/YYYY',
+ 'LL' => 'MMM D [lia], YYYY',
+ 'LLL' => 'a [ga] h:mm MMMM D [lia] YYYY',
+ 'LLLL' => 'a [ga] h:mm dddd, MMMM D [lia] YYYY',
+ ],
+
+ 'year' => 'Æ’e :count',
+ 'y' => 'Æ’e :count',
+ 'a_year' => 'Æ’e :count',
+
+ 'month' => 'É£leti :count',
+ 'm' => 'É£leti :count',
+ 'a_month' => 'É£leti :count',
+
+ 'week' => 'kwasiÉ–a :count',
+ 'w' => 'kwasiÉ–a :count',
+ 'a_week' => 'kwasiÉ–a :count',
+
+ 'day' => 'ŋkeke :count',
+ 'd' => 'ŋkeke :count',
+ 'a_day' => 'ŋkeke :count',
+
+ 'hour' => 'gaÆ’oÆ’o :count',
+ 'h' => 'gaÆ’oÆ’o :count',
+ 'a_hour' => 'gaÆ’oÆ’o :count',
+
+ 'minute' => 'miniti :count', // less reliable
+ 'min' => 'miniti :count', // less reliable
+ 'a_minute' => 'miniti :count', // less reliable
+
+ 'second' => 'sɛkɛnd :count', // less reliable
+ 's' => 'sɛkɛnd :count', // less reliable
+ 'a_second' => 'sɛkɛnd :count', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php
new file mode 100644
index 0000000..7a8b36c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ee.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'LLL' => 'HH:mm MMMM D [lia] YYYY',
+ 'LLLL' => 'HH:mm dddd, MMMM D [lia] YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/el.php b/vendor/nesbot/carbon/src/Carbon/Lang/el.php
new file mode 100644
index 0000000..7c40f9c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/el.php
@@ -0,0 +1,93 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Alessandro Di Felice
+ * - François B
+ * - Tim Fish
+ * - Gabriel Monteagudo
+ * - JD Isaacks
+ * - yiannisdesp
+ * - Ilias Kasmeridis (iliaskasm)
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count χÏόνος|:count χÏόνια',
+ 'a_year' => 'Îνας χÏόνος|:count χÏόνια',
+ 'y' => ':count χÏ.',
+ 'month' => ':count μήνας|:count μήνες',
+ 'a_month' => 'Îνας μήνας|:count μήνες',
+ 'm' => ':count μήν.',
+ 'week' => ':count εβδομάδα|:count εβδομάδες',
+ 'a_week' => 'μια εβδομάδα|:count εβδομάδες',
+ 'w' => ':count εβδ.',
+ 'day' => ':count μÎÏα|:count μÎÏες',
+ 'a_day' => 'μία μÎÏα|:count μÎÏες',
+ 'd' => ':count μÎÏ.',
+ 'hour' => ':count ÏŽÏα|:count ÏŽÏες',
+ 'a_hour' => 'μία ÏŽÏα|:count ÏŽÏες',
+ 'h' => ':count ÏŽÏα|:count ÏŽÏες',
+ 'minute' => ':count λεπτό|:count λεπτά',
+ 'a_minute' => 'Îνα λεπτό|:count λεπτά',
+ 'min' => ':count λεπ.',
+ 'second' => ':count δευτεÏόλεπτο|:count δευτεÏόλεπτα',
+ 'a_second' => 'λίγα δευτεÏόλεπτα|:count δευτεÏόλεπτα',
+ 's' => ':count δευ.',
+ 'ago' => 'Ï€Ïιν :time',
+ 'from_now' => 'σε :time',
+ 'after' => ':time μετά',
+ 'before' => ':time Ï€Ïιν',
+ 'diff_now' => 'τώÏα',
+ 'diff_today' => 'ΣήμεÏα',
+ 'diff_today_regexp' => 'ΣήμεÏα(?:\\s+{})?',
+ 'diff_yesterday' => 'χθες',
+ 'diff_yesterday_regexp' => 'Χθες(?:\\s+{})?',
+ 'diff_tomorrow' => 'αÏÏιο',
+ 'diff_tomorrow_regexp' => 'ΑÏÏιο(?:\\s+{})?',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm A',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm A',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ΣήμεÏα {}] LT',
+ 'nextDay' => '[ΑÏÏιο {}] LT',
+ 'nextWeek' => 'dddd [{}] LT',
+ 'lastDay' => '[Χθες {}] LT',
+ 'lastWeek' => function (CarbonInterface $current) {
+ switch ($current->dayOfWeek) {
+ case 6:
+ return '[το Ï€ÏοηγοÏμενο] dddd [{}] LT';
+ default:
+ return '[την Ï€ÏοηγοÏμενη] dddd [{}] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberη',
+ 'meridiem' => ['ΠΜ', 'ΜΜ', 'πμ', 'μμ'],
+ 'months' => ['ΙανουαÏίου', 'ΦεβÏουαÏίου', 'ΜαÏτίου', 'ΑπÏιλίου', 'ΜαÎου', 'Ιουνίου', 'Ιουλίου', 'ΑυγοÏστου', 'ΣεπτεμβÏίου', 'ΟκτωβÏίου', 'ÎοεμβÏίου', 'ΔεκεμβÏίου'],
+ 'months_standalone' => ['ΙανουάÏιος', 'ΦεβÏουάÏιος', 'ΜάÏτιος', 'ΑπÏίλιος', 'Μάιος', 'ΙοÏνιος', 'ΙοÏλιος', 'ΑÏγουστος', 'ΣεπτÎμβÏιος', 'ΟκτώβÏιος', 'ÎοÎμβÏιος', 'ΔεκÎμβÏιος'],
+ 'months_regexp' => '/(D[oD]?[\s,]+MMMM|L{2,4}|l{2,4})/',
+ 'months_short' => ['Ιαν', 'Φεβ', 'ΜαÏ', 'ΑπÏ', 'Μαϊ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Îοε', 'Δεκ'],
+ 'weekdays' => ['ΚυÏιακή', 'ΔευτÎÏα', 'ΤÏίτη', 'ΤετάÏτη', 'Î Îμπτη', 'ΠαÏασκευή', 'Σάββατο'],
+ 'weekdays_short' => ['ΚυÏ', 'Δευ', 'ΤÏι', 'Τετ', 'Πεμ', 'ΠαÏ', 'Σαβ'],
+ 'weekdays_min' => ['Κυ', 'Δε', 'ΤÏ', 'Τε', 'Πε', 'Πα', 'Σα'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' και '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/el_CY.php b/vendor/nesbot/carbon/src/Carbon/Lang/el_CY.php
new file mode 100644
index 0000000..8a693c1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/el_CY.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Greek Debian Translation Team bug-glibc@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/el.php', [
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/el_GR.php b/vendor/nesbot/carbon/src/Carbon/Lang/el_GR.php
new file mode 100644
index 0000000..df196af
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/el_GR.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/el.php', [
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en.php b/vendor/nesbot/carbon/src/Carbon/Lang/en.php
new file mode 100644
index 0000000..f81f617
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en.php
@@ -0,0 +1,87 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Milos Sakovic
+ * - Paul
+ * - Pete Scopes (pdscopes)
+ */
+return [
+ /*
+ * {1}, {0} and ]1,Inf[ are not needed as it's the default for English pluralization.
+ * But as some languages are using en.php as a fallback, it's better to specify it
+ * explicitly so those languages also fallback to English pluralization when a unit
+ * is missing.
+ */
+ 'year' => '{1}:count year|{0}:count years|]1,Inf[:count years',
+ 'a_year' => '{1}a year|{0}:count years|]1,Inf[:count years',
+ 'y' => '{1}:countyr|{0}:countyrs|]1,Inf[:countyrs',
+ 'month' => '{1}:count month|{0}:count months|]1,Inf[:count months',
+ 'a_month' => '{1}a month|{0}:count months|]1,Inf[:count months',
+ 'm' => '{1}:countmo|{0}:countmos|]1,Inf[:countmos',
+ 'week' => '{1}:count week|{0}:count weeks|]1,Inf[:count weeks',
+ 'a_week' => '{1}a week|{0}:count weeks|]1,Inf[:count weeks',
+ 'w' => ':countw',
+ 'day' => '{1}:count day|{0}:count days|]1,Inf[:count days',
+ 'a_day' => '{1}a day|{0}:count days|]1,Inf[:count days',
+ 'd' => ':countd',
+ 'hour' => '{1}:count hour|{0}:count hours|]1,Inf[:count hours',
+ 'a_hour' => '{1}an hour|{0}:count hours|]1,Inf[:count hours',
+ 'h' => ':counth',
+ 'minute' => '{1}:count minute|{0}:count minutes|]1,Inf[:count minutes',
+ 'a_minute' => '{1}a minute|{0}:count minutes|]1,Inf[:count minutes',
+ 'min' => ':countm',
+ 'second' => '{1}:count second|{0}:count seconds|]1,Inf[:count seconds',
+ 'a_second' => '{1}a few seconds|{0}:count seconds|]1,Inf[:count seconds',
+ 's' => ':counts',
+ 'millisecond' => '{1}:count millisecond|{0}:count milliseconds|]1,Inf[:count milliseconds',
+ 'a_millisecond' => '{1}a millisecond|{0}:count milliseconds|]1,Inf[:count milliseconds',
+ 'ms' => ':countms',
+ 'microsecond' => '{1}:count microsecond|{0}:count microseconds|]1,Inf[:count microseconds',
+ 'a_microsecond' => '{1}a microsecond|{0}:count microseconds|]1,Inf[:count microseconds',
+ 'µs' => ':countµs',
+ 'ago' => ':time ago',
+ 'from_now' => ':time from now',
+ 'after' => ':time after',
+ 'before' => ':time before',
+ 'diff_now' => 'just now',
+ 'diff_today' => 'today',
+ 'diff_yesterday' => 'yesterday',
+ 'diff_tomorrow' => 'tomorrow',
+ 'diff_before_yesterday' => 'before yesterday',
+ 'diff_after_tomorrow' => 'after tomorrow',
+ 'period_recurrences' => '{1}once|{0}:count times|]1,Inf[:count times',
+ 'period_interval' => 'every :interval',
+ 'period_start_date' => 'from :date',
+ 'period_end_date' => 'to :date',
+ 'months' => ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ 'weekdays' => ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ 'weekdays_short' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ 'weekdays_min' => ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ 'ordinal' => function ($number) {
+ $lastDigit = $number % 10;
+
+ return $number.(
+ ((int) ($number % 100 / 10) === 1) ? 'th' : (
+ ($lastDigit === 1) ? 'st' : (
+ ($lastDigit === 2) ? 'nd' : (
+ ($lastDigit === 3) ? 'rd' : 'th'
+ )
+ )
+ )
+ );
+ },
+ 'list' => [', ', ' and '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AG.php
new file mode 100644
index 0000000..2c1c64f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AG.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AU.php
new file mode 100644
index 0000000..f16bd4f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AU.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - François B
+ * - Mayank Badola
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm A',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm A',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CA.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CA.php
new file mode 100644
index 0000000..e656086
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CA.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Zhan Tong Zhang
+ * - Mayank Badola
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'MMMM D, YYYY',
+ 'LLL' => 'MMMM D, YYYY h:mm A',
+ 'LLLL' => 'dddd, MMMM D, YYYY h:mm A',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php
new file mode 100644
index 0000000..10d9cd8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CY.php
new file mode 100644
index 0000000..a44c350
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CY.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - NehaGautam
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD-MM-YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DK.php
new file mode 100644
index 0000000..9e8a8c6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DK.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Danish Standards Association bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GB.php
new file mode 100644
index 0000000..67d9fd6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GB.php
@@ -0,0 +1,30 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Mayank Badola
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_HK.php
new file mode 100644
index 0000000..34aae98
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_HK.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IE.php
new file mode 100644
index 0000000..c8d3c2f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IE.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Martin McWhorter
+ * - François B
+ * - Chris Cartlidge
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD-MM-YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IL.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IL.php
new file mode 100644
index 0000000..e607924
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IL.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Yoav Amit
+ * - François B
+ * - Mayank Badola
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IN.php
new file mode 100644
index 0000000..00414e9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IN.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YY',
+ 'LL' => 'MMMM DD, YYYY',
+ 'LLL' => 'DD MMM HH:mm',
+ 'LLLL' => 'MMMM DD, YYYY HH:mm',
+ ],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php
new file mode 100644
index 0000000..11457b0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'dddd, YYYY MMMM DD HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php
new file mode 100644
index 0000000..67bceaa
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NZ.php
new file mode 100644
index 0000000..6a206a0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NZ.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Mayank Badola
+ * - Luke McGregor
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm A',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm A',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PH.php
new file mode 100644
index 0000000..34aae98
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PH.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php
new file mode 100644
index 0000000..c4e2557
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 6],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php
new file mode 100644
index 0000000..5ee9524
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php
@@ -0,0 +1,24 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'from_now' => 'in :time',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php
new file mode 100644
index 0000000..e2dd81d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZA.php
new file mode 100644
index 0000000..48ea947
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZA.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YY',
+ 'LL' => 'MMMM DD, YYYY',
+ 'LLL' => 'DD MMM HH:mm',
+ 'LLLL' => 'MMMM DD, YYYY HH:mm',
+ ],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ZM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZM.php
new file mode 100644
index 0000000..d8a8cb5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZM.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - ANLoc Martin Benjamin locales@africanlocalization.net
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php
new file mode 100644
index 0000000..f086dc6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/eo.php b/vendor/nesbot/carbon/src/Carbon/Lang/eo.php
new file mode 100644
index 0000000..7c2efba
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/eo.php
@@ -0,0 +1,77 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - Mia Nordentoft
+ * - JD Isaacks
+ */
+return [
+ 'year' => ':count jaro|:count jaroj',
+ 'a_year' => 'jaro|:count jaroj',
+ 'y' => ':count j.',
+ 'month' => ':count monato|:count monatoj',
+ 'a_month' => 'monato|:count monatoj',
+ 'm' => ':count mo.',
+ 'week' => ':count semajno|:count semajnoj',
+ 'a_week' => 'semajno|:count semajnoj',
+ 'w' => ':count sem.',
+ 'day' => ':count tago|:count tagoj',
+ 'a_day' => 'tago|:count tagoj',
+ 'd' => ':count t.',
+ 'hour' => ':count horo|:count horoj',
+ 'a_hour' => 'horo|:count horoj',
+ 'h' => ':count h.',
+ 'minute' => ':count minuto|:count minutoj',
+ 'a_minute' => 'minuto|:count minutoj',
+ 'min' => ':count min.',
+ 'second' => ':count sekundo|:count sekundoj',
+ 'a_second' => 'sekundoj|:count sekundoj',
+ 's' => ':count sek.',
+ 'ago' => 'antaÅ :time',
+ 'from_now' => 'post :time',
+ 'after' => ':time poste',
+ 'before' => ':time antaÅe',
+ 'diff_yesterday' => 'HieraÅ',
+ 'diff_yesterday_regexp' => 'HieraÅ(?:\\s+je)?',
+ 'diff_today' => 'HodiaÅ',
+ 'diff_today_regexp' => 'HodiaÅ(?:\\s+je)?',
+ 'diff_tomorrow' => 'MorgaÅ',
+ 'diff_tomorrow_regexp' => 'MorgaÅ(?:\\s+je)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'D[-a de] MMMM, YYYY',
+ 'LLL' => 'D[-a de] MMMM, YYYY HH:mm',
+ 'LLLL' => 'dddd, [la] D[-a de] MMMM, YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[HodiaÅ je] LT',
+ 'nextDay' => '[MorgaÅ je] LT',
+ 'nextWeek' => 'dddd [je] LT',
+ 'lastDay' => '[HieraÅ je] LT',
+ 'lastWeek' => '[pasinta] dddd [je] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numbera',
+ 'meridiem' => ['a.t.m.', 'p.t.m.'],
+ 'months' => ['januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aÅgusto', 'septembro', 'oktobro', 'novembro', 'decembro'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aÅg', 'sep', 'okt', 'nov', 'dec'],
+ 'weekdays' => ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaÅdo', 'vendredo', 'sabato'],
+ 'weekdays_short' => ['dim', 'lun', 'mard', 'merk', 'ĵaÅ', 'ven', 'sab'],
+ 'weekdays_min' => ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' kaj '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es.php b/vendor/nesbot/carbon/src/Carbon/Lang/es.php
new file mode 100644
index 0000000..1c4fcfd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es.php
@@ -0,0 +1,121 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - kostas
+ * - François B
+ * - Tim Fish
+ * - Claire Coloma
+ * - Steven Heinrich
+ * - JD Isaacks
+ * - Raphael Amorim
+ * - Jorge Y. Castillo
+ * - VÃctor DÃaz
+ * - Diego
+ * - Sebastian Thierer
+ * - quinterocesar
+ * - Daniel Commesse Liévanos (danielcommesse)
+ * - Pete Scopes (pdscopes)
+ * - gam04
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count año|:count años',
+ 'a_year' => 'un año|:count años',
+ 'y' => ':count año|:count años',
+ 'month' => ':count mes|:count meses',
+ 'a_month' => 'un mes|:count meses',
+ 'm' => ':count mes|:count meses',
+ 'week' => ':count semana|:count semanas',
+ 'a_week' => 'una semana|:count semanas',
+ 'w' => ':countsem',
+ 'day' => ':count dÃa|:count dÃas',
+ 'a_day' => 'un dÃa|:count dÃas',
+ 'd' => ':countd',
+ 'hour' => ':count hora|:count horas',
+ 'a_hour' => 'una hora|:count horas',
+ 'h' => ':counth',
+ 'minute' => ':count minuto|:count minutos',
+ 'a_minute' => 'un minuto|:count minutos',
+ 'min' => ':countm',
+ 'second' => ':count segundo|:count segundos',
+ 'a_second' => 'unos segundos|:count segundos',
+ 's' => ':counts',
+ 'millisecond' => ':count milisegundo|:count milisegundos',
+ 'a_millisecond' => 'un milisegundo|:count milisegundos',
+ 'ms' => ':countms',
+ 'microsecond' => ':count microsegundo|:count microsegundos',
+ 'a_microsecond' => 'un microsegundo|:count microsegundos',
+ 'µs' => ':countµs',
+ 'ago' => 'hace :time',
+ 'from_now' => 'en :time',
+ 'after' => ':time después',
+ 'before' => ':time antes',
+ 'diff_now' => 'ahora mismo',
+ 'diff_today' => 'hoy',
+ 'diff_today_regexp' => 'hoy(?:\\s+a)?(?:\\s+las)?',
+ 'diff_yesterday' => 'ayer',
+ 'diff_yesterday_regexp' => 'ayer(?:\\s+a)?(?:\\s+las)?',
+ 'diff_tomorrow' => 'mañana',
+ 'diff_tomorrow_regexp' => 'mañana(?:\\s+a)?(?:\\s+las)?',
+ 'diff_before_yesterday' => 'anteayer',
+ 'diff_after_tomorrow' => 'pasado mañana',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D [de] MMMM [de] YYYY',
+ 'LLL' => 'D [de] MMMM [de] YYYY H:mm',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => function (CarbonInterface $current) {
+ return '[hoy a la'.($current->hour !== 1 ? 's' : '').'] LT';
+ },
+ 'nextDay' => function (CarbonInterface $current) {
+ return '[mañana a la'.($current->hour !== 1 ? 's' : '').'] LT';
+ },
+ 'nextWeek' => function (CarbonInterface $current) {
+ return 'dddd [a la'.($current->hour !== 1 ? 's' : '').'] LT';
+ },
+ 'lastDay' => function (CarbonInterface $current) {
+ return '[ayer a la'.($current->hour !== 1 ? 's' : '').'] LT';
+ },
+ 'lastWeek' => function (CarbonInterface $current) {
+ return '[el] dddd [pasado a la'.($current->hour !== 1 ? 's' : '').'] LT';
+ },
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'],
+ 'months_short' => ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],
+ 'mmm_suffix' => '.',
+ 'ordinal' => ':numberº',
+ 'weekdays' => ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
+ 'weekdays_short' => ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
+ 'weekdays_min' => ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' y '],
+ 'meridiem' => ['a. m.', 'p. m.'],
+ 'ordinal_words' => [
+ 'of' => 'de',
+ 'first' => 'primer',
+ 'second' => 'segundo',
+ 'third' => 'tercer',
+ 'fourth' => 'cuarto',
+ 'fifth' => 'quinto',
+ 'last' => 'último',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_419.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_419.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_419.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_AR.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_AR.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_AR.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_BO.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_BO.php
new file mode 100644
index 0000000..c9b8432
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_BO.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php
new file mode 100644
index 0000000..378d054
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php
new file mode 100644
index 0000000..378d054
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_CL.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_CL.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_CL.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_CO.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_CO.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_CO.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_CR.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_CR.php
new file mode 100644
index 0000000..553fc09
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_CR.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php
new file mode 100644
index 0000000..f02e1a6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_DO.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_DO.php
new file mode 100644
index 0000000..0f855ba
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_DO.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - kostas
+ * - François B
+ * - Tim Fish
+ * - Chiel Robben
+ * - Claire Coloma
+ * - Steven Heinrich
+ * - JD Isaacks
+ * - Raphael Amorim
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'diff_before_yesterday' => 'anteayer',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'LLL' => 'D [de] MMMM [de] YYYY h:mm A',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY h:mm A',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php
new file mode 100644
index 0000000..f02e1a6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_EC.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_EC.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_EC.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_ES.php
new file mode 100644
index 0000000..19217c2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_ES.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return require __DIR__.'/es.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php
new file mode 100644
index 0000000..f02e1a6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_GT.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_GT.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_GT.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_HN.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_HN.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_HN.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php
new file mode 100644
index 0000000..f02e1a6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_MX.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_MX.php
new file mode 100644
index 0000000..61e14cf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_MX.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'diff_before_yesterday' => 'antier',
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_NI.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_NI.php
new file mode 100644
index 0000000..6b964c1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_NI.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_PA.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_PA.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_PA.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_PE.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_PE.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_PE.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php
new file mode 100644
index 0000000..deae06a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/M/yy',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D [de] MMMM [de] YYYY h:mm a',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_PR.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_PR.php
new file mode 100644
index 0000000..6b964c1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_PR.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_PY.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_PY.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_PY.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_SV.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_SV.php
new file mode 100644
index 0000000..00db08e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_SV.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'months' => ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'],
+ 'months_short' => ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_US.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_US.php
new file mode 100644
index 0000000..f333136
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_US.php
@@ -0,0 +1,38 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - Josh Soref
+ * - Jørn Ølmheim
+ * - Craig Patik
+ * - bustta
+ * - François B
+ * - Tim Fish
+ * - Claire Coloma
+ * - Steven Heinrich
+ * - JD Isaacks
+ * - Raphael Amorim
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'diff_before_yesterday' => 'anteayer',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'MM/DD/YYYY',
+ 'LL' => 'MMMM [de] D [de] YYYY',
+ 'LLL' => 'MMMM [de] D [de] YYYY h:mm A',
+ 'LLLL' => 'dddd, MMMM [de] D [de] YYYY h:mm A',
+ ],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_UY.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_UY.php
new file mode 100644
index 0000000..39baff8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_UY.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'months' => ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'setiembre', 'octubre', 'noviembre', 'diciembre'],
+ 'months_short' => ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'set', 'oct', 'nov', 'dic'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_VE.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_VE.php
new file mode 100644
index 0000000..a74806e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_VE.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/es.php', [
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/et.php b/vendor/nesbot/carbon/src/Carbon/Lang/et.php
new file mode 100644
index 0000000..f49c880
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/et.php
@@ -0,0 +1,93 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Andres Ivanov
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Max Melentiev
+ * - Juanito Fatas
+ * - RM87
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Esko Lehtme
+ * - Mart Karu
+ * - Nicolás Hock Isaza
+ * - Kevin Valdek
+ * - Zahhar Kirillov
+ * - João Magalhães
+ * - Ingmar
+ * - Illimar Tambek
+ * - Mihkel
+ */
+return [
+ 'year' => ':count aasta|:count aastat',
+ 'y' => ':count a',
+ 'month' => ':count kuu|:count kuud',
+ 'm' => ':count k',
+ 'week' => ':count nädal|:count nädalat',
+ 'w' => ':count näd',
+ 'day' => ':count päev|:count päeva',
+ 'd' => ':count p',
+ 'hour' => ':count tund|:count tundi',
+ 'h' => ':count t',
+ 'minute' => ':count minut|:count minutit',
+ 'min' => ':count min',
+ 'second' => ':count sekund|:count sekundit',
+ 's' => ':count s',
+ 'ago' => ':time tagasi',
+ 'from_now' => ':time pärast',
+ 'after' => ':time pärast',
+ 'before' => ':time enne',
+ 'year_from_now' => ':count aasta',
+ 'month_from_now' => ':count kuu',
+ 'week_from_now' => ':count nädala',
+ 'day_from_now' => ':count päeva',
+ 'hour_from_now' => ':count tunni',
+ 'minute_from_now' => ':count minuti',
+ 'second_from_now' => ':count sekundi',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'diff_now' => 'nüüd',
+ 'diff_today' => 'täna',
+ 'diff_yesterday' => 'eile',
+ 'diff_tomorrow' => 'homme',
+ 'diff_before_yesterday' => 'üleeile',
+ 'diff_after_tomorrow' => 'ülehomme',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[täna] LT',
+ 'nextDay' => '[homme] LT',
+ 'lastDay' => '[eile] LT',
+ 'nextWeek' => 'dddd LT',
+ 'lastWeek' => '[eelmine] dddd LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember'],
+ 'months_short' => ['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'],
+ 'weekdays' => ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'],
+ 'weekdays_short' => ['P', 'E', 'T', 'K', 'N', 'R', 'L'],
+ 'weekdays_min' => ['P', 'E', 'T', 'K', 'N', 'R', 'L'],
+ 'list' => [', ', ' ja '],
+ 'meridiem' => ['enne lõunat', 'pärast lõunat'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php b/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php
new file mode 100644
index 0000000..0f112b3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/et.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/eu.php b/vendor/nesbot/carbon/src/Carbon/Lang/eu.php
new file mode 100644
index 0000000..a543f1a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/eu.php
@@ -0,0 +1,67 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - JD Isaacks
+ */
+return [
+ 'year' => 'urte bat|:count urte',
+ 'y' => 'Urte 1|:count urte',
+ 'month' => 'hilabete bat|:count hilabete',
+ 'm' => 'Hile 1|:count hile',
+ 'week' => 'Aste 1|:count aste',
+ 'w' => 'Aste 1|:count aste',
+ 'day' => 'egun bat|:count egun',
+ 'd' => 'Egun 1|:count egun',
+ 'hour' => 'ordu bat|:count ordu',
+ 'h' => 'Ordu 1|:count ordu',
+ 'minute' => 'minutu bat|:count minutu',
+ 'min' => 'Minutu 1|:count minutu',
+ 'second' => 'segundo batzuk|:count segundo',
+ 's' => 'Segundu 1|:count segundu',
+ 'ago' => 'duela :time',
+ 'from_now' => ':time barru',
+ 'after' => ':time geroago',
+ 'before' => ':time lehenago',
+ 'diff_now' => 'orain',
+ 'diff_today' => 'gaur',
+ 'diff_yesterday' => 'atzo',
+ 'diff_tomorrow' => 'bihar',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'YYYY[ko] MMMM[ren] D[a]',
+ 'LLL' => 'YYYY[ko] MMMM[ren] D[a] HH:mm',
+ 'LLLL' => 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[gaur] LT[etan]',
+ 'nextDay' => '[bihar] LT[etan]',
+ 'nextWeek' => 'dddd LT[etan]',
+ 'lastDay' => '[atzo] LT[etan]',
+ 'lastWeek' => '[aurreko] dddd LT[etan]',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', 'iraila', 'urria', 'azaroa', 'abendua'],
+ 'months_short' => ['urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', 'abe.'],
+ 'weekdays' => ['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata'],
+ 'weekdays_short' => ['ig.', 'al.', 'ar.', 'az.', 'og.', 'ol.', 'lr.'],
+ 'weekdays_min' => ['ig', 'al', 'ar', 'az', 'og', 'ol', 'lr'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' eta '],
+ 'meridiem' => ['g', 'a'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php
new file mode 100644
index 0000000..0d1e82a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/eu.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php b/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php
new file mode 100644
index 0000000..7808ab5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['kÃkÃrÃg', 'ngÉ™gógÉ™le'],
+ 'weekdays' => ['sÉ”ÌndÉ”', 'mÉ”Ìndi', 'sÉ”ÌndÉ” mÉ™lú mÉ™Ìbɛ̌', 'sÉ”ÌndÉ” mÉ™lú mÉ™ÌlÉ›Ì', 'sÉ”ÌndÉ” mÉ™lú mÉ™Ìnyi', 'fúladé', 'séradé'],
+ 'weekdays_short' => ['sÉ”Ìn', 'mÉ”Ìn', 'smb', 'sml', 'smn', 'fúl', 'sér'],
+ 'weekdays_min' => ['sÉ”Ìn', 'mÉ”Ìn', 'smb', 'sml', 'smn', 'fúl', 'sér'],
+ 'months' => ['ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', 'ngɔn zamgbála', 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', 'ngɔn awóm ai bɛ̌'],
+ 'months_short' => ['ngo', 'ngb', 'ngl', 'ngn', 'ngt', 'ngs', 'ngz', 'ngm', 'nge', 'nga', 'ngad', 'ngab'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ // Too unreliable
+ /*
+ 'year' => ':count mbu', // less reliable
+ 'y' => ':count mbu', // less reliable
+ 'a_year' => ':count mbu', // less reliable
+
+ 'month' => ':count ngòn', // less reliable
+ 'm' => ':count ngòn', // less reliable
+ 'a_month' => ':count ngòn', // less reliable
+
+ 'week' => ':count mësë', // less reliable
+ 'w' => ':count mësë', // less reliable
+ 'a_week' => ':count mësë', // less reliable
+
+ 'day' => ':count mësë', // less reliable
+ 'd' => ':count mësë', // less reliable
+ 'a_day' => ':count mësë', // less reliable
+
+ 'hour' => ':count awola', // less reliable
+ 'h' => ':count awola', // less reliable
+ 'a_hour' => ':count awola', // less reliable
+
+ 'minute' => ':count awola', // less reliable
+ 'min' => ':count awola', // less reliable
+ 'a_minute' => ':count awola', // less reliable
+ */
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fa.php b/vendor/nesbot/carbon/src/Carbon/Lang/fa.php
new file mode 100644
index 0000000..72e0308
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fa.php
@@ -0,0 +1,84 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - Nasser Ghiasi
+ * - JD Isaacks
+ * - Hossein Jabbari
+ * - nimamo
+ * - hafezdivandari
+ * - Hassan Pezeshk (hpez)
+ */
+return [
+ 'year' => ':count سال',
+ 'a_year' => 'یک سال'.'|:count '.'سال',
+ 'y' => ':count سال',
+ 'month' => ':count ماه',
+ 'a_month' => 'یک ماه'.'|:count '.'ماه',
+ 'm' => ':count ماه',
+ 'week' => ':count Ù‡ÙØªÙ‡',
+ 'a_week' => 'یک Ù‡ÙØªÙ‡'.'|:count '.'Ù‡ÙØªÙ‡',
+ 'w' => ':count Ù‡ÙØªÙ‡',
+ 'day' => ':count روز',
+ 'a_day' => 'یک روز'.'|:count '.'روز',
+ 'd' => ':count روز',
+ 'hour' => ':count ساعت',
+ 'a_hour' => 'یک ساعت'.'|:count '.'ساعت',
+ 'h' => ':count ساعت',
+ 'minute' => ':count دقیقه',
+ 'a_minute' => 'یک دقیقه'.'|:count '.'دقیقه',
+ 'min' => ':count دقیقه',
+ 'second' => ':count ثانیه',
+ 's' => ':count ثانیه',
+ 'ago' => ':time پیش',
+ 'from_now' => ':time دیگر',
+ 'after' => ':time پس از',
+ 'before' => ':time پیش از',
+ 'diff_now' => 'اکنون',
+ 'diff_today' => 'امروز',
+ 'diff_today_regexp' => 'امروز(?:\\s+ساعت)?',
+ 'diff_yesterday' => 'دیروز',
+ 'diff_yesterday_regexp' => 'دیروز(?:\\s+ساعت)?',
+ 'diff_tomorrow' => 'ÙØ±Ø¯Ø§',
+ 'diff_tomorrow_regexp' => 'ÙØ±Ø¯Ø§(?:\\s+ساعت)?',
+ 'formats' => [
+ 'LT' => 'OH:Om',
+ 'LTS' => 'OH:Om:Os',
+ 'L' => 'OD/OM/OY',
+ 'LL' => 'OD MMMM OY',
+ 'LLL' => 'OD MMMM OY OH:Om',
+ 'LLLL' => 'dddd, OD MMMM OY OH:Om',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[امروز ساعت] LT',
+ 'nextDay' => '[ÙØ±Ø¯Ø§ ساعت] LT',
+ 'nextWeek' => 'dddd [ساعت] LT',
+ 'lastDay' => '[دیروز ساعت] LT',
+ 'lastWeek' => 'dddd [پیش] [ساعت] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':timeÙ…',
+ 'meridiem' => ['قبل از ظهر', 'بعد از ظهر'],
+ 'months' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
+ 'months_short' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
+ 'weekdays' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],
+ 'weekdays_short' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],
+ 'weekdays_min' => ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => ['، ', ' و '],
+ 'alt_numbers' => ['Û°Û°', 'Û°Û±', 'Û°Û²', 'Û°Û³', 'Û°Û´', 'Û°Ûµ', 'Û°Û¶', 'Û°Û·', 'Û°Û¸', 'Û°Û¹', 'Û±Û°', 'Û±Û±', 'Û±Û²', 'Û±Û³', 'Û±Û´', 'Û±Ûµ', 'Û±Û¶', 'Û±Û·', 'Û±Û¸', 'Û±Û¹', 'Û²Û°', 'Û²Û±', 'Û²Û²', 'Û²Û³', 'Û²Û´', 'Û²Ûµ', 'Û²Û¶', 'Û²Û·', 'Û²Û¸', 'Û²Û¹', 'Û³Û°', 'Û³Û±', 'Û³Û²', 'Û³Û³', 'Û³Û´', 'Û³Ûµ', 'Û³Û¶', 'Û³Û·', 'Û³Û¸', 'Û³Û¹', 'Û´Û°', 'Û´Û±', 'Û´Û²', 'Û´Û³', 'Û´Û´', 'Û´Ûµ', 'Û´Û¶', 'Û´Û·', 'Û´Û¸', 'Û´Û¹', 'ÛµÛ°', 'ÛµÛ±', 'ÛµÛ²', 'ÛµÛ³', 'ÛµÛ´', 'ÛµÛµ', 'ÛµÛ¶', 'ÛµÛ·', 'ÛµÛ¸', 'ÛµÛ¹', 'Û¶Û°', 'Û¶Û±', 'Û¶Û²', 'Û¶Û³', 'Û¶Û´', 'Û¶Ûµ', 'Û¶Û¶', 'Û¶Û·', 'Û¶Û¸', 'Û¶Û¹', 'Û·Û°', 'Û·Û±', 'Û·Û²', 'Û·Û³', 'Û·Û´', 'Û·Ûµ', 'Û·Û¶', 'Û·Û·', 'Û·Û¸', 'Û·Û¹', 'Û¸Û°', 'Û¸Û±', 'Û¸Û²', 'Û¸Û³', 'Û¸Û´', 'Û¸Ûµ', 'Û¸Û¶', 'Û¸Û·', 'Û¸Û¸', 'Û¸Û¹', 'Û¹Û°', 'Û¹Û±', 'Û¹Û²', 'Û¹Û³', 'Û¹Û´', 'Û¹Ûµ', 'Û¹Û¶', 'Û¹Û·', 'Û¹Û¸', 'Û¹Û¹'],
+ 'months_short_standalone' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
+ 'weekend' => [5, 5],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php
new file mode 100644
index 0000000..6947100
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fa.php', [
+ 'meridiem' => ['ق', 'ب'],
+ 'weekend' => [4, 5],
+ 'formats' => [
+ 'L' => 'OY/OM/OD',
+ 'LL' => 'OD MMM OY',
+ 'LLL' => 'OD MMMM OY،†H:mm',
+ 'LLLL' => 'dddd OD MMMM OY،†H:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php b/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php
new file mode 100644
index 0000000..08d0182
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fa.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff.php
new file mode 100644
index 0000000..9525c95
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'months' => ['siilo', 'colte', 'mbooy', 'seeÉ—to', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', 'jolal', 'bowte'],
+ 'months_short' => ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'],
+ 'weekdays' => ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'],
+ 'weekdays_short' => ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'],
+ 'weekdays_min' => ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['subaka', 'kikiiÉ—e'],
+
+ 'year' => ':count baret', // less reliable
+ 'y' => ':count baret', // less reliable
+ 'a_year' => ':count baret', // less reliable
+
+ 'month' => ':count lewru', // less reliable
+ 'm' => ':count lewru', // less reliable
+ 'a_month' => ':count lewru', // less reliable
+
+ 'week' => ':count naange', // less reliable
+ 'w' => ':count naange', // less reliable
+ 'a_week' => ':count naange', // less reliable
+
+ 'day' => ':count dian', // less reliable
+ 'd' => ':count dian', // less reliable
+ 'a_day' => ':count dian', // less reliable
+
+ 'hour' => ':count montor', // less reliable
+ 'h' => ':count montor', // less reliable
+ 'a_hour' => ':count montor', // less reliable
+
+ 'minute' => ':count tokossuoum', // less reliable
+ 'min' => ':count tokossuoum', // less reliable
+ 'a_minute' => ':count tokossuoum', // less reliable
+
+ 'second' => ':count tenen', // less reliable
+ 's' => ':count tenen', // less reliable
+ 'a_second' => ':count tenen', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php
new file mode 100644
index 0000000..b797ac0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ff.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php
new file mode 100644
index 0000000..b797ac0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ff.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php
new file mode 100644
index 0000000..2f4c29f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ff.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_SN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_SN.php
new file mode 100644
index 0000000..1e4c8b6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_SN.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Pular-Fulfulde.org Ibrahima Sarr admin@pulaar-fulfulde.org
+ */
+return require __DIR__.'/ff.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fi.php b/vendor/nesbot/carbon/src/Carbon/Lang/fi.php
new file mode 100644
index 0000000..edf2d6d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fi.php
@@ -0,0 +1,88 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Janne Warén
+ * - digitalfrost
+ * - Tsutomu Kuroda
+ * - Roope Salmi
+ * - tjku
+ * - Max Melentiev
+ * - Sami Haahtinen
+ * - Teemu Leisti
+ * - Artem Ignatyev
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Robert Bjarnason
+ * - Aaron Patterson
+ * - Nicolás Hock Isaza
+ * - Tom Hughes
+ * - Sven Fuchs
+ * - Petri Kivikangas
+ * - Nizar Jouini
+ * - Marko Seppae
+ * - Tomi Mynttinen (Pikseli)
+ * - Petteri (powergrip)
+ */
+return [
+ 'year' => ':count vuosi|:count vuotta',
+ 'y' => ':count v',
+ 'month' => ':count kuukausi|:count kuukautta',
+ 'm' => ':count kk',
+ 'week' => ':count viikko|:count viikkoa',
+ 'w' => ':count vk',
+ 'day' => ':count päivä|:count päivää',
+ 'd' => ':count pv',
+ 'hour' => ':count tunti|:count tuntia',
+ 'h' => ':count t',
+ 'minute' => ':count minuutti|:count minuuttia',
+ 'min' => ':count min',
+ 'second' => ':count sekunti|:count sekuntia',
+ 'a_second' => 'muutama sekunti|:count sekuntia',
+ 's' => ':count s',
+ 'ago' => ':time sitten',
+ 'from_now' => ':time päästä',
+ 'year_from_now' => ':count vuoden',
+ 'month_from_now' => ':count kuukauden',
+ 'week_from_now' => ':count viikon',
+ 'day_from_now' => ':count päivän',
+ 'hour_from_now' => ':count tunnin',
+ 'minute_from_now' => ':count minuutin',
+ 'second_from_now' => ':count sekunnin',
+ 'after' => ':time sen jälkeen',
+ 'before' => ':time ennen',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' ja '],
+ 'diff_now' => 'nyt',
+ 'diff_yesterday' => 'eilen',
+ 'diff_tomorrow' => 'huomenna',
+ 'formats' => [
+ 'LT' => 'HH.mm',
+ 'LTS' => 'HH.mm:ss',
+ 'L' => 'D.M.YYYY',
+ 'LL' => 'dddd D. MMMM[ta] YYYY',
+ 'll' => 'ddd D. MMM YYYY',
+ 'LLL' => 'D.MM. HH.mm',
+ 'LLLL' => 'D. MMMM[ta] YYYY HH.mm',
+ 'llll' => 'D. MMM YY HH.mm',
+ ],
+ 'weekdays' => ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'],
+ 'weekdays_short' => ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
+ 'weekdays_min' => ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
+ 'months' => ['tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu'],
+ 'months_short' => ['tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', 'marras', 'joulu'],
+ 'meridiem' => ['aamupäivä', 'iltapäivä'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php
new file mode 100644
index 0000000..920f1ca
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fil.php b/vendor/nesbot/carbon/src/Carbon/Lang/fil.php
new file mode 100644
index 0000000..61114e3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fil.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/fil_PH.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fil_PH.php b/vendor/nesbot/carbon/src/Carbon/Lang/fil_PH.php
new file mode 100644
index 0000000..bcf1580
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fil_PH.php
@@ -0,0 +1,62 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Rene Torres Rene Torres, Pablo Saratxaga rgtorre@rocketmail.com, pablo@mandrakesoft.com
+ * - Jaycee Mariano (alohajaycee)
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'MM/DD/YY',
+ ],
+ 'months' => ['Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', 'Oktubre', 'Nobyembre', 'Disyembre'],
+ 'months_short' => ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'],
+ 'weekdays' => ['Linggo', 'Lunes', 'Martes', 'Miyerkoles', 'Huwebes', 'Biyernes', 'Sabado'],
+ 'weekdays_short' => ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'],
+ 'weekdays_min' => ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['N.U.', 'N.H.'],
+
+ 'before' => ':time bago',
+ 'after' => ':time pagkatapos',
+
+ 'year' => ':count taon',
+ 'y' => ':count taon',
+ 'a_year' => ':count taon',
+
+ 'month' => ':count buwan',
+ 'm' => ':count buwan',
+ 'a_month' => ':count buwan',
+
+ 'week' => ':count linggo',
+ 'w' => ':count linggo',
+ 'a_week' => ':count linggo',
+
+ 'day' => ':count araw',
+ 'd' => ':count araw',
+ 'a_day' => ':count araw',
+
+ 'hour' => ':count oras',
+ 'h' => ':count oras',
+ 'a_hour' => ':count oras',
+
+ 'minute' => ':count minuto',
+ 'min' => ':count minuto',
+ 'a_minute' => ':count minuto',
+
+ 'second' => ':count segundo',
+ 's' => ':count segundo',
+ 'a_second' => ':count segundo',
+
+ 'ago' => ':time ang nakalipas',
+ 'from_now' => 'sa :time',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fo.php b/vendor/nesbot/carbon/src/Carbon/Lang/fo.php
new file mode 100644
index 0000000..6a14a6f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fo.php
@@ -0,0 +1,69 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kristian Sakarisson
+ * - François B
+ * - JD Isaacks
+ * - Sverri Mohr Olsen
+ */
+return [
+ 'year' => 'eitt ár|:count ár',
+ 'y' => ':count ár|:count ár',
+ 'month' => 'ein mánaði|:count mánaðir',
+ 'm' => ':count mánaður|:count mánaðir',
+ 'week' => ':count vika|:count vikur',
+ 'w' => ':count vika|:count vikur',
+ 'day' => 'ein dagur|:count dagar',
+ 'd' => ':count dag|:count dagar',
+ 'hour' => 'ein tÃmi|:count tÃmar',
+ 'h' => ':count tÃmi|:count tÃmar',
+ 'minute' => 'ein minutt|:count minuttir',
+ 'min' => ':count minutt|:count minuttir',
+ 'second' => 'fá sekund|:count sekundir',
+ 's' => ':count sekund|:count sekundir',
+ 'ago' => ':time sÃðani',
+ 'from_now' => 'um :time',
+ 'after' => ':time aftaná',
+ 'before' => ':time áðrenn',
+ 'diff_today' => 'Ã',
+ 'diff_yesterday' => 'Ã',
+ 'diff_yesterday_regexp' => 'Ã(?:\\s+gjár)?(?:\\s+kl.)?',
+ 'diff_tomorrow' => 'Ã',
+ 'diff_tomorrow_regexp' => 'Ã(?:\\s+morgin)?(?:\\s+kl.)?',
+ 'diff_today_regexp' => 'Ã(?:\\s+dag)?(?:\\s+kl.)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D. MMMM, YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ã dag kl.] LT',
+ 'nextDay' => '[Ã morgin kl.] LT',
+ 'nextWeek' => 'dddd [kl.] LT',
+ 'lastDay' => '[à gjár kl.] LT',
+ 'lastWeek' => '[sÃðstu] dddd [kl] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['januar', 'februar', 'mars', 'aprÃl', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
+ 'weekdays' => ['sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'frÃggjadagur', 'leygardagur'],
+ 'weekdays_short' => ['sun', 'mán', 'týs', 'mik', 'hós', 'frÃ', 'ley'],
+ 'weekdays_min' => ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' og '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php b/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php
new file mode 100644
index 0000000..657f2c5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fo.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.yy',
+ 'LL' => 'DD.MM.YYYY',
+ 'LLL' => 'D. MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY, HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php b/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php
new file mode 100644
index 0000000..6d73616
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr.php
new file mode 100644
index 0000000..f4c7247
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr.php
@@ -0,0 +1,123 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Dieter Sting
+ * - François B
+ * - Maxime VALY
+ * - JD Isaacks
+ * - Dieter Sting
+ * - François B
+ * - JD Isaacks
+ * - Sebastian Thierer
+ * - Fastfuel
+ * - Pete Scopes (pdscopes)
+ */
+return [
+ 'year' => ':count an|:count ans',
+ 'a_year' => 'un an|:count ans',
+ 'y' => ':count an|:count ans',
+ 'month' => ':count mois|:count mois',
+ 'a_month' => 'un mois|:count mois',
+ 'm' => ':count mois',
+ 'week' => ':count semaine|:count semaines',
+ 'a_week' => 'une semaine|:count semaines',
+ 'w' => ':count sem.',
+ 'day' => ':count jour|:count jours',
+ 'a_day' => 'un jour|:count jours',
+ 'd' => ':count j',
+ 'hour' => ':count heure|:count heures',
+ 'a_hour' => 'une heure|:count heures',
+ 'h' => ':count h',
+ 'minute' => ':count minute|:count minutes',
+ 'a_minute' => 'une minute|:count minutes',
+ 'min' => ':count min',
+ 'second' => ':count seconde|:count secondes',
+ 'a_second' => 'quelques secondes|:count secondes',
+ 's' => ':count s',
+ 'millisecond' => ':count milliseconde|:count millisecondes',
+ 'a_millisecond' => 'une milliseconde|:count millisecondes',
+ 'ms' => ':countms',
+ 'microsecond' => ':count microseconde|:count microsecondes',
+ 'a_microsecond' => 'une microseconde|:count microsecondes',
+ 'µs' => ':countµs',
+ 'ago' => 'il y a :time',
+ 'from_now' => 'dans :time',
+ 'after' => ':time après',
+ 'before' => ':time avant',
+ 'diff_now' => "Ã l'instant",
+ 'diff_today' => "aujourd'hui",
+ 'diff_today_regexp' => "aujourd'hui(?:\s+Ã )?",
+ 'diff_yesterday' => 'hier',
+ 'diff_yesterday_regexp' => 'hier(?:\s+Ã )?',
+ 'diff_tomorrow' => 'demain',
+ 'diff_tomorrow_regexp' => 'demain(?:\s+Ã )?',
+ 'diff_before_yesterday' => 'avant-hier',
+ 'diff_after_tomorrow' => 'après-demain',
+ 'period_recurrences' => ':count fois',
+ 'period_interval' => 'tous les :interval',
+ 'period_start_date' => 'de :date',
+ 'period_end_date' => 'Ã :date',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Aujourd’hui à ] LT',
+ 'nextDay' => '[Demain à ] LT',
+ 'nextWeek' => 'dddd [Ã ] LT',
+ 'lastDay' => '[Hier à ] LT',
+ 'lastWeek' => 'dddd [dernier à ] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
+ 'months_short' => ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
+ 'weekdays' => ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
+ 'weekdays_short' => ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
+ 'weekdays_min' => ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ // In French, only the first has to be ordinal, other number remains cardinal
+ // @link https://fr.wikihow.com/%C3%A9crire-la-date-en-fran%C3%A7ais
+ case 'D':
+ return $number.($number === 1 ? 'er' : '');
+
+ default:
+ case 'M':
+ case 'Q':
+ case 'DDD':
+ case 'd':
+ return $number.($number === 1 ? 'er' : 'e');
+
+ // Words with feminine grammatical gender: semaine
+ case 'w':
+ case 'W':
+ return $number.($number === 1 ? 're' : 'e');
+ }
+ },
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' et '],
+ 'ordinal_words' => [
+ 'of' => 'de',
+ 'first' => 'premier',
+ 'second' => 'deuxième',
+ 'third' => 'troisième',
+ 'fourth' => 'quatrième',
+ 'fifth' => 'cinquième',
+ 'last' => 'dernier',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BE.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BE.php
new file mode 100644
index 0000000..f6cafe8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BE.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'months_short' => ['jan', 'fév', 'mar', 'avr', 'mai', 'jun', 'jui', 'aoû', 'sep', 'oct', 'nov', 'déc'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CA.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CA.php
new file mode 100644
index 0000000..c9f6346
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CA.php
@@ -0,0 +1,25 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Dieter Sting
+ * - François B
+ * - Maxime VALY
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CH.php
new file mode 100644
index 0000000..8674c27
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CH.php
@@ -0,0 +1,24 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Dieter Sting
+ * - François B
+ * - Gaspard Bucher
+ * - Maxime VALY
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php
new file mode 100644
index 0000000..67d3787
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'meridiem' => ['mat.', 'soir'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php
new file mode 100644
index 0000000..2f06086
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'first_day_of_week' => 6,
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php
new file mode 100644
index 0000000..ae8db5f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php
@@ -0,0 +1,23 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 6],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_LU.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_LU.php
new file mode 100644
index 0000000..8e37d85
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_LU.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months_short' => ['jan', 'fév', 'mar', 'avr', 'mai', 'jun', 'jui', 'aoû', 'sep', 'oct', 'nov', 'déc'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php
new file mode 100644
index 0000000..1bf034d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 6],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php
new file mode 100644
index 0000000..37cf83f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php
new file mode 100644
index 0000000..ae8db5f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php
@@ -0,0 +1,23 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 6],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php
new file mode 100644
index 0000000..37cf83f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php
new file mode 100644
index 0000000..6905e7a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'weekend' => [5, 6],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php
new file mode 100644
index 0000000..37cf83f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fr.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php
new file mode 100644
index 0000000..ec3ee35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fur.php b/vendor/nesbot/carbon/src/Carbon/Lang/fur.php
new file mode 100644
index 0000000..36c2564
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fur.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/fur_IT.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fur_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/fur_IT.php
new file mode 100644
index 0000000..0147a59
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fur_IT.php
@@ -0,0 +1,39 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD. MM. YY',
+ 'LL' => 'DD di MMMM dal YYYY',
+ 'LLL' => 'DD di MMM HH:mm',
+ 'LLLL' => 'DD di MMMM dal YYYY HH:mm',
+ ],
+ 'months' => ['zenâr', 'fevrâr', 'març', 'avrîl', 'mai', 'jugn', 'lui', 'avost', 'setembar', 'otubar', 'novembar', 'dicembar'],
+ 'months_short' => ['zen', 'fev', 'mar', 'avr', 'mai', 'jug', 'lui', 'avo', 'set', 'otu', 'nov', 'dic'],
+ 'weekdays' => ['domenie', 'lunis', 'martars', 'miercus', 'joibe', 'vinars', 'sabide'],
+ 'weekdays_short' => ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'],
+ 'weekdays_min' => ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'year' => ':count an',
+ 'month' => ':count mês',
+ 'week' => ':count setemane',
+ 'day' => ':count zornade',
+ 'hour' => ':count ore',
+ 'minute' => ':count minût',
+ 'second' => ':count secont',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fy.php b/vendor/nesbot/carbon/src/Carbon/Lang/fy.php
new file mode 100644
index 0000000..c1b5439
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fy.php
@@ -0,0 +1,76 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Tim Fish
+ * - JD Isaacks
+ */
+return [
+ 'year' => ':count jier|:count jierren',
+ 'a_year' => 'ien jier|:count jierren',
+ 'y' => ':count j',
+ 'month' => ':count moanne|:count moannen',
+ 'a_month' => 'ien moanne|:count moannen',
+ 'm' => ':count moa.',
+ 'week' => ':count wike|:count wiken',
+ 'a_week' => 'in wike|:count wiken',
+ 'a' => ':count w.',
+ 'day' => ':count dei|:count dagen',
+ 'a_day' => 'ien dei|:count dagen',
+ 'd' => ':count d.',
+ 'hour' => ':count oere|:count oeren',
+ 'a_hour' => 'ien oere|:count oeren',
+ 'h' => ':count o.',
+ 'minute' => ':count minút|:count minuten',
+ 'a_minute' => 'ien minút|:count minuten',
+ 'min' => ':count min.',
+ 'second' => ':count sekonde|:count sekonden',
+ 'a_second' => 'in pear sekonden|:count sekonden',
+ 's' => ':count s.',
+ 'ago' => ':time lyn',
+ 'from_now' => 'oer :time',
+ 'diff_yesterday' => 'juster',
+ 'diff_yesterday_regexp' => 'juster(?:\\s+om)?',
+ 'diff_today' => 'hjoed',
+ 'diff_today_regexp' => 'hjoed(?:\\s+om)?',
+ 'diff_tomorrow' => 'moarn',
+ 'diff_tomorrow_regexp' => 'moarn(?:\\s+om)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD-MM-YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[hjoed om] LT',
+ 'nextDay' => '[moarn om] LT',
+ 'nextWeek' => 'dddd [om] LT',
+ 'lastDay' => '[juster om] LT',
+ 'lastWeek' => '[ôfrûne] dddd [om] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ return $number.(($number === 1 || $number === 8 || $number >= 20) ? 'ste' : 'de');
+ },
+ 'months' => ['jannewaris', 'febrewaris', 'maart', 'april', 'maaie', 'juny', 'july', 'augustus', 'septimber', 'oktober', 'novimber', 'desimber'],
+ 'months_short' => ['jan', 'feb', 'mrt', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
+ 'mmm_suffix' => '.',
+ 'weekdays' => ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'],
+ 'weekdays_short' => ['si.', 'mo.', 'ti.', 'wo.', 'to.', 'fr.', 'so.'],
+ 'weekdays_min' => ['Si', 'Mo', 'Ti', 'Wo', 'To', 'Fr', 'So'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' en '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fy_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/fy_DE.php
new file mode 100644
index 0000000..8559d5c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fy_DE.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - information from Kenneth Christiansen Kenneth Christiansen, Pablo Saratxaga kenneth@gnu.org, pablo@mandriva.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Jaunuwoa', 'Februwoa', 'Moaz', 'Aprell', 'Mai', 'Juni', 'Juli', 'August', 'Septamba', 'Oktoba', 'Nowamba', 'Dezamba'],
+ 'months_short' => ['Jan', 'Feb', 'Moz', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Now', 'Dez'],
+ 'weekdays' => ['Sinndag', 'Mondag', 'Dingsdag', 'Meddwäakj', 'Donnadag', 'Friedag', 'Sinnowend'],
+ 'weekdays_short' => ['Sdg', 'Mdg', 'Dsg', 'Mwk', 'Ddg', 'Fdg', 'Swd'],
+ 'weekdays_min' => ['Sdg', 'Mdg', 'Dsg', 'Mwk', 'Ddg', 'Fdg', 'Swd'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fy_NL.php b/vendor/nesbot/carbon/src/Carbon/Lang/fy_NL.php
new file mode 100644
index 0000000..01cc96c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fy_NL.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/fy.php', [
+ 'formats' => [
+ 'L' => 'DD-MM-YY',
+ ],
+ 'months' => ['Jannewaris', 'Febrewaris', 'Maart', 'April', 'Maaie', 'Juny', 'July', 'Augustus', 'Septimber', 'Oktober', 'Novimber', 'Desimber'],
+ 'months_short' => ['Jan', 'Feb', 'Mrt', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Snein', 'Moandei', 'Tiisdei', 'Woansdei', 'Tongersdei', 'Freed', 'Sneon'],
+ 'weekdays_short' => ['Sn', 'Mo', 'Ti', 'Wo', 'To', 'Fr', 'Sn'],
+ 'weekdays_min' => ['Sn', 'Mo', 'Ti', 'Wo', 'To', 'Fr', 'Sn'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ga.php b/vendor/nesbot/carbon/src/Carbon/Lang/ga.php
new file mode 100644
index 0000000..9f07a26
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ga.php
@@ -0,0 +1,77 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Thanks to André Silva : https://github.com/askpt
+ */
+
+return [
+ 'year' => ':count bliain',
+ 'a_year' => '{1}bliain|:count bliain',
+ 'y' => ':countb',
+ 'month' => ':count mÃ',
+ 'a_month' => '{1}mÃ|:count mÃ',
+ 'm' => ':countm',
+ 'week' => ':count sheachtain',
+ 'a_week' => '{1}sheachtain|:count sheachtain',
+ 'w' => ':countsh',
+ 'day' => ':count lá',
+ 'a_day' => '{1}lá|:count lá',
+ 'd' => ':countl',
+ 'hour' => ':count uair an chloig',
+ 'a_hour' => '{1}uair an chloig|:count uair an chloig',
+ 'h' => ':countu',
+ 'minute' => ':count nóiméad',
+ 'a_minute' => '{1}nóiméad|:count nóiméad',
+ 'min' => ':countn',
+ 'second' => ':count soicind',
+ 'a_second' => '{1}cúpla soicind|:count soicind',
+ 's' => ':countso',
+ 'ago' => ':time ó shin',
+ 'from_now' => 'i :time',
+ 'after' => ':time tar éis',
+ 'before' => ':time roimh',
+ 'diff_now' => 'anois',
+ 'diff_today' => 'Inniu',
+ 'diff_today_regexp' => 'Inniu(?:\\s+ag)?',
+ 'diff_yesterday' => 'inné',
+ 'diff_yesterday_regexp' => 'Inné(?:\\s+aig)?',
+ 'diff_tomorrow' => 'amárach',
+ 'diff_tomorrow_regexp' => 'Amárach(?:\\s+ag)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Inniu ag] LT',
+ 'nextDay' => '[Amárach ag] LT',
+ 'nextWeek' => 'dddd [ag] LT',
+ 'lastDay' => '[Inné aig] LT',
+ 'lastWeek' => 'dddd [seo caite] [ag] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig'],
+ 'months_short' => ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll'],
+ 'weekdays' => ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn'],
+ 'weekdays_short' => ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'],
+ 'weekdays_min' => ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'],
+ 'ordinal' => function ($number) {
+ return $number.($number === 1 ? 'd' : ($number % 10 === 2 ? 'na' : 'mh'));
+ },
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' agus '],
+ 'meridiem' => ['r.n.', 'i.n.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php
new file mode 100644
index 0000000..57b0c4f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ga.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gd.php b/vendor/nesbot/carbon/src/Carbon/Lang/gd.php
new file mode 100644
index 0000000..63d064d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gd.php
@@ -0,0 +1,75 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Jon Ashdown
+ */
+return [
+ 'year' => ':count bliadhna',
+ 'a_year' => '{1}bliadhna|:count bliadhna',
+ 'y' => ':count b.',
+ 'month' => ':count mìosan',
+ 'a_month' => '{1}mìos|:count mìosan',
+ 'm' => ':count ms.',
+ 'week' => ':count seachdainean',
+ 'a_week' => '{1}seachdain|:count seachdainean',
+ 'w' => ':count s.',
+ 'day' => ':count latha',
+ 'a_day' => '{1}latha|:count latha',
+ 'd' => ':count l.',
+ 'hour' => ':count uairean',
+ 'a_hour' => '{1}uair|:count uairean',
+ 'h' => ':count u.',
+ 'minute' => ':count mionaidean',
+ 'a_minute' => '{1}mionaid|:count mionaidean',
+ 'min' => ':count md.',
+ 'second' => ':count diogan',
+ 'a_second' => '{1}beagan diogan|:count diogan',
+ 's' => ':count d.',
+ 'ago' => 'bho chionn :time',
+ 'from_now' => 'ann an :time',
+ 'diff_yesterday' => 'An-dè',
+ 'diff_yesterday_regexp' => 'An-dè(?:\\s+aig)?',
+ 'diff_today' => 'An-diugh',
+ 'diff_today_regexp' => 'An-diugh(?:\\s+aig)?',
+ 'diff_tomorrow' => 'A-mà ireach',
+ 'diff_tomorrow_regexp' => 'A-mà ireach(?:\\s+aig)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[An-diugh aig] LT',
+ 'nextDay' => '[A-mà ireach aig] LT',
+ 'nextWeek' => 'dddd [aig] LT',
+ 'lastDay' => '[An-dè aig] LT',
+ 'lastWeek' => 'dddd [seo chaidh] [aig] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ return $number.($number === 1 ? 'd' : ($number % 10 === 2 ? 'na' : 'mh'));
+ },
+ 'months' => ['Am Faoilleach', 'An Gearran', 'Am Mà rt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dà mhair', 'An t-Samhain', 'An Dùbhlachd'],
+ 'months_short' => ['Faoi', 'Gear', 'Mà rt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dà mh', 'Samh', 'Dùbh'],
+ 'weekdays' => ['Didòmhnaich', 'Diluain', 'Dimà irt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'],
+ 'weekdays_short' => ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
+ 'weekdays_min' => ['Dò', 'Lu', 'Mà ', 'Ci', 'Ar', 'Ha', 'Sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' agus '],
+ 'meridiem' => ['m', 'f'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php
new file mode 100644
index 0000000..4fc26b3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/gd.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gez.php b/vendor/nesbot/carbon/src/Carbon/Lang/gez.php
new file mode 100644
index 0000000..b8a2f0e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gez.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/gez_ER.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gez_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/gez_ER.php
new file mode 100644
index 0000000..f19d1df
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gez_ER.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጠáˆáˆ¨', 'ከተተ', 'መገበ', 'አኀዘ', 'áŒáŠ•á‰£á‰µ', 'ሠንየ', 'áˆáˆ˜áˆˆ', 'áŠáˆáˆ°', 'ከረመ', 'ጠቀመ', 'ኀደረ', 'ኀሠሠ'],
+ 'months_short' => ['ጠáˆáˆ¨', 'ከተተ', 'መገበ', 'አኀዘ', 'áŒáŠ•á‰£', 'ሠንየ', 'áˆáˆ˜áˆˆ', 'áŠáˆáˆ°', 'ከረመ', 'ጠቀመ', 'ኀደረ', 'ኀሠሠ'],
+ 'weekdays' => ['እáŠá‹µ', 'ሰኑá‹', 'ሠሉስ', 'ራብዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰ ', 'ቀዳሚት'],
+ 'weekdays_short' => ['እáŠá‹µ', 'ሰኑá‹', 'ሠሉስ', 'ራብዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰ ', 'ቀዳሚ'],
+ 'weekdays_min' => ['እáŠá‹µ', 'ሰኑá‹', 'ሠሉስ', 'ራብዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰ ', 'ቀዳሚ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ጽባሕ', 'áˆáˆ´á‰µ'],
+
+ 'month' => ':count ወáˆáˆ•', // less reliable
+ 'm' => ':count ወáˆáˆ•', // less reliable
+ 'a_month' => ':count ወáˆáˆ•', // less reliable
+
+ 'week' => ':count ሰብዑ', // less reliable
+ 'w' => ':count ሰብዑ', // less reliable
+ 'a_week' => ':count ሰብዑ', // less reliable
+
+ 'hour' => ':count አንትሙ', // less reliable
+ 'h' => ':count አንትሙ', // less reliable
+ 'a_hour' => ':count አንትሙ', // less reliable
+
+ 'minute' => ':count ንኡስ', // less reliable
+ 'min' => ':count ንኡስ', // less reliable
+ 'a_minute' => ':count ንኡስ', // less reliable
+
+ 'year' => ':count ዓመት',
+ 'y' => ':count ዓመት',
+ 'a_year' => ':count ዓመት',
+
+ 'day' => ':count ዕለት',
+ 'd' => ':count ዕለት',
+ 'a_day' => ':count ዕለት',
+
+ 'second' => ':count ካáˆáŠ¥',
+ 's' => ':count ካáˆáŠ¥',
+ 'a_second' => ':count ካáˆáŠ¥',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gez_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/gez_ET.php
new file mode 100644
index 0000000..3933009
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gez_ET.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጃንዩወሪ', 'áŒá‰¥áˆ©á‹ˆáˆª', 'ማáˆá‰½', 'ኤá•ረáˆ', 'ሜá‹', 'áŒáŠ•', 'áŒáˆ‹á‹', 'ኦገስት', 'ሴá•ቴáˆá‰ áˆ', 'ኦáŠá‰°á‹á‰ áˆ', 'ኖቬáˆá‰ áˆ', 'ዲሴáˆá‰ áˆ'],
+ 'months_short' => ['ጃንዩ', 'áŒá‰¥áˆ©', 'ማáˆá‰½', 'ኤá•ረ', 'ሜዠ', 'áŒáŠ• ', 'áŒáˆ‹á‹', 'ኦገስ', 'ሴá•ቴ', 'ኦáŠá‰°', 'ኖቬáˆ', 'ዲሴáˆ'],
+ 'weekdays' => ['እáŠá‹µ', 'ሰኑá‹', 'ሠሉስ', 'ራብዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰ ', 'ቀዳሚት'],
+ 'weekdays_short' => ['እáŠá‹µ', 'ሰኑá‹', 'ሠሉስ', 'ራብዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰ ', 'ቀዳሚ'],
+ 'weekdays_min' => ['እáŠá‹µ', 'ሰኑá‹', 'ሠሉስ', 'ራብዕ', 'áˆáˆ™áˆµ', 'á‹“áˆá‰ ', 'ቀዳሚ'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ጽባሕ', 'áˆáˆ´á‰µ'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gl.php b/vendor/nesbot/carbon/src/Carbon/Lang/gl.php
new file mode 100644
index 0000000..088b0f2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gl.php
@@ -0,0 +1,98 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Fidel Pita
+ * - JD Isaacks
+ * - Diego Vilariño
+ * - Sebastian Thierer
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count ano|:count anos',
+ 'a_year' => 'un ano|:count anos',
+ 'y' => ':count a.',
+ 'month' => ':count mes|:count meses',
+ 'a_month' => 'un mes|:count meses',
+ 'm' => ':count mes.',
+ 'week' => ':count semana|:count semanas',
+ 'a_week' => 'unha semana|:count semanas',
+ 'w' => ':count sem.',
+ 'day' => ':count dÃa|:count dÃas',
+ 'a_day' => 'un dÃa|:count dÃas',
+ 'd' => ':count d.',
+ 'hour' => ':count hora|:count horas',
+ 'a_hour' => 'unha hora|:count horas',
+ 'h' => ':count h.',
+ 'minute' => ':count minuto|:count minutos',
+ 'a_minute' => 'un minuto|:count minutos',
+ 'min' => ':count min.',
+ 'second' => ':count segundo|:count segundos',
+ 'a_second' => 'uns segundos|:count segundos',
+ 's' => ':count seg.',
+ 'ago' => 'hai :time',
+ 'from_now' => function ($time) {
+ if (str_starts_with($time, 'un')) {
+ return "n$time";
+ }
+
+ return "en $time";
+ },
+ 'diff_now' => 'agora',
+ 'diff_today' => 'hoxe',
+ 'diff_today_regexp' => 'hoxe(?:\\s+ás)?',
+ 'diff_yesterday' => 'onte',
+ 'diff_yesterday_regexp' => 'onte(?:\\s+á)?',
+ 'diff_tomorrow' => 'mañá',
+ 'diff_tomorrow_regexp' => 'mañá(?:\\s+ás)?',
+ 'after' => ':time despois',
+ 'before' => ':time antes',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D [de] MMMM [de] YYYY',
+ 'LLL' => 'D [de] MMMM [de] YYYY H:mm',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => function (CarbonInterface $current) {
+ return '[hoxe '.($current->hour !== 1 ? 'ás' : 'á').'] LT';
+ },
+ 'nextDay' => function (CarbonInterface $current) {
+ return '[mañá '.($current->hour !== 1 ? 'ás' : 'á').'] LT';
+ },
+ 'nextWeek' => function (CarbonInterface $current) {
+ return 'dddd ['.($current->hour !== 1 ? 'ás' : 'á').'] LT';
+ },
+ 'lastDay' => function (CarbonInterface $current) {
+ return '[onte '.($current->hour !== 1 ? 'á' : 'a').'] LT';
+ },
+ 'lastWeek' => function (CarbonInterface $current) {
+ return '[o] dddd [pasado '.($current->hour !== 1 ? 'ás' : 'á').'] LT';
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberº',
+ 'months' => ['xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', 'outubro', 'novembro', 'decembro'],
+ 'months_short' => ['xan.', 'feb.', 'mar.', 'abr.', 'mai.', 'xuñ.', 'xul.', 'ago.', 'set.', 'out.', 'nov.', 'dec.'],
+ 'weekdays' => ['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado'],
+ 'weekdays_short' => ['dom.', 'lun.', 'mar.', 'mér.', 'xov.', 'ven.', 'sáb.'],
+ 'weekdays_min' => ['do', 'lu', 'ma', 'mé', 'xo', 've', 'sá'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' e '],
+ 'meridiem' => ['a.m.', 'p.m.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php
new file mode 100644
index 0000000..9d6c1d9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/gl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gom.php b/vendor/nesbot/carbon/src/Carbon/Lang/gom.php
new file mode 100644
index 0000000..2a0584f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gom.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/gom_Latn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php
new file mode 100644
index 0000000..612bb88
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php
@@ -0,0 +1,79 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return [
+ 'year' => ':count voros|:count vorsam',
+ 'y' => ':countv',
+ 'month' => ':count mhoino|:count mhoine',
+ 'm' => ':countmh',
+ 'week' => ':count satolleacho|:count satolleache',
+ 'w' => ':countsa|:countsa',
+ 'day' => ':count dis',
+ 'd' => ':countd',
+ 'hour' => ':count hor|:count horam',
+ 'h' => ':counth',
+ 'minute' => ':count minute|:count mintam',
+ 'min' => ':countm',
+ 'second' => ':count second',
+ 's' => ':counts',
+
+ 'diff_today' => 'Aiz',
+ 'diff_yesterday' => 'Kal',
+ 'diff_tomorrow' => 'Faleam',
+ 'formats' => [
+ 'LT' => 'A h:mm [vazta]',
+ 'LTS' => 'A h:mm:ss [vazta]',
+ 'L' => 'DD-MM-YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY A h:mm [vazta]',
+ 'LLLL' => 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',
+ 'llll' => 'ddd, D MMM YYYY, A h:mm [vazta]',
+ ],
+
+ 'calendar' => [
+ 'sameDay' => '[Aiz] LT',
+ 'nextDay' => '[Faleam] LT',
+ 'nextWeek' => '[Ieta to] dddd[,] LT',
+ 'lastDay' => '[Kal] LT',
+ 'lastWeek' => '[Fatlo] dddd[,] LT',
+ 'sameElse' => 'L',
+ ],
+
+ 'months' => ['Janer', 'Febrer', 'Mars', 'Abril', 'Mai', 'Jun', 'Julai', 'Agost', 'Setembr', 'Otubr', 'Novembr', 'Dezembr'],
+ 'months_short' => ['Jan.', 'Feb.', 'Mars', 'Abr.', 'Mai', 'Jun', 'Jul.', 'Ago.', 'Set.', 'Otu.', 'Nov.', 'Dez.'],
+ 'weekdays' => ['Aitar', 'Somar', 'Mongllar', 'Budvar', 'Brestar', 'Sukrar', 'Son\'var'],
+ 'weekdays_short' => ['Ait.', 'Som.', 'Mon.', 'Bud.', 'Bre.', 'Suk.', 'Son.'],
+ 'weekdays_min' => ['Ai', 'Sm', 'Mo', 'Bu', 'Br', 'Su', 'Sn'],
+
+ 'ordinal' => function ($number, $period) {
+ return $number.($period === 'D' ? 'er' : '');
+ },
+
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'rati';
+ }
+ if ($hour < 12) {
+ return 'sokalli';
+ }
+ if ($hour < 16) {
+ return 'donparam';
+ }
+ if ($hour < 20) {
+ return 'sanje';
+ }
+
+ return 'rati';
+ },
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' ani '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw.php
new file mode 100644
index 0000000..c5c850e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Christopher Dell
+ * - Akira Matsuda
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Henning Kiel
+ * - Aaron Patterson
+ * - Florian Hanke
+ */
+return [
+ 'year' => ':count Johr',
+ 'month' => ':count Monet',
+ 'week' => ':count Woche',
+ 'day' => ':count Tag',
+ 'hour' => ':count Schtund',
+ 'minute' => ':count Minute',
+ 'second' => ':count Sekunde',
+ 'weekdays' => ['Sunntig', 'Mäntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'],
+ 'weekdays_short' => ['Su', 'Mä', 'Zi', 'Mi', 'Du', 'Fr', 'Sa'],
+ 'weekdays_min' => ['Su', 'Mä', 'Zi', 'Mi', 'Du', 'Fr', 'Sa'],
+ 'months' => ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'September', 'Oktober', 'November', 'Dezember'],
+ 'months_short' => ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
+ 'meridiem' => ['am Vormittag', 'am Namittag'],
+ 'ordinal' => ':number.',
+ 'list' => [', ', ' und '],
+ 'diff_now' => 'now',
+ 'diff_yesterday' => 'geschter',
+ 'diff_tomorrow' => 'moorn',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'Do MMMM YYYY',
+ 'LLL' => 'Do MMMM, HH:mm [Uhr]',
+ 'LLLL' => 'dddd, Do MMMM YYYY, HH:mm [Uhr]',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php
new file mode 100644
index 0000000..594eb25
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/gsw.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php
new file mode 100644
index 0000000..3581dcf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/gsw.php', [
+ 'meridiem' => ['vorm.', 'nam.'],
+ 'months' => ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', 'Oktoober', 'Novämber', 'Dezämber'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LLL' => 'Do MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, Do MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php
new file mode 100644
index 0000000..3581dcf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/gsw.php', [
+ 'meridiem' => ['vorm.', 'nam.'],
+ 'months' => ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', 'Oktoober', 'Novämber', 'Dezämber'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LLL' => 'Do MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, Do MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gu.php b/vendor/nesbot/carbon/src/Carbon/Lang/gu.php
new file mode 100644
index 0000000..8bc4311
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gu.php
@@ -0,0 +1,82 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Kaushik Thanki
+ * - Josh Soref
+ */
+return [
+ 'year' => 'àªàª• વરà«àª·|:count વરà«àª·',
+ 'y' => ':countવરà«àª·|:countવરà«àª·à«‹',
+ 'month' => 'àªàª• મહિનો|:count મહિના',
+ 'm' => ':countમહિનો|:countમહિના',
+ 'week' => ':count અઠવાડિયà«àª‚|:count અઠવાડિયા',
+ 'w' => ':countઅઠ.|:countઅઠ.',
+ 'day' => 'àªàª• દિવસ|:count દિવસ',
+ 'd' => ':countદિ.|:countદિ.',
+ 'hour' => 'àªàª• કલાક|:count કલાક',
+ 'h' => ':countક.|:countક.',
+ 'minute' => 'àªàª• મિનિટ|:count મિનિટ',
+ 'min' => ':countમિ.|:countમિ.',
+ 'second' => 'અમà«àª• પળો|:count સેકંડ',
+ 's' => ':countસે.|:countસે.',
+ 'ago' => ':time પેહલા',
+ 'from_now' => ':time મા',
+ 'after' => ':time પછી',
+ 'before' => ':time પહેલા',
+ 'diff_now' => 'હમણાં',
+ 'diff_today' => 'આજ',
+ 'diff_yesterday' => 'ગઇકાલે',
+ 'diff_tomorrow' => 'કાલે',
+ 'formats' => [
+ 'LT' => 'A h:mm વાગà«àª¯à«‡',
+ 'LTS' => 'A h:mm:ss વાગà«àª¯à«‡',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm વાગà«àª¯à«‡',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm વાગà«àª¯à«‡',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[આજ] LT',
+ 'nextDay' => '[કાલે] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[ગઇકાલે] LT',
+ 'lastWeek' => '[પાછલા] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'રાત';
+ }
+ if ($hour < 10) {
+ return 'સવાર';
+ }
+ if ($hour < 17) {
+ return 'બપોર';
+ }
+ if ($hour < 20) {
+ return 'સાંજ';
+ }
+
+ return 'રાત';
+ },
+ 'months' => ['જાનà«àª¯à«àª†àª°à«€', 'ફેબà«àª°à«àª†àª°à«€', 'મારà«àªš', 'àªàªªà«àª°àª¿àª²', 'મે', 'જૂન', 'જà«àª²àª¾àªˆ', 'ઑગસà«àªŸ', 'સપà«àªŸà«‡àª®à«àª¬àª°', 'ઑકà«àªŸà«àª¬àª°', 'નવેમà«àª¬àª°', 'ડિસેમà«àª¬àª°'],
+ 'months_short' => ['જાનà«àª¯à«.', 'ફેબà«àª°à«.', 'મારà«àªš', 'àªàªªà«àª°àª¿.', 'મે', 'જૂન', 'જà«àª²àª¾.', 'ઑગ.', 'સપà«àªŸà«‡.', 'ઑકà«àªŸà«.', 'નવે.', 'ડિસે.'],
+ 'weekdays' => ['રવિવાર', 'સોમવાર', 'મંગળવાર', 'બà«àª§à«àªµàª¾àª°', 'ગà«àª°à«àªµàª¾àª°', 'શà«àª•à«àª°àªµàª¾àª°', 'શનિવાર'],
+ 'weekdays_short' => ['રવિ', 'સોમ', 'મંગળ', 'બà«àª§à«', 'ગà«àª°à«', 'શà«àª•à«àª°', 'શનિ'],
+ 'weekdays_min' => ['ર', 'સો', 'મં', 'બà«', 'ગà«', 'શà«', 'શ'],
+ 'list' => [', ', ' અને '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php
new file mode 100644
index 0000000..02654b1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/gu.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/guz.php b/vendor/nesbot/carbon/src/Carbon/Lang/guz.php
new file mode 100644
index 0000000..6230165
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/guz.php
@@ -0,0 +1,47 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Ma', 'Mo'],
+ 'weekdays' => ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'],
+ 'weekdays_short' => ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'],
+ 'weekdays_min' => ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'],
+ 'months' => ['Chanuari', 'Feburari', 'Machi', 'Apiriri', 'Mei', 'Juni', 'Chulai', 'Agosti', 'Septemba', 'Okitoba', 'Nobemba', 'Disemba'],
+ 'months_short' => ['Can', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Cul', 'Agt', 'Sep', 'Okt', 'Nob', 'Dis'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'month' => ':count omotunyi', // less reliable
+ 'm' => ':count omotunyi', // less reliable
+ 'a_month' => ':count omotunyi', // less reliable
+
+ 'week' => ':count isano naibere', // less reliable
+ 'w' => ':count isano naibere', // less reliable
+ 'a_week' => ':count isano naibere', // less reliable
+
+ 'second' => ':count ibere', // less reliable
+ 's' => ':count ibere', // less reliable
+ 'a_second' => ':count ibere', // less reliable
+
+ 'year' => ':count omwaka',
+ 'y' => ':count omwaka',
+ 'a_year' => ':count omwaka',
+
+ 'day' => ':count rituko',
+ 'd' => ':count rituko',
+ 'a_day' => ':count rituko',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gv.php b/vendor/nesbot/carbon/src/Carbon/Lang/gv.php
new file mode 100644
index 0000000..7c52b94
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gv.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/gv_GB.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gv_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/gv_GB.php
new file mode 100644
index 0000000..6b1168f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gv_GB.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Alastair McKinstry bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Jerrey-geuree', 'Toshiaght-arree', 'Mayrnt', 'Averil', 'Boaldyn', 'Mean-souree', 'Jerrey-souree', 'Luanistyn', 'Mean-fouyir', 'Jerrey-fouyir', 'Mee Houney', 'Mee ny Nollick'],
+ 'months_short' => ['J-guer', 'T-arree', 'Mayrnt', 'Avrril', 'Boaldyn', 'M-souree', 'J-souree', 'Luanistyn', 'M-fouyir', 'J-fouyir', 'M.Houney', 'M.Nollick'],
+ 'weekdays' => ['Jedoonee', 'Jelhein', 'Jemayrt', 'Jercean', 'Jerdein', 'Jeheiney', 'Jesarn'],
+ 'weekdays_short' => ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'],
+ 'weekdays_min' => ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count blein',
+ 'y' => ':count blein',
+ 'a_year' => ':count blein',
+
+ 'month' => ':count mee',
+ 'm' => ':count mee',
+ 'a_month' => ':count mee',
+
+ 'week' => ':count shiaghtin',
+ 'w' => ':count shiaghtin',
+ 'a_week' => ':count shiaghtin',
+
+ 'day' => ':count laa',
+ 'd' => ':count laa',
+ 'a_day' => ':count laa',
+
+ 'hour' => ':count oor',
+ 'h' => ':count oor',
+ 'a_hour' => ':count oor',
+
+ 'minute' => ':count feer veg',
+ 'min' => ':count feer veg',
+ 'a_minute' => ':count feer veg',
+
+ 'second' => ':count derrey',
+ 's' => ':count derrey',
+ 'a_second' => ':count derrey',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha.php
new file mode 100644
index 0000000..cd8e34d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - pablo@mandriva.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM, YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM, YYYY HH:mm',
+ ],
+ 'months' => ['Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', 'Oktoba', 'Nuwamba', 'Disamba'],
+ 'months_short' => ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'],
+ 'weekdays' => ['Lahadi', 'Litini', 'Talata', 'Laraba', 'Alhamis', 'Jumaʼa', 'Asabar'],
+ 'weekdays_short' => ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'],
+ 'weekdays_min' => ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => 'shekara :count',
+ 'y' => 'shekara :count',
+ 'a_year' => 'shekara :count',
+
+ 'month' => ':count wátà a',
+ 'm' => ':count wátà a',
+ 'a_month' => ':count wátà a',
+
+ 'week' => ':count mako',
+ 'w' => ':count mako',
+ 'a_week' => ':count mako',
+
+ 'day' => ':count rana',
+ 'd' => ':count rana',
+ 'a_day' => ':count rana',
+
+ 'hour' => ':count áwà a',
+ 'h' => ':count áwà a',
+ 'a_hour' => ':count áwà a',
+
+ 'minute' => 'minti :count',
+ 'min' => 'minti :count',
+ 'a_minute' => 'minti :count',
+
+ 'second' => ':count ná bÃyú',
+ 's' => ':count ná bÃyú',
+ 'a_second' => ':count ná bÃyú',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php
new file mode 100644
index 0000000..f9f99a7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ha.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php
new file mode 100644
index 0000000..f9f99a7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ha.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php
new file mode 100644
index 0000000..f9f99a7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ha.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hak.php b/vendor/nesbot/carbon/src/Carbon/Lang/hak.php
new file mode 100644
index 0000000..6c3260e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hak.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/hak_TW.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hak_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/hak_TW.php
new file mode 100644
index 0000000..fe23986
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hak_TW.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY年MM月DD日',
+ ],
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => [' 1月', ' 2月', ' 3月', ' 4月', ' 5月', ' 6月', ' 7月', ' 8月', ' 9月', '10月', '11月', '12月'],
+ 'weekdays' => ['禮拜日', '禮拜一', '禮拜二', '禮拜三', '禮拜四', '禮拜五', '禮拜å…'],
+ 'weekdays_short' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['上æ™', '下æ™'],
+
+ 'year' => ':count ngien11',
+ 'y' => ':count ngien11',
+ 'a_year' => ':count ngien11',
+
+ 'month' => ':count ngieÌt',
+ 'm' => ':count ngieÌt',
+ 'a_month' => ':count ngieÌt',
+
+ 'week' => ':count lî-pai',
+ 'w' => ':count lî-pai',
+ 'a_week' => ':count lî-pai',
+
+ 'day' => ':count ngit',
+ 'd' => ':count ngit',
+ 'a_day' => ':count ngit',
+
+ 'hour' => ':count sṳ̀',
+ 'h' => ':count sṳ̀',
+ 'a_hour' => ':count sṳ̀',
+
+ 'minute' => ':count fûn',
+ 'min' => ':count fûn',
+ 'a_minute' => ':count fûn',
+
+ 'second' => ':count miéu',
+ 's' => ':count miéu',
+ 'a_second' => ':count miéu',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/haw.php b/vendor/nesbot/carbon/src/Carbon/Lang/haw.php
new file mode 100644
index 0000000..cdd3686
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/haw.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'months' => ['Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa'],
+ 'months_short' => ['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.'],
+ 'weekdays' => ['LÄpule', 'PoÊ»akahi', 'PoÊ»alua', 'PoÊ»akolu', 'PoÊ»ahÄ', 'PoÊ»alima', 'PoÊ»aono'],
+ 'weekdays_short' => ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'],
+ 'weekdays_min' => ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm a',
+ ],
+
+ 'year' => ':count makahiki',
+ 'y' => ':count makahiki',
+ 'a_year' => ':count makahiki',
+
+ 'month' => ':count mahina',
+ 'm' => ':count mahina',
+ 'a_month' => ':count mahina',
+
+ 'week' => ':count pule',
+ 'w' => ':count pule',
+ 'a_week' => ':count pule',
+
+ 'day' => ':count lÄ',
+ 'd' => ':count lÄ',
+ 'a_day' => ':count lÄ',
+
+ 'hour' => ':count hola',
+ 'h' => ':count hola',
+ 'a_hour' => ':count hola',
+
+ 'minute' => ':count minuke',
+ 'min' => ':count minuke',
+ 'a_minute' => ':count minuke',
+
+ 'second' => ':count lua',
+ 's' => ':count lua',
+ 'a_second' => ':count lua',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/he.php b/vendor/nesbot/carbon/src/Carbon/Lang/he.php
new file mode 100644
index 0000000..c3fb3e9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/he.php
@@ -0,0 +1,86 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Daniel Cohen Gindi
+ * - JD Isaacks
+ * - Itai Nathaniel
+ * - GabMic
+ * - Yaakov Dahan (yakidahan)
+ */
+return [
+ 'year' => '×©× ×”|{2}×©× ×ª×™×™×|:count ×©× ×™×',
+ 'y' => '×©× ×”|:count ×©× ×³',
+ 'month' => 'חודש|{2}חודשיי×|:count חודשי×',
+ 'm' => 'חודש|:count חו׳',
+ 'week' => 'שבוע|{2}שבועיי×|:count שבועות',
+ 'w' => 'שבוע|:count שב׳',
+ 'day' => 'יו×|{2}יומיי×|:count ימי×',
+ 'd' => 'יו×|:count ימ׳',
+ 'hour' => 'שעה|{2}שעתיי×|:count שעות',
+ 'h' => 'שעה|:count שע׳',
+ 'minute' => 'דקה|{2}שתי דקות|:count דקות',
+ 'min' => 'דקה|:count דק׳',
+ 'second' => '×©× ×™×™×”|:count ×©× ×™×•×ª',
+ 'a_second' => 'כמה ×©× ×™×•×ª|:count ×©× ×™×•×ª',
+ 's' => '×©× ×™×”|:count ×©× ×³',
+ 'ago' => '×œ×¤× ×™ :time',
+ 'from_now' => 'בעוד :time מעכשיו',
+ 'after' => '×חרי :time',
+ 'before' => '×œ×¤× ×™ :time',
+ 'diff_now' => 'עכשיו',
+ 'diff_today' => 'היו×',
+ 'diff_today_regexp' => 'היו×(?:\\s+ב־)?',
+ 'diff_yesterday' => '×תמול',
+ 'diff_yesterday_regexp' => '×תמול(?:\\s+ב־)?',
+ 'diff_tomorrow' => 'מחר',
+ 'diff_tomorrow_regexp' => 'מחר(?:\\s+ב־)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D [ב]MMMM YYYY',
+ 'LLL' => 'D [ב]MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D [ב]MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[×”×™×•× ×‘Ö¾]LT',
+ 'nextDay' => '[מחר ב־]LT',
+ 'nextWeek' => 'dddd [בשעה] LT',
+ 'lastDay' => '[×תמול ב־]LT',
+ 'lastWeek' => '[ביו×] dddd [×”×חרון בשעה] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour, $minute, $isLower) {
+ if ($hour < 5) {
+ return '×œ×¤× ×•×ª בוקר';
+ }
+ if ($hour < 10) {
+ return 'בבוקר';
+ }
+ if ($hour < 12) {
+ return $isLower ? '×œ×¤× ×”"צ' : '×œ×¤× ×™ הצהריי×';
+ }
+ if ($hour < 18) {
+ return $isLower ? '××—×”"צ' : '×חרי הצהריי×';
+ }
+
+ return 'בערב';
+ },
+ 'months' => ['×™× ×•×ר', 'פברו×ר', 'מרץ', '×פריל', 'מ××™', '×™×•× ×™', 'יולי', '×וגוסט', 'ספטמבר', '×וקטובר', '× ×•×‘×ž×‘×¨', 'דצמבר'],
+ 'months_short' => ['×™× ×•×³', 'פבר׳', 'מרץ', '×פר׳', 'מ××™', '×™×•× ×™', 'יולי', '×וג׳', 'ספט׳', '×וק׳', '× ×•×‘×³', 'דצמ׳'],
+ 'weekdays' => ['ר×שון', '×©× ×™', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת'],
+ 'weekdays_short' => ['×׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'],
+ 'weekdays_min' => ['×', 'ב', '×’', 'ד', '×”', 'ו', 'ש'],
+ 'list' => [', ', ' ו -'],
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php b/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php
new file mode 100644
index 0000000..14fab3e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/he.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hi.php b/vendor/nesbot/carbon/src/Carbon/Lang/hi.php
new file mode 100644
index 0000000..70c57a2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hi.php
@@ -0,0 +1,82 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - abhimanyu003
+ * - Josh Soref
+ * - JD Isaacks
+ */
+return [
+ 'year' => 'à¤à¤• वरà¥à¤·|:count वरà¥à¤·',
+ 'y' => '1 वरà¥à¤·|:count वरà¥à¤·à¥‹à¤‚',
+ 'month' => 'à¤à¤• महीने|:count महीने',
+ 'm' => '1 माह|:count महीने',
+ 'week' => '1 सपà¥à¤¤à¤¾à¤¹|:count सपà¥à¤¤à¤¾à¤¹',
+ 'w' => '1 सपà¥à¤¤à¤¾à¤¹|:count सपà¥à¤¤à¤¾à¤¹',
+ 'day' => 'à¤à¤• दिन|:count दिन',
+ 'd' => '1 दिन|:count दिनों',
+ 'hour' => 'à¤à¤• घंटा|:count घंटे',
+ 'h' => '1 घंटा|:count घंटे',
+ 'minute' => 'à¤à¤• मिनट|:count मिनट',
+ 'min' => '1 मिनट|:count मिनटों',
+ 'second' => 'कà¥à¤› ही कà¥à¤·à¤£|:count सेकंड',
+ 's' => '1 सेकंड|:count सेकंड',
+ 'ago' => ':time पहले',
+ 'from_now' => ':time में',
+ 'after' => ':time के बाद',
+ 'before' => ':time के पहले',
+ 'diff_now' => 'अब',
+ 'diff_today' => 'आज',
+ 'diff_yesterday' => 'कल',
+ 'diff_tomorrow' => 'कल',
+ 'formats' => [
+ 'LT' => 'A h:mm बजे',
+ 'LTS' => 'A h:mm:ss बजे',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm बजे',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm बजे',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[आज] LT',
+ 'nextDay' => '[कल] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[कल] LT',
+ 'lastWeek' => '[पिछले] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'रात';
+ }
+ if ($hour < 10) {
+ return 'सà¥à¤¬à¤¹';
+ }
+ if ($hour < 17) {
+ return 'दोपहर';
+ }
+ if ($hour < 20) {
+ return 'शाम';
+ }
+
+ return 'रात';
+ },
+ 'months' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆà¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'months_short' => ['जन.', 'फ़र.', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆ.', 'मई', 'जून', 'जà¥à¤².', 'अग.', 'सित.', 'अकà¥à¤Ÿà¥‚.', 'नव.', 'दिस.'],
+ 'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बà¥à¤§à¤µà¤¾à¤°', 'गà¥à¤°à¥‚वार', 'शà¥à¤•à¥à¤°à¤µà¤¾à¤°', 'शनिवार'],
+ 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'गà¥à¤°à¥‚', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'weekdays_min' => ['र', 'सो', 'मं', 'बà¥', 'गà¥', 'शà¥', 'श'],
+ 'list' => [', ', ' और '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php
new file mode 100644
index 0000000..749dd97
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/hi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hif.php b/vendor/nesbot/carbon/src/Carbon/Lang/hif.php
new file mode 100644
index 0000000..65791dd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hif.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/hif_FJ.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hif_FJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/hif_FJ.php
new file mode 100644
index 0000000..30ad5e7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hif_FJ.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'dddd DD MMM YYYY',
+ ],
+ 'months' => ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ 'weekdays' => ['Ravivar', 'Somvar', 'Mangalvar', 'Budhvar', 'Guruvar', 'Shukravar', 'Shanivar'],
+ 'weekdays_short' => ['Ravi', 'Som', 'Mangal', 'Budh', 'Guru', 'Shukra', 'Shani'],
+ 'weekdays_min' => ['Ravi', 'Som', 'Mangal', 'Budh', 'Guru', 'Shukra', 'Shani'],
+ 'meridiem' => ['Purvahan', 'Aparaahna'],
+
+ 'hour' => ':count minit', // less reliable
+ 'h' => ':count minit', // less reliable
+ 'a_hour' => ':count minit', // less reliable
+
+ 'year' => ':count saal',
+ 'y' => ':count saal',
+ 'a_year' => ':count saal',
+
+ 'month' => ':count Mahina',
+ 'm' => ':count Mahina',
+ 'a_month' => ':count Mahina',
+
+ 'week' => ':count Hafta',
+ 'w' => ':count Hafta',
+ 'a_week' => ':count Hafta',
+
+ 'day' => ':count Din',
+ 'd' => ':count Din',
+ 'a_day' => ':count Din',
+
+ 'minute' => ':count Minit',
+ 'min' => ':count Minit',
+ 'a_minute' => ':count Minit',
+
+ 'second' => ':count Second',
+ 's' => ':count Second',
+ 'a_second' => ':count Second',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hne.php b/vendor/nesbot/carbon/src/Carbon/Lang/hne.php
new file mode 100644
index 0000000..4bcb05c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hne.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/hne_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hne_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/hne_IN.php
new file mode 100644
index 0000000..a5ca758
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hne_IN.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat, Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपरेल', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमबर', 'अकटूबर', 'नवमबर', 'दिसमबर'],
+ 'months_short' => ['जन', 'फर', 'मारà¥à¤š', 'अप', 'मई', 'जून', 'जà¥à¤²à¤¾', 'अग', 'सित', 'अकटू', 'नव', 'दिस'],
+ 'weekdays' => ['इतवार', 'सोमवार', 'मंगलवार', 'बà¥à¤§à¤µà¤¾à¤°', 'बिरसपत', 'सà¥à¤•रवार', 'सनिवार'],
+ 'weekdays_short' => ['इत', 'सोम', 'मंग', 'बà¥à¤§', 'बिर', 'सà¥à¤•', 'सनि'],
+ 'weekdays_min' => ['इत', 'सोम', 'मंग', 'बà¥à¤§', 'बिर', 'सà¥à¤•', 'सनि'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['बिहिनियाà¤', 'मंà¤à¤¨à¤¿à¤¯à¤¾à¤'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hr.php b/vendor/nesbot/carbon/src/Carbon/Lang/hr.php
new file mode 100644
index 0000000..cfd85fd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hr.php
@@ -0,0 +1,111 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - Tim Fish
+ * - shaishavgandhi05
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - tomhorvat
+ * - Josh Soref
+ * - François B
+ * - shaishavgandhi05
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - tomhorvat
+ * - Stjepan Majdak
+ * - Vanja Retkovac (vr00)
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count godinu|:count godine|:count godina',
+ 'y' => ':count god.|:count god.|:count god.',
+ 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
+ 'm' => ':count mj.|:count mj.|:count mj.',
+ 'week' => ':count tjedan|:count tjedna|:count tjedana',
+ 'w' => ':count tj.|:count tj.|:count tj.',
+ 'day' => ':count dan|:count dana|:count dana',
+ 'd' => ':count d.|:count d.|:count d.',
+ 'hour' => ':count sat|:count sata|:count sati',
+ 'h' => ':count sat|:count sata|:count sati',
+ 'minute' => ':count minutu|:count minute|:count minuta',
+ 'min' => ':count min.|:count min.|:count min.',
+ 'second' => ':count sekundu|:count sekunde|:count sekundi',
+ 'a_second' => 'nekoliko sekundi|:count sekunde|:count sekundi',
+ 's' => ':count sek.|:count sek.|:count sek.',
+ 'ago' => 'prije :time',
+ 'from_now' => 'za :time',
+ 'after' => ':time poslije',
+ 'before' => ':time prije',
+ 'diff_now' => 'sad',
+ 'diff_today' => 'danas',
+ 'diff_today_regexp' => 'danas(?:\\s+u)?',
+ 'diff_yesterday' => 'juÄer',
+ 'diff_yesterday_regexp' => 'juÄer(?:\\s+u)?',
+ 'diff_tomorrow' => 'sutra',
+ 'diff_tomorrow_regexp' => 'sutra(?:\\s+u)?',
+ 'diff_before_yesterday' => 'prekjuÄer',
+ 'diff_after_tomorrow' => 'prekosutra',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'D. M. YYYY.',
+ 'LL' => 'D. MMMM YYYY.',
+ 'LLL' => 'D. MMMM YYYY. H:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY. H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[danas u] LT',
+ 'nextDay' => '[sutra u] LT',
+ 'nextWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[u] [nedjelju] [u] LT';
+ case 3:
+ return '[u] [srijedu] [u] LT';
+ case 6:
+ return '[u] [subotu] [u] LT';
+ default:
+ return '[u] dddd [u] LT';
+ }
+ },
+ 'lastDay' => '[juÄer u] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ case 3:
+ return '[prošlu] dddd [u] LT';
+ case 6:
+ return '[prošle] [subote] [u] LT';
+ default:
+ return '[prošli] dddd [u] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['sijeÄnja', 'veljaÄe', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenoga', 'prosinca'],
+ 'months_standalone' => ['sijeÄanj', 'veljaÄa', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac'],
+ 'months_short' => ['sij.', 'velj.', 'ožu.', 'tra.', 'svi.', 'lip.', 'srp.', 'kol.', 'ruj.', 'lis.', 'stu.', 'pro.'],
+ 'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['nedjelju', 'ponedjeljak', 'utorak', 'srijedu', 'Äetvrtak', 'petak', 'subotu'],
+ 'weekdays_standalone' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'Äetvrtak', 'petak', 'subota'],
+ 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', 'Äet.', 'pet.', 'sub.'],
+ 'weekdays_min' => ['ne', 'po', 'ut', 'sr', 'Äe', 'pe', 'su'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' i '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hr_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/hr_BA.php
new file mode 100644
index 0000000..7763a45
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hr_BA.php
@@ -0,0 +1,32 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - DarkoDevelop
+ */
+return array_replace_recursive(require __DIR__.'/hr.php', [
+ 'weekdays' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'Äetvrtak', 'petak', 'subota'],
+ 'weekdays_short' => ['ned', 'pon', 'uto', 'sri', 'Äet', 'pet', 'sub'],
+ 'weekdays_min' => ['ned', 'pon', 'uto', 'sri', 'Äet', 'pet', 'sub'],
+ 'months' => ['sijeÄnja', 'veljaÄe', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenoga', 'prosinca'],
+ 'months_short' => ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],
+ 'months_standalone' => ['sijeÄanj', 'veljaÄa', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D. M. yy.',
+ 'LL' => 'D. MMM YYYY.',
+ 'LLL' => 'D. MMMM YYYY. HH:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY. HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php b/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php
new file mode 100644
index 0000000..db74d8c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/hr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hsb.php b/vendor/nesbot/carbon/src/Carbon/Lang/hsb.php
new file mode 100644
index 0000000..3537b8b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hsb.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/hsb_DE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hsb_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/hsb_DE.php
new file mode 100644
index 0000000..6ba2271
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hsb_DE.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Information from Michael Wolf Andrzej Krzysztofowicz ankry@mif.pg.gda.pl
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'DD. MMMM YYYY',
+ 'LLL' => 'DD. MMMM, HH:mm [hodź.]',
+ 'LLLL' => 'dddd, DD. MMMM YYYY, HH:mm [hodź.]',
+ ],
+ 'months' => ['januara', 'februara', 'měrca', 'apryla', 'meje', 'junija', 'julija', 'awgusta', 'septembra', 'oktobra', 'nowembra', 'decembra'],
+ 'months_short' => ['Jan', 'Feb', 'Měr', 'Apr', 'Mej', 'Jun', 'Jul', 'Awg', 'Sep', 'Okt', 'Now', 'Dec'],
+ 'weekdays' => ['Njedźela', 'Póndźela', 'Wutora', 'Srjeda', 'Štvórtk', 'Pjatk', 'Sobota'],
+ 'weekdays_short' => ['Nj', 'Pó', 'Wu', 'Sr', 'Št', 'Pj', 'So'],
+ 'weekdays_min' => ['Nj', 'Pó', 'Wu', 'Sr', 'Št', 'Pj', 'So'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count lěto',
+ 'y' => ':count lěto',
+ 'a_year' => ':count lěto',
+
+ 'month' => ':count měsac',
+ 'm' => ':count měsac',
+ 'a_month' => ':count měsac',
+
+ 'week' => ':count tydźeń',
+ 'w' => ':count tydźeń',
+ 'a_week' => ':count tydźeń',
+
+ 'day' => ':count dźeń',
+ 'd' => ':count dźeń',
+ 'a_day' => ':count dźeń',
+
+ 'hour' => ':count hodźina',
+ 'h' => ':count hodźina',
+ 'a_hour' => ':count hodźina',
+
+ 'minute' => ':count chwila',
+ 'min' => ':count chwila',
+ 'a_minute' => ':count chwila',
+
+ 'second' => ':count druhi',
+ 's' => ':count druhi',
+ 'a_second' => ':count druhi',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ht.php b/vendor/nesbot/carbon/src/Carbon/Lang/ht.php
new file mode 100644
index 0000000..ebd12ad
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ht.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ht_HT.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ht_HT.php b/vendor/nesbot/carbon/src/Carbon/Lang/ht_HT.php
new file mode 100644
index 0000000..139b813
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ht_HT.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Sugar Labs // OLPC sugarlabs.org libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['janvye', 'fevriye', 'mas', 'avril', 'me', 'jen', 'jiyè', 'out', 'septanm', 'oktòb', 'novanm', 'desanm'],
+ 'months_short' => ['jan', 'fev', 'mas', 'avr', 'me', 'jen', 'jiy', 'out', 'sep', 'okt', 'nov', 'des'],
+ 'weekdays' => ['dimanch', 'lendi', 'madi', 'mèkredi', 'jedi', 'vandredi', 'samdi'],
+ 'weekdays_short' => ['dim', 'len', 'mad', 'mèk', 'jed', 'van', 'sam'],
+ 'weekdays_min' => ['dim', 'len', 'mad', 'mèk', 'jed', 'van', 'sam'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count lane',
+ 'y' => ':count lane',
+ 'a_year' => ':count lane',
+
+ 'month' => 'mwa :count',
+ 'm' => 'mwa :count',
+ 'a_month' => 'mwa :count',
+
+ 'week' => 'semèn :count',
+ 'w' => 'semèn :count',
+ 'a_week' => 'semèn :count',
+
+ 'day' => ':count jou',
+ 'd' => ':count jou',
+ 'a_day' => ':count jou',
+
+ 'hour' => ':count lè',
+ 'h' => ':count lè',
+ 'a_hour' => ':count lè',
+
+ 'minute' => ':count minit',
+ 'min' => ':count minit',
+ 'a_minute' => ':count minit',
+
+ 'second' => ':count segonn',
+ 's' => ':count segonn',
+ 'a_second' => ':count segonn',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hu.php b/vendor/nesbot/carbon/src/Carbon/Lang/hu.php
new file mode 100644
index 0000000..b2d2ac1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hu.php
@@ -0,0 +1,118 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Adam Brunner
+ * - Brett Johnson
+ * - balping
+ */
+
+use Carbon\CarbonInterface;
+
+$huWeekEndings = ['vasárnap', 'hétfőn', 'kedden', 'szerdán', 'csütörtökön', 'pénteken', 'szombaton'];
+
+return [
+ 'year' => ':count év',
+ 'y' => ':count év',
+ 'month' => ':count hónap',
+ 'm' => ':count hónap',
+ 'week' => ':count hét',
+ 'w' => ':count hét',
+ 'day' => ':count nap',
+ 'd' => ':count nap',
+ 'hour' => ':count óra',
+ 'h' => ':count óra',
+ 'minute' => ':count perc',
+ 'min' => ':count perc',
+ 'second' => ':count másodperc',
+ 's' => ':count másodperc',
+ 'ago' => ':time',
+ 'from_now' => ':time múlva',
+ 'after' => ':time később',
+ 'before' => ':time korábban',
+ 'year_ago' => ':count éve',
+ 'y_ago' => ':count éve',
+ 'month_ago' => ':count hónapja',
+ 'm_ago' => ':count hónapja',
+ 'week_ago' => ':count hete',
+ 'w_ago' => ':count hete',
+ 'day_ago' => ':count napja',
+ 'd_ago' => ':count napja',
+ 'hour_ago' => ':count órája',
+ 'h_ago' => ':count órája',
+ 'minute_ago' => ':count perce',
+ 'min_ago' => ':count perce',
+ 'second_ago' => ':count másodperce',
+ 's_ago' => ':count másodperce',
+ 'year_after' => ':count évvel',
+ 'y_after' => ':count évvel',
+ 'month_after' => ':count hónappal',
+ 'm_after' => ':count hónappal',
+ 'week_after' => ':count héttel',
+ 'w_after' => ':count héttel',
+ 'day_after' => ':count nappal',
+ 'd_after' => ':count nappal',
+ 'hour_after' => ':count órával',
+ 'h_after' => ':count órával',
+ 'minute_after' => ':count perccel',
+ 'min_after' => ':count perccel',
+ 'second_after' => ':count másodperccel',
+ 's_after' => ':count másodperccel',
+ 'year_before' => ':count évvel',
+ 'y_before' => ':count évvel',
+ 'month_before' => ':count hónappal',
+ 'm_before' => ':count hónappal',
+ 'week_before' => ':count héttel',
+ 'w_before' => ':count héttel',
+ 'day_before' => ':count nappal',
+ 'd_before' => ':count nappal',
+ 'hour_before' => ':count órával',
+ 'h_before' => ':count órával',
+ 'minute_before' => ':count perccel',
+ 'min_before' => ':count perccel',
+ 'second_before' => ':count másodperccel',
+ 's_before' => ':count másodperccel',
+ 'months' => ['január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december'],
+ 'months_short' => ['jan.', 'feb.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.', 'dec.'],
+ 'weekdays' => ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'],
+ 'weekdays_short' => ['vas', 'hét', 'kedd', 'sze', 'csüt', 'pén', 'szo'],
+ 'weekdays_min' => ['v', 'h', 'k', 'sze', 'cs', 'p', 'sz'],
+ 'ordinal' => ':number.',
+ 'diff_now' => 'most',
+ 'diff_today' => 'ma',
+ 'diff_yesterday' => 'tegnap',
+ 'diff_tomorrow' => 'holnap',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'YYYY.MM.DD.',
+ 'LL' => 'YYYY. MMMM D.',
+ 'LLL' => 'YYYY. MMMM D. H:mm',
+ 'LLLL' => 'YYYY. MMMM D., dddd H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ma] LT[-kor]',
+ 'nextDay' => '[holnap] LT[-kor]',
+ 'nextWeek' => function (CarbonInterface $date) use ($huWeekEndings) {
+ return '['.$huWeekEndings[$date->dayOfWeek].'] LT[-kor]';
+ },
+ 'lastDay' => '[tegnap] LT[-kor]',
+ 'lastWeek' => function (CarbonInterface $date) use ($huWeekEndings) {
+ return '[múlt '.$huWeekEndings[$date->dayOfWeek].'] LT[-kor]';
+ },
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['DE', 'DU'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' és '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php b/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php
new file mode 100644
index 0000000..b1c4854
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/hu.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hy.php b/vendor/nesbot/carbon/src/Carbon/Lang/hy.php
new file mode 100644
index 0000000..8b12994
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hy.php
@@ -0,0 +1,95 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - mhamlet
+ */
+return [
+ 'year' => ':count Õ¿Õ¡Ö€Õ«',
+ 'a_year' => 'Õ¿Õ¡Ö€Õ«|:count Õ¿Õ¡Ö€Õ«',
+ 'y' => ':countÕ¿',
+ 'month' => ':count Õ¡Õ´Õ«Õ½',
+ 'a_month' => 'Õ¡Õ´Õ«Õ½|:count Õ¡Õ´Õ«Õ½',
+ 'm' => ':countÕ¡Õ´',
+ 'week' => ':count Õ·Õ¡Õ¢Õ¡Õ©',
+ 'a_week' => 'Õ·Õ¡Õ¢Õ¡Õ©|:count Õ·Õ¡Õ¢Õ¡Õ©',
+ 'w' => ':countÕ·',
+ 'day' => ':count Ö…Ö€',
+ 'a_day' => 'Ö…Ö€|:count Ö…Ö€',
+ 'd' => ':countÖ…Ö€',
+ 'hour' => ':count ÕªÕ¡Õ´',
+ 'a_hour' => 'ÕªÕ¡Õ´|:count ÕªÕ¡Õ´',
+ 'h' => ':countÕª',
+ 'minute' => ':count Ö€Õ¸ÕºÕ¥',
+ 'a_minute' => 'Ö€Õ¸ÕºÕ¥|:count Ö€Õ¸ÕºÕ¥',
+ 'min' => ':countÖ€',
+ 'second' => ':count Õ¾Õ¡ÕµÖ€Õ¯ÕµÕ¡Õ¶',
+ 'a_second' => 'Õ´Õ« Ö„Õ¡Õ¶Õ« Õ¾Õ¡ÕµÖ€Õ¯ÕµÕ¡Õ¶|:count Õ¾Õ¡ÕµÖ€Õ¯ÕµÕ¡Õ¶',
+ 's' => ':countÕ¾Ö€Õ¯',
+ 'ago' => ':time Õ¡Õ¼Õ¡Õ»',
+ 'from_now' => ':timeÕ«Ö',
+ 'after' => ':time Õ°Õ¥Õ¿Õ¸',
+ 'before' => ':time Õ¡Õ¼Õ¡Õ»',
+ 'diff_now' => 'Õ°Õ«Õ´Õ¡',
+ 'diff_today' => 'Õ¡ÕµÕ½Ö…Ö€',
+ 'diff_yesterday' => 'Õ¥Ö€Õ¥Õ¯',
+ 'diff_tomorrow' => 'Õ¾Õ¡Õ²Õ¨',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY Õ©.',
+ 'LLL' => 'D MMMM YYYY Õ©., HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY Õ©., HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Õ¡ÕµÕ½Ö…Ö€] LT',
+ 'nextDay' => '[Õ¾Õ¡Õ²Õ¨] LT',
+ 'nextWeek' => 'dddd [Ö…Ö€Õ¨ ÕªÕ¡Õ´Õ¨] LT',
+ 'lastDay' => '[Õ¥Ö€Õ¥Õ¯] LT',
+ 'lastWeek' => '[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö…Ö€Õ¨ ÕªÕ¡Õ´Õ¨] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'DDD':
+ case 'w':
+ case 'W':
+ case 'DDDo':
+ return $number.($number === 1 ? '-Õ«Õ¶' : '-Ö€Õ¤');
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'Õ£Õ«Õ·Õ¥Ö€Õ¾Õ¡';
+ }
+ if ($hour < 12) {
+ return 'Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡';
+ }
+ if ($hour < 17) {
+ return 'ÖÕ¥Ö€Õ¥Õ¯Õ¾Õ¡';
+ }
+
+ return 'Õ¥Ö€Õ¥Õ¯Õ¸ÕµÕ¡Õ¶';
+ },
+ 'months' => ['Õ°Õ¸Ö‚Õ¶Õ¾Õ¡Ö€Õ«', 'ÖƒÕ¥Õ¿Ö€Õ¾Õ¡Ö€Õ«', 'Õ´Õ¡Ö€Õ¿Õ«', 'Õ¡ÕºÖ€Õ«Õ¬Õ«', 'Õ´Õ¡ÕµÕ«Õ½Õ«', 'Õ°Õ¸Ö‚Õ¶Õ«Õ½Õ«', 'Õ°Õ¸Ö‚Õ¬Õ«Õ½Õ«', 'Ö…Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«', 'Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö€Õ«', 'Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€Õ«', 'Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö€Õ«', 'Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€Õ«'],
+ 'months_standalone' => ['Õ°Õ¸Ö‚Õ¶Õ¾Õ¡Ö€', 'ÖƒÕ¥Õ¿Ö€Õ¾Õ¡Ö€', 'Õ´Õ¡Ö€Õ¿', 'Õ¡ÕºÖ€Õ«Õ¬', 'Õ´Õ¡ÕµÕ«Õ½', 'Õ°Õ¸Ö‚Õ¶Õ«Õ½', 'Õ°Õ¸Ö‚Õ¬Õ«Õ½', 'Ö…Õ£Õ¸Õ½Õ¿Õ¸Õ½', 'Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö€', 'Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€', 'Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö€', 'Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€'],
+ 'months_short' => ['Õ°Õ¶Õ¾', 'ÖƒÕ¿Ö€', 'Õ´Ö€Õ¿', 'Õ¡ÕºÖ€', 'Õ´ÕµÕ½', 'Õ°Õ¶Õ½', 'Õ°Õ¬Õ½', 'Ö…Õ£Õ½', 'Õ½ÕºÕ¿', 'Õ°Õ¯Õ¿', 'Õ¶Õ´Õ¢', 'Õ¤Õ¯Õ¿'],
+ 'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['Õ¯Õ«Ö€Õ¡Õ¯Õ«', 'Õ¥Ö€Õ¯Õ¸Ö‚Õ·Õ¡Õ¢Õ©Õ«', 'Õ¥Ö€Õ¥Ö„Õ·Õ¡Õ¢Õ©Õ«', 'Õ¹Õ¸Ö€Õ¥Ö„Õ·Õ¡Õ¢Õ©Õ«', 'Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«', 'Õ¸Ö‚Ö€Õ¢Õ¡Õ©', 'Õ·Õ¡Õ¢Õ¡Õ©'],
+ 'weekdays_short' => ['Õ¯Ö€Õ¯', 'Õ¥Ö€Õ¯', 'Õ¥Ö€Ö„', 'Õ¹Ö€Ö„', 'Õ°Õ¶Õ£', 'Õ¸Ö‚Ö€Õ¢', 'Õ·Õ¢Õ©'],
+ 'weekdays_min' => ['Õ¯Ö€Õ¯', 'Õ¥Ö€Õ¯', 'Õ¥Ö€Ö„', 'Õ¹Ö€Ö„', 'Õ°Õ¶Õ£', 'Õ¸Ö‚Ö€Õ¢', 'Õ·Õ¢Õ©'],
+ 'list' => [', ', ' Õ¥Ö‚ '],
+ 'first_day_of_week' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hy_AM.php b/vendor/nesbot/carbon/src/Carbon/Lang/hy_AM.php
new file mode 100644
index 0000000..4587df5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hy_AM.php
@@ -0,0 +1,24 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - Tim Fish
+ * - Serhan Apaydın
+ * - JD Isaacks
+ */
+return array_replace_recursive(require __DIR__.'/hy.php', [
+ 'from_now' => ':time Õ°Õ¥Õ¿Õ¸',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php b/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php
new file mode 100644
index 0000000..e65449b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php
@@ -0,0 +1,23 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+ 'months' => ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
+ 'months_short' => ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
+ 'weekdays' => ['1', '2', '3', '4', '5', '6', '7'],
+ 'weekdays_short' => ['1', '2', '3', '4', '5', '6', '7'],
+ 'weekdays_min' => ['1', '2', '3', '4', '5', '6', '7'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ia.php b/vendor/nesbot/carbon/src/Carbon/Lang/ia.php
new file mode 100644
index 0000000..0a0d5e6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ia.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ia_FR.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ia_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ia_FR.php
new file mode 100644
index 0000000..de4b2fa
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ia_FR.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Fedora Project Nik Kalach nikka@fedoraproject.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['januario', 'februario', 'martio', 'april', 'maio', 'junio', 'julio', 'augusto', 'septembre', 'octobre', 'novembre', 'decembre'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'],
+ 'weekdays' => ['dominica', 'lunedi', 'martedi', 'mercuridi', 'jovedi', 'venerdi', 'sabbato'],
+ 'weekdays_short' => ['dom', 'lun', 'mar', 'mer', 'jov', 'ven', 'sab'],
+ 'weekdays_min' => ['dom', 'lun', 'mar', 'mer', 'jov', 'ven', 'sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => 'anno :count',
+ 'y' => 'anno :count',
+ 'a_year' => 'anno :count',
+
+ 'month' => ':count mense',
+ 'm' => ':count mense',
+ 'a_month' => ':count mense',
+
+ 'week' => ':count septimana',
+ 'w' => ':count septimana',
+ 'a_week' => ':count septimana',
+
+ 'day' => ':count die',
+ 'd' => ':count die',
+ 'a_day' => ':count die',
+
+ 'hour' => ':count hora',
+ 'h' => ':count hora',
+ 'a_hour' => ':count hora',
+
+ 'minute' => ':count minuscule',
+ 'min' => ':count minuscule',
+ 'a_minute' => ':count minuscule',
+
+ 'second' => ':count secunda',
+ 's' => ':count secunda',
+ 'a_second' => ':count secunda',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/id.php b/vendor/nesbot/carbon/src/Carbon/Lang/id.php
new file mode 100644
index 0000000..afaf78f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/id.php
@@ -0,0 +1,92 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - du
+ * - JD Isaacks
+ * - Nafies Luthfi
+ * - Raymundus Jati Primanda (mundusjp)
+ * - diankur313
+ * - a-wip0
+ */
+return [
+ 'year' => ':count tahun',
+ 'a_year' => '{1}setahun|]1,Inf[:count tahun',
+ 'y' => ':countthn',
+ 'month' => ':count bulan',
+ 'a_month' => '{1}sebulan|]1,Inf[:count bulan',
+ 'm' => ':countbln',
+ 'week' => ':count minggu',
+ 'a_week' => '{1}seminggu|]1,Inf[:count minggu',
+ 'w' => ':countmgg',
+ 'day' => ':count hari',
+ 'a_day' => '{1}sehari|]1,Inf[:count hari',
+ 'd' => ':counthr',
+ 'hour' => ':count jam',
+ 'a_hour' => '{1}sejam|]1,Inf[:count jam',
+ 'h' => ':countj',
+ 'minute' => ':count menit',
+ 'a_minute' => '{1}semenit|]1,Inf[:count menit',
+ 'min' => ':countmnt',
+ 'second' => ':count detik',
+ 'a_second' => '{1}beberapa detik|]1,Inf[:count detik',
+ 's' => ':countdt',
+ 'ago' => ':time yang lalu',
+ 'from_now' => ':time dari sekarang',
+ 'after' => ':time setelahnya',
+ 'before' => ':time sebelumnya',
+ 'diff_now' => 'sekarang',
+ 'diff_today' => 'Hari',
+ 'diff_today_regexp' => 'Hari(?:\\s+ini)?(?:\\s+pukul)?',
+ 'diff_yesterday' => 'kemarin',
+ 'diff_yesterday_regexp' => 'Kemarin(?:\\s+pukul)?',
+ 'diff_tomorrow' => 'besok',
+ 'diff_tomorrow_regexp' => 'Besok(?:\\s+pukul)?',
+ 'formats' => [
+ 'LT' => 'HH.mm',
+ 'LTS' => 'HH.mm.ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY [pukul] HH.mm',
+ 'LLLL' => 'dddd, D MMMM YYYY [pukul] HH.mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Hari ini pukul] LT',
+ 'nextDay' => '[Besok pukul] LT',
+ 'nextWeek' => 'dddd [pukul] LT',
+ 'lastDay' => '[Kemarin pukul] LT',
+ 'lastWeek' => 'dddd [lalu pukul] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 11) {
+ return 'pagi';
+ }
+ if ($hour < 15) {
+ return 'siang';
+ }
+ if ($hour < 19) {
+ return 'sore';
+ }
+
+ return 'malam';
+ },
+ 'months' => ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'],
+ 'weekdays_short' => ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
+ 'weekdays_min' => ['Mg', 'Sn', 'Sl', 'Rb', 'Km', 'Jm', 'Sb'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' dan '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php b/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php
new file mode 100644
index 0000000..d5953a1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/id.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ig.php b/vendor/nesbot/carbon/src/Carbon/Lang/ig.php
new file mode 100644
index 0000000..de51e9c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ig.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ig_NG.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ig_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ig_NG.php
new file mode 100644
index 0000000..0034e35
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ig_NG.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - pablo@mandriva.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Jenụwarị', 'Febrụwarị', 'Maachị', 'Eprel', 'Mee', 'Juun', 'Julaị', 'Ọgá»á»st', 'Septemba', 'Ọktoba', 'Novemba', 'Disemba'],
+ 'months_short' => ['Jen', 'Feb', 'Maa', 'Epr', 'Mee', 'Juu', 'Jul', 'Ọgá»', 'Sep', 'Ọkt', 'Nov', 'Dis'],
+ 'weekdays' => ['sá»nde', 'má»nde', 'tuzde', 'wenzde', 'tá»sde', 'fraịde', 'satá»de'],
+ 'weekdays_short' => ['sá»n', 'má»n', 'tuz', 'wen', 'tá»s', 'fra', 'sat'],
+ 'weekdays_min' => ['sá»n', 'má»n', 'tuz', 'wen', 'tá»s', 'fra', 'sat'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => 'afo :count',
+ 'y' => 'afo :count',
+ 'a_year' => 'afo :count',
+
+ 'month' => 'önwa :count',
+ 'm' => 'önwa :count',
+ 'a_month' => 'önwa :count',
+
+ 'week' => 'izu :count',
+ 'w' => 'izu :count',
+ 'a_week' => 'izu :count',
+
+ 'day' => 'ụbá»chị :count',
+ 'd' => 'ụbá»chị :count',
+ 'a_day' => 'ụbá»chị :count',
+
+ 'hour' => 'awa :count',
+ 'h' => 'awa :count',
+ 'a_hour' => 'awa :count',
+
+ 'minute' => 'minit :count',
+ 'min' => 'minit :count',
+ 'a_minute' => 'minit :count',
+
+ 'second' => 'seká»nd :count',
+ 's' => 'seká»nd :count',
+ 'a_second' => 'seká»nd :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ii.php b/vendor/nesbot/carbon/src/Carbon/Lang/ii.php
new file mode 100644
index 0000000..a4246c2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ii.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['ꎸꄑ', 'ê¯ê‹’'],
+ 'weekdays' => ['ê‘ê†ê‘', 'ê†êŠ‚ê‹', 'ê†êŠ‚ê‘', 'ê†êŠ‚êŒ•', 'ê†êŠ‚ê‡–', 'ê†êŠ‚ê‰¬', 'ê†êŠ‚êƒ˜'],
+ 'weekdays_short' => ['ê‘ê†', 'ê†ê‹', 'ê†ê‘', 'ê†êŒ•', 'ê†ê‡–', 'ê†ê‰¬', 'ê†êƒ˜'],
+ 'weekdays_min' => ['ê‘ê†', 'ê†ê‹', 'ê†ê‘', 'ê†êŒ•', 'ê†ê‡–', 'ê†ê‰¬', 'ê†êƒ˜'],
+ 'months' => null,
+ 'months_short' => ['ê‹ê†ª', 'ê‘ꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'êƒê†ª', 'ꉆꆪ', 'ꈬꆪ', 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ'],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D h:mm a',
+ 'LLLL' => 'YYYY MMMM D, dddd h:mm a',
+ ],
+
+ 'year' => ':count ê’‰', // less reliable
+ 'y' => ':count ê’‰', // less reliable
+ 'a_year' => ':count ê’‰', // less reliable
+
+ 'month' => ':count ꆪ',
+ 'm' => ':count ꆪ',
+ 'a_month' => ':count ꆪ',
+
+ 'week' => ':count êƒ', // less reliable
+ 'w' => ':count êƒ', // less reliable
+ 'a_week' => ':count êƒ', // less reliable
+
+ 'day' => ':count êœ', // less reliable
+ 'd' => ':count êœ', // less reliable
+ 'a_day' => ':count êœ', // less reliable
+
+ 'hour' => ':count ꄮꈉ',
+ 'h' => ':count ꄮꈉ',
+ 'a_hour' => ':count ꄮꈉ',
+
+ 'minute' => ':count ꀄêŠ', // less reliable
+ 'min' => ':count ꀄêŠ', // less reliable
+ 'a_minute' => ':count ꀄêŠ', // less reliable
+
+ 'second' => ':count ꇅ', // less reliable
+ 's' => ':count ꇅ', // less reliable
+ 'a_second' => ':count ꇅ', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ik.php b/vendor/nesbot/carbon/src/Carbon/Lang/ik.php
new file mode 100644
index 0000000..7a13aa2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ik.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ik_CA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ik_CA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ik_CA.php
new file mode 100644
index 0000000..bb2a109
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ik_CA.php
@@ -0,0 +1,50 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - pablo@mandriva.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Siqiññaatchiaq', 'Siqiññaasrugruk', 'Paniqsiqsiivik', 'Qilġich Tatqiat', 'Suppivik', 'Iġñivik', 'Itchavik', 'Tiññivik', 'Amiġaiqsivik', 'Sikkuvik', 'Nippivik', 'Siqiñġiḷaq'],
+ 'months_short' => ['Sñt', 'Sñs', 'Pan', 'Qil', 'Sup', 'Iġñ', 'Itc', 'Tiñ', 'Ami', 'Sik', 'Nip', 'Siq'],
+ 'weekdays' => ['Minġuiqsioiq', 'Savałłiq', 'Ilaqtchiioiq', 'Qitchiioiq', 'Sisamiioiq', 'Tallimmiioiq', 'Maqinġuoiq'],
+ 'weekdays_short' => ['Min', 'Sav', 'Ila', 'Qit', 'Sis', 'Tal', 'Maq'],
+ 'weekdays_min' => ['Min', 'Sav', 'Ila', 'Qit', 'Sis', 'Tal', 'Maq'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count ukiuq',
+ 'y' => ':count ukiuq',
+ 'a_year' => ':count ukiuq',
+
+ 'month' => ':count Tatqiat',
+ 'm' => ':count Tatqiat',
+ 'a_month' => ':count Tatqiat',
+
+ 'week' => ':count tatqiat', // less reliable
+ 'w' => ':count tatqiat', // less reliable
+ 'a_week' => ':count tatqiat', // less reliable
+
+ 'day' => ':count siqiñiq', // less reliable
+ 'd' => ':count siqiñiq', // less reliable
+ 'a_day' => ':count siqiñiq', // less reliable
+
+ 'hour' => ':count Siḷa', // less reliable
+ 'h' => ':count Siḷa', // less reliable
+ 'a_hour' => ':count Siḷa', // less reliable
+
+ 'second' => ':count iġñiq', // less reliable
+ 's' => ':count iġñiq', // less reliable
+ 'a_second' => ':count iġñiq', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/in.php b/vendor/nesbot/carbon/src/Carbon/Lang/in.php
new file mode 100644
index 0000000..d5953a1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/in.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/id.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/is.php b/vendor/nesbot/carbon/src/Carbon/Lang/is.php
new file mode 100644
index 0000000..9990168
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/is.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kristján Ingi Geirsson
+ */
+return [
+ 'year' => '1 ár|:count ár',
+ 'y' => '1 ár|:count ár',
+ 'month' => '1 mánuður|:count mánuðir',
+ 'm' => '1 mánuður|:count mánuðir',
+ 'week' => '1 vika|:count vikur',
+ 'w' => '1 vika|:count vikur',
+ 'day' => '1 dagur|:count dagar',
+ 'd' => '1 dagur|:count dagar',
+ 'hour' => '1 klukkutÃmi|:count klukkutÃmar',
+ 'h' => '1 klukkutÃmi|:count klukkutÃmar',
+ 'minute' => '1 mÃnúta|:count mÃnútur',
+ 'min' => '1 mÃnúta|:count mÃnútur',
+ 'second' => '1 sekúnda|:count sekúndur',
+ 's' => '1 sekúnda|:count sekúndur',
+ 'ago' => ':time sÃðan',
+ 'from_now' => ':time sÃðan',
+ 'after' => ':time eftir',
+ 'before' => ':time fyrir',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' og '],
+ 'meridiem' => ['fh', 'eh'],
+ 'diff_now' => 'núna',
+ 'diff_yesterday' => 'à gær',
+ 'diff_tomorrow' => 'á morgun',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM [kl.] HH:mm',
+ 'LLLL' => 'dddd D. MMMM YYYY [kl.] HH:mm',
+ ],
+ 'weekdays' => ['sunnudaginn', 'mánudaginn', 'þriðjudaginn', 'miðvikudaginn', 'fimmtudaginn', 'föstudaginn', 'laugardaginn'],
+ 'weekdays_short' => ['sun', 'mán', 'þri', 'mið', 'fim', 'fös', 'lau'],
+ 'weekdays_min' => ['sun', 'mán', 'þri', 'mið', 'fim', 'fös', 'lau'],
+ 'months' => ['janúar', 'febrúar', 'mars', 'aprÃl', 'maÃ', 'júnÃ', 'júlÃ', 'ágúst', 'september', 'október', 'nóvember', 'desember'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'maÃ', 'jún', 'júl', 'ágú', 'sep', 'okt', 'nóv', 'des'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php b/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php
new file mode 100644
index 0000000..4d35c44
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/is.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it.php b/vendor/nesbot/carbon/src/Carbon/Lang/it.php
new file mode 100644
index 0000000..49875d7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it.php
@@ -0,0 +1,115 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ash
+ * - François B
+ * - Marco Perrando
+ * - Massimiliano Caniparoli
+ * - JD Isaacks
+ * - Andrea Martini
+ * - Francesco Marasco
+ * - Tizianoz93
+ * - Davide Casiraghi (davide-casiraghi)
+ * - Pete Scopes (pdscopes)
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count anno|:count anni',
+ 'a_year' => 'un anno|:count anni',
+ 'y' => ':count anno|:count anni',
+ 'month' => ':count mese|:count mesi',
+ 'a_month' => 'un mese|:count mesi',
+ 'm' => ':count mese|:count mesi',
+ 'week' => ':count settimana|:count settimane',
+ 'a_week' => 'una settimana|:count settimane',
+ 'w' => ':count set.',
+ 'day' => ':count giorno|:count giorni',
+ 'a_day' => 'un giorno|:count giorni',
+ 'd' => ':count g|:count gg',
+ 'hour' => ':count ora|:count ore',
+ 'a_hour' => 'un\'ora|:count ore',
+ 'h' => ':count h',
+ 'minute' => ':count minuto|:count minuti',
+ 'a_minute' => 'un minuto|:count minuti',
+ 'min' => ':count min.',
+ 'second' => ':count secondo|:count secondi',
+ 'a_second' => 'alcuni secondi|:count secondi',
+ 's' => ':count sec.',
+ 'millisecond' => ':count millisecondo|:count millisecondi',
+ 'a_millisecond' => 'un millisecondo|:count millisecondi',
+ 'ms' => ':countms',
+ 'microsecond' => ':count microsecondo|:count microsecondi',
+ 'a_microsecond' => 'un microsecondo|:count microsecondi',
+ 'µs' => ':countµs',
+ 'ago' => ':time fa',
+ 'from_now' => function ($time) {
+ return (preg_match('/^\d.+$/', $time) ? 'tra' : 'in')." $time";
+ },
+ 'after' => ':time dopo',
+ 'before' => ':time prima',
+ 'diff_now' => 'proprio ora',
+ 'diff_today' => 'Oggi',
+ 'diff_today_regexp' => 'Oggi(?:\\s+alle)?',
+ 'diff_yesterday' => 'ieri',
+ 'diff_yesterday_regexp' => 'Ieri(?:\\s+alle)?',
+ 'diff_tomorrow' => 'domani',
+ 'diff_tomorrow_regexp' => 'Domani(?:\\s+alle)?',
+ 'diff_before_yesterday' => 'l\'altro ieri',
+ 'diff_after_tomorrow' => 'dopodomani',
+ 'period_interval' => 'ogni :interval',
+ 'period_start_date' => 'dal :date',
+ 'period_end_date' => 'al :date',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Oggi alle] LT',
+ 'nextDay' => '[Domani alle] LT',
+ 'nextWeek' => 'dddd [alle] LT',
+ 'lastDay' => '[Ieri alle] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[la scorsa] dddd [alle] LT';
+ default:
+ return '[lo scorso] dddd [alle] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberº',
+ 'months' => ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre'],
+ 'months_short' => ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
+ 'weekdays' => ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'],
+ 'weekdays_short' => ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
+ 'weekdays_min' => ['do', 'lu', 'ma', 'me', 'gi', 've', 'sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' e '],
+ 'ordinal_words' => [
+ 'of' => 'di',
+ 'first' => 'primo',
+ 'second' => 'secondo',
+ 'third' => 'terzo',
+ 'fourth' => 'quarto',
+ 'fifth' => 'quinto',
+ 'last' => 'ultimo',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/it_CH.php
new file mode 100644
index 0000000..c23cc50
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it_CH.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Propaganistas
+ */
+return array_replace_recursive(require __DIR__.'/it.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/it_IT.php
new file mode 100644
index 0000000..a5d1981
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it_IT.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return require __DIR__.'/it.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php b/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php
new file mode 100644
index 0000000..5e8fc92
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/it.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php b/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php
new file mode 100644
index 0000000..5e8fc92
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/it.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/iu.php b/vendor/nesbot/carbon/src/Carbon/Lang/iu.php
new file mode 100644
index 0000000..4fa9742
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/iu.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/iu_CA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/iu_CA.php b/vendor/nesbot/carbon/src/Carbon/Lang/iu_CA.php
new file mode 100644
index 0000000..6ab7e14
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/iu_CA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Pablo Saratxaga pablo@mandriva.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'MM/DD/YY',
+ ],
+ 'months' => ['ᔮᓄáŠá“•', 'á••á•—áŠá“•', 'ᒪᔅᓯ', 'áƒá³á“—', 'á’ªáƒ', 'ᔪᓂ', 'ᔪᓚáƒ', 'áŠá’‹á“¯', 'ᓯᑎᕙ', 'áŠá‘¦á‘á•™', 'á“„á••á•™', 'ᑎᓯá•á•™'],
+ 'months_short' => ['ᔮᓄ', 'á••á•—', 'ᒪᔅ', 'áƒá³', 'á’ªáƒ', 'ᔪᓂ', 'ᔪᓚ', 'áŠá’‹', 'ᓯᑎ', 'áŠá‘¦', 'á“„á••', 'ᑎᓯ'],
+ 'weekdays' => ['ᓈᑦᑎᖑá”á•á••á’ƒ', 'ᓇᒡá’ᔾá”á…', 'ᓇᒡá’ᔾá”á…á“•á–…á‘ᑦ', 'á±á–“ᓲᓕᖅᓯá…ᑦ', 'ᕿᑎᖅᑰᑦ', 'á…ᓪᓗᕈᓘá‘áƒá“‡á–…', 'ᓯᕙᑖᕕᒃ'],
+ 'weekdays_short' => ['ᓈ', 'ᓇ', 'á“•', 'á±', 'á•¿', 'á…', 'ᓯ'],
+ 'weekdays_min' => ['ᓈ', 'ᓇ', 'á“•', 'á±', 'á•¿', 'á…', 'ᓯ'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count á…á‘á…á–…',
+ 'y' => ':count á…á‘á…á–…',
+ 'a_year' => ':count á…á‘á…á–…',
+
+ 'month' => ':count qaammat',
+ 'm' => ':count qaammat',
+ 'a_month' => ':count qaammat',
+
+ 'week' => ':count sapaatip akunnera',
+ 'w' => ':count sapaatip akunnera',
+ 'a_week' => ':count sapaatip akunnera',
+
+ 'day' => ':count ulloq',
+ 'd' => ':count ulloq',
+ 'a_day' => ':count ulloq',
+
+ 'hour' => ':count ikarraq',
+ 'h' => ':count ikarraq',
+ 'a_hour' => ':count ikarraq',
+
+ 'minute' => ':count titiqqaralaaq', // less reliable
+ 'min' => ':count titiqqaralaaq', // less reliable
+ 'a_minute' => ':count titiqqaralaaq', // less reliable
+
+ 'second' => ':count marluk', // less reliable
+ 's' => ':count marluk', // less reliable
+ 'a_second' => ':count marluk', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/iw.php b/vendor/nesbot/carbon/src/Carbon/Lang/iw.php
new file mode 100644
index 0000000..a26e350
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/iw.php
@@ -0,0 +1,58 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'months' => ['×™× ×•×ר', 'פברו×ר', 'מרץ', '×פריל', 'מ××™', '×™×•× ×™', 'יולי', '×וגוסט', 'ספטמבר', '×וקטובר', '× ×•×‘×ž×‘×¨', 'דצמבר'],
+ 'months_short' => ['×™× ×•×³', 'פבר׳', 'מרץ', '×פר׳', 'מ××™', '×™×•× ×™', 'יולי', '×וג׳', 'ספט׳', '×וק׳', '× ×•×‘×³', 'דצמ׳'],
+ 'weekdays' => ['×™×•× ×¨×שון', '×™×•× ×©× ×™', '×™×•× ×©×œ×™×©×™', '×™×•× ×¨×‘×™×¢×™', '×™×•× ×—×ž×™×©×™', '×™×•× ×©×™×©×™', '×™×•× ×©×‘×ª'],
+ 'weekdays_short' => ['×™×•× ×׳', '×™×•× ×‘×³', '×™×•× ×’×³', '×™×•× ×“×³', '×™×•× ×”×³', '×™×•× ×•×³', 'שבת'],
+ 'weekdays_min' => ['×׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'],
+ 'meridiem' => ['×œ×¤× ×”×´×¦', '×חה״צ'],
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'D.M.YYYY',
+ 'LL' => 'D בMMM YYYY',
+ 'LLL' => 'D בMMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D בMMMM YYYY H:mm',
+ ],
+
+ 'year' => ':count ×©× ×”',
+ 'y' => ':count ×©× ×”',
+ 'a_year' => ':count ×©× ×”',
+
+ 'month' => ':count חודש',
+ 'm' => ':count חודש',
+ 'a_month' => ':count חודש',
+
+ 'week' => ':count שבוע',
+ 'w' => ':count שבוע',
+ 'a_week' => ':count שבוע',
+
+ 'day' => ':count יו×',
+ 'd' => ':count יו×',
+ 'a_day' => ':count יו×',
+
+ 'hour' => ':count שעה',
+ 'h' => ':count שעה',
+ 'a_hour' => ':count שעה',
+
+ 'minute' => ':count דקה',
+ 'min' => ':count דקה',
+ 'a_minute' => ':count דקה',
+
+ 'second' => ':count ×©× ×™×”',
+ 's' => ':count ×©× ×™×”',
+ 'a_second' => ':count ×©× ×™×”',
+
+ 'ago' => '×œ×¤× ×™ :time',
+ 'from_now' => 'בעוד :time',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ja.php b/vendor/nesbot/carbon/src/Carbon/Lang/ja.php
new file mode 100644
index 0000000..1ca6751
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ja.php
@@ -0,0 +1,102 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Takuya Sawada
+ * - Atsushi Tanaka
+ * - François B
+ * - Jason Katz-Brown
+ * - Serhan Apaydın
+ * - XueWei
+ * - JD Isaacks
+ * - toyama satoshi
+ * - atakigawa
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':countå¹´',
+ 'y' => ':countå¹´',
+ 'month' => ':countヶ月',
+ 'm' => ':countヶ月',
+ 'week' => ':count週間',
+ 'w' => ':count週間',
+ 'day' => ':countæ—¥',
+ 'd' => ':countæ—¥',
+ 'hour' => ':count時間',
+ 'h' => ':count時間',
+ 'minute' => ':count分',
+ 'min' => ':count分',
+ 'second' => ':countç§’',
+ 'a_second' => '{1}æ•°ç§’|]1,Inf[:countç§’',
+ 's' => ':countç§’',
+ 'ago' => ':timeå‰',
+ 'from_now' => ':time後',
+ 'after' => ':time後',
+ 'before' => ':timeå‰',
+ 'diff_now' => '今',
+ 'diff_today' => '今日',
+ 'diff_yesterday' => '昨日',
+ 'diff_tomorrow' => '明日',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY/MM/DD',
+ 'LL' => 'YYYY年M月D日',
+ 'LLL' => 'YYYY年M月D日 HH:mm',
+ 'LLLL' => 'YYYY年M月D日 dddd HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[今日] LT',
+ 'nextDay' => '[明日] LT',
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) {
+ if ($other->week !== $current->week) {
+ return '[æ¥é€±]dddd LT';
+ }
+
+ return 'dddd LT';
+ },
+ 'lastDay' => '[昨日] LT',
+ 'lastWeek' => function (CarbonInterface $current, CarbonInterface $other) {
+ if ($other->week !== $current->week) {
+ return '[先週]dddd LT';
+ }
+
+ return 'dddd LT';
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'd':
+ case 'D':
+ case 'DDD':
+ return $number.'æ—¥';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => ['åˆå‰', 'åˆå¾Œ'],
+ 'months' => ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+ 'months_short' => ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+ 'weekdays' => ['日曜日', '月曜日', 'ç«æ›œæ—¥', '水曜日', '木曜日', '金曜日', '土曜日'],
+ 'weekdays_short' => ['æ—¥', '月', 'ç«', 'æ°´', '木', '金', '土'],
+ 'weekdays_min' => ['æ—¥', '月', 'ç«', 'æ°´', '木', '金', '土'],
+ 'list' => 'ã€',
+ 'alt_numbers' => ['〇', '一', '二', '三', 'å››', '五', 'å…', '七', 'å…«', 'ä¹', 'å', 'å一', 'å二', 'å三', 'åå››', 'å五', 'åå…', 'å七', 'åå…«', 'åä¹', '二å', '二å一', '二å二', '二å三', '二åå››', '二å五', '二åå…', '二å七', '二åå…«', '二åä¹', '三å', '三å一', '三å二', '三å三', '三åå››', '三å五', '三åå…', '三å七', '三åå…«', '三åä¹', 'å››å', 'å››å一', 'å››å二', 'å››å三', 'å››åå››', 'å››å五', 'å››åå…', 'å››å七', 'å››åå…«', 'å››åä¹', '五å', '五å一', '五å二', '五å三', '五åå››', '五å五', '五åå…', '五å七', '五åå…«', '五åä¹', 'å…å', 'å…å一', 'å…å二', 'å…å三', 'å…åå››', 'å…å五', 'å…åå…', 'å…å七', 'å…åå…«', 'å…åä¹', '七å', '七å一', '七å二', '七å三', '七åå››', '七å五', '七åå…', '七å七', '七åå…«', '七åä¹', 'å…«å', 'å…«å一', 'å…«å二', 'å…«å三', 'å…«åå››', 'å…«å五', 'å…«åå…', 'å…«å七', 'å…«åå…«', 'å…«åä¹', 'ä¹å', 'ä¹å一', 'ä¹å二', 'ä¹å三', 'ä¹åå››', 'ä¹å五', 'ä¹åå…', 'ä¹å七', 'ä¹åå…«', 'ä¹åä¹'],
+ 'alt_numbers_pow' => [
+ 10000 => '万',
+ 1000 => 'åƒ',
+ 100 => '百',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php b/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php
new file mode 100644
index 0000000..c283625
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ja.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php b/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php
new file mode 100644
index 0000000..6a1e77a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php b/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php
new file mode 100644
index 0000000..ed92e8e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['utuko', 'kyiukonyi'],
+ 'weekdays' => ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/jv.php b/vendor/nesbot/carbon/src/Carbon/Lang/jv.php
new file mode 100644
index 0000000..bcbe044
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/jv.php
@@ -0,0 +1,71 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - tgfjt
+ * - JD Isaacks
+ */
+return [
+ 'year' => '{1}setaun|]1,Inf[:count taun',
+ 'month' => '{1}sewulan|]1,Inf[:count wulan',
+ 'week' => '{1}sakminggu|]1,Inf[:count minggu',
+ 'day' => '{1}sedinten|]1,Inf[:count dinten',
+ 'hour' => '{1}setunggal jam|]1,Inf[:count jam',
+ 'minute' => '{1}setunggal menit|]1,Inf[:count menit',
+ 'second' => '{1}sawetawis detik|]1,Inf[:count detik',
+ 'ago' => ':time ingkang kepengker',
+ 'from_now' => 'wonten ing :time',
+ 'diff_today' => 'Dinten',
+ 'diff_yesterday' => 'Kala',
+ 'diff_yesterday_regexp' => 'Kala(?:\\s+wingi)?(?:\\s+pukul)?',
+ 'diff_tomorrow' => 'Mbenjang',
+ 'diff_tomorrow_regexp' => 'Mbenjang(?:\\s+pukul)?',
+ 'diff_today_regexp' => 'Dinten(?:\\s+puniko)?(?:\\s+pukul)?',
+ 'formats' => [
+ 'LT' => 'HH.mm',
+ 'LTS' => 'HH.mm.ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY [pukul] HH.mm',
+ 'LLLL' => 'dddd, D MMMM YYYY [pukul] HH.mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Dinten puniko pukul] LT',
+ 'nextDay' => '[Mbenjang pukul] LT',
+ 'nextWeek' => 'dddd [pukul] LT',
+ 'lastDay' => '[Kala wingi pukul] LT',
+ 'lastWeek' => 'dddd [kepengker pukul] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 11) {
+ return 'enjing';
+ }
+ if ($hour < 15) {
+ return 'siyang';
+ }
+ if ($hour < 19) {
+ return 'sonten';
+ }
+
+ return 'ndalu';
+ },
+ 'months' => ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'Nopember', 'Desember'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Ags', 'Sep', 'Okt', 'Nop', 'Des'],
+ 'weekdays' => ['Minggu', 'Senen', 'Seloso', 'Rebu', 'Kemis', 'Jemuwah', 'Septu'],
+ 'weekdays_short' => ['Min', 'Sen', 'Sel', 'Reb', 'Kem', 'Jem', 'Sep'],
+ 'weekdays_min' => ['Mg', 'Sn', 'Sl', 'Rb', 'Km', 'Jm', 'Sp'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' lan '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ka.php b/vendor/nesbot/carbon/src/Carbon/Lang/ka.php
new file mode 100644
index 0000000..a5d563d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ka.php
@@ -0,0 +1,204 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Tornike Razmadze
+ * - François B
+ * - Lasha Dolidze
+ * - Tim Fish
+ * - JD Isaacks
+ * - Tornike Razmadze
+ * - François B
+ * - Lasha Dolidze
+ * - JD Isaacks
+ * - LONGMAN
+ * - Avtandil Kikabidze (akalongman)
+ * - Levan Velijanashvili (Stichoza)
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count წელი',
+ 'y' => ':count წელი',
+ 'a_year' => '{1}წელი|]1,Inf[:count წელი',
+ 'month' => ':count თვე',
+ 'm' => ':count თვე',
+ 'a_month' => '{1}თვე|]1,Inf[:count თვე',
+ 'week' => ':count კვირáƒ',
+ 'w' => ':count კვირáƒ',
+ 'a_week' => '{1}კვირáƒ|]1,Inf[:count კვირáƒ',
+ 'day' => ':count დღე',
+ 'd' => ':count დღე',
+ 'a_day' => '{1}დღე|]1,Inf[:count დღე',
+ 'hour' => ':count სáƒáƒáƒ—ი',
+ 'h' => ':count სáƒáƒáƒ—ი',
+ 'a_hour' => '{1}სáƒáƒáƒ—ი|]1,Inf[:count სáƒáƒáƒ—ი',
+ 'minute' => ':count წუთი',
+ 'min' => ':count წუთი',
+ 'a_minute' => '{1}წუთი|]1,Inf[:count წუთი',
+ 'second' => ':count წáƒáƒ›áƒ˜',
+ 's' => ':count წáƒáƒ›áƒ˜',
+ 'a_second' => '{1}რáƒáƒ›áƒ“ენიმე წáƒáƒ›áƒ˜|]1,Inf[:count წáƒáƒ›áƒ˜',
+ 'ago' => function ($time) {
+ $replacements = [
+ // year
+ 'წელი' => 'წლის',
+ // month
+ 'თვე' => 'თვის',
+ // week
+ 'კვირáƒ' => 'კვირის',
+ // day
+ 'დღე' => 'დღის',
+ // hour
+ 'სáƒáƒáƒ—ი' => 'სáƒáƒáƒ—ის',
+ // minute
+ 'წუთი' => 'წუთის',
+ // second
+ 'წáƒáƒ›áƒ˜' => 'წáƒáƒ›áƒ˜áƒ¡',
+ ];
+ $time = strtr($time, array_flip($replacements));
+ $time = strtr($time, $replacements);
+
+ return "$time წინ";
+ },
+ 'from_now' => function ($time) {
+ $replacements = [
+ // year
+ 'წელი' => 'წელიწáƒáƒ“ში',
+ // week
+ 'კვირáƒ' => 'კვირáƒáƒ¨áƒ˜',
+ // day
+ 'დღე' => 'დღეში',
+ // month
+ 'თვე' => 'თვეში',
+ // hour
+ 'სáƒáƒáƒ—ი' => 'სáƒáƒáƒ—ში',
+ // minute
+ 'წუთი' => 'წუთში',
+ // second
+ 'წáƒáƒ›áƒ˜' => 'წáƒáƒ›áƒ¨áƒ˜',
+ ];
+ $time = strtr($time, array_flip($replacements));
+ $time = strtr($time, $replacements);
+
+ return $time;
+ },
+ 'after' => function ($time) {
+ $replacements = [
+ // year
+ 'წელი' => 'წლის',
+ // month
+ 'თვე' => 'თვის',
+ // week
+ 'კვირáƒ' => 'კვირის',
+ // day
+ 'დღე' => 'დღის',
+ // hour
+ 'სáƒáƒáƒ—ი' => 'სáƒáƒáƒ—ის',
+ // minute
+ 'წუთი' => 'წუთის',
+ // second
+ 'წáƒáƒ›áƒ˜' => 'წáƒáƒ›áƒ˜áƒ¡',
+ ];
+ $time = strtr($time, array_flip($replacements));
+ $time = strtr($time, $replacements);
+
+ return "$time შემდეგ";
+ },
+ 'before' => function ($time) {
+ $replacements = [
+ // year
+ 'წელი' => 'წლით',
+ // month
+ 'თვე' => 'თვით',
+ // week
+ 'კვირáƒ' => 'კვირით',
+ // day
+ 'დღე' => 'დღით',
+ // hour
+ 'სáƒáƒáƒ—ი' => 'სáƒáƒáƒ—ით',
+ // minute
+ 'წუთი' => 'წუთით',
+ // second
+ 'წáƒáƒ›áƒ˜' => 'წáƒáƒ›áƒ˜áƒ—',
+ ];
+ $time = strtr($time, array_flip($replacements));
+ $time = strtr($time, $replacements);
+
+ return "$time áƒáƒ“რე";
+ },
+ 'diff_now' => 'áƒáƒ®áƒšáƒ',
+ 'diff_today' => 'დღეს',
+ 'diff_yesterday' => 'გუშინ',
+ 'diff_tomorrow' => 'ხვáƒáƒš',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[დღეს], LT[-ზე]',
+ 'nextDay' => '[ხვáƒáƒš], LT[-ზე]',
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) {
+ return ($current->isSameWeek($other) ? '' : '[შემდეგ] ').'dddd, LT[-ზე]';
+ },
+ 'lastDay' => '[გუშინ], LT[-ზე]',
+ 'lastWeek' => '[წინáƒ] dddd, LT-ზე',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ if ($number === 0) {
+ return $number;
+ }
+ if ($number === 1) {
+ return $number.'-ლი';
+ }
+ if (($number < 20) || ($number <= 100 && ($number % 20 === 0)) || ($number % 100 === 0)) {
+ return 'მე-'.$number;
+ }
+
+ return $number.'-ე';
+ },
+ 'months' => ['იáƒáƒœáƒ•áƒáƒ ი', 'თებერვáƒáƒšáƒ˜', 'მáƒáƒ ტი', 'áƒáƒžáƒ ილი', 'მáƒáƒ˜áƒ¡áƒ˜', 'ივნისი', 'ივლისი', 'áƒáƒ’ვისტáƒ', 'სექტემბერი', 'áƒáƒ¥áƒ¢áƒáƒ›áƒ‘ერი', 'ნáƒáƒ”მბერი', 'დეკემბერი'],
+ 'months_standalone' => ['იáƒáƒœáƒ•áƒáƒ ს', 'თებერვáƒáƒšáƒ¡', 'მáƒáƒ ტს', 'áƒáƒžáƒ ილს', 'მáƒáƒ˜áƒ¡áƒ¡', 'ივნისს', 'ივლისს', 'áƒáƒ’ვისტáƒáƒ¡', 'სექტემბერს', 'áƒáƒ¥áƒ¢áƒáƒ›áƒ‘ერს', 'ნáƒáƒ”მბერს', 'დეკემბერს'],
+ 'months_short' => ['იáƒáƒœ', 'თებ', 'მáƒáƒ ', 'áƒáƒžáƒ ', 'მáƒáƒ˜', 'ივნ', 'ივლ', 'áƒáƒ’ვ', 'სექ', 'áƒáƒ¥áƒ¢', 'ნáƒáƒ”', 'დეკ'],
+ 'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['კვირáƒáƒ¡', 'áƒáƒ შáƒáƒ‘áƒáƒ—ს', 'სáƒáƒ›áƒ¨áƒáƒ‘áƒáƒ—ს', 'áƒáƒ—ხშáƒáƒ‘áƒáƒ—ს', 'ხუთშáƒáƒ‘áƒáƒ—ს', 'პáƒáƒ áƒáƒ¡áƒ™áƒ”ვს', 'შáƒáƒ‘áƒáƒ—ს'],
+ 'weekdays_standalone' => ['კვირáƒ', 'áƒáƒ შáƒáƒ‘áƒáƒ—ი', 'სáƒáƒ›áƒ¨áƒáƒ‘áƒáƒ—ი', 'áƒáƒ—ხშáƒáƒ‘áƒáƒ—ი', 'ხუთშáƒáƒ‘áƒáƒ—ი', 'პáƒáƒ áƒáƒ¡áƒ™áƒ”ვი', 'შáƒáƒ‘áƒáƒ—ი'],
+ 'weekdays_short' => ['კვი', 'áƒáƒ შ', 'სáƒáƒ›', 'áƒáƒ—ხ', 'ხუთ', 'პáƒáƒ ', 'შáƒáƒ‘'],
+ 'weekdays_min' => ['კვ', 'áƒáƒ ', 'სáƒ', 'áƒáƒ—', 'ხუ', 'პáƒ', 'შáƒ'],
+ 'weekdays_regexp' => '/^([^d].*|.*[^d])$/',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' დრ'],
+ 'meridiem' => function ($hour) {
+ if ($hour >= 4) {
+ if ($hour < 11) {
+ return 'დილის';
+ }
+
+ if ($hour < 16) {
+ return 'შუáƒáƒ“ღის';
+ }
+
+ if ($hour < 22) {
+ return 'სáƒáƒ¦áƒáƒ›áƒáƒ¡';
+ }
+ }
+
+ return 'ღáƒáƒ›áƒ˜áƒ¡';
+ },
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php
new file mode 100644
index 0000000..a26d930
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ka.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kab.php b/vendor/nesbot/carbon/src/Carbon/Lang/kab.php
new file mode 100644
index 0000000..94d6473
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kab.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/kab_DZ.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kab_DZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/kab_DZ.php
new file mode 100644
index 0000000..796660b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kab_DZ.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - belkacem77@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Yennayer', 'Fuṛar', 'Meɣres', 'Yebrir', 'Mayyu', 'Yunyu', 'Yulyu', 'ɣuct', 'Ctembeṛ', 'Tubeṛ', 'Wambeṛ', 'Dujembeṛ'],
+ 'months_short' => ['Yen', 'Fur', 'Meɣ', 'Yeb', 'May', 'Yun', 'Yul', 'ɣuc', 'Cte', 'Tub', 'Wam', 'Duj'],
+ 'weekdays' => ['Acer', 'Arim', 'Aram', 'Ahad', 'Amhad', 'Sem', 'Sed'],
+ 'weekdays_short' => ['Ace', 'Ari', 'Ara', 'Aha', 'Amh', 'Sem', 'Sed'],
+ 'weekdays_min' => ['Ace', 'Ari', 'Ara', 'Aha', 'Amh', 'Sem', 'Sed'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['FT', 'MD'],
+
+ 'year' => ':count n yiseggasen',
+ 'y' => ':count n yiseggasen',
+ 'a_year' => ':count n yiseggasen',
+
+ 'month' => ':count n wayyuren',
+ 'm' => ':count n wayyuren',
+ 'a_month' => ':count n wayyuren',
+
+ 'week' => ':count n ledwaá¹›', // less reliable
+ 'w' => ':count n ledwaá¹›', // less reliable
+ 'a_week' => ':count n ledwaá¹›', // less reliable
+
+ 'day' => ':count n wussan',
+ 'd' => ':count n wussan',
+ 'a_day' => ':count n wussan',
+
+ 'hour' => ':count n tsaɛtin',
+ 'h' => ':count n tsaɛtin',
+ 'a_hour' => ':count n tsaɛtin',
+
+ 'minute' => ':count n tedqiqin',
+ 'min' => ':count n tedqiqin',
+ 'a_minute' => ':count n tedqiqin',
+
+ 'second' => ':count tasdidt', // less reliable
+ 's' => ':count tasdidt', // less reliable
+ 'a_second' => ':count tasdidt', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kam.php b/vendor/nesbot/carbon/src/Carbon/Lang/kam.php
new file mode 100644
index 0000000..0fc70d7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kam.php
@@ -0,0 +1,50 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Ĩyakwakya', 'Ĩyawĩoo'],
+ 'weekdays' => ['Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', 'Wa thanthatũ'],
+ 'weekdays_short' => ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'],
+ 'weekdays_min' => ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'],
+ 'months' => ['Mwai wa mbee', 'Mwai wa kelĩ', 'Mwai wa katatũ', 'Mwai wa kana', 'Mwai wa katano', 'Mwai wa thanthatũ', 'Mwai wa muonza', 'Mwai wa nyaanya', 'Mwai wa kenda', 'Mwai wa ĩkumi', 'Mwai wa ĩkumi na ĩmwe', 'Mwai wa ĩkumi na ilĩ'],
+ 'months_short' => ['Mbe', 'Kel', 'Ktũ', 'Kan', 'Ktn', 'Tha', 'Moo', 'Nya', 'Knd', 'Ĩku', 'Ĩkm', 'Ĩkl'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ // Too unreliable
+ /*
+ 'year' => ':count mbua', // less reliable
+ 'y' => ':count mbua', // less reliable
+ 'a_year' => ':count mbua', // less reliable
+
+ 'month' => ':count ndakitali', // less reliable
+ 'm' => ':count ndakitali', // less reliable
+ 'a_month' => ':count ndakitali', // less reliable
+
+ 'day' => ':count wia', // less reliable
+ 'd' => ':count wia', // less reliable
+ 'a_day' => ':count wia', // less reliable
+
+ 'hour' => ':count orasan', // less reliable
+ 'h' => ':count orasan', // less reliable
+ 'a_hour' => ':count orasan', // less reliable
+
+ 'minute' => ':count orasan', // less reliable
+ 'min' => ':count orasan', // less reliable
+ 'a_minute' => ':count orasan', // less reliable
+ */
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kde.php b/vendor/nesbot/carbon/src/Carbon/Lang/kde.php
new file mode 100644
index 0000000..fbcc9f3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kde.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Muhi', 'Chilo'],
+ 'weekdays' => ['Liduva lyapili', 'Liduva lyatatu', 'Liduva lyanchechi', 'Liduva lyannyano', 'Liduva lyannyano na linji', 'Liduva lyannyano na mavili', 'Liduva litandi'],
+ 'weekdays_short' => ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'],
+ 'weekdays_min' => ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'],
+ 'months' => ['Mwedi Ntandi', 'Mwedi wa Pili', 'Mwedi wa Tatu', 'Mwedi wa Nchechi', 'Mwedi wa Nnyano', 'Mwedi wa Nnyano na Umo', 'Mwedi wa Nnyano na Mivili', 'Mwedi wa Nnyano na Mitatu', 'Mwedi wa Nnyano na Nchechi', 'Mwedi wa Nnyano na Nnyano', 'Mwedi wa Nnyano na Nnyano na U', 'Mwedi wa Nnyano na Nnyano na M'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kea.php b/vendor/nesbot/carbon/src/Carbon/Lang/kea.php
new file mode 100644
index 0000000..8b6c21b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kea.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['a', 'p'],
+ 'weekdays' => ['dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', 'sabadu'],
+ 'weekdays_short' => ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'],
+ 'weekdays_min' => ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'],
+ 'weekdays_standalone' => ['dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', 'sábadu'],
+ 'months' => ['Janeru', 'Febreru', 'Marsu', 'Abril', 'Maiu', 'Junhu', 'Julhu', 'Agostu', 'Setenbru', 'Otubru', 'Nuvenbru', 'Dizenbru'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Otu', 'Nuv', 'Diz'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D [di] MMMM [di] YYYY HH:mm',
+ 'LLLL' => 'dddd, D [di] MMMM [di] YYYY HH:mm',
+ ],
+
+ 'year' => ':count otunu', // less reliable
+ 'y' => ':count otunu', // less reliable
+ 'a_year' => ':count otunu', // less reliable
+
+ 'week' => ':count dÃa dumingu', // less reliable
+ 'w' => ':count dÃa dumingu', // less reliable
+ 'a_week' => ':count dÃa dumingu', // less reliable
+
+ 'day' => ':count diâ', // less reliable
+ 'd' => ':count diâ', // less reliable
+ 'a_day' => ':count diâ', // less reliable
+
+ 'minute' => ':count sugundu', // less reliable
+ 'min' => ':count sugundu', // less reliable
+ 'a_minute' => ':count sugundu', // less reliable
+
+ 'second' => ':count dós', // less reliable
+ 's' => ':count dós', // less reliable
+ 'a_second' => ':count dós', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/khq.php b/vendor/nesbot/carbon/src/Carbon/Lang/khq.php
new file mode 100644
index 0000000..7a834cf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/khq.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Adduha', 'Aluula'],
+ 'weekdays' => ['Alhadi', 'Atini', 'Atalata', 'Alarba', 'Alhamiisa', 'Aljuma', 'Assabdu'],
+ 'weekdays_short' => ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'],
+ 'weekdays_min' => ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'],
+ 'months' => ['Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', 'Oktoobur', 'Noowanbur', 'Deesanbur'],
+ 'months_short' => ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ki.php b/vendor/nesbot/carbon/src/Carbon/Lang/ki.php
new file mode 100644
index 0000000..d86afc5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ki.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Kiroko', 'Hwaĩ-inĩ'],
+ 'weekdays' => ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'],
+ 'weekdays_short' => ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'],
+ 'weekdays_min' => ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'],
+ 'months' => ['Njenuarĩ', 'Mwere wa kerĩ', 'Mwere wa gatatũ', 'Mwere wa kana', 'Mwere wa gatano', 'Mwere wa gatandatũ', 'Mwere wa mũgwanja', 'Mwere wa kanana', 'Mwere wa kenda', 'Mwere wa ikũmi', 'Mwere wa ikũmi na ũmwe', 'Ndithemba'],
+ 'months_short' => ['JEN', 'WKR', 'WGT', 'WKN', 'WTN', 'WTD', 'WMJ', 'WNN', 'WKD', 'WIK', 'WMW', 'DIT'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count mĩaka', // less reliable
+ 'y' => ':count mĩaka', // less reliable
+ 'a_year' => ':count mĩaka', // less reliable
+
+ 'month' => ':count mweri', // less reliable
+ 'm' => ':count mweri', // less reliable
+ 'a_month' => ':count mweri', // less reliable
+
+ 'week' => ':count kiumia', // less reliable
+ 'w' => ':count kiumia', // less reliable
+ 'a_week' => ':count kiumia', // less reliable
+
+ 'day' => ':count mũthenya', // less reliable
+ 'd' => ':count mũthenya', // less reliable
+ 'a_day' => ':count mũthenya', // less reliable
+
+ 'hour' => ':count thaa', // less reliable
+ 'h' => ':count thaa', // less reliable
+ 'a_hour' => ':count thaa', // less reliable
+
+ 'minute' => ':count mundu', // less reliable
+ 'min' => ':count mundu', // less reliable
+ 'a_minute' => ':count mundu', // less reliable
+
+ 'second' => ':count igego', // less reliable
+ 's' => ':count igego', // less reliable
+ 'a_second' => ':count igego', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kk.php b/vendor/nesbot/carbon/src/Carbon/Lang/kk.php
new file mode 100644
index 0000000..59fa9af
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kk.php
@@ -0,0 +1,103 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - Talat Uspanov
+ * - Ðурлан Рахимжанов
+ * - Toleugazy Kali
+ */
+return [
+ 'year' => ':count жыл',
+ 'a_year' => '{1}бір жыл|:count жыл',
+ 'y' => ':count ж.',
+ 'month' => ':count ай',
+ 'a_month' => '{1}бір ай|:count ай',
+ 'm' => ':count ай',
+ 'week' => ':count апта',
+ 'a_week' => '{1}бір апта',
+ 'w' => ':count ап.',
+ 'day' => ':count күн',
+ 'a_day' => '{1}бір күн|:count күн',
+ 'd' => ':count к.',
+ 'hour' => ':count Ñағат',
+ 'a_hour' => '{1}бір Ñағат|:count Ñағат',
+ 'h' => ':count Ñа.',
+ 'minute' => ':count минут',
+ 'a_minute' => '{1}бір минут|:count минут',
+ 'min' => ':count м.',
+ 'second' => ':count Ñекунд',
+ 'a_second' => '{1}бірнеше Ñекунд|:count Ñекунд',
+ 's' => ':count Ñе.',
+ 'ago' => ':time бұрын',
+ 'from_now' => ':time ішінде',
+ 'after' => ':time кейін',
+ 'before' => ':time бұрын',
+ 'diff_now' => 'қазір',
+ 'diff_today' => 'Бүгін',
+ 'diff_today_regexp' => 'Бүгін(?:\\s+Ñағат)?',
+ 'diff_yesterday' => 'кеше',
+ 'diff_yesterday_regexp' => 'Кеше(?:\\s+Ñағат)?',
+ 'diff_tomorrow' => 'ертең',
+ 'diff_tomorrow_regexp' => 'Ертең(?:\\s+Ñағат)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Бүгін Ñағат] LT',
+ 'nextDay' => '[Ертең Ñағат] LT',
+ 'nextWeek' => 'dddd [Ñағат] LT',
+ 'lastDay' => '[Кеше Ñағат] LT',
+ 'lastWeek' => '[Өткен аптаның] dddd [Ñағат] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ static $suffixes = [
+ 0 => '-ші',
+ 1 => '-ші',
+ 2 => '-ші',
+ 3 => '-ші',
+ 4 => '-ші',
+ 5 => '-ші',
+ 6 => '-шы',
+ 7 => '-ші',
+ 8 => '-ші',
+ 9 => '-шы',
+ 10 => '-шы',
+ 20 => '-шы',
+ 30 => '-шы',
+ 40 => '-шы',
+ 50 => '-ші',
+ 60 => '-шы',
+ 70 => '-ші',
+ 80 => '-ші',
+ 90 => '-шы',
+ 100 => '-ші',
+ ];
+
+ return $number.($suffixes[$number] ?? $suffixes[$number % 10] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
+ },
+ 'months' => ['қаңтар', 'ақпан', 'наурыз', 'Ñәуір', 'мамыр', 'мауÑым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқÑан'],
+ 'months_short' => ['қаң', 'ақп', 'нау', 'Ñәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'],
+ 'weekdays' => ['жекÑенбі', 'дүйÑенбі', 'ÑейÑенбі', 'ÑәрÑенбі', 'бейÑенбі', 'жұма', 'Ñенбі'],
+ 'weekdays_short' => ['жек', 'дүй', 'Ñей', 'Ñәр', 'бей', 'жұм', 'Ñен'],
+ 'weekdays_min' => ['жк', 'дй', 'Ñй', 'ÑÑ€', 'бй', 'жм', 'Ñн'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' және '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php
new file mode 100644
index 0000000..7dc5ebc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/kk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php b/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php
new file mode 100644
index 0000000..6a1e77a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kl.php b/vendor/nesbot/carbon/src/Carbon/Lang/kl.php
new file mode 100644
index 0000000..7329a07
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kl.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/kl_GL.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kl_GL.php b/vendor/nesbot/carbon/src/Carbon/Lang/kl_GL.php
new file mode 100644
index 0000000..4fed720
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kl_GL.php
@@ -0,0 +1,64 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Danish Standards Association bug-glibc-locales@gnu.org
+ * - John Eyðstein Johannesen (mashema)
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
+ ],
+ 'months' => ['januaarip', 'februaarip', 'marsip', 'apriilip', 'maajip', 'juunip', 'juulip', 'aggustip', 'septembarip', 'oktobarip', 'novembarip', 'decembarip'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ 'weekdays' => ['sapaat', 'ataasinngorneq', 'marlunngorneq', 'pingasunngorneq', 'sisamanngorneq', 'tallimanngorneq', 'arfininngorneq'],
+ 'weekdays_short' => ['sap', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'],
+ 'weekdays_min' => ['sap', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => '{1}ukioq :count|{0}:count ukiut|]1,Inf[ukiut :count',
+ 'a_year' => '{1}ukioq|{0}:count ukiut|]1,Inf[ukiut :count',
+ 'y' => '{1}:countyr|{0}:countyrs|]1,Inf[:countyrs',
+
+ 'month' => '{1}qaammat :count|{0}:count qaammatit|]1,Inf[qaammatit :count',
+ 'a_month' => '{1}qaammat|{0}:count qaammatit|]1,Inf[qaammatit :count',
+ 'm' => '{1}:countmo|{0}:countmos|]1,Inf[:countmos',
+
+ 'week' => '{1}:count sap. ak.|{0}:count sap. ak.|]1,Inf[:count sap. ak.',
+ 'a_week' => '{1}a sap. ak.|{0}:count sap. ak.|]1,Inf[:count sap. ak.',
+ 'w' => ':countw',
+
+ 'day' => '{1}:count ulloq|{0}:count ullut|]1,Inf[:count ullut',
+ 'a_day' => '{1}a ulloq|{0}:count ullut|]1,Inf[:count ullut',
+ 'd' => ':countd',
+
+ 'hour' => '{1}:count tiimi|{0}:count tiimit|]1,Inf[:count tiimit',
+ 'a_hour' => '{1}tiimi|{0}:count tiimit|]1,Inf[:count tiimit',
+ 'h' => ':counth',
+
+ 'minute' => '{1}:count minutsi|{0}:count minutsit|]1,Inf[:count minutsit',
+ 'a_minute' => '{1}a minutsi|{0}:count minutsit|]1,Inf[:count minutsit',
+ 'min' => ':countm',
+
+ 'second' => '{1}:count sikunti|{0}:count sikuntit|]1,Inf[:count sikuntit',
+ 'a_second' => '{1}sikunti|{0}:count sikuntit|]1,Inf[:count sikuntit',
+ 's' => ':counts',
+
+ 'ago' => ':time matuma siorna',
+
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kln.php b/vendor/nesbot/carbon/src/Carbon/Lang/kln.php
new file mode 100644
index 0000000..b9c3996
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kln.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['krn', 'koosk'],
+ 'weekdays' => ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'],
+ 'weekdays_short' => ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'],
+ 'weekdays_min' => ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'],
+ 'months' => ['Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', 'Rooptui', 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’'],
+ 'months_short' => ['Mul', 'Ngat', 'Taa', 'Iwo', 'Mam', 'Paa', 'Nge', 'Roo', 'Bur', 'Epe', 'Kpt', 'Kpa'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count maghatiat', // less reliable
+ 'y' => ':count maghatiat', // less reliable
+ 'a_year' => ':count maghatiat', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/km.php b/vendor/nesbot/carbon/src/Carbon/Lang/km.php
new file mode 100644
index 0000000..da790ac
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/km.php
@@ -0,0 +1,71 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kruy Vanna
+ * - Sereysethy Touch
+ * - JD Isaacks
+ * - Sovichet Tep
+ */
+return [
+ 'year' => '{1}មួយឆ្នាំ|]1,Inf[:count ឆ្នាំ',
+ 'y' => ':count ឆ្នាំ',
+ 'month' => '{1}មួយážáŸ‚|]1,Inf[:count ážáŸ‚',
+ 'm' => ':count ážáŸ‚',
+ 'week' => ':count សប្ដាហáŸ',
+ 'w' => ':count សប្ដាហáŸ',
+ 'day' => '{1}មួយážáŸ’ងៃ|]1,Inf[:count ážáŸ’ងៃ',
+ 'd' => ':count ážáŸ’ងៃ',
+ 'hour' => '{1}មួយម៉ោង|]1,Inf[:count ម៉ោង',
+ 'h' => ':count ម៉ោង',
+ 'minute' => '{1}មួយនាទី|]1,Inf[:count នាទី',
+ 'min' => ':count នាទី',
+ 'second' => '{1}ប៉ុន្មានវិនាទី|]1,Inf[:count វិនាទី',
+ 's' => ':count វិនាទី',
+ 'ago' => ':timeមុន',
+ 'from_now' => ':timeទៀáž',
+ 'after' => 'នៅ​ក្រោយ :time',
+ 'before' => 'នៅ​មុន :time',
+ 'diff_now' => 'ឥឡូវ',
+ 'diff_today' => 'ážáŸ’ងៃនáŸáŸ‡',
+ 'diff_today_regexp' => 'ážáŸ’ងៃនáŸáŸ‡(?:\\s+ម៉ោង)?',
+ 'diff_yesterday' => 'ម្សិលមិញ',
+ 'diff_yesterday_regexp' => 'ម្សិលមិញ(?:\\s+ម៉ោង)?',
+ 'diff_tomorrow' => 'ážáŸ’ងៃ​ស្អែក',
+ 'diff_tomorrow_regexp' => 'ស្អែក(?:\\s+ម៉ោង)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ážáŸ’ងៃនáŸáŸ‡ ម៉ោង] LT',
+ 'nextDay' => '[ស្អែក ម៉ោង] LT',
+ 'nextWeek' => 'dddd [ម៉ោង] LT',
+ 'lastDay' => '[ម្សិលមិញ ម៉ោង] LT',
+ 'lastWeek' => 'dddd [សប្ážáž¶áž áŸáž˜áž»áž“] [ម៉ោង] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => 'ទី:number',
+ 'meridiem' => ['ព្រឹក', 'ល្ងាច'],
+ 'months' => ['មករា', 'កុម្ភៈ', 'មីនា', 'មáŸážŸáž¶', 'ឧសភា', 'មិážáž»áž“áž¶', 'កក្កដា', 'សីហា', 'កញ្ញា', 'ážáž»áž›áž¶', 'វិច្ឆិកា', 'ធ្នូ'],
+ 'months_short' => ['មករា', 'កុម្ភៈ', 'មីនា', 'មáŸážŸáž¶', 'ឧសភា', 'មិážáž»áž“áž¶', 'កក្កដា', 'សីហា', 'កញ្ញា', 'ážáž»áž›áž¶', 'វិច្ឆិកា', 'ធ្នូ'],
+ 'weekdays' => ['អាទិážáŸ’áž™', 'áž…áŸáž“្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បážáž·áŸ', 'សុក្រ', 'សៅរáŸ'],
+ 'weekdays_short' => ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'],
+ 'weekdays_min' => ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', 'និង '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php b/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php
new file mode 100644
index 0000000..92e5fdb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/km.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kn.php b/vendor/nesbot/carbon/src/Carbon/Lang/kn.php
new file mode 100644
index 0000000..0d2ad08
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kn.php
@@ -0,0 +1,75 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - MOHAN M U
+ * - François B
+ * - rajeevnaikte
+ */
+return [
+ 'year' => '{1}ಒಂದೠವರà³à²·|]1,Inf[:count ವರà³à²·',
+ 'month' => '{1}ಒಂದೠತಿಂಗಳà³|]1,Inf[:count ತಿಂಗಳà³',
+ 'week' => '{1}ಒಂದೠವಾರ|]1,Inf[:count ವಾರಗಳà³',
+ 'day' => '{1}ಒಂದೠದಿನ|]1,Inf[:count ದಿನ',
+ 'hour' => '{1}ಒಂದೠಗಂಟೆ|]1,Inf[:count ಗಂಟೆ',
+ 'minute' => '{1}ಒಂದೠನಿಮಿಷ|]1,Inf[:count ನಿಮಿಷ',
+ 'second' => '{1}ಕೆಲವೠಕà³à²·à²£à²—ಳà³|]1,Inf[:count ಸೆಕೆಂಡà³à²—ಳà³',
+ 'ago' => ':time ಹಿಂದೆ',
+ 'from_now' => ':time ನಂತರ',
+ 'diff_now' => 'ಈಗ',
+ 'diff_today' => 'ಇಂದà³',
+ 'diff_yesterday' => 'ನಿನà³à²¨à³†',
+ 'diff_tomorrow' => 'ನಾಳೆ',
+ 'formats' => [
+ 'LT' => 'A h:mm',
+ 'LTS' => 'A h:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ಇಂದà³] LT',
+ 'nextDay' => '[ನಾಳೆ] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[ನಿನà³à²¨à³†] LT',
+ 'lastWeek' => '[ಕೊನೆಯ] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberನೇ',
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'ರಾತà³à²°à²¿';
+ }
+ if ($hour < 10) {
+ return 'ಬೆಳಿಗà³à²—ೆ';
+ }
+ if ($hour < 17) {
+ return 'ಮಧà³à²¯à²¾à²¹à³à²¨';
+ }
+ if ($hour < 20) {
+ return 'ಸಂಜೆ';
+ }
+
+ return 'ರಾತà³à²°à²¿';
+ },
+ 'months' => ['ಜನವರಿ', 'ಫೆಬà³à²°à²µà²°à²¿', 'ಮಾರà³à²šà³', 'à²à²ªà³à²°à²¿à²²à³', 'ಮೇ', 'ಜೂನà³', 'ಜà³à²²à³†à³–', 'ಆಗಸà³à²Ÿà³', 'ಸೆಪà³à²Ÿà³†à²‚ಬರà³', 'ಅಕà³à²Ÿà³†à³‚ೕಬರà³', 'ನವೆಂಬರà³', 'ಡಿಸೆಂಬರà³'],
+ 'months_short' => ['ಜನ', 'ಫೆಬà³à²°', 'ಮಾರà³à²šà³', 'à²à²ªà³à²°à²¿à²²à³', 'ಮೇ', 'ಜೂನà³', 'ಜà³à²²à³†à³–', 'ಆಗಸà³à²Ÿà³', 'ಸೆಪà³à²Ÿà³†à²‚', 'ಅಕà³à²Ÿà³†à³‚ೕ', 'ನವೆಂ', 'ಡಿಸೆಂ'],
+ 'weekdays' => ['à²à²¾à²¨à³à²µà²¾à²°', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬà³à²§à²µà²¾à²°', 'ಗà³à²°à³à²µà²¾à²°', 'ಶà³à²•à³à²°à²µà²¾à²°', 'ಶನಿವಾರ'],
+ 'weekdays_short' => ['à²à²¾à²¨à³', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬà³à²§', 'ಗà³à²°à³', 'ಶà³à²•à³à²°', 'ಶನಿ'],
+ 'weekdays_min' => ['à²à²¾', 'ಸೋ', 'ಮಂ', 'ಬà³', 'ಗà³', 'ಶà³', 'ಶ'],
+ 'list' => ', ',
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php
new file mode 100644
index 0000000..30e3d88
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/kn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ko.php b/vendor/nesbot/carbon/src/Carbon/Lang/ko.php
new file mode 100644
index 0000000..4fa6237
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ko.php
@@ -0,0 +1,91 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - FourwingsY
+ * - François B
+ * - Jason Katz-Brown
+ * - Seokjun Kim
+ * - Junho Kim
+ * - JD Isaacks
+ * - Juwon Kim
+ */
+return [
+ 'year' => ':countë…„',
+ 'a_year' => '{1}ì¼ë…„|]1,Inf[:countë…„',
+ 'y' => ':countë…„',
+ 'month' => ':count개월',
+ 'a_month' => '{1}한달|]1,Inf[:count개월',
+ 'm' => ':count개월',
+ 'week' => ':count주',
+ 'a_week' => '{1}ì¼ì£¼ì¼|]1,Inf[:count 주',
+ 'w' => ':count주ì¼',
+ 'day' => ':countì¼',
+ 'a_day' => '{1}하루|]1,Inf[:countì¼',
+ 'd' => ':countì¼',
+ 'hour' => ':count시간',
+ 'a_hour' => '{1}한시간|]1,Inf[:count시간',
+ 'h' => ':count시간',
+ 'minute' => ':countë¶„',
+ 'a_minute' => '{1}ì¼ë¶„|]1,Inf[:countë¶„',
+ 'min' => ':countë¶„',
+ 'second' => ':countì´ˆ',
+ 'a_second' => '{1}몇초|]1,Inf[:count초',
+ 's' => ':countì´ˆ',
+ 'ago' => ':time ì „',
+ 'from_now' => ':time 후',
+ 'after' => ':time 후',
+ 'before' => ':time ì „',
+ 'diff_now' => '지금',
+ 'diff_today' => '오늘',
+ 'diff_yesterday' => 'ì–´ì œ',
+ 'diff_tomorrow' => 'ë‚´ì¼',
+ 'formats' => [
+ 'LT' => 'A h:mm',
+ 'LTS' => 'A h:mm:ss',
+ 'L' => 'YYYY.MM.DD.',
+ 'LL' => 'YYYYë…„ MMMM Dì¼',
+ 'LLL' => 'YYYYë…„ MMMM Dì¼ A h:mm',
+ 'LLLL' => 'YYYYë…„ MMMM Dì¼ dddd A h:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '오늘 LT',
+ 'nextDay' => 'ë‚´ì¼ LT',
+ 'nextWeek' => 'dddd LT',
+ 'lastDay' => 'ì–´ì œ LT',
+ 'lastWeek' => '지난주 dddd LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'd':
+ case 'D':
+ case 'DDD':
+ return $number.'ì¼';
+ case 'M':
+ return $number.'ì›”';
+ case 'w':
+ case 'W':
+ return $number.'주';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => ['ì˜¤ì „', '오후'],
+ 'months' => ['1ì›”', '2ì›”', '3ì›”', '4ì›”', '5ì›”', '6ì›”', '7ì›”', '8ì›”', '9ì›”', '10ì›”', '11ì›”', '12ì›”'],
+ 'months_short' => ['1ì›”', '2ì›”', '3ì›”', '4ì›”', '5ì›”', '6ì›”', '7ì›”', '8ì›”', '9ì›”', '10ì›”', '11ì›”', '12ì›”'],
+ 'weekdays' => ['ì¼ìš”ì¼', '월요ì¼', '화요ì¼', '수요ì¼', '목요ì¼', '금요ì¼', 'í† ìš”ì¼'],
+ 'weekdays_short' => ['ì¼', 'ì›”', 'í™”', '수', '목', '금', 'í† '],
+ 'weekdays_min' => ['ì¼', 'ì›”', 'í™”', '수', '목', '금', 'í† '],
+ 'list' => ' ',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php
new file mode 100644
index 0000000..4ba802b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ko.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php
new file mode 100644
index 0000000..9d873a2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ko.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kok.php b/vendor/nesbot/carbon/src/Carbon/Lang/kok.php
new file mode 100644
index 0000000..4adcddc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kok.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/kok_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kok_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/kok_IN.php
new file mode 100644
index 0000000..92ba844
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kok_IN.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat, Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D-M-YY',
+ ],
+ 'months' => ['जानेवारी', 'फेबà¥à¤°à¥à¤µà¤¾à¤°à¥€', 'मारà¥à¤š', 'à¤à¤ªà¥à¤°à¤¿à¤²', 'मे', 'जून', 'जà¥à¤²à¥ˆ', 'ओगसà¥à¤Ÿ', 'सेपà¥à¤Ÿà¥‡à¤‚बर', 'ओकà¥à¤Ÿà¥‹à¤¬à¤°', 'नोवà¥à¤¹à¥‡à¤‚बर', 'डिसेंबर'],
+ 'months_short' => ['जानेवारी', 'फेबà¥à¤°à¥à¤µà¤¾à¤°à¥€', 'मारà¥à¤š', 'à¤à¤ªà¥à¤°à¤¿à¤²', 'मे', 'जून', 'जà¥à¤²à¥ˆ', 'ओगसà¥à¤Ÿ', 'सेपà¥à¤Ÿà¥‡à¤‚बर', 'ओकà¥à¤Ÿà¥‹à¤¬à¤°', 'नोवà¥à¤¹à¥‡à¤‚बर', 'डिसेंबर'],
+ 'weekdays' => ['आयतार', 'सोमार', 'मंगळवार', 'बà¥à¤§à¤µà¤¾à¤°', 'बेरेसतार', 'शà¥à¤•रार', 'शेनवार'],
+ 'weekdays_short' => ['आयतार', 'सोमार', 'मंगळवार', 'बà¥à¤§à¤µà¤¾à¤°', 'बेरेसतार', 'शà¥à¤•रार', 'शेनवार'],
+ 'weekdays_min' => ['आयतार', 'सोमार', 'मंगळवार', 'बà¥à¤§à¤µà¤¾à¤°', 'बेरेसतार', 'शà¥à¤•रार', 'शेनवार'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['म.पू.', 'म.नं.'],
+
+ 'year' => ':count वैशाकà¥', // less reliable
+ 'y' => ':count वैशाकà¥', // less reliable
+ 'a_year' => ':count वैशाकà¥', // less reliable
+
+ 'week' => ':count आदितà¥à¤¯à¤µà¤¾à¤°', // less reliable
+ 'w' => ':count आदितà¥à¤¯à¤µà¤¾à¤°', // less reliable
+ 'a_week' => ':count आदितà¥à¤¯à¤µà¤¾à¤°', // less reliable
+
+ 'minute' => ':count नोंद', // less reliable
+ 'min' => ':count नोंद', // less reliable
+ 'a_minute' => ':count नोंद', // less reliable
+
+ 'second' => ':count तेंको', // less reliable
+ 's' => ':count तेंको', // less reliable
+ 'a_second' => ':count तेंको', // less reliable
+
+ 'month' => ':count मैनो',
+ 'm' => ':count मैनो',
+ 'a_month' => ':count मैनो',
+
+ 'day' => ':count दिवसà¥',
+ 'd' => ':count दिवसà¥',
+ 'a_day' => ':count दिवसà¥',
+
+ 'hour' => ':count घंते',
+ 'h' => ':count घंते',
+ 'a_hour' => ':count घंते',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ks.php b/vendor/nesbot/carbon/src/Carbon/Lang/ks.php
new file mode 100644
index 0000000..9876079
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ks.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ks_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ks_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ks_IN.php
new file mode 100644
index 0000000..ce9d5d4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ks_IN.php
@@ -0,0 +1,51 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat, Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'M/D/YY',
+ ],
+ 'months' => ['جنؤری', 'ÙØ±Ø¤Ø±ÛŒ', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنؤری', 'ÙØ±Ø¤Ø±ÛŒ', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر'],
+ 'weekdays' => ['آتهوار', 'ژءندروار', 'بوءںوار', 'بودهوار', 'برىسوار', 'جمع', 'بٹوار'],
+ 'weekdays_short' => ['آتهوار', 'ژءنتروار', 'بوءںوار', 'بودهوار', 'برىسوار', 'جمع', 'بٹوار'],
+ 'weekdays_min' => ['آتهوار', 'ژءنتروار', 'بوءںوار', 'بودهوار', 'برىسوار', 'جمع', 'بٹوار'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['دوپھربرونھ', 'دوپھرپتھ'],
+
+ 'year' => ':count آب', // less reliable
+ 'y' => ':count آب', // less reliable
+ 'a_year' => ':count آب', // less reliable
+
+ 'month' => ':count रानà¥', // less reliable
+ 'm' => ':count रानà¥', // less reliable
+ 'a_month' => ':count रानà¥', // less reliable
+
+ 'week' => ':count آتھٕوار', // less reliable
+ 'w' => ':count آتھٕوار', // less reliable
+ 'a_week' => ':count آتھٕوار', // less reliable
+
+ 'hour' => ':count سۄن', // less reliable
+ 'h' => ':count سۄن', // less reliable
+ 'a_hour' => ':count سۄن', // less reliable
+
+ 'minute' => ':count ÙÙŽÙ†', // less reliable
+ 'min' => ':count ÙÙŽÙ†', // less reliable
+ 'a_minute' => ':count ÙÙŽÙ†', // less reliable
+
+ 'second' => ':count दोʼयà¥à¤®', // less reliable
+ 's' => ':count दोʼयà¥à¤®', // less reliable
+ 'a_second' => ':count दोʼयà¥à¤®', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ks_IN@devanagari.php b/vendor/nesbot/carbon/src/Carbon/Lang/ks_IN@devanagari.php
new file mode 100644
index 0000000..a2ae8b6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ks_IN@devanagari.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - ks-gnome-trans-commits@lists.code.indlinux.net
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'M/D/YY',
+ ],
+ 'months' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'months_short' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'weekdays' => ['आथवार', 'चॅ़दà¥à¤°à¤µà¤¾à¤°', 'बोमवार', 'बà¥à¤µà¤¦à¤µà¤¾à¤°', 'बà¥à¤°à¤¸à¤µà¤¾à¤°', 'शोकà¥à¤°à¤µà¤¾à¤°', 'बटà¥à¤µà¤¾à¤°'],
+ 'weekdays_short' => ['आथ ', 'चॅ़दà¥à¤°', 'बोम', 'बà¥à¤µà¤¦', 'बà¥à¤°à¤¸', 'शोकà¥à¤°', 'बटà¥'],
+ 'weekdays_min' => ['आथ ', 'चॅ़दà¥à¤°', 'बोम', 'बà¥à¤µà¤¦', 'बà¥à¤°à¤¸', 'शोकà¥à¤°', 'बटà¥'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php b/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php
new file mode 100644
index 0000000..aaa0061
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['makeo', 'nyiaghuo'],
+ 'weekdays' => ['Jumaapii', 'Jumaatatu', 'Jumaane', 'Jumaatano', 'Alhamisi', 'Ijumaa', 'Jumaamosi'],
+ 'weekdays_short' => ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'months' => ['Januali', 'Febluali', 'Machi', 'Aplili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php b/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php
new file mode 100644
index 0000000..84a5967
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['sárúwá', 'cɛɛÌnko'],
+ 'weekdays' => ['sÉ”ÌndÇ', 'lÇndÃ', 'maadÃ', 'mÉ›krÉ›dÃ', 'jÇÇdÃ', 'júmbá', 'samdÃ'],
+ 'weekdays_short' => ['sÉ”Ìn', 'lÇn', 'maa', 'mÉ›k', 'jÇÇ', 'júm', 'sam'],
+ 'weekdays_min' => ['sÉ”Ìn', 'lÇn', 'maa', 'mÉ›k', 'jÇÇ', 'júm', 'sam'],
+ 'months' => ['Å‹wÃà a ntÉ”ÌntÉ”', 'Å‹wÃà akÇ bÉ›ÌÉ›', 'Å‹wÃà akÇ ráá', 'Å‹wÃà akÇ nin', 'Å‹wÃà akÇ táan', 'Å‹wÃà akÇ táafÉ”k', 'Å‹wÃà akÇ táabɛɛ', 'Å‹wÃà akÇ táaraa', 'Å‹wÃà akÇ táanin', 'Å‹wÃà akÇ ntÉ›k', 'Å‹wÃà akÇ ntÉ›k di bÉ”Ìk', 'Å‹wÃà akÇ ntÉ›k di bÉ›ÌÉ›'],
+ 'months_short' => ['ŋ1', 'ŋ2', 'ŋ3', 'ŋ4', 'ŋ5', 'ŋ6', 'ŋ7', 'ŋ8', 'ŋ9', 'ŋ10', 'ŋ11', 'ŋ12'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php b/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php
new file mode 100644
index 0000000..95457e2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['v.M.', 'n.M.'],
+ 'weekdays' => ['Sunndaach', 'Mohndaach', 'Dinnsdaach', 'Metwoch', 'Dunnersdaach', 'Friidaach', 'Samsdaach'],
+ 'weekdays_short' => ['Su.', 'Mo.', 'Di.', 'Me.', 'Du.', 'Fr.', 'Sa.'],
+ 'weekdays_min' => ['Su', 'Mo', 'Di', 'Me', 'Du', 'Fr', 'Sa'],
+ 'months' => ['Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', 'Septämber', 'Oktohber', 'Novämber', 'Dezämber'],
+ 'months_short' => ['Jan', 'Fäb', 'Mäz', 'Apr', 'Mai', 'Jun', 'Jul', 'Ouj', 'Säp', 'Okt', 'Nov', 'Dez'],
+ 'months_short_standalone' => ['Jan.', 'Fäb.', 'Mäz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Ouj.', 'Säp.', 'Okt.', 'Nov.', 'Dez.'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D. M. YYYY',
+ 'LL' => 'D. MMM. YYYY',
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, [dä] D. MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count Johr',
+ 'y' => ':count Johr',
+ 'a_year' => ':count Johr',
+
+ 'month' => ':count Moohnd',
+ 'm' => ':count Moohnd',
+ 'a_month' => ':count Moohnd',
+
+ 'week' => ':count woch',
+ 'w' => ':count woch',
+ 'a_week' => ':count woch',
+
+ 'day' => ':count Daach',
+ 'd' => ':count Daach',
+ 'a_day' => ':count Daach',
+
+ 'hour' => ':count Uhr',
+ 'h' => ':count Uhr',
+ 'a_hour' => ':count Uhr',
+
+ 'minute' => ':count Menutt',
+ 'min' => ':count Menutt',
+ 'a_minute' => ':count Menutt',
+
+ 'second' => ':count Sekůndt',
+ 's' => ':count Sekůndt',
+ 'a_second' => ':count Sekůndt',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ku.php b/vendor/nesbot/carbon/src/Carbon/Lang/ku.php
new file mode 100644
index 0000000..189960c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ku.php
@@ -0,0 +1,40 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Unicode, Inc.
+ */
+
+return [
+ 'ago' => 'berî :time',
+ 'from_now' => 'di :time de',
+ 'after' => ':time piştî',
+ 'before' => ':time berê',
+ 'year' => ':count sal',
+ 'year_ago' => ':count salê|:count salan',
+ 'year_from_now' => 'salekê|:count salan',
+ 'month' => ':count meh',
+ 'week' => ':count hefte',
+ 'day' => ':count roj',
+ 'hour' => ':count saet',
+ 'minute' => ':count deqîqe',
+ 'second' => ':count saniye',
+ 'months' => ['rêbendanê', 'reşemiyê', 'adarê', 'avrêlê', 'gulanê', 'pûşperê', 'tîrmehê', 'gelawêjê', 'rezberê', 'kewçêrê', 'sermawezê', 'berfanbarê'],
+ 'months_standalone' => ['rêbendan', 'reşemî', 'adar', 'avrêl', 'gulan', 'pûşper', 'tîrmeh', 'gelawêj', 'rezber', 'kewçêr', 'sermawez', 'berfanbar'],
+ 'months_short' => ['rêb', 'reş', 'ada', 'avr', 'gul', 'pûş', 'tîr', 'gel', 'rez', 'kew', 'ser', 'ber'],
+ 'weekdays' => ['yekşem', 'duşem', 'sêşem', 'çarşem', 'pêncşem', 'în', 'şemî'],
+ 'weekdays_short' => ['yş', 'dş', 'sş', 'çş', 'pş', 'în', 'ş'],
+ 'weekdays_min' => ['Y', 'D', 'S', 'Ç', 'P', 'Î', 'Ş'],
+ 'list' => [', ', ' û '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php
new file mode 100644
index 0000000..4243a82
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ku.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kw.php b/vendor/nesbot/carbon/src/Carbon/Lang/kw.php
new file mode 100644
index 0000000..26e242e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kw.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/kw_GB.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kw_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/kw_GB.php
new file mode 100644
index 0000000..00bf52b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kw_GB.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Alastair McKinstry bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['mis Genver', 'mis Hwevrer', 'mis Meurth', 'mis Ebrel', 'mis Me', 'mis Metheven', 'mis Gortheren', 'mis Est', 'mis Gwynngala', 'mis Hedra', 'mis Du', 'mis Kevardhu'],
+ 'months_short' => ['Gen', 'Hwe', 'Meu', 'Ebr', 'Me', 'Met', 'Gor', 'Est', 'Gwn', 'Hed', 'Du', 'Kev'],
+ 'weekdays' => ['De Sul', 'De Lun', 'De Merth', 'De Merher', 'De Yow', 'De Gwener', 'De Sadorn'],
+ 'weekdays_short' => ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'],
+ 'weekdays_min' => ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count bledhen',
+ 'y' => ':count bledhen',
+ 'a_year' => ':count bledhen',
+
+ 'month' => ':count mis',
+ 'm' => ':count mis',
+ 'a_month' => ':count mis',
+
+ 'week' => ':count seythen',
+ 'w' => ':count seythen',
+ 'a_week' => ':count seythen',
+
+ 'day' => ':count dydh',
+ 'd' => ':count dydh',
+ 'a_day' => ':count dydh',
+
+ 'hour' => ':count eur',
+ 'h' => ':count eur',
+ 'a_hour' => ':count eur',
+
+ 'minute' => ':count mynysen',
+ 'min' => ':count mynysen',
+ 'a_minute' => ':count mynysen',
+
+ 'second' => ':count pryjwyth',
+ 's' => ':count pryjwyth',
+ 'a_second' => ':count pryjwyth',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ky.php b/vendor/nesbot/carbon/src/Carbon/Lang/ky.php
new file mode 100644
index 0000000..e0d1af1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ky.php
@@ -0,0 +1,106 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - acutexyz
+ * - Josh Soref
+ * - François B
+ * - Chyngyz Arystan uulu
+ * - Chyngyz
+ * - acutexyz
+ * - Josh Soref
+ * - François B
+ * - Chyngyz Arystan uulu
+ */
+return [
+ 'year' => ':count жыл',
+ 'a_year' => '{1}бир жыл|:count жыл',
+ 'y' => ':count жыл',
+ 'month' => ':count ай',
+ 'a_month' => '{1}бир ай|:count ай',
+ 'm' => ':count ай',
+ 'week' => ':count апта',
+ 'a_week' => '{1}бир апта|:count апта',
+ 'w' => ':count апт.',
+ 'day' => ':count күн',
+ 'a_day' => '{1}бир күн|:count күн',
+ 'd' => ':count күн',
+ 'hour' => ':count Ñаат',
+ 'a_hour' => '{1}бир Ñаат|:count Ñаат',
+ 'h' => ':count Ñаат.',
+ 'minute' => ':count мүнөт',
+ 'a_minute' => '{1}бир мүнөт|:count мүнөт',
+ 'min' => ':count мүн.',
+ 'second' => ':count Ñекунд',
+ 'a_second' => '{1}бирнече Ñекунд|:count Ñекунд',
+ 's' => ':count Ñек.',
+ 'ago' => ':time мурун',
+ 'from_now' => ':time ичинде',
+ 'diff_now' => 'азыр',
+ 'diff_today' => 'Бүгүн',
+ 'diff_today_regexp' => 'Бүгүн(?:\\s+Ñаат)?',
+ 'diff_yesterday' => 'кечÑÑ',
+ 'diff_yesterday_regexp' => 'Кече(?:\\s+Ñаат)?',
+ 'diff_tomorrow' => 'Ñртең',
+ 'diff_tomorrow_regexp' => 'Ðртең(?:\\s+Ñаат)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Бүгүн Ñаат] LT',
+ 'nextDay' => '[Ðртең Ñаат] LT',
+ 'nextWeek' => 'dddd [Ñаат] LT',
+ 'lastDay' => '[Кече Ñаат] LT',
+ 'lastWeek' => '[Өткен аптанын] dddd [күнү] [Ñаат] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ static $suffixes = [
+ 0 => '-чү',
+ 1 => '-чи',
+ 2 => '-чи',
+ 3 => '-чү',
+ 4 => '-чү',
+ 5 => '-чи',
+ 6 => '-чы',
+ 7 => '-чи',
+ 8 => '-чи',
+ 9 => '-чу',
+ 10 => '-чу',
+ 20 => '-чы',
+ 30 => '-чу',
+ 40 => '-чы',
+ 50 => '-чү',
+ 60 => '-чы',
+ 70 => '-чи',
+ 80 => '-чи',
+ 90 => '-чу',
+ 100 => '-чү',
+ ];
+
+ return $number.($suffixes[$number] ?? $suffixes[$number % 10] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
+ },
+ 'months' => ['Ñнварь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'авгуÑÑ‚', 'ÑентÑбрь', 'октÑбрь', 'ноÑбрь', 'декабрь'],
+ 'months_short' => ['Ñнв', 'фев', 'март', 'апр', 'май', 'июнь', 'июль', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'weekdays' => ['Жекшемби', 'Дүйшөмбү', 'Шейшемби', 'Шаршемби', 'Бейшемби', 'Жума', 'Ишемби'],
+ 'weekdays_short' => ['Жек', 'Дүй', 'Шей', 'Шар', 'Бей', 'Жум', 'Ише'],
+ 'weekdays_min' => ['Жк', 'Дй', 'Шй', 'Шр', 'Бй', 'Жм', 'Иш'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => ' ',
+ 'meridiem' => ['таңкы', 'түштөн кийинки'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php
new file mode 100644
index 0000000..9923a31
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ky.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lag.php b/vendor/nesbot/carbon/src/Carbon/Lang/lag.php
new file mode 100644
index 0000000..f3f57f6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lag.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['TOO', 'MUU'],
+ 'weekdays' => ['JumapÃiri', 'Jumatátu', 'JumaÃne', 'Jumatáano', 'AlamÃisi', 'Ijumáa', 'Jumamóosi'],
+ 'weekdays_short' => ['PÃili', 'Táatu', 'Ãne', 'Táano', 'Alh', 'Ijm', 'Móosi'],
+ 'weekdays_min' => ['PÃili', 'Táatu', 'Ãne', 'Táano', 'Alh', 'Ijm', 'Móosi'],
+ 'months' => ['Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', 'Kʉmʉʉnchɨ', 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ'],
+ 'months_short' => ['Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', 'Vɨɨrɨ', 'Saatʉ', 'Inyi', 'Saano', 'Sasatʉ'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lb.php b/vendor/nesbot/carbon/src/Carbon/Lang/lb.php
new file mode 100644
index 0000000..7636655
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lb.php
@@ -0,0 +1,88 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - dan-nl
+ * - Simon Lelorrain (slelorrain)
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count Joer',
+ 'y' => ':countJ',
+ 'month' => ':count Mount|:count Méint',
+ 'm' => ':countMo',
+ 'week' => ':count Woch|:count Wochen',
+ 'w' => ':countWo|:countWo',
+ 'day' => ':count Dag|:count Deeg',
+ 'd' => ':countD',
+ 'hour' => ':count Stonn|:count Stonnen',
+ 'h' => ':countSto',
+ 'minute' => ':count Minutt|:count Minutten',
+ 'min' => ':countM',
+ 'second' => ':count Sekonn|:count Sekonnen',
+ 's' => ':countSek',
+
+ 'ago' => 'virun :time',
+ 'from_now' => 'an :time',
+ 'before' => ':time virdrun',
+ 'after' => ':time duerno',
+
+ 'diff_today' => 'Haut',
+ 'diff_yesterday' => 'Gëschter',
+ 'diff_yesterday_regexp' => 'Gëschter(?:\\s+um)?',
+ 'diff_tomorrow' => 'Muer',
+ 'diff_tomorrow_regexp' => 'Muer(?:\\s+um)?',
+ 'diff_today_regexp' => 'Haut(?:\\s+um)?',
+ 'formats' => [
+ 'LT' => 'H:mm [Auer]',
+ 'LTS' => 'H:mm:ss [Auer]',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY H:mm [Auer]',
+ 'LLLL' => 'dddd, D. MMMM YYYY H:mm [Auer]',
+ ],
+
+ 'calendar' => [
+ 'sameDay' => '[Haut um] LT',
+ 'nextDay' => '[Muer um] LT',
+ 'nextWeek' => 'dddd [um] LT',
+ 'lastDay' => '[Gëschter um] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
+ switch ($date->dayOfWeek) {
+ case 2:
+ case 4:
+ return '[Leschten] dddd [um] LT';
+ default:
+ return '[Leschte] dddd [um] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+
+ 'months' => ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
+ 'months_short' => ['Jan.', 'Febr.', 'Mrz.', 'Abr.', 'Mee', 'Jun.', 'Jul.', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.'],
+ 'weekdays' => ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'],
+ 'weekdays_short' => ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'],
+ 'weekdays_min' => ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'],
+ 'ordinal' => ':number.',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' an '],
+ 'meridiem' => ['moies', 'mëttes'],
+ 'weekdays_short_standalone' => ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'],
+ 'months_short_standalone' => ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php b/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php
new file mode 100644
index 0000000..414bd4d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/lb.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lg.php b/vendor/nesbot/carbon/src/Carbon/Lang/lg.php
new file mode 100644
index 0000000..48bc68b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lg.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/lg_UG.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lg_UG.php b/vendor/nesbot/carbon/src/Carbon/Lang/lg_UG.php
new file mode 100644
index 0000000..aa02214
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lg_UG.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Akademe ya Luganda Kizito Birabwa kompyuta@kizito.uklinux.net
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'],
+ 'weekdays' => ['Sabiiti', 'Balaza', 'Lwakubiri', 'Lwakusatu', 'Lwakuna', 'Lwakutaano', 'Lwamukaaga'],
+ 'weekdays_short' => ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'],
+ 'weekdays_min' => ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'month' => ':count njuba', // less reliable
+ 'm' => ':count njuba', // less reliable
+ 'a_month' => ':count njuba', // less reliable
+
+ 'year' => ':count mwaaka',
+ 'y' => ':count mwaaka',
+ 'a_year' => ':count mwaaka',
+
+ 'week' => ':count sabbiiti',
+ 'w' => ':count sabbiiti',
+ 'a_week' => ':count sabbiiti',
+
+ 'day' => ':count lunaku',
+ 'd' => ':count lunaku',
+ 'a_day' => ':count lunaku',
+
+ 'hour' => 'saawa :count',
+ 'h' => 'saawa :count',
+ 'a_hour' => 'saawa :count',
+
+ 'minute' => 'ddakiika :count',
+ 'min' => 'ddakiika :count',
+ 'a_minute' => 'ddakiika :count',
+
+ 'second' => ':count kyʼokubiri',
+ 's' => ':count kyʼokubiri',
+ 'a_second' => ':count kyʼokubiri',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/li.php b/vendor/nesbot/carbon/src/Carbon/Lang/li.php
new file mode 100644
index 0000000..86c3009
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/li.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/li_NL.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/li_NL.php b/vendor/nesbot/carbon/src/Carbon/Lang/li_NL.php
new file mode 100644
index 0000000..6c5feb7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/li_NL.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - information from Kenneth Christiansen Kenneth Christiansen, Pablo Saratxaga kenneth@gnu.org, pablo@mandriva.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['jannewarie', 'fibberwarie', 'miert', 'eprèl', 'meij', 'junie', 'julie', 'augustus', 'september', 'oktober', 'november', 'desember'],
+ 'months_short' => ['jan', 'fib', 'mie', 'epr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
+ 'weekdays' => ['zóndig', 'maondig', 'daensdig', 'goonsdig', 'dónderdig', 'vriedig', 'zaoterdig'],
+ 'weekdays_short' => ['zón', 'mao', 'dae', 'goo', 'dón', 'vri', 'zao'],
+ 'weekdays_min' => ['zón', 'mao', 'dae', 'goo', 'dón', 'vri', 'zao'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'minute' => ':count momênt', // less reliable
+ 'min' => ':count momênt', // less reliable
+ 'a_minute' => ':count momênt', // less reliable
+
+ 'year' => ':count jaor',
+ 'y' => ':count jaor',
+ 'a_year' => ':count jaor',
+
+ 'month' => ':count maond',
+ 'm' => ':count maond',
+ 'a_month' => ':count maond',
+
+ 'week' => ':count waek',
+ 'w' => ':count waek',
+ 'a_week' => ':count waek',
+
+ 'day' => ':count daag',
+ 'd' => ':count daag',
+ 'a_day' => ':count daag',
+
+ 'hour' => ':count oer',
+ 'h' => ':count oer',
+ 'a_hour' => ':count oer',
+
+ 'second' => ':count Secónd',
+ 's' => ':count Secónd',
+ 'a_second' => ':count Secónd',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lij.php b/vendor/nesbot/carbon/src/Carbon/Lang/lij.php
new file mode 100644
index 0000000..45732b5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lij.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/lij_IT.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lij_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/lij_IT.php
new file mode 100644
index 0000000..f8726fd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lij_IT.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Gastaldi alessio.gastaldi@libero.it
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['zenâ', 'fevrâ', 'marzo', 'avrî', 'mazzo', 'zûgno', 'lûggio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dixembre'],
+ 'months_short' => ['zen', 'fev', 'mar', 'arv', 'maz', 'zûg', 'lûg', 'ago', 'set', 'ött', 'nov', 'dix'],
+ 'weekdays' => ['domenega', 'lûnedì', 'martedì', 'mercUrdì', 'zêggia', 'venardì', 'sabbo'],
+ 'weekdays_short' => ['dom', 'lûn', 'mar', 'mer', 'zêu', 'ven', 'sab'],
+ 'weekdays_min' => ['dom', 'lûn', 'mar', 'mer', 'zêu', 'ven', 'sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count etæ', // less reliable
+ 'y' => ':count etæ', // less reliable
+ 'a_year' => ':count etæ', // less reliable
+
+ 'month' => ':count meize',
+ 'm' => ':count meize',
+ 'a_month' => ':count meize',
+
+ 'week' => ':count settemannha',
+ 'w' => ':count settemannha',
+ 'a_week' => ':count settemannha',
+
+ 'day' => ':count giorno',
+ 'd' => ':count giorno',
+ 'a_day' => ':count giorno',
+
+ 'hour' => ':count reléuio', // less reliable
+ 'h' => ':count reléuio', // less reliable
+ 'a_hour' => ':count reléuio', // less reliable
+
+ 'minute' => ':count menûo',
+ 'min' => ':count menûo',
+ 'a_minute' => ':count menûo',
+
+ 'second' => ':count segondo',
+ 's' => ':count segondo',
+ 'a_second' => ':count segondo',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php b/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php
new file mode 100644
index 0000000..ae73a97
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php
@@ -0,0 +1,41 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+
+ 'month' => ':count haÅ‹wÃ', // less reliable
+ 'm' => ':count haÅ‹wÃ', // less reliable
+ 'a_month' => ':count haÅ‹wÃ', // less reliable
+
+ 'week' => ':count šakówiŋ', // less reliable
+ 'w' => ':count šakówiŋ', // less reliable
+ 'a_week' => ':count šakówiŋ', // less reliable
+
+ 'hour' => ':count maza škaŋškaŋ', // less reliable
+ 'h' => ':count maza škaŋškaŋ', // less reliable
+ 'a_hour' => ':count maza škaŋškaŋ', // less reliable
+
+ 'minute' => ':count ÄÃkʼala', // less reliable
+ 'min' => ':count ÄÃkʼala', // less reliable
+ 'a_minute' => ':count ÄÃkʼala', // less reliable
+
+ 'year' => ':count wanÃyetu',
+ 'y' => ':count wanÃyetu',
+ 'a_year' => ':count wanÃyetu',
+
+ 'day' => ':count aŋpétu',
+ 'd' => ':count aŋpétu',
+ 'a_day' => ':count aŋpétu',
+
+ 'second' => ':count icinuŋpa',
+ 's' => ':count icinuŋpa',
+ 'a_second' => ':count icinuŋpa',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln.php
new file mode 100644
index 0000000..9d5c35d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ubuntu René Manassé GALEKWA renemanasse@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'months' => ['sánzá ya yambo', 'sánzá ya mÃbalé', 'sánzá ya mÃsáto', 'sánzá ya mÃnei', 'sánzá ya mÃtáno', 'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi', 'sánzá ya zómi na mɔ̌kÉ”Ì', 'sánzá ya zómi na mÃbalé'],
+ 'months_short' => ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'],
+ 'weekdays' => ['LomÃngo', 'Mosálá mɔ̌kÉ”Ì', 'Misálá mÃbalé', 'Misálá mÃsáto', 'Misálá mÃnei', 'Misálá mÃtáno', 'MpÉ”ÌsÉ”'],
+ 'weekdays_short' => ['m1.', 'm2.', 'm3.', 'm4.', 'm5.', 'm6.', 'm7.'],
+ 'weekdays_min' => ['m1.', 'm2.', 'm3.', 'm4.', 'm5.', 'm6.', 'm7.'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => 'mbula :count',
+ 'y' => 'mbula :count',
+ 'a_year' => 'mbula :count',
+
+ 'month' => 'sánzá :count',
+ 'm' => 'sánzá :count',
+ 'a_month' => 'sánzá :count',
+
+ 'week' => 'mpÉ”ÌsÉ” :count',
+ 'w' => 'mpÉ”ÌsÉ” :count',
+ 'a_week' => 'mpÉ”ÌsÉ” :count',
+
+ 'day' => 'mokɔlɔ :count',
+ 'd' => 'mokɔlɔ :count',
+ 'a_day' => 'mokɔlɔ :count',
+
+ 'hour' => 'ngonga :count',
+ 'h' => 'ngonga :count',
+ 'a_hour' => 'ngonga :count',
+
+ 'minute' => 'miniti :count',
+ 'min' => 'miniti :count',
+ 'a_minute' => 'miniti :count',
+
+ 'second' => 'segɔnde :count',
+ 's' => 'segɔnde :count',
+ 'a_second' => 'segɔnde :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php
new file mode 100644
index 0000000..7fdb7f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ln.php', [
+ 'weekdays' => ['eyenga', 'mokÉ”lÉ” mwa yambo', 'mokÉ”lÉ” mwa mÃbalé', 'mokÉ”lÉ” mwa mÃsáto', 'mokÉ”lÉ” ya mÃnéi', 'mokÉ”lÉ” ya mÃtáno', 'mpÉ”ÌsÉ”'],
+ 'weekdays_short' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
+ 'weekdays_min' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
+ 'meridiem' => ['ntÉ”ÌngÉ”Ì', 'mpókwa'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CD.php
new file mode 100644
index 0000000..13635fc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CD.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ubuntu René Manassé GALEKWA renemanasse@gmail.com
+ */
+return require __DIR__.'/ln.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php
new file mode 100644
index 0000000..7fdb7f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ln.php', [
+ 'weekdays' => ['eyenga', 'mokÉ”lÉ” mwa yambo', 'mokÉ”lÉ” mwa mÃbalé', 'mokÉ”lÉ” mwa mÃsáto', 'mokÉ”lÉ” ya mÃnéi', 'mokÉ”lÉ” ya mÃtáno', 'mpÉ”ÌsÉ”'],
+ 'weekdays_short' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
+ 'weekdays_min' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
+ 'meridiem' => ['ntÉ”ÌngÉ”Ì', 'mpókwa'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php
new file mode 100644
index 0000000..7fdb7f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ln.php', [
+ 'weekdays' => ['eyenga', 'mokÉ”lÉ” mwa yambo', 'mokÉ”lÉ” mwa mÃbalé', 'mokÉ”lÉ” mwa mÃsáto', 'mokÉ”lÉ” ya mÃnéi', 'mokÉ”lÉ” ya mÃtáno', 'mpÉ”ÌsÉ”'],
+ 'weekdays_short' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
+ 'weekdays_min' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
+ 'meridiem' => ['ntÉ”ÌngÉ”Ì', 'mpókwa'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lo.php b/vendor/nesbot/carbon/src/Carbon/Lang/lo.php
new file mode 100644
index 0000000..48715f5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lo.php
@@ -0,0 +1,62 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - ryanhart2
+ */
+return [
+ 'year' => ':count ປີ',
+ 'y' => ':count ປີ',
+ 'month' => ':count ເດືàºàº™',
+ 'm' => ':count ດ. ',
+ 'week' => ':count àºàº²àº—ິດ',
+ 'w' => ':count àºàº—. ',
+ 'day' => ':count ມື້',
+ 'd' => ':count ມື້',
+ 'hour' => ':count ຊົ່ວໂມງ',
+ 'h' => ':count ຊມ. ',
+ 'minute' => ':count ນາທີ',
+ 'min' => ':count ນທ. ',
+ 'second' => '{1}ບà»à»ˆà»€àº—ົ່າໃດວິນາທີ|]1,Inf[:count ວິນາທີ',
+ 's' => ':count ວິ. ',
+ 'ago' => ':timeຜ່ານມາ',
+ 'from_now' => 'àºàºµàº :time',
+ 'diff_now' => 'ຕàºàº™àº™àºµà»‰',
+ 'diff_today' => 'ມື້ນີ້ເວລາ',
+ 'diff_yesterday' => 'ມື້ວານນີ້ເວລາ',
+ 'diff_tomorrow' => 'ມື້àºàº·à»ˆàº™à»€àº§àº¥àº²',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'ວັນdddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ມື້ນີ້ເວລາ] LT',
+ 'nextDay' => '[ມື້àºàº·à»ˆàº™à»€àº§àº¥àº²] LT',
+ 'nextWeek' => '[ວັນ]dddd[ໜ້າເວລາ] LT',
+ 'lastDay' => '[ມື້ວານນີ້ເວລາ] LT',
+ 'lastWeek' => '[ວັນ]dddd[à»àº¥à»‰àº§àº™àºµà»‰à»€àº§àº¥àº²] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => 'ທີ່:number',
+ 'meridiem' => ['ຕàºàº™à»€àºŠàº»à»‰àº²', 'ຕàºàº™à»àº¥àº‡'],
+ 'months' => ['ມັງàºàºàº™', 'àºàº¸àº¡àºžàº²', 'ມີນາ', 'ເມສາ', 'ພຶດສະພາ', 'ມິຖຸນາ', 'àºà»àº¥àº°àºàº»àº”', 'ສິງຫາ', 'àºàº±àº™àºàº²', 'ຕຸລາ', 'ພະຈິàº', 'ທັນວາ'],
+ 'months_short' => ['ມັງàºàºàº™', 'àºàº¸àº¡àºžàº²', 'ມີນາ', 'ເມສາ', 'ພຶດສະພາ', 'ມິຖຸນາ', 'àºà»àº¥àº°àºàº»àº”', 'ສິງຫາ', 'àºàº±àº™àºàº²', 'ຕຸລາ', 'ພະຈິàº', 'ທັນວາ'],
+ 'weekdays' => ['àºàº²àº—ິດ', 'ຈັນ', 'àºàº±àº‡àº„ານ', 'ພຸດ', 'ພະຫັດ', 'ສຸàº', 'ເສົາ'],
+ 'weekdays_short' => ['ທິດ', 'ຈັນ', 'àºàº±àº‡àº„ານ', 'ພຸດ', 'ພະຫັດ', 'ສຸàº', 'ເສົາ'],
+ 'weekdays_min' => ['ທ', 'ຈ', 'àºàº„', 'ພ', 'ພຫ', 'ສàº', 'ສ'],
+ 'list' => [', ', 'à»àº¥àº° '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php b/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php
new file mode 100644
index 0000000..9b7fd9b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/lo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php b/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php
new file mode 100644
index 0000000..546e679
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+
+ 'minute' => ':count هنر', // less reliable
+ 'min' => ':count هنر', // less reliable
+ 'a_minute' => ':count هنر', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php
new file mode 100644
index 0000000..d42f5e9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php
@@ -0,0 +1,13 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/lrc.php', [
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lt.php b/vendor/nesbot/carbon/src/Carbon/Lang/lt.php
new file mode 100644
index 0000000..7d1b6f7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lt.php
@@ -0,0 +1,135 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - tjku
+ * - valdas406
+ * - Justas Palumickas
+ * - Max Melentiev
+ * - Andrius Janauskas
+ * - Juanito Fatas
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Nicolás Hock Isaza
+ * - Laurynas Butkus
+ * - Sven Fuchs
+ * - Dominykas Tijūnaitis
+ * - Justinas Bolys
+ * - RiÄardas
+ * - Kirill Chalkin
+ * - Rolandas
+ * - Justinas (Gamesh)
+ */
+return [
+ 'year' => ':count metai|:count metai|:count metų',
+ 'y' => ':count m.',
+ 'month' => ':count mėnuo|:count mėnesiai|:count mėnesį',
+ 'm' => ':count mÄ—n.',
+ 'week' => ':count savaitÄ—|:count savaitÄ—s|:count savaitÄ™',
+ 'w' => ':count sav.',
+ 'day' => ':count diena|:count dienos|:count dienų',
+ 'd' => ':count d.',
+ 'hour' => ':count valanda|:count valandos|:count valandų',
+ 'h' => ':count val.',
+ 'minute' => ':count minutÄ—|:count minutÄ—s|:count minutÄ™',
+ 'min' => ':count min.',
+ 'second' => ':count sekundė|:count sekundės|:count sekundžių',
+ 's' => ':count sek.',
+
+ 'year_ago' => ':count metus|:count metus|:count metų',
+ 'month_ago' => ':count mėnesį|:count mėnesius|:count mėnesių',
+ 'week_ago' => ':count savaitÄ™|:count savaites|:count savaiÄių',
+ 'day_ago' => ':count dieną|:count dienas|:count dienų',
+ 'hour_ago' => ':count valandą|:count valandas|:count valandų',
+ 'minute_ago' => ':count minutÄ™|:count minutes|:count minuÄių',
+ 'second_ago' => ':count sekundę|:count sekundes|:count sekundžių',
+
+ 'year_from_now' => ':count metų',
+ 'month_from_now' => ':count mėnesio|:count mėnesių|:count mėnesių',
+ 'week_from_now' => ':count savaitÄ—s|:count savaiÄių|:count savaiÄių',
+ 'day_from_now' => ':count dienos|:count dienų|:count dienų',
+ 'hour_from_now' => ':count valandos|:count valandų|:count valandų',
+ 'minute_from_now' => ':count minutÄ—s|:count minuÄių|:count minuÄių',
+ 'second_from_now' => ':count sekundės|:count sekundžių|:count sekundžių',
+
+ 'year_after' => ':count metų',
+ 'month_after' => ':count mėnesio|:count mėnesių|:count mėnesių',
+ 'week_after' => ':count savaitÄ—s|:count savaiÄių|:count savaiÄių',
+ 'day_after' => ':count dienos|:count dienų|:count dienų',
+ 'hour_after' => ':count valandos|:count valandų|:count valandų',
+ 'minute_after' => ':count minutÄ—s|:count minuÄių|:count minuÄių',
+ 'second_after' => ':count sekundės|:count sekundžių|:count sekundžių',
+
+ 'ago' => 'prieš :time',
+ 'from_now' => ':time nuo dabar',
+ 'after' => 'po :time',
+ 'before' => 'už :time',
+
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'diff_now' => 'kÄ… tik',
+ 'diff_today' => 'Å iandien',
+ 'diff_yesterday' => 'vakar',
+ 'diff_yesterday_regexp' => 'Vakar',
+ 'diff_tomorrow' => 'rytoj',
+ 'diff_tomorrow_regexp' => 'Rytoj',
+ 'diff_before_yesterday' => 'užvakar',
+ 'diff_after_tomorrow' => 'poryt',
+
+ 'period_recurrences' => 'kartą|:count kartų',
+ 'period_interval' => 'kiekvienÄ… :interval',
+ 'period_start_date' => 'nuo :date',
+ 'period_end_date' => 'iki :date',
+
+ 'months' => ['sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjÅ«Äio', 'rugsÄ—jo', 'spalio', 'lapkriÄio', 'gruodžio'],
+ 'months_standalone' => ['sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', 'rugsėjis', 'spalis', 'lapkritis', 'gruodis'],
+ 'months_regexp' => '/(L{2,4}|D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?)/',
+ 'months_short' => ['sau', 'vas', 'kov', 'bal', 'geg', 'bir', 'lie', 'rgp', 'rgs', 'spa', 'lap', 'gru'],
+ 'weekdays' => ['sekmadienį', 'pirmadienį', 'antradienį', 'treÄiadienį', 'ketvirtadienį', 'penktadienį', 'Å¡eÅ¡tadienį'],
+ 'weekdays_standalone' => ['sekmadienis', 'pirmadienis', 'antradienis', 'treÄiadienis', 'ketvirtadienis', 'penktadienis', 'Å¡eÅ¡tadienis'],
+ 'weekdays_short' => ['sek', 'pir', 'ant', 'tre', 'ket', 'pen', 'šeš'],
+ 'weekdays_min' => ['se', 'pi', 'an', 'tr', 'ke', 'pe', 'še'],
+ 'list' => [', ', ' ir '],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'MMMM DD, YYYY',
+ 'LLL' => 'DD MMM HH:mm',
+ 'LLLL' => 'MMMM DD, YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Å iandien] LT',
+ 'nextDay' => '[Rytoj] LT',
+ 'nextWeek' => 'dddd LT',
+ 'lastDay' => '[Vakar] LT',
+ 'lastWeek' => '[Paskutinį] dddd LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ switch ($number) {
+ case 0:
+ return '0-is';
+ case 3:
+ return '3-ias';
+ default:
+ return "$number-as";
+ }
+ },
+ 'meridiem' => ['priešpiet', 'popiet'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php b/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php
new file mode 100644
index 0000000..f772d38
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/lt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lu.php b/vendor/nesbot/carbon/src/Carbon/Lang/lu.php
new file mode 100644
index 0000000..c8cd83a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lu.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Dinda', 'Dilolo'],
+ 'weekdays' => ['Lumingu', 'Nkodya', 'Ndà ayà ', 'Ndangù', 'Njòwa', 'Ngòvya', 'Lubingu'],
+ 'weekdays_short' => ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'],
+ 'weekdays_min' => ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'],
+ 'months' => ['Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà ', 'Lumùngùlù', 'Lufuimi', 'Kabà là shìpù', 'Lùshìkà ', 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà '],
+ 'months_short' => ['Cio', 'Lui', 'Lus', 'Muu', 'Lum', 'Luf', 'Kab', 'Lush', 'Lut', 'Lun', 'Kas', 'Cis'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/luo.php b/vendor/nesbot/carbon/src/Carbon/Lang/luo.php
new file mode 100644
index 0000000..b55af73
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/luo.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['OD', 'OT'],
+ 'weekdays' => ['Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso'],
+ 'weekdays_short' => ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'],
+ 'weekdays_min' => ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'],
+ 'months' => ['Dwe mar Achiel', 'Dwe mar Ariyo', 'Dwe mar Adek', 'Dwe mar Ang’wen', 'Dwe mar Abich', 'Dwe mar Auchiel', 'Dwe mar Abiriyo', 'Dwe mar Aboro', 'Dwe mar Ochiko', 'Dwe mar Apar', 'Dwe mar gi achiel', 'Dwe mar Apar gi ariyo'],
+ 'months_short' => ['DAC', 'DAR', 'DAD', 'DAN', 'DAH', 'DAU', 'DAO', 'DAB', 'DOC', 'DAP', 'DGI', 'DAG'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => 'higni :count',
+ 'y' => 'higni :count',
+ 'a_year' => ':higni :count',
+
+ 'month' => 'dweche :count',
+ 'm' => 'dweche :count',
+ 'a_month' => 'dweche :count',
+
+ 'week' => 'jumbe :count',
+ 'w' => 'jumbe :count',
+ 'a_week' => 'jumbe :count',
+
+ 'day' => 'ndalo :count',
+ 'd' => 'ndalo :count',
+ 'a_day' => 'ndalo :count',
+
+ 'hour' => 'seche :count',
+ 'h' => 'seche :count',
+ 'a_hour' => 'seche :count',
+
+ 'minute' => 'dakika :count',
+ 'min' => 'dakika :count',
+ 'a_minute' => 'dakika :count',
+
+ 'second' => 'nus dakika :count',
+ 's' => 'nus dakika :count',
+ 'a_second' => 'nus dakika :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/luy.php b/vendor/nesbot/carbon/src/Carbon/Lang/luy.php
new file mode 100644
index 0000000..2b37e3e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/luy.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', 'Jumamosi'],
+ 'weekdays_short' => ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'],
+ 'weekdays_min' => ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ // Too unreliable
+ /*
+ 'year' => ':count liliino', // less reliable
+ 'y' => ':count liliino', // less reliable
+ 'a_year' => ':count liliino', // less reliable
+
+ 'month' => ':count kumwesi', // less reliable
+ 'm' => ':count kumwesi', // less reliable
+ 'a_month' => ':count kumwesi', // less reliable
+
+ 'week' => ':count olutambi', // less reliable
+ 'w' => ':count olutambi', // less reliable
+ 'a_week' => ':count olutambi', // less reliable
+
+ 'day' => ':count luno', // less reliable
+ 'd' => ':count luno', // less reliable
+ 'a_day' => ':count luno', // less reliable
+
+ 'hour' => ':count ekengele', // less reliable
+ 'h' => ':count ekengele', // less reliable
+ 'a_hour' => ':count ekengele', // less reliable
+
+ 'minute' => ':count omundu', // less reliable
+ 'min' => ':count omundu', // less reliable
+ 'a_minute' => ':count omundu', // less reliable
+
+ 'second' => ':count liliino', // less reliable
+ 's' => ':count liliino', // less reliable
+ 'a_second' => ':count liliino', // less reliable
+ */
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lv.php b/vendor/nesbot/carbon/src/Carbon/Lang/lv.php
new file mode 100644
index 0000000..d5cba7c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lv.php
@@ -0,0 +1,183 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Carbon\CarbonInterface;
+
+/**
+ * This file is part of the Carbon package.
+ *
+ * (c) Brian Nesbitt
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - pirminis
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Andris ZÄÄ£eris
+ * - Max Melentiev
+ * - Edgars Beigarts
+ * - Juanito Fatas
+ * - Vitauts StoÄka
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Kaspars Bankovskis
+ * - Nicolás Hock Isaza
+ * - Viesturs Kavacs (Kavacky)
+ * - zakse
+ * - Janis Eglitis (janiseglitis)
+ * - Guntars
+ * - Juris Sudmalis
+ */
+$daysOfWeek = ['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena'];
+$daysOfWeekLocativum = ['svētdien', 'pirmdien', 'otrdien', 'trešdien', 'ceturtdien', 'piektdien', 'sestdien'];
+
+$transformDiff = function ($input) {
+ return strtr($input, [
+ // Nominative => "pirms/pēc" Dative
+ 'gads' => 'gada',
+ 'gadi' => 'gadiem',
+ 'gadu' => 'gadiem',
+ 'mēnesis' => 'mēneša',
+ 'mēneši' => 'mēnešiem',
+ 'mēnešu' => 'mēnešiem',
+ 'nedēļa' => 'nedēļas',
+ 'nedēļas' => 'nedēļÄm',
+ 'nedēļu' => 'nedēļÄm',
+ 'diena' => 'dienas',
+ 'dienas' => 'dienÄm',
+ 'dienu' => 'dienÄm',
+ 'stunda' => 'stundas',
+ 'stundas' => 'stundÄm',
+ 'stundu' => 'stundÄm',
+ 'minūte' => 'minūtes',
+ 'minūtes' => 'minūtēm',
+ 'minūšu' => 'minūtēm',
+ 'sekunde' => 'sekundes',
+ 'sekundes' => 'sekundēm',
+ 'sekunžu' => 'sekundēm',
+ ]);
+};
+
+return [
+ 'ago' => function ($time) use ($transformDiff) {
+ return 'pirms '.$transformDiff($time);
+ },
+ 'from_now' => function ($time) use ($transformDiff) {
+ return 'pēc '.$transformDiff($time);
+ },
+
+ 'year' => '0 gadu|:count gads|:count gadi',
+ 'y' => ':count g.',
+ 'a_year' => '{1}gads|0 gadu|:count gads|:count gadi',
+ 'month' => '0 mēnešu|:count mēnesis|:count mēneši',
+ 'm' => ':count mēn.',
+ 'a_month' => '{1}mēnesis|0 mēnešu|:count mēnesis|:count mēneši',
+ 'week' => '0 nedēļu|:count nedēļa|:count nedēļas',
+ 'w' => ':count ned.',
+ 'a_week' => '{1}nedēļa|0 nedēļu|:count nedēļa|:count nedēļas',
+ 'day' => '0 dienu|:count diena|:count dienas',
+ 'd' => ':count d.',
+ 'a_day' => '{1}diena|0 dienu|:count diena|:count dienas',
+ 'hour' => '0 stundu|:count stunda|:count stundas',
+ 'h' => ':count st.',
+ 'a_hour' => '{1}stunda|0 stundu|:count stunda|:count stundas',
+ 'minute' => '0 minūšu|:count minūte|:count minūtes',
+ 'min' => ':count min.',
+ 'a_minute' => '{1}minūte|0 minūšu|:count minūte|:count minūtes',
+ 'second' => '0 sekunžu|:count sekunde|:count sekundes',
+ 's' => ':count sek.',
+ 'a_second' => '{1}sekunde|0 sekunžu|:count sekunde|:count sekundes',
+
+ 'after' => ':time vÄ“lÄk',
+ 'year_after' => '0 gadus|:count gadu|:count gadus',
+ 'a_year_after' => '{1}gadu|0 gadus|:count gadu|:count gadus',
+ 'month_after' => '0 mēnešus|:count mēnesi|:count mēnešus',
+ 'a_month_after' => '{1}mēnesi|0 mēnešus|:count mēnesi|:count mēnešus',
+ 'week_after' => '0 nedēļas|:count nedēļu|:count nedēļas',
+ 'a_week_after' => '{1}nedēļu|0 nedēļas|:count nedēļu|:count nedēļas',
+ 'day_after' => '0 dienas|:count dienu|:count dienas',
+ 'a_day_after' => '{1}dienu|0 dienas|:count dienu|:count dienas',
+ 'hour_after' => '0 stundas|:count stundu|:count stundas',
+ 'a_hour_after' => '{1}stundu|0 stundas|:count stundu|:count stundas',
+ 'minute_after' => '0 minūtes|:count minūti|:count minūtes',
+ 'a_minute_after' => '{1}minūti|0 minūtes|:count minūti|:count minūtes',
+ 'second_after' => '0 sekundes|:count sekundi|:count sekundes',
+ 'a_second_after' => '{1}sekundi|0 sekundes|:count sekundi|:count sekundes',
+
+ 'before' => ':time agrÄk',
+ 'year_before' => '0 gadus|:count gadu|:count gadus',
+ 'a_year_before' => '{1}gadu|0 gadus|:count gadu|:count gadus',
+ 'month_before' => '0 mēnešus|:count mēnesi|:count mēnešus',
+ 'a_month_before' => '{1}mēnesi|0 mēnešus|:count mēnesi|:count mēnešus',
+ 'week_before' => '0 nedēļas|:count nedēļu|:count nedēļas',
+ 'a_week_before' => '{1}nedēļu|0 nedēļas|:count nedēļu|:count nedēļas',
+ 'day_before' => '0 dienas|:count dienu|:count dienas',
+ 'a_day_before' => '{1}dienu|0 dienas|:count dienu|:count dienas',
+ 'hour_before' => '0 stundas|:count stundu|:count stundas',
+ 'a_hour_before' => '{1}stundu|0 stundas|:count stundu|:count stundas',
+ 'minute_before' => '0 minūtes|:count minūti|:count minūtes',
+ 'a_minute_before' => '{1}minūti|0 minūtes|:count minūti|:count minūtes',
+ 'second_before' => '0 sekundes|:count sekundi|:count sekundes',
+ 'a_second_before' => '{1}sekundi|0 sekundes|:count sekundi|:count sekundes',
+
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' un '],
+
+ 'diff_now' => 'tagad',
+ 'diff_today' => 'šodien',
+ 'diff_yesterday' => 'vakar',
+ 'diff_before_yesterday' => 'aizvakar',
+ 'diff_tomorrow' => 'rīt',
+ 'diff_after_tomorrow' => 'parīt',
+
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY.',
+ 'LL' => 'YYYY. [gada] D. MMMM',
+ 'LLL' => 'DD.MM.YYYY., HH:mm',
+ 'LLLL' => 'YYYY. [gada] D. MMMM, HH:mm',
+ ],
+
+ 'calendar' => [
+ 'sameDay' => '[šodien] [plkst.] LT',
+ 'nextDay' => '[rīt] [plkst.] LT',
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) use ($daysOfWeekLocativum) {
+ if ($current->week !== $other->week) {
+ return '[nÄkoÅ¡o] ['.$daysOfWeekLocativum[$current->dayOfWeek].'] [plkst.] LT';
+ }
+
+ return '['.$daysOfWeekLocativum[$current->dayOfWeek].'] [plkst.] LT';
+ },
+ 'lastDay' => '[vakar] [plkst.] LT',
+ 'lastWeek' => function (CarbonInterface $current) use ($daysOfWeekLocativum) {
+ return '[pagÄjuÅ¡o] ['.$daysOfWeekLocativum[$current->dayOfWeek].'] [plkst.] LT';
+ },
+ 'sameElse' => 'L',
+ ],
+
+ 'weekdays' => $daysOfWeek,
+ 'weekdays_short' => ['Sv.', 'P.', 'O.', 'T.', 'C.', 'Pk.', 'S.'],
+ 'weekdays_min' => ['Sv.', 'P.', 'O.', 'T.', 'C.', 'Pk.', 'S.'],
+ 'months' => ['janvÄris', 'februÄris', 'marts', 'aprÄ«lis', 'maijs', 'jÅ«nijs', 'jÅ«lijs', 'augusts', 'septembris', 'oktobris', 'novembris', 'decembris'],
+ 'months_standalone' => ['janvÄrÄ«', 'februÄrÄ«', 'martÄ', 'aprÄ«lÄ«', 'maijÄ', 'jÅ«nijÄ', 'jÅ«lijÄ', 'augustÄ', 'septembrÄ«', 'oktobrÄ«', 'novembrÄ«', 'decembrÄ«'],
+ 'months_short' => ['janv.', 'febr.', 'martÄ', 'apr.', 'maijÄ', 'jÅ«n.', 'jÅ«l.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'],
+ 'meridiem' => ['priekšpusdiena', 'pēcpusdiena'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php b/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php
new file mode 100644
index 0000000..ee91c36
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/lv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lzh.php b/vendor/nesbot/carbon/src/Carbon/Lang/lzh.php
new file mode 100644
index 0000000..1180c6b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lzh.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/lzh_TW.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lzh_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/lzh_TW.php
new file mode 100644
index 0000000..3b1493e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lzh_TW.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'OY[å¹´]MMMMOD[æ—¥]',
+ ],
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => [' 一 ', ' 二 ', ' 三 ', ' å›› ', ' 五 ', ' å… ', ' 七 ', ' å…« ', ' ä¹ ', ' å ', 'å一', 'å二'],
+ 'weekdays' => ['週日', '週一', '週二', '週三', '週四', '週五', '週å…'],
+ 'weekdays_short' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['〇', '一', '二', '三', 'å››', '五', 'å…', '七', 'å…«', 'ä¹', 'å', 'å一', 'å二', 'å三', 'åå››', 'å五', 'åå…', 'å七', 'åå…«', 'åä¹', '廿', '廿一', '廿二', '廿三', '廿四', '廿五', '廿å…', '廿七', '廿八', '廿ä¹', 'å…', 'å…一'],
+ 'meridiem' => ['æœ', 'æš®'],
+
+ 'year' => ':count å¤', // less reliable
+ 'y' => ':count å¤', // less reliable
+ 'a_year' => ':count å¤', // less reliable
+
+ 'month' => ':count 月', // less reliable
+ 'm' => ':count 月', // less reliable
+ 'a_month' => ':count 月', // less reliable
+
+ 'hour' => ':count æ°§', // less reliable
+ 'h' => ':count æ°§', // less reliable
+ 'a_hour' => ':count æ°§', // less reliable
+
+ 'minute' => ':count 點', // less reliable
+ 'min' => ':count 點', // less reliable
+ 'a_minute' => ':count 點', // less reliable
+
+ 'second' => ':count 楚', // less reliable
+ 's' => ':count 楚', // less reliable
+ 'a_second' => ':count 楚', // less reliable
+
+ 'week' => ':count 星期',
+ 'w' => ':count 星期',
+ 'a_week' => ':count 星期',
+
+ 'day' => ':count 日(曆法)',
+ 'd' => ':count 日(曆法)',
+ 'a_day' => ':count 日(曆法)',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mag.php b/vendor/nesbot/carbon/src/Carbon/Lang/mag.php
new file mode 100644
index 0000000..7532436
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mag.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mag_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mag_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mag_IN.php
new file mode 100644
index 0000000..193f67a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mag_IN.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bhashaghar@googlegroups.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'months_short' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'weekdays' => ['à¤à¤¤à¤µà¤¾à¤°', 'सोमार', 'मंगर', 'बà¥à¤§', 'बिफे', 'सूक', 'सनिचर'],
+ 'weekdays_short' => ['à¤à¤¤à¤µà¤¾à¤°', 'सोमार', 'मंगर', 'बà¥à¤§', 'बिफे', 'सूक', 'सनिचर'],
+ 'weekdays_min' => ['à¤à¤¤à¤µà¤¾à¤°', 'सोमार', 'मंगर', 'बà¥à¤§', 'बिफे', 'सूक', 'सनिचर'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mai.php b/vendor/nesbot/carbon/src/Carbon/Lang/mai.php
new file mode 100644
index 0000000..792b973
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mai.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mai_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mai_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mai_IN.php
new file mode 100644
index 0000000..03049d4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mai_IN.php
@@ -0,0 +1,51 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Maithili Computing Research Center, Pune, India rajeshkajha@yahoo.com,akhilesh.k@samusng.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['बैसाख', 'जेठ', 'अषाढ़', 'सावोन', 'à¤à¤¾à¤¦à¥‹', 'आसिन', 'कातिक', 'अगहन', 'पूस', 'माघ', 'फागà¥à¤¨', 'चैति'],
+ 'months_short' => ['बैसाख', 'जेठ', 'अषाढ़', 'सावोन', 'à¤à¤¾à¤¦à¥‹', 'आसिन', 'कातिक', 'अगहन', 'पूस', 'माघ', 'फागà¥à¤¨', 'चैति'],
+ 'weekdays' => ['रविदिन', 'सोमदिन', 'मंगलदिन', 'बà¥à¤§à¤¦à¤¿à¤¨', 'बृहसà¥à¤ªà¤¤à¥€à¤¦à¤¿à¤¨', 'शà¥à¤•à¥à¤°à¤¦à¤¿à¤¨', 'शनीदिन'],
+ 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'बृहसà¥à¤ªà¤¤à¥€', 'शà¥à¤•à¥à¤°', 'शनी'],
+ 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'बृहसà¥à¤ªà¤¤à¥€', 'शà¥à¤•à¥à¤°', 'शनी'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+
+ 'year' => ':count ऋतà¥', // less reliable
+ 'y' => ':count ऋतà¥', // less reliable
+ 'a_year' => ':count ऋतà¥', // less reliable
+
+ 'month' => ':count महिना',
+ 'm' => ':count महिना',
+ 'a_month' => ':count महिना',
+
+ 'week' => ':count शà¥à¤°à¥‡à¤£à¥€:कà¥à¤¯à¤¾à¤²à¥‡à¤¨à¥à¤¡à¤°', // less reliable
+ 'w' => ':count शà¥à¤°à¥‡à¤£à¥€:कà¥à¤¯à¤¾à¤²à¥‡à¤¨à¥à¤¡à¤°', // less reliable
+ 'a_week' => ':count शà¥à¤°à¥‡à¤£à¥€:कà¥à¤¯à¤¾à¤²à¥‡à¤¨à¥à¤¡à¤°', // less reliable
+
+ 'day' => ':count दिन',
+ 'd' => ':count दिन',
+ 'a_day' => ':count दिन',
+
+ 'hour' => ':count घणà¥à¤Ÿà¤¾',
+ 'h' => ':count घणà¥à¤Ÿà¤¾',
+ 'a_hour' => ':count घणà¥à¤Ÿà¤¾',
+
+ 'minute' => ':count समय', // less reliable
+ 'min' => ':count समय', // less reliable
+ 'a_minute' => ':count समय', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mas.php b/vendor/nesbot/carbon/src/Carbon/Lang/mas.php
new file mode 100644
index 0000000..cbd610c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mas.php
@@ -0,0 +1,51 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['ÆnkakÉ›nyá', 'Ændámâ'],
+ 'weekdays' => ['JumapÃlÃ', 'Jumatátu', 'Jumane', 'JumatánÉ”', 'Alaámisi', 'Jumáa', 'Jumamósi'],
+ 'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'months' => ['OladalʉÌ', 'Arát', 'ƆɛnɨÌɔɨŋɔk', 'OlodoyÃórÃê inkókúâ', 'OloilépÅ«nyīē inkókúâ', 'KújúɔrÉ”k', 'Mórusásin', 'ƆlÉ”ÌɨÌbÉ”ÌrárÉ›', 'Kúshîn', 'OlgÃsan', 'PʉshʉÌka', 'NtʉÌŋʉÌs'],
+ 'months_short' => ['Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'BÉ”Ìr', 'Kús', 'GÃs', 'ShʉÌ', 'NtʉÌ'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count olameyu', // less reliable
+ 'y' => ':count olameyu', // less reliable
+ 'a_year' => ':count olameyu', // less reliable
+
+ 'week' => ':count engolongeare orwiki', // less reliable
+ 'w' => ':count engolongeare orwiki', // less reliable
+ 'a_week' => ':count engolongeare orwiki', // less reliable
+
+ 'hour' => ':count esahabu', // less reliable
+ 'h' => ':count esahabu', // less reliable
+ 'a_hour' => ':count esahabu', // less reliable
+
+ 'second' => ':count are', // less reliable
+ 's' => ':count are', // less reliable
+ 'a_second' => ':count are', // less reliable
+
+ 'month' => ':count olapa',
+ 'm' => ':count olapa',
+ 'a_month' => ':count olapa',
+
+ 'day' => ':count enkolongʼ',
+ 'd' => ':count enkolongʼ',
+ 'a_day' => ':count enkolongʼ',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php
new file mode 100644
index 0000000..56e2905
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/mas.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mer.php b/vendor/nesbot/carbon/src/Carbon/Lang/mer.php
new file mode 100644
index 0000000..2e14597
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mer.php
@@ -0,0 +1,43 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['RŨ', 'ŨG'],
+ 'weekdays' => ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'],
+ 'weekdays_short' => ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'],
+ 'weekdays_min' => ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'],
+ 'months' => ['Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', 'Septemba', 'Oktũba', 'Novemba', 'Dicemba'],
+ 'months_short' => ['JAN', 'FEB', 'MAC', 'ĨPU', 'MĨĨ', 'NJU', 'NJR', 'AGA', 'SPT', 'OKT', 'NOV', 'DEC'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count murume', // less reliable
+ 'y' => ':count murume', // less reliable
+ 'a_year' => ':count murume', // less reliable
+
+ 'month' => ':count muchaara', // less reliable
+ 'm' => ':count muchaara', // less reliable
+ 'a_month' => ':count muchaara', // less reliable
+
+ 'minute' => ':count monto', // less reliable
+ 'min' => ':count monto', // less reliable
+ 'a_minute' => ':count monto', // less reliable
+
+ 'second' => ':count gikeno', // less reliable
+ 's' => ':count gikeno', // less reliable
+ 'a_second' => ':count gikeno', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mfe.php b/vendor/nesbot/carbon/src/Carbon/Lang/mfe.php
new file mode 100644
index 0000000..4d6e6b6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mfe.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mfe_MU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mfe_MU.php b/vendor/nesbot/carbon/src/Carbon/Lang/mfe_MU.php
new file mode 100644
index 0000000..2d27b45
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mfe_MU.php
@@ -0,0 +1,53 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['zanvie', 'fevriye', 'mars', 'avril', 'me', 'zin', 'zilye', 'out', 'septam', 'oktob', 'novam', 'desam'],
+ 'months_short' => ['zan', 'fev', 'mar', 'avr', 'me', 'zin', 'zil', 'out', 'sep', 'okt', 'nov', 'des'],
+ 'weekdays' => ['dimans', 'lindi', 'mardi', 'merkredi', 'zedi', 'vandredi', 'samdi'],
+ 'weekdays_short' => ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'],
+ 'weekdays_min' => ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'],
+
+ 'year' => ':count banané',
+ 'y' => ':count banané',
+ 'a_year' => ':count banané',
+
+ 'month' => ':count mwa',
+ 'm' => ':count mwa',
+ 'a_month' => ':count mwa',
+
+ 'week' => ':count sémenn',
+ 'w' => ':count sémenn',
+ 'a_week' => ':count sémenn',
+
+ 'day' => ':count zour',
+ 'd' => ':count zour',
+ 'a_day' => ':count zour',
+
+ 'hour' => ':count -er-tan',
+ 'h' => ':count -er-tan',
+ 'a_hour' => ':count -er-tan',
+
+ 'minute' => ':count minitt',
+ 'min' => ':count minitt',
+ 'a_minute' => ':count minitt',
+
+ 'second' => ':count déziém',
+ 's' => ':count déziém',
+ 'a_second' => ':count déziém',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mg.php b/vendor/nesbot/carbon/src/Carbon/Lang/mg.php
new file mode 100644
index 0000000..40bc2a8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mg.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mg_MG.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mg_MG.php b/vendor/nesbot/carbon/src/Carbon/Lang/mg_MG.php
new file mode 100644
index 0000000..6a14535
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mg_MG.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - The Debian Project modified by GNU//Linux Malagasy Rado Ramarotafika,Do-Risika RAFIEFERANTSIARONJY rado@linuxmg.org,dourix@free.fr
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Janoary', 'Febroary', 'Martsa', 'Aprily', 'Mey', 'Jona', 'Jolay', 'Aogositra', 'Septambra', 'Oktobra', 'Novambra', 'Desambra'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Mey', 'Jon', 'Jol', 'Aog', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['alahady', 'alatsinainy', 'talata', 'alarobia', 'alakamisy', 'zoma', 'sabotsy'],
+ 'weekdays_short' => ['lhd', 'lts', 'tlt', 'lrb', 'lkm', 'zom', 'sab'],
+ 'weekdays_min' => ['lhd', 'lts', 'tlt', 'lrb', 'lkm', 'zom', 'sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'minute' => ':count minitra', // less reliable
+ 'min' => ':count minitra', // less reliable
+ 'a_minute' => ':count minitra', // less reliable
+
+ 'year' => ':count taona',
+ 'y' => ':count taona',
+ 'a_year' => ':count taona',
+
+ 'month' => ':count volana',
+ 'm' => ':count volana',
+ 'a_month' => ':count volana',
+
+ 'week' => ':count herinandro',
+ 'w' => ':count herinandro',
+ 'a_week' => ':count herinandro',
+
+ 'day' => ':count andro',
+ 'd' => ':count andro',
+ 'a_day' => ':count andro',
+
+ 'hour' => ':count ora',
+ 'h' => ':count ora',
+ 'a_hour' => ':count ora',
+
+ 'second' => ':count segondra',
+ 's' => ':count segondra',
+ 'a_second' => ':count segondra',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php b/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php
new file mode 100644
index 0000000..2a80960
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['wichishu', 'mchochil’l'],
+ 'weekdays' => ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'],
+ 'months' => ['Mweri wo kwanza', 'Mweri wo unayeli', 'Mweri wo uneraru', 'Mweri wo unecheshe', 'Mweri wo unethanu', 'Mweri wo thanu na mocha', 'Mweri wo saba', 'Mweri wo nane', 'Mweri wo tisa', 'Mweri wo kumi', 'Mweri wo kumi na moja', 'Mweri wo kumi na yel’li'],
+ 'months_short' => ['Kwa', 'Una', 'Rar', 'Che', 'Tha', 'Moc', 'Sab', 'Nan', 'Tis', 'Kum', 'Moj', 'Yel'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php b/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php
new file mode 100644
index 0000000..a126c9f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'],
+ 'weekdays_short' => ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'],
+ 'weekdays_min' => ['1', '2', '3', '4', '5', '6', '7'],
+ 'months' => ['iməg mbegtug', 'imeg à bùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', 'iməg ichiibɔd', 'iməg à dùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', 'iməg zò', 'iməg krizmed'],
+ 'months_short' => ['mbegtug', 'imeg à bùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', 'iməg ichiibɔd', 'iməg à dùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', 'iməg zò', 'iməg krizmed'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'dddd, YYYY MMMM DD HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mhr.php b/vendor/nesbot/carbon/src/Carbon/Lang/mhr.php
new file mode 100644
index 0000000..6bbc9f6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mhr.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mhr_RU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mhr_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/mhr_RU.php
new file mode 100644
index 0000000..309ead9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mhr_RU.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - PeshSajSoft Ltd. Vyacheslav Kileev slavakileev@yandex.ru
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY.MM.DD',
+ ],
+ 'months' => ['Шорыкйол', 'Пургыж', 'Ó°ÑрнÑ', 'Вӱдшор', 'Ðга', 'Пеледыш', 'Сӱрем', 'Сорла', 'Идым', 'Шыжа', 'Кылме', 'Теле'],
+ 'months_short' => ['Шрк', 'Пгж', 'Ӱрн', 'Вшр', 'Ðга', 'Пдш', 'Срм', 'Срл', 'Идм', 'Шыж', 'Клм', 'Тел'],
+ 'weekdays' => ['РушарнÑ', 'Шочмо', 'Кушкыжмо', 'Вӱргече', 'ИзарнÑ', 'КугарнÑ', 'Шуматкече'],
+ 'weekdays_short' => ['Ршр', 'Шчм', 'Кжм', 'Вгч', 'Изр', 'Кгр', 'Шмт'],
+ 'weekdays_min' => ['Ршр', 'Шчм', 'Кжм', 'Вгч', 'Изр', 'Кгр', 'Шмт'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count идалык',
+ 'y' => ':count идалык',
+ 'a_year' => ':count идалык',
+
+ 'month' => ':count Тылзе',
+ 'm' => ':count Тылзе',
+ 'a_month' => ':count Тылзе',
+
+ 'week' => ':count арнÑ',
+ 'w' => ':count арнÑ',
+ 'a_week' => ':count арнÑ',
+
+ 'day' => ':count кече',
+ 'd' => ':count кече',
+ 'a_day' => ':count кече',
+
+ 'hour' => ':count чаÑ',
+ 'h' => ':count чаÑ',
+ 'a_hour' => ':count чаÑ',
+
+ 'minute' => ':count минут',
+ 'min' => ':count минут',
+ 'a_minute' => ':count минут',
+
+ 'second' => ':count кокымшан',
+ 's' => ':count кокымшан',
+ 'a_second' => ':count кокымшан',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mi.php b/vendor/nesbot/carbon/src/Carbon/Lang/mi.php
new file mode 100644
index 0000000..b7f51ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mi.php
@@ -0,0 +1,66 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - John Corrigan
+ * - François B
+ */
+return [
+ 'year' => ':count tau',
+ 'a_year' => '{1}he tau|:count tau',
+ 'month' => ':count marama',
+ 'a_month' => '{1}he marama|:count marama',
+ 'week' => ':count wiki',
+ 'a_week' => '{1}he wiki|:count wiki',
+ 'day' => ':count ra',
+ 'a_day' => '{1}he ra|:count ra',
+ 'hour' => ':count haora',
+ 'a_hour' => '{1}te haora|:count haora',
+ 'minute' => ':count meneti',
+ 'a_minute' => '{1}he meneti|:count meneti',
+ 'second' => ':count hēkona',
+ 'a_second' => '{1}te hēkona ruarua|:count hēkona',
+ 'ago' => ':time i mua',
+ 'from_now' => 'i roto i :time',
+ 'diff_yesterday' => 'inanahi',
+ 'diff_yesterday_regexp' => 'inanahi(?:\\s+i)?',
+ 'diff_today' => 'i teie',
+ 'diff_today_regexp' => 'i teie(?:\\s+mahana,)?(?:\\s+i)?',
+ 'diff_tomorrow' => 'apopo',
+ 'diff_tomorrow_regexp' => 'apopo(?:\\s+i)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY [i] HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY [i] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[i teie mahana, i] LT',
+ 'nextDay' => '[apopo i] LT',
+ 'nextWeek' => 'dddd [i] LT',
+ 'lastDay' => '[inanahi i] LT',
+ 'lastWeek' => 'dddd [whakamutunga i] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberº',
+ 'months' => ['Kohi-tÄte', 'Hui-tanguru', 'PoutÅ«-te-rangi', 'Paenga-whÄwhÄ', 'Haratua', 'Pipiri', 'HÅngoingoi', 'Here-turi-kÅkÄ', 'Mahuru', 'Whiringa-Ä-nuku', 'Whiringa-Ä-rangi', 'Hakihea'],
+ 'months_short' => ['Kohi', 'Hui', 'Pou', 'Pae', 'Hara', 'Pipi', 'HÅngoi', 'Here', 'Mahu', 'Whi-nu', 'Whi-ra', 'Haki'],
+ 'weekdays' => ['RÄtapu', 'Mane', 'TÅ«rei', 'Wenerei', 'TÄite', 'Paraire', 'HÄtarei'],
+ 'weekdays_short' => ['Ta', 'Ma', 'TÅ«', 'We', 'TÄi', 'Pa', 'HÄ'],
+ 'weekdays_min' => ['Ta', 'Ma', 'TÅ«', 'We', 'TÄi', 'Pa', 'HÄ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' me te '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php
new file mode 100644
index 0000000..6b964e3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/mi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/miq.php b/vendor/nesbot/carbon/src/Carbon/Lang/miq.php
new file mode 100644
index 0000000..51e5a98
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/miq.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/miq_NI.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php b/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php
new file mode 100644
index 0000000..57faa31
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['siakwa kati', 'kuswa kati', 'kakamuk kati', 'lî wainhka kati', 'lih mairin kati', 'lî kati', 'pastara kati', 'sikla kati', 'wîs kati', 'waupasa kati', 'yahbra kati', 'trisu kati'],
+ 'months_short' => ['siakwa kati', 'kuswa kati', 'kakamuk kati', 'lî wainhka kati', 'lih mairin kati', 'lî kati', 'pastara kati', 'sikla kati', 'wîs kati', 'waupasa kati', 'yahbra kati', 'trisu kati'],
+ 'weekdays' => ['sandi', 'mundi', 'tiusdi', 'wensde', 'tausde', 'praidi', 'satadi'],
+ 'weekdays_short' => ['san', 'mun', 'tius', 'wens', 'taus', 'prai', 'sat'],
+ 'weekdays_min' => ['san', 'mun', 'tius', 'wens', 'taus', 'prai', 'sat'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 7,
+ 'meridiem' => ['VM', 'NM'],
+
+ 'month' => ':count kati', // less reliable
+ 'm' => ':count kati', // less reliable
+ 'a_month' => ':count kati', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mjw.php b/vendor/nesbot/carbon/src/Carbon/Lang/mjw.php
new file mode 100644
index 0000000..617154c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mjw.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mjw_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mjw_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mjw_IN.php
new file mode 100644
index 0000000..58ed0d1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mjw_IN.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Jor Teron bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['Arkoi', 'Thangthang', 'There', 'Jangmi', 'Aru', 'Vosik', 'Jakhong', 'Paipai', 'Chiti', 'Phere', 'Phaikuni', 'Matijong'],
+ 'months_short' => ['Ark', 'Thang', 'The', 'Jang', 'Aru', 'Vos', 'Jak', 'Pai', 'Chi', 'Phe', 'Phai', 'Mati'],
+ 'weekdays' => ['Bhomkuru', 'Urmi', 'Durmi', 'Thelang', 'Theman', 'Bhomta', 'Bhomti'],
+ 'weekdays_short' => ['Bhom', 'Ur', 'Dur', 'Tkel', 'Tkem', 'Bhta', 'Bhti'],
+ 'weekdays_min' => ['Bhom', 'Ur', 'Dur', 'Tkel', 'Tkem', 'Bhta', 'Bhti'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mk.php b/vendor/nesbot/carbon/src/Carbon/Lang/mk.php
new file mode 100644
index 0000000..d822de0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mk.php
@@ -0,0 +1,116 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Sashko Todorov
+ * - Josh Soref
+ * - François B
+ * - Serhan Apaydın
+ * - Borislav Mickov
+ * - JD Isaacks
+ * - Tomi Atanasoski
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count година|:count години',
+ 'a_year' => 'година|:count години',
+ 'y' => ':count год.',
+ 'month' => ':count меÑец|:count меÑеци',
+ 'a_month' => 'меÑец|:count меÑеци',
+ 'm' => ':count меÑец|:count меÑеци',
+ 'week' => ':count Ñедмица|:count Ñедмици',
+ 'a_week' => 'Ñедмица|:count Ñедмици',
+ 'w' => ':count Ñедмица|:count Ñедмици',
+ 'day' => ':count ден|:count дена',
+ 'a_day' => 'ден|:count дена',
+ 'd' => ':count ден|:count дена',
+ 'hour' => ':count чаÑ|:count чаÑа',
+ 'a_hour' => 'чаÑ|:count чаÑа',
+ 'h' => ':count чаÑ|:count чаÑа',
+ 'minute' => ':count минута|:count минути',
+ 'a_minute' => 'минута|:count минути',
+ 'min' => ':count мин.',
+ 'second' => ':count Ñекунда|:count Ñекунди',
+ 'a_second' => 'неколку Ñекунди|:count Ñекунди',
+ 's' => ':count Ñек.',
+ 'ago' => 'пред :time',
+ 'from_now' => 'поÑле :time',
+ 'after' => 'по :time',
+ 'before' => 'пред :time',
+ 'diff_now' => 'Ñега',
+ 'diff_today' => 'ДенеÑ',
+ 'diff_today_regexp' => 'ДенеÑ(?:\\s+во)?',
+ 'diff_yesterday' => 'вчера',
+ 'diff_yesterday_regexp' => 'Вчера(?:\\s+во)?',
+ 'diff_tomorrow' => 'утре',
+ 'diff_tomorrow_regexp' => 'Утре(?:\\s+во)?',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'D.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ð”ÐµÐ½ÐµÑ Ð²Ð¾] LT',
+ 'nextDay' => '[Утре во] LT',
+ 'nextWeek' => '[Во] dddd [во] LT',
+ 'lastDay' => '[Вчера во] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ case 3:
+ case 6:
+ return '[Изминатата] dddd [во] LT';
+ default:
+ return '[Изминатиот] dddd [во] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ $lastDigit = $number % 10;
+ $last2Digits = $number % 100;
+ if ($number === 0) {
+ return $number.'-ев';
+ }
+ if ($last2Digits === 0) {
+ return $number.'-ен';
+ }
+ if ($last2Digits > 10 && $last2Digits < 20) {
+ return $number.'-ти';
+ }
+ if ($lastDigit === 1) {
+ return $number.'-ви';
+ }
+ if ($lastDigit === 2) {
+ return $number.'-ри';
+ }
+ if ($lastDigit === 7 || $lastDigit === 8) {
+ return $number.'-ми';
+ }
+
+ return $number.'-ти';
+ },
+ 'months' => ['јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'авгуÑÑ‚', 'Ñептември', 'октомври', 'ноември', 'декември'],
+ 'months_short' => ['јан', 'фев', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'Ñеп', 'окт', 'ное', 'дек'],
+ 'weekdays' => ['недела', 'понеделник', 'вторник', 'Ñреда', 'четврток', 'петок', 'Ñабота'],
+ 'weekdays_short' => ['нед', 'пон', 'вто', 'Ñре', 'чет', 'пет', 'Ñаб'],
+ 'weekdays_min' => ['нe', 'пo', 'вт', 'ÑÑ€', 'че', 'пе', 'Ña'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' и '],
+ 'meridiem' => ['ÐМ', 'ПМ'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php b/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php
new file mode 100644
index 0000000..95e2ff9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/mk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ml.php b/vendor/nesbot/carbon/src/Carbon/Lang/ml.php
new file mode 100644
index 0000000..1abd6c4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ml.php
@@ -0,0 +1,76 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - JD Isaacks
+ */
+return [
+ 'year' => ':count വർഷം',
+ 'a_year' => 'ഒരൠവർഷം|:count വർഷം',
+ 'month' => ':count മാസം',
+ 'a_month' => 'ഒരൠമാസം|:count മാസം',
+ 'week' => ':count ആഴàµà´š',
+ 'a_week' => 'ഒരാഴàµà´š|:count ആഴàµà´š',
+ 'day' => ':count ദിവസം',
+ 'a_day' => 'ഒരൠദിവസം|:count ദിവസം',
+ 'hour' => ':count മണികàµà´•ൂർ',
+ 'a_hour' => 'ഒരൠമണികàµà´•ൂർ|:count മണികàµà´•ൂർ',
+ 'minute' => ':count മിനിറàµà´±àµ',
+ 'a_minute' => 'ഒരൠമിനിറàµà´±àµ|:count മിനിറàµà´±àµ',
+ 'second' => ':count സെകàµà´•ൻഡàµ',
+ 'a_second' => 'അൽപ നിമിഷങàµà´™àµ¾|:count സെകàµà´•ൻഡàµ',
+ 'ago' => ':time à´®àµàµ»à´ªàµ',
+ 'from_now' => ':time à´•à´´à´¿à´žàµà´žàµ',
+ 'diff_now' => 'ഇപàµà´ªàµ‹àµ¾',
+ 'diff_today' => 'ഇനàµà´¨àµ',
+ 'diff_yesterday' => 'ഇനàµà´¨à´²àµ†',
+ 'diff_tomorrow' => 'നാളെ',
+ 'formats' => [
+ 'LT' => 'A h:mm -à´¨àµ',
+ 'LTS' => 'A h:mm:ss -à´¨àµ',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm -à´¨àµ',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm -à´¨àµ',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ഇനàµà´¨àµ] LT',
+ 'nextDay' => '[നാളെ] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[ഇനàµà´¨à´²àµ†] LT',
+ 'lastWeek' => '[à´•à´´à´¿à´žàµà´ž] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'രാതàµà´°à´¿';
+ }
+ if ($hour < 12) {
+ return 'രാവിലെ';
+ }
+ if ($hour < 17) {
+ return 'ഉചàµà´š à´•à´´à´¿à´žàµà´žàµ';
+ }
+ if ($hour < 20) {
+ return 'വൈകàµà´¨àµà´¨àµ‡à´°à´‚';
+ }
+
+ return 'രാതàµà´°à´¿';
+ },
+ 'months' => ['ജനàµà´µà´°à´¿', 'ഫെബàµà´°àµà´µà´°à´¿', 'മാർചàµà´šàµ', 'à´à´ªàµà´°à´¿àµ½', 'മേയàµ', 'ജൂൺ', 'ജൂലൈ', 'à´“à´—à´¸àµà´±àµà´±àµ', 'സെപàµà´±àµà´±à´‚ബർ', 'à´’à´•àµà´Ÿàµ‹à´¬àµ¼', 'നവംബർ', 'ഡിസംബർ'],
+ 'months_short' => ['ജനàµ.', 'ഫെബàµà´°àµ.', 'മാർ.', 'à´à´ªàµà´°à´¿.', 'മേയàµ', 'ജൂൺ', 'ജൂലൈ.', 'à´“à´—.', 'സെപàµà´±àµà´±.', 'à´’à´•àµà´Ÿàµ‹.', 'നവം.', 'ഡിസം.'],
+ 'weekdays' => ['ഞായറാഴàµà´š', 'തിങàµà´•ളാഴàµà´š', 'ചൊവàµà´µà´¾à´´àµà´š', 'à´¬àµà´§à´¨à´¾à´´àµà´š', 'à´µàµà´¯à´¾à´´à´¾à´´àµà´š', 'വെളàµà´³à´¿à´¯à´¾à´´àµà´š', 'ശനിയാഴàµà´š'],
+ 'weekdays_short' => ['ഞായർ', 'തിങàµà´•ൾ', 'ചൊവàµà´µ', 'à´¬àµà´§àµ»', 'à´µàµà´¯à´¾à´´à´‚', 'വെളàµà´³à´¿', 'ശനി'],
+ 'weekdays_min' => ['à´žà´¾', 'തി', 'ചൊ', 'à´¬àµ', 'à´µàµà´¯à´¾', 'വെ', 'à´¶'],
+ 'list' => ', ',
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php
new file mode 100644
index 0000000..000e795
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ml.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mn.php b/vendor/nesbot/carbon/src/Carbon/Lang/mn.php
new file mode 100644
index 0000000..38c6434
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mn.php
@@ -0,0 +1,116 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Max Melentiev
+ * - Zolzaya Erdenebaatar
+ * - Tom Hughes
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Michael Kessler
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Nicolás Hock Isaza
+ * - Ochirkhuyag
+ * - Batmandakh
+ * - lucifer-crybaby
+ */
+return [
+ 'year' => ':count жил',
+ 'y' => ':count жил',
+ 'month' => ':count Ñар',
+ 'm' => ':count Ñар',
+ 'week' => ':count долоо хоног',
+ 'w' => ':count долоо хоног',
+ 'day' => ':count өдөр',
+ 'd' => ':count өдөр',
+ 'hour' => ':count цаг',
+ 'h' => ':countц',
+ 'minute' => ':count минут',
+ 'min' => ':countм',
+ 'second' => ':count Ñекунд',
+ 's' => ':countÑ',
+
+ 'ago_mode' => 'last',
+ 'ago' => ':time өмнө',
+ 'year_ago' => ':count жилийн',
+ 'y_ago' => ':count жилийн',
+ 'month_ago' => ':count Ñарын',
+ 'm_ago' => ':count Ñарын',
+ 'day_ago' => ':count хоногийн',
+ 'd_ago' => ':count хоногийн',
+ 'week_ago' => ':count долоо хоногийн',
+ 'w_ago' => ':count долоо хоногийн',
+ 'hour_ago' => ':count цагийн',
+ 'minute_ago' => ':count минутын',
+ 'second_ago' => ':count Ñекундын',
+
+ 'from_now_mode' => 'last',
+ 'from_now' => 'Ð¾Ð´Ð¾Ð¾Ð³Ð¾Ð¾Ñ :time',
+ 'year_from_now' => ':count жилийн дараа',
+ 'y_from_now' => ':count жилийн дараа',
+ 'month_from_now' => ':count Ñарын дараа',
+ 'm_from_now' => ':count Ñарын дараа',
+ 'day_from_now' => ':count хоногийн дараа',
+ 'd_from_now' => ':count хоногийн дараа',
+ 'hour_from_now' => ':count цагийн дараа',
+ 'minute_from_now' => ':count минутын дараа',
+ 'second_from_now' => ':count Ñекундын дараа',
+
+ 'after_mode' => 'last',
+ 'after' => ':time дараа',
+ 'year_after' => ':count жилийн',
+ 'y_after' => ':count жилийн',
+ 'month_after' => ':count Ñарын',
+ 'm_after' => ':count Ñарын',
+ 'day_after' => ':count хоногийн',
+ 'd_after' => ':count хоногийн',
+ 'hour_after' => ':count цагийн',
+ 'minute_after' => ':count минутын',
+ 'second_after' => ':count Ñекундын',
+
+ 'before_mode' => 'last',
+ 'before' => ':time өмнө',
+ 'year_before' => ':count жилийн',
+ 'y_before' => ':count жилийн',
+ 'month_before' => ':count Ñарын',
+ 'm_before' => ':count Ñарын',
+ 'day_before' => ':count хоногийн',
+ 'd_before' => ':count хоногийн',
+ 'hour_before' => ':count цагийн',
+ 'minute_before' => ':count минутын',
+ 'second_before' => ':count Ñекундын',
+
+ 'list' => ', ',
+ 'diff_now' => 'одоо',
+ 'diff_yesterday' => 'өчигдөр',
+ 'diff_tomorrow' => 'маргааш',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'YYYY MMMM DD',
+ 'LLL' => 'YY-MM-DD, HH:mm',
+ 'LLLL' => 'YYYY MMMM DD, HH:mm',
+ ],
+ 'weekdays' => ['ÐÑм', 'Даваа', 'МÑгмар', 'Лхагва', 'ПүрÑв', 'БааÑан', 'БÑмба'],
+ 'weekdays_short' => ['ÐÑ', 'Да', 'МÑ', 'Лх', 'Пү', 'Ба', 'БÑ'],
+ 'weekdays_min' => ['ÐÑ', 'Да', 'МÑ', 'Лх', 'Пү', 'Ба', 'БÑ'],
+ 'months' => ['1 Ñар', '2 Ñар', '3 Ñар', '4 Ñар', '5 Ñар', '6 Ñар', '7 Ñар', '8 Ñар', '9 Ñар', '10 Ñар', '11 Ñар', '12 Ñар'],
+ 'months_short' => ['1 Ñар', '2 Ñар', '3 Ñар', '4 Ñар', '5 Ñар', '6 Ñар', '7 Ñар', '8 Ñар', '9 Ñар', '10 Ñар', '11 Ñар', '12 Ñар'],
+ 'meridiem' => ['өглөө', 'орой'],
+ 'first_day_of_week' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php
new file mode 100644
index 0000000..e5ce426
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/mn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mni.php b/vendor/nesbot/carbon/src/Carbon/Lang/mni.php
new file mode 100644
index 0000000..cafa2f8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mni.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/mni_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mni_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mni_IN.php
new file mode 100644
index 0000000..45d430e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mni_IN.php
@@ -0,0 +1,35 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat Pune libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['জানà§à§±à¦¾à¦°à¦¿', 'ফেবà§à¦°à§à§±à¦¾à¦°à¦¿', 'মারà§à¦š', 'à¦à¦ªà§à¦°à¦¿à¦²', 'মে', 'জà§à¦¨', 'জà§à¦²à¦¾à¦‡', 'আগষà§à¦Ÿ', 'সেপà§à¦¤à§‡à¦®à§à¦¬à¦°', 'ওকà§à¦¤à§‹à¦¬à¦°', 'নবেমà§à¦¬à¦°', 'ডিসেমà§à¦¬à¦°'],
+ 'months_short' => ['জান', 'ফেব', 'মার', 'à¦à¦ªà§à¦°à¦¿', 'মে', 'জà§à¦¨', 'জà§à¦²', 'আগ', 'সেপ', 'ওকà§à¦¤', 'নবে', 'ডিস'],
+ 'weekdays' => ['নোংমাইজিং', 'নিংথৌকাবা', 'লৈবাকপোকপা', 'à§Ÿà§à¦®à¦¶à¦•ৈশা', 'শগোলশেন', 'ইরাই', 'থাংজ'],
+ 'weekdays_short' => ['নোং', 'নিং', 'লৈবাক', 'à§Ÿà§à¦®', 'শগোল', 'ইরা', 'থাং'],
+ 'weekdays_min' => ['নোং', 'নিং', 'লৈবাক', 'à§Ÿà§à¦®', 'শগোল', 'ইরা', 'থাং'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['à¦.ম.', 'প.ম.'],
+
+ 'year' => ':count ইসিং', // less reliable
+ 'y' => ':count ইসিং', // less reliable
+ 'a_year' => ':count ইসিং', // less reliable
+
+ 'second' => ':count ꯅꯤꯡꯊꯧꯀꯥꯕ', // less reliable
+ 's' => ':count ꯅꯤꯡꯊꯧꯀꯥꯕ', // less reliable
+ 'a_second' => ':count ꯅꯤꯡꯊꯧꯀꯥꯕ', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mo.php b/vendor/nesbot/carbon/src/Carbon/Lang/mo.php
new file mode 100644
index 0000000..102afcd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mo.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ro.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mr.php b/vendor/nesbot/carbon/src/Carbon/Lang/mr.php
new file mode 100644
index 0000000..4aaeafd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mr.php
@@ -0,0 +1,86 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Vikram-enyota
+ */
+return [
+ 'year' => ':count वरà¥à¤·',
+ 'y' => ':count वरà¥à¤·',
+ 'month' => ':count महिना|:count महिने',
+ 'm' => ':count महिना|:count महिने',
+ 'week' => ':count आठवडा|:count आठवडे',
+ 'w' => ':count आठवडा|:count आठवडे',
+ 'day' => ':count दिवस',
+ 'd' => ':count दिवस',
+ 'hour' => ':count तास',
+ 'h' => ':count तास',
+ 'minute' => ':count मिनिटे',
+ 'min' => ':count मिनिटे',
+ 'second' => ':count सेकंद',
+ 's' => ':count सेकंद',
+
+ 'ago' => ':timeपूरà¥à¤µà¥€',
+ 'from_now' => ':timeमधà¥à¤¯à¥‡',
+ 'before' => ':timeपूरà¥à¤µà¥€',
+ 'after' => ':timeनंतर',
+
+ 'diff_now' => 'आतà¥à¤¤à¤¾',
+ 'diff_today' => 'आज',
+ 'diff_yesterday' => 'काल',
+ 'diff_tomorrow' => 'उदà¥à¤¯à¤¾',
+
+ 'formats' => [
+ 'LT' => 'A h:mm वाजता',
+ 'LTS' => 'A h:mm:ss वाजता',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm वाजता',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm वाजता',
+ ],
+
+ 'calendar' => [
+ 'sameDay' => '[आज] LT',
+ 'nextDay' => '[उदà¥à¤¯à¤¾] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[काल] LT',
+ 'lastWeek' => '[मागील] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'रातà¥à¤°à¥€';
+ }
+ if ($hour < 10) {
+ return 'सकाळी';
+ }
+ if ($hour < 17) {
+ return 'दà¥à¤ªà¤¾à¤°à¥€';
+ }
+ if ($hour < 20) {
+ return 'सायंकाळी';
+ }
+
+ return 'रातà¥à¤°à¥€';
+ },
+
+ 'months' => ['जानेवारी', 'फेबà¥à¤°à¥à¤µà¤¾à¤°à¥€', 'मारà¥à¤š', 'à¤à¤ªà¥à¤°à¤¿à¤²', 'मे', 'जून', 'जà¥à¤²à¥ˆ', 'ऑगसà¥à¤Ÿ', 'सपà¥à¤Ÿà¥‡à¤‚बर', 'ऑकà¥à¤Ÿà¥‹à¤¬à¤°', 'नोवà¥à¤¹à¥‡à¤‚बर', 'डिसेंबर'],
+ 'months_short' => ['जाने.', 'फेबà¥à¤°à¥.', 'मारà¥à¤š.', 'à¤à¤ªà¥à¤°à¤¿.', 'मे.', 'जून.', 'जà¥à¤²à¥ˆ.', 'ऑग.', 'सपà¥à¤Ÿà¥‡à¤‚.', 'ऑकà¥à¤Ÿà¥‹.', 'नोवà¥à¤¹à¥‡à¤‚.', 'डिसें.'],
+ 'weekdays' => ['रविवार', 'सोमवार', 'मंगळवार', 'बà¥à¤§à¤µà¤¾à¤°', 'गà¥à¤°à¥‚वार', 'शà¥à¤•à¥à¤°à¤µà¤¾à¤°', 'शनिवार'],
+ 'weekdays_short' => ['रवि', 'सोम', 'मंगळ', 'बà¥à¤§', 'गà¥à¤°à¥‚', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'weekdays_min' => ['र', 'सो', 'मं', 'बà¥', 'गà¥', 'शà¥', 'श'],
+ 'list' => [', ', ' आणि '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php
new file mode 100644
index 0000000..7bca919
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/mr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms.php
new file mode 100644
index 0000000..c9e8085
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms.php
@@ -0,0 +1,104 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Azri Jamil
+ * - JD Isaacks
+ * - Josh Soref
+ * - Azri Jamil
+ * - Hariadi Hinta
+ * - Ashraf Kamarudin
+ */
+return [
+ 'year' => ':count tahun',
+ 'a_year' => '{1}setahun|]1,Inf[:count tahun',
+ 'y' => ':count tahun',
+ 'month' => ':count bulan',
+ 'a_month' => '{1}sebulan|]1,Inf[:count bulan',
+ 'm' => ':count bulan',
+ 'week' => ':count minggu',
+ 'a_week' => '{1}seminggu|]1,Inf[:count minggu',
+ 'w' => ':count minggu',
+ 'day' => ':count hari',
+ 'a_day' => '{1}sehari|]1,Inf[:count hari',
+ 'd' => ':count hari',
+ 'hour' => ':count jam',
+ 'a_hour' => '{1}sejam|]1,Inf[:count jam',
+ 'h' => ':count jam',
+ 'minute' => ':count minit',
+ 'a_minute' => '{1}seminit|]1,Inf[:count minit',
+ 'min' => ':count minit',
+ 'second' => ':count saat',
+ 'a_second' => '{1}beberapa saat|]1,Inf[:count saat',
+ 'millisecond' => ':count milisaat',
+ 'a_millisecond' => '{1}semilisaat|]1,Inf[:count milliseconds',
+ 'microsecond' => ':count mikrodetik',
+ 'a_microsecond' => '{1}semikrodetik|]1,Inf[:count mikrodetik',
+ 's' => ':count saat',
+ 'ago' => ':time yang lepas',
+ 'from_now' => ':time dari sekarang',
+ 'after' => ':time kemudian',
+ 'before' => ':time sebelum',
+ 'diff_now' => 'sekarang',
+ 'diff_today' => 'Hari',
+ 'diff_today_regexp' => 'Hari(?:\\s+ini)?(?:\\s+pukul)?',
+ 'diff_yesterday' => 'semalam',
+ 'diff_yesterday_regexp' => 'Semalam(?:\\s+pukul)?',
+ 'diff_tomorrow' => 'esok',
+ 'diff_tomorrow_regexp' => 'Esok(?:\\s+pukul)?',
+ 'diff_before_yesterday' => 'kelmarin',
+ 'diff_after_tomorrow' => 'lusa',
+ 'formats' => [
+ 'LT' => 'HH.mm',
+ 'LTS' => 'HH.mm.ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY [pukul] HH.mm',
+ 'LLLL' => 'dddd, D MMMM YYYY [pukul] HH.mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Hari ini pukul] LT',
+ 'nextDay' => '[Esok pukul] LT',
+ 'nextWeek' => 'dddd [pukul] LT',
+ 'lastDay' => '[Kelmarin pukul] LT',
+ 'lastWeek' => 'dddd [lepas pukul] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 1) {
+ return 'tengah malam';
+ }
+
+ if ($hour < 12) {
+ return 'pagi';
+ }
+
+ if ($hour < 13) {
+ return 'tengah hari';
+ }
+
+ if ($hour < 19) {
+ return 'petang';
+ }
+
+ return 'malam';
+ },
+ 'months' => ['Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', 'November', 'Disember'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogs', 'Sep', 'Okt', 'Nov', 'Dis'],
+ 'weekdays' => ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'],
+ 'weekdays_short' => ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'],
+ 'weekdays_min' => ['Ah', 'Is', 'Sl', 'Rb', 'Km', 'Jm', 'Sb'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' dan '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php
new file mode 100644
index 0000000..ef837a2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ms.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/MM/yy',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY, h:mm a',
+ 'LLLL' => 'dd MMMM YYYY, h:mm a',
+ ],
+ 'meridiem' => ['a', 'p'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms_MY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms_MY.php
new file mode 100644
index 0000000..970d604
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms_MY.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Azri Jamil
+ * - JD Isaacks
+ */
+return require __DIR__.'/ms.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php
new file mode 100644
index 0000000..77cb83d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ms.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/MM/yy',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY, h:mm a',
+ 'LLLL' => 'dddd, D MMMM YYYY, h:mm a',
+ ],
+ 'meridiem' => ['a', 'p'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mt.php b/vendor/nesbot/carbon/src/Carbon/Lang/mt.php
new file mode 100644
index 0000000..e8aadcc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mt.php
@@ -0,0 +1,65 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Alessandro Maruccia
+ */
+return [
+ 'year' => 'sena|:count sni|:count sni|:count sni',
+ 'y' => 'sa sena|:count snin|:count snin|:count snin',
+ 'month' => 'xahar|:count xhur|:count xhur|:count xhur',
+ 'm' => ':count xahar|:count xhur|:count xhur|:count xhur',
+ 'week' => 'gimgħa|:count ġimgħat|:count ġimgħat|:count ġimgħat',
+ 'w' => 'ġimgħa|:count ġimgħat|:count ġimgħat|:count ġimgħat',
+ 'day' => 'ġurnata|:count ġranet|:count ġranet|:count ġranet',
+ 'd' => 'ġurnata|:count ġranet|:count ġranet|:count ġranet',
+ 'hour' => 'siegħa|:count siegħat|:count siegħat|:count siegħat',
+ 'h' => 'siegħa|:count sigħat|:count sigħat|:count sigħat',
+ 'minute' => 'minuta|:count minuti|:count minuti|:count minuti',
+ 'min' => 'min.|:count min.|:count min.|:count min.',
+ 'second' => 'ftit sekondi|:count sekondi|:count sekondi|:count sekondi',
+ 's' => 'sek.|:count sek.|:count sek.|:count sek.',
+ 'ago' => ':time ilu',
+ 'from_now' => 'f’ :time',
+ 'diff_now' => 'issa',
+ 'diff_today' => 'Illum',
+ 'diff_today_regexp' => 'Illum(?:\\s+fil-)?',
+ 'diff_yesterday' => 'lbieraħ',
+ 'diff_yesterday_regexp' => 'Il-bieraħ(?:\\s+fil-)?',
+ 'diff_tomorrow' => 'għada',
+ 'diff_tomorrow_regexp' => 'Għada(?:\\s+fil-)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Illum fil-]LT',
+ 'nextDay' => '[Għada fil-]LT',
+ 'nextWeek' => 'dddd [fil-]LT',
+ 'lastDay' => '[Il-bieraħ fil-]LT',
+ 'lastWeek' => 'dddd [li għadda] [fil-]LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberº',
+ 'months' => ['Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ä unju', 'Lulju', 'Awwissu', 'Settembru', 'Ottubru', 'Novembru', 'DiÄ‹embru'],
+ 'months_short' => ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ä un', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'DiÄ‹'],
+ 'weekdays' => ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ä imgħa', 'Is-Sibt'],
+ 'weekdays_short' => ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ä im', 'Sib'],
+ 'weekdays_min' => ['Ħa', 'Tn', 'Tl', 'Er', 'Ħa', 'Ä i', 'Si'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' u '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php b/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php
new file mode 100644
index 0000000..9534f68
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/mt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mua.php b/vendor/nesbot/carbon/src/Carbon/Lang/mua.php
new file mode 100644
index 0000000..a3a3c6f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mua.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['comme', 'lilli'],
+ 'weekdays' => ['Com’yakke', 'ComlaaÉ—ii', 'ComzyiiÉ—ii', 'Comkolle', 'ComkaldÇÉ“lii', 'Comgaisuu', 'ComzyeÉ“suu'],
+ 'weekdays_short' => ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'],
+ 'weekdays_min' => ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'],
+ 'months' => ['FÄ©i Loo', 'CokcwaklaÅ‹ne', 'Cokcwaklii', 'FÄ©i Marfoo', 'MadÇÇuutÇbijaÅ‹', 'MamÇÅ‹gwãafahbii', 'MamÇÅ‹gwãalii', 'MadÇmbii', 'FÄ©i DÇÉ“lii', 'FÄ©i MundaÅ‹', 'FÄ©i Gwahlle', 'FÄ©i Yuru'],
+ 'months_short' => ['FLO', 'CLA', 'CKI', 'FMF', 'MAD', 'MBI', 'MLI', 'MAM', 'FDE', 'FMU', 'FGW', 'FYU'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/my.php b/vendor/nesbot/carbon/src/Carbon/Lang/my.php
new file mode 100644
index 0000000..bbdfba4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/my.php
@@ -0,0 +1,70 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ * - Nay Lin Aung
+ */
+return [
+ 'year' => '{1}á€á€…်နှစ်|]1,Inf[:count နှစ်',
+ 'y' => ':count နှစ်',
+ 'month' => '{1}á€á€…်လ|]1,Inf[:count လ',
+ 'm' => ':count လ',
+ 'week' => ':count ပá€á€º',
+ 'w' => ':count ပá€á€º',
+ 'day' => '{1}á€á€…်ရက်|]1,Inf[:count ရက်',
+ 'd' => ':count ရက်',
+ 'hour' => '{1}á€á€…်နာရီ|]1,Inf[:count နာရီ',
+ 'h' => ':count နာရီ',
+ 'minute' => '{1}á€á€…်မá€á€”စ်|]1,Inf[:count မá€á€”စ်',
+ 'min' => ':count မá€á€”စ်',
+ 'second' => '{1}စက္ကန်.အနည်းငယ်|]1,Inf[:count စက္ကန့်',
+ 's' => ':count စက္ကန့်',
+ 'ago' => 'လွန်á€á€²á€·á€žá€±á€¬ :time က',
+ 'from_now' => 'လာမည့် :time မှာ',
+ 'after' => ':time ကြာပြီးနောက်',
+ 'before' => ':time မá€á€á€¯á€„်á€á€„်',
+ 'diff_now' => 'အá€á€¯á€œá€±á€¸á€á€„်',
+ 'diff_today' => 'ယနေ.',
+ 'diff_yesterday' => 'မနေ့က',
+ 'diff_yesterday_regexp' => 'မနေ.က',
+ 'diff_tomorrow' => 'မနက်ဖြန်',
+ 'diff_before_yesterday' => 'á€á€™á€¼á€”်နေ့က',
+ 'diff_after_tomorrow' => 'á€á€˜á€€á€ºá€á€«',
+ 'period_recurrences' => ':count ကြá€á€™á€º',
+ 'formats' => [
+ 'LT' => 'Oh:Om A',
+ 'LTS' => 'Oh:Om:Os A',
+ 'L' => 'OD/OM/OY',
+ 'LL' => 'OD MMMM OY',
+ 'LLL' => 'OD MMMM OY Oh:Om A',
+ 'LLLL' => 'dddd OD MMMM OY Oh:Om A',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ယနေ.] LT [မှာ]',
+ 'nextDay' => '[မနက်ဖြန်] LT [မှာ]',
+ 'nextWeek' => 'dddd LT [မှာ]',
+ 'lastDay' => '[မနေ.က] LT [မှာ]',
+ 'lastWeek' => '[ပြီးá€á€²á€·á€žá€±á€¬] dddd LT [မှာ]',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['ဇန်နá€á€«á€›á€®', 'ဖေဖော်á€á€«á€›á€®', 'မá€á€º', 'ဧပြီ', 'မေ', 'ဇွန်', 'ဇူလá€á€¯á€„်', 'သြဂုá€á€º', 'စက်á€á€„်ဘာ', 'အောက်á€á€á€¯á€˜á€¬', 'နá€á€¯á€á€„်ဘာ', 'ဒီဇင်ဘာ'],
+ 'months_short' => ['ဇန်', 'ဖေ', 'မá€á€º', 'ပြီ', 'မေ', 'ဇွန်', 'လá€á€¯á€„်', 'သြ', 'စက်', 'အောက်', 'နá€á€¯', 'ဒီ'],
+ 'weekdays' => ['á€á€”င်္ဂနွေ', 'á€á€”င်္လာ', 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'ကြာသပá€á€±á€¸', 'သောကြာ', 'စနေ'],
+ 'weekdays_short' => ['နွေ', 'လာ', 'ဂါ', 'ဟူး', 'ကြာ', 'သော', 'နေ'],
+ 'weekdays_min' => ['နွေ', 'လာ', 'ဂါ', 'ဟူး', 'ကြာ', 'သော', 'နေ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'alt_numbers' => ['á€á€', 'á€á', 'á€á‚', 'á€áƒ', 'á€á„', 'á€á…', 'á€á†', 'á€á‡', 'á€áˆ', 'á€á‰', 'áá€', 'áá', 'áá‚', 'ááƒ', 'áá„', 'áá…', 'áá†', 'áá‡', 'ááˆ', 'áá‰', 'á‚á€', 'á‚á', 'á‚á‚', 'á‚áƒ', 'á‚á„', 'á‚á…', 'á‚á†', 'á‚á‡', 'á‚áˆ', 'á‚á‰', 'áƒá€', 'áƒá', 'áƒá‚', 'áƒáƒ', 'áƒá„', 'áƒá…', 'áƒá†', 'áƒá‡', 'áƒáˆ', 'áƒá‰', 'á„á€', 'á„á', 'á„á‚', 'á„áƒ', 'á„á„', 'á„á…', 'á„á†', 'á„á‡', 'á„áˆ', 'á„á‰', 'á…á€', 'á…á', 'á…á‚', 'á…áƒ', 'á…á„', 'á…á…', 'á…á†', 'á…á‡', 'á…áˆ', 'á…á‰', 'á†á€', 'á†á', 'á†á‚', 'á†áƒ', 'á†á„', 'á†á…', 'á†á†', 'á†á‡', 'á†áˆ', 'á†á‰', 'á‡á€', 'á‡á', 'á‡á‚', 'á‡áƒ', 'á‡á„', 'á‡á…', 'á‡á†', 'á‡á‡', 'á‡áˆ', 'á‡á‰', 'áˆá€', 'áˆá', 'áˆá‚', 'áˆáƒ', 'áˆá„', 'áˆá…', 'áˆá†', 'áˆá‡', 'áˆáˆ', 'áˆá‰', 'á‰á€', 'á‰á', 'á‰á‚', 'á‰áƒ', 'á‰á„', 'á‰á…', 'á‰á†', 'á‰á‡', 'á‰áˆ', 'á‰á‰'],
+ 'meridiem' => ['နံနက်', 'ညနေ'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php b/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php
new file mode 100644
index 0000000..a0108dd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/my.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php b/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php
new file mode 100644
index 0000000..70f5f23
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php
@@ -0,0 +1,25 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fa.php', [
+ 'months' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
+ 'months_short' => ['ژانویه', 'Ùوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 5],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'YYYY MMMM D, dddd HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nan.php b/vendor/nesbot/carbon/src/Carbon/Lang/nan.php
new file mode 100644
index 0000000..0affece
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nan.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/nan_TW.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nan_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/nan_TW.php
new file mode 100644
index 0000000..5c50aa4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nan_TW.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY年MM月DD日',
+ ],
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => [' 1月', ' 2月', ' 3月', ' 4月', ' 5月', ' 6月', ' 7月', ' 8月', ' 9月', '10月', '11月', '12月'],
+ 'weekdays' => ['禮拜日', '禮拜一', '禮拜二', '禮拜三', '禮拜四', '禮拜五', '禮拜å…'],
+ 'weekdays_short' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['é ‚æ™¡', '下晡'],
+
+ 'year' => ':count å¹´',
+ 'y' => ':count å¹´',
+ 'a_year' => ':count å¹´',
+
+ 'month' => ':count goeÌh',
+ 'm' => ':count goeÌh',
+ 'a_month' => ':count goeÌh',
+
+ 'week' => ':count lé-pà i',
+ 'w' => ':count lé-pà i',
+ 'a_week' => ':count lé-pà i',
+
+ 'day' => ':count æ—¥',
+ 'd' => ':count æ—¥',
+ 'a_day' => ':count æ—¥',
+
+ 'hour' => ':count tiám-cheng',
+ 'h' => ':count tiám-cheng',
+ 'a_hour' => ':count tiám-cheng',
+
+ 'minute' => ':count Hun-cheng',
+ 'min' => ':count Hun-cheng',
+ 'a_minute' => ':count Hun-cheng',
+
+ 'second' => ':count Bió',
+ 's' => ':count Bió',
+ 'a_second' => ':count Bió',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nan_TW@latin.php b/vendor/nesbot/carbon/src/Carbon/Lang/nan_TW@latin.php
new file mode 100644
index 0000000..99ca2a4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nan_TW@latin.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Arne Goetje arne@canonical.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+ 'months' => ['1goeÌh', '2goeÌh', '3goeÌh', '4goeÌh', '5goeÌh', '6goeÌh', '7goeÌh', '8goeÌh', '9goeÌh', '10goeÌh', '11goeÌh', '12goeÌh'],
+ 'months_short' => ['1g', '2g', '3g', '4g', '5g', '6g', '7g', '8g', '9g', '10g', '11g', '12g'],
+ 'weekdays' => ['lé-pà i-jiÌt', 'pà i-it', 'pà i-jÄ«', 'pà i-saâ¿', 'pà i-sì', 'pà i-gÅ͘', 'pà i-laÌk'],
+ 'weekdays_short' => ['lp', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6'],
+ 'weekdays_min' => ['lp', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['téng-po͘', 'ē-po͘'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/naq.php b/vendor/nesbot/carbon/src/Carbon/Lang/naq.php
new file mode 100644
index 0000000..fbd9be9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/naq.php
@@ -0,0 +1,52 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Çgoagas', 'ǃuias'],
+ 'weekdays' => ['Sontaxtsees', 'Mantaxtsees', 'Denstaxtsees', 'Wunstaxtsees', 'Dondertaxtsees', 'Fraitaxtsees', 'Satertaxtsees'],
+ 'weekdays_short' => ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'],
+ 'weekdays_min' => ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'],
+ 'months' => ['ǃKhanni', 'ǃKhanÇ€gôab', 'Ç€KhuuÇkhâb', 'ǃHôaÇ‚khaib', 'ǃKhaitsâb', 'GamaÇ€aeb', 'Ç‚Khoesaob', 'AoÇkhuumûÇkhâb', 'TaraÇ€khuumûÇkhâb', 'Ç‚NûÇnâiseb', 'Ç€HooÇ‚gaeb', 'HôasoreÇkhâb'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm a',
+ ],
+
+ 'year' => ':count kurigu',
+ 'y' => ':count kurigu',
+ 'a_year' => ':count kurigu',
+
+ 'month' => ':count Çaub', // less reliable
+ 'm' => ':count Çaub', // less reliable
+ 'a_month' => ':count Çaub', // less reliable
+
+ 'week' => ':count hû', // less reliable
+ 'w' => ':count hû', // less reliable
+ 'a_week' => ':count hû', // less reliable
+
+ 'day' => ':count ǀhobas', // less reliable
+ 'd' => ':count ǀhobas', // less reliable
+ 'a_day' => ':count ǀhobas', // less reliable
+
+ 'hour' => ':count ǂgaes', // less reliable
+ 'h' => ':count ǂgaes', // less reliable
+ 'a_hour' => ':count ǂgaes', // less reliable
+
+ 'minute' => ':count minutga', // less reliable
+ 'min' => ':count minutga', // less reliable
+ 'a_minute' => ':count minutga', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nb.php b/vendor/nesbot/carbon/src/Carbon/Lang/nb.php
new file mode 100644
index 0000000..371ee84
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nb.php
@@ -0,0 +1,84 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Alexander Tømmerås
+ * - Sigurd Gartmann
+ * - JD Isaacks
+ */
+return [
+ 'year' => ':count år|:count år',
+ 'a_year' => 'ett år|:count år',
+ 'y' => ':count år|:count år',
+ 'month' => ':count måned|:count måneder',
+ 'a_month' => 'en måned|:count måneder',
+ 'm' => ':count md.',
+ 'week' => ':count uke|:count uker',
+ 'a_week' => 'en uke|:count uker',
+ 'w' => ':count u.',
+ 'day' => ':count dag|:count dager',
+ 'a_day' => 'en dag|:count dager',
+ 'd' => ':count d.',
+ 'hour' => ':count time|:count timer',
+ 'a_hour' => 'en time|:count timer',
+ 'h' => ':count t',
+ 'minute' => ':count minutt|:count minutter',
+ 'a_minute' => 'ett minutt|:count minutter',
+ 'min' => ':count min',
+ 'second' => ':count sekund|:count sekunder',
+ 'a_second' => 'noen sekunder|:count sekunder',
+ 's' => ':count sek',
+ 'ago' => ':time siden',
+ 'from_now' => 'om :time',
+ 'after' => ':time etter',
+ 'before' => ':time før',
+ 'diff_now' => 'akkurat nå',
+ 'diff_today' => 'i dag',
+ 'diff_today_regexp' => 'i dag(?:\\s+kl.)?',
+ 'diff_yesterday' => 'i går',
+ 'diff_yesterday_regexp' => 'i går(?:\\s+kl.)?',
+ 'diff_tomorrow' => 'i morgen',
+ 'diff_tomorrow_regexp' => 'i morgen(?:\\s+kl.)?',
+ 'diff_before_yesterday' => 'i forgårs',
+ 'diff_after_tomorrow' => 'i overmorgen',
+ 'period_recurrences' => 'en gang|:count ganger',
+ 'period_interval' => 'hver :interval',
+ 'period_start_date' => 'fra :date',
+ 'period_end_date' => 'til :date',
+ 'months' => ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
+ 'weekdays' => ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],
+ 'weekdays_short' => ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'],
+ 'weekdays_min' => ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'],
+ 'ordinal' => ':number.',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY [kl.] HH:mm',
+ 'LLLL' => 'dddd D. MMMM YYYY [kl.] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[i dag kl.] LT',
+ 'nextDay' => '[i morgen kl.] LT',
+ 'nextWeek' => 'dddd [kl.] LT',
+ 'lastDay' => '[i går kl.] LT',
+ 'lastWeek' => '[forrige] dddd [kl.] LT',
+ 'sameElse' => 'L',
+ ],
+ 'list' => [', ', ' og '],
+ 'meridiem' => ['a.m.', 'p.m.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php b/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php
new file mode 100644
index 0000000..31678c5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/nb.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php
new file mode 100644
index 0000000..ce0210b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/nb.php', [
+ 'formats' => [
+ 'LL' => 'D. MMM YYYY',
+ 'LLL' => 'D. MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd D. MMMM YYYY, HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nd.php b/vendor/nesbot/carbon/src/Carbon/Lang/nd.php
new file mode 100644
index 0000000..f75d9a7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nd.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'],
+ 'weekdays_short' => ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'],
+ 'weekdays_min' => ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'],
+ 'months' => ['Zibandlela', 'Nhlolanja', 'Mbimbitho', 'Mabasa', 'Nkwenkwezi', 'Nhlangula', 'Ntulikazi', 'Ncwabakazi', 'Mpandula', 'Mfumfu', 'Lwezi', 'Mpalakazi'],
+ 'months_short' => ['Zib', 'Nhlo', 'Mbi', 'Mab', 'Nkw', 'Nhla', 'Ntu', 'Ncw', 'Mpan', 'Mfu', 'Lwe', 'Mpal'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => 'okweminyaka engu-:count', // less reliable
+ 'y' => 'okweminyaka engu-:count', // less reliable
+ 'a_year' => 'okweminyaka engu-:count', // less reliable
+
+ 'month' => 'inyanga ezingu-:count',
+ 'm' => 'inyanga ezingu-:count',
+ 'a_month' => 'inyanga ezingu-:count',
+
+ 'week' => 'amaviki angu-:count',
+ 'w' => 'amaviki angu-:count',
+ 'a_week' => 'amaviki angu-:count',
+
+ 'day' => 'kwamalanga angu-:count',
+ 'd' => 'kwamalanga angu-:count',
+ 'a_day' => 'kwamalanga angu-:count',
+
+ 'hour' => 'amahola angu-:count',
+ 'h' => 'amahola angu-:count',
+ 'a_hour' => 'amahola angu-:count',
+
+ 'minute' => 'imizuzu engu-:count',
+ 'min' => 'imizuzu engu-:count',
+ 'a_minute' => 'imizuzu engu-:count',
+
+ 'second' => 'imizuzwana engu-:count',
+ 's' => 'imizuzwana engu-:count',
+ 'a_second' => 'imizuzwana engu-:count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nds.php b/vendor/nesbot/carbon/src/Carbon/Lang/nds.php
new file mode 100644
index 0000000..c0b3775
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nds.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/nds_DE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nds_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/nds_DE.php
new file mode 100644
index 0000000..a6c57a9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nds_DE.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - information from Kenneth Christiansen Kenneth Christiansen, Pablo Saratxaga kenneth@gnu.org, pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Jannuaar', 'Feberwaar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
+ 'months_short' => ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
+ 'weekdays' => ['Sünndag', 'Maandag', 'Dingsdag', 'Middeweek', 'Dunnersdag', 'Freedag', 'Sünnavend'],
+ 'weekdays_short' => ['Sdag', 'Maan', 'Ding', 'Midd', 'Dunn', 'Free', 'Svd.'],
+ 'weekdays_min' => ['Sd', 'Ma', 'Di', 'Mi', 'Du', 'Fr', 'Sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count Johr',
+ 'y' => ':countJ',
+ 'a_year' => '{1}een Johr|:count Johr',
+
+ 'month' => ':count Maand',
+ 'm' => ':countM',
+ 'a_month' => '{1}een Maand|:count Maand',
+
+ 'week' => ':count Week|:count Weken',
+ 'w' => ':countW',
+ 'a_week' => '{1}een Week|:count Week|:count Weken',
+
+ 'day' => ':count Dag|:count Daag',
+ 'd' => ':countD',
+ 'a_day' => '{1}een Dag|:count Dag|:count Daag',
+
+ 'hour' => ':count Stünn|:count Stünnen',
+ 'h' => ':countSt',
+ 'a_hour' => '{1}een Stünn|:count Stünn|:count Stünnen',
+
+ 'minute' => ':count Minuut|:count Minuten',
+ 'min' => ':countm',
+ 'a_minute' => '{1}een Minuut|:count Minuut|:count Minuten',
+
+ 'second' => ':count Sekunn|:count Sekunnen',
+ 's' => ':counts',
+ 'a_second' => 'en poor Sekunnen|:count Sekunn|:count Sekunnen',
+
+ 'ago' => 'vör :time',
+ 'from_now' => 'in :time',
+ 'before' => ':time vörher',
+ 'after' => ':time later',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nds_NL.php b/vendor/nesbot/carbon/src/Carbon/Lang/nds_NL.php
new file mode 100644
index 0000000..de2c57b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nds_NL.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - information from Kenneth Christiansen Kenneth Christiansen, Pablo Saratxaga kenneth@gnu.org, pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Jaunuwoa', 'Februwoa', 'Moaz', 'Aprell', 'Mai', 'Juni', 'Juli', 'August', 'Septamba', 'Oktoba', 'Nowamba', 'Dezamba'],
+ 'months_short' => ['Jan', 'Feb', 'Moz', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Now', 'Dez'],
+ 'weekdays' => ['Sinndag', 'Mondag', 'Dingsdag', 'Meddwäakj', 'Donnadag', 'Friedag', 'Sinnowend'],
+ 'weekdays_short' => ['Sdg', 'Mdg', 'Dsg', 'Mwk', 'Ddg', 'Fdg', 'Swd'],
+ 'weekdays_min' => ['Sdg', 'Mdg', 'Dsg', 'Mwk', 'Ddg', 'Fdg', 'Swd'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ne.php b/vendor/nesbot/carbon/src/Carbon/Lang/ne.php
new file mode 100644
index 0000000..d4caf0e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ne.php
@@ -0,0 +1,82 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - nootanghimire
+ * - Josh Soref
+ * - Nj Subedi
+ * - JD Isaacks
+ */
+return [
+ 'year' => 'à¤à¤• बरà¥à¤·|:count बरà¥à¤·',
+ 'y' => ':count वरà¥à¤·',
+ 'month' => 'à¤à¤• महिना|:count महिना',
+ 'm' => ':count महिना',
+ 'week' => ':count हपà¥à¤¤à¤¾',
+ 'w' => ':count हपà¥à¤¤à¤¾',
+ 'day' => 'à¤à¤• दिन|:count दिन',
+ 'd' => ':count दिन',
+ 'hour' => 'à¤à¤• घणà¥à¤Ÿà¤¾|:count घणà¥à¤Ÿà¤¾',
+ 'h' => ':count घणà¥à¤Ÿà¤¾',
+ 'minute' => 'à¤à¤• मिनेट|:count मिनेट',
+ 'min' => ':count मिनेट',
+ 'second' => 'केही कà¥à¤·à¤£|:count सेकेणà¥à¤¡',
+ 's' => ':count सेकेणà¥à¤¡',
+ 'ago' => ':time अगाडि',
+ 'from_now' => ':timeमा',
+ 'after' => ':time पछि',
+ 'before' => ':time अघि',
+ 'diff_now' => 'अहिले',
+ 'diff_today' => 'आज',
+ 'diff_yesterday' => 'हिजो',
+ 'diff_tomorrow' => 'à¤à¥‹à¤²à¤¿',
+ 'formats' => [
+ 'LT' => 'Aको h:mm बजे',
+ 'LTS' => 'Aको h:mm:ss बजे',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, Aको h:mm बजे',
+ 'LLLL' => 'dddd, D MMMM YYYY, Aको h:mm बजे',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[आज] LT',
+ 'nextDay' => '[à¤à¥‹à¤²à¤¿] LT',
+ 'nextWeek' => '[आउà¤à¤¦à¥‹] dddd[,] LT',
+ 'lastDay' => '[हिजो] LT',
+ 'lastWeek' => '[गà¤à¤•ो] dddd[,] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 3) {
+ return 'राति';
+ }
+ if ($hour < 12) {
+ return 'बिहान';
+ }
+ if ($hour < 16) {
+ return 'दिउà¤à¤¸à¥‹';
+ }
+ if ($hour < 20) {
+ return 'साà¤à¤';
+ }
+
+ return 'राति';
+ },
+ 'months' => ['जनवरी', 'फेबà¥à¤°à¥à¤µà¤°à¥€', 'मारà¥à¤š', 'अपà¥à¤°à¤¿à¤²', 'मई', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤ˆ', 'अगषà¥à¤Ÿ', 'सेपà¥à¤Ÿà¥‡à¤®à¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‹à¤¬à¤°', 'नोà¤à¥‡à¤®à¥à¤¬à¤°', 'डिसेमà¥à¤¬à¤°'],
+ 'months_short' => ['जन.', 'फेबà¥à¤°à¥.', 'मारà¥à¤š', 'अपà¥à¤°à¤¿.', 'मई', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤ˆ.', 'अग.', 'सेपà¥à¤Ÿ.', 'अकà¥à¤Ÿà¥‹.', 'नोà¤à¥‡.', 'डिसे.'],
+ 'weekdays' => ['आइतबार', 'सोमबार', 'मङà¥à¤—लबार', 'बà¥à¤§à¤¬à¤¾à¤°', 'बिहिबार', 'शà¥à¤•à¥à¤°à¤¬à¤¾à¤°', 'शनिबार'],
+ 'weekdays_short' => ['आइत.', 'सोम.', 'मङà¥à¤—ल.', 'बà¥à¤§.', 'बिहि.', 'शà¥à¤•à¥à¤°.', 'शनि.'],
+ 'weekdays_min' => ['आ.', 'सो.', 'मं.', 'बà¥.', 'बि.', 'शà¥.', 'श.'],
+ 'list' => [', ', ' र '],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php
new file mode 100644
index 0000000..f68d00e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php
@@ -0,0 +1,25 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ne.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'yy/M/d',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D, h:mm a',
+ 'LLLL' => 'YYYY MMMM D, dddd, h:mm a',
+ ],
+ 'months' => ['जनवरी', 'फेबà¥à¤°à¥à¤…री', 'मारà¥à¤š', 'अपà¥à¤°à¤¿à¤²', 'मे', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤Ÿ', 'सेपà¥à¤Ÿà¥‡à¤®à¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‹à¤¬à¤°', 'नोà¤à¥‡à¤®à¥à¤¬à¤°', 'डिसेमà¥à¤¬à¤°'],
+ 'months_short' => ['जनवरी', 'फेबà¥à¤°à¥à¤…री', 'मारà¥à¤š', 'अपà¥à¤°à¤¿à¤²', 'मे', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤Ÿ', 'सेपà¥à¤Ÿà¥‡à¤®à¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‹à¤¬à¤°', 'नोà¤à¥‡à¤®à¥à¤¬à¤°', 'डिसेमà¥à¤¬à¤°'],
+ 'weekend' => [0, 0],
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php b/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php
new file mode 100644
index 0000000..27840c0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ne.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nhn.php b/vendor/nesbot/carbon/src/Carbon/Lang/nhn.php
new file mode 100644
index 0000000..5a85831
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nhn.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/nhn_MX.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nhn_MX.php b/vendor/nesbot/carbon/src/Carbon/Lang/nhn_MX.php
new file mode 100644
index 0000000..9db88a1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nhn_MX.php
@@ -0,0 +1,50 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'],
+ 'months_short' => ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],
+ 'weekdays' => ['teoilhuitl', 'ceilhuitl', 'omeilhuitl', 'yeilhuitl', 'nahuilhuitl', 'macuililhuitl', 'chicuaceilhuitl'],
+ 'weekdays_short' => ['teo', 'cei', 'ome', 'yei', 'nau', 'mac', 'chi'],
+ 'weekdays_min' => ['teo', 'cei', 'ome', 'yei', 'nau', 'mac', 'chi'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'month' => ':count metztli', // less reliable
+ 'm' => ':count metztli', // less reliable
+ 'a_month' => ':count metztli', // less reliable
+
+ 'week' => ':count tonalli', // less reliable
+ 'w' => ':count tonalli', // less reliable
+ 'a_week' => ':count tonalli', // less reliable
+
+ 'day' => ':count tonatih', // less reliable
+ 'd' => ':count tonatih', // less reliable
+ 'a_day' => ':count tonatih', // less reliable
+
+ 'minute' => ':count toltecayotl', // less reliable
+ 'min' => ':count toltecayotl', // less reliable
+ 'a_minute' => ':count toltecayotl', // less reliable
+
+ 'second' => ':count ome', // less reliable
+ 's' => ':count ome', // less reliable
+ 'a_second' => ':count ome', // less reliable
+
+ 'year' => ':count xihuitl',
+ 'y' => ':count xihuitl',
+ 'a_year' => ':count xihuitl',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/niu.php b/vendor/nesbot/carbon/src/Carbon/Lang/niu.php
new file mode 100644
index 0000000..bd9be8a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/niu.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/niu_NU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/niu_NU.php b/vendor/nesbot/carbon/src/Carbon/Lang/niu_NU.php
new file mode 100644
index 0000000..6e7a697
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/niu_NU.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RockET Systems Emani Fakaotimanava-Lui emani@niue.nu
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Ianuali', 'Fepuali', 'Masi', 'Apelila', 'Me', 'Iuni', 'Iulai', 'Aokuso', 'Sepetema', 'Oketopa', 'Novema', 'Tesemo'],
+ 'months_short' => ['Ian', 'Fep', 'Mas', 'Ape', 'Me', 'Iun', 'Iul', 'Aok', 'Sep', 'Oke', 'Nov', 'Tes'],
+ 'weekdays' => ['Aho Tapu', 'Aho Gofua', 'Aho Ua', 'Aho Lotu', 'Aho Tuloto', 'Aho Falaile', 'Aho Faiumu'],
+ 'weekdays_short' => ['Tapu', 'Gofua', 'Ua', 'Lotu', 'Tuloto', 'Falaile', 'Faiumu'],
+ 'weekdays_min' => ['Tapu', 'Gofua', 'Ua', 'Lotu', 'Tuloto', 'Falaile', 'Faiumu'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count tau',
+ 'y' => ':count tau',
+ 'a_year' => ':count tau',
+
+ 'month' => ':count mahina',
+ 'm' => ':count mahina',
+ 'a_month' => ':count mahina',
+
+ 'week' => ':count faahi tapu',
+ 'w' => ':count faahi tapu',
+ 'a_week' => ':count faahi tapu',
+
+ 'day' => ':count aho',
+ 'd' => ':count aho',
+ 'a_day' => ':count aho',
+
+ 'hour' => ':count e tulÄ',
+ 'h' => ':count e tulÄ',
+ 'a_hour' => ':count e tulÄ',
+
+ 'minute' => ':count minuti',
+ 'min' => ':count minuti',
+ 'a_minute' => ':count minuti',
+
+ 'second' => ':count sekone',
+ 's' => ':count sekone',
+ 'a_second' => ':count sekone',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl.php
new file mode 100644
index 0000000..2d73770
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl.php
@@ -0,0 +1,113 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Roy
+ * - Stephan
+ * - François B
+ * - Tim Fish
+ * - Kevin Huang
+ * - Jacob Middag
+ * - JD Isaacks
+ * - Roy
+ * - Stephan
+ * - François B
+ * - Tim Fish
+ * - Jacob Middag
+ * - JD Isaacks
+ * - Propaganistas
+ * - MegaXLR
+ * - adriaanzon
+ * - MonkeyPhysics
+ * - JeroenG
+ * - RikSomers
+ * - proclame
+ * - Rik de Groot (hwdegroot)
+ */
+return [
+ 'year' => ':count jaar|:count jaar',
+ 'a_year' => 'een jaar|:count jaar',
+ 'y' => ':countj',
+ 'month' => ':count maand|:count maanden',
+ 'a_month' => 'een maand|:count maanden',
+ 'm' => ':countmnd',
+ 'week' => ':count week|:count weken',
+ 'a_week' => 'een week|:count weken',
+ 'w' => ':countw',
+ 'day' => ':count dag|:count dagen',
+ 'a_day' => 'een dag|:count dagen',
+ 'd' => ':countd',
+ 'hour' => ':count uur|:count uur',
+ 'a_hour' => 'een uur|:count uur',
+ 'h' => ':countu',
+ 'minute' => ':count minuut|:count minuten',
+ 'a_minute' => 'een minuut|:count minuten',
+ 'min' => ':countmin',
+ 'second' => ':count seconde|:count seconden',
+ 'a_second' => 'een paar seconden|:count seconden',
+ 's' => ':counts',
+ 'ago' => ':time geleden',
+ 'from_now' => 'over :time',
+ 'after' => ':time later',
+ 'before' => ':time eerder',
+ 'diff_now' => 'nu',
+ 'diff_today' => 'vandaag',
+ 'diff_today_regexp' => 'vandaag(?:\\s+om)?',
+ 'diff_yesterday' => 'gisteren',
+ 'diff_yesterday_regexp' => 'gisteren(?:\\s+om)?',
+ 'diff_tomorrow' => 'morgen',
+ 'diff_tomorrow_regexp' => 'morgen(?:\\s+om)?',
+ 'diff_after_tomorrow' => 'overmorgen',
+ 'diff_before_yesterday' => 'eergisteren',
+ 'period_recurrences' => ':count keer',
+ 'period_interval' => function (string $interval = '') {
+ /** @var string $output */
+ $output = preg_replace('/^(een|één|1)\s+/u', '', $interval);
+
+ if (preg_match('/^(een|één|1)( jaar|j| uur|u)/u', $interval)) {
+ return "elk $output";
+ }
+
+ return "elke $output";
+ },
+ 'period_start_date' => 'van :date',
+ 'period_end_date' => 'tot :date',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD-MM-YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[vandaag om] LT',
+ 'nextDay' => '[morgen om] LT',
+ 'nextWeek' => 'dddd [om] LT',
+ 'lastDay' => '[gisteren om] LT',
+ 'lastWeek' => '[afgelopen] dddd [om] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ return $number.(($number === 1 || $number === 8 || $number >= 20) ? 'ste' : 'de');
+ },
+ 'months' => ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ 'months_short' => ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ 'mmm_suffix' => '.',
+ 'weekdays' => ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ 'weekdays_short' => ['zo.', 'ma.', 'di.', 'wo.', 'do.', 'vr.', 'za.'],
+ 'weekdays_min' => ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' en '],
+ 'meridiem' => ['\'s ochtends', '\'s middags'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_AW.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_AW.php
new file mode 100644
index 0000000..5ec136d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_AW.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Free Software Foundation, Inc. bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/nl.php', [
+ 'formats' => [
+ 'L' => 'DD-MM-YY',
+ ],
+ 'months' => ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ 'months_short' => ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ 'weekdays' => ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ 'weekdays_short' => ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ 'weekdays_min' => ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_BE.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_BE.php
new file mode 100644
index 0000000..037f5b4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_BE.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Roy
+ * - Stephan
+ * - François B
+ * - Tim Fish
+ * - Kevin Huang
+ * - Jacob Middag
+ * - JD Isaacks
+ * - Propaganistas
+ */
+return array_replace_recursive(require __DIR__.'/nl.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php
new file mode 100644
index 0000000..c269197
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php
new file mode 100644
index 0000000..c269197
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_NL.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_NL.php
new file mode 100644
index 0000000..14e4853
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_NL.php
@@ -0,0 +1,24 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/nl.php', [
+ 'months' => ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ 'months_short' => ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ 'weekdays' => ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ 'weekdays_short' => ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ 'weekdays_min' => ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php
new file mode 100644
index 0000000..c269197
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php
new file mode 100644
index 0000000..c269197
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php b/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php
new file mode 100644
index 0000000..4d1df6e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['maná', 'kugú'],
+ 'weekdays' => ['sÉ”ÌndÉ”', 'mÉ”ÌndÉ”', 'sÉ”ÌndÉ” mafú mába', 'sÉ”ÌndÉ” mafú málal', 'sÉ”ÌndÉ” mafú mána', 'mabágá má sukul', 'sásadi'],
+ 'weekdays_short' => ['sÉ”Ìn', 'mÉ”Ìn', 'smb', 'sml', 'smn', 'mbs', 'sas'],
+ 'weekdays_min' => ['sÉ”Ìn', 'mÉ”Ìn', 'smb', 'sml', 'smn', 'mbs', 'sas'],
+ 'months' => ['ngwÉ›n matáhra', 'ngwÉ›n Å„mba', 'ngwÉ›n Å„lal', 'ngwÉ›n Å„na', 'ngwÉ›n Å„tan', 'ngwÉ›n Å„tuó', 'ngwÉ›n hÉ›mbuÉ›rÃ', 'ngwÉ›n lÉ”mbi', 'ngwÉ›n rÉ›bvuâ', 'ngwÉ›n wum', 'ngwÉ›n wum navÇ”r', 'krÃsimin'],
+ 'months_short' => ['ng1', 'ng2', 'ng3', 'ng4', 'ng5', 'ng6', 'ng7', 'ng8', 'ng9', 'ng10', 'ng11', 'kris'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nn.php b/vendor/nesbot/carbon/src/Carbon/Lang/nn.php
new file mode 100644
index 0000000..041f7b2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nn.php
@@ -0,0 +1,78 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Alexander Tømmerås
+ * - Øystein
+ * - JD Isaacks
+ * - Gaute Hvoslef Kvalnes (gaute)
+ */
+return [
+ 'year' => ':count år',
+ 'a_year' => 'eit år|:count år',
+ 'y' => ':count år',
+ 'month' => ':count månad|:count månader',
+ 'a_month' => 'ein månad|:count månader',
+ 'm' => ':count md',
+ 'week' => ':count veke|:count veker',
+ 'a_week' => 'ei veke|:count veker',
+ 'w' => ':countv',
+ 'day' => ':count dag|:count dagar',
+ 'a_day' => 'ein dag|:count dagar',
+ 'd' => ':countd',
+ 'hour' => ':count time|:count timar',
+ 'a_hour' => 'ein time|:count timar',
+ 'h' => ':countt',
+ 'minute' => ':count minutt',
+ 'a_minute' => 'eit minutt|:count minutt',
+ 'min' => ':countm',
+ 'second' => ':count sekund',
+ 'a_second' => 'nokre sekund|:count sekund',
+ 's' => ':counts',
+ 'ago' => ':time sidan',
+ 'from_now' => 'om :time',
+ 'after' => ':time etter',
+ 'before' => ':time før',
+ 'diff_today' => 'I dag',
+ 'diff_yesterday' => 'I går',
+ 'diff_yesterday_regexp' => 'I går(?:\\s+klokka)?',
+ 'diff_tomorrow' => 'I morgon',
+ 'diff_tomorrow_regexp' => 'I morgon(?:\\s+klokka)?',
+ 'diff_today_regexp' => 'I dag(?:\\s+klokka)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY [kl.] H:mm',
+ 'LLLL' => 'dddd D. MMMM YYYY [kl.] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[I dag klokka] LT',
+ 'nextDay' => '[I morgon klokka] LT',
+ 'nextWeek' => 'dddd [klokka] LT',
+ 'lastDay' => '[I går klokka] LT',
+ 'lastWeek' => '[Føregåande] dddd [klokka] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
+ 'weekdays' => ['sundag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'],
+ 'weekdays_short' => ['sun', 'mån', 'tys', 'ons', 'tor', 'fre', 'lau'],
+ 'weekdays_min' => ['su', 'må', 'ty', 'on', 'to', 'fr', 'la'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' og '],
+ 'meridiem' => ['f.m.', 'e.m.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php b/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php
new file mode 100644
index 0000000..8e16871
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/nn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php b/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php
new file mode 100644
index 0000000..007d239
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['mbaʼámbaʼ', 'ncwònzém'],
+ 'weekdays' => null,
+ 'weekdays_short' => ['lyÉ›Ê¼É›Ì sẅÃÅ‹tè', 'mvfò lyɛ̌ʼ', 'mbÉ”ÌÉ”ntè mvfò lyɛ̌ʼ', 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbÉ”ÌÉ”ntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò mà ga lyɛ̌ʼ', 'mà ga lyɛ̌ʼ'],
+ 'weekdays_min' => null,
+ 'months' => null,
+ 'months_short' => ['saŋ tsetsɛ̀ɛ lùm', 'saŋ kà g ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tà ŋa tsetsáʼ', 'saŋ mejwoŋó', 'saŋ lùm'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/yy',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => '[lyɛ]̌ʼ d [na] MMMM, YYYY HH:mm',
+ 'LLLL' => 'dddd , [lyɛ]̌ʼ d [na] MMMM, YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/no.php b/vendor/nesbot/carbon/src/Carbon/Lang/no.php
new file mode 100644
index 0000000..f4497c7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/no.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Daniel S. Billing
+ * - Paul
+ * - Jimmie Johansson
+ * - Jens Herlevsen
+ */
+return array_replace_recursive(require __DIR__.'/nb.php', [
+ 'formats' => [
+ 'LLL' => 'D. MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY [kl.] HH:mm',
+ ],
+ 'calendar' => [
+ 'nextWeek' => 'på dddd [kl.] LT',
+ 'lastWeek' => '[i] dddd[s kl.] LT',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nr.php b/vendor/nesbot/carbon/src/Carbon/Lang/nr.php
new file mode 100644
index 0000000..1bc999f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nr.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/nr_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nr_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/nr_ZA.php
new file mode 100644
index 0000000..f9a7be8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nr_ZA.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Janabari', 'uFeberbari', 'uMatjhi', 'u-Apreli', 'Meyi', 'Juni', 'Julayi', 'Arhostosi', 'Septemba', 'Oktoba', 'Usinyikhaba', 'Disemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mat', 'Apr', 'Mey', 'Jun', 'Jul', 'Arh', 'Sep', 'Okt', 'Usi', 'Dis'],
+ 'weekdays' => ['uSonto', 'uMvulo', 'uLesibili', 'lesithathu', 'uLesine', 'ngoLesihlanu', 'umGqibelo'],
+ 'weekdays_short' => ['Son', 'Mvu', 'Bil', 'Tha', 'Ne', 'Hla', 'Gqi'],
+ 'weekdays_min' => ['Son', 'Mvu', 'Bil', 'Tha', 'Ne', 'Hla', 'Gqi'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nso.php b/vendor/nesbot/carbon/src/Carbon/Lang/nso.php
new file mode 100644
index 0000000..2a6cabb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nso.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/nso_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nso_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/nso_ZA.php
new file mode 100644
index 0000000..b08fe6d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nso_ZA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Janaware', 'Febereware', 'Matšhe', 'Aprele', 'Mei', 'June', 'Julae', 'Agostose', 'Setemere', 'Oktobere', 'Nofemere', 'Disemere'],
+ 'months_short' => ['Jan', 'Feb', 'Mat', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Set', 'Okt', 'Nof', 'Dis'],
+ 'weekdays' => ['LaMorena', 'Mošupologo', 'Labobedi', 'Laboraro', 'Labone', 'Labohlano', 'Mokibelo'],
+ 'weekdays_short' => ['Son', 'Moš', 'Bed', 'Rar', 'Ne', 'Hla', 'Mok'],
+ 'weekdays_min' => ['Son', 'Moš', 'Bed', 'Rar', 'Ne', 'Hla', 'Mok'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count ngwaga',
+ 'y' => ':count ngwaga',
+ 'a_year' => ':count ngwaga',
+
+ 'month' => ':count Kgwedi',
+ 'm' => ':count Kgwedi',
+ 'a_month' => ':count Kgwedi',
+
+ 'week' => ':count Beke',
+ 'w' => ':count Beke',
+ 'a_week' => ':count Beke',
+
+ 'day' => ':count Letšatši',
+ 'd' => ':count Letšatši',
+ 'a_day' => ':count Letšatši',
+
+ 'hour' => ':count Iri',
+ 'h' => ':count Iri',
+ 'a_hour' => ':count Iri',
+
+ 'minute' => ':count Motsotso',
+ 'min' => ':count Motsotso',
+ 'a_minute' => ':count Motsotso',
+
+ 'second' => ':count motsotswana',
+ 's' => ':count motsotswana',
+ 'a_second' => ':count motsotswana',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nus.php b/vendor/nesbot/carbon/src/Carbon/Lang/nus.php
new file mode 100644
index 0000000..789bc39
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nus.php
@@ -0,0 +1,36 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['RW', 'TÅŠ'],
+ 'weekdays' => ['Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', 'Dhieec lätni', 'Bäkɛl lätni'],
+ 'weekdays_short' => ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'],
+ 'weekdays_min' => ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'],
+ 'months' => ['Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', 'Tho̱o̱r', 'Tɛɛr', 'Laath', 'Kur', 'Tio̱p in di̱i̱t'],
+ 'months_short' => ['Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', 'Tid'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd D MMMM YYYY h:mm a',
+ ],
+
+ 'year' => ':count jiök', // less reliable
+ 'y' => ':count jiök', // less reliable
+ 'a_year' => ':count jiök', // less reliable
+
+ 'month' => ':count pay', // less reliable
+ 'm' => ':count pay', // less reliable
+ 'a_month' => ':count pay', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php b/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php
new file mode 100644
index 0000000..8660ea4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', 'Orwamukaaga'],
+ 'weekdays_short' => ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'],
+ 'weekdays_min' => ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'],
+ 'months' => ['Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', 'Okwaikumi na ibiri'],
+ 'months_short' => ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/oc.php b/vendor/nesbot/carbon/src/Carbon/Lang/oc.php
new file mode 100644
index 0000000..c9411d6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/oc.php
@@ -0,0 +1,100 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - QuentÃ
+ */
+// @codeCoverageIgnoreStart
+use Symfony\Component\Translation\PluralizationRules;
+
+if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
+ PluralizationRules::set(static function ($number) {
+ return $number == 1 ? 0 : 1;
+ }, 'oc');
+}
+// @codeCoverageIgnoreEnd
+
+return [
+ 'year' => ':count an|:count ans',
+ 'a_year' => 'un an|:count ans',
+ 'y' => ':count an|:count ans',
+ 'month' => ':count mes|:count meses',
+ 'a_month' => 'un mes|:count meses',
+ 'm' => ':count mes|:count meses',
+ 'week' => ':count setmana|:count setmanas',
+ 'a_week' => 'una setmana|:count setmanas',
+ 'w' => ':count setmana|:count setmanas',
+ 'day' => ':count jorn|:count jorns',
+ 'a_day' => 'un jorn|:count jorns',
+ 'd' => ':count jorn|:count jorns',
+ 'hour' => ':count ora|:count oras',
+ 'a_hour' => 'una ora|:count oras',
+ 'h' => ':count ora|:count oras',
+ 'minute' => ':count minuta|:count minutas',
+ 'a_minute' => 'una minuta|:count minutas',
+ 'min' => ':count minuta|:count minutas',
+ 'second' => ':count segonda|:count segondas',
+ 'a_second' => 'una segonda|:count segondas',
+ 's' => ':count segonda|:count segondas',
+ 'ago' => 'fa :time',
+ 'from_now' => 'd\'aquà :time',
+ 'after' => ':time aprèp',
+ 'before' => ':time abans',
+ 'diff_now' => 'ara meteis',
+ 'diff_today' => 'Uèi',
+ 'diff_today_regexp' => 'Uèi(?:\\s+a)?',
+ 'diff_yesterday' => 'ièr',
+ 'diff_yesterday_regexp' => 'Ièr(?:\\s+a)?',
+ 'diff_tomorrow' => 'deman',
+ 'diff_tomorrow_regexp' => 'Deman(?:\\s+a)?',
+ 'diff_before_yesterday' => 'ièr delà ',
+ 'diff_after_tomorrow' => 'deman passat',
+ 'period_recurrences' => ':count còp|:count còps',
+ 'period_interval' => 'cada :interval',
+ 'period_start_date' => 'de :date',
+ 'period_end_date' => 'fins a :date',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM [de] YYYY',
+ 'LLL' => 'D MMMM [de] YYYY [a] H:mm',
+ 'LLLL' => 'dddd D MMMM [de] YYYY [a] H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Uèi a] LT',
+ 'nextDay' => '[Deman a] LT',
+ 'nextWeek' => 'dddd [a] LT',
+ 'lastDay' => '[Ièr a] LT',
+ 'lastWeek' => 'dddd [passat a] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['de genièr', 'de febrièr', 'de març', 'd\'abrial', 'de mai', 'de junh', 'de julhet', 'd\'agost', 'de setembre', 'd’octòbre', 'de novembre', 'de decembre'],
+ 'months_standalone' => ['genièr', 'febrièr', 'març', 'abrial', 'mai', 'junh', 'julh', 'agost', 'setembre', 'octòbre', 'novembre', 'decembre'],
+ 'months_short' => ['gen.', 'feb.', 'març', 'abr.', 'mai', 'junh', 'julh', 'ago.', 'sep.', 'oct.', 'nov.', 'dec.'],
+ 'weekdays' => ['dimenge', 'diluns', 'dimars', 'dimècres', 'dijòus', 'divendres', 'dissabte'],
+ 'weekdays_short' => ['dg', 'dl', 'dm', 'dc', 'dj', 'dv', 'ds'],
+ 'weekdays_min' => ['dg', 'dl', 'dm', 'dc', 'dj', 'dv', 'ds'],
+ 'ordinal' => function ($number, string $period = '') {
+ $ordinal = [1 => 'èr', 2 => 'nd'][(int) $number] ?? 'en';
+
+ // feminine for year, week, hour, minute, second
+ if (preg_match('/^[yYwWhHgGis]$/', $period)) {
+ $ordinal .= 'a';
+ }
+
+ return $number.$ordinal;
+ },
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' e '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php
new file mode 100644
index 0000000..01eb5c1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/oc.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/om.php b/vendor/nesbot/carbon/src/Carbon/Lang/om.php
new file mode 100644
index 0000000..b8d5a0b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/om.php
@@ -0,0 +1,60 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation & Sagalee Oromoo Publishing Co. Inc. locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'dd-MMM-YYYY',
+ 'LLL' => 'dd MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, MMMM D, YYYY HH:mm',
+ ],
+ 'months' => ['Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee'],
+ 'months_short' => ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'],
+ 'weekdays' => ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'],
+ 'weekdays_short' => ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'],
+ 'weekdays_min' => ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['WD', 'WB'],
+
+ 'year' => 'wggoota :count',
+ 'y' => 'wggoota :count',
+ 'a_year' => 'wggoota :count',
+
+ 'month' => 'ji’a :count',
+ 'm' => 'ji’a :count',
+ 'a_month' => 'ji’a :count',
+
+ 'week' => 'torban :count',
+ 'w' => 'torban :count',
+ 'a_week' => 'torban :count',
+
+ 'day' => 'guyyaa :count',
+ 'd' => 'guyyaa :count',
+ 'a_day' => 'guyyaa :count',
+
+ 'hour' => 'saʼaatii :count',
+ 'h' => 'saʼaatii :count',
+ 'a_hour' => 'saʼaatii :count',
+
+ 'minute' => 'daqiiqaa :count',
+ 'min' => 'daqiiqaa :count',
+ 'a_minute' => 'daqiiqaa :count',
+
+ 'second' => 'sekoondii :count',
+ 's' => 'sekoondii :count',
+ 'a_second' => 'sekoondii :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php
new file mode 100644
index 0000000..044760e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/om.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php
new file mode 100644
index 0000000..f5a4d1c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/om.php', [
+ 'day_of_first_week_of_year' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/or.php b/vendor/nesbot/carbon/src/Carbon/Lang/or.php
new file mode 100644
index 0000000..3aa7173
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/or.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/or_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/or_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/or_IN.php
new file mode 100644
index 0000000..57a89f5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/or_IN.php
@@ -0,0 +1,51 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM AP Linux Technology Center, Yamato Software Laboratory bug-glibc@gnu.org
+ */
+return [
+ 'diff_now' => 'ବରàତàତମାନ',
+ 'diff_yesterday' => 'ଗତକାଲି',
+ 'diff_tomorrow' => 'ଆସନàତାକାଲି',
+ 'formats' => [
+ 'LT' => 'Oh:Om A',
+ 'LTS' => 'Oh:Om:Os A',
+ 'L' => 'OD-OM-OY',
+ 'LL' => 'OD MMMM OY',
+ 'LLL' => 'OD MMMM OY Oh:Om A',
+ 'LLLL' => 'dddd OD MMMM OY Oh:Om A',
+ ],
+ 'months' => ['ଜାନàଆରà€', 'ଫà‡à¬¬àƒà¬†à¬°à€', 'ମାରàଚàଚ', 'ଅପàରà‡à¬²', 'ମଇ', 'ଜàନ', 'ଜàଲାଇ', 'ଅଗଷàଟ', 'ସà‡à¬ªàଟà‡à¬®àବର', 'ଅକàଟà‹à¬¬à¬°', 'ନà¬à‡à¬®àବର', 'ଡିସà‡à¬®àବର'],
+ 'months_short' => ['ଜାନàଆରà€', 'ଫà‡à¬¬àƒà¬†à¬°à€', 'ମାରàଚàଚ', 'ଅପàରà‡à¬²', 'ମଇ', 'ଜàନ', 'ଜàଲାଇ', 'ଅଗଷàଟ', 'ସà‡à¬ªàଟà‡à¬®àବର', 'ଅକàଟà‹à¬¬à¬°', 'ନà¬à‡à¬®àବର', 'ଡିସà‡à¬®àବର'],
+ 'weekdays' => ['ରବିବାର', 'ସà‹à¬®à¬¬à¬¾à¬°', 'ମଙàଗଳବାର', 'ବàଧବାର', 'ଗàରàବାର', 'ଶàକàରବାର', 'ଶନିବାର'],
+ 'weekdays_short' => ['ରବି', 'ସà‹à¬®', 'ମଙàଗଳ', 'ବàଧ', 'ଗàରà', 'ଶàକàର', 'ଶନି'],
+ 'weekdays_min' => ['ରବି', 'ସà‹à¬®', 'ମଙàଗଳ', 'ବàଧ', 'ଗàରà', 'ଶàକàର', 'ଶନି'],
+ 'day_of_first_week_of_year' => 1,
+ 'alt_numbers' => ['à¦', 'à§', 'à¨', 'à©', 'àª', 'à«', 'à¬', 'à', 'à®', 'à¯', 'à§à¦', 'à§à§', 'à§à¨', 'à§à©', 'à§àª', 'à§à«', 'à§à¬', 'à§à', 'à§à®', 'à§à¯', 'à¨à¦', 'à¨à§', 'à¨à¨', 'à¨à©', 'à¨àª', 'à¨à«', 'à¨à¬', 'à¨à', 'à¨à®', 'à¨à¯', 'à©à¦', 'à©à§', 'à©à¨', 'à©à©', 'à©àª', 'à©à«', 'à©à¬', 'à©à', 'à©à®', 'à©à¯', 'àªà¦', 'àªà§', 'àªà¨', 'àªà©', 'àªàª', 'àªà«', 'àªà¬', 'àªà', 'àªà®', 'àªà¯', 'à«à¦', 'à«à§', 'à«à¨', 'à«à©', 'à«àª', 'à«à«', 'à«à¬', 'à«à', 'à«à®', 'à«à¯', 'à¬à¦', 'à¬à§', 'à¬à¨', 'à¬à©', 'à¬àª', 'à¬à«', 'à¬à¬', 'à¬à', 'à¬à®', 'à¬à¯', 'àà¦', 'àà§', 'àà¨', 'àà©', 'ààª', 'àà«', 'àà¬', 'àà', 'àà®', 'àà¯', 'à®à¦', 'à®à§', 'à®à¨', 'à®à©', 'à®àª', 'à®à«', 'à®à¬', 'à®à', 'à®à®', 'à®à¯', 'à¯à¦', 'à¯à§', 'à¯à¨', 'à¯à©', 'à¯àª', 'à¯à«', 'à¯à¬', 'à¯à', 'à¯à®', 'à¯à¯'],
+ 'year' => ':count ବରàଷ',
+ 'y' => ':count ବ.',
+ 'month' => ':count ମାସ',
+ 'm' => ':count ମା.',
+ 'week' => ':count ସପàତାହ',
+ 'w' => ':count ସପàତା.',
+ 'day' => ':count ଦିନ',
+ 'd' => ':count ଦିନ',
+ 'hour' => ':count ଘଣàତ',
+ 'h' => ':count ଘ.',
+ 'minute' => ':count ମିନଟ',
+ 'min' => ':count ମି.',
+ 'second' => ':count ସà‡à¬•ଣàଢ',
+ 's' => ':count ସà‡.',
+ 'ago' => ':time ପà‚ରàବà‡',
+ 'from_now' => ':timeରà‡',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/os.php b/vendor/nesbot/carbon/src/Carbon/Lang/os.php
new file mode 100644
index 0000000..5f55e8a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/os.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/os_RU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/os_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/os_RU.php
new file mode 100644
index 0000000..9592d15
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/os_RU.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Ñнвары', 'февралы', 'мартъийы', 'апрелы', 'майы', 'июны', 'июлы', 'авгуÑты', 'ÑентÑбры', 'октÑбры', 'ноÑбры', 'декабры'],
+ 'months_short' => ['Янв', 'Фев', 'Мар', 'Ðпр', 'Май', 'Июн', 'Июл', 'Ðвг', 'Сен', 'Окт', 'ÐоÑ', 'Дек'],
+ 'weekdays' => ['Хуыцаубон', 'КъуыриÑæр', 'Дыццæг', 'Æртыццæг', 'Цыппæрæм', 'Майрæмбон', 'Сабат'],
+ 'weekdays_short' => ['Хцб', 'КрÑ', 'Дцг', 'Æрт', 'Цпр', 'Мрб', 'Сбт'],
+ 'weekdays_min' => ['Хцб', 'КрÑ', 'Дцг', 'Æрт', 'Цпр', 'Мрб', 'Сбт'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'minute' => ':count гыццыл', // less reliable
+ 'min' => ':count гыццыл', // less reliable
+ 'a_minute' => ':count гыццыл', // less reliable
+
+ 'second' => ':count æндæр', // less reliable
+ 's' => ':count æндæр', // less reliable
+ 'a_second' => ':count æндæр', // less reliable
+
+ 'year' => ':count аз',
+ 'y' => ':count аз',
+ 'a_year' => ':count аз',
+
+ 'month' => ':count мӕй',
+ 'm' => ':count мӕй',
+ 'a_month' => ':count мӕй',
+
+ 'week' => ':count къуыри',
+ 'w' => ':count къуыри',
+ 'a_week' => ':count къуыри',
+
+ 'day' => ':count бон',
+ 'd' => ':count бон',
+ 'a_day' => ':count бон',
+
+ 'hour' => ':count Ñахат',
+ 'h' => ':count Ñахат',
+ 'a_hour' => ':count Ñахат',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa.php
new file mode 100644
index 0000000..48b2033
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa.php
@@ -0,0 +1,76 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - Punjab
+ */
+return [
+ 'year' => 'ਇੱਕ ਸਾਲ|:count ਸਾਲ',
+ 'month' => 'ਇੱਕ ਮਹੀਨਾ|:count ਮਹੀਨੇ',
+ 'week' => 'ਹਫਤਾ|:count ਹਫ਼ਤੇ',
+ 'day' => 'ਇੱਕ ਦਿਨ|:count ਦਿਨ',
+ 'hour' => 'ਇੱਕ ਘੰਟਾ|:count ਘੰਟੇ',
+ 'minute' => 'ਇਕ ਮਿੰਟ|:count ਮਿੰਟ',
+ 'second' => 'ਕà©à¨ ਸਕਿੰਟ|:count ਸਕਿੰਟ',
+ 'ago' => ':time ਪਹਿਲਾਂ',
+ 'from_now' => ':time ਵਿੱਚ',
+ 'before' => ':time ਤੋਂ ਪਹਿਲਾਂ',
+ 'after' => ':time ਤੋਂ ਬਾਅਦ',
+ 'diff_now' => 'ਹà©à¨£',
+ 'diff_today' => 'ਅਜ',
+ 'diff_yesterday' => 'ਕਲ',
+ 'diff_tomorrow' => 'ਕਲ',
+ 'formats' => [
+ 'LT' => 'A h:mm ਵਜੇ',
+ 'LTS' => 'A h:mm:ss ਵਜੇ',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm ਵਜੇ',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ਅਜ] LT',
+ 'nextDay' => '[ਕਲ] LT',
+ 'nextWeek' => '[ਅਗਲਾ] dddd, LT',
+ 'lastDay' => '[ਕਲ] LT',
+ 'lastWeek' => '[ਪਿਛਲੇ] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'ਰਾਤ';
+ }
+ if ($hour < 10) {
+ return 'ਸਵੇਰ';
+ }
+ if ($hour < 17) {
+ return 'ਦà©à¨ªà¨¹à¨¿à¨°';
+ }
+ if ($hour < 20) {
+ return 'ਸ਼ਾਮ';
+ }
+
+ return 'ਰਾਤ';
+ },
+ 'months' => ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪà©à¨°à©ˆà¨²', 'ਮਈ', 'ਜੂਨ', 'ਜà©à¨²à¨¾à¨ˆ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'],
+ 'months_short' => ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪà©à¨°à©ˆà¨²', 'ਮਈ', 'ਜੂਨ', 'ਜà©à¨²à¨¾à¨ˆ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'],
+ 'weekdays' => ['à¨à¨¤à¨µà¨¾à¨°', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬà©à¨§à¨µà¨¾à¨°', 'ਵੀਰਵਾਰ', 'ਸ਼à©à©±à¨•ਰਵਾਰ', 'ਸ਼ਨੀਚਰਵਾਰ'],
+ 'weekdays_short' => ['à¨à¨¤', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬà©à¨§', 'ਵੀਰ', 'ਸ਼à©à¨•ਰ', 'ਸ਼ਨੀ'],
+ 'weekdays_min' => ['à¨à¨¤', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬà©à¨§', 'ਵੀਰ', 'ਸ਼à©à¨•ਰ', 'ਸ਼ਨੀ'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' ਅਤੇ '],
+ 'weekend' => [0, 0],
+ 'alt_numbers' => ['੦', 'à©§', '੨', 'à©©', '੪', 'à©«', '੬', 'à©', 'à©®', '੯'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php
new file mode 100644
index 0000000..39b0653
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ur.php', [
+ 'weekdays' => ['اتوار', 'پیر', 'منگل', 'Ø¨ÙØ¯Ú¾', 'جمعرات', 'جمعÛ', 'ÛÙØªÛ'],
+ 'weekdays_short' => ['اتوار', 'پیر', 'منگل', 'Ø¨ÙØ¯Ú¾', 'جمعرات', 'جمعÛ', 'ÛÙØªÛ'],
+ 'weekdays_min' => ['اتوار', 'پیر', 'منگل', 'Ø¨ÙØ¯Ú¾', 'جمعرات', 'جمعÛ', 'ÛÙØªÛ'],
+ 'months' => ['جنوری', 'ÙØ±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنوری', 'ÙØ±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd, DD MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php
new file mode 100644
index 0000000..7adff5c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/pa.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D/M/yy',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY, h:mm a',
+ 'LLLL' => 'dddd, D MMMM YYYY, h:mm a',
+ ],
+ 'months' => ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪà©à¨°à©ˆà¨²', 'ਮਈ', 'ਜੂਨ', 'ਜà©à¨²à¨¾à¨ˆ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'],
+ 'months_short' => ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪà©à¨°à©ˆ', 'ਮਈ', 'ਜੂਨ', 'ਜà©à¨²à¨¾', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'],
+ 'weekdays' => ['à¨à¨¤à¨µà¨¾à¨°', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬà©à©±à¨§à¨µà¨¾à¨°', 'ਵੀਰਵਾਰ', 'ਸ਼à©à©±à¨•ਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'],
+ 'weekdays_short' => ['à¨à¨¤', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬà©à©±à¨§', 'ਵੀਰ', 'ਸ਼à©à©±à¨•ਰ', 'ਸ਼ਨਿੱਚਰ'],
+ 'weekdays_min' => ['à¨à¨¤', 'ਸੋਮ', 'ਮੰਗ', 'ਬà©à©±à¨§', 'ਵੀਰ', 'ਸ਼à©à©±à¨•', 'ਸ਼ਨਿੱ'],
+ 'weekend' => [0, 0],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa_IN.php
new file mode 100644
index 0000000..ca67642
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa_IN.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Guo Xiang Tan
+ * - Josh Soref
+ * - Ash
+ * - harpreetkhalsagtbit
+ */
+return require __DIR__.'/pa.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa_PK.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa_PK.php
new file mode 100644
index 0000000..f9af11c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa_PK.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['جنوري', 'ÙØ±ÙˆØ±ÙŠ', 'مارچ', 'اپريل', 'مٓی', 'جون', 'جولاي', 'اگست', 'ستمبر', 'اكتوبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنوري', 'ÙØ±ÙˆØ±ÙŠ', 'مارچ', 'اپريل', 'مٓی', 'جون', 'جولاي', 'اگست', 'ستمبر', 'اكتوبر', 'نومبر', 'دسمبر'],
+ 'weekdays' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'Ù‡ÙØªÙ‡'],
+ 'weekdays_short' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'Ù‡ÙØªÙ‡'],
+ 'weekdays_min' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'Ù‡ÙØªÙ‡'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ص', 'ش'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pap.php b/vendor/nesbot/carbon/src/Carbon/Lang/pap.php
new file mode 100644
index 0000000..b4c1706
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pap.php
@@ -0,0 +1,39 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return [
+ 'formats' => [
+ 'LT' => 'HH.mm',
+ 'LTS' => 'HH.mm:ss',
+ 'L' => 'DD-MM-YY',
+ 'LL' => 'MMMM [di] DD, YYYY',
+ 'LLL' => 'DD MMM HH.mm',
+ 'LLLL' => 'MMMM DD, YYYY HH.mm',
+ ],
+ 'months' => ['yanüari', 'febrüari', 'mart', 'aprel', 'mei', 'yüni', 'yüli', 'ougùstùs', 'sèptèmber', 'oktober', 'novèmber', 'desèmber'],
+ 'months_short' => ['yan', 'feb', 'mar', 'apr', 'mei', 'yün', 'yül', 'oug', 'sèp', 'okt', 'nov', 'des'],
+ 'weekdays' => ['djadomingo', 'djaluna', 'djamars', 'djawebs', 'djarason', 'djabierne', 'djasabra'],
+ 'weekdays_short' => ['do', 'lu', 'ma', 'we', 'ra', 'bi', 'sa'],
+ 'weekdays_min' => ['do', 'lu', 'ma', 'we', 'ra', 'bi', 'sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'year' => ':count aña',
+ 'month' => ':count luna',
+ 'week' => ':count siman',
+ 'day' => ':count dia',
+ 'hour' => ':count ora',
+ 'minute' => ':count minüt',
+ 'second' => ':count sekònde',
+ 'list' => [', ', ' i '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pap_AW.php b/vendor/nesbot/carbon/src/Carbon/Lang/pap_AW.php
new file mode 100644
index 0000000..e9a48ff
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pap_AW.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - information from native speaker Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return require __DIR__.'/pap.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pap_CW.php b/vendor/nesbot/carbon/src/Carbon/Lang/pap_CW.php
new file mode 100644
index 0000000..e9a48ff
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pap_CW.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - information from native speaker Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return require __DIR__.'/pap.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pl.php b/vendor/nesbot/carbon/src/Carbon/Lang/pl.php
new file mode 100644
index 0000000..b720535
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pl.php
@@ -0,0 +1,126 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Wacław Jacek
+ * - François B
+ * - Tim Fish
+ * - Serhan Apaydın
+ * - Massimiliano Caniparoli
+ * - JD Isaacks
+ * - Jakub Szwacz
+ * - Jan
+ * - Paul
+ * - damlys
+ * - Marek (marast78)
+ * - Peter (UnrulyNatives)
+ * - Qrzysio
+ * - Jan (aso824)
+ * - diverpl
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count rok|:count lata|:count lat',
+ 'a_year' => 'rok|:count lata|:count lat',
+ 'y' => ':count r|:count l|:count l',
+ 'month' => ':count miesiąc|:count miesiące|:count miesięcy',
+ 'a_month' => 'miesiąc|:count miesiące|:count miesięcy',
+ 'm' => ':count mies.',
+ 'week' => ':count tydzień|:count tygodnie|:count tygodni',
+ 'a_week' => 'tydzień|:count tygodnie|:count tygodni',
+ 'w' => ':count tyg.',
+ 'day' => ':count dzień|:count dni|:count dni',
+ 'a_day' => 'dzień|:count dni|:count dni',
+ 'd' => ':count d',
+ 'hour' => ':count godzina|:count godziny|:count godzin',
+ 'a_hour' => 'godzina|:count godziny|:count godzin',
+ 'h' => ':count godz.',
+ 'minute' => ':count minuta|:count minuty|:count minut',
+ 'a_minute' => 'minuta|:count minuty|:count minut',
+ 'min' => ':count min',
+ 'second' => ':count sekunda|:count sekundy|:count sekund',
+ 'a_second' => '{1}kilka sekund|:count sekunda|:count sekundy|:count sekund',
+ 's' => ':count sek.',
+ 'ago' => ':time temu',
+ 'from_now' => static function ($time) {
+ return 'za '.strtr($time, [
+ 'godzina' => 'godzinÄ™',
+ 'minuta' => 'minutÄ™',
+ 'sekunda' => 'sekundÄ™',
+ ]);
+ },
+ 'after' => ':time po',
+ 'before' => ':time przed',
+ 'diff_now' => 'teraz',
+ 'diff_today' => 'DziÅ›',
+ 'diff_today_regexp' => 'DziÅ›(?:\\s+o)?',
+ 'diff_yesterday' => 'wczoraj',
+ 'diff_yesterday_regexp' => 'Wczoraj(?:\\s+o)?',
+ 'diff_tomorrow' => 'jutro',
+ 'diff_tomorrow_regexp' => 'Jutro(?:\\s+o)?',
+ 'diff_before_yesterday' => 'przedwczoraj',
+ 'diff_after_tomorrow' => 'pojutrze',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[DziÅ› o] LT',
+ 'nextDay' => '[Jutro o] LT',
+ 'nextWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[W niedzielÄ™ o] LT';
+ case 2:
+ return '[We wtorek o] LT';
+ case 3:
+ return '[W środę o] LT';
+ case 6:
+ return '[W sobotÄ™ o] LT';
+ default:
+ return '[W] dddd [o] LT';
+ }
+ },
+ 'lastDay' => '[Wczoraj o] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[W zeszłą niedzielę o] LT';
+ case 3:
+ return '[W zeszłą środę o] LT';
+ case 6:
+ return '[W zeszłą sobotę o] LT';
+ default:
+ return '[W zeszły] dddd [o] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia'],
+ 'months_standalone' => ['styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień'],
+ 'months_short' => ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],
+ 'months_regexp' => '/(DD?o?\.?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'],
+ 'weekdays_short' => ['ndz', 'pon', 'wt', 'śr', 'czw', 'pt', 'sob'],
+ 'weekdays_min' => ['Nd', 'Pn', 'Wt', 'Åšr', 'Cz', 'Pt', 'So'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' i '],
+ 'meridiem' => ['przed południem', 'po południu'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php b/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php
new file mode 100644
index 0000000..222bcdb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/prg.php b/vendor/nesbot/carbon/src/Carbon/Lang/prg.php
new file mode 100644
index 0000000..6e63f4a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/prg.php
@@ -0,0 +1,52 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'months' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
+ 'months_short' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'YYYY MMMM D, dddd HH:mm',
+ ],
+
+ 'year' => ':count meta',
+ 'y' => ':count meta',
+ 'a_year' => ':count meta',
+
+ 'month' => ':count mēniks', // less reliable
+ 'm' => ':count mēniks', // less reliable
+ 'a_month' => ':count mēniks', // less reliable
+
+ 'week' => ':count sawaītin', // less reliable
+ 'w' => ':count sawaītin', // less reliable
+ 'a_week' => ':count sawaītin', // less reliable
+
+ 'day' => ':count di',
+ 'd' => ':count di',
+ 'a_day' => ':count di',
+
+ 'hour' => ':count bruktēt', // less reliable
+ 'h' => ':count bruktēt', // less reliable
+ 'a_hour' => ':count bruktēt', // less reliable
+
+ 'minute' => ':count līkuts', // less reliable
+ 'min' => ':count līkuts', // less reliable
+ 'a_minute' => ':count līkuts', // less reliable
+
+ 'second' => ':count kitan', // less reliable
+ 's' => ':count kitan', // less reliable
+ 'a_second' => ':count kitan', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ps.php b/vendor/nesbot/carbon/src/Carbon/Lang/ps.php
new file mode 100644
index 0000000..a928b28
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ps.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Muhammad Nasir Rahimi
+ * - Nassim Nasibullah (spinzar)
+ */
+return [
+ 'year' => ':count کال|:count کاله',
+ 'y' => ':countکال|:countکاله',
+ 'month' => ':count مياشت|:count مياشتي',
+ 'm' => ':countمياشت|:countمياشتي',
+ 'week' => ':count اونÛ|:count اونÛ',
+ 'w' => ':countاونÛ|:countاونÛ',
+ 'day' => ':count ورÚ|:count ورÚÙŠ',
+ 'd' => ':countورÚ|:countورÚÙŠ',
+ 'hour' => ':count ساعت|:count ساعته',
+ 'h' => ':countساعت|:countساعته',
+ 'minute' => ':count دقيقه|:count دقيقÛ',
+ 'min' => ':countدقيقه|:countدقيقÛ',
+ 'second' => ':count ثانيه|:count ثانيÛ',
+ 's' => ':countثانيه|:countثانيÛ',
+ 'ago' => ':time دمخه',
+ 'from_now' => ':time له اوس څخه',
+ 'after' => ':time وروسته',
+ 'before' => ':time دمخه',
+ 'list' => ['، ', ' او '],
+ 'meridiem' => ['غ.م.', 'غ.و.'],
+ 'weekdays' => ['اتوار', 'ګل', 'نهه', 'شورو', 'زيارت', 'جمعه', 'خالي'],
+ 'weekdays_short' => ['ا', 'ګ', 'ن', 'ش', 'ز', 'ج', 'خ'],
+ 'weekdays_min' => ['ا', 'ګ', 'ن', 'ش', 'ز', 'ج', 'خ'],
+ 'months' => ['جنوري', 'ÙØ¨Ø±ÙˆØ±ÙŠ', 'مارچ', 'اپریل', 'Ù…Û', 'جون', 'جولای', 'اگست', 'سÛپتمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنوري', 'ÙØ¨Ø±ÙˆØ±ÙŠ', 'مارچ', 'اپریل', 'Ù…Û', 'جون', 'جولای', 'اگست', 'سÛپتمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_standalone' => ['جنوري', 'ÙÛØ¨Ø±ÙˆØ±ÙŠ', 'مارچ', 'اپریل', 'Ù…Û', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_short_standalone' => ['جنوري', 'ÙØ¨Ø±ÙˆØ±ÙŠ', 'مارچ', 'اپریل', 'Ù…Û', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'first_day_of_week' => 6,
+ 'weekend' => [4, 5],
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'YYYY/M/d',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'د YYYY د MMMM D H:mm',
+ 'LLLL' => 'dddd د YYYY د MMMM D H:mm',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php b/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php
new file mode 100644
index 0000000..6ec5180
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ps.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt.php
new file mode 100644
index 0000000..bb6359b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt.php
@@ -0,0 +1,116 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Cassiano Montanari
+ * - Matt Pope
+ * - François B
+ * - Prodis
+ * - JD Isaacks
+ * - Raphael Amorim
+ * - João Magalhães
+ * - victortobias
+ * - Paulo Freitas
+ * - Sebastian Thierer
+ * - Claudson Martins (claudsonm)
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count ano|:count anos',
+ 'a_year' => 'um ano|:count anos',
+ 'y' => ':counta',
+ 'month' => ':count mês|:count meses',
+ 'a_month' => 'um mês|:count meses',
+ 'm' => ':countm',
+ 'week' => ':count semana|:count semanas',
+ 'a_week' => 'uma semana|:count semanas',
+ 'w' => ':countsem',
+ 'day' => ':count dia|:count dias',
+ 'a_day' => 'um dia|:count dias',
+ 'd' => ':countd',
+ 'hour' => ':count hora|:count horas',
+ 'a_hour' => 'uma hora|:count horas',
+ 'h' => ':counth',
+ 'minute' => ':count minuto|:count minutos',
+ 'a_minute' => 'um minuto|:count minutos',
+ 'min' => ':countmin',
+ 'second' => ':count segundo|:count segundos',
+ 'a_second' => 'alguns segundos|:count segundos',
+ 's' => ':counts',
+ 'millisecond' => ':count milissegundo|:count milissegundos',
+ 'a_millisecond' => 'um milissegundo|:count milissegundos',
+ 'ms' => ':countms',
+ 'microsecond' => ':count microssegundo|:count microssegundos',
+ 'a_microsecond' => 'um microssegundo|:count microssegundos',
+ 'µs' => ':countµs',
+ 'ago' => 'há :time',
+ 'from_now' => 'em :time',
+ 'after' => ':time depois',
+ 'before' => ':time antes',
+ 'diff_now' => 'agora',
+ 'diff_today' => 'Hoje',
+ 'diff_today_regexp' => 'Hoje(?:\\s+Ã s)?',
+ 'diff_yesterday' => 'ontem',
+ 'diff_yesterday_regexp' => 'Ontem(?:\\s+Ã s)?',
+ 'diff_tomorrow' => 'amanhã',
+ 'diff_tomorrow_regexp' => 'Amanhã(?:\\s+à s)?',
+ 'diff_before_yesterday' => 'anteontem',
+ 'diff_after_tomorrow' => 'depois de amanhã',
+ 'period_recurrences' => 'uma vez|:count vezes',
+ 'period_interval' => 'cada :interval',
+ 'period_start_date' => 'de :date',
+ 'period_end_date' => 'até :date',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D [de] MMMM [de] YYYY',
+ 'LLL' => 'D [de] MMMM [de] YYYY HH:mm',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Hoje à s] LT',
+ 'nextDay' => '[Amanhã à s] LT',
+ 'nextWeek' => 'dddd [Ã s] LT',
+ 'lastDay' => '[Ontem à s] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ case 6:
+ return '[Último] dddd [à s] LT';
+ default:
+ return '[Última] dddd [à s] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberº',
+ 'months' => ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'],
+ 'months_short' => ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'],
+ 'weekdays' => ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado'],
+ 'weekdays_short' => ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'],
+ 'weekdays_min' => ['Do', '2ª', '3ª', '4ª', '5ª', '6ª', 'Sá'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' e '],
+ 'ordinal_words' => [
+ 'of' => 'de',
+ 'first' => 'primeira',
+ 'second' => 'segunda',
+ 'third' => 'terceira',
+ 'fourth' => 'quarta',
+ 'fifth' => 'quinta',
+ 'last' => 'última',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
new file mode 100644
index 0000000..e917c5c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
@@ -0,0 +1,39 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Cassiano Montanari
+ * - Eduardo Dalla Vecchia
+ * - David Rodrigues
+ * - Matt Pope
+ * - François B
+ * - Prodis
+ * - Marlon Maxwel
+ * - JD Isaacks
+ * - Raphael Amorim
+ * - Rafael Raupp
+ * - felipeleite1
+ * - swalker
+ * - Lucas Macedo
+ * - Paulo Freitas
+ * - Sebastian Thierer
+ */
+return array_replace_recursive(require __DIR__.'/pt.php', [
+ 'period_recurrences' => 'uma|:count vez',
+ 'period_interval' => 'toda :interval',
+ 'formats' => [
+ 'LLL' => 'D [de] MMMM [de] YYYY [Ã s] HH:mm',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY [Ã s] HH:mm',
+ ],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php
new file mode 100644
index 0000000..f2b5eab
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/pt.php', [
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'LLL' => 'D [de] MMMM [de] YYYY, h:mm a',
+ 'LLLL' => 'dddd, D [de] MMMM [de] YYYY, h:mm a',
+ ],
+ 'first_day_of_week' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php
new file mode 100644
index 0000000..fbc0c97
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/pt.php', [
+ 'first_day_of_week' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_PT.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_PT.php
new file mode 100644
index 0000000..2a76fc1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_PT.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RAP bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/pt.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'],
+ 'months_short' => ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'],
+ 'weekdays' => ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'],
+ 'weekdays_short' => ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'],
+ 'weekdays_min' => ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php
new file mode 100644
index 0000000..22c01ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/qu.php b/vendor/nesbot/carbon/src/Carbon/Lang/qu.php
new file mode 100644
index 0000000..65278cd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/qu.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/es_UY.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM, YYYY HH:mm',
+ ],
+ 'first_day_of_week' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php b/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php
new file mode 100644
index 0000000..d5db6bf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/qu.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php b/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php
new file mode 100644
index 0000000..d5db6bf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/qu.php', [
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/quz.php b/vendor/nesbot/carbon/src/Carbon/Lang/quz.php
new file mode 100644
index 0000000..1640c02
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/quz.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/quz_PE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/quz_PE.php b/vendor/nesbot/carbon/src/Carbon/Lang/quz_PE.php
new file mode 100644
index 0000000..d322918
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/quz_PE.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Sugar Labs // OLPC sugarlabs.org libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['iniru', 'phiwriru', 'marsu', 'awril', 'mayu', 'huniyu', 'huliyu', 'agustu', 'siptiyimri', 'uktuwri', 'nuwiyimri', 'tisiyimri'],
+ 'months_short' => ['ini', 'phi', 'mar', 'awr', 'may', 'hun', 'hul', 'agu', 'sip', 'ukt', 'nuw', 'tis'],
+ 'weekdays' => ['tuminku', 'lunis', 'martis', 'miyirkulis', 'juywis', 'wiyirnis', 'sawatu'],
+ 'weekdays_short' => ['tum', 'lun', 'mar', 'miy', 'juy', 'wiy', 'saw'],
+ 'weekdays_min' => ['tum', 'lun', 'mar', 'miy', 'juy', 'wiy', 'saw'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'minute' => ':count uchuy', // less reliable
+ 'min' => ':count uchuy', // less reliable
+ 'a_minute' => ':count uchuy', // less reliable
+
+ 'year' => ':count wata',
+ 'y' => ':count wata',
+ 'a_year' => ':count wata',
+
+ 'month' => ':count killa',
+ 'm' => ':count killa',
+ 'a_month' => ':count killa',
+
+ 'week' => ':count simana',
+ 'w' => ':count simana',
+ 'a_week' => ':count simana',
+
+ 'day' => ':count pʼunchaw',
+ 'd' => ':count pʼunchaw',
+ 'a_day' => ':count pʼunchaw',
+
+ 'hour' => ':count ura',
+ 'h' => ':count ura',
+ 'a_hour' => ':count ura',
+
+ 'second' => ':count iskay ñiqin',
+ 's' => ':count iskay ñiqin',
+ 'a_second' => ':count iskay ñiqin',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/raj.php b/vendor/nesbot/carbon/src/Carbon/Lang/raj.php
new file mode 100644
index 0000000..26138c9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/raj.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/raj_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/raj_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/raj_IN.php
new file mode 100644
index 0000000..7b4589c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/raj_IN.php
@@ -0,0 +1,47 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - meghrajsuthar03@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆà¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितंबर', 'अकà¥à¤Ÿà¥‚बर', 'नवंबर', 'दिसंबर'],
+ 'months_short' => ['जन', 'फर', 'मारà¥à¤š', 'अपà¥à¤°à¥ˆ', 'मई', 'जून', 'जà¥à¤²', 'अग', 'सित', 'अकà¥à¤Ÿà¥‚', 'नव', 'दिस'],
+ 'weekdays' => ['रविवार', 'सोमवार', 'मंगलà¥à¤²à¤µà¤¾à¤°', 'बà¥à¤§à¤µà¤¾à¤°', 'बृहसà¥à¤ªà¤¤à¤¿à¤µà¤¾à¤°', 'शà¥à¤•à¥à¤°à¤µà¤¾à¤°', 'शनिवार'],
+ 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'बृहसà¥à¤ªà¤¤à¤¿', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बà¥à¤§', 'बृहसà¥à¤ªà¤¤à¤¿', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+
+ 'year' => ':count आंहू', // less reliable
+ 'y' => ':count आंहू', // less reliable
+ 'a_year' => ':count आंहू', // less reliable
+
+ 'month' => ':count सूरज', // less reliable
+ 'm' => ':count सूरज', // less reliable
+ 'a_month' => ':count सूरज', // less reliable
+
+ 'week' => ':count निवाज', // less reliable
+ 'w' => ':count निवाज', // less reliable
+ 'a_week' => ':count निवाज', // less reliable
+
+ 'day' => ':count अेक', // less reliable
+ 'd' => ':count अेक', // less reliable
+ 'a_day' => ':count अेक', // less reliable
+
+ 'hour' => ':count दà¥à¤¨à¤¿à¤¯à¤¾à¤‚ण', // less reliable
+ 'h' => ':count दà¥à¤¨à¤¿à¤¯à¤¾à¤‚ण', // less reliable
+ 'a_hour' => ':count दà¥à¤¨à¤¿à¤¯à¤¾à¤‚ण', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rm.php b/vendor/nesbot/carbon/src/Carbon/Lang/rm.php
new file mode 100644
index 0000000..1843f45
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rm.php
@@ -0,0 +1,51 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - tjku
+ * - Max Melentiev
+ * - Juanito Fatas
+ * - Tsutomu Kuroda
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Nicolás Hock Isaza
+ * - sebastian de castelberg
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'Do MMMM YYYY',
+ 'LLL' => 'Do MMMM, HH:mm [Uhr]',
+ 'LLLL' => 'dddd, Do MMMM YYYY, HH:mm [Uhr]',
+ ],
+ 'year' => ':count onn|:count onns',
+ 'month' => ':count mais',
+ 'week' => ':count emna|:count emnas',
+ 'day' => ':count di|:count dis',
+ 'hour' => ':count oura|:count ouras',
+ 'minute' => ':count minuta|:count minutas',
+ 'second' => ':count secunda|:count secundas',
+ 'weekdays' => ['dumengia', 'glindesdi', 'mardi', 'mesemna', 'gievgia', 'venderdi', 'sonda'],
+ 'weekdays_short' => ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'],
+ 'weekdays_min' => ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'],
+ 'months' => ['schaner', 'favrer', 'mars', 'avrigl', 'matg', 'zercladur', 'fanadur', 'avust', 'settember', 'october', 'november', 'december'],
+ 'months_short' => ['schan', 'favr', 'mars', 'avr', 'matg', 'zercl', 'fan', 'avust', 'sett', 'oct', 'nov', 'dec'],
+ 'meridiem' => ['avantmezdi', 'suentermezdi'],
+ 'list' => [', ', ' e '],
+ 'first_day_of_week' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rn.php b/vendor/nesbot/carbon/src/Carbon/Lang/rn.php
new file mode 100644
index 0000000..8ab958e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rn.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Z.MU.', 'Z.MW.'],
+ 'weekdays' => ['Ku w’indwi', 'Ku wa mbere', 'Ku wa kabiri', 'Ku wa gatatu', 'Ku wa kane', 'Ku wa gatanu', 'Ku wa gatandatu'],
+ 'weekdays_short' => ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'],
+ 'weekdays_min' => ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'],
+ 'months' => ['Nzero', 'Ruhuhuma', 'Ntwarante', 'Ndamukiza', 'Rusama', 'Ruheshi', 'Mukakaro', 'Nyandagaro', 'Nyakanga', 'Gitugutu', 'Munyonyo', 'Kigarama'],
+ 'months_short' => ['Mut.', 'Gas.', 'Wer.', 'Mat.', 'Gic.', 'Kam.', 'Nya.', 'Kan.', 'Nze.', 'Ukw.', 'Ugu.', 'Uku.'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => 'imyaka :count',
+ 'y' => 'imyaka :count',
+ 'a_year' => 'imyaka :count',
+
+ 'month' => 'amezi :count',
+ 'm' => 'amezi :count',
+ 'a_month' => 'amezi :count',
+
+ 'week' => 'indwi :count',
+ 'w' => 'indwi :count',
+ 'a_week' => 'indwi :count',
+
+ 'day' => 'imisi :count',
+ 'd' => 'imisi :count',
+ 'a_day' => 'imisi :count',
+
+ 'hour' => 'amasaha :count',
+ 'h' => 'amasaha :count',
+ 'a_hour' => 'amasaha :count',
+
+ 'minute' => 'iminuta :count',
+ 'min' => 'iminuta :count',
+ 'a_minute' => 'iminuta :count',
+
+ 'second' => 'inguvu :count', // less reliable
+ 's' => 'inguvu :count', // less reliable
+ 'a_second' => 'inguvu :count', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ro.php b/vendor/nesbot/carbon/src/Carbon/Lang/ro.php
new file mode 100644
index 0000000..868a327
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ro.php
@@ -0,0 +1,77 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ * - Cătălin Georgescu
+ * - Valentin IvaÅŸcu (oriceon)
+ */
+return [
+ 'year' => ':count an|:count ani|:count ani',
+ 'a_year' => 'un an|:count ani|:count ani',
+ 'y' => ':count a.',
+ 'month' => ':count lună|:count luni|:count luni',
+ 'a_month' => 'o lună|:count luni|:count luni',
+ 'm' => ':count l.',
+ 'week' => ':count săptămână|:count săptămâni|:count săptămâni',
+ 'a_week' => 'o săptămână|:count săptămâni|:count săptămâni',
+ 'w' => ':count săp.',
+ 'day' => ':count zi|:count zile|:count zile',
+ 'a_day' => 'o zi|:count zile|:count zile',
+ 'd' => ':count z.',
+ 'hour' => ':count oră|:count ore|:count ore',
+ 'a_hour' => 'o oră|:count ore|:count ore',
+ 'h' => ':count o.',
+ 'minute' => ':count minut|:count minute|:count minute',
+ 'a_minute' => 'un minut|:count minute|:count minute',
+ 'min' => ':count m.',
+ 'second' => ':count secundă|:count secunde|:count secunde',
+ 'a_second' => 'câteva secunde|:count secunde|:count secunde',
+ 's' => ':count sec.',
+ 'ago' => ':time în urmă',
+ 'from_now' => 'peste :time',
+ 'after' => 'peste :time',
+ 'before' => 'acum :time',
+ 'diff_now' => 'acum',
+ 'diff_today' => 'azi',
+ 'diff_today_regexp' => 'azi(?:\\s+la)?',
+ 'diff_yesterday' => 'ieri',
+ 'diff_yesterday_regexp' => 'ieri(?:\\s+la)?',
+ 'diff_tomorrow' => 'mâine',
+ 'diff_tomorrow_regexp' => 'mâine(?:\\s+la)?',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[azi la] LT',
+ 'nextDay' => '[mâine la] LT',
+ 'nextWeek' => 'dddd [la] LT',
+ 'lastDay' => '[ieri la] LT',
+ 'lastWeek' => '[fosta] dddd [la] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'],
+ 'months_short' => ['ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'],
+ 'weekdays' => ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'],
+ 'weekdays_short' => ['dum', 'lun', 'mar', 'mie', 'joi', 'vin', 'sâm'],
+ 'weekdays_min' => ['du', 'lu', 'ma', 'mi', 'jo', 'vi', 'sâ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' și '],
+ 'meridiem' => ['a.m.', 'p.m.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php
new file mode 100644
index 0000000..ad1d2fa
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ro.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php
new file mode 100644
index 0000000..102afcd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ro.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rof.php b/vendor/nesbot/carbon/src/Carbon/Lang/rof.php
new file mode 100644
index 0000000..205fc26
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rof.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['kang’ama', 'kingoto'],
+ 'weekdays' => ['Ijumapili', 'Ijumatatu', 'Ijumanne', 'Ijumatano', 'Alhamisi', 'Ijumaa', 'Ijumamosi'],
+ 'weekdays_short' => ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'],
+ 'weekdays_min' => ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'],
+ 'months' => ['Mweri wa kwanza', 'Mweri wa kaili', 'Mweri wa katatu', 'Mweri wa kaana', 'Mweri wa tanu', 'Mweri wa sita', 'Mweri wa saba', 'Mweri wa nane', 'Mweri wa tisa', 'Mweri wa ikumi', 'Mweri wa ikumi na moja', 'Mweri wa ikumi na mbili'],
+ 'months_short' => ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8', 'M9', 'M10', 'M11', 'M12'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru.php
new file mode 100644
index 0000000..673b043
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru.php
@@ -0,0 +1,191 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Bari Badamshin
+ * - Jørn Ølmheim
+ * - François B
+ * - Tim Fish
+ * - Коренберг Марк (imac)
+ * - Serhan Apaydın
+ * - RomeroMsk
+ * - vsn4ik
+ * - JD Isaacks
+ * - Bari Badamshin
+ * - Jørn Ølmheim
+ * - François B
+ * - Коренберг Марк (imac)
+ * - Serhan Apaydın
+ * - RomeroMsk
+ * - vsn4ik
+ * - JD Isaacks
+ * - Fellzo
+ * - andrey-helldar
+ * - Pavel Skripkin (psxx)
+ * - AlexWalkerson
+ * - Vladislav UnsealedOne
+ * - dima-bzz
+ */
+
+use Carbon\CarbonInterface;
+
+$transformDiff = function ($input) {
+ return strtr($input, [
+ 'неделÑ' => 'неделю',
+ 'Ñекунда' => 'Ñекунду',
+ 'минута' => 'минуту',
+ ]);
+};
+
+return [
+ 'year' => ':count год|:count года|:count лет',
+ 'y' => ':count г.|:count г.|:count л.',
+ 'a_year' => '{1}год|:count год|:count года|:count лет',
+ 'month' => ':count меÑÑц|:count меÑÑца|:count меÑÑцев',
+ 'm' => ':count меÑ.',
+ 'a_month' => '{1}меÑÑц|:count меÑÑц|:count меÑÑца|:count меÑÑцев',
+ 'week' => ':count неделÑ|:count недели|:count недель',
+ 'w' => ':count нед.',
+ 'a_week' => '{1}неделÑ|:count неделю|:count недели|:count недель',
+ 'day' => ':count день|:count днÑ|:count дней',
+ 'd' => ':count д.',
+ 'a_day' => '{1}день|:count день|:count днÑ|:count дней',
+ 'hour' => ':count чаÑ|:count чаÑа|:count чаÑов',
+ 'h' => ':count ч.',
+ 'a_hour' => '{1}чаÑ|:count чаÑ|:count чаÑа|:count чаÑов',
+ 'minute' => ':count минута|:count минуты|:count минут',
+ 'min' => ':count мин.',
+ 'a_minute' => '{1}минута|:count минута|:count минуты|:count минут',
+ 'second' => ':count Ñекунда|:count Ñекунды|:count Ñекунд',
+ 's' => ':count Ñек.',
+ 'a_second' => '{1}неÑколько Ñекунд|:count Ñекунду|:count Ñекунды|:count Ñекунд',
+ 'ago' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' назад';
+ },
+ 'from_now' => function ($time) use ($transformDiff) {
+ return 'через '.$transformDiff($time);
+ },
+ 'after' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' поÑле';
+ },
+ 'before' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' до';
+ },
+ 'diff_now' => 'только что',
+ 'diff_today' => 'СегоднÑ,',
+ 'diff_today_regexp' => 'СегоднÑ,?(?:\\s+в)?',
+ 'diff_yesterday' => 'вчера',
+ 'diff_yesterday_regexp' => 'Вчера,?(?:\\s+в)?',
+ 'diff_tomorrow' => 'завтра',
+ 'diff_tomorrow_regexp' => 'Завтра,?(?:\\s+в)?',
+ 'diff_before_yesterday' => 'позавчера',
+ 'diff_after_tomorrow' => 'поÑлезавтра',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY г.',
+ 'LLL' => 'D MMMM YYYY г., H:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY г., H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[СегоднÑ, в] LT',
+ 'nextDay' => '[Завтра, в] LT',
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) {
+ if ($current->week !== $other->week) {
+ switch ($current->dayOfWeek) {
+ case 0:
+ return '[Ð’ Ñледующее] dddd, [в] LT';
+ case 1:
+ case 2:
+ case 4:
+ return '[Ð’ Ñледующий] dddd, [в] LT';
+ case 3:
+ case 5:
+ case 6:
+ return '[Ð’ Ñледующую] dddd, [в] LT';
+ }
+ }
+
+ if ($current->dayOfWeek === 2) {
+ return '[Во] dddd, [в] LT';
+ }
+
+ return '[В] dddd, [в] LT';
+ },
+ 'lastDay' => '[Вчера, в] LT',
+ 'lastWeek' => function (CarbonInterface $current, CarbonInterface $other) {
+ if ($current->week !== $other->week) {
+ switch ($current->dayOfWeek) {
+ case 0:
+ return '[В прошлое] dddd, [в] LT';
+ case 1:
+ case 2:
+ case 4:
+ return '[В прошлый] dddd, [в] LT';
+ case 3:
+ case 5:
+ case 6:
+ return '[В прошлую] dddd, [в] LT';
+ }
+ }
+
+ if ($current->dayOfWeek === 2) {
+ return '[Во] dddd, [в] LT';
+ }
+
+ return '[В] dddd, [в] LT';
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'M':
+ case 'd':
+ case 'DDD':
+ return $number.'-й';
+ case 'D':
+ return $number.'-го';
+ case 'w':
+ case 'W':
+ return $number.'-Ñ';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'ночи';
+ }
+ if ($hour < 12) {
+ return 'утра';
+ }
+ if ($hour < 17) {
+ return 'днÑ';
+ }
+
+ return 'вечера';
+ },
+ 'months' => ['ÑнварÑ', 'февралÑ', 'марта', 'апрелÑ', 'маÑ', 'июнÑ', 'июлÑ', 'авгуÑта', 'ÑентÑбрÑ', 'октÑбрÑ', 'ноÑбрÑ', 'декабрÑ'],
+ 'months_standalone' => ['Ñнварь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'авгуÑÑ‚', 'ÑентÑбрь', 'октÑбрь', 'ноÑбрь', 'декабрь'],
+ 'months_short' => ['Ñнв', 'фев', 'мар', 'апр', 'маÑ', 'июн', 'июл', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'months_short_standalone' => ['Ñнв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'months_regexp' => '/(DD?o?\.?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => ['воÑкреÑенье', 'понедельник', 'вторник', 'Ñреду', 'четверг', 'пÑтницу', 'Ñубботу'],
+ 'weekdays_standalone' => ['воÑкреÑенье', 'понедельник', 'вторник', 'Ñреда', 'четверг', 'пÑтница', 'Ñуббота'],
+ 'weekdays_short' => ['вÑк', 'пнд', 'втр', 'Ñрд', 'чтв', 'птн', 'Ñбт'],
+ 'weekdays_min' => ['вÑ', 'пн', 'вт', 'ÑÑ€', 'чт', 'пт', 'Ñб'],
+ 'weekdays_regexp' => '/\[\s*(Ð’|в)\s*((?:прошлую|Ñледующую|Ñту)\s*)?\]\s*dddd/',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' и '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php
new file mode 100644
index 0000000..8ca7df3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php
new file mode 100644
index 0000000..8ca7df3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php
new file mode 100644
index 0000000..8ca7df3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php
new file mode 100644
index 0000000..8ca7df3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php
new file mode 100644
index 0000000..8ca7df3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_UA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_UA.php
new file mode 100644
index 0000000..db958d6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_UA.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - RFC 2319 bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/ru.php', [
+ 'weekdays' => ['воÑкреÑенье', 'понедельник', 'вторник', 'Ñреда', 'четверг', 'пÑтница', 'Ñуббота'],
+ 'weekdays_short' => ['вÑк', 'пнд', 'вто', 'Ñрд', 'чтв', 'птн', 'Ñуб'],
+ 'weekdays_min' => ['вÑ', 'пн', 'вт', 'ÑÑ€', 'чт', 'пт', 'Ñу'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rw.php b/vendor/nesbot/carbon/src/Carbon/Lang/rw.php
new file mode 100644
index 0000000..bc4a347
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rw.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/rw_RW.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rw_RW.php b/vendor/nesbot/carbon/src/Carbon/Lang/rw_RW.php
new file mode 100644
index 0000000..9b3e068
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rw_RW.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Rwanda Steve Murphy murf@e-tools.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Mutarama', 'Gashyantare', 'Werurwe', 'Mata', 'Gicuransi', 'Kamena', 'Nyakanga', 'Kanama', 'Nzeli', 'Ukwakira', 'Ugushyingo', 'Ukuboza'],
+ 'months_short' => ['Mut', 'Gas', 'Wer', 'Mat', 'Gic', 'Kam', 'Nya', 'Kan', 'Nze', 'Ukw', 'Ugu', 'Uku'],
+ 'weekdays' => ['Ku cyumweru', 'Kuwa mbere', 'Kuwa kabiri', 'Kuwa gatatu', 'Kuwa kane', 'Kuwa gatanu', 'Kuwa gatandatu'],
+ 'weekdays_short' => ['Mwe', 'Mbe', 'Kab', 'Gtu', 'Kan', 'Gnu', 'Gnd'],
+ 'weekdays_min' => ['Mwe', 'Mbe', 'Kab', 'Gtu', 'Kan', 'Gnu', 'Gnd'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'second' => ':count vuna', // less reliable
+ 's' => ':count vuna', // less reliable
+ 'a_second' => ':count vuna', // less reliable
+
+ 'year' => 'aka :count',
+ 'y' => 'aka :count',
+ 'a_year' => 'aka :count',
+
+ 'month' => 'ezi :count',
+ 'm' => 'ezi :count',
+ 'a_month' => 'ezi :count',
+
+ 'week' => ':count icyumweru',
+ 'w' => ':count icyumweru',
+ 'a_week' => ':count icyumweru',
+
+ 'day' => ':count nsi',
+ 'd' => ':count nsi',
+ 'a_day' => ':count nsi',
+
+ 'hour' => 'saha :count',
+ 'h' => 'saha :count',
+ 'a_hour' => 'saha :count',
+
+ 'minute' => ':count -nzinya',
+ 'min' => ':count -nzinya',
+ 'a_minute' => ':count -nzinya',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php b/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php
new file mode 100644
index 0000000..ed92e8e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['utuko', 'kyiukonyi'],
+ 'weekdays' => ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sa.php b/vendor/nesbot/carbon/src/Carbon/Lang/sa.php
new file mode 100644
index 0000000..1357c03
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sa.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sa_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sa_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/sa_IN.php
new file mode 100644
index 0000000..cfda9a6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sa_IN.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - The Debian project Christian Perrier bubulle@debian.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D-MM-YY',
+ ],
+ 'months' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'months_short' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'weekdays' => ['रविवासर:', 'सोमवासर:', 'मंगलवासर:', 'बà¥à¤§à¤µà¤¾à¤¸à¤°:', 'बृहसà¥à¤ªà¤¤à¤¿à¤µà¤¾à¤¸à¤°à¤ƒ', 'शà¥à¤•à¥à¤°à¤µà¤¾à¤¸à¤°', 'शनिवासर:'],
+ 'weekdays_short' => ['रविः', 'सोम:', 'मंगल:', 'बà¥à¤§:', 'बृहसà¥à¤ªà¤¤à¤¿à¤ƒ', 'शà¥à¤•à¥à¤°', 'शनि:'],
+ 'weekdays_min' => ['रविः', 'सोम:', 'मंगल:', 'बà¥à¤§:', 'बृहसà¥à¤ªà¤¤à¤¿à¤ƒ', 'शà¥à¤•à¥à¤°', 'शनि:'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+
+ 'minute' => ':count होरा', // less reliable
+ 'min' => ':count होरा', // less reliable
+ 'a_minute' => ':count होरा', // less reliable
+
+ 'year' => ':count वरà¥à¤·',
+ 'y' => ':count वरà¥à¤·',
+ 'a_year' => ':count वरà¥à¤·',
+
+ 'month' => ':count मास',
+ 'm' => ':count मास',
+ 'a_month' => ':count मास',
+
+ 'week' => ':count सपà¥à¤¤à¤¾à¤¹à¤ƒ saptahaÄ¥',
+ 'w' => ':count सपà¥à¤¤à¤¾à¤¹à¤ƒ saptahaÄ¥',
+ 'a_week' => ':count सपà¥à¤¤à¤¾à¤¹à¤ƒ saptahaÄ¥',
+
+ 'day' => ':count दिन',
+ 'd' => ':count दिन',
+ 'a_day' => ':count दिन',
+
+ 'hour' => ':count घणà¥à¤Ÿà¤¾',
+ 'h' => ':count घणà¥à¤Ÿà¤¾',
+ 'a_hour' => ':count घणà¥à¤Ÿà¤¾',
+
+ 'second' => ':count दà¥à¤µà¤¿à¤¤à¥€à¤¯à¤ƒ',
+ 's' => ':count दà¥à¤µà¤¿à¤¤à¥€à¤¯à¤ƒ',
+ 'a_second' => ':count दà¥à¤µà¤¿à¤¤à¥€à¤¯à¤ƒ',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sah.php b/vendor/nesbot/carbon/src/Carbon/Lang/sah.php
new file mode 100644
index 0000000..b828824
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sah.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sah_RU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sah_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/sah_RU.php
new file mode 100644
index 0000000..94cc0cb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sah_RU.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Valery Timiriliyev Valery Timiriliyev timiriliyev@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/ru.php', [
+ 'formats' => [
+ 'L' => 'YYYY.MM.DD',
+ ],
+ 'months' => ['тохÑунньу', 'олунньу', 'кулун тутар', 'Ð¼ÑƒÑƒÑ ÑƒÑтар', 'ыам ыйын', 'бÑÑ Ñ‹Ð¹Ñ‹Ð½', 'от ыйын', 'атырдьах ыйын', 'балаҕан ыйын', 'алтынньы', 'ÑÑтинньи', 'ахÑынньы'],
+ 'months_short' => ['тохÑ', 'олун', 'кул', 'мууÑ', 'ыам', 'бÑÑ', 'от', 'атыр', 'бал', 'алт', 'ÑÑÑ‚', 'ахÑ'],
+ 'weekdays' => ['баÑкыһыанньа', 'бÑнидиÑнньик', 'оптуорунньук', 'ÑÑÑ€ÑдÑ', 'чÑппиÑÑ€', 'бÑÑтинÑÑ', 'Ñубуота'],
+ 'weekdays_short' => ['бÑ', 'бн', 'оп', 'ÑÑ€', 'чп', 'бт', 'Ñб'],
+ 'weekdays_min' => ['бÑ', 'бн', 'оп', 'ÑÑ€', 'чп', 'бт', 'Ñб'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/saq.php b/vendor/nesbot/carbon/src/Carbon/Lang/saq.php
new file mode 100644
index 0000000..ff8bf60
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/saq.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Tesiran', 'Teipa'],
+ 'weekdays' => ['Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', 'Mderot ee ile', 'Mderot ee sapa', 'Mderot ee kwe'],
+ 'weekdays_short' => ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'],
+ 'weekdays_min' => ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'],
+ 'months' => ['Lapa le obo', 'Lapa le waare', 'Lapa le okuni', 'Lapa le ong’wan', 'Lapa le imet', 'Lapa le ile', 'Lapa le sapa', 'Lapa le isiet', 'Lapa le saal', 'Lapa le tomon', 'Lapa le tomon obo', 'Lapa le tomon waare'],
+ 'months_short' => ['Obo', 'Waa', 'Oku', 'Ong', 'Ime', 'Ile', 'Sap', 'Isi', 'Saa', 'Tom', 'Tob', 'Tow'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sat.php b/vendor/nesbot/carbon/src/Carbon/Lang/sat.php
new file mode 100644
index 0000000..c9914c6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sat.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sat_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sat_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/sat_IN.php
new file mode 100644
index 0000000..632b1af
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sat_IN.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat Pune libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अखथबर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'months_short' => ['जनवरी', 'फरवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जà¥à¤¨', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अखथबर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'weekdays' => ['सिंगेमाà¤à¤¹à¤¾à¤', 'ओतेमाà¤à¤¹à¤¾à¤', 'बालेमाà¤à¤¹à¤¾à¤', 'सागà¥à¤¨à¤®à¤¾à¤à¤¹à¤¾à¤', 'सारदीमाà¤à¤¹à¤¾à¤', 'जारà¥à¤®à¤®à¤¾à¤à¤¹à¤¾à¤', 'ञà¥à¤¹à¥à¤®à¤®à¤¾à¤à¤¹à¤¾à¤'],
+ 'weekdays_short' => ['सिंगे', 'ओते', 'बाले', 'सागà¥à¤¨', 'सारदी', 'जारà¥à¤®', 'ञà¥à¤¹à¥à¤®'],
+ 'weekdays_min' => ['सिंगे', 'ओते', 'बाले', 'सागà¥à¤¨', 'सारदी', 'जारà¥à¤®', 'ञà¥à¤¹à¥à¤®'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'month' => ':count ńindạ cando', // less reliable
+ 'm' => ':count ńindạ cando', // less reliable
+ 'a_month' => ':count ńindạ cando', // less reliable
+
+ 'week' => ':count mãhã', // less reliable
+ 'w' => ':count mãhã', // less reliable
+ 'a_week' => ':count mãhã', // less reliable
+
+ 'hour' => ':count ᱥᱳᱱᱚ', // less reliable
+ 'h' => ':count ᱥᱳᱱᱚ', // less reliable
+ 'a_hour' => ':count ᱥᱳᱱᱚ', // less reliable
+
+ 'minute' => ':count ᱯᱤᱞᱪᱩ', // less reliable
+ 'min' => ':count ᱯᱤᱞᱪᱩ', // less reliable
+ 'a_minute' => ':count ᱯᱤᱞᱪᱩ', // less reliable
+
+ 'second' => ':count ar', // less reliable
+ 's' => ':count ar', // less reliable
+ 'a_second' => ':count ar', // less reliable
+
+ 'year' => ':count ne̲s',
+ 'y' => ':count ne̲s',
+ 'a_year' => ':count ne̲s',
+
+ 'day' => ':count ᱫᱤᱱ',
+ 'd' => ':count ᱫᱤᱱ',
+ 'a_day' => ':count ᱫᱤᱱ',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php b/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php
new file mode 100644
index 0000000..e29ca37
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Lwamilawu', 'Pashamihe'],
+ 'weekdays' => ['Mulungu', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alahamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'months' => ['Mupalangulwa', 'Mwitope', 'Mushende', 'Munyi', 'Mushende Magali', 'Mujimbi', 'Mushipepo', 'Mupuguto', 'Munyense', 'Mokhu', 'Musongandembwe', 'Muhaano'],
+ 'months_short' => ['Mup', 'Mwi', 'Msh', 'Mun', 'Mag', 'Muj', 'Msp', 'Mpg', 'Mye', 'Mok', 'Mus', 'Muh'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sc.php b/vendor/nesbot/carbon/src/Carbon/Lang/sc.php
new file mode 100644
index 0000000..7178cf4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sc.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sc_IT.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sc_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/sc_IT.php
new file mode 100644
index 0000000..5d1e4ce
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sc_IT.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Sardinian Translators Team Massimeddu Cireddu massimeddu@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD. MM. YY',
+ ],
+ 'months' => ['Ghennà rgiu', 'Freà rgiu', 'Martzu', 'Abrile', 'Maju', 'Là mpadas', 'Argiolas//Trìulas', 'Austu', 'Cabudanni', 'Santugaine//Ladà mine', 'Onniasantu//Santandria', 'Nadale//Idas'],
+ 'months_short' => ['Ghe', 'Fre', 'Mar', 'Abr', 'Maj', 'LÃ m', 'Arg', 'Aus', 'Cab', 'Lad', 'Onn', 'Nad'],
+ 'weekdays' => ['Domìnigu', 'Lunis', 'Martis', 'Mèrcuris', 'Giòbia', 'Chenà bura', 'Sà badu'],
+ 'weekdays_short' => ['Dom', 'Lun', 'Mar', 'Mèr', 'Giò', 'Che', 'Sà b'],
+ 'weekdays_min' => ['Dom', 'Lun', 'Mar', 'Mèr', 'Giò', 'Che', 'Sà b'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'minute' => ':count mementu', // less reliable
+ 'min' => ':count mementu', // less reliable
+ 'a_minute' => ':count mementu', // less reliable
+
+ 'year' => ':count annu',
+ 'y' => ':count annu',
+ 'a_year' => ':count annu',
+
+ 'month' => ':count mese',
+ 'm' => ':count mese',
+ 'a_month' => ':count mese',
+
+ 'week' => ':count chida',
+ 'w' => ':count chida',
+ 'a_week' => ':count chida',
+
+ 'day' => ':count dÃ',
+ 'd' => ':count dÃ',
+ 'a_day' => ':count dÃ',
+
+ 'hour' => ':count ora',
+ 'h' => ':count ora',
+ 'a_hour' => ':count ora',
+
+ 'second' => ':count secundu',
+ 's' => ':count secundu',
+ 'a_second' => ':count secundu',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sd.php b/vendor/nesbot/carbon/src/Carbon/Lang/sd.php
new file mode 100644
index 0000000..0022c5a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sd.php
@@ -0,0 +1,81 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+$months = [
+ 'جنوري',
+ 'Ùيبروري',
+ 'مارچ',
+ 'اپريل',
+ 'مئي',
+ 'جون',
+ 'جولاءÙ',
+ 'آگسٽ',
+ 'سيپٽمبر',
+ 'آڪٽوبر',
+ 'نومبر',
+ 'ڊسمبر',
+];
+
+$weekdays = [
+ 'آچر',
+ 'سومر',
+ 'اڱارو',
+ 'اربع',
+ 'خميس',
+ 'جمع',
+ 'ڇنڇر',
+];
+
+/*
+ * Authors:
+ * - Narain Sagar
+ * - Sawood Alam
+ * - Narain Sagar
+ */
+return [
+ 'year' => '{1}'.'هڪ سال'.'|:count '.'سال',
+ 'month' => '{1}'.'هڪ مهينو'.'|:count '.'مهينا',
+ 'week' => '{1}'.'Ú¾Úª Ú¾ÙØªÙˆ'.'|:count '.'Ù‡ÙØªØ§',
+ 'day' => '{1}'.'Ù‡Úª Úينهن'.'|:count '.'Úينهن',
+ 'hour' => '{1}'.'هڪ ڪلاڪ'.'|:count '.'ڪلاڪ',
+ 'minute' => '{1}'.'هڪ منٽ'.'|:count '.'منٽ',
+ 'second' => '{1}'.'چند سيڪنڊ'.'|:count '.'سيڪنڊ',
+ 'ago' => ':time اڳ',
+ 'from_now' => ':time پوء',
+ 'diff_yesterday' => 'ڪالهه',
+ 'diff_today' => 'اڄ',
+ 'diff_tomorrow' => 'سڀاڻي',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd، D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[اڄ] LT',
+ 'nextDay' => '[سڀاڻي] LT',
+ 'nextWeek' => 'dddd [اڳين Ù‡ÙØªÙŠ ØªÙŠ] LT',
+ 'lastDay' => '[ڪالهه] LT',
+ 'lastWeek' => '[گزريل Ù‡ÙØªÙŠ] dddd [تي] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['صبØ', 'شام'],
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => $weekdays,
+ 'weekdays_short' => $weekdays,
+ 'weekdays_min' => $weekdays,
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => ['، ', ' ۽ '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sd_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/sd_IN.php
new file mode 100644
index 0000000..de1dad0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sd_IN.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat, Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/sd.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['جنوري', 'ÙØ¨Ø±ÙˆØ±ÙŠ', 'مارچ', 'اپريل', 'مي', 'جون', 'جولاءÙ', 'آگسٽ', 'سيپٽيمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر'],
+ 'months_short' => ['جنوري', 'ÙØ¨Ø±ÙˆØ±ÙŠ', 'مارچ', 'اپريل', 'مي', 'جون', 'جولاءÙ', 'آگسٽ', 'سيپٽيمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر'],
+ 'weekdays' => ['آرتوارÙ', 'سومرÙ', 'منگلÙ', 'Ù»ÙڌرÙ', 'وسپت', 'جÙمو', 'ڇنڇر'],
+ 'weekdays_short' => ['آرتوارÙ', 'سومرÙ', 'منگلÙ', 'Ù»ÙڌرÙ', 'وسپت', 'جÙمو', 'ڇنڇر'],
+ 'weekdays_min' => ['آرتوارÙ', 'سومرÙ', 'منگلÙ', 'Ù»ÙڌرÙ', 'وسپت', 'جÙمو', 'ڇنڇر'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sd_IN@devanagari.php b/vendor/nesbot/carbon/src/Carbon/Lang/sd_IN@devanagari.php
new file mode 100644
index 0000000..061fcc1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sd_IN@devanagari.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat, Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/sd.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['जनवरी', 'फबरवरी', 'मारà¥à¤šà¤¿', 'अपà¥à¤°à¥‡à¤²', 'मे', 'जूनि', 'जूलाइ', 'आगसà¥à¤Ÿà¥', 'सेपà¥à¤Ÿà¥‡à¤‚बरू', 'आकà¥à¤Ÿà¥‚बरू', 'नवंबरू', 'ॾिसंबरू'],
+ 'months_short' => ['जनवरी', 'फबरवरी', 'मारà¥à¤šà¤¿', 'अपà¥à¤°à¥‡à¤²', 'मे', 'जूनि', 'जूलाइ', 'आगसà¥à¤Ÿà¥', 'सेपà¥à¤Ÿà¥‡à¤‚बरू', 'आकà¥à¤Ÿà¥‚बरू', 'नवंबरू', 'ॾिसंबरू'],
+ 'weekdays' => ['आरà¥à¤¤à¤µà¤¾à¤°à¥‚', 'सूमरू', 'मंगलू', 'ॿà¥à¤§à¤°à¥‚', 'विसà¥à¤ªà¤¤à¤¿', 'जà¥à¤®à¥‹', 'छंछस'],
+ 'weekdays_short' => ['आरà¥à¤¤à¤µà¤¾à¤°à¥‚', 'सूमरू', 'मंगलू', 'ॿà¥à¤§à¤°à¥‚', 'विसà¥à¤ªà¤¤à¤¿', 'जà¥à¤®à¥‹', 'छंछस'],
+ 'weekdays_min' => ['आरà¥à¤¤à¤µà¤¾à¤°à¥‚', 'सूमरू', 'मंगलू', 'ॿà¥à¤§à¤°à¥‚', 'विसà¥à¤ªà¤¤à¤¿', 'जà¥à¤®à¥‹', 'छंछस'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['म.पू.', 'म.नं.'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se.php b/vendor/nesbot/carbon/src/Carbon/Lang/se.php
new file mode 100644
index 0000000..7c4b92a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se.php
@@ -0,0 +1,73 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Karamell
+ */
+return [
+ 'year' => '{1}:count jahki|:count jagit',
+ 'a_year' => '{1}okta jahki|:count jagit',
+ 'y' => ':count j.',
+ 'month' => '{1}:count mánnu|:count mánut',
+ 'a_month' => '{1}okta mánnu|:count mánut',
+ 'm' => ':count mán.',
+ 'week' => '{1}:count vahkku|:count vahkku',
+ 'a_week' => '{1}okta vahkku|:count vahkku',
+ 'w' => ':count v.',
+ 'day' => '{1}:count beaivi|:count beaivvit',
+ 'a_day' => '{1}okta beaivi|:count beaivvit',
+ 'd' => ':count b.',
+ 'hour' => '{1}:count diimmu|:count diimmut',
+ 'a_hour' => '{1}okta diimmu|:count diimmut',
+ 'h' => ':count d.',
+ 'minute' => '{1}:count minuhta|:count minuhtat',
+ 'a_minute' => '{1}okta minuhta|:count minuhtat',
+ 'min' => ':count min.',
+ 'second' => '{1}:count sekunddat|:count sekunddat',
+ 'a_second' => '{1}moadde sekunddat|:count sekunddat',
+ 's' => ':count s.',
+ 'ago' => 'maŋit :time',
+ 'from_now' => ':time geažes',
+ 'diff_yesterday' => 'ikte',
+ 'diff_yesterday_regexp' => 'ikte(?:\\s+ti)?',
+ 'diff_today' => 'otne',
+ 'diff_today_regexp' => 'otne(?:\\s+ti)?',
+ 'diff_tomorrow' => 'ihttin',
+ 'diff_tomorrow_regexp' => 'ihttin(?:\\s+ti)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'MMMM D. [b.] YYYY',
+ 'LLL' => 'MMMM D. [b.] YYYY [ti.] HH:mm',
+ 'LLLL' => 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[otne ti] LT',
+ 'nextDay' => '[ihttin ti] LT',
+ 'nextWeek' => 'dddd [ti] LT',
+ 'lastDay' => '[ikte ti] LT',
+ 'lastWeek' => '[ovddit] dddd [ti] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['ođđajagemánnu', 'guovvamánnu', 'njukÄamánnu', 'cuoÅ‹ománnu', 'miessemánnu', 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'ÄakÄamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu'],
+ 'months_short' => ['ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'ÄakÄ', 'golg', 'skáb', 'juov'],
+ 'weekdays' => ['sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorastat', 'bearjadat', 'lávvardat'],
+ 'weekdays_short' => ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'],
+ 'weekdays_min' => ['s', 'v', 'm', 'g', 'd', 'b', 'L'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' ja '],
+ 'meridiem' => ['i.b.', 'e.b.'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php
new file mode 100644
index 0000000..cf01805
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/se.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'months' => ['ođđajagemánnu', 'guovvamánnu', 'njukÄamánnu', 'cuoÅ‹ománnu', 'miessemánnu', 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'ÄakÄamánnu', 'golggotmánnu', 'skábmamánnu', 'juovlamánnu'],
+ 'months_short' => ['ođđj', 'guov', 'njuk', 'cuoÅ‹', 'mies', 'geas', 'suoi', 'borg', 'ÄakÄ', 'golg', 'skáb', 'juov'],
+ 'weekdays' => ['sotnabeaivi', 'mánnodat', 'disdat', 'gaskavahkku', 'duorastat', 'bearjadat', 'lávvordat'],
+ 'weekdays_short' => ['so', 'má', 'di', 'ga', 'du', 'be', 'lá'],
+ 'weekdays_min' => ['so', 'má', 'di', 'ga', 'du', 'be', 'lá'],
+ 'meridiem' => ['i', 'e'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php b/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php
new file mode 100644
index 0000000..177c7e9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/se.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php b/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php
new file mode 100644
index 0000000..177c7e9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/se.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/seh.php b/vendor/nesbot/carbon/src/Carbon/Lang/seh.php
new file mode 100644
index 0000000..babf9af
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/seh.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'],
+ 'weekdays_short' => ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'],
+ 'weekdays_min' => ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'],
+ 'months' => ['Janeiro', 'Fevreiro', 'Marco', 'Abril', 'Maio', 'Junho', 'Julho', 'Augusto', 'Setembro', 'Otubro', 'Novembro', 'Decembro'],
+ 'months_short' => ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Aug', 'Set', 'Otu', 'Nov', 'Dec'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'd [de] MMM [de] YYYY',
+ 'LLL' => 'd [de] MMMM [de] YYYY HH:mm',
+ 'LLLL' => 'dddd, d [de] MMMM [de] YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ses.php b/vendor/nesbot/carbon/src/Carbon/Lang/ses.php
new file mode 100644
index 0000000..e1099e6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ses.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Adduha', 'Aluula'],
+ 'weekdays' => ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'],
+ 'weekdays_short' => ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'],
+ 'weekdays_min' => ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'],
+ 'months' => ['Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', 'Oktoobur', 'Noowanbur', 'Deesanbur'],
+ 'months_short' => ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'month' => ':count alaada', // less reliable
+ 'm' => ':count alaada', // less reliable
+ 'a_month' => ':count alaada', // less reliable
+
+ 'hour' => ':count ɲaajin', // less reliable
+ 'h' => ':count ɲaajin', // less reliable
+ 'a_hour' => ':count ɲaajin', // less reliable
+
+ 'minute' => ':count zarbu', // less reliable
+ 'min' => ':count zarbu', // less reliable
+ 'a_minute' => ':count zarbu', // less reliable
+
+ 'year' => ':count jiiri',
+ 'y' => ':count jiiri',
+ 'a_year' => ':count jiiri',
+
+ 'week' => ':count jirbiiyye',
+ 'w' => ':count jirbiiyye',
+ 'a_week' => ':count jirbiiyye',
+
+ 'day' => ':count zaari',
+ 'd' => ':count zaari',
+ 'a_day' => ':count zaari',
+
+ 'second' => ':count ihinkante',
+ 's' => ':count ihinkante',
+ 'a_second' => ':count ihinkante',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sg.php b/vendor/nesbot/carbon/src/Carbon/Lang/sg.php
new file mode 100644
index 0000000..9264e89
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sg.php
@@ -0,0 +1,52 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['ND', 'LK'],
+ 'weekdays' => ['Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', 'Lâyenga'],
+ 'weekdays_short' => ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'],
+ 'weekdays_min' => ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'],
+ 'months' => ['Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', 'Kükürü', 'Mvuka', 'Ngberere', 'Nabändüru', 'Kakauka'],
+ 'months_short' => ['Nye', 'Ful', 'Mbä', 'Ngu', 'Bêl', 'Fön', 'Len', 'Kük', 'Mvu', 'Ngb', 'Nab', 'Kak'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count dÄ', // less reliable
+ 'y' => ':count dÄ', // less reliable
+ 'a_year' => ':count dÄ', // less reliable
+
+ 'week' => ':count bïkua-okü', // less reliable
+ 'w' => ':count bïkua-okü', // less reliable
+ 'a_week' => ':count bïkua-okü', // less reliable
+
+ 'day' => ':count ziggawâ', // less reliable
+ 'd' => ':count ziggawâ', // less reliable
+ 'a_day' => ':count ziggawâ', // less reliable
+
+ 'hour' => ':count yângâködörö', // less reliable
+ 'h' => ':count yângâködörö', // less reliable
+ 'a_hour' => ':count yângâködörö', // less reliable
+
+ 'second' => ':count bïkua-ôko', // less reliable
+ 's' => ':count bïkua-ôko', // less reliable
+ 'a_second' => ':count bïkua-ôko', // less reliable
+
+ 'month' => ':count Nze tî ngu',
+ 'm' => ':count Nze tî ngu',
+ 'a_month' => ':count Nze tî ngu',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sgs.php b/vendor/nesbot/carbon/src/Carbon/Lang/sgs.php
new file mode 100644
index 0000000..864b989
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sgs.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sgs_LT.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sgs_LT.php b/vendor/nesbot/carbon/src/Carbon/Lang/sgs_LT.php
new file mode 100644
index 0000000..aa9e942
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sgs_LT.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Arnas UdoviÄius bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY.MM.DD',
+ ],
+ 'months' => ['sausė', 'vasarė', 'kuova', 'balondė', 'gegožės', 'bėrželė', 'lëpas', 'rogpjūtė', 'siejės', 'spalė', 'lapkrėstė', 'grůdė'],
+ 'months_short' => ['Sau', 'Vas', 'Kuo', 'Bal', 'Geg', 'Bėr', 'Lëp', 'Rgp', 'Sie', 'Spa', 'Lap', 'Grd'],
+ 'weekdays' => ['nedielÄ—s dëna', 'panedielis', 'oterninks', 'sereda', 'Äetvergs', 'petnÄ«ÄÄ—', 'sobata'],
+ 'weekdays_short' => ['Nd', 'Pn', 'Ot', 'Sr', 'ÄŒt', 'Pt', 'Sb'],
+ 'weekdays_min' => ['Nd', 'Pn', 'Ot', 'Sr', 'ÄŒt', 'Pt', 'Sb'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'minute' => ':count mažos', // less reliable
+ 'min' => ':count mažos', // less reliable
+ 'a_minute' => ':count mažos', // less reliable
+
+ 'year' => ':count metÄ',
+ 'y' => ':count metÄ',
+ 'a_year' => ':count metÄ',
+
+ 'month' => ':count mienou',
+ 'm' => ':count mienou',
+ 'a_month' => ':count mienou',
+
+ 'week' => ':count nedielÄ—',
+ 'w' => ':count nedielÄ—',
+ 'a_week' => ':count nedielÄ—',
+
+ 'day' => ':count dīna',
+ 'd' => ':count dīna',
+ 'a_day' => ':count dīna',
+
+ 'hour' => ':count adīna',
+ 'h' => ':count adīna',
+ 'a_hour' => ':count adīna',
+
+ 'second' => ':count SekondÄ—',
+ 's' => ':count SekondÄ—',
+ 'a_second' => ':count SekondÄ—',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sh.php b/vendor/nesbot/carbon/src/Carbon/Lang/sh.php
new file mode 100644
index 0000000..e03b506
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sh.php
@@ -0,0 +1,68 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+// @codeCoverageIgnoreStart
+use Symfony\Component\Translation\PluralizationRules;
+
+if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
+ PluralizationRules::set(static function ($number) {
+ return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
+ }, 'sh');
+}
+// @codeCoverageIgnoreEnd
+
+/*
+ * Authors:
+ * - Томица Кораћ
+ * - Enrique Vidal
+ * - Christopher Dell
+ * - dmilisic
+ * - danijel
+ * - Miroslav Matkovic (mikki021)
+ */
+return [
+ 'diff_now' => 'sada',
+ 'diff_yesterday' => 'juÄe',
+ 'diff_tomorrow' => 'sutra',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'MMMM D, YYYY',
+ 'LLL' => 'DD MMM HH:mm',
+ 'LLLL' => 'MMMM DD, YYYY HH:mm',
+ ],
+ 'year' => ':count godina|:count godine|:count godina',
+ 'y' => ':count g.',
+ 'month' => ':count mesec|:count meseca|:count meseci',
+ 'm' => ':count m.',
+ 'week' => ':count nedelja|:count nedelje|:count nedelja',
+ 'w' => ':count n.',
+ 'day' => ':count dan|:count dana|:count dana',
+ 'd' => ':count d.',
+ 'hour' => ':count sat|:count sata|:count sati',
+ 'h' => ':count Ä.',
+ 'minute' => ':count minut|:count minuta|:count minuta',
+ 'min' => ':count min.',
+ 'second' => ':count sekund|:count sekunde|:count sekundi',
+ 's' => ':count s.',
+ 'ago' => 'pre :time',
+ 'from_now' => 'za :time',
+ 'after' => 'nakon :time',
+ 'before' => ':time raniјe',
+ 'weekdays' => ['Nedelja', 'Ponedeljak', 'Utorak', 'Sreda', 'ÄŒetvrtak', 'Petak', 'Subota'],
+ 'weekdays_short' => ['Ned', 'Pon', 'Uto', 'Sre', 'ÄŒet', 'Pet', 'Sub'],
+ 'weekdays_min' => ['Ned', 'Pon', 'Uto', 'Sre', 'ÄŒet', 'Pet', 'Sub'],
+ 'months' => ['Januar', 'Februar', 'Mart', 'April', 'Maj', 'Jun', 'Jul', 'Avgust', 'Septembar', 'Oktobar', 'Novembar', 'Decembar'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'],
+ 'list' => [', ', ' i '],
+ 'meridiem' => ['pre podne', 'po podne'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shi.php b/vendor/nesbot/carbon/src/Carbon/Lang/shi.php
new file mode 100644
index 0000000..7815186
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shi.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'],
+ 'weekdays' => ['ⴰⵙⴰⵎⴰⵙ', 'â´°âµ¢âµâ´°âµ™', 'ⴰⵙⵉâµâ´°âµ™', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
+ 'weekdays_short' => ['ⴰⵙⴰ', 'â´°âµ¢âµ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'],
+ 'weekdays_min' => ['ⴰⵙⴰ', 'â´°âµ¢âµ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', 'ⴰⵙⵉⴹ'],
+ 'months' => ['ⵉâµâµâ´°âµ¢âµ”', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓâµâµ¢âµ“', 'ⵢⵓâµâµ¢âµ“âµ£', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰâµâ´±âµ‰âµ”', 'ⴽⵜⵓⴱⵔ', 'âµâµ“ⵡⴰâµâ´±âµ‰âµ”', 'ⴷⵓⵊⴰâµâ´±âµ‰âµ”'],
+ 'months_short' => ['ⵉâµâµ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓâµ', 'ⵢⵓâµ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'âµâµ“ⵡ', 'ⴷⵓⵊ'],
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 6],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'year' => ':count aseggwas',
+ 'y' => ':count aseggwas',
+ 'a_year' => ':count aseggwas',
+
+ 'month' => ':count ayyur',
+ 'm' => ':count ayyur',
+ 'a_month' => ':count ayyur',
+
+ 'week' => ':count imalass',
+ 'w' => ':count imalass',
+ 'a_week' => ':count imalass',
+
+ 'day' => ':count ass',
+ 'd' => ':count ass',
+ 'a_day' => ':count ass',
+
+ 'hour' => ':count urɣ', // less reliable
+ 'h' => ':count urɣ', // less reliable
+ 'a_hour' => ':count urɣ', // less reliable
+
+ 'minute' => ':count ⴰⵎⵥⵉ', // less reliable
+ 'min' => ':count ⴰⵎⵥⵉ', // less reliable
+ 'a_minute' => ':count ⴰⵎⵥⵉ', // less reliable
+
+ 'second' => ':count sin', // less reliable
+ 's' => ':count sin', // less reliable
+ 'a_second' => ':count sin', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php
new file mode 100644
index 0000000..cddfb24
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php
@@ -0,0 +1,33 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/shi.php', [
+ 'meridiem' => ['tifawt', 'tadggÊ·at'],
+ 'weekdays' => ['asamas', 'aynas', 'asinas', 'aká¹›as', 'akwas', 'asimwas', 'asiá¸yas'],
+ 'weekdays_short' => ['asa', 'ayn', 'asi', 'aká¹›', 'akw', 'asim', 'asiá¸'],
+ 'weekdays_min' => ['asa', 'ayn', 'asi', 'aká¹›', 'akw', 'asim', 'asiá¸'],
+ 'months' => ['innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', 'cutanbir', 'ktubr', 'nuwanbir', 'dujanbir'],
+ 'months_short' => ['inn', 'bá¹›a', 'maá¹›', 'ibr', 'may', 'yun', 'yul', 'É£uc', 'cut', 'ktu', 'nuw', 'duj'],
+ 'first_day_of_week' => 6,
+ 'weekend' => [5, 6],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+
+ 'minute' => ':count agur', // less reliable
+ 'min' => ':count agur', // less reliable
+ 'a_minute' => ':count agur', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php
new file mode 100644
index 0000000..f3df1f2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/shi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shn.php b/vendor/nesbot/carbon/src/Carbon/Lang/shn.php
new file mode 100644
index 0000000..fe7b1ea
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shn.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/shn_MM.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shn_MM.php b/vendor/nesbot/carbon/src/Carbon/Lang/shn_MM.php
new file mode 100644
index 0000000..f399acf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shn_MM.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - ubuntu Myanmar LoCo Team https://ubuntu-mm.net Bone Pyae Sone bone.burma@mail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'OY MMM OD dddd',
+ ],
+ 'months' => ['လá€á€°á¼á€ºáµá€™á€º', 'လá€á€°á¼á€ºá€žá¢á€™á€º', 'လá€á€°á¼á€ºá€žá€®', 'လá€á€°á¼á€ºá‚ႃႈ', 'လá€á€°á¼á€ºá‚ူáµá€ºá€¸', 'လá€á€°á¼á€ºá¸á€µá€á€ºá€¸', 'လá€á€°á¼á€ºá€•á‚…á€á€ºá‚‡', 'လá€á€°á¼á€ºáµá€á€ºá‚ˆ', 'လá€á€°á¼á€ºá€žá€á€•်း', 'လá€á€°á¼á€ºá€žá€á€•်းဢá€á€á€ºá€¸', 'လá€á€°á¼á€ºá€žá€á€•်းဢá€á€á€ºá€¸á€žá€½á€„်', 'လá€á€°á¼á€ºá¸á€µá€„်'],
+ 'months_short' => ['လá€á€°á¼á€ºáµá€™á€º', 'လá€á€°á¼á€ºá€žá¢á€™á€º', 'လá€á€°á¼á€ºá€žá€®', 'လá€á€°á¼á€ºá‚ႃႈ', 'လá€á€°á¼á€ºá‚ူáµá€ºá€¸', 'လá€á€°á¼á€ºá¸á€µá€á€ºá€¸', 'လá€á€°á¼á€ºá€•á‚…á€á€ºá‚‡', 'လá€á€°á¼á€ºáµá€á€ºá‚ˆ', 'လá€á€°á¼á€ºá€žá€á€•်း', 'လá€á€°á¼á€ºá€žá€á€•်းဢá€á€á€ºá€¸', 'လá€á€°á¼á€ºá€žá€á€•်းဢá€á€á€ºá€¸á€žá€½á€„်', 'လá€á€°á¼á€ºá¸á€µá€„်'],
+ 'weekdays' => ['á€á¼á€ºá€¸á€¢á‚ƒá€¸á€á€á€á€ºá‚‰', 'á€á¼á€ºá€¸á¸á¼á€º', 'á€á¼á€ºá€¸â€‹á€¢á¢á€„်း​áµá¢á¼á€ºá€¸', 'á€á¼á€ºá€¸á€•ူá€á€ºá‚‰', 'á€á¼á€ºá€¸á½á€á€ºá€¸', 'á€á¼á€ºá€¸á€žá€¯áµá€ºá€¸', 'á€á¼á€ºá€¸á€žá€á€º'],
+ 'weekdays_short' => ['á€á€á€á€·á€º', 'á¸á¼á€º', 'áµá¢á¼á€ºá€¸', 'ပုá€á€·á€º', 'á½á€á€ºá€¸', 'သုáµá€ºá€¸', 'သá€á€º'],
+ 'weekdays_min' => ['á€á€á€á€·á€º', 'á¸á¼á€º', 'áµá¢á¼á€ºá€¸', 'ပုá€á€·á€º', 'á½á€á€ºá€¸', 'သုáµá€ºá€¸', 'သá€á€º'],
+ 'alt_numbers' => ['á‚á‚', 'á‚á‚‘', 'á‚á‚’', 'á‚á‚“', 'á‚á‚”', 'á‚á‚•', 'á‚á‚–', 'á‚á‚—', 'á‚႘', 'á‚á‚™', 'á‚‘á‚', 'á‚‘á‚‘', 'á‚‘á‚’', 'á‚‘á‚“', 'á‚‘á‚”', 'á‚‘á‚•', 'á‚‘á‚–', 'á‚‘á‚—', '႑႘', 'á‚‘á‚™', 'á‚’á‚', 'á‚’á‚‘', 'á‚’á‚’', 'á‚’á‚“', 'á‚’á‚”', 'á‚’á‚•', 'á‚’á‚–', 'á‚’á‚—', '႒႘', 'á‚’á‚™', 'á‚“á‚', 'á‚“á‚‘', 'á‚“á‚’', 'á‚“á‚“', 'á‚“á‚”', 'á‚“á‚•', 'á‚“á‚–', 'á‚“á‚—', '႓႘', 'á‚“á‚™', 'á‚”á‚', '႔႑', '႔႒', '႔႓', '႔႔', '႔႕', '႔႖', '႔႗', '႔႘', '႔႙', 'á‚•á‚', 'á‚•á‚‘', 'á‚•á‚’', 'á‚•á‚“', 'á‚•á‚”', 'á‚•á‚•', 'á‚•á‚–', 'á‚•á‚—', '႕႘', 'á‚•á‚™', 'á‚–á‚', 'á‚–á‚‘', 'á‚–á‚’', 'á‚–á‚“', 'á‚–á‚”', 'á‚–á‚•', 'á‚–á‚–', 'á‚–á‚—', '႖႘', 'á‚–á‚™', 'á‚—á‚', 'á‚—á‚‘', 'á‚—á‚’', 'á‚—á‚“', 'á‚—á‚”', 'á‚—á‚•', 'á‚—á‚–', 'á‚—á‚—', '႗႘', 'á‚—á‚™', '႘á‚', '႘႑', '႘႒', '႘႓', '႘႔', '႘႕', '႘႖', '႘႗', '႘႘', '႘႙', 'á‚™á‚', '႙႑', '႙႒', '႙႓', '႙႔', '႙႕', '႙႖', '႙႗', '႙႘', '႙႙'],
+ 'meridiem' => ['áµá¢á€„်á¼á‚‚်', 'á€á¢á€™á€ºá€¸á¶á€™á€ºá‚ˆ'],
+
+ 'month' => ':count လá€á€°á¼á€º', // less reliable
+ 'm' => ':count လá€á€°á¼á€º', // less reliable
+ 'a_month' => ':count လá€á€°á¼á€º', // less reliable
+
+ 'week' => ':count á€á¼á€ºá€¸', // less reliable
+ 'w' => ':count á€á¼á€ºá€¸', // less reliable
+ 'a_week' => ':count á€á¼á€ºá€¸', // less reliable
+
+ 'hour' => ':count ຕີ', // less reliable
+ 'h' => ':count ຕີ', // less reliable
+ 'a_hour' => ':count ຕີ', // less reliable
+
+ 'minute' => ':count ເດັàº', // less reliable
+ 'min' => ':count ເດັàº', // less reliable
+ 'a_minute' => ':count ເດັàº', // less reliable
+
+ 'second' => ':count ဢá€á€¯á¼á€ºá‚‡', // less reliable
+ 's' => ':count ဢá€á€¯á¼á€ºá‚‡', // less reliable
+ 'a_second' => ':count ဢá€á€¯á¼á€ºá‚‡', // less reliable
+
+ 'year' => ':count ပီ',
+ 'y' => ':count ပီ',
+ 'a_year' => ':count ပီ',
+
+ 'day' => ':count àºàº²àº‡àº§àº±àº™',
+ 'd' => ':count àºàº²àº‡àº§àº±àº™',
+ 'a_day' => ':count àºàº²àº‡àº§àº±àº™',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shs.php b/vendor/nesbot/carbon/src/Carbon/Lang/shs.php
new file mode 100644
index 0000000..8d2e1d7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shs.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/shs_CA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shs_CA.php b/vendor/nesbot/carbon/src/Carbon/Lang/shs_CA.php
new file mode 100644
index 0000000..08d385e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shs_CA.php
@@ -0,0 +1,38 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Neskie Manuel bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Pellkwet̓min', 'Pelctsipwen̓ten', 'Pellsqépts', 'Peslléwten', 'Pell7ell7é7llqten', 'Pelltspéntsk', 'Pelltqwelq̓wél̓t', 'Pellct̓éxel̓cten', 'Pesqelqlélten', 'Pesllwélsten', 'Pellc7ell7é7llcwten̓', 'Pelltetétq̓em'],
+ 'months_short' => ['Kwe', 'Tsi', 'Sqe', 'Éwt', 'Ell', 'Tsp', 'Tqw', 'Ct̓é', 'Qel', 'Wél', 'U7l', 'Tet'],
+ 'weekdays' => ['Sxetspesq̓t', 'Spetkesq̓t', 'Selesq̓t', 'Skellesq̓t', 'Smesesq̓t', 'Stselkstesq̓t', 'Stqmekstesq̓t'],
+ 'weekdays_short' => ['Sxe', 'Spe', 'Sel', 'Ske', 'Sme', 'Sts', 'Stq'],
+ 'weekdays_min' => ['Sxe', 'Spe', 'Sel', 'Ske', 'Sme', 'Sts', 'Stq'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count sqlélten', // less reliable
+ 'y' => ':count sqlélten', // less reliable
+ 'a_year' => ':count sqlélten', // less reliable
+
+ 'month' => ':count swewll', // less reliable
+ 'm' => ':count swewll', // less reliable
+ 'a_month' => ':count swewll', // less reliable
+
+ 'hour' => ':count seqwlút', // less reliable
+ 'h' => ':count seqwlút', // less reliable
+ 'a_hour' => ':count seqwlút', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/si.php b/vendor/nesbot/carbon/src/Carbon/Lang/si.php
new file mode 100644
index 0000000..636bf69
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/si.php
@@ -0,0 +1,78 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - Malinda Weerasinghe (MalindaWMD)
+ */
+return [
+ 'year' => '{1}වසර 1|වසර :count',
+ 'a_year' => '{1}වසරක්|වසර :count',
+ 'month' => '{1}මà·à·ƒ 1|මà·à·ƒ :count',
+ 'a_month' => '{1}මà·à·ƒà¶º|මà·à·ƒ :count',
+ 'week' => '{1}à·ƒà¶à·’ 1|à·ƒà¶à·’ :count',
+ 'a_week' => '{1}à·ƒà¶à·’යක්|à·ƒà¶à·’ :count',
+ 'day' => '{1}දින 1|දින :count',
+ 'a_day' => '{1}දිනක්|දින :count',
+ 'hour' => '{1}à¶´à·à¶º 1|à¶´à·à¶º :count',
+ 'a_hour' => '{1}à¶´à·à¶ºà¶šà·Š|à¶´à·à¶º :count',
+ 'minute' => '{1}මිනිà¶à·Šà¶à·” 1|මිනිà¶à·Šà¶à·” :count',
+ 'a_minute' => '{1}මිනිà¶à·Šà¶à·”වක්|මිනිà¶à·Šà¶à·” :count',
+ 'second' => '{1}à¶à¶à·Šà¶´à¶» 1|à¶à¶à·Šà¶´à¶» :count',
+ 'a_second' => '{1}à¶à¶à·Šà¶´à¶» කිහිපයකට|à¶à¶à·Šà¶´à¶» :count',
+ 'ago' => ':time කට පෙර',
+ 'from_now' => function ($time) {
+ if (preg_match('/දින \d/u', $time)) {
+ return $time.' න්';
+ }
+
+ return $time.' කින්';
+ },
+ 'before' => ':time කට පෙර',
+ 'after' => function ($time) {
+ if (preg_match('/දින \d/u', $time)) {
+ return $time.' න්';
+ }
+
+ return $time.' කින්';
+ },
+ 'diff_now' => 'දà·à¶±à·Š',
+ 'diff_today' => 'අද',
+ 'diff_yesterday' => 'ඊයේ',
+ 'diff_tomorrow' => 'හෙට',
+ 'formats' => [
+ 'LT' => 'a h:mm',
+ 'LTS' => 'a h:mm:ss',
+ 'L' => 'YYYY/MM/DD',
+ 'LL' => 'YYYY MMMM D',
+ 'LLL' => 'YYYY MMMM D, a h:mm',
+ 'LLLL' => 'YYYY MMMM D [à·€à·à¶±à·’] dddd, a h:mm:ss',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[අද] LT[ට]',
+ 'nextDay' => '[හෙට] LT[ට]',
+ 'nextWeek' => 'dddd LT[à¶§]',
+ 'lastDay' => '[ඊයේ] LT[ට]',
+ 'lastWeek' => '[පසුගිය] dddd LT[ට]',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number à·€à·à¶±à·’',
+ 'meridiem' => ['පෙර වරු', 'පස් වරු', 'පෙ.ව.', 'ප.ව.'],
+ 'months' => ['ජනවà·à¶»à·’', 'පෙබරවà·à¶»à·’', 'මà·à¶»à·Šà¶à·”', 'à¶…à¶´à·Šâ€à¶»à·šà¶½à·Š', 'මà·à¶ºà·’', 'ජූනි', 'ජූලි', 'à¶…à¶œà·à·ƒà·Šà¶à·”', 'à·ƒà·à¶´à·Šà¶à·à¶¸à·Šà¶¶à¶»à·Š', 'ඔක්à¶à·à¶¶à¶»à·Š', 'නොවà·à¶¸à·Šà¶¶à¶»à·Š', 'දෙසà·à¶¸à·Šà¶¶à¶»à·Š'],
+ 'months_short' => ['ජන', 'පෙබ', 'මà·à¶»à·Š', 'à¶…à¶´à·Š', 'මà·à¶ºà·’', 'ජූනි', 'ජූලි', 'à¶…à¶œà·', 'à·ƒà·à¶´à·Š', 'ඔක්', 'නොවà·', 'දෙසà·'],
+ 'weekdays' => ['ඉරිදà·', 'සඳුදà·', 'අඟහරුවà·à¶¯à·', 'බදà·à¶¯à·', 'à¶¶à·Šâ€à¶»à·„ස්පà¶à·’න්දà·', 'සිකුරà·à¶¯à·', 'සෙනසුරà·à¶¯à·'],
+ 'weekdays_short' => ['ඉරි', 'සඳු', 'à¶…à¶Ÿ', 'බදà·', 'à¶¶à·Šâ€à¶»à·„', 'සිකු', 'සෙන'],
+ 'weekdays_min' => ['ඉ', 'à·ƒ', 'à¶…', 'à¶¶', 'à¶¶à·Šâ€à¶»', 'සි', 'සෙ'],
+ 'first_day_of_week' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php b/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php
new file mode 100644
index 0000000..81c44e0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/si.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sid.php b/vendor/nesbot/carbon/src/Carbon/Lang/sid.php
new file mode 100644
index 0000000..b1c6521
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sid.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sid_ET.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sid_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/sid_ET.php
new file mode 100644
index 0000000..1296f9b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sid_ET.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ 'weekdays' => ['Sambata', 'Sanyo', 'Maakisanyo', 'Roowe', 'Hamuse', 'Arbe', 'Qidaame'],
+ 'weekdays_short' => ['Sam', 'San', 'Mak', 'Row', 'Ham', 'Arb', 'Qid'],
+ 'weekdays_min' => ['Sam', 'San', 'Mak', 'Row', 'Ham', 'Arb', 'Qid'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['soodo', 'hawwaro'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sk.php b/vendor/nesbot/carbon/src/Carbon/Lang/sk.php
new file mode 100644
index 0000000..08af197
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sk.php
@@ -0,0 +1,83 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Martin Suja
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Max Melentiev
+ * - Juanito Fatas
+ * - Ivan Stana
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - James McKinney
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Jozef Fulop
+ * - Nicolás Hock Isaza
+ * - Tom Hughes
+ * - Simon Hürlimann (CyT)
+ * - jofi
+ * - Jakub ADAMEC
+ * - Marek Adamický
+ * - AlterwebStudio
+ */
+return [
+ 'year' => 'rok|:count roky|:count rokov',
+ 'y' => ':count r',
+ 'month' => 'mesiac|:count mesiace|:count mesiacov',
+ 'm' => ':count m',
+ 'week' => 'týždeň|:count týždne|:count týždňov',
+ 'w' => ':count t',
+ 'day' => 'deň|:count dni|:count dnÃ',
+ 'd' => ':count d',
+ 'hour' => 'hodinu|:count hodiny|:count hodÃn',
+ 'h' => ':count h',
+ 'minute' => 'minútu|:count minúty|:count minút',
+ 'min' => ':count min',
+ 'second' => 'sekundu|:count sekundy|:count sekúnd',
+ 'a_second' => 'pár sekúnd|:count sekundy|:count sekúnd',
+ 's' => ':count s',
+ 'ago' => 'pred :time',
+ 'from_now' => 'o :time',
+ 'after' => ':time po',
+ 'before' => ':time pred',
+ 'year_ago' => 'rokom|:count rokmi|:count rokmi',
+ 'month_ago' => 'mesiacom|:count mesiacmi|:count mesiacmi',
+ 'week_ago' => 'týždňom|:count týždňami|:count týždňami',
+ 'day_ago' => 'dňom|:count dňami|:count dňami',
+ 'hour_ago' => 'hodinou|:count hodinami|:count hodinami',
+ 'minute_ago' => 'minútou|:count minútami|:count minútami',
+ 'second_ago' => 'sekundou|:count sekundami|:count sekundami',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' a '],
+ 'diff_now' => 'teraz',
+ 'diff_yesterday' => 'vÄera',
+ 'diff_tomorrow' => 'zajtra',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'DD. MMMM YYYY',
+ 'LLL' => 'D. M. HH:mm',
+ 'LLLL' => 'dddd D. MMMM YYYY HH:mm',
+ ],
+ 'weekdays' => ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'],
+ 'weekdays_short' => ['ned', 'pod', 'uto', 'str', 'štv', 'pia', 'sob'],
+ 'weekdays_min' => ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'],
+ 'months' => ['január', 'február', 'marec', 'aprÃl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ 'meridiem' => ['dopoludnia', 'popoludnÃ'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php
new file mode 100644
index 0000000..0515601
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sl.php b/vendor/nesbot/carbon/src/Carbon/Lang/sl.php
new file mode 100644
index 0000000..1f1d1b3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sl.php
@@ -0,0 +1,129 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Max Melentiev
+ * - Juanito Fatas
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Nicolás Hock Isaza
+ * - Miha Rebernik
+ * - Gal JakiÄ (morpheus7CS)
+ * - Glavić
+ * - Anže Časar
+ * - Lovro Tramšek (Lovro1107)
+ * - burut13
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count leto|:count leti|:count leta|:count let',
+ 'y' => ':count leto|:count leti|:count leta|:count let',
+ 'month' => ':count mesec|:count meseca|:count mesece|:count mesecev',
+ 'm' => ':count mes.',
+ 'week' => ':count teden|:count tedna|:count tedne|:count tednov',
+ 'w' => ':count ted.',
+ 'day' => ':count dan|:count dni|:count dni|:count dni',
+ 'd' => ':count dan|:count dni|:count dni|:count dni',
+ 'hour' => ':count ura|:count uri|:count ure|:count ur',
+ 'h' => ':count h',
+ 'minute' => ':count minuta|:count minuti|:count minute|:count minut',
+ 'min' => ':count min.',
+ 'second' => ':count sekunda|:count sekundi|:count sekunde|:count sekund',
+ 'a_second' => '{1}nekaj sekund|:count sekunda|:count sekundi|:count sekunde|:count sekund',
+ 's' => ':count s',
+
+ 'year_ago' => ':count letom|:count letoma|:count leti|:count leti',
+ 'y_ago' => ':count letom|:count letoma|:count leti|:count leti',
+ 'month_ago' => ':count mesecem|:count mesecema|:count meseci|:count meseci',
+ 'week_ago' => ':count tednom|:count tednoma|:count tedni|:count tedni',
+ 'day_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
+ 'd_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
+ 'hour_ago' => ':count uro|:count urama|:count urami|:count urami',
+ 'minute_ago' => ':count minuto|:count minutama|:count minutami|:count minutami',
+ 'second_ago' => ':count sekundo|:count sekundama|:count sekundami|:count sekundami',
+
+ 'day_from_now' => ':count dan|:count dneva|:count dni|:count dni',
+ 'd_from_now' => ':count dan|:count dneva|:count dni|:count dni',
+ 'hour_from_now' => ':count uro|:count uri|:count ure|:count ur',
+ 'minute_from_now' => ':count minuto|:count minuti|:count minute|:count minut',
+ 'second_from_now' => ':count sekundo|:count sekundi|:count sekunde|:count sekund',
+
+ 'ago' => 'pred :time',
+ 'from_now' => 'Äez :time',
+ 'after' => ':time kasneje',
+ 'before' => ':time prej',
+
+ 'diff_now' => 'ravnokar',
+ 'diff_today' => 'danes',
+ 'diff_today_regexp' => 'danes(?:\\s+ob)?',
+ 'diff_yesterday' => 'vÄeraj',
+ 'diff_yesterday_regexp' => 'vÄeraj(?:\\s+ob)?',
+ 'diff_tomorrow' => 'jutri',
+ 'diff_tomorrow_regexp' => 'jutri(?:\\s+ob)?',
+ 'diff_before_yesterday' => 'predvÄerajÅ¡njim',
+ 'diff_after_tomorrow' => 'pojutrišnjem',
+
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'period_start_date' => 'od :date',
+ 'period_end_date' => 'do :date',
+
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[danes ob] LT',
+ 'nextDay' => '[jutri ob] LT',
+ 'nextWeek' => 'dddd [ob] LT',
+ 'lastDay' => '[vÄeraj ob] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[preteklo] [nedeljo] [ob] LT';
+ case 1:
+ return '[pretekli] [ponedeljek] [ob] LT';
+ case 2:
+ return '[pretekli] [torek] [ob] LT';
+ case 3:
+ return '[preteklo] [sredo] [ob] LT';
+ case 4:
+ return '[pretekli] [Äetrtek] [ob] LT';
+ case 5:
+ return '[pretekli] [petek] [ob] LT';
+ case 6:
+ return '[preteklo] [soboto] [ob] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', 'oktober', 'november', 'december'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'],
+ 'weekdays' => ['nedelja', 'ponedeljek', 'torek', 'sreda', 'Äetrtek', 'petek', 'sobota'],
+ 'weekdays_short' => ['ned', 'pon', 'tor', 'sre', 'Äet', 'pet', 'sob'],
+ 'weekdays_min' => ['ne', 'po', 'to', 'sr', 'Äe', 'pe', 'so'],
+ 'list' => [', ', ' in '],
+ 'meridiem' => ['dopoldan', 'popoldan'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php b/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php
new file mode 100644
index 0000000..5dad8c8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sm.php b/vendor/nesbot/carbon/src/Carbon/Lang/sm.php
new file mode 100644
index 0000000..e8c118a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sm.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/sm_WS.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sm_WS.php b/vendor/nesbot/carbon/src/Carbon/Lang/sm_WS.php
new file mode 100644
index 0000000..f066068
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sm_WS.php
@@ -0,0 +1,53 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Ianuari', 'Fepuari', 'Mati', 'Aperila', 'Me', 'Iuni', 'Iulai', 'Auguso', 'Setema', 'Oketopa', 'Novema', 'Tesema'],
+ 'months_short' => ['Ian', 'Fep', 'Mat', 'Ape', 'Me', 'Iun', 'Iul', 'Aug', 'Set', 'Oke', 'Nov', 'Tes'],
+ 'weekdays' => ['Aso Sa', 'Aso Gafua', 'Aso Lua', 'Aso Lulu', 'Aso Tofi', 'Aso Farail', 'Aso To\'ana\'i'],
+ 'weekdays_short' => ['Aso Sa', 'Aso Gaf', 'Aso Lua', 'Aso Lul', 'Aso Tof', 'Aso Far', 'Aso To\''],
+ 'weekdays_min' => ['Aso Sa', 'Aso Gaf', 'Aso Lua', 'Aso Lul', 'Aso Tof', 'Aso Far', 'Aso To\''],
+
+ 'hour' => ':count uati', // less reliable
+ 'h' => ':count uati', // less reliable
+ 'a_hour' => ':count uati', // less reliable
+
+ 'minute' => ':count itiiti', // less reliable
+ 'min' => ':count itiiti', // less reliable
+ 'a_minute' => ':count itiiti', // less reliable
+
+ 'second' => ':count lua', // less reliable
+ 's' => ':count lua', // less reliable
+ 'a_second' => ':count lua', // less reliable
+
+ 'year' => ':count tausaga',
+ 'y' => ':count tausaga',
+ 'a_year' => ':count tausaga',
+
+ 'month' => ':count mÄsina',
+ 'm' => ':count mÄsina',
+ 'a_month' => ':count mÄsina',
+
+ 'week' => ':count vaiaso',
+ 'w' => ':count vaiaso',
+ 'a_week' => ':count vaiaso',
+
+ 'day' => ':count aso',
+ 'd' => ':count aso',
+ 'a_day' => ':count aso',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/smn.php b/vendor/nesbot/carbon/src/Carbon/Lang/smn.php
new file mode 100644
index 0000000..20add02
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/smn.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['ip.', 'ep.'],
+ 'weekdays' => ['pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', 'lávurduv'],
+ 'weekdays_short' => ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'],
+ 'weekdays_min' => ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'],
+ 'weekdays_standalone' => ['pasepeivi', 'vuossargâ', 'majebargâ', 'koskokko', 'tuorâstâh', 'vástuppeivi', 'lávurdâh'],
+ 'months' => ['uđđâivemáánu', 'kuovâmáánu', 'njuhÄâmáánu', 'cuáŋuimáánu', 'vyesimáánu', 'kesimáánu', 'syeinimáánu', 'porgemáánu', 'ÄohÄâmáánu', 'roovvâdmáánu', 'skammâmáánu', 'juovlâmáánu'],
+ 'months_short' => ['uÄ‘iv', 'kuovâ', 'njuhÄâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'ÄohÄâ', 'roovvâd', 'skammâ', 'juovlâ'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'H.mm',
+ 'LTS' => 'H.mm.ss',
+ 'L' => 'D.M.YYYY',
+ 'LL' => 'MMM D. YYYY',
+ 'LLL' => 'MMMM D. YYYY H.mm',
+ 'LLLL' => 'dddd, MMMM D. YYYY H.mm',
+ ],
+
+ 'hour' => ':count äigi', // less reliable
+ 'h' => ':count äigi', // less reliable
+ 'a_hour' => ':count äigi', // less reliable
+
+ 'year' => ':count ihe',
+ 'y' => ':count ihe',
+ 'a_year' => ':count ihe',
+
+ 'month' => ':count mánuppaje',
+ 'm' => ':count mánuppaje',
+ 'a_month' => ':count mánuppaje',
+
+ 'week' => ':count okko',
+ 'w' => ':count okko',
+ 'a_week' => ':count okko',
+
+ 'day' => ':count peivi',
+ 'd' => ':count peivi',
+ 'a_day' => ':count peivi',
+
+ 'minute' => ':count miinut',
+ 'min' => ':count miinut',
+ 'a_minute' => ':count miinut',
+
+ 'second' => ':count nubbe',
+ 's' => ':count nubbe',
+ 'a_second' => ':count nubbe',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sn.php b/vendor/nesbot/carbon/src/Carbon/Lang/sn.php
new file mode 100644
index 0000000..4f25028
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sn.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['a', 'p'],
+ 'weekdays' => ['Svondo', 'Muvhuro', 'Chipiri', 'Chitatu', 'China', 'Chishanu', 'Mugovera'],
+ 'weekdays_short' => ['Svo', 'Muv', 'Chp', 'Cht', 'Chn', 'Chs', 'Mug'],
+ 'weekdays_min' => ['Sv', 'Mu', 'Cp', 'Ct', 'Cn', 'Cs', 'Mg'],
+ 'months' => ['Ndira', 'Kukadzi', 'Kurume', 'Kubvumbi', 'Chivabvu', 'Chikumi', 'Chikunguru', 'Nyamavhuvhu', 'Gunyana', 'Gumiguru', 'Mbudzi', 'Zvita'],
+ 'months_short' => ['Ndi', 'Kuk', 'Kur', 'Kub', 'Chv', 'Chk', 'Chg', 'Nya', 'Gun', 'Gum', 'Mbu', 'Zvi'],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'YYYY MMMM D, dddd HH:mm',
+ ],
+
+ 'year' => 'makore :count',
+ 'y' => 'makore :count',
+ 'a_year' => 'makore :count',
+
+ 'month' => 'mwedzi :count',
+ 'm' => 'mwedzi :count',
+ 'a_month' => 'mwedzi :count',
+
+ 'week' => 'vhiki :count',
+ 'w' => 'vhiki :count',
+ 'a_week' => 'vhiki :count',
+
+ 'day' => 'mazuva :count',
+ 'd' => 'mazuva :count',
+ 'a_day' => 'mazuva :count',
+
+ 'hour' => 'maawa :count',
+ 'h' => 'maawa :count',
+ 'a_hour' => 'maawa :count',
+
+ 'minute' => 'minitsi :count',
+ 'min' => 'minitsi :count',
+ 'a_minute' => 'minitsi :count',
+
+ 'second' => 'sekonzi :count',
+ 's' => 'sekonzi :count',
+ 'a_second' => 'sekonzi :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/so.php b/vendor/nesbot/carbon/src/Carbon/Lang/so.php
new file mode 100644
index 0000000..5785271
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/so.php
@@ -0,0 +1,74 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Author:
+ * - Abdifatah Abdilahi(@abdifatahz)
+ */
+return [
+ 'year' => ':count sanad|:count sanadood',
+ 'a_year' => 'sanad|:count sanadood',
+ 'y' => '{1}:countsn|{0}:countsns|]1,Inf[:countsn',
+ 'month' => ':count bil|:count bilood',
+ 'a_month' => 'bil|:count bilood',
+ 'm' => ':countbil',
+ 'week' => ':count isbuuc',
+ 'a_week' => 'isbuuc|:count isbuuc',
+ 'w' => ':countis',
+ 'day' => ':count maalin|:count maalmood',
+ 'a_day' => 'maalin|:count maalmood',
+ 'd' => ':countml',
+ 'hour' => ':count saac',
+ 'a_hour' => 'saacad|:count saac',
+ 'h' => ':countsc',
+ 'minute' => ':count daqiiqo',
+ 'a_minute' => 'daqiiqo|:count daqiiqo',
+ 'min' => ':countdq',
+ 'second' => ':count ilbidhiqsi',
+ 'a_second' => 'xooga ilbidhiqsiyo|:count ilbidhiqsi',
+ 's' => ':countil',
+ 'ago' => ':time kahor',
+ 'from_now' => ':time gudahood',
+ 'after' => ':time kedib',
+ 'before' => ':time kahor',
+ 'diff_now' => 'hada',
+ 'diff_today' => 'maanta',
+ 'diff_today_regexp' => 'maanta(?:\s+markay\s+(?:tahay|ahayd))?',
+ 'diff_yesterday' => 'shalayto',
+ 'diff_yesterday_regexp' => 'shalayto(?:\s+markay\s+ahayd)?',
+ 'diff_tomorrow' => 'beri',
+ 'diff_tomorrow_regexp' => 'beri(?:\s+markay\s+tahay)?',
+ 'diff_before_yesterday' => 'doraato',
+ 'diff_after_tomorrow' => 'saadanbe',
+ 'period_recurrences' => 'mar|:count jeer',
+ 'period_interval' => ':interval kasta',
+ 'period_start_date' => 'laga bilaabo :date',
+ 'period_end_date' => 'ilaa :date',
+ 'months' => ['Janaayo', 'Febraayo', 'Abriil', 'Maajo', 'Juun', 'Luuliyo', 'Agoosto', 'Sebteembar', 'Oktoobar', 'Nofeembar', 'Diseembar'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Abr', 'Mjo', 'Jun', 'Lyo', 'Agt', 'Seb', 'Okt', 'Nof', 'Dis'],
+ 'weekdays' => ['Axad', 'Isniin', 'Talaada', 'Arbaca', 'Khamiis', 'Jimce', 'Sabti'],
+ 'weekdays_short' => ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sbt'],
+ 'weekdays_min' => ['Ax', 'Is', 'Ta', 'Ar', 'Kh', 'Ji', 'Sa'],
+ 'list' => [', ', ' and '],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Maanta markay tahay] LT',
+ 'nextDay' => '[Beri markay tahay] LT',
+ 'nextWeek' => 'dddd [markay tahay] LT',
+ 'lastDay' => '[Shalay markay ahayd] LT',
+ 'lastWeek' => '[Hore] dddd [Markay ahayd] LT',
+ 'sameElse' => 'L',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/so_DJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/so_DJ.php
new file mode 100644
index 0000000..273dda8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/so_DJ.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/so.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/so_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/so_ET.php
new file mode 100644
index 0000000..7b69971
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/so_ET.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return require __DIR__.'/so.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/so_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/so_KE.php
new file mode 100644
index 0000000..7b69971
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/so_KE.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return require __DIR__.'/so.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/so_SO.php b/vendor/nesbot/carbon/src/Carbon/Lang/so_SO.php
new file mode 100644
index 0000000..7b69971
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/so_SO.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return require __DIR__.'/so.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq.php
new file mode 100644
index 0000000..ffa592e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq.php
@@ -0,0 +1,79 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - JD Isaacks
+ * - Fadion Dashi
+ */
+return [
+ 'year' => ':count vit|:count vjet',
+ 'a_year' => 'një vit|:count vite',
+ 'y' => ':count v.',
+ 'month' => ':count muaj',
+ 'a_month' => 'një muaj|:count muaj',
+ 'm' => ':count muaj',
+ 'week' => ':count javë',
+ 'a_week' => ':count javë|:count javë',
+ 'w' => ':count j.',
+ 'day' => ':count ditë',
+ 'a_day' => 'një ditë|:count ditë',
+ 'd' => ':count d.',
+ 'hour' => ':count orë',
+ 'a_hour' => 'një orë|:count orë',
+ 'h' => ':count o.',
+ 'minute' => ':count minutë|:count minuta',
+ 'a_minute' => 'një minutë|:count minuta',
+ 'min' => ':count min.',
+ 'second' => ':count sekondë|:count sekonda',
+ 'a_second' => 'disa sekonda|:count sekonda',
+ 's' => ':count s.',
+ 'ago' => ':time më parë',
+ 'from_now' => 'në :time',
+ 'after' => ':time pas',
+ 'before' => ':time para',
+ 'diff_now' => 'tani',
+ 'diff_today' => 'Sot',
+ 'diff_today_regexp' => 'Sot(?:\\s+në)?',
+ 'diff_yesterday' => 'dje',
+ 'diff_yesterday_regexp' => 'Dje(?:\\s+në)?',
+ 'diff_tomorrow' => 'nesër',
+ 'diff_tomorrow_regexp' => 'Nesër(?:\\s+në)?',
+ 'diff_before_yesterday' => 'pardje',
+ 'diff_after_tomorrow' => 'pasnesër',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Sot në] LT',
+ 'nextDay' => '[Nesër në] LT',
+ 'nextWeek' => 'dddd [në] LT',
+ 'lastDay' => '[Dje në] LT',
+ 'lastWeek' => 'dddd [e kaluar në] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'meridiem' => ['PD', 'MD'],
+ 'months' => ['janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', 'tetor', 'nëntor', 'dhjetor'],
+ 'months_short' => ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'kor', 'gus', 'sht', 'tet', 'nën', 'dhj'],
+ 'weekdays' => ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'],
+ 'weekdays_short' => ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'],
+ 'weekdays_min' => ['d', 'h', 'ma', 'më', 'e', 'p', 'sh'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' dhe '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php
new file mode 100644
index 0000000..ea5df3f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sq.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php
new file mode 100644
index 0000000..62f752c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/sq.php', [
+ 'formats' => [
+ 'L' => 'D.M.YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php
new file mode 100644
index 0000000..62f752c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/sq.php', [
+ 'formats' => [
+ 'L' => 'D.M.YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr.php
new file mode 100644
index 0000000..68ba663
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr.php
@@ -0,0 +1,112 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - shaishavgandhi05
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - Glavić
+ * - Milos Sakovic
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count godina|:count godine|:count godina',
+ 'y' => ':count g.',
+ 'month' => ':count mesec|:count meseca|:count meseci',
+ 'm' => ':count mj.',
+ 'week' => ':count nedelja|:count nedelje|:count nedelja',
+ 'w' => ':count ned.',
+ 'day' => ':count dan|:count dana|:count dana',
+ 'd' => ':count d.',
+ 'hour' => ':count sat|:count sata|:count sati',
+ 'h' => ':count Ä.',
+ 'minute' => ':count minut|:count minuta|:count minuta',
+ 'min' => ':count min.',
+ 'second' => ':count sekundu|:count sekunde|:count sekundi',
+ 's' => ':count sek.',
+ 'ago' => 'pre :time',
+ 'from_now' => 'za :time',
+ 'after' => 'nakon :time',
+ 'before' => 'pre :time',
+
+ 'year_from_now' => ':count godinu|:count godine|:count godina',
+ 'year_ago' => ':count godinu|:count godine|:count godina',
+ 'week_from_now' => ':count nedelju|:count nedelje|:count nedelja',
+ 'week_ago' => ':count nedelju|:count nedelje|:count nedelja',
+
+ 'diff_now' => 'upravo sada',
+ 'diff_today' => 'danas',
+ 'diff_today_regexp' => 'danas(?:\\s+u)?',
+ 'diff_yesterday' => 'juÄe',
+ 'diff_yesterday_regexp' => 'juÄe(?:\\s+u)?',
+ 'diff_tomorrow' => 'sutra',
+ 'diff_tomorrow_regexp' => 'sutra(?:\\s+u)?',
+ 'diff_before_yesterday' => 'prekjuÄe',
+ 'diff_after_tomorrow' => 'preksutra',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[danas u] LT',
+ 'nextDay' => '[sutra u] LT',
+ 'nextWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[u nedelju u] LT';
+ case 3:
+ return '[u sredu u] LT';
+ case 6:
+ return '[u subotu u] LT';
+ default:
+ return '[u] dddd [u] LT';
+ }
+ },
+ 'lastDay' => '[juÄe u] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[prošle nedelje u] LT';
+ case 1:
+ return '[prošlog ponedeljka u] LT';
+ case 2:
+ return '[prošlog utorka u] LT';
+ case 3:
+ return '[prošle srede u] LT';
+ case 4:
+ return '[proÅ¡log Äetvrtka u] LT';
+ case 5:
+ return '[prošlog petka u] LT';
+ default:
+ return '[prošle subote u] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'],
+ 'months_short' => ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],
+ 'weekdays' => ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'Äetvrtak', 'petak', 'subota'],
+ 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sre.', 'Äet.', 'pet.', 'sub.'],
+ 'weekdays_min' => ['ne', 'po', 'ut', 'sr', 'Äe', 'pe', 'su'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' i '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php
new file mode 100644
index 0000000..8becbc5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php
@@ -0,0 +1,112 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - shaishavgandhi05
+ * - Serhan Apaydın
+ * - JD Isaacks
+ * - Glavić
+ * - Nikola Zeravcic
+ * - Milos Sakovic
+ */
+
+use Carbon\CarbonInterface;
+
+return [
+ 'year' => ':count година|:count године|:count година',
+ 'y' => ':count г.',
+ 'month' => ':count меÑец|:count меÑеца|:count меÑеци',
+ 'm' => ':count м.',
+ 'week' => ':count недеља|:count недеље|:count недеља',
+ 'w' => ':count нед.',
+ 'day' => ':count дан|:count дана|:count дана',
+ 'd' => ':count д.',
+ 'hour' => ':count Ñат|:count Ñата|:count Ñати',
+ 'h' => ':count ч.',
+ 'minute' => ':count минут|:count минута|:count минута',
+ 'min' => ':count мин.',
+ 'second' => ':count Ñекунд|:count Ñекунде|:count Ñекунди',
+ 's' => ':count Ñек.',
+ 'ago' => 'пре :time',
+ 'from_now' => 'за :time',
+ 'after' => ':time након',
+ 'before' => ':time пре',
+ 'year_from_now' => ':count годину|:count године|:count година',
+ 'year_ago' => ':count годину|:count године|:count година',
+ 'week_from_now' => ':count недељу|:count недеље|:count недеља',
+ 'week_ago' => ':count недељу|:count недеље|:count недеља',
+ 'diff_now' => 'управо Ñада',
+ 'diff_today' => 'данаÑ',
+ 'diff_today_regexp' => 'данаÑ(?:\\s+у)?',
+ 'diff_yesterday' => 'јуче',
+ 'diff_yesterday_regexp' => 'јуче(?:\\s+у)?',
+ 'diff_tomorrow' => 'Ñутра',
+ 'diff_tomorrow_regexp' => 'Ñутра(?:\\s+у)?',
+ 'diff_before_yesterday' => 'прекјуче',
+ 'diff_after_tomorrow' => 'прекоÑутра',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ð´Ð°Ð½Ð°Ñ Ñƒ] LT',
+ 'nextDay' => '[Ñутра у] LT',
+ 'nextWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[у недељу у] LT';
+ case 3:
+ return '[у Ñреду у] LT';
+ case 6:
+ return '[у Ñуботу у] LT';
+ default:
+ return '[у] dddd [у] LT';
+ }
+ },
+ 'lastDay' => '[јуче у] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[прошле недеље у] LT';
+ case 1:
+ return '[прошлог понедељка у] LT';
+ case 2:
+ return '[прошлог уторка у] LT';
+ case 3:
+ return '[прошле Ñреде у] LT';
+ case 4:
+ return '[прошлог четвртка у] LT';
+ case 5:
+ return '[прошлог петка у] LT';
+ default:
+ return '[прошле Ñуботе у] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'авгуÑÑ‚', 'Ñептембар', 'октобар', 'новембар', 'децембар'],
+ 'months_short' => ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'Ñеп.', 'окт.', 'нов.', 'дец.'],
+ 'weekdays' => ['недеља', 'понедељак', 'уторак', 'Ñреда', 'четвртак', 'петак', 'Ñубота'],
+ 'weekdays_short' => ['нед.', 'пон.', 'уто.', 'Ñре.', 'чет.', 'пет.', 'Ñуб.'],
+ 'weekdays_min' => ['не', 'по', 'ут', 'ÑÑ€', 'че', 'пе', 'Ñу'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' и '],
+ 'meridiem' => ['ÐМ', 'ПМ'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php
new file mode 100644
index 0000000..4b29a45
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php
@@ -0,0 +1,33 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'sr');
+ }, 'sr_Cyrl_BA');
+}
+// @codeCoverageIgnoreEnd
+
+return array_replace_recursive(require __DIR__.'/sr_Cyrl.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D.M.yy.',
+ 'LL' => 'DD.MM.YYYY.',
+ 'LLL' => 'DD. MMMM YYYY. HH:mm',
+ 'LLLL' => 'dddd, DD. MMMM YYYY. HH:mm',
+ ],
+ 'weekdays' => ['недјеља', 'понедељак', 'уторак', 'Ñриједа', 'четвртак', 'петак', 'Ñубота'],
+ 'weekdays_short' => ['нед.', 'пон.', 'ут.', 'ÑÑ€.', 'чет.', 'пет.', 'Ñуб.'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php
new file mode 100644
index 0000000..28d22fd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php
@@ -0,0 +1,118 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Glavić
+ * - Milos Sakovic
+ */
+
+use Carbon\CarbonInterface;
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'sr');
+ }, 'sr_Cyrl_ME');
+}
+// @codeCoverageIgnoreEnd
+
+return [
+ 'year' => ':count година|:count године|:count година',
+ 'y' => ':count г.',
+ 'month' => ':count мјеÑец|:count мјеÑеца|:count мјеÑеци',
+ 'm' => ':count мј.',
+ 'week' => ':count недјеља|:count недјеље|:count недјеља',
+ 'w' => ':count нед.',
+ 'day' => ':count дан|:count дана|:count дана',
+ 'd' => ':count д.',
+ 'hour' => ':count Ñат|:count Ñата|:count Ñати',
+ 'h' => ':count ч.',
+ 'minute' => ':count минут|:count минута|:count минута',
+ 'min' => ':count мин.',
+ 'second' => ':count Ñекунд|:count Ñекунде|:count Ñекунди',
+ 's' => ':count Ñек.',
+ 'ago' => 'прије :time',
+ 'from_now' => 'за :time',
+ 'after' => ':time након',
+ 'before' => ':time прије',
+
+ 'year_from_now' => ':count годину|:count године|:count година',
+ 'year_ago' => ':count годину|:count године|:count година',
+
+ 'week_from_now' => ':count недјељу|:count недјеље|:count недјеља',
+ 'week_ago' => ':count недјељу|:count недјеље|:count недјеља',
+
+ 'diff_now' => 'управо Ñада',
+ 'diff_today' => 'данаÑ',
+ 'diff_today_regexp' => 'данаÑ(?:\\s+у)?',
+ 'diff_yesterday' => 'јуче',
+ 'diff_yesterday_regexp' => 'јуче(?:\\s+у)?',
+ 'diff_tomorrow' => 'Ñутра',
+ 'diff_tomorrow_regexp' => 'Ñутра(?:\\s+у)?',
+ 'diff_before_yesterday' => 'прекјуче',
+ 'diff_after_tomorrow' => 'прекоÑјутра',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM YYYY',
+ 'LLL' => 'D. MMMM YYYY H:mm',
+ 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ð´Ð°Ð½Ð°Ñ Ñƒ] LT',
+ 'nextDay' => '[Ñутра у] LT',
+ 'nextWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[у недељу у] LT';
+ case 3:
+ return '[у Ñреду у] LT';
+ case 6:
+ return '[у Ñуботу у] LT';
+ default:
+ return '[у] dddd [у] LT';
+ }
+ },
+ 'lastDay' => '[јуче у] LT',
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[прошле недеље у] LT';
+ case 1:
+ return '[прошлог понедељка у] LT';
+ case 2:
+ return '[прошлог уторка у] LT';
+ case 3:
+ return '[прошле Ñреде у] LT';
+ case 4:
+ return '[прошлог четвртка у] LT';
+ case 5:
+ return '[прошлог петка у] LT';
+ default:
+ return '[прошле Ñуботе у] LT';
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'авгуÑÑ‚', 'Ñептембар', 'октобар', 'новембар', 'децембар'],
+ 'months_short' => ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'Ñеп.', 'окт.', 'нов.', 'дец.'],
+ 'weekdays' => ['недеља', 'понедељак', 'уторак', 'Ñреда', 'четвртак', 'петак', 'Ñубота'],
+ 'weekdays_short' => ['нед.', 'пон.', 'уто.', 'Ñре.', 'чет.', 'пет.', 'Ñуб.'],
+ 'weekdays_min' => ['не', 'по', 'ут', 'ÑÑ€', 'че', 'пе', 'Ñу'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' и '],
+ 'meridiem' => ['ÐМ', 'ПМ'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php
new file mode 100644
index 0000000..d6e29b8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php
@@ -0,0 +1,24 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'sr');
+ }, 'sr_Cyrl_XK');
+}
+// @codeCoverageIgnoreEnd
+
+return array_replace_recursive(require __DIR__.'/sr_Cyrl_BA.php', [
+ 'weekdays' => ['недеља', 'понедељак', 'уторак', 'Ñреда', 'четвртак', 'петак', 'Ñубота'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php
new file mode 100644
index 0000000..9971674
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php
new file mode 100644
index 0000000..95b2770
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php
@@ -0,0 +1,33 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'sr');
+ }, 'sr_Latn_BA');
+}
+// @codeCoverageIgnoreEnd
+
+return array_replace_recursive(require __DIR__.'/sr_Latn.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D.M.yy.',
+ 'LL' => 'DD.MM.YYYY.',
+ 'LLL' => 'DD. MMMM YYYY. HH:mm',
+ 'LLLL' => 'dddd, DD. MMMM YYYY. HH:mm',
+ ],
+ 'weekdays' => ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'Äetvrtak', 'petak', 'subota'],
+ 'weekdays_short' => ['ned.', 'pon.', 'ut.', 'sr.', 'Äet.', 'pet.', 'sub.'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php
new file mode 100644
index 0000000..5b8f2d0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php
@@ -0,0 +1,76 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Glavić
+ * - Milos Sakovic
+ */
+
+use Carbon\CarbonInterface;
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'sr');
+ }, 'sr_Latn_ME');
+}
+// @codeCoverageIgnoreEnd
+
+return array_replace_recursive(require __DIR__.'/sr.php', [
+ 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
+ 'week' => ':count nedjelja|:count nedjelje|:count nedjelja',
+ 'second' => ':count sekund|:count sekunde|:count sekundi',
+ 'ago' => 'prije :time',
+ 'from_now' => 'za :time',
+ 'after' => ':time nakon',
+ 'before' => ':time prije',
+ 'week_from_now' => ':count nedjelju|:count nedjelje|:count nedjelja',
+ 'week_ago' => ':count nedjelju|:count nedjelje|:count nedjelja',
+ 'second_ago' => ':count sekund|:count sekunde|:count sekundi',
+ 'diff_tomorrow' => 'sjutra',
+ 'calendar' => [
+ 'nextDay' => '[sjutra u] LT',
+ 'nextWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[u nedjelju u] LT';
+ case 3:
+ return '[u srijedu u] LT';
+ case 6:
+ return '[u subotu u] LT';
+ default:
+ return '[u] dddd [u] LT';
+ }
+ },
+ 'lastWeek' => function (CarbonInterface $date) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ return '[prošle nedjelje u] LT';
+ case 1:
+ return '[prošle nedjelje u] LT';
+ case 2:
+ return '[prošlog utorka u] LT';
+ case 3:
+ return '[prošle srijede u] LT';
+ case 4:
+ return '[proÅ¡log Äetvrtka u] LT';
+ case 5:
+ return '[prošlog petka u] LT';
+ default:
+ return '[prošle subote u] LT';
+ }
+ },
+ ],
+ 'weekdays' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'Äetvrtak', 'petak', 'subota'],
+ 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', 'Äet.', 'pet.', 'sub.'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php
new file mode 100644
index 0000000..5278e2e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php
@@ -0,0 +1,24 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Symfony\Component\Translation\PluralizationRules;
+
+// @codeCoverageIgnoreStart
+if (class_exists(PluralizationRules::class)) {
+ PluralizationRules::set(static function ($number) {
+ return PluralizationRules::get($number, 'sr');
+ }, 'sr_Latn_XK');
+}
+// @codeCoverageIgnoreEnd
+
+return array_replace_recursive(require __DIR__.'/sr_Latn_BA.php', [
+ 'weekdays' => ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'Äetvrtak', 'petak', 'subota'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php
new file mode 100644
index 0000000..d7c65b9
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sr_Latn_ME.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS.php
new file mode 100644
index 0000000..bc5e04b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS.php
@@ -0,0 +1,16 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - sr_YU, sr_CS locale Danilo Segan bug-glibc-locales@gnu.org
+ */
+return require __DIR__.'/sr_Cyrl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php
new file mode 100644
index 0000000..9971674
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ss.php b/vendor/nesbot/carbon/src/Carbon/Lang/ss.php
new file mode 100644
index 0000000..1c52c9b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ss.php
@@ -0,0 +1,78 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Nicolai Davies
+ */
+return [
+ 'year' => '{1}umnyaka|:count iminyaka',
+ 'month' => '{1}inyanga|:count tinyanga',
+ 'week' => '{1}:count liviki|:count emaviki',
+ 'day' => '{1}lilanga|:count emalanga',
+ 'hour' => '{1}lihora|:count emahora',
+ 'minute' => '{1}umzuzu|:count emizuzu',
+ 'second' => '{1}emizuzwana lomcane|:count mzuzwana',
+ 'ago' => 'wenteka nga :time',
+ 'from_now' => 'nga :time',
+ 'diff_yesterday' => 'Itolo',
+ 'diff_yesterday_regexp' => 'Itolo(?:\\s+nga)?',
+ 'diff_today' => 'Namuhla',
+ 'diff_today_regexp' => 'Namuhla(?:\\s+nga)?',
+ 'diff_tomorrow' => 'Kusasa',
+ 'diff_tomorrow_regexp' => 'Kusasa(?:\\s+nga)?',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm A',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm A',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Namuhla nga] LT',
+ 'nextDay' => '[Kusasa nga] LT',
+ 'nextWeek' => 'dddd [nga] LT',
+ 'lastDay' => '[Itolo nga] LT',
+ 'lastWeek' => 'dddd [leliphelile] [nga] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ $lastDigit = $number % 10;
+
+ return $number.(
+ ((int) ($number % 100 / 10) === 1) ? 'e' : (
+ ($lastDigit === 1 || $lastDigit === 2) ? 'a' : 'e'
+ )
+ );
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 11) {
+ return 'ekuseni';
+ }
+ if ($hour < 15) {
+ return 'emini';
+ }
+ if ($hour < 19) {
+ return 'entsambama';
+ }
+
+ return 'ebusuku';
+ },
+ 'months' => ['Bhimbidvwane', 'Indlovana', 'Indlov\'lenkhulu', 'Mabasa', 'Inkhwekhweti', 'Inhlaba', 'Kholwane', 'Ingci', 'Inyoni', 'Imphala', 'Lweti', 'Ingongoni'],
+ 'months_short' => ['Bhi', 'Ina', 'Inu', 'Mab', 'Ink', 'Inh', 'Kho', 'Igc', 'Iny', 'Imp', 'Lwe', 'Igo'],
+ 'weekdays' => ['Lisontfo', 'Umsombuluko', 'Lesibili', 'Lesitsatfu', 'Lesine', 'Lesihlanu', 'Umgcibelo'],
+ 'weekdays_short' => ['Lis', 'Umb', 'Lsb', 'Les', 'Lsi', 'Lsh', 'Umg'],
+ 'weekdays_min' => ['Li', 'Us', 'Lb', 'Lt', 'Ls', 'Lh', 'Ug'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php
new file mode 100644
index 0000000..ba89527
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/ss.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/st.php b/vendor/nesbot/carbon/src/Carbon/Lang/st.php
new file mode 100644
index 0000000..b065445
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/st.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/st_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/st_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/st_ZA.php
new file mode 100644
index 0000000..5bce7f2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/st_ZA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Pherekgong', 'Hlakola', 'Tlhakubele', 'Mmese', 'Motsheanong', 'Phupjane', 'Phupu', 'Phato', 'Leotse', 'Mphalane', 'Pudungwana', 'Tshitwe'],
+ 'months_short' => ['Phe', 'Hla', 'TlH', 'Mme', 'Mot', 'Jan', 'Upu', 'Pha', 'Leo', 'Mph', 'Pud', 'Tsh'],
+ 'weekdays' => ['Sontaha', 'Mantaha', 'Labobedi', 'Laboraro', 'Labone', 'Labohlano', 'Moqebelo'],
+ 'weekdays_short' => ['Son', 'Mma', 'Bed', 'Rar', 'Ne', 'Hla', 'Moq'],
+ 'weekdays_min' => ['Son', 'Mma', 'Bed', 'Rar', 'Ne', 'Hla', 'Moq'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'week' => ':count Sontaha', // less reliable
+ 'w' => ':count Sontaha', // less reliable
+ 'a_week' => ':count Sontaha', // less reliable
+
+ 'day' => ':count letsatsi', // less reliable
+ 'd' => ':count letsatsi', // less reliable
+ 'a_day' => ':count letsatsi', // less reliable
+
+ 'hour' => ':count sešupanako', // less reliable
+ 'h' => ':count sešupanako', // less reliable
+ 'a_hour' => ':count sešupanako', // less reliable
+
+ 'minute' => ':count menyane', // less reliable
+ 'min' => ':count menyane', // less reliable
+ 'a_minute' => ':count menyane', // less reliable
+
+ 'second' => ':count thusa', // less reliable
+ 's' => ':count thusa', // less reliable
+ 'a_second' => ':count thusa', // less reliable
+
+ 'year' => ':count selemo',
+ 'y' => ':count selemo',
+ 'a_year' => ':count selemo',
+
+ 'month' => ':count kgwedi',
+ 'm' => ':count kgwedi',
+ 'a_month' => ':count kgwedi',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv.php
new file mode 100644
index 0000000..1706c71
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv.php
@@ -0,0 +1,87 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Kristoffer Snabb
+ * - JD Isaacks
+ * - Jens Herlevsen
+ * - Nightpine
+ * - Anders Nygren (litemerafrukt)
+ */
+return [
+ 'year' => ':count år',
+ 'a_year' => 'ett år|:count år',
+ 'y' => ':count år',
+ 'month' => ':count månad|:count månader',
+ 'a_month' => 'en månad|:count månader',
+ 'm' => ':count mån',
+ 'week' => ':count vecka|:count veckor',
+ 'a_week' => 'en vecka|:count veckor',
+ 'w' => ':count v',
+ 'day' => ':count dag|:count dagar',
+ 'a_day' => 'en dag|:count dagar',
+ 'd' => ':count dgr',
+ 'hour' => ':count timme|:count timmar',
+ 'a_hour' => 'en timme|:count timmar',
+ 'h' => ':count tim',
+ 'minute' => ':count minut|:count minuter',
+ 'a_minute' => 'en minut|:count minuter',
+ 'min' => ':count min',
+ 'second' => ':count sekund|:count sekunder',
+ 'a_second' => 'några sekunder|:count sekunder',
+ 's' => ':count s',
+ 'ago' => 'för :time sedan',
+ 'from_now' => 'om :time',
+ 'after' => ':time efter',
+ 'before' => ':time före',
+ 'diff_now' => 'nu',
+ 'diff_today' => 'I dag',
+ 'diff_yesterday' => 'i går',
+ 'diff_yesterday_regexp' => 'I går',
+ 'diff_tomorrow' => 'i morgon',
+ 'diff_tomorrow_regexp' => 'I morgon',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY [kl.] HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY [kl.] HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[I dag] LT',
+ 'nextDay' => '[I morgon] LT',
+ 'nextWeek' => '[PÃ¥] dddd LT',
+ 'lastDay' => '[I går] LT',
+ 'lastWeek' => '[I] dddd[s] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ $lastDigit = $number % 10;
+
+ return $number.(
+ ((int) ($number % 100 / 10) === 1) ? 'e' : (
+ ($lastDigit === 1 || $lastDigit === 2) ? 'a' : 'e'
+ )
+ );
+ },
+ 'months' => ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december'],
+ 'months_short' => ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ 'weekdays' => ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'],
+ 'weekdays_short' => ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'],
+ 'weekdays_min' => ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' och '],
+ 'meridiem' => ['fm', 'em'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php
new file mode 100644
index 0000000..70cc558
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php
@@ -0,0 +1,19 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/sv.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php
new file mode 100644
index 0000000..d7182c8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php
new file mode 100644
index 0000000..d7182c8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/sv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw.php
new file mode 100644
index 0000000..f8630d5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw.php
@@ -0,0 +1,74 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - leyluj
+ * - Josh Soref
+ * - ryanhart2
+ */
+return [
+ 'year' => 'mwaka :count|miaka :count',
+ 'a_year' => 'mwaka mmoja|miaka :count',
+ 'y' => 'mwaka :count|miaka :count',
+ 'month' => 'mwezi :count|miezi :count',
+ 'a_month' => 'mwezi mmoja|miezi :count',
+ 'm' => 'mwezi :count|miezi :count',
+ 'week' => 'wiki :count',
+ 'a_week' => 'wiki mmoja|wiki :count',
+ 'w' => 'w. :count',
+ 'day' => 'siku :count',
+ 'a_day' => 'siku moja|masiku :count',
+ 'd' => 'si. :count',
+ 'hour' => 'saa :count|masaa :count',
+ 'a_hour' => 'saa limoja|masaa :count',
+ 'h' => 'saa :count|masaa :count',
+ 'minute' => 'dakika :count',
+ 'a_minute' => 'dakika moja|dakika :count',
+ 'min' => 'd. :count',
+ 'second' => 'sekunde :count',
+ 'a_second' => 'hivi punde|sekunde :count',
+ 's' => 'se. :count',
+ 'ago' => 'tokea :time',
+ 'from_now' => ':time baadaye',
+ 'after' => ':time baada',
+ 'before' => ':time kabla',
+ 'diff_now' => 'sasa hivi',
+ 'diff_today' => 'leo',
+ 'diff_today_regexp' => 'leo(?:\\s+saa)?',
+ 'diff_yesterday' => 'jana',
+ 'diff_tomorrow' => 'kesho',
+ 'diff_tomorrow_regexp' => 'kesho(?:\\s+saa)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[leo saa] LT',
+ 'nextDay' => '[kesho saa] LT',
+ 'nextWeek' => '[wiki ijayo] dddd [saat] LT',
+ 'lastDay' => '[jana] LT',
+ 'lastWeek' => '[wiki iliyopita] dddd [saat] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Jpl', 'Jtat', 'Jnne', 'Jtan', 'Alh', 'Ijm', 'Jmos'],
+ 'weekdays_min' => ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' na '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php
new file mode 100644
index 0000000..ec9117b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/sw.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw_KE.php
new file mode 100644
index 0000000..2ace0db
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw_KE.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kamusi Project Martin Benjamin locales@kamusi.org
+ */
+return array_replace_recursive(require __DIR__.'/sw.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['J2', 'J3', 'J4', 'J5', 'Alh', 'Ij', 'J1'],
+ 'weekdays_min' => ['J2', 'J3', 'J4', 'J5', 'Alh', 'Ij', 'J1'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['asubuhi', 'alasiri'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw_TZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw_TZ.php
new file mode 100644
index 0000000..fab3cd6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw_TZ.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kamusi Project Martin Benjamin locales@kamusi.org
+ */
+return array_replace_recursive(require __DIR__.'/sw.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['J2', 'J3', 'J4', 'J5', 'Alh', 'Ij', 'J1'],
+ 'weekdays_min' => ['J2', 'J3', 'J4', 'J5', 'Alh', 'Ij', 'J1'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['asubuhi', 'alasiri'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php
new file mode 100644
index 0000000..ec9117b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/sw.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/szl.php b/vendor/nesbot/carbon/src/Carbon/Lang/szl.php
new file mode 100644
index 0000000..4429c4f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/szl.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/szl_PL.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/szl_PL.php b/vendor/nesbot/carbon/src/Carbon/Lang/szl_PL.php
new file mode 100644
index 0000000..9adddcf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/szl_PL.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - szl_PL locale Przemyslaw Buczkowski libc-alpha@sourceware.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['styczyń', 'luty', 'merc', 'kwjeciyń', 'moj', 'czyrwjyń', 'lipjyń', 'siyrpjyń', 'wrzesiyń', 'październik', 'listopad', 'grudziyń'],
+ 'months_short' => ['sty', 'lut', 'mer', 'kwj', 'moj', 'czy', 'lip', 'siy', 'wrz', 'paź', 'lis', 'gru'],
+ 'weekdays' => ['niydziela', 'pyÅ„dziÅek', 'wtÅrek', 'strzÅda', 'sztwortek', 'pjÅntek', 'sobÅta'],
+ 'weekdays_short' => ['niy', 'pyÅ„', 'wtÅ', 'str', 'szt', 'pjÅ', 'sob'],
+ 'weekdays_min' => ['niy', 'pyÅ„', 'wtÅ', 'str', 'szt', 'pjÅ', 'sob'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count rok',
+ 'y' => ':count rok',
+ 'a_year' => ':count rok',
+
+ 'month' => ':count mjeśůnc',
+ 'm' => ':count mjeśůnc',
+ 'a_month' => ':count mjeśůnc',
+
+ 'week' => ':count tydźyń',
+ 'w' => ':count tydźyń',
+ 'a_week' => ':count tydźyń',
+
+ 'day' => ':count dźyń',
+ 'd' => ':count dźyń',
+ 'a_day' => ':count dźyń',
+
+ 'hour' => ':count godzina',
+ 'h' => ':count godzina',
+ 'a_hour' => ':count godzina',
+
+ 'minute' => ':count minuta',
+ 'min' => ':count minuta',
+ 'a_minute' => ':count minuta',
+
+ 'second' => ':count sekůnda',
+ 's' => ':count sekůnda',
+ 'a_second' => ':count sekůnda',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta.php
new file mode 100644
index 0000000..c1d89cb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta.php
@@ -0,0 +1,97 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - François B
+ * - JD Isaacks
+ * - Satheez
+ */
+return [
+ 'year' => ':count வரà¯à®Ÿà®®à¯|:count ஆணà¯à®Ÿà¯à®•ளà¯',
+ 'a_year' => 'ஒர௠வரà¯à®Ÿà®®à¯|:count ஆணà¯à®Ÿà¯à®•ளà¯',
+ 'y' => ':count வரà¯à®Ÿ.|:count ஆணà¯.',
+ 'month' => ':count மாதமà¯|:count மாதஙà¯à®•ளà¯',
+ 'a_month' => 'ஒர௠மாதமà¯|:count மாதஙà¯à®•ளà¯',
+ 'm' => ':count மாத.',
+ 'week' => ':count வாரமà¯|:count வாரஙà¯à®•ளà¯',
+ 'a_week' => 'ஒர௠வாரமà¯|:count வாரஙà¯à®•ளà¯',
+ 'w' => ':count வார.',
+ 'day' => ':count நாளà¯|:count நாடà¯à®•ளà¯',
+ 'a_day' => 'ஒர௠நாளà¯|:count நாடà¯à®•ளà¯',
+ 'd' => ':count நாளà¯|:count நாடà¯.',
+ 'hour' => ':count மணி நேரமà¯|:count மணி நேரமà¯',
+ 'a_hour' => 'ஒர௠மணி நேரமà¯|:count மணி நேரமà¯',
+ 'h' => ':count மணி.',
+ 'minute' => ':count நிமிடமà¯|:count நிமிடஙà¯à®•ளà¯',
+ 'a_minute' => 'ஒர௠நிமிடமà¯|:count நிமிடஙà¯à®•ளà¯',
+ 'min' => ':count நிமி.',
+ 'second' => ':count சில விநாடிகளà¯|:count விநாடிகளà¯',
+ 'a_second' => 'ஒர௠சில விநாடிகளà¯|:count விநாடிகளà¯',
+ 's' => ':count விநா.',
+ 'ago' => ':time à®®à¯à®©à¯',
+ 'from_now' => ':time இலà¯',
+ 'before' => ':time à®®à¯à®©à¯',
+ 'after' => ':time பினà¯',
+ 'diff_now' => 'இபà¯à®ªà¯‹à®¤à¯',
+ 'diff_today' => 'இனà¯à®±à¯',
+ 'diff_yesterday' => 'நேறà¯à®±à¯',
+ 'diff_tomorrow' => 'நாளை',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[இனà¯à®±à¯] LT',
+ 'nextDay' => '[நாளை] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[நேறà¯à®±à¯] LT',
+ 'lastWeek' => '[கடநà¯à®¤ வாரமà¯] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberவதà¯',
+ 'meridiem' => function ($hour) {
+ if ($hour < 2) {
+ return ' யாமமà¯';
+ }
+ if ($hour < 6) {
+ return ' வைகறை';
+ }
+ if ($hour < 10) {
+ return ' காலை';
+ }
+ if ($hour < 14) {
+ return ' நணà¯à®ªà®•லà¯';
+ }
+ if ($hour < 18) {
+ return ' எறà¯à®ªà®¾à®Ÿà¯';
+ }
+ if ($hour < 22) {
+ return ' மாலை';
+ }
+
+ return ' யாமமà¯';
+ },
+ 'months' => ['ஜனவரி', 'பிபà¯à®°à®µà®°à®¿', 'மாரà¯à®šà¯', 'à®à®ªà¯à®°à®²à¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆகஸà¯à®Ÿà¯', 'செபà¯à®Ÿà¯†à®®à¯à®ªà®°à¯', 'அகà¯à®Ÿà¯‡à®¾à®ªà®°à¯', 'நவமà¯à®ªà®°à¯', 'டிசமà¯à®ªà®°à¯'],
+ 'months_short' => ['ஜனவரி', 'பிபà¯à®°à®µà®°à®¿', 'மாரà¯à®šà¯', 'à®à®ªà¯à®°à®²à¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆகஸà¯à®Ÿà¯', 'செபà¯à®Ÿà¯†à®®à¯à®ªà®°à¯', 'அகà¯à®Ÿà¯‡à®¾à®ªà®°à¯', 'நவமà¯à®ªà®°à¯', 'டிசமà¯à®ªà®°à¯'],
+ 'weekdays' => ['ஞாயிறà¯à®±à¯à®•à¯à®•ிழமை', 'திஙà¯à®•டà¯à®•ிழமை', 'செவà¯à®µà®¾à®¯à¯à®•ிழமை', 'பà¯à®¤à®©à¯à®•ிழமை', 'வியாழகà¯à®•ிழமை', 'வெளà¯à®³à®¿à®•à¯à®•ிழமை', 'சனிகà¯à®•ிழமை'],
+ 'weekdays_short' => ['ஞாயிறà¯', 'திஙà¯à®•ளà¯', 'செவà¯à®µà®¾à®¯à¯', 'பà¯à®¤à®©à¯', 'வியாழனà¯', 'வெளà¯à®³à®¿', 'சனி'],
+ 'weekdays_min' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' மறà¯à®±à¯à®®à¯ '],
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta_IN.php
new file mode 100644
index 0000000..492d4c5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta_IN.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/ta.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['ஜனவரி', 'பிபà¯à®°à®µà®°à®¿', 'மாரà¯à®šà¯', 'à®à®ªà¯à®°à®²à¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆகஸà¯à®Ÿà¯', 'செபà¯à®Ÿà®®à¯à®ªà®°à¯', 'அகà¯à®Ÿà¯‹à®ªà®°à¯', 'நவமà¯à®ªà®°à¯', 'டிசமà¯à®ªà®°à¯'],
+ 'months_short' => ['ஜன.', 'பிபà¯.', 'மாரà¯.', 'à®à®ªà¯.', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆக.', 'செபà¯.', 'அகà¯.', 'நவ.', 'டிச.'],
+ 'weekdays' => ['ஞாயிறà¯', 'திஙà¯à®•ளà¯', 'செவà¯à®µà®¾à®¯à¯', 'பà¯à®¤à®©à¯', 'வியாழனà¯', 'வெளà¯à®³à®¿', 'சனி'],
+ 'weekdays_short' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'weekdays_min' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['காலை', 'மாலை'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta_LK.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta_LK.php
new file mode 100644
index 0000000..8e2afbf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta_LK.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - J.Yogaraj 94-777-315206 yogaraj.ubuntu@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/ta.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['ஜனவரி', 'பிபà¯à®°à®µà®°à®¿', 'மாரà¯à®šà¯', 'à®à®ªà¯à®°à®²à¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆகஸà¯à®Ÿà¯', 'செபà¯à®Ÿà®®à¯à®ªà®°à¯', 'அகà¯à®Ÿà¯‹à®ªà®°à¯', 'நவமà¯à®ªà®°à¯', 'டிசமà¯à®ªà®°à¯'],
+ 'months_short' => ['ஜன', 'பிபà¯', 'மாரà¯', 'à®à®ªà¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆக', 'செபà¯', 'அகà¯', 'நவ', 'டிச'],
+ 'weekdays' => ['ஞாயிறà¯', 'திஙà¯à®•ளà¯', 'செவà¯à®µà®¾à®¯à¯', 'பà¯à®¤à®©à¯', 'வியாழனà¯', 'வெளà¯à®³à®¿', 'சனி'],
+ 'weekdays_short' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'weekdays_min' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['காலை', 'மாலை'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php
new file mode 100644
index 0000000..a6cd8b5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ta.php', [
+ 'formats' => [
+ 'LT' => 'a h:mm',
+ 'LTS' => 'a h:mm:ss',
+ 'L' => 'D/M/yy',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM, YYYY, a h:mm',
+ 'LLLL' => 'dddd, D MMMM, YYYY, a h:mm',
+ ],
+ 'months' => ['ஜனவரி', 'பிபà¯à®°à®µà®°à®¿', 'மாரà¯à®šà¯', 'à®à®ªà¯à®°à®²à¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆகஸà¯à®Ÿà¯', 'செபà¯à®Ÿà®®à¯à®ªà®°à¯', 'அகà¯à®Ÿà¯‹à®ªà®°à¯', 'நவமà¯à®ªà®°à¯', 'டிசமà¯à®ªà®°à¯'],
+ 'months_short' => ['ஜன.', 'பிபà¯.', 'மாரà¯.', 'à®à®ªà¯.', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆக.', 'செபà¯.', 'அகà¯.', 'நவ.', 'டிச.'],
+ 'weekdays' => ['ஞாயிறà¯', 'திஙà¯à®•ளà¯', 'செவà¯à®µà®¾à®¯à¯', 'பà¯à®¤à®©à¯', 'வியாழனà¯', 'வெளà¯à®³à®¿', 'சனி'],
+ 'weekdays_short' => ['ஞாயி.', 'திஙà¯.', 'செவà¯.', 'பà¯à®¤.', 'வியா.', 'வெளà¯.', 'சனி'],
+ 'weekdays_min' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'first_day_of_week' => 1,
+ 'meridiem' => ['à®®à¯.ப', 'பி.ப'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php
new file mode 100644
index 0000000..7dbedee
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ta.php', [
+ 'formats' => [
+ 'LT' => 'a h:mm',
+ 'LTS' => 'a h:mm:ss',
+ 'L' => 'D/M/yy',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM, YYYY, a h:mm',
+ 'LLLL' => 'dddd, D MMMM, YYYY, a h:mm',
+ ],
+ 'months' => ['ஜனவரி', 'பிபà¯à®°à®µà®°à®¿', 'மாரà¯à®šà¯', 'à®à®ªà¯à®°à®²à¯', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆகஸà¯à®Ÿà¯', 'செபà¯à®Ÿà®®à¯à®ªà®°à¯', 'அகà¯à®Ÿà¯‹à®ªà®°à¯', 'நவமà¯à®ªà®°à¯', 'டிசமà¯à®ªà®°à¯'],
+ 'months_short' => ['ஜன.', 'பிபà¯.', 'மாரà¯.', 'à®à®ªà¯.', 'மே', 'ஜூனà¯', 'ஜூலை', 'ஆக.', 'செபà¯.', 'அகà¯.', 'நவ.', 'டிச.'],
+ 'weekdays' => ['ஞாயிறà¯', 'திஙà¯à®•ளà¯', 'செவà¯à®µà®¾à®¯à¯', 'பà¯à®¤à®©à¯', 'வியாழனà¯', 'வெளà¯à®³à®¿', 'சனி'],
+ 'weekdays_short' => ['ஞாயி.', 'திஙà¯.', 'செவà¯.', 'பà¯à®¤.', 'வியா.', 'வெளà¯.', 'சனி'],
+ 'weekdays_min' => ['ஞா', 'தி', 'செ', 'பà¯', 'வி', 'வெ', 'ச'],
+ 'meridiem' => ['à®®à¯.ப', 'பி.ப'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tcy.php b/vendor/nesbot/carbon/src/Carbon/Lang/tcy.php
new file mode 100644
index 0000000..2eb9905
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tcy.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/tcy_IN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tcy_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/tcy_IN.php
new file mode 100644
index 0000000..2ff20e0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tcy_IN.php
@@ -0,0 +1,39 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IndLinux.org, Samsung Electronics Co., Ltd. alexey.merzlyakov@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['ಜನವರಿ', 'ಫೆಬà³à²°à³à²µà²°à²¿', 'ಮಾರà³à²šà³', 'à²à²ªà³à²°à²¿à²²à³â€Œâ€Œ', 'ಮೇ', 'ಜೂನà³', 'ಜà³à²²à³ˆ', 'ಆಗಸà³à²Ÿà³', 'ಸೆಪà³à²Ÿà³†à²‚ಬರà³â€Œ', 'ಅಕà³à²Ÿà³‹à²¬à²°à³', 'ನವೆಂಬರà³', 'ಡಿಸೆಂಬರà³'],
+ 'months_short' => ['ಜ', 'ಫೆ', 'ಮಾ', 'à²', 'ಮೇ', 'ಜೂ', 'ಜà³', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'],
+ 'weekdays' => ['à²à²¥à²¾à²°', 'ಸೋಮಾರ', 'ಅಂಗರೆ', 'ಬà³à²§à²¾à²°', 'ಗà³à²°à³à²µà²¾à²°', 'ಶà³à²•à³à²°à²°', 'ಶನಿವಾರ'],
+ 'weekdays_short' => ['à²', 'ಸೋ', 'ಅಂ', 'ಬà³', 'ಗà³', 'ಶà³', 'ಶ'],
+ 'weekdays_min' => ['à²', 'ಸೋ', 'ಅಂ', 'ಬà³', 'ಗà³', 'ಶà³', 'ಶ'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ಕಾಂಡೆ', 'ಬಯà³à²¯'],
+
+ 'year' => ':count ನೀರà³', // less reliable
+ 'y' => ':count ನೀರà³', // less reliable
+ 'a_year' => ':count ನೀರà³', // less reliable
+
+ 'month' => ':count ಮೀನà³', // less reliable
+ 'm' => ':count ಮೀನà³', // less reliable
+ 'a_month' => ':count ಮೀನà³', // less reliable
+
+ 'day' => ':count ಸà³à²—à³à²—ಿ', // less reliable
+ 'd' => ':count ಸà³à²—à³à²—ಿ', // less reliable
+ 'a_day' => ':count ಸà³à²—à³à²—ಿ', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/te.php b/vendor/nesbot/carbon/src/Carbon/Lang/te.php
new file mode 100644
index 0000000..ac38218
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/te.php
@@ -0,0 +1,89 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - Josh Soref
+ * - François B
+ * - kc
+ */
+return [
+ 'year' => ':count సంవతà±à°¸à°°à°‚|:count సంవతà±à°¸à°°à°¾à°²à±',
+ 'a_year' => 'à°’à°• సంవతà±à°¸à°°à°‚|:count సంవతà±à°¸à°°à°¾à°²à±',
+ 'y' => ':count సం.',
+ 'month' => ':count నెల|:count నెలలà±',
+ 'a_month' => 'à°’à°• నెల|:count నెలలà±',
+ 'm' => ':count నెల|:count నెల.',
+ 'week' => ':count వారం|:count వారాలà±',
+ 'a_week' => 'à°’à°• వారం|:count వారాలà±',
+ 'w' => ':count వార.|:count వారా.',
+ 'day' => ':count రోజà±|:count రోజà±à°²à±',
+ 'a_day' => 'à°’à°• రోజà±|:count రోజà±à°²à±',
+ 'd' => ':count రోజà±|:count రోజà±.',
+ 'hour' => ':count à°—à°‚à°Ÿ|:count à°—à°‚à°Ÿà°²à±',
+ 'a_hour' => 'à°’à°• à°—à°‚à°Ÿ|:count à°—à°‚à°Ÿà°²à±',
+ 'h' => ':count à°—à°‚.',
+ 'minute' => ':count నిమిషం|:count నిమిషాలà±',
+ 'a_minute' => 'à°’à°• నిమిషం|:count నిమిషాలà±',
+ 'min' => ':count నిమి.',
+ 'second' => ':count సెకనà±|:count సెకనà±à°²à±',
+ 'a_second' => 'కొనà±à°¨à°¿ à°•à±à°·à°£à°¾à°²à±|:count సెకనà±à°²à±',
+ 's' => ':count సెక.',
+ 'ago' => ':time à°•à±à°°à°¿à°¤à°‚',
+ 'from_now' => ':time లో',
+ 'diff_now' => 'à°ªà±à°°à°¸à±à°¤à±à°¤à°‚',
+ 'diff_today' => 'నేడà±',
+ 'diff_yesterday' => 'నినà±à°¨',
+ 'diff_tomorrow' => 'రేపà±',
+ 'formats' => [
+ 'LT' => 'A h:mm',
+ 'LTS' => 'A h:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, A h:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, A h:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[నేడà±] LT',
+ 'nextDay' => '[రేపà±] LT',
+ 'nextWeek' => 'dddd, LT',
+ 'lastDay' => '[నినà±à°¨] LT',
+ 'lastWeek' => '[à°—à°¤] dddd, LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberà°µ',
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'రాతà±à°°à°¿';
+ }
+ if ($hour < 10) {
+ return 'ఉదయం';
+ }
+ if ($hour < 17) {
+ return 'మధà±à°¯à°¾à°¹à±à°¨à°‚';
+ }
+ if ($hour < 20) {
+ return 'సాయంతà±à°°à°‚';
+ }
+
+ return ' రాతà±à°°à°¿';
+ },
+ 'months' => ['జనవరి', 'à°«à°¿à°¬à±à°°à°µà°°à°¿', 'మారà±à°šà°¿', 'à°à°ªà±à°°à°¿à°²à±', 'మే', 'జూనà±', 'జూలై', 'ఆగసà±à°Ÿà±', 'సెపà±à°Ÿà±†à°‚బరà±', 'à°…à°•à±à°Ÿà±‹à°¬à°°à±', 'నవంబరà±', 'డిసెంబరà±'],
+ 'months_short' => ['జన.', 'à°«à°¿à°¬à±à°°.', 'మారà±à°šà°¿', 'à°à°ªà±à°°à°¿.', 'మే', 'జూనà±', 'జూలై', 'ఆగ.', 'సెపà±.', 'à°…à°•à±à°Ÿà±‹.', 'నవ.', 'డిసె.'],
+ 'weekdays' => ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'à°¬à±à°§à°µà°¾à°°à°‚', 'à°—à±à°°à±à°µà°¾à°°à°‚', 'à°¶à±à°•à±à°°à°µà°¾à°°à°‚', 'శనివారం'],
+ 'weekdays_short' => ['ఆది', 'సోమ', 'మంగళ', 'à°¬à±à°§', 'à°—à±à°°à±', 'à°¶à±à°•à±à°°', 'శని'],
+ 'weekdays_min' => ['à°†', 'సో', 'మం', 'à°¬à±', 'à°—à±', 'à°¶à±', 'à°¶'],
+ 'list' => ', ',
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'weekend' => [0, 0],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php
new file mode 100644
index 0000000..3963f8d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/te.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/teo.php b/vendor/nesbot/carbon/src/Carbon/Lang/teo.php
new file mode 100644
index 0000000..ca30c37
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/teo.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ta.php', [
+ 'meridiem' => ['Taparachu', 'Ebongi'],
+ 'weekdays' => ['Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti'],
+ 'weekdays_short' => ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'],
+ 'weekdays_min' => ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'],
+ 'months' => ['Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo'],
+ 'months_short' => ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php
new file mode 100644
index 0000000..010a04f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/teo.php', [
+ 'first_day_of_week' => 0,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tet.php b/vendor/nesbot/carbon/src/Carbon/Lang/tet.php
new file mode 100644
index 0000000..d0544d4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tet.php
@@ -0,0 +1,64 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Joshua Brooks
+ * - François B
+ */
+return [
+ 'year' => 'tinan :count',
+ 'a_year' => '{1}tinan ida|tinan :count',
+ 'month' => 'fulan :count',
+ 'a_month' => '{1}fulan ida|fulan :count',
+ 'week' => 'semana :count',
+ 'a_week' => '{1}semana ida|semana :count',
+ 'day' => 'loron :count',
+ 'a_day' => '{1}loron ida|loron :count',
+ 'hour' => 'oras :count',
+ 'a_hour' => '{1}oras ida|oras :count',
+ 'minute' => 'minutu :count',
+ 'a_minute' => '{1}minutu ida|minutu :count',
+ 'second' => 'segundu :count',
+ 'a_second' => '{1}segundu balun|segundu :count',
+ 'ago' => ':time liuba',
+ 'from_now' => 'iha :time',
+ 'diff_yesterday' => 'Horiseik',
+ 'diff_yesterday_regexp' => 'Horiseik(?:\\s+iha)?',
+ 'diff_today' => 'Ohin',
+ 'diff_today_regexp' => 'Ohin(?:\\s+iha)?',
+ 'diff_tomorrow' => 'Aban',
+ 'diff_tomorrow_regexp' => 'Aban(?:\\s+iha)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ohin iha] LT',
+ 'nextDay' => '[Aban iha] LT',
+ 'nextWeek' => 'dddd [iha] LT',
+ 'lastDay' => '[Horiseik iha] LT',
+ 'lastWeek' => 'dddd [semana kotuk] [iha] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':numberº',
+ 'months' => ['Janeiru', 'Fevereiru', 'Marsu', 'Abril', 'Maiu', 'Juñu', 'Jullu', 'Agustu', 'Setembru', 'Outubru', 'Novembru', 'Dezembru'],
+ 'months_short' => ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
+ 'weekdays' => ['Domingu', 'Segunda', 'Tersa', 'Kuarta', 'Kinta', 'Sesta', 'Sabadu'],
+ 'weekdays_short' => ['Dom', 'Seg', 'Ters', 'Kua', 'Kint', 'Sest', 'Sab'],
+ 'weekdays_min' => ['Do', 'Seg', 'Te', 'Ku', 'Ki', 'Ses', 'Sa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tg.php b/vendor/nesbot/carbon/src/Carbon/Lang/tg.php
new file mode 100644
index 0000000..b7df893
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tg.php
@@ -0,0 +1,104 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Orif N. Jr
+ */
+return [
+ 'year' => '{1}Ñк Ñол|:count Ñол',
+ 'month' => '{1}Ñк моҳ|:count моҳ',
+ 'week' => '{1}Ñк ҳафта|:count ҳафта',
+ 'day' => '{1}Ñк рӯз|:count рӯз',
+ 'hour' => '{1}Ñк Ñоат|:count Ñоат',
+ 'minute' => '{1}Ñк дақиқа|:count дақиқа',
+ 'second' => '{1}Ñкчанд ÑониÑ|:count ÑониÑ',
+ 'ago' => ':time пеш',
+ 'from_now' => 'баъди :time',
+ 'diff_today' => 'Имрӯз',
+ 'diff_yesterday' => 'Дирӯз',
+ 'diff_yesterday_regexp' => 'Дирӯз(?:\\s+Ñоати)?',
+ 'diff_tomorrow' => 'Пагоҳ',
+ 'diff_tomorrow_regexp' => 'Пагоҳ(?:\\s+Ñоати)?',
+ 'diff_today_regexp' => 'Имрӯз(?:\\s+Ñоати)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Имрӯз Ñоати] LT',
+ 'nextDay' => '[Пагоҳ Ñоати] LT',
+ 'nextWeek' => 'dddd[и] [ҳафтаи оÑнда Ñоати] LT',
+ 'lastDay' => '[Дирӯз Ñоати] LT',
+ 'lastWeek' => 'dddd[и] [ҳафтаи гузашта Ñоати] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number) {
+ if ($number === 0) { // special case for zero
+ return "$number-ıncı";
+ }
+
+ static $suffixes = [
+ 0 => '-ум',
+ 1 => '-ум',
+ 2 => '-юм',
+ 3 => '-юм',
+ 4 => '-ум',
+ 5 => '-ум',
+ 6 => '-ум',
+ 7 => '-ум',
+ 8 => '-ум',
+ 9 => '-ум',
+ 10 => '-ум',
+ 12 => '-ум',
+ 13 => '-ум',
+ 20 => '-ум',
+ 30 => '-юм',
+ 40 => '-ум',
+ 50 => '-ум',
+ 60 => '-ум',
+ 70 => '-ум',
+ 80 => '-ум',
+ 90 => '-ум',
+ 100 => '-ум',
+ ];
+
+ return $number.($suffixes[$number] ?? $suffixes[$number % 10] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'шаб';
+ }
+ if ($hour < 11) {
+ return 'Ñубҳ';
+ }
+ if ($hour < 16) {
+ return 'рӯз';
+ }
+ if ($hour < 19) {
+ return 'бегоҳ';
+ }
+
+ return 'шаб';
+ },
+ 'months' => ['Ñнвар', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'авгуÑÑ‚', 'ÑентÑбр', 'октÑбр', 'ноÑбр', 'декабр'],
+ 'months_short' => ['Ñнв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'weekdays' => ['Ñкшанбе', 'душанбе', 'Ñешанбе', 'чоршанбе', 'панҷшанбе', 'ҷумъа', 'шанбе'],
+ 'weekdays_short' => ['Ñшб', 'дшб', 'Ñшб', 'чшб', 'пшб', 'ҷум', 'шнб'],
+ 'weekdays_min' => ['Ñш', 'дш', 'Ñш', 'чш', 'пш', 'ҷм', 'шб'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' ва '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php
new file mode 100644
index 0000000..badc7d1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/tg.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/th.php b/vendor/nesbot/carbon/src/Carbon/Lang/th.php
new file mode 100644
index 0000000..6397f6e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/th.php
@@ -0,0 +1,73 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Nate Whittaker
+ * - John MacAslan
+ * - Chanintorn Asavavichairoj
+ * - JD Isaacks
+ * - ROKAISAKKON
+ * - RO'KAISAKKON
+ * - Andreas Möller
+ * - nithisa
+ */
+return [
+ 'year' => ':count ปี',
+ 'y' => ':count ปี',
+ 'month' => ':count เดืà¸à¸™',
+ 'm' => ':count เดืà¸à¸™',
+ 'week' => ':count สัปดาห์',
+ 'w' => ':count สัปดาห์',
+ 'day' => ':count วัน',
+ 'd' => ':count วัน',
+ 'hour' => ':count ชั่วโมง',
+ 'h' => ':count ชั่วโมง',
+ 'minute' => ':count นาที',
+ 'min' => ':count นาที',
+ 'second' => ':count วินาที',
+ 'a_second' => '{1}ไม่à¸à¸µà¹ˆà¸§à¸´à¸™à¸²à¸—ี|]1,Inf[:count วินาที',
+ 's' => ':count วินาที',
+ 'ago' => ':timeที่à¹à¸¥à¹‰à¸§',
+ 'from_now' => 'à¸à¸µà¸ :time',
+ 'after' => ':timeหลังจาà¸à¸™à¸µà¹‰',
+ 'before' => ':timeà¸à¹ˆà¸à¸™',
+ 'diff_now' => 'ขณะนี้',
+ 'diff_today' => 'วันนี้',
+ 'diff_today_regexp' => 'วันนี้(?:\\s+เวลา)?',
+ 'diff_yesterday' => 'เมื่à¸à¸§à¸²à¸™',
+ 'diff_yesterday_regexp' => 'เมื่à¸à¸§à¸²à¸™à¸™à¸µà¹‰(?:\\s+เวลา)?',
+ 'diff_tomorrow' => 'พรุ่งนี้',
+ 'diff_tomorrow_regexp' => 'พรุ่งนี้(?:\\s+เวลา)?',
+ 'formats' => [
+ 'LT' => 'H:mm',
+ 'LTS' => 'H:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY เวลา H:mm',
+ 'LLLL' => 'วันddddที่ D MMMM YYYY เวลา H:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[วันนี้ เวลา] LT',
+ 'nextDay' => '[พรุ่งนี้ เวลา] LT',
+ 'nextWeek' => 'dddd[หน้า เวลา] LT',
+ 'lastDay' => '[เมื่à¸à¸§à¸²à¸™à¸™à¸µà¹‰ เวลา] LT',
+ 'lastWeek' => '[วัน]dddd[ที่à¹à¸¥à¹‰à¸§ เวลา] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['à¸à¹ˆà¸à¸™à¹€à¸—ี่ยง', 'หลังเที่ยง'],
+ 'months' => ['มà¸à¸£à¸²à¸„ม', 'à¸à¸¸à¸¡à¸ าพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'à¸à¸£à¸à¸Žà¸²à¸„ม', 'สิงหาคม', 'à¸à¸±à¸™à¸¢à¸²à¸¢à¸™', 'ตุลาคม', 'พฤศจิà¸à¸²à¸¢à¸™', 'ธันวาคม'],
+ 'months_short' => ['ม.ค.', 'à¸.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'à¸.ค.', 'ส.ค.', 'à¸.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'],
+ 'weekdays' => ['à¸à¸²à¸—ิตย์', 'จันทร์', 'à¸à¸±à¸‡à¸„าร', 'พุธ', 'พฤหัสบดี', 'ศุà¸à¸£à¹Œ', 'เสาร์'],
+ 'weekdays_short' => ['à¸à¸²à¸—ิตย์', 'จันทร์', 'à¸à¸±à¸‡à¸„าร', 'พุธ', 'พฤหัส', 'ศุà¸à¸£à¹Œ', 'เสาร์'],
+ 'weekdays_min' => ['à¸à¸².', 'จ.', 'à¸.', 'พ.', 'พฤ.', 'ศ.', 'ส.'],
+ 'list' => [', ', ' à¹à¸¥à¸° '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php b/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php
new file mode 100644
index 0000000..b9f94b2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/th.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/the.php b/vendor/nesbot/carbon/src/Carbon/Lang/the.php
new file mode 100644
index 0000000..85f8333
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/the.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/the_NP.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/the_NP.php b/vendor/nesbot/carbon/src/Carbon/Lang/the_NP.php
new file mode 100644
index 0000000..34da162
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/the_NP.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Chitwanix OS Development info@chitwanix.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'dddd DD MMM YYYY',
+ ],
+ 'months' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'months_short' => ['जनवरी', 'फ़रवरी', 'मारà¥à¤š', 'अपà¥à¤°à¥‡à¤²', 'मई', 'जून', 'जà¥à¤²à¤¾à¤ˆ', 'अगसà¥à¤¤', 'सितमà¥à¤¬à¤°', 'अकà¥à¤Ÿà¥‚बर', 'नवमà¥à¤¬à¤°', 'दिसमà¥à¤¬à¤°'],
+ 'weekdays' => ['आइतबार', 'सोमबार', 'मंगलबार', 'बà¥à¤§à¤¬à¤¾à¤°', 'बिहिबार', 'शà¥à¤•à¥à¤°à¤¬à¤¾à¤°', 'शनिबार'],
+ 'weekdays_short' => ['आइत', 'सोम', 'मंगल', 'बà¥à¤§', 'बिहि', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'weekdays_min' => ['आइत', 'सोम', 'मंगल', 'बà¥à¤§', 'बिहि', 'शà¥à¤•à¥à¤°', 'शनि'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['पूरà¥à¤µà¤¾à¤¹à¥à¤¨', 'अपराहà¥à¤¨'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ti.php b/vendor/nesbot/carbon/src/Carbon/Lang/ti.php
new file mode 100644
index 0000000..ffd3236
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ti.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ti_ER.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ti_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/ti_ER.php
new file mode 100644
index 0000000..310c51c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ti_ER.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያá‹á‹«', 'áŒáŠ•á‰¦á‰µ', 'ሰáŠ', 'ሓáˆáˆˆ', 'áŠáˆ“ሰ', 'መስከረáˆ', 'ጥቅáˆá‰²', 'ሕዳáˆ', 'ታሕሳስ'],
+ 'months_short' => ['ጥሪ ', 'ለካቲ', 'መጋቢ', 'ሚያá‹', 'áŒáŠ•á‰¦', 'ሰአ', 'ሓáˆáˆˆ', 'áŠáˆ“ሰ', 'መስከ', 'ጥቅáˆ', 'ሕዳáˆ', 'ታሕሳ'],
+ 'weekdays' => ['ሰንበት', 'ሰኑá‹', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'á‹“áˆá‰¢', 'ቀዳáˆ'],
+ 'weekdays_short' => ['ሰንበ', 'ሰኑá‹', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'á‹“áˆá‰¢', 'ቀዳáˆ'],
+ 'weekdays_min' => ['ሰንበ', 'ሰኑá‹', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'á‹“áˆá‰¢', 'ቀዳáˆ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ንጉሆ ሰዓተ', 'ድሕሠሰዓት'],
+
+ 'year' => ':count ዓመት',
+ 'y' => ':count ዓመት',
+ 'a_year' => ':count ዓመት',
+
+ 'month' => 'ወáˆáˆ’ :count',
+ 'm' => 'ወáˆáˆ’ :count',
+ 'a_month' => 'ወáˆáˆ’ :count',
+
+ 'week' => ':count ሰሙን',
+ 'w' => ':count ሰሙን',
+ 'a_week' => ':count ሰሙን',
+
+ 'day' => ':count መዓáˆá‰²',
+ 'd' => ':count መዓáˆá‰²',
+ 'a_day' => ':count መዓáˆá‰²',
+
+ 'hour' => ':count ሰዓት',
+ 'h' => ':count ሰዓት',
+ 'a_hour' => ':count ሰዓት',
+
+ 'minute' => ':count ደቒቕ',
+ 'min' => ':count ደቒቕ',
+ 'a_minute' => ':count ደቒቕ',
+
+ 'second' => ':count ሰከንድ',
+ 's' => ':count ሰከንድ',
+ 'a_second' => ':count ሰከንድ',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ti_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/ti_ET.php
new file mode 100644
index 0000000..024217f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ti_ET.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጃንዩወሪ', 'áŒá‰¥áˆ©á‹ˆáˆª', 'ማáˆá‰½', 'ኤá•ረáˆ', 'ሜá‹', 'áŒáŠ•', 'áŒáˆ‹á‹', 'ኦገስት', 'ሴá•ቴáˆá‰ áˆ', 'ኦáŠá‰°á‹á‰ áˆ', 'ኖቬáˆá‰ áˆ', 'ዲሴáˆá‰ áˆ'],
+ 'months_short' => ['ጃንዩ', 'áŒá‰¥áˆ©', 'ማáˆá‰½', 'ኤá•ረ', 'ሜዠ', 'áŒáŠ• ', 'áŒáˆ‹á‹', 'ኦገስ', 'ሴá•ቴ', 'ኦáŠá‰°', 'ኖቬáˆ', 'ዲሴáˆ'],
+ 'weekdays' => ['ሰንበት', 'ሰኑá‹', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'á‹“áˆá‰¢', 'ቀዳáˆ'],
+ 'weekdays_short' => ['ሰንበ', 'ሰኑá‹', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'á‹“áˆá‰¢', 'ቀዳáˆ'],
+ 'weekdays_min' => ['ሰንበ', 'ሰኑá‹', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'á‹“áˆá‰¢', 'ቀዳáˆ'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ንጉሆ ሰዓተ', 'ድሕሠሰዓት'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tig.php b/vendor/nesbot/carbon/src/Carbon/Lang/tig.php
new file mode 100644
index 0000000..186fe71
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tig.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/tig_ER.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tig_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/tig_ER.php
new file mode 100644
index 0000000..46887b0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tig_ER.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያá‹á‹«', 'áŒáŠ•á‰¦á‰µ', 'ሰáŠ', 'ሓáˆáˆˆ', 'áŠáˆ“ሰ', 'መስከረáˆ', 'ጥቅáˆá‰²', 'ሕዳáˆ', 'ታሕሳስ'],
+ 'months_short' => ['ጥሪ ', 'ለካቲ', 'መጋቢ', 'ሚያá‹', 'áŒáŠ•á‰¦', 'ሰአ', 'ሓáˆáˆˆ', 'áŠáˆ“ሰ', 'መስከ', 'ጥቅáˆ', 'ሕዳáˆ', 'ታሕሳ'],
+ 'weekdays' => ['ሰንበት ዓባá‹', 'ሰኖ', 'ታላሸኖ', 'ኣረáˆá‰£á‹“', 'ከሚሽ', 'ጅáˆá‹“ት', 'ሰንበት ንኢሽ'],
+ 'weekdays_short' => ['ሰ//á‹“', 'ሰኖ ', 'ታላሸ', 'ኣረáˆ', 'ከሚሽ', 'ጅáˆá‹“', 'ሰ//ን'],
+ 'weekdays_min' => ['ሰ//á‹“', 'ሰኖ ', 'ታላሸ', 'ኣረáˆ', 'ከሚሽ', 'ጅáˆá‹“', 'ሰ//ን'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ቀደሠሰሠáˆá‹•áˆ', 'ሓቆ ሰሠáˆá‹•áˆ'],
+
+ 'year' => ':count ማá‹', // less reliable
+ 'y' => ':count ማá‹', // less reliable
+ 'a_year' => ':count ማá‹', // less reliable
+
+ 'month' => ':count ሸáˆáˆ½', // less reliable
+ 'm' => ':count ሸáˆáˆ½', // less reliable
+ 'a_month' => ':count ሸáˆáˆ½', // less reliable
+
+ 'week' => ':count ሰቡዕ', // less reliable
+ 'w' => ':count ሰቡዕ', // less reliable
+ 'a_week' => ':count ሰቡዕ', // less reliable
+
+ 'day' => ':count ዎሮ', // less reliable
+ 'd' => ':count ዎሮ', // less reliable
+ 'a_day' => ':count ዎሮ', // less reliable
+
+ 'hour' => ':count ሰዓት', // less reliable
+ 'h' => ':count ሰዓት', // less reliable
+ 'a_hour' => ':count ሰዓት', // less reliable
+
+ 'minute' => ':count ካáˆáŠ£á‹á‰µ', // less reliable
+ 'min' => ':count ካáˆáŠ£á‹á‰µ', // less reliable
+ 'a_minute' => ':count ካáˆáŠ£á‹á‰µ', // less reliable
+
+ 'second' => ':count ካáˆáŠ£á‹',
+ 's' => ':count ካáˆáŠ£á‹',
+ 'a_second' => ':count ካáˆáŠ£á‹',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tk.php b/vendor/nesbot/carbon/src/Carbon/Lang/tk.php
new file mode 100644
index 0000000..d8f7d19
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tk.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/tk_TM.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tk_TM.php b/vendor/nesbot/carbon/src/Carbon/Lang/tk_TM.php
new file mode 100644
index 0000000..f949a43
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tk_TM.php
@@ -0,0 +1,77 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Authors:
+ * - Ghorban M. Tavakoly Pablo Saratxaga & Ghorban M. Tavakoly pablo@walon.org & gmt314@yahoo.com
+ * - SuperManPHP
+ * - Maksat Meredow (isadma)
+ */
+$transformDiff = function ($input) {
+ return strtr($input, [
+ 'sekunt' => 'sekunt',
+ 'hepde' => 'hepde',
+ ]);
+};
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Ãanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', 'Noýabr', 'Dekabr'],
+ 'months_short' => ['Ãan', 'Few', 'Mar', 'Apr', 'Maý', 'Iýn', 'Iýl', 'Awg', 'Sen', 'Okt', 'Noý', 'Dek'],
+ 'weekdays' => ['DuÅŸenbe', 'SiÅŸenbe', 'ÇarÅŸenbe', 'PenÅŸenbe', 'Anna', 'Åženbe', 'ÃekÅŸenbe'],
+ 'weekdays_short' => ['DuÅŸ', 'SiÅŸ', 'Çar', 'Pen', 'Ann', 'Åžen', 'Ãek'],
+ 'weekdays_min' => ['Du', 'Si', 'Ça', 'Pe', 'An', 'Åže', 'Ãe'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count ýyl',
+ 'y' => ':count ýyl',
+ 'a_year' => ':count ýyl',
+
+ 'month' => ':count aý',
+ 'm' => ':count aý',
+ 'a_month' => ':count aý',
+
+ 'week' => ':count hepde',
+ 'w' => ':count hepde',
+ 'a_week' => ':count hepde',
+
+ 'day' => ':count gün',
+ 'd' => ':count gün',
+ 'a_day' => ':count gün',
+
+ 'hour' => ':count sagat',
+ 'h' => ':count sagat',
+ 'a_hour' => ':count sagat',
+
+ 'minute' => ':count minut',
+ 'min' => ':count minut',
+ 'a_minute' => ':count minut',
+
+ 'second' => ':count sekunt',
+ 's' => ':count sekunt',
+ 'a_second' => ':count sekunt',
+
+ 'ago' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' ozal';
+ },
+ 'from_now' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' soňra';
+ },
+ 'after' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' soň';
+ },
+ 'before' => function ($time) use ($transformDiff) {
+ return $transformDiff($time).' öň';
+ },
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tl.php b/vendor/nesbot/carbon/src/Carbon/Lang/tl.php
new file mode 100644
index 0000000..410a266
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tl.php
@@ -0,0 +1,61 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return [
+ 'year' => ':count taon',
+ 'a_year' => '{1}isang taon|:count taon',
+ 'month' => ':count buwan',
+ 'a_month' => '{1}isang buwan|:count buwan',
+ 'week' => ':count linggo',
+ 'a_week' => '{1}isang linggo|:count linggo',
+ 'day' => ':count araw',
+ 'a_day' => '{1}isang araw|:count araw',
+ 'hour' => ':count oras',
+ 'a_hour' => '{1}isang oras|:count oras',
+ 'minute' => ':count minuto',
+ 'a_minute' => '{1}isang minuto|:count minuto',
+ 'min' => ':count min.',
+ 'second' => ':count segundo',
+ 'a_second' => '{1}ilang segundo|:count segundo',
+ 's' => ':count seg.',
+ 'ago' => ':time ang nakalipas',
+ 'from_now' => 'sa loob ng :time',
+ 'diff_now' => 'ngayon',
+ 'diff_today' => 'ngayong',
+ 'diff_today_regexp' => 'ngayong(?:\\s+araw)?',
+ 'diff_yesterday' => 'kahapon',
+ 'diff_tomorrow' => 'bukas',
+ 'diff_tomorrow_regexp' => 'Bukas(?:\\s+ng)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'MM/D/YYYY',
+ 'LL' => 'MMMM D, YYYY',
+ 'LLL' => 'MMMM D, YYYY HH:mm',
+ 'LLLL' => 'dddd, MMMM DD, YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => 'LT [ngayong araw]',
+ 'nextDay' => '[Bukas ng] LT',
+ 'nextWeek' => 'LT [sa susunod na] dddd',
+ 'lastDay' => 'LT [kahapon]',
+ 'lastWeek' => 'LT [noong nakaraang] dddd',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', 'Oktubre', 'Nobyembre', 'Disyembre'],
+ 'months_short' => ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'],
+ 'weekdays' => ['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'],
+ 'weekdays_short' => ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'],
+ 'weekdays_min' => ['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sab'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' at '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tl_PH.php b/vendor/nesbot/carbon/src/Carbon/Lang/tl_PH.php
new file mode 100644
index 0000000..95f508c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tl_PH.php
@@ -0,0 +1,18 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Ian De La Cruz
+ * - JD Isaacks
+ */
+return require __DIR__.'/tl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tlh.php b/vendor/nesbot/carbon/src/Carbon/Lang/tlh.php
new file mode 100644
index 0000000..fbf9e6f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tlh.php
@@ -0,0 +1,72 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Serhan Apaydın
+ * - Dominika
+ */
+return [
+ 'year' => '{1}wa’ DIS|:count DIS',
+ 'month' => '{1}wa’ jar|:count jar',
+ 'week' => '{1}wa’ hogh|:count hogh',
+ 'day' => '{1}wa’ jaj|:count jaj',
+ 'hour' => '{1}wa’ rep|:count rep',
+ 'minute' => '{1}wa’ tup|:count tup',
+ 'second' => '{1}puS lup|:count lup',
+ 'ago' => function ($time) {
+ $output = strtr($time, [
+ 'jaj' => 'Hu’',
+ 'jar' => 'wen',
+ 'DIS' => 'ben',
+ ]);
+
+ return $output === $time ? "$time ret" : $output;
+ },
+ 'from_now' => function ($time) {
+ $output = strtr($time, [
+ 'jaj' => 'leS',
+ 'jar' => 'waQ',
+ 'DIS' => 'nem',
+ ]);
+
+ return $output === $time ? "$time pIq" : $output;
+ },
+ 'diff_yesterday' => 'wa’Hu’',
+ 'diff_today' => 'DaHjaj',
+ 'diff_tomorrow' => 'wa’leS',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[DaHjaj] LT',
+ 'nextDay' => '[wa’leS] LT',
+ 'nextWeek' => 'LLL',
+ 'lastDay' => '[wa’Hu’] LT',
+ 'lastWeek' => 'LLL',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => ':number.',
+ 'months' => ['tera’ jar wa’', 'tera’ jar cha’', 'tera’ jar wej', 'tera’ jar loS', 'tera’ jar vagh', 'tera’ jar jav', 'tera’ jar Soch', 'tera’ jar chorgh', 'tera’ jar Hut', 'tera’ jar wa’maH', 'tera’ jar wa’maH wa’', 'tera’ jar wa’maH cha’'],
+ 'months_short' => ['jar wa’', 'jar cha’', 'jar wej', 'jar loS', 'jar vagh', 'jar jav', 'jar Soch', 'jar chorgh', 'jar Hut', 'jar wa’maH', 'jar wa’maH wa’', 'jar wa’maH cha’'],
+ 'weekdays' => ['lojmItjaj', 'DaSjaj', 'povjaj', 'ghItlhjaj', 'loghjaj', 'buqjaj', 'ghInjaj'],
+ 'weekdays_short' => ['lojmItjaj', 'DaSjaj', 'povjaj', 'ghItlhjaj', 'loghjaj', 'buqjaj', 'ghInjaj'],
+ 'weekdays_min' => ['lojmItjaj', 'DaSjaj', 'povjaj', 'ghItlhjaj', 'loghjaj', 'buqjaj', 'ghInjaj'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' ’ej '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tn.php b/vendor/nesbot/carbon/src/Carbon/Lang/tn.php
new file mode 100644
index 0000000..f29bdf6
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tn.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/tn_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tn_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/tn_ZA.php
new file mode 100644
index 0000000..aada7db
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tn_ZA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Ferikgong', 'Tlhakole', 'Mopitlwe', 'Moranang', 'Motsheganong', 'Seetebosigo', 'Phukwi', 'Phatwe', 'Lwetse', 'Diphalane', 'Ngwanatsele', 'Sedimonthole'],
+ 'months_short' => ['Fer', 'Tlh', 'Mop', 'Mor', 'Mot', 'See', 'Phu', 'Pha', 'Lwe', 'Dip', 'Ngw', 'Sed'],
+ 'weekdays' => ['laTshipi', 'Mosupologo', 'Labobedi', 'Laboraro', 'Labone', 'Labotlhano', 'Lamatlhatso'],
+ 'weekdays_short' => ['Tsh', 'Mos', 'Bed', 'Rar', 'Ne', 'Tlh', 'Mat'],
+ 'weekdays_min' => ['Tsh', 'Mos', 'Bed', 'Rar', 'Ne', 'Tlh', 'Mat'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => 'dingwaga di le :count',
+ 'y' => 'dingwaga di le :count',
+ 'a_year' => 'dingwaga di le :count',
+
+ 'month' => 'dikgwedi di le :count',
+ 'm' => 'dikgwedi di le :count',
+ 'a_month' => 'dikgwedi di le :count',
+
+ 'week' => 'dibeke di le :count',
+ 'w' => 'dibeke di le :count',
+ 'a_week' => 'dibeke di le :count',
+
+ 'day' => 'malatsi :count',
+ 'd' => 'malatsi :count',
+ 'a_day' => 'malatsi :count',
+
+ 'hour' => 'diura di le :count',
+ 'h' => 'diura di le :count',
+ 'a_hour' => 'diura di le :count',
+
+ 'minute' => 'metsotso e le :count',
+ 'min' => 'metsotso e le :count',
+ 'a_minute' => 'metsotso e le :count',
+
+ 'second' => 'metsotswana e le :count',
+ 's' => 'metsotswana e le :count',
+ 'a_second' => 'metsotswana e le :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/to.php b/vendor/nesbot/carbon/src/Carbon/Lang/to.php
new file mode 100644
index 0000000..20581bb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/to.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/to_TO.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/to_TO.php b/vendor/nesbot/carbon/src/Carbon/Lang/to_TO.php
new file mode 100644
index 0000000..335c69a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/to_TO.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - International Components for Unicode akhilesh.k@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'dddd DD MMM YYYY',
+ ],
+ 'months' => ['SÄnuali', 'FÄ“pueli', 'MaÊ»asi', 'Ê»Epeleli', 'MÄ“', 'Sune', 'Siulai', 'Ê»Aokosi', 'Sepitema', 'Ê»Okatopa', 'NÅvema', 'TÄ«sema'],
+ 'months_short' => ['SÄn', 'FÄ“p', 'MaÊ»a', 'Ê»Epe', 'MÄ“', 'Sun', 'Siu', 'Ê»Aok', 'Sep', 'Ê»Oka', 'NÅv', 'TÄ«s'],
+ 'weekdays' => ['SÄpate', 'MÅnite', 'TÅ«site', 'Pulelulu', 'TuÊ»apulelulu', 'Falaite', 'Tokonaki'],
+ 'weekdays_short' => ['SÄp', 'MÅn', 'TÅ«s', 'Pul', 'TuÊ»a', 'Fal', 'Tok'],
+ 'weekdays_min' => ['SÄp', 'MÅn', 'TÅ«s', 'Pul', 'TuÊ»a', 'Fal', 'Tok'],
+ 'meridiem' => ['hengihengi', 'efiafi'],
+
+ 'year' => ':count fitu', // less reliable
+ 'y' => ':count fitu', // less reliable
+ 'a_year' => ':count fitu', // less reliable
+
+ 'month' => ':count mahina', // less reliable
+ 'm' => ':count mahina', // less reliable
+ 'a_month' => ':count mahina', // less reliable
+
+ 'week' => ':count Sapate', // less reliable
+ 'w' => ':count Sapate', // less reliable
+ 'a_week' => ':count Sapate', // less reliable
+
+ 'day' => ':count ʻaho', // less reliable
+ 'd' => ':count ʻaho', // less reliable
+ 'a_day' => ':count ʻaho', // less reliable
+
+ 'hour' => ':count houa',
+ 'h' => ':count houa',
+ 'a_hour' => ':count houa',
+
+ 'minute' => ':count miniti',
+ 'min' => ':count miniti',
+ 'a_minute' => ':count miniti',
+
+ 'second' => ':count sekoni',
+ 's' => ':count sekoni',
+ 'a_second' => ':count sekoni',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tpi.php b/vendor/nesbot/carbon/src/Carbon/Lang/tpi.php
new file mode 100644
index 0000000..7d38dae
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tpi.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/tpi_PG.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tpi_PG.php b/vendor/nesbot/carbon/src/Carbon/Lang/tpi_PG.php
new file mode 100644
index 0000000..5f58c44
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tpi_PG.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Janueri', 'Februeri', 'Mas', 'Epril', 'Me', 'Jun', 'Julai', 'Ogas', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mas', 'Epr', 'Me', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'weekdays' => ['Sande', 'Mande', 'Tunde', 'Trinde', 'Fonde', 'Fraide', 'Sarere'],
+ 'weekdays_short' => ['San', 'Man', 'Tun', 'Tri', 'Fon', 'Fra', 'Sar'],
+ 'weekdays_min' => ['San', 'Man', 'Tun', 'Tri', 'Fon', 'Fra', 'Sar'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['biknait', 'apinun'],
+
+ 'year' => 'yia :count',
+ 'y' => 'yia :count',
+ 'a_year' => 'yia :count',
+
+ 'month' => ':count mun',
+ 'm' => ':count mun',
+ 'a_month' => ':count mun',
+
+ 'week' => ':count wik',
+ 'w' => ':count wik',
+ 'a_week' => ':count wik',
+
+ 'day' => ':count de',
+ 'd' => ':count de',
+ 'a_day' => ':count de',
+
+ 'hour' => ':count aua',
+ 'h' => ':count aua',
+ 'a_hour' => ':count aua',
+
+ 'minute' => ':count minit',
+ 'min' => ':count minit',
+ 'a_minute' => ':count minit',
+
+ 'second' => ':count namba tu',
+ 's' => ':count namba tu',
+ 'a_second' => ':count namba tu',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tr.php b/vendor/nesbot/carbon/src/Carbon/Lang/tr.php
new file mode 100644
index 0000000..f5d9f4c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tr.php
@@ -0,0 +1,121 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Alan Agius
+ * - Erhan Gundogan
+ * - François B
+ * - JD Isaacks
+ * - Murat Yüksel
+ * - Baran Şengül
+ * - Selami (selamialtin)
+ * - TeomanBey
+ */
+return [
+ 'year' => ':count yıl',
+ 'a_year' => '{1}bir yıl|]1,Inf[:count yıl',
+ 'y' => ':county',
+ 'month' => ':count ay',
+ 'a_month' => '{1}bir ay|]1,Inf[:count ay',
+ 'm' => ':countay',
+ 'week' => ':count hafta',
+ 'a_week' => '{1}bir hafta|]1,Inf[:count hafta',
+ 'w' => ':counth',
+ 'day' => ':count gün',
+ 'a_day' => '{1}bir gün|]1,Inf[:count gün',
+ 'd' => ':countg',
+ 'hour' => ':count saat',
+ 'a_hour' => '{1}bir saat|]1,Inf[:count saat',
+ 'h' => ':countsa',
+ 'minute' => ':count dakika',
+ 'a_minute' => '{1}bir dakika|]1,Inf[:count dakika',
+ 'min' => ':countdk',
+ 'second' => ':count saniye',
+ 'a_second' => '{1}birkaç saniye|]1,Inf[:count saniye',
+ 's' => ':countsn',
+ 'ago' => ':time önce',
+ 'from_now' => ':time sonra',
+ 'after' => ':time sonra',
+ 'before' => ':time önce',
+ 'diff_now' => 'ÅŸimdi',
+ 'diff_today' => 'bugün',
+ 'diff_today_regexp' => 'bugün(?:\\s+saat)?',
+ 'diff_yesterday' => 'dün',
+ 'diff_tomorrow' => 'yarın',
+ 'diff_tomorrow_regexp' => 'yarın(?:\\s+saat)?',
+ 'diff_before_yesterday' => 'evvelsi gün',
+ 'diff_after_tomorrow' => 'öbür gün',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[bugün saat] LT',
+ 'nextDay' => '[yarın saat] LT',
+ 'nextWeek' => '[gelecek] dddd [saat] LT',
+ 'lastDay' => '[dün] LT',
+ 'lastWeek' => '[geçen] dddd [saat] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'd':
+ case 'D':
+ case 'Do':
+ case 'DD':
+ return $number;
+ default:
+ if ($number === 0) { // special case for zero
+ return "$number'ıncı";
+ }
+
+ static $suffixes = [
+ 1 => '\'inci',
+ 5 => '\'inci',
+ 8 => '\'inci',
+ 70 => '\'inci',
+ 80 => '\'inci',
+ 2 => '\'nci',
+ 7 => '\'nci',
+ 20 => '\'nci',
+ 50 => '\'nci',
+ 3 => '\'üncü',
+ 4 => '\'üncü',
+ 100 => '\'üncü',
+ 6 => '\'ncı',
+ 9 => '\'uncu',
+ 10 => '\'uncu',
+ 30 => '\'uncu',
+ 60 => '\'ıncı',
+ 90 => '\'ıncı',
+ ];
+
+ $lastDigit = $number % 10;
+
+ return $number.($suffixes[$lastDigit] ?? $suffixes[$number % 100 - $lastDigit] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
+ }
+ },
+ 'meridiem' => ['ÖÖ', 'ÖS', 'öö', 'ös'],
+ 'months' => ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'],
+ 'months_short' => ['Oca', 'Åžub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'AÄŸu', 'Eyl', 'Eki', 'Kas', 'Ara'],
+ 'weekdays' => ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'],
+ 'weekdays_short' => ['Paz', 'Pts', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'],
+ 'weekdays_min' => ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' ve '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php b/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php
new file mode 100644
index 0000000..23f1144
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php
@@ -0,0 +1,23 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/tr.php', [
+ 'weekdays_short' => ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
+ 'weekdays_min' => ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'D.MM.YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'D MMMM YYYY dddd h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php b/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php
new file mode 100644
index 0000000..9e99482
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/tr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ts.php b/vendor/nesbot/carbon/src/Carbon/Lang/ts.php
new file mode 100644
index 0000000..525736b
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ts.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ts_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ts_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ts_ZA.php
new file mode 100644
index 0000000..37a24ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ts_ZA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Sunguti', 'Nyenyenyani', 'Nyenyankulu', 'Dzivamisoko', 'Mudyaxihi', 'Khotavuxika', 'Mawuwani', 'Mhawuri', 'Ndzhati', 'Nhlangula', 'Hukuri', 'N\'wendzamhala'],
+ 'months_short' => ['Sun', 'Yan', 'Kul', 'Dzi', 'Mud', 'Kho', 'Maw', 'Mha', 'Ndz', 'Nhl', 'Huk', 'N\'w'],
+ 'weekdays' => ['Sonto', 'Musumbhunuku', 'Ravumbirhi', 'Ravunharhu', 'Ravumune', 'Ravuntlhanu', 'Mugqivela'],
+ 'weekdays_short' => ['Son', 'Mus', 'Bir', 'Har', 'Ne', 'Tlh', 'Mug'],
+ 'weekdays_min' => ['Son', 'Mus', 'Bir', 'Har', 'Ne', 'Tlh', 'Mug'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => 'malembe ya :count',
+ 'y' => 'malembe ya :count',
+ 'a_year' => 'malembe ya :count',
+
+ 'month' => 'tin’hweti ta :count',
+ 'm' => 'tin’hweti ta :count',
+ 'a_month' => 'tin’hweti ta :count',
+
+ 'week' => 'mavhiki ya :count',
+ 'w' => 'mavhiki ya :count',
+ 'a_week' => 'mavhiki ya :count',
+
+ 'day' => 'masiku :count',
+ 'd' => 'masiku :count',
+ 'a_day' => 'masiku :count',
+
+ 'hour' => 'tiawara ta :count',
+ 'h' => 'tiawara ta :count',
+ 'a_hour' => 'tiawara ta :count',
+
+ 'minute' => 'timinete ta :count',
+ 'min' => 'timinete ta :count',
+ 'a_minute' => 'timinete ta :count',
+
+ 'second' => 'tisekoni ta :count',
+ 's' => 'tisekoni ta :count',
+ 'a_second' => 'tisekoni ta :count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tt.php b/vendor/nesbot/carbon/src/Carbon/Lang/tt.php
new file mode 100644
index 0000000..d67d896
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tt.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/tt_RU.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tt_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/tt_RU.php
new file mode 100644
index 0000000..38e42d0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tt_RU.php
@@ -0,0 +1,39 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Rinat Norkin Pablo Saratxaga, Rinat Norkin pablo@mandrakesoft.com, rinat@taif.ru
+ */
+return [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'DD MMM, HH:mm',
+ 'LLLL' => 'DD MMMM YYYY, HH:mm',
+ ],
+ 'months' => ['ÑнварÑ', 'февралÑ', 'марта', 'апрелÑ', 'маÑ', 'июнÑ', 'июлÑ', 'авгуÑта', 'ÑентÑбрÑ', 'октÑбрÑ', 'ноÑбрÑ', 'декабрÑ'],
+ 'months_short' => ['Ñнв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'weekdays' => ['Ñкшәмбе', 'дышәмбе', 'Ñишәмбе', 'чәршәәмбе', 'пәнҗешмбе', 'җомга', 'шимбә'],
+ 'weekdays_short' => ['Ñкш', 'дыш', 'Ñиш', 'чәрш', 'пәнҗ', 'җом', 'шим'],
+ 'weekdays_min' => ['Ñкш', 'дыш', 'Ñиш', 'чәрш', 'пәнҗ', 'җом', 'шим'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'year' => ':count ел',
+ 'month' => ':count ай',
+ 'week' => ':count атна',
+ 'day' => ':count көн',
+ 'hour' => ':count Ñәгать',
+ 'minute' => ':count минут',
+ 'second' => ':count Ñекунд',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tt_RU@iqtelif.php b/vendor/nesbot/carbon/src/Carbon/Lang/tt_RU@iqtelif.php
new file mode 100644
index 0000000..16b8efb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tt_RU@iqtelif.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Reshat Sabiq tatar.iqtelif.i18n@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD.MM.YYYY',
+ ],
+ 'months' => ['Ğınwar', 'Fiwral\'', 'Mart', 'April', 'May', 'Yün', 'Yül', 'Awgust', 'SintebÃr', 'ÜktebÃr', 'NoyebÃr', 'DikebÃr'],
+ 'months_short' => ['Ğın', 'Fiw', 'Mar', 'Apr', 'May', 'Yün', 'Yül', 'Awg', 'Sin', 'Ükt', 'Noy', 'Dik'],
+ 'weekdays' => ['YekÅŸembÃ', 'DüşembÃ', 'SiÅŸembÃ', 'ÇerÅŸembÃ', 'PencÃÅŸembÃ', 'ComÄŸa', 'Åžimbe'],
+ 'weekdays_short' => ['Yek', 'Düş', 'Siş', 'Çer', 'Pen', 'Com', 'Şim'],
+ 'weekdays_min' => ['Yek', 'Düş', 'Siş', 'Çer', 'Pen', 'Com', 'Şim'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ÖA', 'ÖS'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/twq.php b/vendor/nesbot/carbon/src/Carbon/Lang/twq.php
new file mode 100644
index 0000000..5cbb46e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/twq.php
@@ -0,0 +1,14 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/ses.php', [
+ 'meridiem' => ['Subbaahi', 'Zaarikay b'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tzl.php b/vendor/nesbot/carbon/src/Carbon/Lang/tzl.php
new file mode 100644
index 0000000..50bf26d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tzl.php
@@ -0,0 +1,65 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return [
+ 'year' => '[0,1]:count ar|:count ars',
+ 'y' => '[0,1]:count ar|:count ars',
+ 'month' => '[0,1]:count mes|:count mesen',
+ 'm' => '[0,1]:count mes|:count mesen',
+ 'week' => '[0,1]:count seifetziua|:count seifetziuas',
+ 'w' => '[0,1]:count seifetziua|:count seifetziuas',
+ 'day' => '[0,1]:count ziua|:count ziuas',
+ 'd' => '[0,1]:count ziua|:count ziuas',
+ 'hour' => '[0,1]:count þora|:count þoras',
+ 'h' => '[0,1]:count þora|:count þoras',
+ 'minute' => '[0,1]:count mÃut|:count mÃuts',
+ 'min' => '[0,1]:count mÃut|:count mÃuts',
+ 'second' => ':count secunds',
+ 's' => ':count secunds',
+
+ 'ago' => 'ja :time',
+ 'from_now' => 'osprei :time',
+
+ 'diff_yesterday' => 'ieiri',
+ 'diff_yesterday_regexp' => 'ieiri(?:\\s+Ã )?',
+ 'diff_today' => 'oxhi',
+ 'diff_today_regexp' => 'oxhi(?:\\s+Ã )?',
+ 'diff_tomorrow' => 'demà ',
+ 'diff_tomorrow_regexp' => 'demà (?:\\s+à )?',
+
+ 'formats' => [
+ 'LT' => 'HH.mm',
+ 'LTS' => 'HH.mm.ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D. MMMM [dallas] YYYY',
+ 'LLL' => 'D. MMMM [dallas] YYYY HH.mm',
+ 'LLLL' => 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
+ ],
+
+ 'calendar' => [
+ 'sameDay' => '[oxhi à ] LT',
+ 'nextDay' => '[demà à ] LT',
+ 'nextWeek' => 'dddd [Ã ] LT',
+ 'lastDay' => '[ieiri à ] LT',
+ 'lastWeek' => '[sür el] dddd [lasteu à ] LT',
+ 'sameElse' => 'L',
+ ],
+
+ 'meridiem' => ["D'A", "D'O"],
+ 'months' => ['Januar', 'Fevraglh', 'Març', 'Avrïu', 'Mai', 'Gün', 'Julia', 'Guscht', 'Setemvar', 'Listopäts', 'Noemvar', 'Zecemvar'],
+ 'months_short' => ['Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Gün', 'Jul', 'Gus', 'Set', 'Lis', 'Noe', 'Zec'],
+ 'weekdays' => ['Súladi', 'Lúneçi', 'Maitzi', 'Márcuri', 'Xhúadi', 'Viénerçi', 'Sáturi'],
+ 'weekdays_short' => ['Súl', 'Lún', 'Mai', 'Már', 'Xhú', 'Vié', 'Sát'],
+ 'weekdays_min' => ['Sú', 'Lú', 'Ma', 'Má', 'Xh', 'Vi', 'Sá'],
+ 'ordinal' => ':number.',
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tzm.php b/vendor/nesbot/carbon/src/Carbon/Lang/tzm.php
new file mode 100644
index 0000000..2a1a0f2
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tzm.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ */
+return [
+ 'year' => '{1}ⴰⵙⴳⴰⵙ|:count ⵉⵙⴳⴰⵙâµ',
+ 'month' => '{1}â´°âµ¢oⵓⵔ|:count ⵉⵢⵢⵉⵔâµ',
+ 'week' => ':count ⵉⵎⴰâµâ´°âµ™âµ™',
+ 'day' => '{1}ⴰⵙⵙ|:count oⵙⵙⴰâµ',
+ 'hour' => '{1}ⵙⴰⵄⴰ|:count ⵜⴰⵙⵙⴰⵄⵉâµ',
+ 'minute' => '{1}ⵎⵉâµâµ“â´º|:count ⵎⵉâµâµ“â´º',
+ 'second' => '{1}ⵉⵎⵉⴽ|:count ⵉⵎⵉⴽ',
+ 'ago' => 'ⵢⴰⵠ:time',
+ 'from_now' => 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵠ:time',
+ 'diff_today' => 'ⴰⵙⴷⵅ',
+ 'diff_yesterday' => 'ⴰⵚⴰâµâµœ',
+ 'diff_yesterday_regexp' => 'ⴰⵚⴰâµâµœ(?:\\s+â´´)?',
+ 'diff_tomorrow' => 'ⴰⵙⴽⴰ',
+ 'diff_tomorrow_regexp' => 'ⴰⵙⴽⴰ(?:\\s+ⴴ)?',
+ 'diff_today_regexp' => 'ⴰⵙⴷⵅ(?:\\s+ⴴ)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ⴰⵙⴷⵅ ⴴ] LT',
+ 'nextDay' => '[ⴰⵙⴽⴰ ⴴ] LT',
+ 'nextWeek' => 'dddd [â´´] LT',
+ 'lastDay' => '[ⴰⵚⴰâµâµœ â´´] LT',
+ 'lastWeek' => 'dddd [â´´] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['ⵉâµâµâ´°âµ¢âµ”', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓâµâµ¢âµ“', 'ⵢⵓâµâµ¢âµ“âµ£', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰâµâ´±âµ‰âµ”', 'ⴽⵟⵓⴱⵕ', 'âµâµ“ⵡⴰâµâ´±âµ‰âµ”', 'ⴷⵓⵊâµâ´±âµ‰âµ”'],
+ 'months_short' => ['ⵉâµâµâ´°âµ¢âµ”', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓâµâµ¢âµ“', 'ⵢⵓâµâµ¢âµ“âµ£', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰâµâ´±âµ‰âµ”', 'ⴽⵟⵓⴱⵕ', 'âµâµ“ⵡⴰâµâ´±âµ‰âµ”', 'ⴷⵓⵊâµâ´±âµ‰âµ”'],
+ 'weekdays' => ['ⴰⵙⴰⵎⴰⵙ', 'â´°âµ¢âµâ´°âµ™', 'ⴰⵙⵉâµâ´°âµ™', 'ⴰⴽⵔⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
+ 'weekdays_short' => ['ⴰⵙⴰⵎⴰⵙ', 'â´°âµ¢âµâ´°âµ™', 'ⴰⵙⵉâµâ´°âµ™', 'ⴰⴽⵔⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
+ 'weekdays_min' => ['ⴰⵙⴰⵎⴰⵙ', 'â´°âµ¢âµâ´°âµ™', 'ⴰⵙⵉâµâ´°âµ™', 'ⴰⴽⵔⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+ 'weekend' => [5, 6],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tzm_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/tzm_Latn.php
new file mode 100644
index 0000000..5840d20
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tzm_Latn.php
@@ -0,0 +1,64 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - JD Isaacks
+ */
+return [
+ 'year' => '{1}:count asgas|:count isgasn',
+ 'a_year' => 'asgas|:count isgasn',
+ 'month' => '{1}:count ayowr|:count iyyirn',
+ 'a_month' => 'ayowr|:count iyyirn',
+ 'week' => ':count imalass',
+ 'a_week' => ':imalass',
+ 'day' => '{1}:count ass|:count ossan',
+ 'a_day' => 'ass|:count ossan',
+ 'hour' => '{1}:count saɛa|:count tassaɛin',
+ 'a_hour' => '{1}saɛa|:count tassaɛin',
+ 'minute' => ':count minuá¸',
+ 'a_minute' => '{1}minuá¸|:count minuá¸',
+ 'second' => ':count imik',
+ 'a_second' => '{1}imik|:count imik',
+ 'ago' => 'yan :time',
+ 'from_now' => 'dadkh s yan :time',
+ 'diff_yesterday' => 'assant',
+ 'diff_yesterday_regexp' => 'assant(?:\\s+g)?',
+ 'diff_today' => 'asdkh',
+ 'diff_today_regexp' => 'asdkh(?:\\s+g)?',
+ 'diff_tomorrow' => 'aska',
+ 'diff_tomorrow_regexp' => 'aska(?:\\s+g)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[asdkh g] LT',
+ 'nextDay' => '[aska g] LT',
+ 'nextWeek' => 'dddd [g] LT',
+ 'lastDay' => '[assant g] LT',
+ 'lastWeek' => 'dddd [g] LT',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['innayr', 'brˤayrˤ', 'marˤsˤ', 'ibrir', 'mayyw', 'ywnyw', 'ywlywz', 'ɣwšt', 'šwtanbir', 'ktˤwbrˤ', 'nwwanbir', 'dwjnbir'],
+ 'months_short' => ['innayr', 'brˤayrˤ', 'marˤsˤ', 'ibrir', 'mayyw', 'ywnyw', 'ywlywz', 'ɣwšt', 'šwtanbir', 'ktˤwbrˤ', 'nwwanbir', 'dwjnbir'],
+ 'weekdays' => ['asamas', 'aynas', 'asinas', 'akras', 'akwas', 'asimwas', 'asiá¸yas'],
+ 'weekdays_short' => ['asamas', 'aynas', 'asinas', 'akras', 'akwas', 'asimwas', 'asiá¸yas'],
+ 'weekdays_min' => ['asamas', 'aynas', 'asinas', 'akras', 'akwas', 'asimwas', 'asiá¸yas'],
+ 'meridiem' => ['Zdat azal', 'Ḍeffir aza'],
+ 'first_day_of_week' => 6,
+ 'day_of_first_week_of_year' => 1,
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ug.php b/vendor/nesbot/carbon/src/Carbon/Lang/ug.php
new file mode 100644
index 0000000..259b99a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ug.php
@@ -0,0 +1,90 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - yasinn
+ */
+return [
+ 'year' => '{1}'.'بىر يىل'.'|:count '.'يىل',
+ 'month' => '{1}'.'بىر ئاي'.'|:count '.'ئاي',
+ 'week' => '{1}'.'بىر ھەپتە'.'|:count '.'ھەپتە',
+ 'day' => '{1}'.'بىر كۈن'.'|:count '.'كۈن',
+ 'hour' => '{1}'.'بىر سائەت'.'|:count '.'سائەت',
+ 'minute' => '{1}'.'بىر مىنۇت'.'|:count '.'مىنۇت',
+ 'second' => '{1}'.'Ù†Û•Ú†Ú†Û• سÛكونت'.'|:count '.'سÛكونت',
+ 'ago' => ':time بۇرۇن',
+ 'from_now' => ':time ÙƒÛيىن',
+ 'diff_today' => 'بۈگۈن',
+ 'diff_yesterday' => 'تۆنۈگۈن',
+ 'diff_tomorrow' => 'ئەتە',
+ 'diff_tomorrow_regexp' => 'ئەتە(?:\\s+سائەت)?',
+ 'diff_today_regexp' => 'بۈگۈن(?:\\s+سائەت)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-DD',
+ 'LL' => 'YYYY-يىلىM-ئاينىÚD-كۈنى',
+ 'LLL' => 'YYYY-يىلىM-ئاينىÚD-كۈنى، HH:mm',
+ 'LLLL' => 'ddddØŒ YYYY-يىلىM-ئاينىÚD-كۈنى، HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[بۈگۈن سائەت] LT',
+ 'nextDay' => '[ئەتە سائەت] LT',
+ 'nextWeek' => '[ÙƒÛلەركى] dddd [سائەت] LT',
+ 'lastDay' => '[تۆنۈگۈن] LT',
+ 'lastWeek' => '[ئالدىنقى] dddd [سائەت] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'd':
+ case 'D':
+ case 'DDD':
+ return $number.'-كۈنى';
+ case 'w':
+ case 'W':
+ return $number.'-ھەپتە';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour, $minute) {
+ $time = $hour * 100 + $minute;
+ if ($time < 600) {
+ return 'ÙŠÛØ±Ù‰Ù… ÙƒÛÚ†Û•';
+ }
+ if ($time < 900) {
+ return 'سەھەر';
+ }
+ if ($time < 1130) {
+ return 'چۈشتىن بۇرۇن';
+ }
+ if ($time < 1230) {
+ return 'چۈش';
+ }
+ if ($time < 1800) {
+ return 'چۈشتىن ÙƒÛيىن';
+ }
+
+ return 'ÙƒÛ•Ú†';
+ },
+ 'months' => ['يانۋار', 'ÙÛۋرال', 'مارت', 'ئاپرÛÙ„', 'ماي', 'ئىيۇن', 'ئىيۇل', 'ئاۋغۇست', 'سÛنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دÛكابىر'],
+ 'months_short' => ['يانۋار', 'ÙÛۋرال', 'مارت', 'ئاپرÛÙ„', 'ماي', 'ئىيۇن', 'ئىيۇل', 'ئاۋغۇست', 'سÛنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دÛكابىر'],
+ 'weekdays' => ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'],
+ 'weekdays_short' => ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'],
+ 'weekdays_min' => ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' Û‹Û• '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ug_CN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ug_CN.php
new file mode 100644
index 0000000..deb828c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ug_CN.php
@@ -0,0 +1,17 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - Alim Boyaq
+ */
+return require __DIR__.'/ug.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uk.php b/vendor/nesbot/carbon/src/Carbon/Lang/uk.php
new file mode 100644
index 0000000..1d5ba70
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uk.php
@@ -0,0 +1,212 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+use Carbon\CarbonInterface;
+
+$processHoursFunction = function (CarbonInterface $date, string $format) {
+ return $format.'о'.($date->hour === 11 ? 'б' : '').'] LT';
+};
+
+/*
+ * Authors:
+ * - Kunal Marwaha
+ * - Josh Soref
+ * - François B
+ * - Tim Fish
+ * - Serhan Apaydın
+ * - Max Mykhailenko
+ * - JD Isaacks
+ * - Max Kovpak
+ * - AucT
+ * - Philippe Vaucher
+ * - Ilya Shaplyko
+ * - Vadym Ievsieiev
+ * - Denys Kurets
+ * - Igor Kasyanchuk
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Max Melentiev
+ * - Oleh
+ * - epaminond
+ * - Juanito Fatas
+ * - Vitalii Khustochka
+ * - Akira Matsuda
+ * - Christopher Dell
+ * - Enrique Vidal
+ * - Simone Carletti
+ * - Aaron Patterson
+ * - Andriy Tyurnikov
+ * - Nicolás Hock Isaza
+ * - Iwakura Taro
+ * - Andrii Ponomarov
+ * - alecrabbit
+ * - vystepanenko
+ * - AlexWalkerson
+ * - Andre Havryliuk (Andrend)
+ * - Max Datsenko (datsenko-md)
+ */
+return [
+ 'year' => ':count рік|:count роки|:count років',
+ 'y' => ':countр',
+ 'a_year' => '{1}рік|:count рік|:count роки|:count років',
+ 'month' => ':count міÑÑць|:count міÑÑці|:count міÑÑців',
+ 'm' => ':countм',
+ 'a_month' => '{1}міÑÑць|:count міÑÑць|:count міÑÑці|:count міÑÑців',
+ 'week' => ':count тиждень|:count тижні|:count тижнів',
+ 'w' => ':countт',
+ 'a_week' => '{1}тиждень|:count тиждень|:count тижні|:count тижнів',
+ 'day' => ':count день|:count дні|:count днів',
+ 'd' => ':countд',
+ 'a_day' => '{1}день|:count день|:count дні|:count днів',
+ 'hour' => ':count година|:count години|:count годин',
+ 'h' => ':countг',
+ 'a_hour' => '{1}година|:count година|:count години|:count годин',
+ 'minute' => ':count хвилина|:count хвилини|:count хвилин',
+ 'min' => ':countхв',
+ 'a_minute' => '{1}хвилина|:count хвилина|:count хвилини|:count хвилин',
+ 'second' => ':count Ñекунда|:count Ñекунди|:count Ñекунд',
+ 's' => ':countÑек',
+ 'a_second' => '{1}декілька Ñекунд|:count Ñекунда|:count Ñекунди|:count Ñекунд',
+
+ 'hour_ago' => ':count годину|:count години|:count годин',
+ 'a_hour_ago' => '{1}годину|:count годину|:count години|:count годин',
+ 'minute_ago' => ':count хвилину|:count хвилини|:count хвилин',
+ 'a_minute_ago' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
+ 'second_ago' => ':count Ñекунду|:count Ñекунди|:count Ñекунд',
+ 'a_second_ago' => '{1}декілька Ñекунд|:count Ñекунду|:count Ñекунди|:count Ñекунд',
+
+ 'hour_from_now' => ':count годину|:count години|:count годин',
+ 'a_hour_from_now' => '{1}годину|:count годину|:count години|:count годин',
+ 'minute_from_now' => ':count хвилину|:count хвилини|:count хвилин',
+ 'a_minute_from_now' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
+ 'second_from_now' => ':count Ñекунду|:count Ñекунди|:count Ñекунд',
+ 'a_second_from_now' => '{1}декілька Ñекунд|:count Ñекунду|:count Ñекунди|:count Ñекунд',
+
+ 'hour_after' => ':count годину|:count години|:count годин',
+ 'a_hour_after' => '{1}годину|:count годину|:count години|:count годин',
+ 'minute_after' => ':count хвилину|:count хвилини|:count хвилин',
+ 'a_minute_after' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
+ 'second_after' => ':count Ñекунду|:count Ñекунди|:count Ñекунд',
+ 'a_second_after' => '{1}декілька Ñекунд|:count Ñекунду|:count Ñекунди|:count Ñекунд',
+
+ 'hour_before' => ':count годину|:count години|:count годин',
+ 'a_hour_before' => '{1}годину|:count годину|:count години|:count годин',
+ 'minute_before' => ':count хвилину|:count хвилини|:count хвилин',
+ 'a_minute_before' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
+ 'second_before' => ':count Ñекунду|:count Ñекунди|:count Ñекунд',
+ 'a_second_before' => '{1}декілька Ñекунд|:count Ñекунду|:count Ñекунди|:count Ñекунд',
+
+ 'ago' => ':time тому',
+ 'from_now' => 'за :time',
+ 'after' => ':time піÑлÑ',
+ 'before' => ':time до',
+ 'diff_now' => 'щойно',
+ 'diff_today' => 'Сьогодні',
+ 'diff_today_regexp' => 'Сьогодні(?:\\s+о)?',
+ 'diff_yesterday' => 'вчора',
+ 'diff_yesterday_regexp' => 'Вчора(?:\\s+о)?',
+ 'diff_tomorrow' => 'завтра',
+ 'diff_tomorrow_regexp' => 'Завтра(?:\\s+о)?',
+ 'diff_before_yesterday' => 'позавчора',
+ 'diff_after_tomorrow' => 'піÑлÑзавтра',
+ 'period_recurrences' => 'один раз|:count рази|:count разів',
+ 'period_interval' => 'кожні :interval',
+ 'period_start_date' => 'з :date',
+ 'period_end_date' => 'до :date',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY, HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => function (CarbonInterface $date) use ($processHoursFunction) {
+ return $processHoursFunction($date, '[Сьогодні ');
+ },
+ 'nextDay' => function (CarbonInterface $date) use ($processHoursFunction) {
+ return $processHoursFunction($date, '[Завтра ');
+ },
+ 'nextWeek' => function (CarbonInterface $date) use ($processHoursFunction) {
+ return $processHoursFunction($date, '[У] dddd [');
+ },
+ 'lastDay' => function (CarbonInterface $date) use ($processHoursFunction) {
+ return $processHoursFunction($date, '[Вчора ');
+ },
+ 'lastWeek' => function (CarbonInterface $date) use ($processHoursFunction) {
+ switch ($date->dayOfWeek) {
+ case 0:
+ case 3:
+ case 5:
+ case 6:
+ return $processHoursFunction($date, '[Минулої] dddd [');
+ default:
+ return $processHoursFunction($date, '[Минулого] dddd [');
+ }
+ },
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'M':
+ case 'd':
+ case 'DDD':
+ case 'w':
+ case 'W':
+ return $number.'-й';
+ case 'D':
+ return $number.'-го';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour) {
+ if ($hour < 4) {
+ return 'ночі';
+ }
+ if ($hour < 12) {
+ return 'ранку';
+ }
+ if ($hour < 17) {
+ return 'днÑ';
+ }
+
+ return 'вечора';
+ },
+ 'months' => ['ÑічнÑ', 'лютого', 'березнÑ', 'квітнÑ', 'травнÑ', 'червнÑ', 'липнÑ', 'ÑерпнÑ', 'вереÑнÑ', 'жовтнÑ', 'лиÑтопада', 'груднÑ'],
+ 'months_standalone' => ['Ñічень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'Ñерпень', 'вереÑень', 'жовтень', 'лиÑтопад', 'грудень'],
+ 'months_short' => ['Ñіч', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'Ñер', 'вер', 'жов', 'лиÑ', 'гру'],
+ 'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
+ 'weekdays' => function (CarbonInterface $date, $format, $index) {
+ static $words = [
+ 'nominative' => ['неділÑ', 'понеділок', 'вівторок', 'Ñереда', 'четвер', 'п’ÑтницÑ', 'Ñубота'],
+ 'accusative' => ['неділю', 'понеділок', 'вівторок', 'Ñереду', 'четвер', 'п’Ñтницю', 'Ñуботу'],
+ 'genitive' => ['неділі', 'понеділка', 'вівторка', 'Ñереди', 'четверга', 'п’Ñтниці', 'Ñуботи'],
+ ];
+
+ $format = $format ?? '';
+ $nounCase = preg_match('/(\[(В|в|У|у)\])\s+dddd/u', $format)
+ ? 'accusative'
+ : (
+ preg_match('/\[?(?:минулої|наÑтупної)?\s*\]\s+dddd/u', $format)
+ ? 'genitive'
+ : 'nominative'
+ );
+
+ return $words[$nounCase][$index] ?? null;
+ },
+ 'weekdays_short' => ['нд', 'пн', 'вт', 'ÑÑ€', 'чт', 'пт', 'Ñб'],
+ 'weekdays_min' => ['нд', 'пн', 'вт', 'ÑÑ€', 'чт', 'пт', 'Ñб'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' i '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php b/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php
new file mode 100644
index 0000000..bd11d86
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/uk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/unm.php b/vendor/nesbot/carbon/src/Carbon/Lang/unm.php
new file mode 100644
index 0000000..d3f19f0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/unm.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/unm_US.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/unm_US.php b/vendor/nesbot/carbon/src/Carbon/Lang/unm_US.php
new file mode 100644
index 0000000..fa5c374
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/unm_US.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['enikwsi', 'chkwali', 'xamokhwite', 'kwetayoxe', 'tainipen', 'kichinipen', 'lainipen', 'winaminke', 'kichitahkok', 'puksit', 'wini', 'muxkotae'],
+ 'months_short' => ['eni', 'chk', 'xam', 'kwe', 'tai', 'nip', 'lai', 'win', 'tah', 'puk', 'kun', 'mux'],
+ 'weekdays' => ['kentuwei', 'manteke', 'tusteke', 'lelai', 'tasteke', 'pelaiteke', 'sateteke'],
+ 'weekdays_short' => ['ken', 'man', 'tus', 'lel', 'tas', 'pel', 'sat'],
+ 'weekdays_min' => ['ken', 'man', 'tus', 'lel', 'tas', 'pel', 'sat'],
+ 'day_of_first_week_of_year' => 1,
+
+ // Too unreliable
+ /*
+ 'year' => ':count kaxtëne',
+ 'y' => ':count kaxtëne',
+ 'a_year' => ':count kaxtëne',
+
+ 'month' => ':count piskewëni kishux', // less reliable
+ 'm' => ':count piskewëni kishux', // less reliable
+ 'a_month' => ':count piskewëni kishux', // less reliable
+
+ 'week' => ':count kishku', // less reliable
+ 'w' => ':count kishku', // less reliable
+ 'a_week' => ':count kishku', // less reliable
+
+ 'day' => ':count kishku',
+ 'd' => ':count kishku',
+ 'a_day' => ':count kishku',
+
+ 'hour' => ':count xkuk', // less reliable
+ 'h' => ':count xkuk', // less reliable
+ 'a_hour' => ':count xkuk', // less reliable
+
+ 'minute' => ':count txituwà k', // less reliable
+ 'min' => ':count txituwà k', // less reliable
+ 'a_minute' => ':count txituwà k', // less reliable
+
+ 'second' => ':count nisha', // less reliable
+ 's' => ':count nisha', // less reliable
+ 'a_second' => ':count nisha', // less reliable
+ */
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ur.php b/vendor/nesbot/carbon/src/Carbon/Lang/ur.php
new file mode 100644
index 0000000..dc16c2c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ur.php
@@ -0,0 +1,94 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+$months = [
+ 'جنوری',
+ 'ÙØ±ÙˆØ±ÛŒ',
+ 'مارچ',
+ 'اپریل',
+ 'مئی',
+ 'جون',
+ 'جولائی',
+ 'اگست',
+ 'ستمبر',
+ 'اکتوبر',
+ 'نومبر',
+ 'دسمبر',
+];
+
+$weekdays = [
+ 'اتوار',
+ 'پیر',
+ 'منگل',
+ 'بدھ',
+ 'جمعرات',
+ 'جمعÛ',
+ 'ÛÙØªÛ',
+];
+
+/*
+ * Authors:
+ * - Sawood Alam
+ * - Mehshan
+ * - Philippe Vaucher
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Zaid Akram
+ * - Max Melentiev
+ * - hafezdivandari
+ * - Hossein Jabbari
+ * - nimamo
+ */
+return [
+ 'year' => 'ایک سال|:count سال',
+ 'month' => 'ایک ماÛ|:count ماÛ',
+ 'week' => ':count ÛÙØªÛ’',
+ 'day' => 'ایک دن|:count دن',
+ 'hour' => 'ایک گھنٹÛ|:count گھنٹے',
+ 'minute' => 'ایک منٹ|:count منٹ',
+ 'second' => 'چند سیکنڈ|:count سیکنڈ',
+ 'ago' => ':time قبل',
+ 'from_now' => ':time بعد',
+ 'after' => ':time بعد',
+ 'before' => ':time Ù¾ÛÙ„Û’',
+ 'diff_now' => 'اب',
+ 'diff_today' => 'آج',
+ 'diff_today_regexp' => 'آج(?:\\s+بوقت)?',
+ 'diff_yesterday' => 'Ú¯Ø²Ø´ØªÛ Ú©Ù„',
+ 'diff_yesterday_regexp' => 'گذشتÛ(?:\\s+روز)?(?:\\s+بوقت)?',
+ 'diff_tomorrow' => 'Ø¢Ø¦Ù†Ø¯Û Ú©Ù„',
+ 'diff_tomorrow_regexp' => 'کل(?:\\s+بوقت)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd، D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[آج بوقت] LT',
+ 'nextDay' => '[کل بوقت] LT',
+ 'nextWeek' => 'dddd [بوقت] LT',
+ 'lastDay' => '[Ú¯Ø°Ø´ØªÛ Ø±ÙˆØ² بوقت] LT',
+ 'lastWeek' => '[گذشتÛ] dddd [بوقت] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['صبØ', 'شام'],
+ 'months' => $months,
+ 'months_short' => $months,
+ 'weekdays' => $weekdays,
+ 'weekdays_short' => $weekdays,
+ 'weekdays_min' => $weekdays,
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => ['، ', ' اور '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ur_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ur_IN.php
new file mode 100644
index 0000000..f81c84d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ur_IN.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Red Hat, Pune bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/ur.php', [
+ 'formats' => [
+ 'L' => 'D/M/YY',
+ ],
+ 'months' => ['جنوری', 'ÙØ±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنوری', 'ÙØ±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'weekdays' => ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعÛ', 'سنیچر'],
+ 'weekdays_short' => ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعÛ', 'سنیچر'],
+ 'weekdays_min' => ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعÛ', 'سنیچر'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ur_PK.php b/vendor/nesbot/carbon/src/Carbon/Lang/ur_PK.php
new file mode 100644
index 0000000..8cd593d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ur_PK.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/ur.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['جنوری', 'ÙØ±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنوری', 'ÙØ±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'weekdays' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'Ù‡ÙØªÙ‡'],
+ 'weekdays_short' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'Ù‡ÙØªÙ‡'],
+ 'weekdays_min' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'Ù‡ÙØªÙ‡'],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ص', 'ش'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz.php
new file mode 100644
index 0000000..61f3b64
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz.php
@@ -0,0 +1,85 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Dmitriy Shabanov
+ * - JD Isaacks
+ * - Inoyatulloh
+ * - Jamshid
+ * - aarkhipov
+ * - Philippe Vaucher
+ * - felixthemagnificent
+ * - Tsutomu Kuroda
+ * - tjku
+ * - Max Melentiev
+ * - Juanito Fatas
+ * - Alisher Ulugbekov
+ * - Ergashev Adizbek
+ */
+return [
+ 'year' => ':count йил',
+ 'a_year' => '{1}бир йил|:count йил',
+ 'y' => ':count й',
+ 'month' => ':count ой',
+ 'a_month' => '{1}бир ой|:count ой',
+ 'm' => ':count о',
+ 'week' => ':count ҳафта',
+ 'a_week' => '{1}бир ҳафта|:count ҳафта',
+ 'w' => ':count Ò³',
+ 'day' => ':count кун',
+ 'a_day' => '{1}бир кун|:count кун',
+ 'd' => ':count к',
+ 'hour' => ':count Ñоат',
+ 'a_hour' => '{1}бир Ñоат|:count Ñоат',
+ 'h' => ':count Ñ',
+ 'minute' => ':count дақиқа',
+ 'a_minute' => '{1}бир дақиқа|:count дақиқа',
+ 'min' => ':count д',
+ 'second' => ':count ÑониÑ',
+ 'a_second' => '{1}ÑониÑ|:count ÑониÑ',
+ 's' => ':count Ñ',
+ 'ago' => ':time аввал',
+ 'from_now' => 'Якин :time ичида',
+ 'after' => ':timeдан кейин',
+ 'before' => ':time олдин',
+ 'diff_now' => 'ҳозир',
+ 'diff_today' => 'Бугун',
+ 'diff_today_regexp' => 'Бугун(?:\\s+Ñоат)?',
+ 'diff_yesterday' => 'Кеча',
+ 'diff_yesterday_regexp' => 'Кеча(?:\\s+Ñоат)?',
+ 'diff_tomorrow' => 'Ðртага',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'D MMMM YYYY, dddd HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Бугун Ñоат] LT [да]',
+ 'nextDay' => '[Ðртага] LT [да]',
+ 'nextWeek' => 'dddd [куни Ñоат] LT [да]',
+ 'lastDay' => '[Кеча Ñоат] LT [да]',
+ 'lastWeek' => '[Утган] dddd [куни Ñоат] LT [да]',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['Ñнвар', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'авгуÑÑ‚', 'ÑентÑбр', 'октÑбр', 'ноÑбр', 'декабр'],
+ 'months_short' => ['Ñнв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'Ñен', 'окт', 'ноÑ', 'дек'],
+ 'weekdays' => ['Ñкшанба', 'душанба', 'Ñешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба'],
+ 'weekdays_short' => ['Ñкш', 'душ', 'Ñеш', 'чор', 'пай', 'жум', 'шан'],
+ 'weekdays_min' => ['Ñк', 'ду', 'Ñе', 'чо', 'па', 'жу', 'ша'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['Ñрталаб', 'кечаÑи'],
+ 'list' => [', ', ' ва '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php
new file mode 100644
index 0000000..ffb5131
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/fa.php', [
+ 'weekdays' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],
+ 'weekdays_short' => ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'],
+ 'weekdays_min' => ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'],
+ 'months' => ['جنوری', 'ÙØ¨Ø±ÙˆØ±ÛŒ', 'مارچ', 'اپریل', 'Ù…ÛŒ', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
+ 'months_short' => ['جنو', 'ÙØ¨Ø±', 'مار', 'اپر', 'Ù…ÛŒ', 'جون', 'جول', 'اگس', 'سپت', 'اکت', 'نوم', 'دسم'],
+ 'first_day_of_week' => 6,
+ 'weekend' => [4, 5],
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'YYYY MMMM D, dddd HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php
new file mode 100644
index 0000000..89e9971
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/uz.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/yy',
+ 'LL' => 'D MMM, YYYY',
+ 'LLL' => 'D MMMM, YYYY HH:mm',
+ 'LLLL' => 'dddd, DD MMMM, YYYY HH:mm',
+ ],
+ 'meridiem' => ['ТО', 'ТК'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Latn.php
new file mode 100644
index 0000000..ecceeaa
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Latn.php
@@ -0,0 +1,74 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Josh Soref
+ * - Rasulbek
+ * - Ilyosjon Kamoldinov (ilyosjon09)
+ */
+return [
+ 'year' => ':count yil',
+ 'a_year' => '{1}bir yil|:count yil',
+ 'y' => ':count y',
+ 'month' => ':count oy',
+ 'a_month' => '{1}bir oy|:count oy',
+ 'm' => ':count o',
+ 'week' => ':count hafta',
+ 'a_week' => '{1}bir hafta|:count hafta',
+ 'w' => ':count h',
+ 'day' => ':count kun',
+ 'a_day' => '{1}bir kun|:count kun',
+ 'd' => ':count k',
+ 'hour' => ':count soat',
+ 'a_hour' => '{1}bir soat|:count soat',
+ 'h' => ':count soat',
+ 'minute' => ':count daqiqa',
+ 'a_minute' => '{1}bir daqiqa|:count daqiqa',
+ 'min' => ':count d',
+ 'second' => ':count soniya',
+ 'a_second' => '{1}soniya|:count soniya',
+ 's' => ':count son.',
+ 'ago' => ':time avval',
+ 'from_now' => 'Yaqin :time ichida',
+ 'after' => ':timedan keyin',
+ 'before' => ':time oldin',
+ 'diff_yesterday' => 'Kecha',
+ 'diff_yesterday_regexp' => 'Kecha(?:\\s+soat)?',
+ 'diff_today' => 'Bugun',
+ 'diff_today_regexp' => 'Bugun(?:\\s+soat)?',
+ 'diff_tomorrow' => 'Ertaga',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'D MMMM YYYY, dddd HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Bugun soat] LT [da]',
+ 'nextDay' => '[Ertaga] LT [da]',
+ 'nextWeek' => 'dddd [kuni soat] LT [da]',
+ 'lastDay' => '[Kecha soat] LT [da]',
+ 'lastWeek' => '[O\'tgan] dddd [kuni soat] LT [da]',
+ 'sameElse' => 'L',
+ ],
+ 'months' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', 'Noyabr', 'Dekabr'],
+ 'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyun', 'Iyul', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'],
+ 'weekdays' => ['Yakshanba', 'Dushanba', 'Seshanba', 'Chorshanba', 'Payshanba', 'Juma', 'Shanba'],
+ 'weekdays_short' => ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'],
+ 'weekdays_min' => ['Ya', 'Du', 'Se', 'Cho', 'Pa', 'Ju', 'Sha'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' va '],
+ 'meridiem' => ['TO', 'TK'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ.php
new file mode 100644
index 0000000..d41bfee
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Bobir Ismailov Bobir Ismailov, Pablo Saratxaga, Mashrab Kuvatov bobir_is@yahoo.com, pablo@mandrakesoft.com, kmashrab@uni-bremen.de
+ */
+return array_replace_recursive(require __DIR__.'/uz_Latn.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', 'Noyabr', 'Dekabr'],
+ 'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'],
+ 'weekdays' => ['Yakshanba', 'Dushanba', 'Seshanba', 'Chorshanba', 'Payshanba', 'Juma', 'Shanba'],
+ 'weekdays_short' => ['Yak', 'Du', 'Se', 'Cho', 'Pay', 'Ju', 'Sha'],
+ 'weekdays_min' => ['Yak', 'Du', 'Se', 'Cho', 'Pay', 'Ju', 'Sha'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ@cyrillic.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ@cyrillic.php
new file mode 100644
index 0000000..2fa967c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_UZ@cyrillic.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Mashrab Kuvatov Mashrab Kuvatov, Pablo Saratxaga kmashrab@uni-bremen.de, pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/uz.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['Январ', 'Феврал', 'Март', 'Ðпрел', 'Май', 'Июн', 'Июл', 'ÐвгуÑÑ‚', 'СентÑбр', 'ОктÑбр', 'ÐоÑбр', 'Декабр'],
+ 'months_short' => ['Янв', 'Фев', 'Мар', 'Ðпр', 'Май', 'Июн', 'Июл', 'Ðвг', 'Сен', 'Окт', 'ÐоÑ', 'Дек'],
+ 'weekdays' => ['Якшанба', 'Душанба', 'Сешанба', 'Чоршанба', 'Пайшанба', 'Жума', 'Шанба'],
+ 'weekdays_short' => ['Якш', 'Душ', 'Сеш', 'Чор', 'Пай', 'Жум', 'Шан'],
+ 'weekdays_min' => ['Якш', 'Душ', 'Сеш', 'Чор', 'Пай', 'Жум', 'Шан'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vai.php b/vendor/nesbot/carbon/src/Carbon/Lang/vai.php
new file mode 100644
index 0000000..3c378df
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vai.php
@@ -0,0 +1,35 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'],
+ 'weekdays_short' => ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'],
+ 'weekdays_min' => ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'],
+ 'months' => ['ꖨꖕ ꕪꕴ ꔞꔀꕮꕊ', 'ê•’ê•¡ê–ê–•', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞꔤ', 'ꗛꔕ', 'ꕢꕌ', 'ê•ê–ƒ', 'ꔞꘋꕔꕿ ꕸꖃê—', 'ꖨꖕ ꕪꕴ ê—ꖺꕮꕊ'],
+ 'months_short' => ['ꖨꖕꔞ', 'ê•’ê•¡', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', 'ꖱꘋ', 'ꖱꕞ', 'ꗛꔕ', 'ꕢꕌ', 'ê•ê–ƒ', 'ꔞꘋ', 'ꖨꖕê—'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm a',
+ ],
+
+ 'year' => ':count ê•€', // less reliable
+ 'y' => ':count ê•€', // less reliable
+ 'a_year' => ':count ê•€', // less reliable
+
+ 'second' => ':count ꗱꕞꕯꕊ', // less reliable
+ 's' => ':count ꗱꕞꕯꕊ', // less reliable
+ 'a_second' => ':count ꗱꕞꕯꕊ', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php
new file mode 100644
index 0000000..51e83cc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'weekdays' => ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'],
+ 'weekdays_short' => ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'],
+ 'weekdays_min' => ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'],
+ 'months' => ['luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', 'kenpkato ɓololɔ', 'luukao lɔma'],
+ 'months_short' => ['luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', 'kenpkato ɓololɔ', 'luukao lɔma'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'h:mm a',
+ 'LTS' => 'h:mm:ss a',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm a',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm a',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php
new file mode 100644
index 0000000..b4bb533
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/vai.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ve.php b/vendor/nesbot/carbon/src/Carbon/Lang/ve.php
new file mode 100644
index 0000000..7f10aeb
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ve.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/ve_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ve_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ve_ZA.php
new file mode 100644
index 0000000..5eb2b91
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ve_ZA.php
@@ -0,0 +1,49 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Phando', 'Luhuhi', 'Ṱhafamuhwe', 'Lambamai', 'Shundunthule', 'Fulwi', 'Fulwana', 'Ṱhangule', 'Khubvumedzi', 'Tshimedzi', 'Ḽara', 'Nyendavhusiku'],
+ 'months_short' => ['Pha', 'Luh', 'Fam', 'Lam', 'Shu', 'Lwi', 'Lwa', 'Ngu', 'Khu', 'Tsh', 'Ḽar', 'Nye'],
+ 'weekdays' => ['Swondaha', 'Musumbuluwo', 'Ḽavhuvhili', 'Ḽavhuraru', 'Ḽavhuṋa', 'Ḽavhuṱanu', 'Mugivhela'],
+ 'weekdays_short' => ['Swo', 'Mus', 'Vhi', 'Rar', 'ṋa', 'Ṱan', 'Mug'],
+ 'weekdays_min' => ['Swo', 'Mus', 'Vhi', 'Rar', 'ṋa', 'Ṱan', 'Mug'],
+ 'day_of_first_week_of_year' => 1,
+
+ // Too unreliable
+ /*
+ 'day' => ':count vhege', // less reliable
+ 'd' => ':count vhege', // less reliable
+ 'a_day' => ':count vhege', // less reliable
+
+ 'hour' => ':count watshi', // less reliable
+ 'h' => ':count watshi', // less reliable
+ 'a_hour' => ':count watshi', // less reliable
+
+ 'minute' => ':count watshi', // less reliable
+ 'min' => ':count watshi', // less reliable
+ 'a_minute' => ':count watshi', // less reliable
+
+ 'second' => ':count Mu', // less reliable
+ 's' => ':count Mu', // less reliable
+ 'a_second' => ':count Mu', // less reliable
+
+ 'week' => ':count vhege',
+ 'w' => ':count vhege',
+ 'a_week' => ':count vhege',
+ */
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vi.php b/vendor/nesbot/carbon/src/Carbon/Lang/vi.php
new file mode 100644
index 0000000..73e2852
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vi.php
@@ -0,0 +1,76 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Andre Polykanine A.K.A. Menelion Elensúlë
+ * - JD Isaacks
+ */
+return [
+ 'year' => ':count năm',
+ 'a_year' => '{1}một năm|]1, Inf[:count năm',
+ 'y' => ':count năm',
+ 'month' => ':count tháng',
+ 'a_month' => '{1}một tháng|]1, Inf[:count tháng',
+ 'm' => ':count tháng',
+ 'week' => ':count tuần',
+ 'a_week' => '{1}một tuần|]1, Inf[:count tuần',
+ 'w' => ':count tuần',
+ 'day' => ':count ngà y',
+ 'a_day' => '{1}một ngà y|]1, Inf[:count ngà y',
+ 'd' => ':count ngà y',
+ 'hour' => ':count giá»',
+ 'a_hour' => '{1}má»™t giá»|]1, Inf[:count giá»',
+ 'h' => ':count giá»',
+ 'minute' => ':count phút',
+ 'a_minute' => '{1}một phút|]1, Inf[:count phút',
+ 'min' => ':count phút',
+ 'second' => ':count giây',
+ 'a_second' => '{1}và i giây|]1, Inf[:count giây',
+ 's' => ':count giây',
+ 'ago' => ':time trước',
+ 'from_now' => ':time tá»›i',
+ 'after' => ':time sau',
+ 'before' => ':time trước',
+ 'diff_now' => 'bây giá»',
+ 'diff_today' => 'Hôm',
+ 'diff_today_regexp' => 'Hôm(?:\\s+nay)?(?:\\s+lúc)?',
+ 'diff_yesterday' => 'Hôm qua',
+ 'diff_yesterday_regexp' => 'Hôm(?:\\s+qua)?(?:\\s+lúc)?',
+ 'diff_tomorrow' => 'Ngà y mai',
+ 'diff_tomorrow_regexp' => 'Ngà y(?:\\s+mai)?(?:\\s+lúc)?',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM [năm] YYYY',
+ 'LLL' => 'D MMMM [năm] YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM [năm] YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Hôm nay lúc] LT',
+ 'nextDay' => '[Ngà y mai lúc] LT',
+ 'nextWeek' => 'dddd [tuần tới lúc] LT',
+ 'lastDay' => '[Hôm qua lúc] LT',
+ 'lastWeek' => 'dddd [tuần trước lúc] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['SA', 'CH'],
+ 'months' => ['tháng 1', 'tháng 2', 'tháng 3', 'tháng 4', 'tháng 5', 'tháng 6', 'tháng 7', 'tháng 8', 'tháng 9', 'tháng 10', 'tháng 11', 'tháng 12'],
+ 'months_short' => ['Th01', 'Th02', 'Th03', 'Th04', 'Th05', 'Th06', 'Th07', 'Th08', 'Th09', 'Th10', 'Th11', 'Th12'],
+ 'weekdays' => ['chá»§ nháºt', 'thứ hai', 'thứ ba', 'thứ tư', 'thứ năm', 'thứ sáu', 'thứ bảy'],
+ 'weekdays_short' => ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
+ 'weekdays_min' => ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => [', ', ' và '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php b/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php
new file mode 100644
index 0000000..18d8987
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/vi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vo.php b/vendor/nesbot/carbon/src/Carbon/Lang/vo.php
new file mode 100644
index 0000000..e273033
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vo.php
@@ -0,0 +1,52 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'months' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
+ 'months_short' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY-MM-dd',
+ 'LL' => 'YYYY MMM D',
+ 'LLL' => 'YYYY MMMM D HH:mm',
+ 'LLLL' => 'YYYY MMMM D, dddd HH:mm',
+ ],
+
+ 'year' => ':count yel',
+ 'y' => ':count yel',
+ 'a_year' => ':count yel',
+
+ 'month' => ':count mul',
+ 'm' => ':count mul',
+ 'a_month' => ':count mul',
+
+ 'week' => ':count vig',
+ 'w' => ':count vig',
+ 'a_week' => ':count vig',
+
+ 'day' => ':count del',
+ 'd' => ':count del',
+ 'a_day' => ':count del',
+
+ 'hour' => ':count düp',
+ 'h' => ':count düp',
+ 'a_hour' => ':count düp',
+
+ 'minute' => ':count minut',
+ 'min' => ':count minut',
+ 'a_minute' => ':count minut',
+
+ 'second' => ':count sekun',
+ 's' => ':count sekun',
+ 'a_second' => ':count sekun',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vun.php b/vendor/nesbot/carbon/src/Carbon/Lang/vun.php
new file mode 100644
index 0000000..ed92e8e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vun.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['utuko', 'kyiukonyi'],
+ 'weekdays' => ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
+ 'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'weekdays_min' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'],
+ 'months' => ['Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wa.php b/vendor/nesbot/carbon/src/Carbon/Lang/wa.php
new file mode 100644
index 0000000..f6dc4cc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wa.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/wa_BE.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wa_BE.php b/vendor/nesbot/carbon/src/Carbon/Lang/wa_BE.php
new file mode 100644
index 0000000..a76d80d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wa_BE.php
@@ -0,0 +1,55 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Djan SACRE Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['di djanvî', 'di fevrî', 'di måss', 'd’ avri', 'di may', 'di djun', 'di djulete', 'd’ awousse', 'di setimbe', 'd’ octôbe', 'di nôvimbe', 'di decimbe'],
+ 'months_short' => ['dja', 'fev', 'mås', 'avr', 'may', 'djn', 'djl', 'awo', 'set', 'oct', 'nôv', 'dec'],
+ 'weekdays' => ['dimegne', 'londi', 'mårdi', 'mierkidi', 'djudi', 'vénrdi', 'semdi'],
+ 'weekdays_short' => ['dim', 'lon', 'mår', 'mie', 'dju', 'vén', 'sem'],
+ 'weekdays_min' => ['dim', 'lon', 'mår', 'mie', 'dju', 'vén', 'sem'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'year' => ':count anêye',
+ 'y' => ':count anêye',
+ 'a_year' => ':count anêye',
+
+ 'month' => ':count meûs',
+ 'm' => ':count meûs',
+ 'a_month' => ':count meûs',
+
+ 'week' => ':count samwinne',
+ 'w' => ':count samwinne',
+ 'a_week' => ':count samwinne',
+
+ 'day' => ':count djoû',
+ 'd' => ':count djoû',
+ 'a_day' => ':count djoû',
+
+ 'hour' => ':count eure',
+ 'h' => ':count eure',
+ 'a_hour' => ':count eure',
+
+ 'minute' => ':count munute',
+ 'min' => ':count munute',
+ 'a_minute' => ':count munute',
+
+ 'second' => ':count Sigonde',
+ 's' => ':count Sigonde',
+ 'a_second' => ':count Sigonde',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wae.php b/vendor/nesbot/carbon/src/Carbon/Lang/wae.php
new file mode 100644
index 0000000..bf57f23
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wae.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/wae_CH.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wae_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/wae_CH.php
new file mode 100644
index 0000000..2af50b4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wae_CH.php
@@ -0,0 +1,31 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Walser Translation Team ml@translate-wae.ch
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+ 'months' => ['Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'BráÄet', 'Heiwet', 'ÖigÅ¡te', 'HerbÅ¡tmánet', 'WÃmánet', 'Wintermánet', 'ChriÅ¡tmánet'],
+ 'months_short' => ['Jen', 'Hor', 'Mär', 'Abr', 'Mei', 'Brá', 'Hei', 'Öig', 'Her', 'WÃm', 'Win', 'Chr'],
+ 'weekdays' => ['Suntag', 'Mäntag', 'Zischtag', 'Mittwuch', 'Frontag', 'Fritag', 'Samschtag'],
+ 'weekdays_short' => ['Sun', 'Män', 'Zis', 'Mit', 'Fro', 'Fri', 'Sam'],
+ 'weekdays_min' => ['Sun', 'Män', 'Zis', 'Mit', 'Fro', 'Fri', 'Sam'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+
+ 'month' => ':count Maano', // less reliable
+ 'm' => ':count Maano', // less reliable
+ 'a_month' => ':count Maano', // less reliable
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wal.php b/vendor/nesbot/carbon/src/Carbon/Lang/wal.php
new file mode 100644
index 0000000..e8ec40f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wal.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/wal_ET.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wal_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/wal_ET.php
new file mode 100644
index 0000000..a4e619a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wal_ET.php
@@ -0,0 +1,27 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Ge'ez Frontier Foundation locales@geez.org
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['ጃንዩወሪ', 'áŒá‰¥áˆ©á‹ˆáˆª', 'ማáˆá‰½', 'ኤá•ረáˆ', 'ሜá‹', 'áŒáŠ•', 'áŒáˆ‹á‹', 'ኦገስት', 'ሴá•ቴáˆá‰ áˆ', 'ኦáŠá‰°á‹á‰ áˆ', 'ኖቬáˆá‰ áˆ', 'ዲሴáˆá‰ áˆ'],
+ 'months_short' => ['ጃንዩ', 'áŒá‰¥áˆ©', 'ማáˆá‰½', 'ኤá•ረ', 'ሜዠ', 'áŒáŠ• ', 'áŒáˆ‹á‹', 'ኦገስ', 'ሴá•ቴ', 'ኦáŠá‰°', 'ኖቬáˆ', 'ዲሴáˆ'],
+ 'weekdays' => ['ወጋ', 'ሳá‹áŠ–', 'ማቆሳኛ', 'አሩዋ', 'ሃሙሳ', 'አáˆá‰£', 'ቄራ'],
+ 'weekdays_short' => ['ወጋ ', 'ሳá‹áŠ–', 'ማቆሳ', 'አሩዋ', 'ሃሙሳ', 'አáˆá‰£', 'ቄራ '],
+ 'weekdays_min' => ['ወጋ ', 'ሳá‹áŠ–', 'ማቆሳ', 'አሩዋ', 'ሃሙሳ', 'አáˆá‰£', 'ቄራ '],
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['ማለዶ', 'ቃማ'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wo.php b/vendor/nesbot/carbon/src/Carbon/Lang/wo.php
new file mode 100644
index 0000000..74b95df
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wo.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/wo_SN.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/wo_SN.php b/vendor/nesbot/carbon/src/Carbon/Lang/wo_SN.php
new file mode 100644
index 0000000..f8a85b3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/wo_SN.php
@@ -0,0 +1,39 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - The Debian Project Christian Perrier bubulle@debian.org
+ */
+return [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD.MM.YYYY',
+ 'LL' => 'MMMM DD, YYYY',
+ 'LLL' => 'DD MMM HH:mm',
+ 'LLLL' => 'MMMM DD, YYYY HH:mm',
+ ],
+ 'months' => ['sanwiy\'e', 'feebriy\'e', 'mars', 'awril', 'me', 'suwen', 'sulet', 'uut', 'septaambar', 'oktoobar', 'nowaambar', 'desaambar'],
+ 'months_short' => ['san', 'fee', 'mar', 'awr', 'me ', 'suw', 'sul', 'uut', 'sep', 'okt', 'now', 'des'],
+ 'weekdays' => ['dib\'eer', 'altine', 'talaata', 'allarba', 'alxames', 'ajjuma', 'gaawu'],
+ 'weekdays_short' => ['dib', 'alt', 'tal', 'all', 'alx', 'ajj', 'gaa'],
+ 'weekdays_min' => ['dib', 'alt', 'tal', 'all', 'alx', 'ajj', 'gaa'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'year' => ':count at',
+ 'month' => ':count wèr',
+ 'week' => ':count ayubés',
+ 'day' => ':count bés',
+ 'hour' => ':count waxtu',
+ 'minute' => ':count simili',
+ 'second' => ':count saa',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/xh.php b/vendor/nesbot/carbon/src/Carbon/Lang/xh.php
new file mode 100644
index 0000000..e88c78d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/xh.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/xh_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/xh_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/xh_ZA.php
new file mode 100644
index 0000000..910f831
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/xh_ZA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['eyoMqungu', 'eyoMdumba', 'eyoKwindla', 'uTshazimpuzi', 'uCanzibe', 'eyeSilimela', 'eyeKhala', 'eyeThupa', 'eyoMsintsi', 'eyeDwarha', 'eyeNkanga', 'eyoMnga'],
+ 'months_short' => ['Mqu', 'Mdu', 'Kwi', 'Tsh', 'Can', 'Sil', 'Kha', 'Thu', 'Msi', 'Dwa', 'Nka', 'Mng'],
+ 'weekdays' => ['iCawa', 'uMvulo', 'lwesiBini', 'lwesiThathu', 'ulweSine', 'lwesiHlanu', 'uMgqibelo'],
+ 'weekdays_short' => ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'],
+ 'weekdays_min' => ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count ihlobo', // less reliable
+ 'y' => ':count ihlobo', // less reliable
+ 'a_year' => ':count ihlobo', // less reliable
+
+ 'hour' => ':count iwotshi', // less reliable
+ 'h' => ':count iwotshi', // less reliable
+ 'a_hour' => ':count iwotshi', // less reliable
+
+ 'minute' => ':count ingqalelo', // less reliable
+ 'min' => ':count ingqalelo', // less reliable
+ 'a_minute' => ':count ingqalelo', // less reliable
+
+ 'second' => ':count nceda', // less reliable
+ 's' => ':count nceda', // less reliable
+ 'a_second' => ':count nceda', // less reliable
+
+ 'month' => ':count inyanga',
+ 'm' => ':count inyanga',
+ 'a_month' => ':count inyanga',
+
+ 'week' => ':count veki',
+ 'w' => ':count veki',
+ 'a_week' => ':count veki',
+
+ 'day' => ':count imini',
+ 'd' => ':count imini',
+ 'a_day' => ':count imini',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/xog.php b/vendor/nesbot/carbon/src/Carbon/Lang/xog.php
new file mode 100644
index 0000000..eb55b4a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/xog.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['Munkyo', 'Eigulo'],
+ 'weekdays' => ['Sabiiti', 'Balaza', 'Owokubili', 'Owokusatu', 'Olokuna', 'Olokutaanu', 'Olomukaaga'],
+ 'weekdays_short' => ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'],
+ 'weekdays_min' => ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'],
+ 'months' => ['Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yav.php b/vendor/nesbot/carbon/src/Carbon/Lang/yav.php
new file mode 100644
index 0000000..225a20d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yav.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'meridiem' => ['kiÉ›mÉ›ÌÉ›m', 'kisÉ›ÌndÉ›'],
+ 'weekdays' => ['sÉ”ÌndiÉ›', 'móndie', 'muányáŋmóndie', 'metúkpÃápÉ›', 'kúpélimetúkpiapÉ›', 'feléte', 'séselé'],
+ 'weekdays_short' => ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'],
+ 'weekdays_min' => ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'],
+ 'months' => ['pikÃtÃkÃtie, oólà ú kutúan', 'siÉ›yÉ›Ì, oóli ú kándÃÉ›', 'É”nsúmbÉ”l, oóli ú kátátúɛ', 'mesiÅ‹, oóli ú kénie', 'ensil, oóli ú kátánuÉ›', 'É”sÉ”n', 'efute', 'pisuyú', 'imɛŋ i puÉ”s', 'imɛŋ i putúk,oóli ú kátÃÉ›', 'makandikÉ›', 'pilÉ”ndÉ”Ì'],
+ 'months_short' => ['o.1', 'o.2', 'o.3', 'o.4', 'o.5', 'o.6', 'o.7', 'o.8', 'o.9', 'o.10', 'o.11', 'o.12'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'D/M/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yi.php b/vendor/nesbot/carbon/src/Carbon/Lang/yi.php
new file mode 100644
index 0000000..8f32022
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yi.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/yi_US.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yi_US.php b/vendor/nesbot/carbon/src/Carbon/Lang/yi_US.php
new file mode 100644
index 0000000..f764d36
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yi_US.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - http://www.uyip.org/ Pablo Saratxaga pablo@mandrakesoft.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['×™×Ö·× ×•×ַר', 'פֿעברו×ַר', 'מערץ', '×ַפּריל', 'מיי', '×™×•× ×™', 'יולי', '×ויגוסט', 'סעפּטעמבער', '×קט×בער', '× ×וועמבער', 'דעצעמבער'],
+ 'months_short' => ['×™×Ö·× ', 'פֿעב', 'מ×ַר', '×ַפּר', 'מײַ ', '×™×•× ', 'יול', '××±×’', 'סעפּ', '×ָקט', '× ×ָװ', 'דעצ'],
+ 'weekdays' => ['×–×•× ×˜×™×§', 'מ×Ö¸× ×˜×™×§', '×“×™× ×¡×˜×™×§', 'מיטװ×ָך', 'ד×Ö¸× ×¢×¨×©×˜×™×§', 'פֿרײַטיק', 'שבת'],
+ 'weekdays_short' => ['×–×•× \'', 'מ×Ö¸× \'', '×“×™× \'', 'מיט\'', 'ד×Ö¸× \'', 'פֿרײַ\'', 'שבת'],
+ 'weekdays_min' => ['×–×•× \'', 'מ×Ö¸× \'', '×“×™× \'', 'מיט\'', 'ד×Ö¸× \'', 'פֿרײַ\'', 'שבת'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => ':count ×™×ר',
+ 'y' => ':count ×™×ר',
+ 'a_year' => ':count ×™×ר',
+
+ 'month' => ':count חודש',
+ 'm' => ':count חודש',
+ 'a_month' => ':count חודש',
+
+ 'week' => ':count וו×ָך',
+ 'w' => ':count וו×ָך',
+ 'a_week' => ':count וו×ָך',
+
+ 'day' => ':count ט×ָג',
+ 'd' => ':count ט×ָג',
+ 'a_day' => ':count ט×ָג',
+
+ 'hour' => ':count שעה',
+ 'h' => ':count שעה',
+ 'a_hour' => ':count שעה',
+
+ 'minute' => ':count ×ž×™× ×•×˜',
+ 'min' => ':count ×ž×™× ×•×˜',
+ 'a_minute' => ':count ×ž×™× ×•×˜',
+
+ 'second' => ':count ×¡×¢×§×•× ×“×¢',
+ 's' => ':count ×¡×¢×§×•× ×“×¢',
+ 'a_second' => ':count ×¡×¢×§×•× ×“×¢',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yo.php b/vendor/nesbot/carbon/src/Carbon/Lang/yo.php
new file mode 100644
index 0000000..0a82981
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yo.php
@@ -0,0 +1,65 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - François B
+ * - Atolagbe Abisoye
+ */
+return [
+ 'year' => 'á»duÌn :count',
+ 'a_year' => '{1}á»duÌn kan|á»duÌn :count',
+ 'month' => 'osù :count',
+ 'a_month' => '{1}osù kan|osù :count',
+ 'week' => 'á»sẹ :count',
+ 'a_week' => '{1}á»sẹ kan|á»sẹ :count',
+ 'day' => 'á»já»Ì :count',
+ 'a_day' => '{1}á»já»Ì kan|á»já»Ì :count',
+ 'hour' => 'waÌkati :count',
+ 'a_hour' => '{1}waÌkati kan|waÌkati :count',
+ 'minute' => 'iÌ€sẹjuÌ :count',
+ 'a_minute' => '{1}iÌ€sẹjuÌ kan|iÌ€sẹjuÌ :count',
+ 'second' => 'iaayaÌ :count',
+ 'a_second' => '{1}iÌ€sẹjuÌ aayaÌ die|aayaÌ :count',
+ 'ago' => ':time ká»jaÌ',
+ 'from_now' => 'niÌ :time',
+ 'diff_yesterday' => 'AÌ€na',
+ 'diff_yesterday_regexp' => 'AÌ€na(?:\\s+ni)?',
+ 'diff_today' => 'Ònì',
+ 'diff_today_regexp' => 'Ònì(?:\\s+ni)?',
+ 'diff_tomorrow' => 'Ọ̀la',
+ 'diff_tomorrow_regexp' => 'Ọ̀la(?:\\s+ni)?',
+ 'formats' => [
+ 'LT' => 'h:mm A',
+ 'LTS' => 'h:mm:ss A',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY h:mm A',
+ 'LLLL' => 'dddd, D MMMM YYYY h:mm A',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[Ònì ni] LT',
+ 'nextDay' => '[Ọ̀la ni] LT',
+ 'nextWeek' => 'dddd [Ọsẹ̀ toÌn\'bá»] [ni] LT',
+ 'lastDay' => '[AÌ€na ni] LT',
+ 'lastWeek' => 'dddd [Ọsẹ̀ toÌlá»Ì] [ni] LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => 'á»já»Ì :number',
+ 'months' => ['SẹÌrẹÌ', 'EÌ€reÌ€leÌ€', 'Ẹrẹ̀naÌ€', 'IÌ€gbeÌ', 'EÌ€bibi', 'OÌ€kuÌ€du', 'Agẹmo', 'OÌ€guÌn', 'Owewe', 'Ọ̀waÌ€raÌ€', 'BeÌluÌ', 'Ọ̀pẹ̀̀'],
+ 'months_short' => ['SẹÌr', 'EÌ€rl', 'Ẹrn', 'IÌ€gb', 'EÌ€bi', 'OÌ€kuÌ€', 'Agẹ', 'OÌ€guÌ', 'Owe', 'Ọ̀waÌ€', 'BeÌl', 'Ọ̀pẹ̀̀'],
+ 'weekdays' => ['AÌ€iÌ€kuÌ', 'AjeÌ', 'IÌ€sẹÌgun', 'Ọjá»ÌruÌ', 'Ọjá»Ìbá»', 'ẸtiÌ€', 'AÌ€baÌmẹÌta'],
+ 'weekdays_short' => ['AÌ€iÌ€k', 'AjeÌ', 'IÌ€sẹÌ', 'Ọjr', 'Ọjb', 'ẸtiÌ€', 'AÌ€baÌ'],
+ 'weekdays_min' => ['Àì', 'Aj', 'Ìs', 'Ọr', 'Ọb', 'Ẹt', 'Àb'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'meridiem' => ['Àárá»Ì€', 'Ọ̀sán'],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php
new file mode 100644
index 0000000..12b9e81
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return array_replace_recursive(require __DIR__.'/yo.php', [
+ 'meridiem' => ['Àárɔ̀', 'Ɔ̀sán'],
+ 'weekdays' => ['ƆjÉ”Ì Ã€Ã¬kú', 'ƆjÉ”Ì Ajé', 'ƆjÉ”Ì ÃŒsÉ›Ìgun', 'ƆjÉ”Ìrú', 'ƆjÉ”ÌbÉ”', 'ƆjÉ”Ì Ætì', 'ƆjÉ”Ì Ã€bámÉ›Ìta'],
+ 'weekdays_short' => ['Àìkú', 'Ajé', 'ÃŒsÉ›Ìgun', 'ƆjÉ”Ìrú', 'ƆjÉ”ÌbÉ”', 'Ætì', 'ÀbámÉ›Ìta'],
+ 'weekdays_min' => ['Àìkú', 'Ajé', 'ÃŒsÉ›Ìgun', 'ƆjÉ”Ìrú', 'ƆjÉ”ÌbÉ”', 'Ætì', 'ÀbámÉ›Ìta'],
+ 'months' => ['Oshù ShÉ›ÌrÉ›Ì', 'Oshù Èrèlè', 'Oshù Ærɛ̀nà ', 'Oshù ÃŒgbé', 'Oshù ÆÌ€bibi', 'Oshù Ã’kúdu', 'Oshù AgÉ›mÉ”', 'Oshù Ã’gún', 'Oshù Owewe', 'Oshù Ɔ̀wà rà ', 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀'],
+ 'months_short' => ['ShÉ›ÌrÉ›Ì', 'Èrèlè', 'Ærɛ̀nà ', 'ÃŒgbé', 'ÆÌ€bibi', 'Ã’kúdu', 'AgÉ›mÉ”', 'Ã’gún', 'Owewe', 'Ɔ̀wà rà ', 'Bélú', 'Ɔ̀pɛ̀'],
+ 'first_day_of_week' => 1,
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd, D MMMM YYYY HH:mm',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php
new file mode 100644
index 0000000..6860bc1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/yo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yue.php b/vendor/nesbot/carbon/src/Carbon/Lang/yue.php
new file mode 100644
index 0000000..ce233a4
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yue.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/yue_HK.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yue_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/yue_HK.php
new file mode 100644
index 0000000..4e7d5c3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yue_HK.php
@@ -0,0 +1,28 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/zh_HK.php', [
+ 'formats' => [
+ 'L' => 'YYYY年MM月DD日 dddd',
+ ],
+ 'months' => ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+ 'months_short' => ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+ 'weekdays' => ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期å…'],
+ 'weekdays_short' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'first_day_of_week' => 0,
+ 'day_of_first_week_of_year' => 1,
+ 'meridiem' => ['上åˆ', '下åˆ'],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php
new file mode 100644
index 0000000..db913ca
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php
new file mode 100644
index 0000000..e2526f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yuw.php b/vendor/nesbot/carbon/src/Carbon/Lang/yuw.php
new file mode 100644
index 0000000..8efdc93
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yuw.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/yuw_PG.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yuw_PG.php b/vendor/nesbot/carbon/src/Carbon/Lang/yuw_PG.php
new file mode 100644
index 0000000..b99ad2e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yuw_PG.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Information from native speakers Hannah Sarvasy nungon.localization@gmail.com
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YY',
+ ],
+ 'months' => ['jenuari', 'febuari', 'mas', 'epril', 'mei', 'jun', 'julai', 'ögus', 'septemba', 'öktoba', 'nöwemba', 'diksemba'],
+ 'months_short' => ['jen', 'feb', 'mas', 'epr', 'mei', 'jun', 'jul', 'ögu', 'sep', 'ökt', 'nöw', 'dis'],
+ 'weekdays' => ['sönda', 'mönda', 'sinda', 'mitiwö', 'sogipbono', 'nenggo', 'söndanggie'],
+ 'weekdays_short' => ['sön', 'mön', 'sin', 'mit', 'soi', 'nen', 'sab'],
+ 'weekdays_min' => ['sön', 'mön', 'sin', 'mit', 'soi', 'nen', 'sab'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zgh.php b/vendor/nesbot/carbon/src/Carbon/Lang/zgh.php
new file mode 100644
index 0000000..4d2c3b3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zgh.php
@@ -0,0 +1,80 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - BAKTETE Miloud
+ */
+return [
+ 'year' => ':count ⵓⵙⴳⴳⵯⴰⵙ|:count ⵉⵙⴳⴳⵓⵙⴰ',
+ 'a_year' => 'ⵓⵙⴳⴳⵯⴰⵙ|:count ⵉⵙⴳⴳⵓⵙⴰ',
+ 'y' => ':count ⵓⵙⴳⴳⵯⴰⵙ|:count ⵉⵙⴳⴳⵓⵙⴰ',
+ 'month' => ':count ⵡⴰⵢⵢⵓⵔ|:count ⴰⵢⵢⵓⵔâµ',
+ 'a_month' => 'ⵉⴷⵊ ⵡⴰⵢⵢⵓⵔ|:count ⴰⵢⵢⵓⵔâµ',
+ 'm' => ':count ⴰⵢⵢⵓⵔâµ',
+ 'week' => ':count ⵉⵎⴰâµâ´°âµ™âµ™|:count ⵉⵎⴰâµâ´°âµ™âµ™âµ',
+ 'a_week' => 'ⵉⵛⵜ ⵉⵎⴰâµâ´°âµ™âµ™|:count ⵉⵎⴰâµâ´°âµ™âµ™âµ',
+ 'w' => ':count ⵉⵎⴰâµâ´°âµ™âµ™.',
+ 'day' => ':count ⵡⴰⵙⵙ|:count ⵓⵙⵙⴰâµ',
+ 'a_day' => 'ⵉⴷⵊ ⵡⴰⵙⵙ|:count ⵓⵙⵙⴰâµ',
+ 'd' => ':count ⵓ',
+ 'hour' => ':count ⵜⵙⵔⴰⴳⵜ|:count ⵜⵉⵙⵔⴰⴳⵉâµ',
+ 'a_hour' => 'ⵉⵛⵜ ⵜⵙⵔⴰⴳⵜ|:count ⵜⵉⵙⵔⴰⴳⵉâµ',
+ 'h' => ':count ⵜ',
+ 'minute' => ':count ⵜⵓⵙⴷⵉⴷⵜ|:count ⵜⵓⵙⴷⵉⴷⵉâµ',
+ 'a_minute' => 'ⵉⵛⵜ ⵜⵓⵙⴷⵉⴷⵜ|:count ⵜⵓⵙⴷⵉⴷⵉâµ',
+ 'min' => ':count ⵜⵓⵙ',
+ 'second' => ':count ⵜⵙⵉâµâµœ|:count ⵜⵉⵙⵉâµâ´°',
+ 'a_second' => 'ⴽⵔⴰ ⵜⵉⵙⵉâµâ´°|:count ⵜⵉⵙⵉâµâ´°',
+ 's' => ':count ⵜ',
+ 'ago' => 'ⵣⴳ :time',
+ 'from_now' => 'â´·â´³ :time',
+ 'after' => ':time ⴰⵡⴰⵔ',
+ 'before' => ':time ⴷⴰⵜ',
+ 'diff_now' => 'ⴰⴷⵡⴰâµâµ‰',
+ 'diff_today' => 'ⴰⵙⵙ',
+ 'diff_today_regexp' => 'ⴰⵙⵙ(?:\\s+ⴰ/ⴰⴷ)?(?:\\s+ⴳ)?',
+ 'diff_yesterday' => 'ⴰⵙⵙâµâµâ´°âµŸ',
+ 'diff_yesterday_regexp' => 'ⴰⵙⵙâµâµâ´°âµŸ(?:\\s+â´³)?',
+ 'diff_tomorrow' => 'ⴰⵙⴽⴽⴰ',
+ 'diff_tomorrow_regexp' => 'ⴰⵙⴽⴽⴰ(?:\\s+ⴳ)?',
+ 'diff_before_yesterday' => 'ⴼⵔ ⵉⴹâµâµâ´°âµŸ',
+ 'diff_after_tomorrow' => 'âµâ´°â´¼ ⵓⵙⴽⴽⴰ',
+ 'period_recurrences' => ':count ⵜⵉⴽⴽⴰâµ',
+ 'period_interval' => 'ⴽⵓ :interval',
+ 'period_start_date' => 'â´³ :date',
+ 'period_end_date' => 'ⵉ :date',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'DD/MM/YYYY',
+ 'LL' => 'D MMMM YYYY',
+ 'LLL' => 'D MMMM YYYY HH:mm',
+ 'LLLL' => 'dddd D MMMM YYYY HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[ⴰⵙⵙ ⴰ/ⴰⴷ ⴳ] LT',
+ 'nextDay' => '[ⴰⵙⴽⴽⴰ ⴳ] LT',
+ 'nextWeek' => 'dddd [â´³] LT',
+ 'lastDay' => '[ⴰⵙⵙâµâµâ´°âµŸ â´³] LT',
+ 'lastWeek' => 'dddd [ⴰⵎⴳⴳⴰⵔⵓ ⴳ] LT',
+ 'sameElse' => 'L',
+ ],
+ 'meridiem' => ['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'],
+ 'months' => ['ⵉâµâµâ´°âµ¢âµ”', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓâµâµ¢âµ“', 'ⵢⵓâµâµ¢âµ“âµ£', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰâµâ´±âµ‰âµ”', 'ⴽⵟⵓⴱⵕ', 'âµâµ“ⵡⴰâµâ´±âµ‰âµ”', 'ⴷⵓⵊⴰâµâ´±âµ‰âµ”'],
+ 'months_short' => ['ⵉâµâµ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓâµ', 'ⵢⵓâµ', 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵟⵓ', 'âµâµ“ⵡ', 'ⴷⵓⵊ'],
+ 'weekdays' => ['ⵓⵙⴰⵎⴰⵙ', 'ⵡⴰⵢâµâ´°âµ™', 'ⵓⵙⵉâµâ´°âµ™', 'ⵡⴰⴽⵕⴰⵙ', 'ⵓⴽⵡⴰⵙ', 'ⵓⵙⵉⵎⵡⴰⵙ', 'ⵓⵙⵉⴹⵢⴰⵙ'],
+ 'weekdays_short' => ['ⵓⵙⴰ', 'ⵡⴰⵢ', 'ⵓⵙⵉ', 'ⵡⴰⴽ', 'ⵓⴽⵡ', 'ⵓⵙⵉⵎ', 'ⵓⵙⵉⴹ'],
+ 'weekdays_min' => ['ⵓⵙⴰ', 'ⵡⴰⵢ', 'ⵓⵙⵉ', 'ⵡⴰⴽ', 'ⵓⴽⵡ', 'ⵓⵙⵉⵎ', 'ⵓⵙⵉⴹ'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 1,
+ 'list' => [', ', ' â´· '],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh.php
new file mode 100644
index 0000000..1187c3d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh.php
@@ -0,0 +1,29 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - xuri
+ * - sycuato
+ * - bokideckonja
+ * - Luo Ning
+ * - William Yang (williamyang233)
+ */
+return array_merge(require __DIR__.'/zh_Hans.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY/MM/DD',
+ 'LL' => 'YYYY年M月D日',
+ 'LLL' => 'YYYY年M月D日 A h点mm分',
+ 'LLLL' => 'YYYY年M月D日dddd A h点mm分',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_CN.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_CN.php
new file mode 100644
index 0000000..9c05d5a
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_CN.php
@@ -0,0 +1,33 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - monkeycon
+ * - François B
+ * - Jason Katz-Brown
+ * - Serhan Apaydın
+ * - Matt Johnson
+ * - JD Isaacks
+ * - Zeno Zeng
+ * - Chris Hemp
+ * - shankesgk2
+ */
+return array_merge(require __DIR__.'/zh.php', [
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY/MM/DD',
+ 'LL' => 'YYYY年M月D日',
+ 'LLL' => 'YYYY年M月D日Ah点mm分',
+ 'LLLL' => 'YYYY年M月D日ddddAh点mm分',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_HK.php
new file mode 100644
index 0000000..c3ee9fc
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_HK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hant_HK.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans.php
new file mode 100644
index 0000000..9b91785
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans.php
@@ -0,0 +1,109 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - monkeycon
+ * - François B
+ * - Jason Katz-Brown
+ * - Konstantin Konev
+ * - Chris Lam
+ * - Serhan Apaydın
+ * - Gary Lo
+ * - JD Isaacks
+ * - Chris Hemp
+ * - shankesgk2
+ * - Daniel Cheung (danvim)
+ */
+return [
+ 'year' => ':count:optional-spaceå¹´',
+ 'y' => ':count:optional-spaceå¹´',
+ 'month' => ':count:optional-space个月',
+ 'm' => ':count:optional-space个月',
+ 'week' => ':count:optional-space周',
+ 'w' => ':count:optional-space周',
+ 'day' => ':count:optional-space天',
+ 'd' => ':count:optional-space天',
+ 'hour' => ':count:optional-spaceå°æ—¶',
+ 'h' => ':count:optional-spaceå°æ—¶',
+ 'minute' => ':count:optional-space分钟',
+ 'min' => ':count:optional-space分钟',
+ 'second' => ':count:optional-spaceç§’',
+ 'a_second' => '{1}å‡ ç§’|]1,Inf[:count:optional-spaceç§’',
+ 's' => ':count:optional-spaceç§’',
+ 'ago' => ':timeå‰',
+ 'from_now' => ':timeåŽ',
+ 'after' => ':timeåŽ',
+ 'before' => ':timeå‰',
+ 'diff_now' => '现在',
+ 'diff_today' => '今天',
+ 'diff_yesterday' => '昨天',
+ 'diff_tomorrow' => '明天',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY/MM/DD',
+ 'LL' => 'YYYY年M月D日',
+ 'LLL' => 'YYYY年M月D日 HH:mm',
+ 'LLLL' => 'YYYY年M月D日dddd HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[今天]LT',
+ 'nextDay' => '[明天]LT',
+ 'nextWeek' => '[下]ddddLT',
+ 'lastDay' => '[昨天]LT',
+ 'lastWeek' => '[上]ddddLT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'd':
+ case 'D':
+ case 'DDD':
+ return $number.'æ—¥';
+ case 'M':
+ return $number.'月';
+ case 'w':
+ case 'W':
+ return $number.'周';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour, $minute) {
+ $time = $hour * 100 + $minute;
+ if ($time < 600) {
+ return '凌晨';
+ }
+ if ($time < 900) {
+ return '早上';
+ }
+ if ($time < 1130) {
+ return '上åˆ';
+ }
+ if ($time < 1230) {
+ return 'ä¸åˆ';
+ }
+ if ($time < 1800) {
+ return '下åˆ';
+ }
+
+ return '晚上';
+ },
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+ 'weekdays' => ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期å…'],
+ 'weekdays_short' => ['周日', '周一', '周二', '周三', '周四', '周五', '周å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => '',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php
new file mode 100644
index 0000000..db913ca
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php
new file mode 100644
index 0000000..db913ca
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php
new file mode 100644
index 0000000..db913ca
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant.php
new file mode 100644
index 0000000..a27b610
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant.php
@@ -0,0 +1,111 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Adam
+ * - monkeycon
+ * - François B
+ * - Jason Katz-Brown
+ * - Chris Lam
+ * - Serhan Apaydın
+ * - Gary Lo
+ * - JD Isaacks
+ * - Chris Hemp
+ * - Eddie
+ * - KID
+ * - shankesgk2
+ * - Daniel Cheung (danvim)
+ */
+return [
+ 'year' => ':count:optional-spaceå¹´',
+ 'y' => ':count:optional-spaceå¹´',
+ 'month' => ':count:optional-space個月',
+ 'm' => ':count:optional-space月',
+ 'week' => ':count:optional-space週',
+ 'w' => ':count:optional-space週',
+ 'day' => ':count:optional-space天',
+ 'd' => ':count:optional-space天',
+ 'hour' => ':count:optional-spaceå°æ™‚',
+ 'h' => ':count:optional-spaceå°æ™‚',
+ 'minute' => ':count:optional-space分é˜',
+ 'min' => ':count:optional-space分é˜',
+ 'second' => ':count:optional-spaceç§’',
+ 'a_second' => '{1}幾秒|]1,Inf[:count:optional-space秒',
+ 's' => ':count:optional-spaceç§’',
+ 'ago' => ':timeå‰',
+ 'from_now' => ':time後',
+ 'after' => ':time後',
+ 'before' => ':timeå‰',
+ 'diff_now' => 'ç¾åœ¨',
+ 'diff_today' => '今天',
+ 'diff_yesterday' => '昨天',
+ 'diff_tomorrow' => '明天',
+ 'formats' => [
+ 'LT' => 'HH:mm',
+ 'LTS' => 'HH:mm:ss',
+ 'L' => 'YYYY/MM/DD',
+ 'LL' => 'YYYY年M月D日',
+ 'LLL' => 'YYYY年M月D日 HH:mm',
+ 'LLLL' => 'YYYY年M月D日dddd HH:mm',
+ ],
+ 'calendar' => [
+ 'sameDay' => '[今天] LT',
+ 'nextDay' => '[明天] LT',
+ 'nextWeek' => '[下]dddd LT',
+ 'lastDay' => '[昨天] LT',
+ 'lastWeek' => '[上]dddd LT',
+ 'sameElse' => 'L',
+ ],
+ 'ordinal' => function ($number, $period) {
+ switch ($period) {
+ case 'd':
+ case 'D':
+ case 'DDD':
+ return $number.'æ—¥';
+ case 'M':
+ return $number.'月';
+ case 'w':
+ case 'W':
+ return $number.'周';
+ default:
+ return $number;
+ }
+ },
+ 'meridiem' => function ($hour, $minute) {
+ $time = $hour * 100 + $minute;
+ if ($time < 600) {
+ return '凌晨';
+ }
+ if ($time < 900) {
+ return '早上';
+ }
+ if ($time < 1130) {
+ return '上åˆ';
+ }
+ if ($time < 1230) {
+ return 'ä¸åˆ';
+ }
+ if ($time < 1800) {
+ return '下åˆ';
+ }
+
+ return '晚上';
+ },
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+ 'weekdays' => ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期å…'],
+ 'weekdays_short' => ['週日', '週一', '週二', '週三', '週四', '週五', '週å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'first_day_of_week' => 1,
+ 'day_of_first_week_of_year' => 4,
+ 'list' => '',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php
new file mode 100644
index 0000000..e2526f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php
new file mode 100644
index 0000000..e2526f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php
new file mode 100644
index 0000000..e2526f1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_MO.php
new file mode 100644
index 0000000..1c86d47
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_MO.php
@@ -0,0 +1,21 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - tarunvelli
+ * - Eddie
+ * - KID
+ * - shankesgk2
+ */
+return array_replace_recursive(require __DIR__.'/zh_Hant.php', [
+ 'after' => ':timeåŽ',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_SG.php
new file mode 100644
index 0000000..c451a56
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_SG.php
@@ -0,0 +1,26 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/zh.php', [
+ 'formats' => [
+ 'L' => 'YYYY年MM月DD日',
+ ],
+ 'months' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'months_short' => ['一月', '二月', '三月', '四月', '五月', 'å…æœˆ', '七月', '八月', '乿œˆ', 'åæœˆ', 'å一月', 'å二月'],
+ 'weekdays' => ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期å…'],
+ 'weekdays_short' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'weekdays_min' => ['æ—¥', '一', '二', '三', 'å››', '五', 'å…'],
+ 'day_of_first_week_of_year' => 1,
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_TW.php
new file mode 100644
index 0000000..c6789ed
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_TW.php
@@ -0,0 +1,12 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return require __DIR__.'/zh_Hant_TW.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_YUE.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_YUE.php
new file mode 100644
index 0000000..b0d9ba8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_YUE.php
@@ -0,0 +1,20 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
+ */
+return array_replace_recursive(require __DIR__.'/zh.php', [
+ 'formats' => [
+ 'L' => 'YYYY-MM-DD',
+ ],
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zu.php b/vendor/nesbot/carbon/src/Carbon/Lang/zu.php
new file mode 100644
index 0000000..9a6cce0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zu.php
@@ -0,0 +1,15 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Unknown default region, use the first alphabetically.
+ */
+return require __DIR__.'/zu_ZA.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zu_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/zu_ZA.php
new file mode 100644
index 0000000..6bfb72f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zu_ZA.php
@@ -0,0 +1,54 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * Authors:
+ * - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
+ */
+return array_replace_recursive(require __DIR__.'/en.php', [
+ 'formats' => [
+ 'L' => 'DD/MM/YYYY',
+ ],
+ 'months' => ['Januwari', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', 'Septhemba', 'Okthoba', 'Novemba', 'Disemba'],
+ 'months_short' => ['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'],
+ 'weekdays' => ['iSonto', 'uMsombuluko', 'uLwesibili', 'uLwesithathu', 'uLwesine', 'uLwesihlanu', 'uMgqibelo'],
+ 'weekdays_short' => ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'],
+ 'weekdays_min' => ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'],
+ 'day_of_first_week_of_year' => 1,
+
+ 'year' => 'kweminyaka engu-:count',
+ 'y' => 'kweminyaka engu-:count',
+ 'a_year' => 'kweminyaka engu-:count',
+
+ 'month' => 'izinyanga ezingu-:count',
+ 'm' => 'izinyanga ezingu-:count',
+ 'a_month' => 'izinyanga ezingu-:count',
+
+ 'week' => 'lwamasonto angu-:count',
+ 'w' => 'lwamasonto angu-:count',
+ 'a_week' => 'lwamasonto angu-:count',
+
+ 'day' => 'ezingaba ngu-:count',
+ 'd' => 'ezingaba ngu-:count',
+ 'a_day' => 'ezingaba ngu-:count',
+
+ 'hour' => 'amahora angu-:count',
+ 'h' => 'amahora angu-:count',
+ 'a_hour' => 'amahora angu-:count',
+
+ 'minute' => 'ngemizuzu engu-:count',
+ 'min' => 'ngemizuzu engu-:count',
+ 'a_minute' => 'ngemizuzu engu-:count',
+
+ 'second' => 'imizuzwana engu-:count',
+ 's' => 'imizuzwana engu-:count',
+ 'a_second' => 'imizuzwana engu-:count',
+]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Language.php b/vendor/nesbot/carbon/src/Carbon/Language.php
new file mode 100644
index 0000000..1fb5baf
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Language.php
@@ -0,0 +1,342 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use JsonSerializable;
+use ReturnTypeWillChange;
+
+class Language implements JsonSerializable
+{
+ /**
+ * @var array
+ */
+ protected static $languagesNames;
+
+ /**
+ * @var array
+ */
+ protected static $regionsNames;
+
+ /**
+ * @var string
+ */
+ protected $id;
+
+ /**
+ * @var string
+ */
+ protected $code;
+
+ /**
+ * @var string|null
+ */
+ protected $variant;
+
+ /**
+ * @var string|null
+ */
+ protected $region;
+
+ /**
+ * @var array
+ */
+ protected $names;
+
+ /**
+ * @var string
+ */
+ protected $isoName;
+
+ /**
+ * @var string
+ */
+ protected $nativeName;
+
+ public function __construct(string $id)
+ {
+ $this->id = str_replace('-', '_', $id);
+ $parts = explode('_', $this->id);
+ $this->code = $parts[0];
+
+ if (isset($parts[1])) {
+ if (!preg_match('/^[A-Z]+$/', $parts[1])) {
+ $this->variant = $parts[1];
+ $parts[1] = $parts[2] ?? null;
+ }
+ if ($parts[1]) {
+ $this->region = $parts[1];
+ }
+ }
+ }
+
+ /**
+ * Get the list of the known languages.
+ *
+ * @return array
+ */
+ public static function all()
+ {
+ if (!static::$languagesNames) {
+ static::$languagesNames = require __DIR__.'/List/languages.php';
+ }
+
+ return static::$languagesNames;
+ }
+
+ /**
+ * Get the list of the known regions.
+ *
+ * @return array
+ */
+ public static function regions()
+ {
+ if (!static::$regionsNames) {
+ static::$regionsNames = require __DIR__.'/List/regions.php';
+ }
+
+ return static::$regionsNames;
+ }
+
+ /**
+ * Get both isoName and nativeName as an array.
+ *
+ * @return array
+ */
+ public function getNames(): array
+ {
+ if (!$this->names) {
+ $this->names = static::all()[$this->code] ?? [
+ 'isoName' => $this->code,
+ 'nativeName' => $this->code,
+ ];
+ }
+
+ return $this->names;
+ }
+
+ /**
+ * Returns the original locale ID.
+ *
+ * @return string
+ */
+ public function getId(): string
+ {
+ return $this->id;
+ }
+
+ /**
+ * Returns the code of the locale "en"/"fr".
+ *
+ * @return string
+ */
+ public function getCode(): string
+ {
+ return $this->code;
+ }
+
+ /**
+ * Returns the variant code such as cyrl/latn.
+ *
+ * @return string|null
+ */
+ public function getVariant(): ?string
+ {
+ return $this->variant;
+ }
+
+ /**
+ * Returns the variant such as Cyrillic/Latin.
+ *
+ * @return string|null
+ */
+ public function getVariantName(): ?string
+ {
+ if ($this->variant === 'Latn') {
+ return 'Latin';
+ }
+
+ if ($this->variant === 'Cyrl') {
+ return 'Cyrillic';
+ }
+
+ return $this->variant;
+ }
+
+ /**
+ * Returns the region part of the locale.
+ *
+ * @return string|null
+ */
+ public function getRegion(): ?string
+ {
+ return $this->region;
+ }
+
+ /**
+ * Returns the region name for the current language.
+ *
+ * @return string|null
+ */
+ public function getRegionName(): ?string
+ {
+ return $this->region ? (static::regions()[$this->region] ?? $this->region) : null;
+ }
+
+ /**
+ * Returns the long ISO language name.
+ *
+ * @return string
+ */
+ public function getFullIsoName(): string
+ {
+ if (!$this->isoName) {
+ $this->isoName = $this->getNames()['isoName'];
+ }
+
+ return $this->isoName;
+ }
+
+ /**
+ * Set the ISO language name.
+ *
+ * @param string $isoName
+ */
+ public function setIsoName(string $isoName): self
+ {
+ $this->isoName = $isoName;
+
+ return $this;
+ }
+
+ /**
+ * Return the full name of the language in this language.
+ *
+ * @return string
+ */
+ public function getFullNativeName(): string
+ {
+ if (!$this->nativeName) {
+ $this->nativeName = $this->getNames()['nativeName'];
+ }
+
+ return $this->nativeName;
+ }
+
+ /**
+ * Set the name of the language in this language.
+ *
+ * @param string $nativeName
+ */
+ public function setNativeName(string $nativeName): self
+ {
+ $this->nativeName = $nativeName;
+
+ return $this;
+ }
+
+ /**
+ * Returns the short ISO language name.
+ *
+ * @return string
+ */
+ public function getIsoName(): string
+ {
+ $name = $this->getFullIsoName();
+
+ return trim(strstr($name, ',', true) ?: $name);
+ }
+
+ /**
+ * Get the short name of the language in this language.
+ *
+ * @return string
+ */
+ public function getNativeName(): string
+ {
+ $name = $this->getFullNativeName();
+
+ return trim(strstr($name, ',', true) ?: $name);
+ }
+
+ /**
+ * Get a string with short ISO name, region in parentheses if applicable, variant in parentheses if applicable.
+ *
+ * @return string
+ */
+ public function getIsoDescription()
+ {
+ $region = $this->getRegionName();
+ $variant = $this->getVariantName();
+
+ return $this->getIsoName().($region ? ' ('.$region.')' : '').($variant ? ' ('.$variant.')' : '');
+ }
+
+ /**
+ * Get a string with short native name, region in parentheses if applicable, variant in parentheses if applicable.
+ *
+ * @return string
+ */
+ public function getNativeDescription()
+ {
+ $region = $this->getRegionName();
+ $variant = $this->getVariantName();
+
+ return $this->getNativeName().($region ? ' ('.$region.')' : '').($variant ? ' ('.$variant.')' : '');
+ }
+
+ /**
+ * Get a string with long ISO name, region in parentheses if applicable, variant in parentheses if applicable.
+ *
+ * @return string
+ */
+ public function getFullIsoDescription()
+ {
+ $region = $this->getRegionName();
+ $variant = $this->getVariantName();
+
+ return $this->getFullIsoName().($region ? ' ('.$region.')' : '').($variant ? ' ('.$variant.')' : '');
+ }
+
+ /**
+ * Get a string with long native name, region in parentheses if applicable, variant in parentheses if applicable.
+ *
+ * @return string
+ */
+ public function getFullNativeDescription()
+ {
+ $region = $this->getRegionName();
+ $variant = $this->getVariantName();
+
+ return $this->getFullNativeName().($region ? ' ('.$region.')' : '').($variant ? ' ('.$variant.')' : '');
+ }
+
+ /**
+ * Returns the original locale ID.
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->getId();
+ }
+
+ /**
+ * Get a string with short ISO name, region in parentheses if applicable, variant in parentheses if applicable.
+ *
+ * @return string
+ */
+ #[ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ return $this->getIsoDescription();
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php b/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php
new file mode 100644
index 0000000..84e241e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php
@@ -0,0 +1,127 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Laravel;
+
+use Carbon\Carbon;
+use Carbon\CarbonImmutable;
+use Carbon\CarbonInterval;
+use Carbon\CarbonPeriod;
+use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
+use Illuminate\Events\Dispatcher;
+use Illuminate\Events\EventDispatcher;
+use Illuminate\Support\Carbon as IlluminateCarbon;
+use Illuminate\Support\Facades\Date;
+use Throwable;
+
+class ServiceProvider extends \Illuminate\Support\ServiceProvider
+{
+ /** @var callable|null */
+ protected $appGetter = null;
+
+ /** @var callable|null */
+ protected $localeGetter = null;
+
+ public function setAppGetter(?callable $appGetter): void
+ {
+ $this->appGetter = $appGetter;
+ }
+
+ public function setLocaleGetter(?callable $localeGetter): void
+ {
+ $this->localeGetter = $localeGetter;
+ }
+
+ public function boot()
+ {
+ $this->updateLocale();
+
+ if (!$this->app->bound('events')) {
+ return;
+ }
+
+ $service = $this;
+ $events = $this->app['events'];
+
+ if ($this->isEventDispatcher($events)) {
+ $events->listen(class_exists('Illuminate\Foundation\Events\LocaleUpdated') ? 'Illuminate\Foundation\Events\LocaleUpdated' : 'locale.changed', function () use ($service) {
+ $service->updateLocale();
+ });
+ }
+ }
+
+ public function updateLocale()
+ {
+ $locale = $this->getLocale();
+
+ if ($locale === null) {
+ return;
+ }
+
+ Carbon::setLocale($locale);
+ CarbonImmutable::setLocale($locale);
+ CarbonPeriod::setLocale($locale);
+ CarbonInterval::setLocale($locale);
+
+ if (class_exists(IlluminateCarbon::class)) {
+ IlluminateCarbon::setLocale($locale);
+ }
+
+ if (class_exists(Date::class)) {
+ try {
+ $root = Date::getFacadeRoot();
+ $root->setLocale($locale);
+ } catch (Throwable $e) {
+ // Non Carbon class in use in Date facade
+ }
+ }
+ }
+
+ public function register()
+ {
+ // Needed for Laravel < 5.3 compatibility
+ }
+
+ protected function getLocale()
+ {
+ if ($this->localeGetter) {
+ return ($this->localeGetter)();
+ }
+
+ $app = $this->getApp();
+ $app = $app && method_exists($app, 'getLocale')
+ ? $app
+ : $this->getGlobalApp('translator');
+
+ return $app ? $app->getLocale() : null;
+ }
+
+ protected function getApp()
+ {
+ if ($this->appGetter) {
+ return ($this->appGetter)();
+ }
+
+ return $this->app ?? $this->getGlobalApp();
+ }
+
+ protected function getGlobalApp(...$args)
+ {
+ return \function_exists('app') ? \app(...$args) : null;
+ }
+
+ protected function isEventDispatcher($instance)
+ {
+ return $instance instanceof EventDispatcher
+ || $instance instanceof Dispatcher
+ || $instance instanceof DispatcherContract;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/List/languages.php b/vendor/nesbot/carbon/src/Carbon/List/languages.php
new file mode 100644
index 0000000..5b5d9a1
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/List/languages.php
@@ -0,0 +1,1239 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+return [
+ /*
+ * ISO 639-2
+ */
+ 'ab' => [
+ 'isoName' => 'Abkhazian',
+ 'nativeName' => 'аҧÑуа бызшәа, аҧÑшәа',
+ ],
+ 'aa' => [
+ 'isoName' => 'Afar',
+ 'nativeName' => 'Afaraf',
+ ],
+ 'af' => [
+ 'isoName' => 'Afrikaans',
+ 'nativeName' => 'Afrikaans',
+ ],
+ 'ak' => [
+ 'isoName' => 'Akan',
+ 'nativeName' => 'Akan',
+ ],
+ 'sq' => [
+ 'isoName' => 'Albanian',
+ 'nativeName' => 'Shqip',
+ ],
+ 'am' => [
+ 'isoName' => 'Amharic',
+ 'nativeName' => 'አማáˆáŠ›',
+ ],
+ 'ar' => [
+ 'isoName' => 'Arabic',
+ 'nativeName' => 'العربية',
+ ],
+ 'an' => [
+ 'isoName' => 'Aragonese',
+ 'nativeName' => 'aragonés',
+ ],
+ 'hy' => [
+ 'isoName' => 'Armenian',
+ 'nativeName' => 'Õ€Õ¡ÕµÕ¥Ö€Õ¥Õ¶',
+ ],
+ 'as' => [
+ 'isoName' => 'Assamese',
+ 'nativeName' => 'অসমীয়া',
+ ],
+ 'av' => [
+ 'isoName' => 'Avaric',
+ 'nativeName' => 'авар мацӀ, магӀарул мацӀ',
+ ],
+ 'ae' => [
+ 'isoName' => 'Avestan',
+ 'nativeName' => 'avesta',
+ ],
+ 'ay' => [
+ 'isoName' => 'Aymara',
+ 'nativeName' => 'aymar aru',
+ ],
+ 'az' => [
+ 'isoName' => 'Azerbaijani',
+ 'nativeName' => 'azərbaycan dili',
+ ],
+ 'bm' => [
+ 'isoName' => 'Bambara',
+ 'nativeName' => 'bamanankan',
+ ],
+ 'ba' => [
+ 'isoName' => 'Bashkir',
+ 'nativeName' => 'башҡорт теле',
+ ],
+ 'eu' => [
+ 'isoName' => 'Basque',
+ 'nativeName' => 'euskara, euskera',
+ ],
+ 'be' => [
+ 'isoName' => 'Belarusian',
+ 'nativeName' => 'беларуÑÐºÐ°Ñ Ð¼Ð¾Ð²Ð°',
+ ],
+ 'bn' => [
+ 'isoName' => 'Bengali',
+ 'nativeName' => 'বাংলা',
+ ],
+ 'bh' => [
+ 'isoName' => 'Bihari languages',
+ 'nativeName' => 'à¤à¥‹à¤œà¤ªà¥à¤°à¥€',
+ ],
+ 'bi' => [
+ 'isoName' => 'Bislama',
+ 'nativeName' => 'Bislama',
+ ],
+ 'bs' => [
+ 'isoName' => 'Bosnian',
+ 'nativeName' => 'bosanski jezik',
+ ],
+ 'br' => [
+ 'isoName' => 'Breton',
+ 'nativeName' => 'brezhoneg',
+ ],
+ 'bg' => [
+ 'isoName' => 'Bulgarian',
+ 'nativeName' => 'българÑки език',
+ ],
+ 'my' => [
+ 'isoName' => 'Burmese',
+ 'nativeName' => 'ဗမာစာ',
+ ],
+ 'ca' => [
+ 'isoName' => 'Catalan, Valencian',
+ 'nativeName' => 'català , valencià ',
+ ],
+ 'ch' => [
+ 'isoName' => 'Chamorro',
+ 'nativeName' => 'Chamoru',
+ ],
+ 'ce' => [
+ 'isoName' => 'Chechen',
+ 'nativeName' => 'нохчийн мотт',
+ ],
+ 'ny' => [
+ 'isoName' => 'Chichewa, Chewa, Nyanja',
+ 'nativeName' => 'chiCheŵa, chinyanja',
+ ],
+ 'zh' => [
+ 'isoName' => 'Chinese',
+ 'nativeName' => '䏿–‡Â (ZhÅngwén), 汉è¯, 漢語',
+ ],
+ 'cv' => [
+ 'isoName' => 'Chuvash',
+ 'nativeName' => 'чӑваш чӗлхи',
+ ],
+ 'kw' => [
+ 'isoName' => 'Cornish',
+ 'nativeName' => 'Kernewek',
+ ],
+ 'co' => [
+ 'isoName' => 'Corsican',
+ 'nativeName' => 'corsu, lingua corsa',
+ ],
+ 'cr' => [
+ 'isoName' => 'Cree',
+ 'nativeName' => 'á“€á¦áƒá”ááá£',
+ ],
+ 'hr' => [
+ 'isoName' => 'Croatian',
+ 'nativeName' => 'hrvatski jezik',
+ ],
+ 'cs' => [
+ 'isoName' => 'Czech',
+ 'nativeName' => 'ÄeÅ¡tina, Äeský jazyk',
+ ],
+ 'da' => [
+ 'isoName' => 'Danish',
+ 'nativeName' => 'dansk',
+ ],
+ 'dv' => [
+ 'isoName' => 'Divehi, Dhivehi, Maldivian',
+ 'nativeName' => 'Þ‹Þ¨ÞˆÞ¬Þ€Þ¨',
+ ],
+ 'nl' => [
+ 'isoName' => 'Dutch, Flemish',
+ 'nativeName' => 'Nederlands, Vlaams',
+ ],
+ 'dz' => [
+ 'isoName' => 'Dzongkha',
+ 'nativeName' => 'རྫོང་à½',
+ ],
+ 'en' => [
+ 'isoName' => 'English',
+ 'nativeName' => 'English',
+ ],
+ 'eo' => [
+ 'isoName' => 'Esperanto',
+ 'nativeName' => 'Esperanto',
+ ],
+ 'et' => [
+ 'isoName' => 'Estonian',
+ 'nativeName' => 'eesti, eesti keel',
+ ],
+ 'ee' => [
+ 'isoName' => 'Ewe',
+ 'nativeName' => 'Eʋegbe',
+ ],
+ 'fo' => [
+ 'isoName' => 'Faroese',
+ 'nativeName' => 'føroyskt',
+ ],
+ 'fj' => [
+ 'isoName' => 'Fijian',
+ 'nativeName' => 'vosa Vakaviti',
+ ],
+ 'fi' => [
+ 'isoName' => 'Finnish',
+ 'nativeName' => 'suomi, suomen kieli',
+ ],
+ 'fr' => [
+ 'isoName' => 'French',
+ 'nativeName' => 'français',
+ ],
+ 'ff' => [
+ 'isoName' => 'Fulah',
+ 'nativeName' => 'Fulfulde, Pulaar, Pular',
+ ],
+ 'gl' => [
+ 'isoName' => 'Galician',
+ 'nativeName' => 'Galego',
+ ],
+ 'ka' => [
+ 'isoName' => 'Georgian',
+ 'nativeName' => 'ქáƒáƒ თული',
+ ],
+ 'de' => [
+ 'isoName' => 'German',
+ 'nativeName' => 'Deutsch',
+ ],
+ 'el' => [
+ 'isoName' => 'Greek (modern)',
+ 'nativeName' => 'ελληνικά',
+ ],
+ 'gn' => [
+ 'isoName' => 'GuaranÃ',
+ 'nativeName' => 'Avañe\'ẽ',
+ ],
+ 'gu' => [
+ 'isoName' => 'Gujarati',
+ 'nativeName' => 'ગà«àªœàª°àª¾àª¤à«€',
+ ],
+ 'ht' => [
+ 'isoName' => 'Haitian, Haitian Creole',
+ 'nativeName' => 'Kreyòl ayisyen',
+ ],
+ 'ha' => [
+ 'isoName' => 'Hausa',
+ 'nativeName' => '(Hausa) Ù‡ÙŽÙˆÙØ³ÙŽ',
+ ],
+ 'he' => [
+ 'isoName' => 'Hebrew (modern)',
+ 'nativeName' => 'עברית',
+ ],
+ 'hz' => [
+ 'isoName' => 'Herero',
+ 'nativeName' => 'Otjiherero',
+ ],
+ 'hi' => [
+ 'isoName' => 'Hindi',
+ 'nativeName' => 'हिनà¥à¤¦à¥€, हिंदी',
+ ],
+ 'ho' => [
+ 'isoName' => 'Hiri Motu',
+ 'nativeName' => 'Hiri Motu',
+ ],
+ 'hu' => [
+ 'isoName' => 'Hungarian',
+ 'nativeName' => 'magyar',
+ ],
+ 'ia' => [
+ 'isoName' => 'Interlingua',
+ 'nativeName' => 'Interlingua',
+ ],
+ 'id' => [
+ 'isoName' => 'Indonesian',
+ 'nativeName' => 'Bahasa Indonesia',
+ ],
+ 'ie' => [
+ 'isoName' => 'Interlingue',
+ 'nativeName' => 'Originally called Occidental; then Interlingue after WWII',
+ ],
+ 'ga' => [
+ 'isoName' => 'Irish',
+ 'nativeName' => 'Gaeilge',
+ ],
+ 'ig' => [
+ 'isoName' => 'Igbo',
+ 'nativeName' => 'Asụsụ Igbo',
+ ],
+ 'ik' => [
+ 'isoName' => 'Inupiaq',
+ 'nativeName' => 'Iñupiaq, Iñupiatun',
+ ],
+ 'io' => [
+ 'isoName' => 'Ido',
+ 'nativeName' => 'Ido',
+ ],
+ 'is' => [
+ 'isoName' => 'Icelandic',
+ 'nativeName' => 'Ãslenska',
+ ],
+ 'it' => [
+ 'isoName' => 'Italian',
+ 'nativeName' => 'Italiano',
+ ],
+ 'iu' => [
+ 'isoName' => 'Inuktitut',
+ 'nativeName' => 'áƒá“„ᒃᑎá‘ᑦ',
+ ],
+ 'ja' => [
+ 'isoName' => 'Japanese',
+ 'nativeName' => '日本語 (ã«ã»ã‚“ã”)',
+ ],
+ 'jv' => [
+ 'isoName' => 'Javanese',
+ 'nativeName' => 'ꦧꦱꦗꦮ, Basa Jawa',
+ ],
+ 'kl' => [
+ 'isoName' => 'Kalaallisut, Greenlandic',
+ 'nativeName' => 'kalaallisut, kalaallit oqaasii',
+ ],
+ 'kn' => [
+ 'isoName' => 'Kannada',
+ 'nativeName' => 'ಕನà³à²¨à²¡',
+ ],
+ 'kr' => [
+ 'isoName' => 'Kanuri',
+ 'nativeName' => 'Kanuri',
+ ],
+ 'ks' => [
+ 'isoName' => 'Kashmiri',
+ 'nativeName' => 'कशà¥à¤®à¥€à¤°à¥€, كشميري‎',
+ ],
+ 'kk' => [
+ 'isoName' => 'Kazakh',
+ 'nativeName' => 'қазақ тілі',
+ ],
+ 'km' => [
+ 'isoName' => 'Central Khmer',
+ 'nativeName' => 'ážáŸ’មែរ, ážáŸáž˜ážšáž—ាសា, ភាសាážáŸ’មែរ',
+ ],
+ 'ki' => [
+ 'isoName' => 'Kikuyu, Gikuyu',
+ 'nativeName' => 'Gĩkũyũ',
+ ],
+ 'rw' => [
+ 'isoName' => 'Kinyarwanda',
+ 'nativeName' => 'Ikinyarwanda',
+ ],
+ 'ky' => [
+ 'isoName' => 'Kirghiz, Kyrgyz',
+ 'nativeName' => 'Кыргызча, Кыргыз тили',
+ ],
+ 'kv' => [
+ 'isoName' => 'Komi',
+ 'nativeName' => 'коми кыв',
+ ],
+ 'kg' => [
+ 'isoName' => 'Kongo',
+ 'nativeName' => 'Kikongo',
+ ],
+ 'ko' => [
+ 'isoName' => 'Korean',
+ 'nativeName' => '한êµì–´',
+ ],
+ 'ku' => [
+ 'isoName' => 'Kurdish',
+ 'nativeName' => 'Kurdî, کوردی‎',
+ ],
+ 'kj' => [
+ 'isoName' => 'Kuanyama, Kwanyama',
+ 'nativeName' => 'Kuanyama',
+ ],
+ 'la' => [
+ 'isoName' => 'Latin',
+ 'nativeName' => 'latine, lingua latina',
+ ],
+ 'lb' => [
+ 'isoName' => 'Luxembourgish, Letzeburgesch',
+ 'nativeName' => 'Lëtzebuergesch',
+ ],
+ 'lg' => [
+ 'isoName' => 'Ganda',
+ 'nativeName' => 'Luganda',
+ ],
+ 'li' => [
+ 'isoName' => 'Limburgan, Limburger, Limburgish',
+ 'nativeName' => 'Limburgs',
+ ],
+ 'ln' => [
+ 'isoName' => 'Lingala',
+ 'nativeName' => 'Lingála',
+ ],
+ 'lo' => [
+ 'isoName' => 'Lao',
+ 'nativeName' => 'ພາສາລາວ',
+ ],
+ 'lt' => [
+ 'isoName' => 'Lithuanian',
+ 'nativeName' => 'lietuvių kalba',
+ ],
+ 'lu' => [
+ 'isoName' => 'Luba-Katanga',
+ 'nativeName' => 'Kiluba',
+ ],
+ 'lv' => [
+ 'isoName' => 'Latvian',
+ 'nativeName' => 'latviešu valoda',
+ ],
+ 'gv' => [
+ 'isoName' => 'Manx',
+ 'nativeName' => 'Gaelg, Gailck',
+ ],
+ 'mk' => [
+ 'isoName' => 'Macedonian',
+ 'nativeName' => 'македонÑки јазик',
+ ],
+ 'mg' => [
+ 'isoName' => 'Malagasy',
+ 'nativeName' => 'fiteny malagasy',
+ ],
+ 'ms' => [
+ 'isoName' => 'Malay',
+ 'nativeName' => 'Bahasa Melayu, بهاس ملايو‎',
+ ],
+ 'ml' => [
+ 'isoName' => 'Malayalam',
+ 'nativeName' => 'മലയാളം',
+ ],
+ 'mt' => [
+ 'isoName' => 'Maltese',
+ 'nativeName' => 'Malti',
+ ],
+ 'mi' => [
+ 'isoName' => 'Maori',
+ 'nativeName' => 'te reo MÄori',
+ ],
+ 'mr' => [
+ 'isoName' => 'Marathi',
+ 'nativeName' => 'मराठी',
+ ],
+ 'mh' => [
+ 'isoName' => 'Marshallese',
+ 'nativeName' => 'Kajin M̧ajeļ',
+ ],
+ 'mn' => [
+ 'isoName' => 'Mongolian',
+ 'nativeName' => 'Монгол Ñ…Ñл',
+ ],
+ 'na' => [
+ 'isoName' => 'Nauru',
+ 'nativeName' => 'Dorerin Naoero',
+ ],
+ 'nv' => [
+ 'isoName' => 'Navajo, Navaho',
+ 'nativeName' => 'Diné bizaad',
+ ],
+ 'nd' => [
+ 'isoName' => 'North Ndebele',
+ 'nativeName' => 'isiNdebele',
+ ],
+ 'ne' => [
+ 'isoName' => 'Nepali',
+ 'nativeName' => 'नेपाली',
+ ],
+ 'ng' => [
+ 'isoName' => 'Ndonga',
+ 'nativeName' => 'Owambo',
+ ],
+ 'nb' => [
+ 'isoName' => 'Norwegian Bokmål',
+ 'nativeName' => 'Norsk Bokmål',
+ ],
+ 'nn' => [
+ 'isoName' => 'Norwegian Nynorsk',
+ 'nativeName' => 'Norsk Nynorsk',
+ ],
+ 'no' => [
+ 'isoName' => 'Norwegian',
+ 'nativeName' => 'Norsk',
+ ],
+ 'ii' => [
+ 'isoName' => 'Sichuan Yi, Nuosu',
+ 'nativeName' => 'ê†ˆêŒ ê’¿ Nuosuhxop',
+ ],
+ 'nr' => [
+ 'isoName' => 'South Ndebele',
+ 'nativeName' => 'isiNdebele',
+ ],
+ 'oc' => [
+ 'isoName' => 'Occitan',
+ 'nativeName' => 'occitan, lenga d\'òc',
+ ],
+ 'oj' => [
+ 'isoName' => 'Ojibwa',
+ 'nativeName' => 'áŠá“‚ᔑᓈá¯á’§áŽá“',
+ ],
+ 'cu' => [
+ 'isoName' => 'Church Slavic, Church Slavonic, Old Church Slavonic, Old Slavonic, Old Bulgarian',
+ 'nativeName' => 'ѩзыкъ ÑловѣньÑкъ',
+ ],
+ 'om' => [
+ 'isoName' => 'Oromo',
+ 'nativeName' => 'Afaan Oromoo',
+ ],
+ 'or' => [
+ 'isoName' => 'Oriya',
+ 'nativeName' => 'ଓଡ଼ିଆ',
+ ],
+ 'os' => [
+ 'isoName' => 'Ossetian, Ossetic',
+ 'nativeName' => 'ирон æвзаг',
+ ],
+ 'pa' => [
+ 'isoName' => 'Panjabi, Punjabi',
+ 'nativeName' => 'ਪੰਜਾਬੀ',
+ ],
+ 'pi' => [
+ 'isoName' => 'Pali',
+ 'nativeName' => 'पाऴि',
+ ],
+ 'fa' => [
+ 'isoName' => 'Persian',
+ 'nativeName' => 'ÙØ§Ø±Ø³ÛŒ',
+ ],
+ 'pl' => [
+ 'isoName' => 'Polish',
+ 'nativeName' => 'język polski, polszczyzna',
+ ],
+ 'ps' => [
+ 'isoName' => 'Pashto, Pushto',
+ 'nativeName' => 'پښتو',
+ ],
+ 'pt' => [
+ 'isoName' => 'Portuguese',
+ 'nativeName' => 'Português',
+ ],
+ 'qu' => [
+ 'isoName' => 'Quechua',
+ 'nativeName' => 'Runa Simi, Kichwa',
+ ],
+ 'rm' => [
+ 'isoName' => 'Romansh',
+ 'nativeName' => 'Rumantsch Grischun',
+ ],
+ 'rn' => [
+ 'isoName' => 'Rundi',
+ 'nativeName' => 'Ikirundi',
+ ],
+ 'ro' => [
+ 'isoName' => 'Romanian, Moldavian, Moldovan',
+ 'nativeName' => 'Română',
+ ],
+ 'ru' => [
+ 'isoName' => 'Russian',
+ 'nativeName' => 'руÑÑкий',
+ ],
+ 'sa' => [
+ 'isoName' => 'Sanskrit',
+ 'nativeName' => 'संसà¥à¤•ृतमà¥',
+ ],
+ 'sc' => [
+ 'isoName' => 'Sardinian',
+ 'nativeName' => 'sardu',
+ ],
+ 'sd' => [
+ 'isoName' => 'Sindhi',
+ 'nativeName' => 'सिनà¥à¤§à¥€, سنڌي، سندھی‎',
+ ],
+ 'se' => [
+ 'isoName' => 'Northern Sami',
+ 'nativeName' => 'Davvisámegiella',
+ ],
+ 'sm' => [
+ 'isoName' => 'Samoan',
+ 'nativeName' => 'gagana fa\'a Samoa',
+ ],
+ 'sg' => [
+ 'isoName' => 'Sango',
+ 'nativeName' => 'yângâ tî sängö',
+ ],
+ 'sr' => [
+ 'isoName' => 'Serbian',
+ 'nativeName' => 'ÑрпÑки језик',
+ ],
+ 'gd' => [
+ 'isoName' => 'Gaelic, Scottish Gaelic',
+ 'nativeName' => 'GÃ idhlig',
+ ],
+ 'sn' => [
+ 'isoName' => 'Shona',
+ 'nativeName' => 'chiShona',
+ ],
+ 'si' => [
+ 'isoName' => 'Sinhala, Sinhalese',
+ 'nativeName' => 'සිංහල',
+ ],
+ 'sk' => [
+ 'isoName' => 'Slovak',
+ 'nativeName' => 'SlovenÄina, Slovenský Jazyk',
+ ],
+ 'sl' => [
+ 'isoName' => 'Slovene',
+ 'nativeName' => 'Slovenski Jezik, SlovenÅ¡Äina',
+ ],
+ 'so' => [
+ 'isoName' => 'Somali',
+ 'nativeName' => 'Soomaaliga, af Soomaali',
+ ],
+ 'st' => [
+ 'isoName' => 'Southern Sotho',
+ 'nativeName' => 'Sesotho',
+ ],
+ 'es' => [
+ 'isoName' => 'Spanish, Castilian',
+ 'nativeName' => 'Español',
+ ],
+ 'su' => [
+ 'isoName' => 'Sundanese',
+ 'nativeName' => 'Basa Sunda',
+ ],
+ 'sw' => [
+ 'isoName' => 'Swahili',
+ 'nativeName' => 'Kiswahili',
+ ],
+ 'ss' => [
+ 'isoName' => 'Swati',
+ 'nativeName' => 'SiSwati',
+ ],
+ 'sv' => [
+ 'isoName' => 'Swedish',
+ 'nativeName' => 'Svenska',
+ ],
+ 'ta' => [
+ 'isoName' => 'Tamil',
+ 'nativeName' => 'தமிழà¯',
+ ],
+ 'te' => [
+ 'isoName' => 'Telugu',
+ 'nativeName' => 'తెలà±à°—à±',
+ ],
+ 'tg' => [
+ 'isoName' => 'Tajik',
+ 'nativeName' => 'тоҷикӣ, toçikī, تاجیکی‎',
+ ],
+ 'th' => [
+ 'isoName' => 'Thai',
+ 'nativeName' => 'ไทย',
+ ],
+ 'ti' => [
+ 'isoName' => 'Tigrinya',
+ 'nativeName' => 'ትáŒáˆáŠ›',
+ ],
+ 'bo' => [
+ 'isoName' => 'Tibetan',
+ 'nativeName' => 'བོད་ཡིག',
+ ],
+ 'tk' => [
+ 'isoName' => 'Turkmen',
+ 'nativeName' => 'Türkmen, Түркмен',
+ ],
+ 'tl' => [
+ 'isoName' => 'Tagalog',
+ 'nativeName' => 'Wikang Tagalog',
+ ],
+ 'tn' => [
+ 'isoName' => 'Tswana',
+ 'nativeName' => 'Setswana',
+ ],
+ 'to' => [
+ 'isoName' => 'Tongan (Tonga Islands)',
+ 'nativeName' => 'Faka Tonga',
+ ],
+ 'tr' => [
+ 'isoName' => 'Turkish',
+ 'nativeName' => 'Türkçe',
+ ],
+ 'ts' => [
+ 'isoName' => 'Tsonga',
+ 'nativeName' => 'Xitsonga',
+ ],
+ 'tt' => [
+ 'isoName' => 'Tatar',
+ 'nativeName' => 'татар теле, tatar tele',
+ ],
+ 'tw' => [
+ 'isoName' => 'Twi',
+ 'nativeName' => 'Twi',
+ ],
+ 'ty' => [
+ 'isoName' => 'Tahitian',
+ 'nativeName' => 'Reo Tahiti',
+ ],
+ 'ug' => [
+ 'isoName' => 'Uighur, Uyghur',
+ 'nativeName' => 'Uyƣurqə, ‫ئۇيغۇرچ',
+ ],
+ 'uk' => [
+ 'isoName' => 'Ukrainian',
+ 'nativeName' => 'УкраїнÑька',
+ ],
+ 'ur' => [
+ 'isoName' => 'Urdu',
+ 'nativeName' => 'اردو',
+ ],
+ 'uz' => [
+ 'isoName' => 'Uzbek',
+ 'nativeName' => 'OÊ»zbek, Ўзбек, أۇزبÛك‎',
+ ],
+ 've' => [
+ 'isoName' => 'Venda',
+ 'nativeName' => 'Tshivenḓa',
+ ],
+ 'vi' => [
+ 'isoName' => 'Vietnamese',
+ 'nativeName' => 'Tiếng Việt',
+ ],
+ 'vo' => [
+ 'isoName' => 'Volapük',
+ 'nativeName' => 'Volapük',
+ ],
+ 'wa' => [
+ 'isoName' => 'Walloon',
+ 'nativeName' => 'Walon',
+ ],
+ 'cy' => [
+ 'isoName' => 'Welsh',
+ 'nativeName' => 'Cymraeg',
+ ],
+ 'wo' => [
+ 'isoName' => 'Wolof',
+ 'nativeName' => 'Wollof',
+ ],
+ 'fy' => [
+ 'isoName' => 'Western Frisian',
+ 'nativeName' => 'Frysk',
+ ],
+ 'xh' => [
+ 'isoName' => 'Xhosa',
+ 'nativeName' => 'isiXhosa',
+ ],
+ 'yi' => [
+ 'isoName' => 'Yiddish',
+ 'nativeName' => 'ייִדיש',
+ ],
+ 'yo' => [
+ 'isoName' => 'Yoruba',
+ 'nativeName' => 'Yorùbá',
+ ],
+ 'za' => [
+ 'isoName' => 'Zhuang, Chuang',
+ 'nativeName' => 'Saɯ cueŋƅ, Saw cuengh',
+ ],
+ 'zu' => [
+ 'isoName' => 'Zulu',
+ 'nativeName' => 'isiZulu',
+ ],
+ /*
+ * Add ISO 639-3 languages available in Carbon
+ */
+ 'agq' => [
+ 'isoName' => 'Aghem',
+ 'nativeName' => 'Aghem',
+ ],
+ 'agr' => [
+ 'isoName' => 'Aguaruna',
+ 'nativeName' => 'Aguaruna',
+ ],
+ 'anp' => [
+ 'isoName' => 'Angika',
+ 'nativeName' => 'Angika',
+ ],
+ 'asa' => [
+ 'isoName' => 'Asu',
+ 'nativeName' => 'Asu',
+ ],
+ 'ast' => [
+ 'isoName' => 'Asturian',
+ 'nativeName' => 'Asturian',
+ ],
+ 'ayc' => [
+ 'isoName' => 'Southern Aymara',
+ 'nativeName' => 'Southern Aymara',
+ ],
+ 'bas' => [
+ 'isoName' => 'Basaa',
+ 'nativeName' => 'Basaa',
+ ],
+ 'bem' => [
+ 'isoName' => 'Bemba',
+ 'nativeName' => 'Bemba',
+ ],
+ 'bez' => [
+ 'isoName' => 'Bena',
+ 'nativeName' => 'Bena',
+ ],
+ 'bhb' => [
+ 'isoName' => 'Bhili',
+ 'nativeName' => 'Bhili',
+ ],
+ 'bho' => [
+ 'isoName' => 'Bhojpuri',
+ 'nativeName' => 'Bhojpuri',
+ ],
+ 'brx' => [
+ 'isoName' => 'Bodo',
+ 'nativeName' => 'Bodo',
+ ],
+ 'byn' => [
+ 'isoName' => 'Bilin',
+ 'nativeName' => 'Bilin',
+ ],
+ 'ccp' => [
+ 'isoName' => 'Chakma',
+ 'nativeName' => 'Chakma',
+ ],
+ 'cgg' => [
+ 'isoName' => 'Chiga',
+ 'nativeName' => 'Chiga',
+ ],
+ 'chr' => [
+ 'isoName' => 'Cherokee',
+ 'nativeName' => 'Cherokee',
+ ],
+ 'cmn' => [
+ 'isoName' => 'Chinese',
+ 'nativeName' => 'Chinese',
+ ],
+ 'crh' => [
+ 'isoName' => 'Crimean Turkish',
+ 'nativeName' => 'Crimean Turkish',
+ ],
+ 'csb' => [
+ 'isoName' => 'Kashubian',
+ 'nativeName' => 'Kashubian',
+ ],
+ 'dav' => [
+ 'isoName' => 'Taita',
+ 'nativeName' => 'Taita',
+ ],
+ 'dje' => [
+ 'isoName' => 'Zarma',
+ 'nativeName' => 'Zarma',
+ ],
+ 'doi' => [
+ 'isoName' => 'Dogri (macrolanguage)',
+ 'nativeName' => 'Dogri (macrolanguage)',
+ ],
+ 'dsb' => [
+ 'isoName' => 'Lower Sorbian',
+ 'nativeName' => 'Lower Sorbian',
+ ],
+ 'dua' => [
+ 'isoName' => 'Duala',
+ 'nativeName' => 'Duala',
+ ],
+ 'dyo' => [
+ 'isoName' => 'Jola-Fonyi',
+ 'nativeName' => 'Jola-Fonyi',
+ ],
+ 'ebu' => [
+ 'isoName' => 'Embu',
+ 'nativeName' => 'Embu',
+ ],
+ 'ewo' => [
+ 'isoName' => 'Ewondo',
+ 'nativeName' => 'Ewondo',
+ ],
+ 'fil' => [
+ 'isoName' => 'Filipino',
+ 'nativeName' => 'Filipino',
+ ],
+ 'fur' => [
+ 'isoName' => 'Friulian',
+ 'nativeName' => 'Friulian',
+ ],
+ 'gez' => [
+ 'isoName' => 'Geez',
+ 'nativeName' => 'Geez',
+ ],
+ 'gom' => [
+ 'isoName' => 'Konkani, Goan',
+ 'nativeName' => 'ಕೊಂಕಣಿ',
+ ],
+ 'gsw' => [
+ 'isoName' => 'Swiss German',
+ 'nativeName' => 'Swiss German',
+ ],
+ 'guz' => [
+ 'isoName' => 'Gusii',
+ 'nativeName' => 'Gusii',
+ ],
+ 'hak' => [
+ 'isoName' => 'Hakka Chinese',
+ 'nativeName' => 'Hakka Chinese',
+ ],
+ 'haw' => [
+ 'isoName' => 'Hawaiian',
+ 'nativeName' => 'Hawaiian',
+ ],
+ 'hif' => [
+ 'isoName' => 'Fiji Hindi',
+ 'nativeName' => 'Fiji Hindi',
+ ],
+ 'hne' => [
+ 'isoName' => 'Chhattisgarhi',
+ 'nativeName' => 'Chhattisgarhi',
+ ],
+ 'hsb' => [
+ 'isoName' => 'Upper Sorbian',
+ 'nativeName' => 'Upper Sorbian',
+ ],
+ 'jgo' => [
+ 'isoName' => 'Ngomba',
+ 'nativeName' => 'Ngomba',
+ ],
+ 'jmc' => [
+ 'isoName' => 'Machame',
+ 'nativeName' => 'Machame',
+ ],
+ 'kab' => [
+ 'isoName' => 'Kabyle',
+ 'nativeName' => 'Kabyle',
+ ],
+ 'kam' => [
+ 'isoName' => 'Kamba',
+ 'nativeName' => 'Kamba',
+ ],
+ 'kde' => [
+ 'isoName' => 'Makonde',
+ 'nativeName' => 'Makonde',
+ ],
+ 'kea' => [
+ 'isoName' => 'Kabuverdianu',
+ 'nativeName' => 'Kabuverdianu',
+ ],
+ 'khq' => [
+ 'isoName' => 'Koyra Chiini',
+ 'nativeName' => 'Koyra Chiini',
+ ],
+ 'kkj' => [
+ 'isoName' => 'Kako',
+ 'nativeName' => 'Kako',
+ ],
+ 'kln' => [
+ 'isoName' => 'Kalenjin',
+ 'nativeName' => 'Kalenjin',
+ ],
+ 'kok' => [
+ 'isoName' => 'Konkani',
+ 'nativeName' => 'Konkani',
+ ],
+ 'ksb' => [
+ 'isoName' => 'Shambala',
+ 'nativeName' => 'Shambala',
+ ],
+ 'ksf' => [
+ 'isoName' => 'Bafia',
+ 'nativeName' => 'Bafia',
+ ],
+ 'ksh' => [
+ 'isoName' => 'Colognian',
+ 'nativeName' => 'Colognian',
+ ],
+ 'lag' => [
+ 'isoName' => 'Langi',
+ 'nativeName' => 'Langi',
+ ],
+ 'lij' => [
+ 'isoName' => 'Ligurian',
+ 'nativeName' => 'Ligurian',
+ ],
+ 'lkt' => [
+ 'isoName' => 'Lakota',
+ 'nativeName' => 'Lakota',
+ ],
+ 'lrc' => [
+ 'isoName' => 'Northern Luri',
+ 'nativeName' => 'Northern Luri',
+ ],
+ 'luo' => [
+ 'isoName' => 'Luo',
+ 'nativeName' => 'Luo',
+ ],
+ 'luy' => [
+ 'isoName' => 'Luyia',
+ 'nativeName' => 'Luyia',
+ ],
+ 'lzh' => [
+ 'isoName' => 'Literary Chinese',
+ 'nativeName' => 'Literary Chinese',
+ ],
+ 'mag' => [
+ 'isoName' => 'Magahi',
+ 'nativeName' => 'Magahi',
+ ],
+ 'mai' => [
+ 'isoName' => 'Maithili',
+ 'nativeName' => 'Maithili',
+ ],
+ 'mas' => [
+ 'isoName' => 'Masai',
+ 'nativeName' => 'Masai',
+ ],
+ 'mer' => [
+ 'isoName' => 'Meru',
+ 'nativeName' => 'Meru',
+ ],
+ 'mfe' => [
+ 'isoName' => 'Morisyen',
+ 'nativeName' => 'Morisyen',
+ ],
+ 'mgh' => [
+ 'isoName' => 'Makhuwa-Meetto',
+ 'nativeName' => 'Makhuwa-Meetto',
+ ],
+ 'mgo' => [
+ 'isoName' => 'Metaʼ',
+ 'nativeName' => 'Metaʼ',
+ ],
+ 'mhr' => [
+ 'isoName' => 'Eastern Mari',
+ 'nativeName' => 'Eastern Mari',
+ ],
+ 'miq' => [
+ 'isoName' => 'MÃskito',
+ 'nativeName' => 'MÃskito',
+ ],
+ 'mjw' => [
+ 'isoName' => 'Karbi',
+ 'nativeName' => 'Karbi',
+ ],
+ 'mni' => [
+ 'isoName' => 'Manipuri',
+ 'nativeName' => 'Manipuri',
+ ],
+ 'mua' => [
+ 'isoName' => 'Mundang',
+ 'nativeName' => 'Mundang',
+ ],
+ 'mzn' => [
+ 'isoName' => 'Mazanderani',
+ 'nativeName' => 'Mazanderani',
+ ],
+ 'nan' => [
+ 'isoName' => 'Min Nan Chinese',
+ 'nativeName' => 'Min Nan Chinese',
+ ],
+ 'naq' => [
+ 'isoName' => 'Nama',
+ 'nativeName' => 'Nama',
+ ],
+ 'nds' => [
+ 'isoName' => 'Low German',
+ 'nativeName' => 'Low German',
+ ],
+ 'nhn' => [
+ 'isoName' => 'Central Nahuatl',
+ 'nativeName' => 'Central Nahuatl',
+ ],
+ 'niu' => [
+ 'isoName' => 'Niuean',
+ 'nativeName' => 'Niuean',
+ ],
+ 'nmg' => [
+ 'isoName' => 'Kwasio',
+ 'nativeName' => 'Kwasio',
+ ],
+ 'nnh' => [
+ 'isoName' => 'Ngiemboon',
+ 'nativeName' => 'Ngiemboon',
+ ],
+ 'nso' => [
+ 'isoName' => 'Northern Sotho',
+ 'nativeName' => 'Northern Sotho',
+ ],
+ 'nus' => [
+ 'isoName' => 'Nuer',
+ 'nativeName' => 'Nuer',
+ ],
+ 'nyn' => [
+ 'isoName' => 'Nyankole',
+ 'nativeName' => 'Nyankole',
+ ],
+ 'pap' => [
+ 'isoName' => 'Papiamento',
+ 'nativeName' => 'Papiamento',
+ ],
+ 'prg' => [
+ 'isoName' => 'Prussian',
+ 'nativeName' => 'Prussian',
+ ],
+ 'quz' => [
+ 'isoName' => 'Cusco Quechua',
+ 'nativeName' => 'Cusco Quechua',
+ ],
+ 'raj' => [
+ 'isoName' => 'Rajasthani',
+ 'nativeName' => 'Rajasthani',
+ ],
+ 'rof' => [
+ 'isoName' => 'Rombo',
+ 'nativeName' => 'Rombo',
+ ],
+ 'rwk' => [
+ 'isoName' => 'Rwa',
+ 'nativeName' => 'Rwa',
+ ],
+ 'sah' => [
+ 'isoName' => 'Sakha',
+ 'nativeName' => 'Sakha',
+ ],
+ 'saq' => [
+ 'isoName' => 'Samburu',
+ 'nativeName' => 'Samburu',
+ ],
+ 'sat' => [
+ 'isoName' => 'Santali',
+ 'nativeName' => 'Santali',
+ ],
+ 'sbp' => [
+ 'isoName' => 'Sangu',
+ 'nativeName' => 'Sangu',
+ ],
+ 'scr' => [
+ 'isoName' => 'Serbo Croatian',
+ 'nativeName' => 'Serbo Croatian',
+ ],
+ 'seh' => [
+ 'isoName' => 'Sena',
+ 'nativeName' => 'Sena',
+ ],
+ 'ses' => [
+ 'isoName' => 'Koyraboro Senni',
+ 'nativeName' => 'Koyraboro Senni',
+ ],
+ 'sgs' => [
+ 'isoName' => 'Samogitian',
+ 'nativeName' => 'Samogitian',
+ ],
+ 'shi' => [
+ 'isoName' => 'Tachelhit',
+ 'nativeName' => 'Tachelhit',
+ ],
+ 'shn' => [
+ 'isoName' => 'Shan',
+ 'nativeName' => 'Shan',
+ ],
+ 'shs' => [
+ 'isoName' => 'Shuswap',
+ 'nativeName' => 'Shuswap',
+ ],
+ 'sid' => [
+ 'isoName' => 'Sidamo',
+ 'nativeName' => 'Sidamo',
+ ],
+ 'smn' => [
+ 'isoName' => 'Inari Sami',
+ 'nativeName' => 'Inari Sami',
+ ],
+ 'szl' => [
+ 'isoName' => 'Silesian',
+ 'nativeName' => 'Silesian',
+ ],
+ 'tcy' => [
+ 'isoName' => 'Tulu',
+ 'nativeName' => 'Tulu',
+ ],
+ 'teo' => [
+ 'isoName' => 'Teso',
+ 'nativeName' => 'Teso',
+ ],
+ 'tet' => [
+ 'isoName' => 'Tetum',
+ 'nativeName' => 'Tetum',
+ ],
+ 'the' => [
+ 'isoName' => 'Chitwania Tharu',
+ 'nativeName' => 'Chitwania Tharu',
+ ],
+ 'tig' => [
+ 'isoName' => 'Tigre',
+ 'nativeName' => 'Tigre',
+ ],
+ 'tlh' => [
+ 'isoName' => 'Klingon',
+ 'nativeName' => 'tlhIngan Hol',
+ ],
+ 'tpi' => [
+ 'isoName' => 'Tok Pisin',
+ 'nativeName' => 'Tok Pisin',
+ ],
+ 'twq' => [
+ 'isoName' => 'Tasawaq',
+ 'nativeName' => 'Tasawaq',
+ ],
+ 'tzl' => [
+ 'isoName' => 'Talossan',
+ 'nativeName' => 'Talossan',
+ ],
+ 'tzm' => [
+ 'isoName' => 'Tamazight, Central Atlas',
+ 'nativeName' => 'ⵜⵎⴰⵣⵉⵖⵜ',
+ ],
+ 'unm' => [
+ 'isoName' => 'Unami',
+ 'nativeName' => 'Unami',
+ ],
+ 'vai' => [
+ 'isoName' => 'Vai',
+ 'nativeName' => 'Vai',
+ ],
+ 'vun' => [
+ 'isoName' => 'Vunjo',
+ 'nativeName' => 'Vunjo',
+ ],
+ 'wae' => [
+ 'isoName' => 'Walser',
+ 'nativeName' => 'Walser',
+ ],
+ 'wal' => [
+ 'isoName' => 'Wolaytta',
+ 'nativeName' => 'Wolaytta',
+ ],
+ 'xog' => [
+ 'isoName' => 'Soga',
+ 'nativeName' => 'Soga',
+ ],
+ 'yav' => [
+ 'isoName' => 'Yangben',
+ 'nativeName' => 'Yangben',
+ ],
+ 'yue' => [
+ 'isoName' => 'Cantonese',
+ 'nativeName' => 'Cantonese',
+ ],
+ 'yuw' => [
+ 'isoName' => 'Yau (Morobe Province)',
+ 'nativeName' => 'Yau (Morobe Province)',
+ ],
+ 'zgh' => [
+ 'isoName' => 'Standard Moroccan Tamazight',
+ 'nativeName' => 'Standard Moroccan Tamazight',
+ ],
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/List/regions.php b/vendor/nesbot/carbon/src/Carbon/List/regions.php
new file mode 100644
index 0000000..8ab8a9e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/List/regions.php
@@ -0,0 +1,265 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/*
+ * ISO 3166-2
+ */
+return [
+ 'AD' => 'Andorra',
+ 'AE' => 'United Arab Emirates',
+ 'AF' => 'Afghanistan',
+ 'AG' => 'Antigua and Barbuda',
+ 'AI' => 'Anguilla',
+ 'AL' => 'Albania',
+ 'AM' => 'Armenia',
+ 'AO' => 'Angola',
+ 'AQ' => 'Antarctica',
+ 'AR' => 'Argentina',
+ 'AS' => 'American Samoa',
+ 'AT' => 'Austria',
+ 'AU' => 'Australia',
+ 'AW' => 'Aruba',
+ 'AX' => 'Ã…land Islands',
+ 'AZ' => 'Azerbaijan',
+ 'BA' => 'Bosnia and Herzegovina',
+ 'BB' => 'Barbados',
+ 'BD' => 'Bangladesh',
+ 'BE' => 'Belgium',
+ 'BF' => 'Burkina Faso',
+ 'BG' => 'Bulgaria',
+ 'BH' => 'Bahrain',
+ 'BI' => 'Burundi',
+ 'BJ' => 'Benin',
+ 'BL' => 'Saint Barthélemy',
+ 'BM' => 'Bermuda',
+ 'BN' => 'Brunei Darussalam',
+ 'BO' => 'Bolivia (Plurinational State of)',
+ 'BQ' => 'Bonaire, Sint Eustatius and Saba',
+ 'BR' => 'Brazil',
+ 'BS' => 'Bahamas',
+ 'BT' => 'Bhutan',
+ 'BV' => 'Bouvet Island',
+ 'BW' => 'Botswana',
+ 'BY' => 'Belarus',
+ 'BZ' => 'Belize',
+ 'CA' => 'Canada',
+ 'CC' => 'Cocos (Keeling) Islands',
+ 'CD' => 'Congo, Democratic Republic of the',
+ 'CF' => 'Central African Republic',
+ 'CG' => 'Congo',
+ 'CH' => 'Switzerland',
+ 'CI' => 'Côte d\'Ivoire',
+ 'CK' => 'Cook Islands',
+ 'CL' => 'Chile',
+ 'CM' => 'Cameroon',
+ 'CN' => 'China',
+ 'CO' => 'Colombia',
+ 'CR' => 'Costa Rica',
+ 'CU' => 'Cuba',
+ 'CV' => 'Cabo Verde',
+ 'CW' => 'Curaçao',
+ 'CX' => 'Christmas Island',
+ 'CY' => 'Cyprus',
+ 'CZ' => 'Czechia',
+ 'DE' => 'Germany',
+ 'DJ' => 'Djibouti',
+ 'DK' => 'Denmark',
+ 'DM' => 'Dominica',
+ 'DO' => 'Dominican Republic',
+ 'DZ' => 'Algeria',
+ 'EC' => 'Ecuador',
+ 'EE' => 'Estonia',
+ 'EG' => 'Egypt',
+ 'EH' => 'Western Sahara',
+ 'ER' => 'Eritrea',
+ 'ES' => 'Spain',
+ 'ET' => 'Ethiopia',
+ 'FI' => 'Finland',
+ 'FJ' => 'Fiji',
+ 'FK' => 'Falkland Islands (Malvinas)',
+ 'FM' => 'Micronesia (Federated States of)',
+ 'FO' => 'Faroe Islands',
+ 'FR' => 'France',
+ 'GA' => 'Gabon',
+ 'GB' => 'United Kingdom of Great Britain and Northern Ireland',
+ 'GD' => 'Grenada',
+ 'GE' => 'Georgia',
+ 'GF' => 'French Guiana',
+ 'GG' => 'Guernsey',
+ 'GH' => 'Ghana',
+ 'GI' => 'Gibraltar',
+ 'GL' => 'Greenland',
+ 'GM' => 'Gambia',
+ 'GN' => 'Guinea',
+ 'GP' => 'Guadeloupe',
+ 'GQ' => 'Equatorial Guinea',
+ 'GR' => 'Greece',
+ 'GS' => 'South Georgia and the South Sandwich Islands',
+ 'GT' => 'Guatemala',
+ 'GU' => 'Guam',
+ 'GW' => 'Guinea-Bissau',
+ 'GY' => 'Guyana',
+ 'HK' => 'Hong Kong',
+ 'HM' => 'Heard Island and McDonald Islands',
+ 'HN' => 'Honduras',
+ 'HR' => 'Croatia',
+ 'HT' => 'Haiti',
+ 'HU' => 'Hungary',
+ 'ID' => 'Indonesia',
+ 'IE' => 'Ireland',
+ 'IL' => 'Israel',
+ 'IM' => 'Isle of Man',
+ 'IN' => 'India',
+ 'IO' => 'British Indian Ocean Territory',
+ 'IQ' => 'Iraq',
+ 'IR' => 'Iran (Islamic Republic of)',
+ 'IS' => 'Iceland',
+ 'IT' => 'Italy',
+ 'JE' => 'Jersey',
+ 'JM' => 'Jamaica',
+ 'JO' => 'Jordan',
+ 'JP' => 'Japan',
+ 'KE' => 'Kenya',
+ 'KG' => 'Kyrgyzstan',
+ 'KH' => 'Cambodia',
+ 'KI' => 'Kiribati',
+ 'KM' => 'Comoros',
+ 'KN' => 'Saint Kitts and Nevis',
+ 'KP' => 'Korea (Democratic People\'s Republic of)',
+ 'KR' => 'Korea, Republic of',
+ 'KW' => 'Kuwait',
+ 'KY' => 'Cayman Islands',
+ 'KZ' => 'Kazakhstan',
+ 'LA' => 'Lao People\'s Democratic Republic',
+ 'LB' => 'Lebanon',
+ 'LC' => 'Saint Lucia',
+ 'LI' => 'Liechtenstein',
+ 'LK' => 'Sri Lanka',
+ 'LR' => 'Liberia',
+ 'LS' => 'Lesotho',
+ 'LT' => 'Lithuania',
+ 'LU' => 'Luxembourg',
+ 'LV' => 'Latvia',
+ 'LY' => 'Libya',
+ 'MA' => 'Morocco',
+ 'MC' => 'Monaco',
+ 'MD' => 'Moldova, Republic of',
+ 'ME' => 'Montenegro',
+ 'MF' => 'Saint Martin (French part)',
+ 'MG' => 'Madagascar',
+ 'MH' => 'Marshall Islands',
+ 'MK' => 'Macedonia, the former Yugoslav Republic of',
+ 'ML' => 'Mali',
+ 'MM' => 'Myanmar',
+ 'MN' => 'Mongolia',
+ 'MO' => 'Macao',
+ 'MP' => 'Northern Mariana Islands',
+ 'MQ' => 'Martinique',
+ 'MR' => 'Mauritania',
+ 'MS' => 'Montserrat',
+ 'MT' => 'Malta',
+ 'MU' => 'Mauritius',
+ 'MV' => 'Maldives',
+ 'MW' => 'Malawi',
+ 'MX' => 'Mexico',
+ 'MY' => 'Malaysia',
+ 'MZ' => 'Mozambique',
+ 'NA' => 'Namibia',
+ 'NC' => 'New Caledonia',
+ 'NE' => 'Niger',
+ 'NF' => 'Norfolk Island',
+ 'NG' => 'Nigeria',
+ 'NI' => 'Nicaragua',
+ 'NL' => 'Netherlands',
+ 'NO' => 'Norway',
+ 'NP' => 'Nepal',
+ 'NR' => 'Nauru',
+ 'NU' => 'Niue',
+ 'NZ' => 'New Zealand',
+ 'OM' => 'Oman',
+ 'PA' => 'Panama',
+ 'PE' => 'Peru',
+ 'PF' => 'French Polynesia',
+ 'PG' => 'Papua New Guinea',
+ 'PH' => 'Philippines',
+ 'PK' => 'Pakistan',
+ 'PL' => 'Poland',
+ 'PM' => 'Saint Pierre and Miquelon',
+ 'PN' => 'Pitcairn',
+ 'PR' => 'Puerto Rico',
+ 'PS' => 'Palestine, State of',
+ 'PT' => 'Portugal',
+ 'PW' => 'Palau',
+ 'PY' => 'Paraguay',
+ 'QA' => 'Qatar',
+ 'RE' => 'Réunion',
+ 'RO' => 'Romania',
+ 'RS' => 'Serbia',
+ 'RU' => 'Russian Federation',
+ 'RW' => 'Rwanda',
+ 'SA' => 'Saudi Arabia',
+ 'SB' => 'Solomon Islands',
+ 'SC' => 'Seychelles',
+ 'SD' => 'Sudan',
+ 'SE' => 'Sweden',
+ 'SG' => 'Singapore',
+ 'SH' => 'Saint Helena, Ascension and Tristan da Cunha',
+ 'SI' => 'Slovenia',
+ 'SJ' => 'Svalbard and Jan Mayen',
+ 'SK' => 'Slovakia',
+ 'SL' => 'Sierra Leone',
+ 'SM' => 'San Marino',
+ 'SN' => 'Senegal',
+ 'SO' => 'Somalia',
+ 'SR' => 'Suriname',
+ 'SS' => 'South Sudan',
+ 'ST' => 'Sao Tome and Principe',
+ 'SV' => 'El Salvador',
+ 'SX' => 'Sint Maarten (Dutch part)',
+ 'SY' => 'Syrian Arab Republic',
+ 'SZ' => 'Eswatini',
+ 'TC' => 'Turks and Caicos Islands',
+ 'TD' => 'Chad',
+ 'TF' => 'French Southern Territories',
+ 'TG' => 'Togo',
+ 'TH' => 'Thailand',
+ 'TJ' => 'Tajikistan',
+ 'TK' => 'Tokelau',
+ 'TL' => 'Timor-Leste',
+ 'TM' => 'Turkmenistan',
+ 'TN' => 'Tunisia',
+ 'TO' => 'Tonga',
+ 'TR' => 'Turkey',
+ 'TT' => 'Trinidad and Tobago',
+ 'TV' => 'Tuvalu',
+ 'TW' => 'Taiwan, Province of China',
+ 'TZ' => 'Tanzania, United Republic of',
+ 'UA' => 'Ukraine',
+ 'UG' => 'Uganda',
+ 'UM' => 'United States Minor Outlying Islands',
+ 'US' => 'United States of America',
+ 'UY' => 'Uruguay',
+ 'UZ' => 'Uzbekistan',
+ 'VA' => 'Holy See',
+ 'VC' => 'Saint Vincent and the Grenadines',
+ 'VE' => 'Venezuela (Bolivarian Republic of)',
+ 'VG' => 'Virgin Islands (British)',
+ 'VI' => 'Virgin Islands (U.S.)',
+ 'VN' => 'Viet Nam',
+ 'VU' => 'Vanuatu',
+ 'WF' => 'Wallis and Futuna',
+ 'WS' => 'Samoa',
+ 'YE' => 'Yemen',
+ 'YT' => 'Mayotte',
+ 'ZA' => 'South Africa',
+ 'ZM' => 'Zambia',
+ 'ZW' => 'Zimbabwe',
+];
diff --git a/vendor/nesbot/carbon/src/Carbon/MessageFormatter/MessageFormatterMapper.php b/vendor/nesbot/carbon/src/Carbon/MessageFormatter/MessageFormatterMapper.php
new file mode 100644
index 0000000..c054808
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/MessageFormatter/MessageFormatterMapper.php
@@ -0,0 +1,44 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\MessageFormatter;
+
+use ReflectionMethod;
+use Symfony\Component\Translation\Formatter\MessageFormatter;
+use Symfony\Component\Translation\Formatter\MessageFormatterInterface;
+
+// @codeCoverageIgnoreStart
+$transMethod = new ReflectionMethod(MessageFormatterInterface::class, 'format');
+
+require $transMethod->getParameters()[0]->hasType()
+ ? __DIR__.'/../../../lazy/Carbon/MessageFormatter/MessageFormatterMapperStrongType.php'
+ : __DIR__.'/../../../lazy/Carbon/MessageFormatter/MessageFormatterMapperWeakType.php';
+// @codeCoverageIgnoreEnd
+
+final class MessageFormatterMapper extends LazyMessageFormatter
+{
+ /**
+ * Wrapped formatter.
+ *
+ * @var MessageFormatterInterface
+ */
+ protected $formatter;
+
+ public function __construct(?MessageFormatterInterface $formatter = null)
+ {
+ $this->formatter = $formatter ?? new MessageFormatter();
+ }
+
+ protected function transformLocale(?string $locale): ?string
+ {
+ return $locale ? preg_replace('/[_@][A-Za-z][a-z]{2,}/', '', $locale) : $locale;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/AbstractMacro.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/AbstractMacro.php
new file mode 100644
index 0000000..5123d1e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/AbstractMacro.php
@@ -0,0 +1,288 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+use Closure;
+use InvalidArgumentException;
+use PHPStan\BetterReflection\Reflection\Adapter\ReflectionParameter as AdapterReflectionParameter;
+use PHPStan\BetterReflection\Reflection\Adapter\ReflectionType as AdapterReflectionType;
+use PHPStan\BetterReflection\Reflection\ReflectionClass as BetterReflectionClass;
+use PHPStan\BetterReflection\Reflection\ReflectionFunction as BetterReflectionFunction;
+use PHPStan\BetterReflection\Reflection\ReflectionParameter as BetterReflectionParameter;
+use PHPStan\Reflection\Php\BuiltinMethodReflection;
+use PHPStan\TrinaryLogic;
+use ReflectionClass;
+use ReflectionFunction;
+use ReflectionMethod;
+use ReflectionParameter;
+use ReflectionType;
+use stdClass;
+use Throwable;
+
+abstract class AbstractMacro implements BuiltinMethodReflection
+{
+ /**
+ * The reflection function/method.
+ *
+ * @var ReflectionFunction|ReflectionMethod
+ */
+ protected $reflectionFunction;
+
+ /**
+ * The class name.
+ *
+ * @var class-string
+ */
+ private $className;
+
+ /**
+ * The method name.
+ *
+ * @var string
+ */
+ private $methodName;
+
+ /**
+ * The parameters.
+ *
+ * @var ReflectionParameter[]
+ */
+ private $parameters;
+
+ /**
+ * The is static.
+ *
+ * @var bool
+ */
+ private $static = false;
+
+ /**
+ * Macro constructor.
+ *
+ * @param string $className
+ * @phpstan-param class-string $className
+ *
+ * @param string $methodName
+ * @param callable $macro
+ */
+ public function __construct(string $className, string $methodName, $macro)
+ {
+ $this->className = $className;
+ $this->methodName = $methodName;
+ $rawReflectionFunction = \is_array($macro)
+ ? new ReflectionMethod($macro[0], $macro[1])
+ : new ReflectionFunction($macro);
+ $this->reflectionFunction = self::hasModernParser()
+ ? $this->getReflectionFunction($macro)
+ : $rawReflectionFunction; // @codeCoverageIgnore
+ $this->parameters = array_map(
+ function ($parameter) {
+ if ($parameter instanceof BetterReflectionParameter) {
+ return new AdapterReflectionParameter($parameter);
+ }
+
+ return $parameter; // @codeCoverageIgnore
+ },
+ $this->reflectionFunction->getParameters()
+ );
+
+ if ($rawReflectionFunction->isClosure()) {
+ try {
+ $closure = $rawReflectionFunction->getClosure();
+ $boundClosure = Closure::bind($closure, new stdClass());
+ $this->static = (!$boundClosure || (new ReflectionFunction($boundClosure))->getClosureThis() === null);
+ } catch (Throwable $e) {
+ $this->static = true;
+ }
+ }
+ }
+
+ private function getReflectionFunction($spec)
+ {
+ if (\is_array($spec) && \count($spec) === 2 && \is_string($spec[1])) {
+ \assert($spec[1] !== '');
+
+ if (\is_object($spec[0])) {
+ return BetterReflectionClass::createFromInstance($spec[0])
+ ->getMethod($spec[1]);
+ }
+
+ return BetterReflectionClass::createFromName($spec[0])
+ ->getMethod($spec[1]);
+ }
+
+ if (\is_string($spec)) {
+ return BetterReflectionFunction::createFromName($spec);
+ }
+
+ if ($spec instanceof Closure) {
+ return BetterReflectionFunction::createFromClosure($spec);
+ }
+
+ throw new InvalidArgumentException('Could not create reflection from the spec given'); // @codeCoverageIgnore
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getDeclaringClass(): ReflectionClass
+ {
+ return new ReflectionClass($this->className);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isPrivate(): bool
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isPublic(): bool
+ {
+ return true;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isFinal(): bool
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isInternal(): bool
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isAbstract(): bool
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isStatic(): bool
+ {
+ return $this->static;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getDocComment(): ?string
+ {
+ return $this->reflectionFunction->getDocComment() ?: null;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getName(): string
+ {
+ return $this->methodName;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getParameters(): array
+ {
+ return $this->parameters;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getReturnType(): ?ReflectionType
+ {
+ $type = $this->reflectionFunction->getReturnType();
+
+ if ($type instanceof ReflectionType) {
+ return $type; // @codeCoverageIgnore
+ }
+
+ return self::adaptType($type);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isDeprecated(): TrinaryLogic
+ {
+ return TrinaryLogic::createFromBoolean(
+ $this->reflectionFunction->isDeprecated() ||
+ preg_match('/@deprecated/i', $this->getDocComment() ?: '')
+ );
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function isVariadic(): bool
+ {
+ return $this->reflectionFunction->isVariadic();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getPrototype(): BuiltinMethodReflection
+ {
+ return $this;
+ }
+
+ public function getTentativeReturnType(): ?ReflectionType
+ {
+ return null;
+ }
+
+ public function returnsByReference(): TrinaryLogic
+ {
+ return TrinaryLogic::createNo();
+ }
+
+ private static function adaptType($type)
+ {
+ $method = method_exists(AdapterReflectionType::class, 'fromTypeOrNull')
+ ? 'fromTypeOrNull'
+ : 'fromReturnTypeOrNull'; // @codeCoverageIgnore
+
+ return AdapterReflectionType::$method($type);
+ }
+
+ private static function hasModernParser(): bool
+ {
+ static $modernParser = null;
+
+ if ($modernParser !== null) {
+ return $modernParser;
+ }
+
+ $modernParser = method_exists(AdapterReflectionType::class, 'fromTypeOrNull');
+
+ return $modernParser;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php
new file mode 100644
index 0000000..de3e51f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php
@@ -0,0 +1,34 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+use PHPStan\BetterReflection\Reflection\Adapter;
+use PHPStan\Reflection\Php\BuiltinMethodReflection;
+use ReflectionMethod;
+
+$method = new ReflectionMethod(BuiltinMethodReflection::class, 'getReflection');
+
+require $method->hasReturnType() && $method->getReturnType()->getName() === Adapter\ReflectionMethod::class
+ ? __DIR__.'/../../../lazy/Carbon/PHPStan/AbstractMacroStatic.php'
+ : __DIR__.'/../../../lazy/Carbon/PHPStan/AbstractMacroBuiltin.php';
+
+$method = new ReflectionMethod(BuiltinMethodReflection::class, 'getFileName');
+
+require $method->hasReturnType()
+ ? __DIR__.'/../../../lazy/Carbon/PHPStan/MacroStrongType.php'
+ : __DIR__.'/../../../lazy/Carbon/PHPStan/MacroWeakType.php';
+
+final class Macro extends LazyMacro
+{
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
new file mode 100644
index 0000000..2cd6fce
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
@@ -0,0 +1,88 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+use PHPStan\Reflection\Assertions;
+use PHPStan\Reflection\ClassReflection;
+use PHPStan\Reflection\MethodReflection;
+use PHPStan\Reflection\MethodsClassReflectionExtension;
+use PHPStan\Reflection\Php\PhpMethodReflectionFactory;
+use PHPStan\Reflection\ReflectionProvider;
+use PHPStan\Type\TypehintHelper;
+
+/**
+ * Class MacroExtension.
+ *
+ * @codeCoverageIgnore Pure PHPStan wrapper.
+ */
+final class MacroExtension implements MethodsClassReflectionExtension
+{
+ /**
+ * @var PhpMethodReflectionFactory
+ */
+ protected $methodReflectionFactory;
+
+ /**
+ * @var MacroScanner
+ */
+ protected $scanner;
+
+ /**
+ * Extension constructor.
+ *
+ * @param PhpMethodReflectionFactory $methodReflectionFactory
+ * @param ReflectionProvider $reflectionProvider
+ */
+ public function __construct(
+ PhpMethodReflectionFactory $methodReflectionFactory,
+ ReflectionProvider $reflectionProvider
+ ) {
+ $this->scanner = new MacroScanner($reflectionProvider);
+ $this->methodReflectionFactory = $methodReflectionFactory;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function hasMethod(ClassReflection $classReflection, string $methodName): bool
+ {
+ return $this->scanner->hasMethod($classReflection->getName(), $methodName);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection
+ {
+ $builtinMacro = $this->scanner->getMethod($classReflection->getName(), $methodName);
+ $supportAssertions = class_exists(Assertions::class);
+
+ return $this->methodReflectionFactory->create(
+ $classReflection,
+ null,
+ $builtinMacro,
+ $classReflection->getActiveTemplateTypeMap(),
+ [],
+ TypehintHelper::decideTypeFromReflection($builtinMacro->getReturnType()),
+ null,
+ null,
+ $builtinMacro->isDeprecated()->yes(),
+ $builtinMacro->isInternal(),
+ $builtinMacro->isFinal(),
+ $supportAssertions ? null : $builtinMacro->getDocComment(),
+ $supportAssertions ? Assertions::createEmpty() : null,
+ null,
+ $builtinMacro->getDocComment(),
+ []
+ );
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php
new file mode 100644
index 0000000..c88e49e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php
@@ -0,0 +1,87 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\PHPStan;
+
+use Carbon\CarbonInterface;
+use PHPStan\Reflection\ReflectionProvider;
+use ReflectionClass;
+use ReflectionException;
+
+final class MacroScanner
+{
+ /**
+ * @var \PHPStan\Reflection\ReflectionProvider
+ */
+ private $reflectionProvider;
+
+ /**
+ * MacroScanner constructor.
+ *
+ * @param \PHPStan\Reflection\ReflectionProvider $reflectionProvider
+ */
+ public function __construct(ReflectionProvider $reflectionProvider)
+ {
+ $this->reflectionProvider = $reflectionProvider;
+ }
+
+ /**
+ * Return true if the given pair class-method is a Carbon macro.
+ *
+ * @param string $className
+ * @phpstan-param class-string $className
+ *
+ * @param string $methodName
+ *
+ * @return bool
+ */
+ public function hasMethod(string $className, string $methodName): bool
+ {
+ $classReflection = $this->reflectionProvider->getClass($className);
+
+ if (
+ $classReflection->getName() !== CarbonInterface::class &&
+ !$classReflection->isSubclassOf(CarbonInterface::class)
+ ) {
+ return false;
+ }
+
+ return \is_callable([$className, 'hasMacro']) &&
+ $className::hasMacro($methodName);
+ }
+
+ /**
+ * Return the Macro for a given pair class-method.
+ *
+ * @param string $className
+ * @phpstan-param class-string $className
+ *
+ * @param string $methodName
+ *
+ * @throws ReflectionException
+ *
+ * @return Macro
+ */
+ public function getMethod(string $className, string $methodName): Macro
+ {
+ $reflectionClass = new ReflectionClass($className);
+ $property = $reflectionClass->getProperty('globalMacros');
+
+ $property->setAccessible(true);
+ $macro = $property->getValue()[$methodName];
+
+ return new Macro(
+ $className,
+ $methodName,
+ $macro
+ );
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php b/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php
new file mode 100644
index 0000000..71bbb72
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php
@@ -0,0 +1,443 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Exceptions\UnknownUnitException;
+
+/**
+ * Trait Boundaries.
+ *
+ * startOf, endOf and derived method for each unit.
+ *
+ * Depends on the following properties:
+ *
+ * @property int $year
+ * @property int $month
+ * @property int $daysInMonth
+ * @property int $quarter
+ *
+ * Depends on the following methods:
+ *
+ * @method $this setTime(int $hour, int $minute, int $second = 0, int $microseconds = 0)
+ * @method $this setDate(int $year, int $month, int $day)
+ * @method $this addMonths(int $value = 1)
+ */
+trait Boundaries
+{
+ /**
+ * Resets the time to 00:00:00 start of day
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfDay();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfDay()
+ {
+ return $this->setTime(0, 0, 0, 0);
+ }
+
+ /**
+ * Resets the time to 23:59:59.999999 end of day
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfDay();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfDay()
+ {
+ return $this->setTime(static::HOURS_PER_DAY - 1, static::MINUTES_PER_HOUR - 1, static::SECONDS_PER_MINUTE - 1, static::MICROSECONDS_PER_SECOND - 1);
+ }
+
+ /**
+ * Resets the date to the first day of the month and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfMonth();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfMonth()
+ {
+ return $this->setDate($this->year, $this->month, 1)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of the month and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfMonth();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfMonth()
+ {
+ return $this->setDate($this->year, $this->month, $this->daysInMonth)->endOfDay();
+ }
+
+ /**
+ * Resets the date to the first day of the quarter and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfQuarter();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfQuarter()
+ {
+ $month = ($this->quarter - 1) * static::MONTHS_PER_QUARTER + 1;
+
+ return $this->setDate($this->year, $month, 1)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of the quarter and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfQuarter();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfQuarter()
+ {
+ return $this->startOfQuarter()->addMonths(static::MONTHS_PER_QUARTER - 1)->endOfMonth();
+ }
+
+ /**
+ * Resets the date to the first day of the year and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfYear();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfYear()
+ {
+ return $this->setDate($this->year, 1, 1)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of the year and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfYear();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfYear()
+ {
+ return $this->setDate($this->year, 12, 31)->endOfDay();
+ }
+
+ /**
+ * Resets the date to the first day of the decade and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfDecade();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfDecade()
+ {
+ $year = $this->year - $this->year % static::YEARS_PER_DECADE;
+
+ return $this->setDate($year, 1, 1)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of the decade and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfDecade();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfDecade()
+ {
+ $year = $this->year - $this->year % static::YEARS_PER_DECADE + static::YEARS_PER_DECADE - 1;
+
+ return $this->setDate($year, 12, 31)->endOfDay();
+ }
+
+ /**
+ * Resets the date to the first day of the century and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfCentury();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfCentury()
+ {
+ $year = $this->year - ($this->year - 1) % static::YEARS_PER_CENTURY;
+
+ return $this->setDate($year, 1, 1)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of the century and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfCentury();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfCentury()
+ {
+ $year = $this->year - 1 - ($this->year - 1) % static::YEARS_PER_CENTURY + static::YEARS_PER_CENTURY;
+
+ return $this->setDate($year, 12, 31)->endOfDay();
+ }
+
+ /**
+ * Resets the date to the first day of the millennium and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfMillennium();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfMillennium()
+ {
+ $year = $this->year - ($this->year - 1) % static::YEARS_PER_MILLENNIUM;
+
+ return $this->setDate($year, 1, 1)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of the millennium and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfMillennium();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfMillennium()
+ {
+ $year = $this->year - 1 - ($this->year - 1) % static::YEARS_PER_MILLENNIUM + static::YEARS_PER_MILLENNIUM;
+
+ return $this->setDate($year, 12, 31)->endOfDay();
+ }
+
+ /**
+ * Resets the date to the first day of week (defined in $weekStartsAt) and the time to 00:00:00
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->locale('ar')->startOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfWeek(Carbon::SUNDAY) . "\n";
+ * ```
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return static
+ */
+ public function startOfWeek($weekStartsAt = null)
+ {
+ return $this->subDays((7 + $this->dayOfWeek - ($weekStartsAt ?? $this->firstWeekDay)) % 7)->startOfDay();
+ }
+
+ /**
+ * Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59.999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->locale('ar')->endOfWeek() . "\n";
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfWeek(Carbon::SATURDAY) . "\n";
+ * ```
+ *
+ * @param int $weekEndsAt optional start allow you to specify the day of week to use to end the week
+ *
+ * @return static
+ */
+ public function endOfWeek($weekEndsAt = null)
+ {
+ return $this->addDays((7 - $this->dayOfWeek + ($weekEndsAt ?? $this->lastWeekDay)) % 7)->endOfDay();
+ }
+
+ /**
+ * Modify to start of current hour, minutes and seconds become 0
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfHour();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfHour()
+ {
+ return $this->setTime($this->hour, 0, 0, 0);
+ }
+
+ /**
+ * Modify to end of current hour, minutes and seconds become 59
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfHour();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfHour()
+ {
+ return $this->setTime($this->hour, static::MINUTES_PER_HOUR - 1, static::SECONDS_PER_MINUTE - 1, static::MICROSECONDS_PER_SECOND - 1);
+ }
+
+ /**
+ * Modify to start of current minute, seconds become 0
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->startOfMinute();
+ * ```
+ *
+ * @return static
+ */
+ public function startOfMinute()
+ {
+ return $this->setTime($this->hour, $this->minute, 0, 0);
+ }
+
+ /**
+ * Modify to end of current minute, seconds become 59
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16')->endOfMinute();
+ * ```
+ *
+ * @return static
+ */
+ public function endOfMinute()
+ {
+ return $this->setTime($this->hour, $this->minute, static::SECONDS_PER_MINUTE - 1, static::MICROSECONDS_PER_SECOND - 1);
+ }
+
+ /**
+ * Modify to start of current second, microseconds become 0
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->startOfSecond()
+ * ->format('H:i:s.u');
+ * ```
+ *
+ * @return static
+ */
+ public function startOfSecond()
+ {
+ return $this->setTime($this->hour, $this->minute, $this->second, 0);
+ }
+
+ /**
+ * Modify to end of current second, microseconds become 999999
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->endOfSecond()
+ * ->format('H:i:s.u');
+ * ```
+ *
+ * @return static
+ */
+ public function endOfSecond()
+ {
+ return $this->setTime($this->hour, $this->minute, $this->second, static::MICROSECONDS_PER_SECOND - 1);
+ }
+
+ /**
+ * Modify to start of current given unit.
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->startOf('month')
+ * ->endOf('week', Carbon::FRIDAY);
+ * ```
+ *
+ * @param string $unit
+ * @param array $params
+ *
+ * @return static
+ */
+ public function startOf($unit, ...$params)
+ {
+ $ucfUnit = ucfirst(static::singularUnit($unit));
+ $method = "startOf$ucfUnit";
+ if (!method_exists($this, $method)) {
+ throw new UnknownUnitException($unit);
+ }
+
+ return $this->$method(...$params);
+ }
+
+ /**
+ * Modify to end of current given unit.
+ *
+ * @example
+ * ```
+ * echo Carbon::parse('2018-07-25 12:45:16.334455')
+ * ->startOf('month')
+ * ->endOf('week', Carbon::FRIDAY);
+ * ```
+ *
+ * @param string $unit
+ * @param array $params
+ *
+ * @return static
+ */
+ public function endOf($unit, ...$params)
+ {
+ $ucfUnit = ucfirst(static::singularUnit($unit));
+ $method = "endOf$ucfUnit";
+ if (!method_exists($this, $method)) {
+ throw new UnknownUnitException($unit);
+ }
+
+ return $this->$method(...$params);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php b/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php
new file mode 100644
index 0000000..5f7c7c0
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php
@@ -0,0 +1,43 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Exceptions\InvalidCastException;
+use DateTimeInterface;
+
+/**
+ * Trait Cast.
+ *
+ * Utils to cast into an other class.
+ */
+trait Cast
+{
+ /**
+ * Cast the current instance into the given class.
+ *
+ * @param string $className The $className::instance() method will be called to cast the current object.
+ *
+ * @return DateTimeInterface
+ */
+ public function cast(string $className)
+ {
+ if (!method_exists($className, 'instance')) {
+ if (is_a($className, DateTimeInterface::class, true)) {
+ return new $className($this->rawFormat('Y-m-d H:i:s.u'), $this->getTimezone());
+ }
+
+ throw new InvalidCastException("$className has not the instance() method needed to cast the date.");
+ }
+
+ return $className::instance($this);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php b/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php
new file mode 100644
index 0000000..f6261d8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php
@@ -0,0 +1,1125 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use BadMethodCallException;
+use Carbon\CarbonInterface;
+use Carbon\Exceptions\BadComparisonUnitException;
+use InvalidArgumentException;
+
+/**
+ * Trait Comparison.
+ *
+ * Comparison utils and testers. All the following methods return booleans.
+ * nowWithSameTz
+ *
+ * Depends on the following methods:
+ *
+ * @method static resolveCarbon($date)
+ * @method static copy()
+ * @method static nowWithSameTz()
+ * @method static static yesterday($timezone = null)
+ * @method static static tomorrow($timezone = null)
+ */
+trait Comparison
+{
+ /** @var bool */
+ protected $endOfTime = false;
+
+ /** @var bool */
+ protected $startOfTime = false;
+
+ /**
+ * Determines if the instance is equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->eq(Carbon::parse('2018-07-25 12:45:16')); // true
+ * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see equalTo()
+ *
+ * @return bool
+ */
+ public function eq($date): bool
+ {
+ return $this->equalTo($date);
+ }
+
+ /**
+ * Determines if the instance is equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->equalTo(Carbon::parse('2018-07-25 12:45:16')); // true
+ * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function equalTo($date): bool
+ {
+ $this->discourageNull($date);
+ $this->discourageBoolean($date);
+
+ return $this == $this->resolveCarbon($date);
+ }
+
+ /**
+ * Determines if the instance is not equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->ne(Carbon::parse('2018-07-25 12:45:16')); // false
+ * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see notEqualTo()
+ *
+ * @return bool
+ */
+ public function ne($date): bool
+ {
+ return $this->notEqualTo($date);
+ }
+
+ /**
+ * Determines if the instance is not equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->notEqualTo(Carbon::parse('2018-07-25 12:45:16')); // false
+ * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function notEqualTo($date): bool
+ {
+ return !$this->equalTo($date);
+ }
+
+ /**
+ * Determines if the instance is greater (after) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see greaterThan()
+ *
+ * @return bool
+ */
+ public function gt($date): bool
+ {
+ return $this->greaterThan($date);
+ }
+
+ /**
+ * Determines if the instance is greater (after) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function greaterThan($date): bool
+ {
+ $this->discourageNull($date);
+ $this->discourageBoolean($date);
+
+ return $this > $this->resolveCarbon($date);
+ }
+
+ /**
+ * Determines if the instance is greater (after) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see greaterThan()
+ *
+ * @return bool
+ */
+ public function isAfter($date): bool
+ {
+ return $this->greaterThan($date);
+ }
+
+ /**
+ * Determines if the instance is greater (after) than or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see greaterThanOrEqualTo()
+ *
+ * @return bool
+ */
+ public function gte($date): bool
+ {
+ return $this->greaterThanOrEqualTo($date);
+ }
+
+ /**
+ * Determines if the instance is greater (after) than or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:15'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:17'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function greaterThanOrEqualTo($date): bool
+ {
+ $this->discourageNull($date);
+ $this->discourageBoolean($date);
+
+ return $this >= $this->resolveCarbon($date);
+ }
+
+ /**
+ * Determines if the instance is less (before) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see lessThan()
+ *
+ * @return bool
+ */
+ public function lt($date): bool
+ {
+ return $this->lessThan($date);
+ }
+
+ /**
+ * Determines if the instance is less (before) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function lessThan($date): bool
+ {
+ $this->discourageNull($date);
+ $this->discourageBoolean($date);
+
+ return $this < $this->resolveCarbon($date);
+ }
+
+ /**
+ * Determines if the instance is less (before) than another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:16'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see lessThan()
+ *
+ * @return bool
+ */
+ public function isBefore($date): bool
+ {
+ return $this->lessThan($date);
+ }
+
+ /**
+ * Determines if the instance is less (before) or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see lessThanOrEqualTo()
+ *
+ * @return bool
+ */
+ public function lte($date): bool
+ {
+ return $this->lessThanOrEqualTo($date);
+ }
+
+ /**
+ * Determines if the instance is less (before) or equal to another
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:15'); // false
+ * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:16'); // true
+ * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:17'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return bool
+ */
+ public function lessThanOrEqualTo($date): bool
+ {
+ $this->discourageNull($date);
+ $this->discourageBoolean($date);
+
+ return $this <= $this->resolveCarbon($date);
+ }
+
+ /**
+ * Determines if the instance is between two others.
+ *
+ * The third argument allow you to specify if bounds are included or not (true by default)
+ * but for when you including/excluding bounds may produce different results in your application,
+ * we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->between('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->between('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', false); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ * @param bool $equal Indicates if an equal to comparison should be done
+ *
+ * @return bool
+ */
+ public function between($date1, $date2, $equal = true): bool
+ {
+ $date1 = $this->resolveCarbon($date1);
+ $date2 = $this->resolveCarbon($date2);
+
+ if ($date1->greaterThan($date2)) {
+ [$date1, $date2] = [$date2, $date1];
+ }
+
+ if ($equal) {
+ return $this >= $date1 && $this <= $date2;
+ }
+
+ return $this > $date1 && $this < $date2;
+ }
+
+ /**
+ * Determines if the instance is between two others, bounds included.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->betweenIncluded('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-25', '2018-08-01'); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return bool
+ */
+ public function betweenIncluded($date1, $date2): bool
+ {
+ return $this->between($date1, $date2, true);
+ }
+
+ /**
+ * Determines if the instance is between two others, bounds excluded.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->betweenExcluded('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-25', '2018-08-01'); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return bool
+ */
+ public function betweenExcluded($date1, $date2): bool
+ {
+ return $this->between($date1, $date2, false);
+ }
+
+ /**
+ * Determines if the instance is between two others
+ *
+ * @example
+ * ```
+ * Carbon::parse('2018-07-25')->isBetween('2018-07-14', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->isBetween('2018-08-01', '2018-08-20'); // false
+ * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01'); // true
+ * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01', false); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ * @param bool $equal Indicates if an equal to comparison should be done
+ *
+ * @return bool
+ */
+ public function isBetween($date1, $date2, $equal = true): bool
+ {
+ return $this->between($date1, $date2, $equal);
+ }
+
+ /**
+ * Determines if the instance is a weekday.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-07-14')->isWeekday(); // false
+ * Carbon::parse('2019-07-15')->isWeekday(); // true
+ * ```
+ *
+ * @return bool
+ */
+ public function isWeekday()
+ {
+ return !$this->isWeekend();
+ }
+
+ /**
+ * Determines if the instance is a weekend day.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-07-14')->isWeekend(); // true
+ * Carbon::parse('2019-07-15')->isWeekend(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isWeekend()
+ {
+ return \in_array($this->dayOfWeek, static::$weekendDays, true);
+ }
+
+ /**
+ * Determines if the instance is yesterday.
+ *
+ * @example
+ * ```
+ * Carbon::yesterday()->isYesterday(); // true
+ * Carbon::tomorrow()->isYesterday(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isYesterday()
+ {
+ return $this->toDateString() === static::yesterday($this->getTimezone())->toDateString();
+ }
+
+ /**
+ * Determines if the instance is today.
+ *
+ * @example
+ * ```
+ * Carbon::today()->isToday(); // true
+ * Carbon::tomorrow()->isToday(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isToday()
+ {
+ return $this->toDateString() === $this->nowWithSameTz()->toDateString();
+ }
+
+ /**
+ * Determines if the instance is tomorrow.
+ *
+ * @example
+ * ```
+ * Carbon::tomorrow()->isTomorrow(); // true
+ * Carbon::yesterday()->isTomorrow(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isTomorrow()
+ {
+ return $this->toDateString() === static::tomorrow($this->getTimezone())->toDateString();
+ }
+
+ /**
+ * Determines if the instance is in the future, ie. greater (after) than now.
+ *
+ * @example
+ * ```
+ * Carbon::now()->addHours(5)->isFuture(); // true
+ * Carbon::now()->subHours(5)->isFuture(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isFuture()
+ {
+ return $this->greaterThan($this->nowWithSameTz());
+ }
+
+ /**
+ * Determines if the instance is in the past, ie. less (before) than now.
+ *
+ * @example
+ * ```
+ * Carbon::now()->subHours(5)->isPast(); // true
+ * Carbon::now()->addHours(5)->isPast(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isPast()
+ {
+ return $this->lessThan($this->nowWithSameTz());
+ }
+
+ /**
+ * Determines if the instance is a leap year.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2020-01-01')->isLeapYear(); // true
+ * Carbon::parse('2019-01-01')->isLeapYear(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isLeapYear()
+ {
+ return $this->rawFormat('L') === '1';
+ }
+
+ /**
+ * Determines if the instance is a long year (using calendar year).
+ *
+ * âš ï¸ This method completely ignores month and day to use the numeric year number,
+ * it's not correct if the exact date matters. For instance as `2019-12-30` is already
+ * in the first week of the 2020 year, if you want to know from this date if ISO week
+ * year 2020 is a long year, use `isLongIsoYear` instead.
+ *
+ * @example
+ * ```
+ * Carbon::create(2015)->isLongYear(); // true
+ * Carbon::create(2016)->isLongYear(); // false
+ * ```
+ *
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates
+ *
+ * @return bool
+ */
+ public function isLongYear()
+ {
+ return static::create($this->year, 12, 28, 0, 0, 0, $this->tz)->weekOfYear === 53;
+ }
+
+ /**
+ * Determines if the instance is a long year (using ISO 8601 year).
+ *
+ * @example
+ * ```
+ * Carbon::parse('2015-01-01')->isLongIsoYear(); // true
+ * Carbon::parse('2016-01-01')->isLongIsoYear(); // true
+ * Carbon::parse('2016-01-03')->isLongIsoYear(); // false
+ * Carbon::parse('2019-12-29')->isLongIsoYear(); // false
+ * Carbon::parse('2019-12-30')->isLongIsoYear(); // true
+ * ```
+ *
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates
+ *
+ * @return bool
+ */
+ public function isLongIsoYear()
+ {
+ return static::create($this->isoWeekYear, 12, 28, 0, 0, 0, $this->tz)->weekOfYear === 53;
+ }
+
+ /**
+ * Compares the formatted values of the two dates.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-12-13')); // true
+ * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-06-14')); // false
+ * ```
+ *
+ * @param string $format date formats to compare.
+ * @param \Carbon\Carbon|\DateTimeInterface|string|null $date instance to compare with or null to use current day.
+ *
+ * @return bool
+ */
+ public function isSameAs($format, $date = null)
+ {
+ return $this->rawFormat($format) === $this->resolveCarbon($date)->rawFormat($format);
+ }
+
+ /**
+ * Determines if the instance is in the current unit given.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-01-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // true
+ * Carbon::parse('2018-12-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // false
+ * ```
+ *
+ * @param string $unit singular unit string
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date instance to compare with or null to use current day.
+ *
+ * @throws BadComparisonUnitException
+ *
+ * @return bool
+ */
+ public function isSameUnit($unit, $date = null)
+ {
+ $units = [
+ // @call isSameUnit
+ 'year' => 'Y',
+ // @call isSameUnit
+ 'week' => 'o-W',
+ // @call isSameUnit
+ 'day' => 'Y-m-d',
+ // @call isSameUnit
+ 'hour' => 'Y-m-d H',
+ // @call isSameUnit
+ 'minute' => 'Y-m-d H:i',
+ // @call isSameUnit
+ 'second' => 'Y-m-d H:i:s',
+ // @call isSameUnit
+ 'micro' => 'Y-m-d H:i:s.u',
+ // @call isSameUnit
+ 'microsecond' => 'Y-m-d H:i:s.u',
+ ];
+
+ if (isset($units[$unit])) {
+ return $this->isSameAs($units[$unit], $date);
+ }
+
+ if (isset($this->$unit)) {
+ return $this->resolveCarbon($date)->$unit === $this->$unit;
+ }
+
+ if ($this->localStrictModeEnabled ?? static::isStrictModeEnabled()) {
+ throw new BadComparisonUnitException($unit);
+ }
+
+ return false;
+ }
+
+ /**
+ * Determines if the instance is in the current unit given.
+ *
+ * @example
+ * ```
+ * Carbon::now()->isCurrentUnit('hour'); // true
+ * Carbon::now()->subHours(2)->isCurrentUnit('hour'); // false
+ * ```
+ *
+ * @param string $unit The unit to test.
+ *
+ * @throws BadMethodCallException
+ *
+ * @return bool
+ */
+ public function isCurrentUnit($unit)
+ {
+ return $this->{'isSame'.ucfirst($unit)}();
+ }
+
+ /**
+ * Checks if the passed in date is in the same quarter as the instance quarter (and year if needed).
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-03-01')); // true
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-04-01')); // false
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01')); // false
+ * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01'), false); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|string|null $date The instance to compare with or null to use current day.
+ * @param bool $ofSameYear Check if it is the same month in the same year.
+ *
+ * @return bool
+ */
+ public function isSameQuarter($date = null, $ofSameYear = true)
+ {
+ $date = $this->resolveCarbon($date);
+
+ return $this->quarter === $date->quarter && (!$ofSameYear || $this->isSameYear($date));
+ }
+
+ /**
+ * Checks if the passed in date is in the same month as the instance´s month.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-01-01')); // true
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-02-01')); // false
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01')); // false
+ * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01'), false); // true
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use the current date.
+ * @param bool $ofSameYear Check if it is the same month in the same year.
+ *
+ * @return bool
+ */
+ public function isSameMonth($date = null, $ofSameYear = true)
+ {
+ return $this->isSameAs($ofSameYear ? 'Y-m' : 'm', $date);
+ }
+
+ /**
+ * Checks if this day is a specific day of the week.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::WEDNESDAY); // true
+ * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::FRIDAY); // false
+ * Carbon::parse('2019-07-17')->isDayOfWeek('Wednesday'); // true
+ * Carbon::parse('2019-07-17')->isDayOfWeek('Friday'); // false
+ * ```
+ *
+ * @param int $dayOfWeek
+ *
+ * @return bool
+ */
+ public function isDayOfWeek($dayOfWeek)
+ {
+ if (\is_string($dayOfWeek) && \defined($constant = static::class.'::'.strtoupper($dayOfWeek))) {
+ $dayOfWeek = \constant($constant);
+ }
+
+ return $this->dayOfWeek === $dayOfWeek;
+ }
+
+ /**
+ * Check if its the birthday. Compares the date/month values of the two dates.
+ *
+ * @example
+ * ```
+ * Carbon::now()->subYears(5)->isBirthday(); // true
+ * Carbon::now()->subYears(5)->subDay()->isBirthday(); // false
+ * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-05')); // true
+ * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-06')); // false
+ * ```
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use current day.
+ *
+ * @return bool
+ */
+ public function isBirthday($date = null)
+ {
+ return $this->isSameAs('md', $date);
+ }
+
+ /**
+ * Check if today is the last day of the Month
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28')->isLastOfMonth(); // true
+ * Carbon::parse('2019-03-28')->isLastOfMonth(); // false
+ * Carbon::parse('2019-03-30')->isLastOfMonth(); // false
+ * Carbon::parse('2019-03-31')->isLastOfMonth(); // true
+ * Carbon::parse('2019-04-30')->isLastOfMonth(); // true
+ * ```
+ *
+ * @return bool
+ */
+ public function isLastOfMonth()
+ {
+ return $this->day === $this->daysInMonth;
+ }
+
+ /**
+ * Check if the instance is start of day / midnight.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 00:00:00')->isStartOfDay(); // true
+ * Carbon::parse('2019-02-28 00:00:00.999999')->isStartOfDay(); // true
+ * Carbon::parse('2019-02-28 00:00:01')->isStartOfDay(); // false
+ * Carbon::parse('2019-02-28 00:00:00.000000')->isStartOfDay(true); // true
+ * Carbon::parse('2019-02-28 00:00:00.000012')->isStartOfDay(true); // false
+ * ```
+ *
+ * @param bool $checkMicroseconds check time at microseconds precision
+ *
+ * @return bool
+ */
+ public function isStartOfDay($checkMicroseconds = false)
+ {
+ /* @var CarbonInterface $this */
+ return $checkMicroseconds
+ ? $this->rawFormat('H:i:s.u') === '00:00:00.000000'
+ : $this->rawFormat('H:i:s') === '00:00:00';
+ }
+
+ /**
+ * Check if the instance is end of day.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(); // true
+ * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(); // true
+ * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(); // true
+ * Carbon::parse('2019-02-28 23:59:58.999999')->isEndOfDay(); // false
+ * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(true); // true
+ * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(true); // false
+ * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(true); // false
+ * ```
+ *
+ * @param bool $checkMicroseconds check time at microseconds precision
+ *
+ * @return bool
+ */
+ public function isEndOfDay($checkMicroseconds = false)
+ {
+ /* @var CarbonInterface $this */
+ return $checkMicroseconds
+ ? $this->rawFormat('H:i:s.u') === '23:59:59.999999'
+ : $this->rawFormat('H:i:s') === '23:59:59';
+ }
+
+ /**
+ * Check if the instance is start of day / midnight.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 00:00:00')->isMidnight(); // true
+ * Carbon::parse('2019-02-28 00:00:00.999999')->isMidnight(); // true
+ * Carbon::parse('2019-02-28 00:00:01')->isMidnight(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isMidnight()
+ {
+ return $this->isStartOfDay();
+ }
+
+ /**
+ * Check if the instance is midday.
+ *
+ * @example
+ * ```
+ * Carbon::parse('2019-02-28 11:59:59.999999')->isMidday(); // false
+ * Carbon::parse('2019-02-28 12:00:00')->isMidday(); // true
+ * Carbon::parse('2019-02-28 12:00:00.999999')->isMidday(); // true
+ * Carbon::parse('2019-02-28 12:00:01')->isMidday(); // false
+ * ```
+ *
+ * @return bool
+ */
+ public function isMidday()
+ {
+ /* @var CarbonInterface $this */
+ return $this->rawFormat('G:i:s') === static::$midDayAt.':00:00';
+ }
+
+ /**
+ * Checks if the (date)time string is in a given format.
+ *
+ * @example
+ * ```
+ * Carbon::hasFormat('11:12:45', 'h:i:s'); // true
+ * Carbon::hasFormat('13:12:45', 'h:i:s'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ *
+ * @return bool
+ */
+ public static function hasFormat($date, $format)
+ {
+ // createFromFormat() is known to handle edge cases silently.
+ // E.g. "1975-5-1" (Y-n-j) will still be parsed correctly when "Y-m-d" is supplied as the format.
+ // To ensure we're really testing against our desired format, perform an additional regex validation.
+
+ return self::matchFormatPattern((string) $date, preg_quote((string) $format, '/'), static::$regexFormats);
+ }
+
+ /**
+ * Checks if the (date)time string is in a given format.
+ *
+ * @example
+ * ```
+ * Carbon::hasFormatWithModifiers('31/08/2015', 'd#m#Y'); // true
+ * Carbon::hasFormatWithModifiers('31/08/2015', 'm#d#Y'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ *
+ * @return bool
+ */
+ public static function hasFormatWithModifiers($date, $format): bool
+ {
+ return self::matchFormatPattern((string) $date, (string) $format, array_merge(static::$regexFormats, static::$regexFormatModifiers));
+ }
+
+ /**
+ * Checks if the (date)time string is in a given format and valid to create a
+ * new instance.
+ *
+ * @example
+ * ```
+ * Carbon::canBeCreatedFromFormat('11:12:45', 'h:i:s'); // true
+ * Carbon::canBeCreatedFromFormat('13:12:45', 'h:i:s'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ *
+ * @return bool
+ */
+ public static function canBeCreatedFromFormat($date, $format)
+ {
+ try {
+ // Try to create a DateTime object. Throws an InvalidArgumentException if the provided time string
+ // doesn't match the format in any way.
+ if (!static::rawCreateFromFormat($format, $date)) {
+ return false;
+ }
+ } catch (InvalidArgumentException $e) {
+ return false;
+ }
+
+ return static::hasFormatWithModifiers($date, $format);
+ }
+
+ /**
+ * Returns true if the current date matches the given string.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2018')); // false
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('06-02')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06-02')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('Sunday')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('June')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:45')); // true
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:00')); // false
+ * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12h')); // true
+ * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3pm')); // true
+ * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3am')); // false
+ * ```
+ *
+ * @param string $tester day name, month name, hour, date, etc. as string
+ *
+ * @return bool
+ */
+ public function is(string $tester)
+ {
+ $tester = trim($tester);
+
+ if (preg_match('/^\d+$/', $tester)) {
+ return $this->year === (int) $tester;
+ }
+
+ if (preg_match('/^\d{3,}-\d{1,2}$/', $tester)) {
+ return $this->isSameMonth(static::parse($tester));
+ }
+
+ if (preg_match('/^\d{1,2}-\d{1,2}$/', $tester)) {
+ return $this->isSameDay(static::parse($this->year.'-'.$tester));
+ }
+
+ $modifier = preg_replace('/(\d)h$/i', '$1:00', $tester);
+
+ /* @var CarbonInterface $max */
+ $median = static::parse('5555-06-15 12:30:30.555555')->modify($modifier);
+ $current = $this->avoidMutation();
+ /* @var CarbonInterface $other */
+ $other = $this->avoidMutation()->modify($modifier);
+
+ if ($current->eq($other)) {
+ return true;
+ }
+
+ if (preg_match('/\d:\d{1,2}:\d{1,2}$/', $tester)) {
+ return $current->startOfSecond()->eq($other);
+ }
+
+ if (preg_match('/\d:\d{1,2}$/', $tester)) {
+ return $current->startOfMinute()->eq($other);
+ }
+
+ if (preg_match('/\d(?:h|am|pm)$/', $tester)) {
+ return $current->startOfHour()->eq($other);
+ }
+
+ if (preg_match(
+ '/^(?:january|february|march|april|may|june|july|august|september|october|november|december)(?:\s+\d+)?$/i',
+ $tester
+ )) {
+ return $current->startOfMonth()->eq($other->startOfMonth());
+ }
+
+ $units = [
+ 'month' => [1, 'year'],
+ 'day' => [1, 'month'],
+ 'hour' => [0, 'day'],
+ 'minute' => [0, 'hour'],
+ 'second' => [0, 'minute'],
+ 'microsecond' => [0, 'second'],
+ ];
+
+ foreach ($units as $unit => [$minimum, $startUnit]) {
+ if ($minimum === $median->$unit) {
+ $current = $current->startOf($startUnit);
+
+ break;
+ }
+ }
+
+ return $current->eq($other);
+ }
+
+ /**
+ * Checks if the (date)time string is in a given format with
+ * given list of pattern replacements.
+ *
+ * @example
+ * ```
+ * Carbon::hasFormat('11:12:45', 'h:i:s'); // true
+ * Carbon::hasFormat('13:12:45', 'h:i:s'); // false
+ * ```
+ *
+ * @param string $date
+ * @param string $format
+ * @param array $replacements
+ *
+ * @return bool
+ */
+ private static function matchFormatPattern(string $date, string $format, array $replacements): bool
+ {
+ // Preg quote, but remove escaped backslashes since we'll deal with escaped characters in the format string.
+ $regex = str_replace('\\\\', '\\', $format);
+ // Replace not-escaped letters
+ $regex = preg_replace_callback(
+ '/(?startOfTime ?? false;
+ }
+
+ /**
+ * Returns true if the date was created using CarbonImmutable::endOfTime()
+ *
+ * @return bool
+ */
+ public function isEndOfTime(): bool
+ {
+ return $this->endOfTime ?? false;
+ }
+
+ private function discourageNull($value): void
+ {
+ if ($value === null) {
+ @trigger_error("Since 2.61.0, it's deprecated to compare a date to null, meaning of such comparison is ambiguous and will no longer be possible in 3.0.0, you should explicitly pass 'now' or make an other check to eliminate null values.", \E_USER_DEPRECATED);
+ }
+ }
+
+ private function discourageBoolean($value): void
+ {
+ if (\is_bool($value)) {
+ @trigger_error("Since 2.61.0, it's deprecated to compare a date to true or false, meaning of such comparison is ambiguous and will no longer be possible in 3.0.0, you should explicitly pass 'now' or make an other check to eliminate boolean values.", \E_USER_DEPRECATED);
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php b/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php
new file mode 100644
index 0000000..fff8a60
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php
@@ -0,0 +1,639 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Carbon;
+use Carbon\CarbonImmutable;
+use Carbon\CarbonInterface;
+use Carbon\CarbonInterval;
+use Carbon\CarbonPeriod;
+use Carbon\CarbonPeriodImmutable;
+use Carbon\Exceptions\UnitException;
+use Closure;
+use DateTime;
+use DateTimeImmutable;
+use ReturnTypeWillChange;
+
+/**
+ * Trait Converter.
+ *
+ * Change date into different string formats and types and
+ * handle the string cast.
+ *
+ * Depends on the following methods:
+ *
+ * @method static copy()
+ */
+trait Converter
+{
+ use ToStringFormat;
+
+ /**
+ * Returns the formatted date string on success or FALSE on failure.
+ *
+ * @see https://php.net/manual/en/datetime.format.php
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ #[ReturnTypeWillChange]
+ public function format($format)
+ {
+ $function = $this->localFormatFunction ?: static::$formatFunction;
+
+ if (!$function) {
+ return $this->rawFormat($format);
+ }
+
+ if (\is_string($function) && method_exists($this, $function)) {
+ $function = [$this, $function];
+ }
+
+ return $function(...\func_get_args());
+ }
+
+ /**
+ * @see https://php.net/manual/en/datetime.format.php
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ public function rawFormat($format)
+ {
+ return parent::format($format);
+ }
+
+ /**
+ * Format the instance as a string using the set format
+ *
+ * @example
+ * ```
+ * echo Carbon::now(); // Carbon instances can be cast to string
+ * ```
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ $format = $this->localToStringFormat ?? static::$toStringFormat;
+
+ return $format instanceof Closure
+ ? $format($this)
+ : $this->rawFormat($format ?: (
+ \defined('static::DEFAULT_TO_STRING_FORMAT')
+ ? static::DEFAULT_TO_STRING_FORMAT
+ : CarbonInterface::DEFAULT_TO_STRING_FORMAT
+ ));
+ }
+
+ /**
+ * Format the instance as date
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDateString();
+ * ```
+ *
+ * @return string
+ */
+ public function toDateString()
+ {
+ return $this->rawFormat('Y-m-d');
+ }
+
+ /**
+ * Format the instance as a readable date
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toFormattedDateString();
+ * ```
+ *
+ * @return string
+ */
+ public function toFormattedDateString()
+ {
+ return $this->rawFormat('M j, Y');
+ }
+
+ /**
+ * Format the instance with the day, and a readable date
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toFormattedDayDateString();
+ * ```
+ *
+ * @return string
+ */
+ public function toFormattedDayDateString(): string
+ {
+ return $this->rawFormat('D, M j, Y');
+ }
+
+ /**
+ * Format the instance as time
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toTimeString();
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toTimeString($unitPrecision = 'second')
+ {
+ return $this->rawFormat(static::getTimeFormatByPrecision($unitPrecision));
+ }
+
+ /**
+ * Format the instance as date and time
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDateTimeString();
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toDateTimeString($unitPrecision = 'second')
+ {
+ return $this->rawFormat('Y-m-d '.static::getTimeFormatByPrecision($unitPrecision));
+ }
+
+ /**
+ * Return a format from H:i to H:i:s.u according to given unit precision.
+ *
+ * @param string $unitPrecision "minute", "second", "millisecond" or "microsecond"
+ *
+ * @return string
+ */
+ public static function getTimeFormatByPrecision($unitPrecision)
+ {
+ switch (static::singularUnit($unitPrecision)) {
+ case 'minute':
+ return 'H:i';
+ case 'second':
+ return 'H:i:s';
+ case 'm':
+ case 'millisecond':
+ return 'H:i:s.v';
+ case 'µ':
+ case 'microsecond':
+ return 'H:i:s.u';
+ }
+
+ throw new UnitException('Precision unit expected among: minute, second, millisecond and microsecond.');
+ }
+
+ /**
+ * Format the instance as date and time T-separated with no timezone
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDateTimeLocalString();
+ * echo "\n";
+ * echo Carbon::now()->toDateTimeLocalString('minute'); // You can specify precision among: minute, second, millisecond and microsecond
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toDateTimeLocalString($unitPrecision = 'second')
+ {
+ return $this->rawFormat('Y-m-d\T'.static::getTimeFormatByPrecision($unitPrecision));
+ }
+
+ /**
+ * Format the instance with day, date and time
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toDayDateTimeString();
+ * ```
+ *
+ * @return string
+ */
+ public function toDayDateTimeString()
+ {
+ return $this->rawFormat('D, M j, Y g:i A');
+ }
+
+ /**
+ * Format the instance as ATOM
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toAtomString();
+ * ```
+ *
+ * @return string
+ */
+ public function toAtomString()
+ {
+ return $this->rawFormat(DateTime::ATOM);
+ }
+
+ /**
+ * Format the instance as COOKIE
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toCookieString();
+ * ```
+ *
+ * @return string
+ */
+ public function toCookieString()
+ {
+ return $this->rawFormat(DateTime::COOKIE);
+ }
+
+ /**
+ * Format the instance as ISO8601
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toIso8601String();
+ * ```
+ *
+ * @return string
+ */
+ public function toIso8601String()
+ {
+ return $this->toAtomString();
+ }
+
+ /**
+ * Format the instance as RFC822
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc822String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc822String()
+ {
+ return $this->rawFormat(DateTime::RFC822);
+ }
+
+ /**
+ * Convert the instance to UTC and return as Zulu ISO8601
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toIso8601ZuluString();
+ * ```
+ *
+ * @param string $unitPrecision
+ *
+ * @return string
+ */
+ public function toIso8601ZuluString($unitPrecision = 'second')
+ {
+ return $this->avoidMutation()
+ ->utc()
+ ->rawFormat('Y-m-d\T'.static::getTimeFormatByPrecision($unitPrecision).'\Z');
+ }
+
+ /**
+ * Format the instance as RFC850
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc850String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc850String()
+ {
+ return $this->rawFormat(DateTime::RFC850);
+ }
+
+ /**
+ * Format the instance as RFC1036
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc1036String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc1036String()
+ {
+ return $this->rawFormat(DateTime::RFC1036);
+ }
+
+ /**
+ * Format the instance as RFC1123
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc1123String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc1123String()
+ {
+ return $this->rawFormat(DateTime::RFC1123);
+ }
+
+ /**
+ * Format the instance as RFC2822
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc2822String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc2822String()
+ {
+ return $this->rawFormat(DateTime::RFC2822);
+ }
+
+ /**
+ * Format the instance as RFC3339
+ *
+ * @param bool $extended
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc3339String() . "\n";
+ * echo Carbon::now()->toRfc3339String(true) . "\n";
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc3339String($extended = false)
+ {
+ $format = DateTime::RFC3339;
+ if ($extended) {
+ $format = DateTime::RFC3339_EXTENDED;
+ }
+
+ return $this->rawFormat($format);
+ }
+
+ /**
+ * Format the instance as RSS
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRssString();
+ * ```
+ *
+ * @return string
+ */
+ public function toRssString()
+ {
+ return $this->rawFormat(DateTime::RSS);
+ }
+
+ /**
+ * Format the instance as W3C
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toW3cString();
+ * ```
+ *
+ * @return string
+ */
+ public function toW3cString()
+ {
+ return $this->rawFormat(DateTime::W3C);
+ }
+
+ /**
+ * Format the instance as RFC7231
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toRfc7231String();
+ * ```
+ *
+ * @return string
+ */
+ public function toRfc7231String()
+ {
+ return $this->avoidMutation()
+ ->setTimezone('GMT')
+ ->rawFormat(\defined('static::RFC7231_FORMAT') ? static::RFC7231_FORMAT : CarbonInterface::RFC7231_FORMAT);
+ }
+
+ /**
+ * Get default array representation.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toArray());
+ * ```
+ *
+ * @return array
+ */
+ public function toArray()
+ {
+ return [
+ 'year' => $this->year,
+ 'month' => $this->month,
+ 'day' => $this->day,
+ 'dayOfWeek' => $this->dayOfWeek,
+ 'dayOfYear' => $this->dayOfYear,
+ 'hour' => $this->hour,
+ 'minute' => $this->minute,
+ 'second' => $this->second,
+ 'micro' => $this->micro,
+ 'timestamp' => $this->timestamp,
+ 'formatted' => $this->rawFormat(\defined('static::DEFAULT_TO_STRING_FORMAT') ? static::DEFAULT_TO_STRING_FORMAT : CarbonInterface::DEFAULT_TO_STRING_FORMAT),
+ 'timezone' => $this->timezone,
+ ];
+ }
+
+ /**
+ * Get default object representation.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toObject());
+ * ```
+ *
+ * @return object
+ */
+ public function toObject()
+ {
+ return (object) $this->toArray();
+ }
+
+ /**
+ * Returns english human readable complete date string.
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->toString();
+ * ```
+ *
+ * @return string
+ */
+ public function toString()
+ {
+ return $this->avoidMutation()->locale('en')->isoFormat('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
+ }
+
+ /**
+ * Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z, if $keepOffset truthy, offset will be kept:
+ * 1977-04-22T01:00:00-05:00).
+ *
+ * @example
+ * ```
+ * echo Carbon::now('America/Toronto')->toISOString() . "\n";
+ * echo Carbon::now('America/Toronto')->toISOString(true) . "\n";
+ * ```
+ *
+ * @param bool $keepOffset Pass true to keep the date offset. Else forced to UTC.
+ *
+ * @return null|string
+ */
+ public function toISOString($keepOffset = false)
+ {
+ if (!$this->isValid()) {
+ return null;
+ }
+
+ $yearFormat = $this->year < 0 || $this->year > 9999 ? 'YYYYYY' : 'YYYY';
+ $tzFormat = $keepOffset ? 'Z' : '[Z]';
+ $date = $keepOffset ? $this : $this->avoidMutation()->utc();
+
+ return $date->isoFormat("$yearFormat-MM-DD[T]HH:mm:ss.SSSSSS$tzFormat");
+ }
+
+ /**
+ * Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z) with UTC timezone.
+ *
+ * @example
+ * ```
+ * echo Carbon::now('America/Toronto')->toJSON();
+ * ```
+ *
+ * @return null|string
+ */
+ public function toJSON()
+ {
+ return $this->toISOString();
+ }
+
+ /**
+ * Return native DateTime PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toDateTime());
+ * ```
+ *
+ * @return DateTime
+ */
+ public function toDateTime()
+ {
+ return new DateTime($this->rawFormat('Y-m-d H:i:s.u'), $this->getTimezone());
+ }
+
+ /**
+ * Return native toDateTimeImmutable PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toDateTimeImmutable());
+ * ```
+ *
+ * @return DateTimeImmutable
+ */
+ public function toDateTimeImmutable()
+ {
+ return new DateTimeImmutable($this->rawFormat('Y-m-d H:i:s.u'), $this->getTimezone());
+ }
+
+ /**
+ * @alias toDateTime
+ *
+ * Return native DateTime PHP object matching the current instance.
+ *
+ * @example
+ * ```
+ * var_dump(Carbon::now()->toDate());
+ * ```
+ *
+ * @return DateTime
+ */
+ public function toDate()
+ {
+ return $this->toDateTime();
+ }
+
+ /**
+ * Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
+ *
+ * @param \DateTimeInterface|Carbon|CarbonImmutable|int|null $end period end date or recurrences count if int
+ * @param int|\DateInterval|string|null $interval period default interval or number of the given $unit
+ * @param string|null $unit if specified, $interval must be an integer
+ *
+ * @return CarbonPeriod
+ */
+ public function toPeriod($end = null, $interval = null, $unit = null)
+ {
+ if ($unit) {
+ $interval = CarbonInterval::make("$interval ".static::pluralUnit($unit));
+ }
+
+ $period = ($this->isMutable() ? new CarbonPeriod() : new CarbonPeriodImmutable())
+ ->setDateClass(static::class)
+ ->setStartDate($this);
+
+ if ($interval) {
+ $period = $period->setDateInterval($interval);
+ }
+
+ if (\is_int($end) || (\is_string($end) && ctype_digit($end))) {
+ $period = $period->setRecurrences($end);
+ } elseif ($end) {
+ $period = $period->setEndDate($end);
+ }
+
+ return $period;
+ }
+
+ /**
+ * Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
+ *
+ * @param \DateTimeInterface|Carbon|CarbonImmutable|null $end period end date
+ * @param int|\DateInterval|string|null $interval period default interval or number of the given $unit
+ * @param string|null $unit if specified, $interval must be an integer
+ *
+ * @return CarbonPeriod
+ */
+ public function range($end = null, $interval = null, $unit = null)
+ {
+ return $this->toPeriod($end, $interval, $unit);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php b/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
new file mode 100644
index 0000000..0d611ea
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
@@ -0,0 +1,977 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Carbon;
+use Carbon\CarbonImmutable;
+use Carbon\CarbonInterface;
+use Carbon\Exceptions\InvalidDateException;
+use Carbon\Exceptions\InvalidFormatException;
+use Carbon\Exceptions\OutOfRangeException;
+use Carbon\Translator;
+use Closure;
+use DateMalformedStringException;
+use DateTimeImmutable;
+use DateTimeInterface;
+use DateTimeZone;
+use Exception;
+use ReturnTypeWillChange;
+
+/**
+ * Trait Creator.
+ *
+ * Static creators.
+ *
+ * Depends on the following methods:
+ *
+ * @method static Carbon|CarbonImmutable getTestNow()
+ */
+trait Creator
+{
+ use ObjectInitialisation;
+
+ /**
+ * The errors that can occur.
+ *
+ * @var array
+ */
+ protected static $lastErrors;
+
+ /**
+ * Create a new Carbon instance.
+ *
+ * Please see the testing aids section (specifically static::setTestNow())
+ * for more on the possibility of this constructor returning a test instance.
+ *
+ * @param DateTimeInterface|string|null $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ */
+ public function __construct($time = null, $tz = null)
+ {
+ if ($time instanceof DateTimeInterface) {
+ $time = $this->constructTimezoneFromDateTime($time, $tz)->format('Y-m-d H:i:s.u');
+ }
+
+ if (is_numeric($time) && (!\is_string($time) || !preg_match('/^\d{1,14}$/', $time))) {
+ $time = static::createFromTimestampUTC($time)->format('Y-m-d\TH:i:s.uP');
+ }
+
+ // If the class has a test now set and we are trying to create a now()
+ // instance then override as required
+ $isNow = empty($time) || $time === 'now';
+
+ if (method_exists(static::class, 'hasTestNow') &&
+ method_exists(static::class, 'getTestNow') &&
+ static::hasTestNow() &&
+ ($isNow || static::hasRelativeKeywords($time))
+ ) {
+ static::mockConstructorParameters($time, $tz);
+ }
+
+ // Work-around for PHP bug https://bugs.php.net/bug.php?id=67127
+ if (!str_contains((string) .1, '.')) {
+ $locale = setlocale(LC_NUMERIC, '0'); // @codeCoverageIgnore
+ setlocale(LC_NUMERIC, 'C'); // @codeCoverageIgnore
+ }
+
+ try {
+ parent::__construct($time ?: 'now', static::safeCreateDateTimeZone($tz) ?: null);
+ } catch (Exception $exception) {
+ throw new InvalidFormatException($exception->getMessage(), 0, $exception);
+ }
+
+ $this->constructedObjectId = spl_object_hash($this);
+
+ if (isset($locale)) {
+ setlocale(LC_NUMERIC, $locale); // @codeCoverageIgnore
+ }
+
+ self::setLastErrors(parent::getLastErrors());
+ }
+
+ /**
+ * Get timezone from a datetime instance.
+ *
+ * @param DateTimeInterface $date
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return DateTimeInterface
+ */
+ private function constructTimezoneFromDateTime(DateTimeInterface $date, &$tz)
+ {
+ if ($tz !== null) {
+ $safeTz = static::safeCreateDateTimeZone($tz);
+
+ if ($safeTz) {
+ return ($date instanceof DateTimeImmutable ? $date : clone $date)->setTimezone($safeTz);
+ }
+
+ return $date;
+ }
+
+ $tz = $date->getTimezone();
+
+ return $date;
+ }
+
+ /**
+ * Update constructedObjectId on cloned.
+ */
+ public function __clone()
+ {
+ $this->constructedObjectId = spl_object_hash($this);
+ }
+
+ /**
+ * Create a Carbon instance from a DateTime one.
+ *
+ * @param DateTimeInterface $date
+ *
+ * @return static
+ */
+ public static function instance($date)
+ {
+ if ($date instanceof static) {
+ return clone $date;
+ }
+
+ static::expectDateTime($date);
+
+ $instance = new static($date->format('Y-m-d H:i:s.u'), $date->getTimezone());
+
+ if ($date instanceof CarbonInterface) {
+ $settings = $date->getSettings();
+
+ if (!$date->hasLocalTranslator()) {
+ unset($settings['locale']);
+ }
+
+ $instance->settings($settings);
+ }
+
+ return $instance;
+ }
+
+ /**
+ * Create a carbon instance from a string.
+ *
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ *
+ * @param string|DateTimeInterface|null $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function rawParse($time = null, $tz = null)
+ {
+ if ($time instanceof DateTimeInterface) {
+ return static::instance($time);
+ }
+
+ try {
+ return new static($time, $tz);
+ } catch (Exception $exception) {
+ // @codeCoverageIgnoreStart
+ try {
+ $date = @static::now($tz)->change($time);
+ } catch (DateMalformedStringException $ignoredException) {
+ $date = null;
+ }
+ // @codeCoverageIgnoreEnd
+
+ if (!$date) {
+ throw new InvalidFormatException("Could not parse '$time': ".$exception->getMessage(), 0, $exception);
+ }
+
+ return $date;
+ }
+ }
+
+ /**
+ * Create a carbon instance from a string.
+ *
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ *
+ * @param string|DateTimeInterface|null $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function parse($time = null, $tz = null)
+ {
+ $function = static::$parseFunction;
+
+ if (!$function) {
+ return static::rawParse($time, $tz);
+ }
+
+ if (\is_string($function) && method_exists(static::class, $function)) {
+ $function = [static::class, $function];
+ }
+
+ return $function(...\func_get_args());
+ }
+
+ /**
+ * Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
+ *
+ * @param string $time date/time string in the given language (may also contain English).
+ * @param string|null $locale if locale is null or not specified, current global locale will be
+ * used instead.
+ * @param DateTimeZone|string|null $tz optional timezone for the new instance.
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function parseFromLocale($time, $locale = null, $tz = null)
+ {
+ return static::rawParse(static::translateTimeString($time, $locale, 'en'), $tz);
+ }
+
+ /**
+ * Get a Carbon instance for the current date and time.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function now($tz = null)
+ {
+ return new static(null, $tz);
+ }
+
+ /**
+ * Create a Carbon instance for today.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function today($tz = null)
+ {
+ return static::rawParse('today', $tz);
+ }
+
+ /**
+ * Create a Carbon instance for tomorrow.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function tomorrow($tz = null)
+ {
+ return static::rawParse('tomorrow', $tz);
+ }
+
+ /**
+ * Create a Carbon instance for yesterday.
+ *
+ * @param DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function yesterday($tz = null)
+ {
+ return static::rawParse('yesterday', $tz);
+ }
+
+ /**
+ * Create a Carbon instance for the greatest supported date.
+ *
+ * @return static
+ */
+ public static function maxValue()
+ {
+ if (self::$PHPIntSize === 4) {
+ // 32 bit
+ return static::createFromTimestamp(PHP_INT_MAX); // @codeCoverageIgnore
+ }
+
+ // 64 bit
+ return static::create(9999, 12, 31, 23, 59, 59);
+ }
+
+ /**
+ * Create a Carbon instance for the lowest supported date.
+ *
+ * @return static
+ */
+ public static function minValue()
+ {
+ if (self::$PHPIntSize === 4) {
+ // 32 bit
+ return static::createFromTimestamp(~PHP_INT_MAX); // @codeCoverageIgnore
+ }
+
+ // 64 bit
+ return static::create(1, 1, 1, 0, 0, 0);
+ }
+
+ private static function assertBetween($unit, $value, $min, $max)
+ {
+ if (static::isStrictModeEnabled() && ($value < $min || $value > $max)) {
+ throw new OutOfRangeException($unit, $min, $max, $value);
+ }
+ }
+
+ private static function createNowInstance($tz)
+ {
+ if (!static::hasTestNow()) {
+ return static::now($tz);
+ }
+
+ $now = static::getTestNow();
+
+ if ($now instanceof Closure) {
+ return $now(static::now($tz));
+ }
+
+ return $now->avoidMutation()->tz($tz);
+ }
+
+ /**
+ * Create a new Carbon instance from a specific date and time.
+ *
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ *
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ *
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ *
+ * @param DateTimeInterface|int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null)
+ {
+ if ((\is_string($year) && !is_numeric($year)) || $year instanceof DateTimeInterface) {
+ return static::parse($year, $tz ?: (\is_string($month) || $month instanceof DateTimeZone ? $month : null));
+ }
+
+ $defaults = null;
+ $getDefault = function ($unit) use ($tz, &$defaults) {
+ if ($defaults === null) {
+ $now = self::createNowInstance($tz);
+
+ $defaults = array_combine([
+ 'year',
+ 'month',
+ 'day',
+ 'hour',
+ 'minute',
+ 'second',
+ ], explode('-', $now->rawFormat('Y-n-j-G-i-s.u')));
+ }
+
+ return $defaults[$unit];
+ };
+
+ $year = $year ?? $getDefault('year');
+ $month = $month ?? $getDefault('month');
+ $day = $day ?? $getDefault('day');
+ $hour = $hour ?? $getDefault('hour');
+ $minute = $minute ?? $getDefault('minute');
+ $second = (float) ($second ?? $getDefault('second'));
+
+ self::assertBetween('month', $month, 0, 99);
+ self::assertBetween('day', $day, 0, 99);
+ self::assertBetween('hour', $hour, 0, 99);
+ self::assertBetween('minute', $minute, 0, 99);
+ self::assertBetween('second', $second, 0, 99);
+
+ $fixYear = null;
+
+ if ($year < 0) {
+ $fixYear = $year;
+ $year = 0;
+ } elseif ($year > 9999) {
+ $fixYear = $year - 9999;
+ $year = 9999;
+ }
+
+ $second = ($second < 10 ? '0' : '').number_format($second, 6);
+ $instance = static::rawCreateFromFormat('!Y-n-j G:i:s.u', sprintf('%s-%s-%s %s:%02s:%02s', $year, $month, $day, $hour, $minute, $second), $tz);
+
+ if ($fixYear !== null) {
+ $instance = $instance->addYears($fixYear);
+ }
+
+ return $instance;
+ }
+
+ /**
+ * Create a new safe Carbon instance from a specific date and time.
+ *
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ *
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ *
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ *
+ * If one of the set values is not valid, an InvalidDateException
+ * will be thrown.
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidDateException
+ *
+ * @return static|false
+ */
+ public static function createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null)
+ {
+ $fields = static::getRangesByUnit();
+
+ foreach ($fields as $field => $range) {
+ if ($$field !== null && (!\is_int($$field) || $$field < $range[0] || $$field > $range[1])) {
+ if (static::isStrictModeEnabled()) {
+ throw new InvalidDateException($field, $$field);
+ }
+
+ return false;
+ }
+ }
+
+ $instance = static::create($year, $month, $day, $hour, $minute, $second, $tz);
+
+ foreach (array_reverse($fields) as $field => $range) {
+ if ($$field !== null && (!\is_int($$field) || $$field !== $instance->$field)) {
+ if (static::isStrictModeEnabled()) {
+ throw new InvalidDateException($field, $$field);
+ }
+
+ return false;
+ }
+ }
+
+ return $instance;
+ }
+
+ /**
+ * Create a new Carbon instance from a specific date and time using strict validation.
+ *
+ * @see create()
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null): self
+ {
+ $initialStrictMode = static::isStrictModeEnabled();
+ static::useStrictMode(true);
+
+ try {
+ $date = static::create($year, $month, $day, $hour, $minute, $second, $tz);
+ } finally {
+ static::useStrictMode($initialStrictMode);
+ }
+
+ return $date;
+ }
+
+ /**
+ * Create a Carbon instance from just a date. The time portion is set to now.
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createFromDate($year = null, $month = null, $day = null, $tz = null)
+ {
+ return static::create($year, $month, $day, null, null, null, $tz);
+ }
+
+ /**
+ * Create a Carbon instance from just a date. The time portion is set to midnight.
+ *
+ * @param int|null $year
+ * @param int|null $month
+ * @param int|null $day
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createMidnightDate($year = null, $month = null, $day = null, $tz = null)
+ {
+ return static::create($year, $month, $day, 0, 0, 0, $tz);
+ }
+
+ /**
+ * Create a Carbon instance from just a time. The date portion is set to today.
+ *
+ * @param int|null $hour
+ * @param int|null $minute
+ * @param int|null $second
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null)
+ {
+ return static::create(null, null, null, $hour, $minute, $second, $tz);
+ }
+
+ /**
+ * Create a Carbon instance from a time string. The date portion is set to today.
+ *
+ * @param string $time
+ * @param DateTimeZone|string|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function createFromTimeString($time, $tz = null)
+ {
+ return static::today($tz)->setTimeFromTimeString($time);
+ }
+
+ /**
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $originalTz
+ *
+ * @return DateTimeInterface|false
+ */
+ private static function createFromFormatAndTimezone($format, $time, $originalTz)
+ {
+ // Work-around for https://bugs.php.net/bug.php?id=75577
+ // @codeCoverageIgnoreStart
+ if (version_compare(PHP_VERSION, '7.3.0-dev', '<')) {
+ $format = str_replace('.v', '.u', $format);
+ }
+ // @codeCoverageIgnoreEnd
+
+ if ($originalTz === null) {
+ return parent::createFromFormat($format, (string) $time);
+ }
+
+ $tz = \is_int($originalTz)
+ ? @timezone_name_from_abbr('', (int) ($originalTz * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE), 1)
+ : $originalTz;
+
+ $tz = static::safeCreateDateTimeZone($tz, $originalTz);
+
+ if ($tz === false) {
+ return false;
+ }
+
+ return parent::createFromFormat($format, (string) $time, $tz);
+ }
+
+ /**
+ * Create a Carbon instance from a specific format.
+ *
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function rawCreateFromFormat($format, $time, $tz = null)
+ {
+ // Work-around for https://bugs.php.net/bug.php?id=80141
+ $format = preg_replace('/(?getTimezone();
+ }
+
+ $mock = $mock->copy();
+
+ // Prepend mock datetime only if the format does not contain non escaped unix epoch reset flag.
+ if (!preg_match("/{$nonEscaped}[!|]/", $format)) {
+ if (preg_match('/[HhGgisvuB]/', $format)) {
+ $mock = $mock->setTime(0, 0);
+ }
+
+ $format = static::MOCK_DATETIME_FORMAT.' '.$format;
+ $time = ($mock instanceof self ? $mock->rawFormat(static::MOCK_DATETIME_FORMAT) : $mock->format(static::MOCK_DATETIME_FORMAT)).' '.$time;
+ }
+
+ // Regenerate date from the modified format to base result on the mocked instance instead of now.
+ $date = self::createFromFormatAndTimezone($format, $time, $tz);
+ }
+
+ if ($date instanceof DateTimeInterface) {
+ $instance = static::instance($date);
+ $instance::setLastErrors($lastErrors);
+
+ return $instance;
+ }
+
+ if (static::isStrictModeEnabled()) {
+ throw new InvalidFormatException(implode(PHP_EOL, $lastErrors['errors']));
+ }
+
+ return false;
+ }
+
+ /**
+ * Create a Carbon instance from a specific format.
+ *
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ #[ReturnTypeWillChange]
+ public static function createFromFormat($format, $time, $tz = null)
+ {
+ $function = static::$createFromFormatFunction;
+
+ if (!$function) {
+ return static::rawCreateFromFormat($format, $time, $tz);
+ }
+
+ if (\is_string($function) && method_exists(static::class, $function)) {
+ $function = [static::class, $function];
+ }
+
+ return $function(...\func_get_args());
+ }
+
+ /**
+ * Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
+ *
+ * @param string $format Datetime format
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz optional timezone
+ * @param string|null $locale locale to be used for LTS, LT, LL, LLL, etc. macro-formats (en by fault, unneeded if no such macro-format in use)
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator optional custom translator to use for macro-formats
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null)
+ {
+ $format = preg_replace_callback('/(? static::getTranslationMessageWith($translator, 'formats.LT', $locale, 'h:mm A'),
+ 'LTS' => static::getTranslationMessageWith($translator, 'formats.LTS', $locale, 'h:mm:ss A'),
+ 'L' => static::getTranslationMessageWith($translator, 'formats.L', $locale, 'MM/DD/YYYY'),
+ 'LL' => static::getTranslationMessageWith($translator, 'formats.LL', $locale, 'MMMM D, YYYY'),
+ 'LLL' => static::getTranslationMessageWith($translator, 'formats.LLL', $locale, 'MMMM D, YYYY h:mm A'),
+ 'LLLL' => static::getTranslationMessageWith($translator, 'formats.LLLL', $locale, 'dddd, MMMM D, YYYY h:mm A'),
+ ];
+ }
+
+ return $formats[$code] ?? preg_replace_callback(
+ '/MMMM|MM|DD|dddd/',
+ function ($code) {
+ return mb_substr($code[0], 1);
+ },
+ $formats[strtoupper($code)] ?? ''
+ );
+ }, $format);
+
+ $format = preg_replace_callback('/(? 'd',
+ 'OM' => 'M',
+ 'OY' => 'Y',
+ 'OH' => 'G',
+ 'Oh' => 'g',
+ 'Om' => 'i',
+ 'Os' => 's',
+ 'D' => 'd',
+ 'DD' => 'd',
+ 'Do' => 'd',
+ 'd' => '!',
+ 'dd' => '!',
+ 'ddd' => 'D',
+ 'dddd' => 'D',
+ 'DDD' => 'z',
+ 'DDDD' => 'z',
+ 'DDDo' => 'z',
+ 'e' => '!',
+ 'E' => '!',
+ 'H' => 'G',
+ 'HH' => 'H',
+ 'h' => 'g',
+ 'hh' => 'h',
+ 'k' => 'G',
+ 'kk' => 'G',
+ 'hmm' => 'gi',
+ 'hmmss' => 'gis',
+ 'Hmm' => 'Gi',
+ 'Hmmss' => 'Gis',
+ 'm' => 'i',
+ 'mm' => 'i',
+ 'a' => 'a',
+ 'A' => 'a',
+ 's' => 's',
+ 'ss' => 's',
+ 'S' => '*',
+ 'SS' => '*',
+ 'SSS' => '*',
+ 'SSSS' => '*',
+ 'SSSSS' => '*',
+ 'SSSSSS' => 'u',
+ 'SSSSSSS' => 'u*',
+ 'SSSSSSSS' => 'u*',
+ 'SSSSSSSSS' => 'u*',
+ 'M' => 'm',
+ 'MM' => 'm',
+ 'MMM' => 'M',
+ 'MMMM' => 'M',
+ 'Mo' => 'm',
+ 'Q' => '!',
+ 'Qo' => '!',
+ 'G' => '!',
+ 'GG' => '!',
+ 'GGG' => '!',
+ 'GGGG' => '!',
+ 'GGGGG' => '!',
+ 'g' => '!',
+ 'gg' => '!',
+ 'ggg' => '!',
+ 'gggg' => '!',
+ 'ggggg' => '!',
+ 'W' => '!',
+ 'WW' => '!',
+ 'Wo' => '!',
+ 'w' => '!',
+ 'ww' => '!',
+ 'wo' => '!',
+ 'x' => 'U???',
+ 'X' => 'U',
+ 'Y' => 'Y',
+ 'YY' => 'y',
+ 'YYYY' => 'Y',
+ 'YYYYY' => 'Y',
+ 'YYYYYY' => 'Y',
+ 'z' => 'e',
+ 'zz' => 'e',
+ 'Z' => 'e',
+ 'ZZ' => 'e',
+ ];
+ }
+
+ $format = $replacements[$code] ?? '?';
+
+ if ($format === '!') {
+ throw new InvalidFormatException("Format $code not supported for creation.");
+ }
+
+ return $format;
+ }, $format);
+
+ return static::rawCreateFromFormat($format, $time, $tz);
+ }
+
+ /**
+ * Create a Carbon instance from a specific format and a string in a given language.
+ *
+ * @param string $format Datetime format
+ * @param string $locale
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function createFromLocaleFormat($format, $locale, $time, $tz = null)
+ {
+ $format = preg_replace_callback(
+ '/(?:\\\\[a-zA-Z]|[bfkqCEJKQRV]){2,}/',
+ static function (array $match) use ($locale): string {
+ $word = str_replace('\\', '', $match[0]);
+ $translatedWord = static::translateTimeString($word, $locale, 'en');
+
+ return $word === $translatedWord
+ ? $match[0]
+ : preg_replace('/[a-zA-Z]/', '\\\\$0', $translatedWord);
+ },
+ $format
+ );
+
+ return static::rawCreateFromFormat($format, static::translateTimeString($time, $locale, 'en'), $tz);
+ }
+
+ /**
+ * Create a Carbon instance from a specific ISO format and a string in a given language.
+ *
+ * @param string $format Datetime ISO format
+ * @param string $locale
+ * @param string $time
+ * @param DateTimeZone|string|false|null $tz
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|false
+ */
+ public static function createFromLocaleIsoFormat($format, $locale, $time, $tz = null)
+ {
+ $time = static::translateTimeString($time, $locale, 'en', CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS | CarbonInterface::TRANSLATE_MERIDIEM);
+
+ return static::createFromIsoFormat($format, $time, $tz, $locale);
+ }
+
+ /**
+ * Make a Carbon instance from given variable if possible.
+ *
+ * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ *
+ * @param mixed $var
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static|null
+ */
+ public static function make($var)
+ {
+ if ($var instanceof DateTimeInterface) {
+ return static::instance($var);
+ }
+
+ $date = null;
+
+ if (\is_string($var)) {
+ $var = trim($var);
+
+ if (!preg_match('/^P[\dT]/', $var) &&
+ !preg_match('/^R\d/', $var) &&
+ preg_match('/[a-z\d]/i', $var)
+ ) {
+ $date = static::parse($var);
+ }
+ }
+
+ return $date;
+ }
+
+ /**
+ * Set last errors.
+ *
+ * @param array|bool $lastErrors
+ *
+ * @return void
+ */
+ private static function setLastErrors($lastErrors)
+ {
+ if (\is_array($lastErrors) || $lastErrors === false) {
+ static::$lastErrors = \is_array($lastErrors) ? $lastErrors : [
+ 'warning_count' => 0,
+ 'warnings' => [],
+ 'error_count' => 0,
+ 'errors' => [],
+ ];
+ }
+ }
+
+ /**
+ * {@inheritdoc}
+ *
+ * @return array
+ */
+ #[ReturnTypeWillChange]
+ public static function getLastErrors()
+ {
+ return static::$lastErrors;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Date.php b/vendor/nesbot/carbon/src/Carbon/Traits/Date.php
new file mode 100644
index 0000000..8ae5c17
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Date.php
@@ -0,0 +1,2747 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use BadMethodCallException;
+use Carbon\Carbon;
+use Carbon\CarbonInterface;
+use Carbon\CarbonPeriod;
+use Carbon\CarbonTimeZone;
+use Carbon\Exceptions\BadComparisonUnitException;
+use Carbon\Exceptions\ImmutableException;
+use Carbon\Exceptions\InvalidTimeZoneException;
+use Carbon\Exceptions\InvalidTypeException;
+use Carbon\Exceptions\UnknownGetterException;
+use Carbon\Exceptions\UnknownMethodException;
+use Carbon\Exceptions\UnknownSetterException;
+use Carbon\Exceptions\UnknownUnitException;
+use Closure;
+use DateInterval;
+use DatePeriod;
+use DateTime;
+use DateTimeImmutable;
+use DateTimeInterface;
+use DateTimeZone;
+use InvalidArgumentException;
+use ReflectionException;
+use ReturnTypeWillChange;
+use Throwable;
+
+/**
+ * A simple API extension for DateTime.
+ *
+ * @mixin DeprecatedProperties
+ *
+ *
+ *
+ * @property int $year
+ * @property int $yearIso
+ * @property int $month
+ * @property int $day
+ * @property int $hour
+ * @property int $minute
+ * @property int $second
+ * @property int $micro
+ * @property int $microsecond
+ * @property int|float|string $timestamp seconds since the Unix Epoch
+ * @property string $englishDayOfWeek the day of week in English
+ * @property string $shortEnglishDayOfWeek the abbreviated day of week in English
+ * @property string $englishMonth the month in English
+ * @property string $shortEnglishMonth the abbreviated month in English
+ * @property int $milliseconds
+ * @property int $millisecond
+ * @property int $milli
+ * @property int $week 1 through 53
+ * @property int $isoWeek 1 through 53
+ * @property int $weekYear year according to week format
+ * @property int $isoWeekYear year according to ISO week format
+ * @property int $dayOfYear 1 through 366
+ * @property int $age does a diffInYears() with default parameters
+ * @property int $offset the timezone offset in seconds from UTC
+ * @property int $offsetMinutes the timezone offset in minutes from UTC
+ * @property int $offsetHours the timezone offset in hours from UTC
+ * @property CarbonTimeZone $timezone the current timezone
+ * @property CarbonTimeZone $tz alias of $timezone
+ * @property-read int $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
+ * @property-read int $dayOfWeekIso 1 (for Monday) through 7 (for Sunday)
+ * @property-read int $weekOfYear ISO-8601 week number of year, weeks starting on Monday
+ * @property-read int $daysInMonth number of days in the given month
+ * @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
+ * @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
+ * @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
+ * @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
+ * @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $monthName long name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $shortMonthName short name of month translated according to Carbon locale, in english if no translation available for current language
+ * @property-read string $meridiem lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read string $upperMeridiem uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ * @property-read int $noZeroHour current hour from 1 to 24
+ * @property-read int $weeksInYear 51 through 53
+ * @property-read int $isoWeeksInYear 51 through 53
+ * @property-read int $weekOfMonth 1 through 5
+ * @property-read int $weekNumberInMonth 1 through 5
+ * @property-read int $firstWeekDay 0 through 6
+ * @property-read int $lastWeekDay 0 through 6
+ * @property-read int $daysInYear 365 or 366
+ * @property-read int $quarter the quarter of this instance, 1 - 4
+ * @property-read int $decade the decade of this instance
+ * @property-read int $century the century of this instance
+ * @property-read int $millennium the millennium of this instance
+ * @property-read bool $dst daylight savings time indicator, true if DST, false otherwise
+ * @property-read bool $local checks if the timezone is local, true if local, false otherwise
+ * @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
+ * @property-read string $timezoneName the current timezone name
+ * @property-read string $tzName alias of $timezoneName
+ * @property-read string $locale locale of the current instance
+ *
+ * @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
+ * @method bool isLocal() Check if the current instance has non-UTC timezone.
+ * @method bool isValid() Check if the current instance is a valid date.
+ * @method bool isDST() Check if the current instance is in a daylight saving time.
+ * @method bool isSunday() Checks if the instance day is sunday.
+ * @method bool isMonday() Checks if the instance day is monday.
+ * @method bool isTuesday() Checks if the instance day is tuesday.
+ * @method bool isWednesday() Checks if the instance day is wednesday.
+ * @method bool isThursday() Checks if the instance day is thursday.
+ * @method bool isFriday() Checks if the instance day is friday.
+ * @method bool isSaturday() Checks if the instance day is saturday.
+ * @method bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentYear() Checks if the instance is in the same year as the current moment.
+ * @method bool isNextYear() Checks if the instance is in the same year as the current moment next year.
+ * @method bool isLastYear() Checks if the instance is in the same year as the current moment last year.
+ * @method bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
+ * @method bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
+ * @method bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
+ * @method bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDay() Checks if the instance is in the same day as the current moment.
+ * @method bool isNextDay() Checks if the instance is in the same day as the current moment next day.
+ * @method bool isLastDay() Checks if the instance is in the same day as the current moment last day.
+ * @method bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
+ * @method bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
+ * @method bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
+ * @method bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
+ * @method bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
+ * @method bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
+ * @method bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
+ * @method bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
+ * @method bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
+ * @method bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
+ * @method bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
+ * @method bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
+ * @method bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
+ * @method bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
+ * @method bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
+ * @method bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
+ * @method bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
+ * @method bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
+ * @method bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
+ * @method bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
+ * @method bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
+ * @method bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
+ * @method bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
+ * @method bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
+ * @method bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
+ * @method bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
+ * @method bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
+ * @method bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
+ * @method CarbonInterface years(int $value) Set current instance year to the given value.
+ * @method CarbonInterface year(int $value) Set current instance year to the given value.
+ * @method CarbonInterface setYears(int $value) Set current instance year to the given value.
+ * @method CarbonInterface setYear(int $value) Set current instance year to the given value.
+ * @method CarbonInterface months(int $value) Set current instance month to the given value.
+ * @method CarbonInterface month(int $value) Set current instance month to the given value.
+ * @method CarbonInterface setMonths(int $value) Set current instance month to the given value.
+ * @method CarbonInterface setMonth(int $value) Set current instance month to the given value.
+ * @method CarbonInterface days(int $value) Set current instance day to the given value.
+ * @method CarbonInterface day(int $value) Set current instance day to the given value.
+ * @method CarbonInterface setDays(int $value) Set current instance day to the given value.
+ * @method CarbonInterface setDay(int $value) Set current instance day to the given value.
+ * @method CarbonInterface hours(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface hour(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface setHours(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface setHour(int $value) Set current instance hour to the given value.
+ * @method CarbonInterface minutes(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface minute(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface setMinutes(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface setMinute(int $value) Set current instance minute to the given value.
+ * @method CarbonInterface seconds(int $value) Set current instance second to the given value.
+ * @method CarbonInterface second(int $value) Set current instance second to the given value.
+ * @method CarbonInterface setSeconds(int $value) Set current instance second to the given value.
+ * @method CarbonInterface setSecond(int $value) Set current instance second to the given value.
+ * @method CarbonInterface millis(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface milli(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMillis(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMilli(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface milliseconds(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface millisecond(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMilliseconds(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface setMillisecond(int $value) Set current instance millisecond to the given value.
+ * @method CarbonInterface micros(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface micro(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicros(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicro(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface microseconds(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface microsecond(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicroseconds(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface setMicrosecond(int $value) Set current instance microsecond to the given value.
+ * @method CarbonInterface addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addYear() Add one year to the instance (using date interval).
+ * @method CarbonInterface subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subYear() Sub one year to the instance (using date interval).
+ * @method CarbonInterface addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMonth() Add one month to the instance (using date interval).
+ * @method CarbonInterface subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMonth() Sub one month to the instance (using date interval).
+ * @method CarbonInterface addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addDay() Add one day to the instance (using date interval).
+ * @method CarbonInterface subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subDay() Sub one day to the instance (using date interval).
+ * @method CarbonInterface addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addHour() Add one hour to the instance (using date interval).
+ * @method CarbonInterface subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subHour() Sub one hour to the instance (using date interval).
+ * @method CarbonInterface addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMinute() Add one minute to the instance (using date interval).
+ * @method CarbonInterface subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMinute() Sub one minute to the instance (using date interval).
+ * @method CarbonInterface addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addSecond() Add one second to the instance (using date interval).
+ * @method CarbonInterface subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subSecond() Sub one second to the instance (using date interval).
+ * @method CarbonInterface addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMilli() Add one millisecond to the instance (using date interval).
+ * @method CarbonInterface subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMilli() Sub one millisecond to the instance (using date interval).
+ * @method CarbonInterface addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMillisecond() Add one millisecond to the instance (using date interval).
+ * @method CarbonInterface subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMillisecond() Sub one millisecond to the instance (using date interval).
+ * @method CarbonInterface addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMicro() Add one microsecond to the instance (using date interval).
+ * @method CarbonInterface subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMicro() Sub one microsecond to the instance (using date interval).
+ * @method CarbonInterface addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMicrosecond() Add one microsecond to the instance (using date interval).
+ * @method CarbonInterface subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMicrosecond() Sub one microsecond to the instance (using date interval).
+ * @method CarbonInterface addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addMillennium() Add one millennium to the instance (using date interval).
+ * @method CarbonInterface subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subMillennium() Sub one millennium to the instance (using date interval).
+ * @method CarbonInterface addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addCentury() Add one century to the instance (using date interval).
+ * @method CarbonInterface subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subCentury() Sub one century to the instance (using date interval).
+ * @method CarbonInterface addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addDecade() Add one decade to the instance (using date interval).
+ * @method CarbonInterface subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subDecade() Sub one decade to the instance (using date interval).
+ * @method CarbonInterface addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addQuarter() Add one quarter to the instance (using date interval).
+ * @method CarbonInterface subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subQuarter() Sub one quarter to the instance (using date interval).
+ * @method CarbonInterface addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
+ * @method CarbonInterface addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
+ * @method CarbonInterface addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addWeek() Add one week to the instance (using date interval).
+ * @method CarbonInterface subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subWeek() Sub one week to the instance (using date interval).
+ * @method CarbonInterface addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface addWeekday() Add one weekday to the instance (using date interval).
+ * @method CarbonInterface subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
+ * @method CarbonInterface subWeekday() Sub one weekday to the instance (using date interval).
+ * @method CarbonInterface addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMicro() Add one microsecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMicro() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method CarbonInterface addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMicrosecond() Add one microsecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
+ * @method CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
+ * @method CarbonInterface addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMilli() Add one millisecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMilli() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method CarbonInterface addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMillisecond() Add one millisecond to the instance (using timestamp).
+ * @method CarbonInterface subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMillisecond() Sub one millisecond to the instance (using timestamp).
+ * @method CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
+ * @method CarbonInterface addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealSecond() Add one second to the instance (using timestamp).
+ * @method CarbonInterface subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealSecond() Sub one second to the instance (using timestamp).
+ * @method CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
+ * @method CarbonInterface addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMinute() Add one minute to the instance (using timestamp).
+ * @method CarbonInterface subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMinute() Sub one minute to the instance (using timestamp).
+ * @method CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
+ * @method CarbonInterface addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealHour() Add one hour to the instance (using timestamp).
+ * @method CarbonInterface subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealHour() Sub one hour to the instance (using timestamp).
+ * @method CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
+ * @method CarbonInterface addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealDay() Add one day to the instance (using timestamp).
+ * @method CarbonInterface subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealDay() Sub one day to the instance (using timestamp).
+ * @method CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
+ * @method CarbonInterface addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealWeek() Add one week to the instance (using timestamp).
+ * @method CarbonInterface subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealWeek() Sub one week to the instance (using timestamp).
+ * @method CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
+ * @method CarbonInterface addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMonth() Add one month to the instance (using timestamp).
+ * @method CarbonInterface subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMonth() Sub one month to the instance (using timestamp).
+ * @method CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
+ * @method CarbonInterface addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealQuarter() Add one quarter to the instance (using timestamp).
+ * @method CarbonInterface subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealQuarter() Sub one quarter to the instance (using timestamp).
+ * @method CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
+ * @method CarbonInterface addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealYear() Add one year to the instance (using timestamp).
+ * @method CarbonInterface subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealYear() Sub one year to the instance (using timestamp).
+ * @method CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
+ * @method CarbonInterface addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealDecade() Add one decade to the instance (using timestamp).
+ * @method CarbonInterface subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealDecade() Sub one decade to the instance (using timestamp).
+ * @method CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
+ * @method CarbonInterface addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealCentury() Add one century to the instance (using timestamp).
+ * @method CarbonInterface subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealCentury() Sub one century to the instance (using timestamp).
+ * @method CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
+ * @method CarbonInterface addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface addRealMillennium() Add one millennium to the instance (using timestamp).
+ * @method CarbonInterface subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
+ * @method CarbonInterface subRealMillennium() Sub one millennium to the instance (using timestamp).
+ * @method CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
+ * @method CarbonInterface roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method CarbonInterface roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
+ * @method CarbonInterface floorYear(float $precision = 1) Truncate the current instance year with given precision.
+ * @method CarbonInterface floorYears(float $precision = 1) Truncate the current instance year with given precision.
+ * @method CarbonInterface ceilYear(float $precision = 1) Ceil the current instance year with given precision.
+ * @method CarbonInterface ceilYears(float $precision = 1) Ceil the current instance year with given precision.
+ * @method CarbonInterface roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method CarbonInterface roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
+ * @method CarbonInterface floorMonth(float $precision = 1) Truncate the current instance month with given precision.
+ * @method CarbonInterface floorMonths(float $precision = 1) Truncate the current instance month with given precision.
+ * @method CarbonInterface ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
+ * @method CarbonInterface ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
+ * @method CarbonInterface roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method CarbonInterface roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
+ * @method CarbonInterface floorDay(float $precision = 1) Truncate the current instance day with given precision.
+ * @method CarbonInterface floorDays(float $precision = 1) Truncate the current instance day with given precision.
+ * @method CarbonInterface ceilDay(float $precision = 1) Ceil the current instance day with given precision.
+ * @method CarbonInterface ceilDays(float $precision = 1) Ceil the current instance day with given precision.
+ * @method CarbonInterface roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method CarbonInterface roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
+ * @method CarbonInterface floorHour(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method CarbonInterface floorHours(float $precision = 1) Truncate the current instance hour with given precision.
+ * @method CarbonInterface ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method CarbonInterface ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
+ * @method CarbonInterface roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method CarbonInterface roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
+ * @method CarbonInterface floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method CarbonInterface floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
+ * @method CarbonInterface ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method CarbonInterface ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
+ * @method CarbonInterface roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method CarbonInterface roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
+ * @method CarbonInterface floorSecond(float $precision = 1) Truncate the current instance second with given precision.
+ * @method CarbonInterface floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
+ * @method CarbonInterface ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
+ * @method CarbonInterface ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
+ * @method CarbonInterface roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method CarbonInterface roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
+ * @method CarbonInterface floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method CarbonInterface floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
+ * @method CarbonInterface ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method CarbonInterface ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
+ * @method CarbonInterface roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method CarbonInterface roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
+ * @method CarbonInterface floorCentury(float $precision = 1) Truncate the current instance century with given precision.
+ * @method CarbonInterface floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
+ * @method CarbonInterface ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
+ * @method CarbonInterface ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
+ * @method CarbonInterface roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method CarbonInterface roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
+ * @method CarbonInterface floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method CarbonInterface floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
+ * @method CarbonInterface ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method CarbonInterface ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
+ * @method CarbonInterface roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method CarbonInterface roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
+ * @method CarbonInterface floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method CarbonInterface floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
+ * @method CarbonInterface ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method CarbonInterface ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
+ * @method CarbonInterface roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method CarbonInterface roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
+ * @method CarbonInterface floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method CarbonInterface floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
+ * @method CarbonInterface ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method CarbonInterface ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
+ * @method CarbonInterface roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method CarbonInterface roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
+ * @method CarbonInterface floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method CarbonInterface floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
+ * @method CarbonInterface ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method CarbonInterface ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
+ * @method string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ * @method string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
+ *
+ *
+ */
+trait Date
+{
+ use Boundaries;
+ use Comparison;
+ use Converter;
+ use Creator;
+ use Difference;
+ use Macro;
+ use MagicParameter;
+ use Modifiers;
+ use Mutability;
+ use ObjectInitialisation;
+ use Options;
+ use Rounding;
+ use Serialization;
+ use Test;
+ use Timestamp;
+ use Units;
+ use Week;
+
+ /**
+ * Names of days of the week.
+ *
+ * @var array
+ */
+ protected static $days = [
+ // @call isDayOfWeek
+ CarbonInterface::SUNDAY => 'Sunday',
+ // @call isDayOfWeek
+ CarbonInterface::MONDAY => 'Monday',
+ // @call isDayOfWeek
+ CarbonInterface::TUESDAY => 'Tuesday',
+ // @call isDayOfWeek
+ CarbonInterface::WEDNESDAY => 'Wednesday',
+ // @call isDayOfWeek
+ CarbonInterface::THURSDAY => 'Thursday',
+ // @call isDayOfWeek
+ CarbonInterface::FRIDAY => 'Friday',
+ // @call isDayOfWeek
+ CarbonInterface::SATURDAY => 'Saturday',
+ ];
+
+ /**
+ * Will UTF8 encoding be used to print localized date/time ?
+ *
+ * @var bool
+ */
+ protected static $utf8 = false;
+
+ /**
+ * List of unit and magic methods associated as doc-comments.
+ *
+ * @var array
+ */
+ protected static $units = [
+ // @call setUnit
+ // @call addUnit
+ 'year',
+ // @call setUnit
+ // @call addUnit
+ 'month',
+ // @call setUnit
+ // @call addUnit
+ 'day',
+ // @call setUnit
+ // @call addUnit
+ 'hour',
+ // @call setUnit
+ // @call addUnit
+ 'minute',
+ // @call setUnit
+ // @call addUnit
+ 'second',
+ // @call setUnit
+ // @call addUnit
+ 'milli',
+ // @call setUnit
+ // @call addUnit
+ 'millisecond',
+ // @call setUnit
+ // @call addUnit
+ 'micro',
+ // @call setUnit
+ // @call addUnit
+ 'microsecond',
+ ];
+
+ /**
+ * Creates a DateTimeZone from a string, DateTimeZone or integer offset.
+ *
+ * @param DateTimeZone|string|int|null $object original value to get CarbonTimeZone from it.
+ * @param DateTimeZone|string|int|null $objectDump dump of the object for error messages.
+ *
+ * @throws InvalidTimeZoneException
+ *
+ * @return CarbonTimeZone|false
+ */
+ protected static function safeCreateDateTimeZone($object, $objectDump = null)
+ {
+ return CarbonTimeZone::instance($object, $objectDump);
+ }
+
+ /**
+ * Get the TimeZone associated with the Carbon instance (as CarbonTimeZone).
+ *
+ * @return CarbonTimeZone
+ *
+ * @link https://php.net/manual/en/datetime.gettimezone.php
+ */
+ #[ReturnTypeWillChange]
+ public function getTimezone()
+ {
+ return CarbonTimeZone::instance(parent::getTimezone());
+ }
+
+ /**
+ * List of minimum and maximums for each unit.
+ *
+ * @param int $daysInMonth
+ *
+ * @return array
+ */
+ protected static function getRangesByUnit(int $daysInMonth = 31): array
+ {
+ return [
+ // @call roundUnit
+ 'year' => [1, 9999],
+ // @call roundUnit
+ 'month' => [1, static::MONTHS_PER_YEAR],
+ // @call roundUnit
+ 'day' => [1, $daysInMonth],
+ // @call roundUnit
+ 'hour' => [0, static::HOURS_PER_DAY - 1],
+ // @call roundUnit
+ 'minute' => [0, static::MINUTES_PER_HOUR - 1],
+ // @call roundUnit
+ 'second' => [0, static::SECONDS_PER_MINUTE - 1],
+ ];
+ }
+
+ /**
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function copy()
+ {
+ return clone $this;
+ }
+
+ /**
+ * @alias copy
+ *
+ * Get a copy of the instance.
+ *
+ * @return static
+ */
+ public function clone()
+ {
+ return clone $this;
+ }
+
+ /**
+ * Clone the current instance if it's mutable.
+ *
+ * This method is convenient to ensure you don't mutate the initial object
+ * but avoid to make a useless copy of it if it's already immutable.
+ *
+ * @return static
+ */
+ public function avoidMutation(): self
+ {
+ if ($this instanceof DateTimeImmutable) {
+ return $this;
+ }
+
+ return clone $this;
+ }
+
+ /**
+ * Returns a present instance in the same timezone.
+ *
+ * @return static
+ */
+ public function nowWithSameTz()
+ {
+ return static::now($this->getTimezone());
+ }
+
+ /**
+ * Throws an exception if the given object is not a DateTime and does not implement DateTimeInterface.
+ *
+ * @param mixed $date
+ * @param string|array $other
+ *
+ * @throws InvalidTypeException
+ */
+ protected static function expectDateTime($date, $other = [])
+ {
+ $message = 'Expected ';
+ foreach ((array) $other as $expect) {
+ $message .= "$expect, ";
+ }
+
+ if (!$date instanceof DateTime && !$date instanceof DateTimeInterface) {
+ throw new InvalidTypeException(
+ $message.'DateTime or DateTimeInterface, '.
+ (\is_object($date) ? \get_class($date) : \gettype($date)).' given'
+ );
+ }
+ }
+
+ /**
+ * Return the Carbon instance passed through, a now instance in the same timezone
+ * if null given or parse the input if string given.
+ *
+ * @param Carbon|DateTimeInterface|string|null $date
+ *
+ * @return static
+ */
+ protected function resolveCarbon($date = null)
+ {
+ if (!$date) {
+ return $this->nowWithSameTz();
+ }
+
+ if (\is_string($date)) {
+ return static::parse($date, $this->getTimezone());
+ }
+
+ static::expectDateTime($date, ['null', 'string']);
+
+ return $date instanceof self ? $date : static::instance($date);
+ }
+
+ /**
+ * Return the Carbon instance passed through, a now instance in UTC
+ * if null given or parse the input if string given (using current timezone
+ * then switching to UTC).
+ *
+ * @param Carbon|DateTimeInterface|string|null $date
+ *
+ * @return static
+ */
+ protected function resolveUTC($date = null): self
+ {
+ if (!$date) {
+ return static::now('UTC');
+ }
+
+ if (\is_string($date)) {
+ return static::parse($date, $this->getTimezone())->utc();
+ }
+
+ static::expectDateTime($date, ['null', 'string']);
+
+ return $date instanceof self ? $date : static::instance($date)->utc();
+ }
+
+ /**
+ * Return the Carbon instance passed through, a now instance in the same timezone
+ * if null given or parse the input if string given.
+ *
+ * @param Carbon|\Carbon\CarbonPeriod|\Carbon\CarbonInterval|\DateInterval|\DatePeriod|DateTimeInterface|string|null $date
+ *
+ * @return static
+ */
+ public function carbonize($date = null)
+ {
+ if ($date instanceof DateInterval) {
+ return $this->avoidMutation()->add($date);
+ }
+
+ if ($date instanceof DatePeriod || $date instanceof CarbonPeriod) {
+ $date = $date->getStartDate();
+ }
+
+ return $this->resolveCarbon($date);
+ }
+
+ ///////////////////////////////////////////////////////////////////
+ ///////////////////////// GETTERS AND SETTERS /////////////////////
+ ///////////////////////////////////////////////////////////////////
+
+ /**
+ * Get a part of the Carbon object
+ *
+ * @param string $name
+ *
+ * @throws UnknownGetterException
+ *
+ * @return string|int|bool|DateTimeZone|null
+ */
+ public function __get($name)
+ {
+ return $this->get($name);
+ }
+
+ /**
+ * Get a part of the Carbon object
+ *
+ * @param string $name
+ *
+ * @throws UnknownGetterException
+ *
+ * @return string|int|bool|DateTimeZone|null
+ */
+ public function get($name)
+ {
+ static $formats = [
+ // @property int
+ 'year' => 'Y',
+ // @property int
+ 'yearIso' => 'o',
+ // @property int
+ // @call isSameUnit
+ 'month' => 'n',
+ // @property int
+ 'day' => 'j',
+ // @property int
+ 'hour' => 'G',
+ // @property int
+ 'minute' => 'i',
+ // @property int
+ 'second' => 's',
+ // @property int
+ 'micro' => 'u',
+ // @property int
+ 'microsecond' => 'u',
+ // @property-read int 0 (for Sunday) through 6 (for Saturday)
+ 'dayOfWeek' => 'w',
+ // @property-read int 1 (for Monday) through 7 (for Sunday)
+ 'dayOfWeekIso' => 'N',
+ // @property-read int ISO-8601 week number of year, weeks starting on Monday
+ 'weekOfYear' => 'W',
+ // @property-read int number of days in the given month
+ 'daysInMonth' => 't',
+ // @property int|float|string seconds since the Unix Epoch
+ 'timestamp' => 'U',
+ // @property-read string "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
+ 'latinMeridiem' => 'a',
+ // @property-read string "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
+ 'latinUpperMeridiem' => 'A',
+ // @property string the day of week in English
+ 'englishDayOfWeek' => 'l',
+ // @property string the abbreviated day of week in English
+ 'shortEnglishDayOfWeek' => 'D',
+ // @property string the month in English
+ 'englishMonth' => 'F',
+ // @property string the abbreviated month in English
+ 'shortEnglishMonth' => 'M',
+ // @property string the day of week in current locale LC_TIME
+ // @deprecated
+ // reason: It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ // replacement: Use ->isoFormat('MMM') instead.
+ // since: 2.55.0
+ 'localeDayOfWeek' => '%A',
+ // @property string the abbreviated day of week in current locale LC_TIME
+ // @deprecated
+ // reason: It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ // replacement: Use ->isoFormat('dddd') instead.
+ // since: 2.55.0
+ 'shortLocaleDayOfWeek' => '%a',
+ // @property string the month in current locale LC_TIME
+ // @deprecated
+ // reason: It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ // replacement: Use ->isoFormat('ddd') instead.
+ // since: 2.55.0
+ 'localeMonth' => '%B',
+ // @property string the abbreviated month in current locale LC_TIME
+ // @deprecated
+ // reason: It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ // replacement: Use ->isoFormat('MMMM') instead.
+ // since: 2.55.0
+ 'shortLocaleMonth' => '%b',
+ // @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
+ 'timezoneAbbreviatedName' => 'T',
+ // @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
+ 'tzAbbrName' => 'T',
+ ];
+
+ switch (true) {
+ case isset($formats[$name]):
+ $format = $formats[$name];
+ $method = str_starts_with($format, '%') ? 'formatLocalized' : 'rawFormat';
+ $value = $this->$method($format);
+
+ return is_numeric($value) ? (int) $value : $value;
+
+ // @property-read string long name of weekday translated according to Carbon locale, in english if no translation available for current language
+ case $name === 'dayName':
+ return $this->getTranslatedDayName();
+ // @property-read string short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ case $name === 'shortDayName':
+ return $this->getTranslatedShortDayName();
+ // @property-read string very short name of weekday translated according to Carbon locale, in english if no translation available for current language
+ case $name === 'minDayName':
+ return $this->getTranslatedMinDayName();
+ // @property-read string long name of month translated according to Carbon locale, in english if no translation available for current language
+ case $name === 'monthName':
+ return $this->getTranslatedMonthName();
+ // @property-read string short name of month translated according to Carbon locale, in english if no translation available for current language
+ case $name === 'shortMonthName':
+ return $this->getTranslatedShortMonthName();
+ // @property-read string lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ case $name === 'meridiem':
+ return $this->meridiem(true);
+ // @property-read string uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
+ case $name === 'upperMeridiem':
+ return $this->meridiem();
+ // @property-read int current hour from 1 to 24
+ case $name === 'noZeroHour':
+ return $this->hour ?: 24;
+ // @property int
+ case $name === 'milliseconds':
+ // @property int
+ case $name === 'millisecond':
+ // @property int
+ case $name === 'milli':
+ return (int) floor(((int) $this->rawFormat('u')) / 1000);
+
+ // @property int 1 through 53
+ case $name === 'week':
+ return (int) $this->week();
+
+ // @property int 1 through 53
+ case $name === 'isoWeek':
+ return (int) $this->isoWeek();
+
+ // @property int year according to week format
+ case $name === 'weekYear':
+ return (int) $this->weekYear();
+
+ // @property int year according to ISO week format
+ case $name === 'isoWeekYear':
+ return (int) $this->isoWeekYear();
+
+ // @property-read int 51 through 53
+ case $name === 'weeksInYear':
+ return $this->weeksInYear();
+
+ // @property-read int 51 through 53
+ case $name === 'isoWeeksInYear':
+ return $this->isoWeeksInYear();
+
+ // @property-read int 1 through 5
+ case $name === 'weekOfMonth':
+ return (int) ceil($this->day / static::DAYS_PER_WEEK);
+
+ // @property-read int 1 through 5
+ case $name === 'weekNumberInMonth':
+ return (int) ceil(($this->day + $this->avoidMutation()->startOfMonth()->dayOfWeekIso - 1) / static::DAYS_PER_WEEK);
+
+ // @property-read int 0 through 6
+ case $name === 'firstWeekDay':
+ return $this->localTranslator ? ($this->getTranslationMessage('first_day_of_week') ?? 0) : static::getWeekStartsAt();
+
+ // @property-read int 0 through 6
+ case $name === 'lastWeekDay':
+ return $this->localTranslator ? (($this->getTranslationMessage('first_day_of_week') ?? 0) + static::DAYS_PER_WEEK - 1) % static::DAYS_PER_WEEK : static::getWeekEndsAt();
+
+ // @property int 1 through 366
+ case $name === 'dayOfYear':
+ return 1 + (int) ($this->rawFormat('z'));
+
+ // @property-read int 365 or 366
+ case $name === 'daysInYear':
+ return $this->isLeapYear() ? 366 : 365;
+
+ // @property int does a diffInYears() with default parameters
+ case $name === 'age':
+ return $this->diffInYears();
+
+ // @property-read int the quarter of this instance, 1 - 4
+ // @call isSameUnit
+ case $name === 'quarter':
+ return (int) ceil($this->month / static::MONTHS_PER_QUARTER);
+
+ // @property-read int the decade of this instance
+ // @call isSameUnit
+ case $name === 'decade':
+ return (int) ceil($this->year / static::YEARS_PER_DECADE);
+
+ // @property-read int the century of this instance
+ // @call isSameUnit
+ case $name === 'century':
+ $factor = 1;
+ $year = $this->year;
+ if ($year < 0) {
+ $year = -$year;
+ $factor = -1;
+ }
+
+ return (int) ($factor * ceil($year / static::YEARS_PER_CENTURY));
+
+ // @property-read int the millennium of this instance
+ // @call isSameUnit
+ case $name === 'millennium':
+ $factor = 1;
+ $year = $this->year;
+ if ($year < 0) {
+ $year = -$year;
+ $factor = -1;
+ }
+
+ return (int) ($factor * ceil($year / static::YEARS_PER_MILLENNIUM));
+
+ // @property int the timezone offset in seconds from UTC
+ case $name === 'offset':
+ return $this->getOffset();
+
+ // @property int the timezone offset in minutes from UTC
+ case $name === 'offsetMinutes':
+ return $this->getOffset() / static::SECONDS_PER_MINUTE;
+
+ // @property int the timezone offset in hours from UTC
+ case $name === 'offsetHours':
+ return $this->getOffset() / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR;
+
+ // @property-read bool daylight savings time indicator, true if DST, false otherwise
+ case $name === 'dst':
+ return $this->rawFormat('I') === '1';
+
+ // @property-read bool checks if the timezone is local, true if local, false otherwise
+ case $name === 'local':
+ return $this->getOffset() === $this->avoidMutation()->setTimezone(date_default_timezone_get())->getOffset();
+
+ // @property-read bool checks if the timezone is UTC, true if UTC, false otherwise
+ case $name === 'utc':
+ return $this->getOffset() === 0;
+
+ // @property CarbonTimeZone $timezone the current timezone
+ // @property CarbonTimeZone $tz alias of $timezone
+ case $name === 'timezone' || $name === 'tz':
+ return CarbonTimeZone::instance($this->getTimezone());
+
+ // @property-read string $timezoneName the current timezone name
+ // @property-read string $tzName alias of $timezoneName
+ case $name === 'timezoneName' || $name === 'tzName':
+ return $this->getTimezone()->getName();
+
+ // @property-read string locale of the current instance
+ case $name === 'locale':
+ return $this->getTranslatorLocale();
+
+ default:
+ $macro = $this->getLocalMacro('get'.ucfirst($name));
+
+ if ($macro) {
+ return $this->executeCallableWithContext($macro);
+ }
+
+ throw new UnknownGetterException($name);
+ }
+ }
+
+ /**
+ * Check if an attribute exists on the object
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public function __isset($name)
+ {
+ try {
+ $this->__get($name);
+ } catch (UnknownGetterException | ReflectionException $e) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Set a part of the Carbon object
+ *
+ * @param string $name
+ * @param string|int|DateTimeZone $value
+ *
+ * @throws UnknownSetterException|ReflectionException
+ *
+ * @return void
+ */
+ public function __set($name, $value)
+ {
+ if ($this->constructedObjectId === spl_object_hash($this)) {
+ $this->set($name, $value);
+
+ return;
+ }
+
+ $this->$name = $value;
+ }
+
+ /**
+ * Set a part of the Carbon object
+ *
+ * @param string|array $name
+ * @param string|int|DateTimeZone $value
+ *
+ * @throws ImmutableException|UnknownSetterException
+ *
+ * @return $this
+ */
+ public function set($name, $value = null)
+ {
+ if ($this->isImmutable()) {
+ throw new ImmutableException(sprintf('%s class', static::class));
+ }
+
+ if (\is_array($name)) {
+ foreach ($name as $key => $value) {
+ $this->set($key, $value);
+ }
+
+ return $this;
+ }
+
+ switch ($name) {
+ case 'milliseconds':
+ case 'millisecond':
+ case 'milli':
+ case 'microseconds':
+ case 'microsecond':
+ case 'micro':
+ if (str_starts_with($name, 'milli')) {
+ $value *= 1000;
+ }
+
+ while ($value < 0) {
+ $this->subSecond();
+ $value += static::MICROSECONDS_PER_SECOND;
+ }
+
+ while ($value >= static::MICROSECONDS_PER_SECOND) {
+ $this->addSecond();
+ $value -= static::MICROSECONDS_PER_SECOND;
+ }
+
+ $this->modify($this->rawFormat('H:i:s.').str_pad((string) round($value), 6, '0', STR_PAD_LEFT));
+
+ break;
+
+ case 'year':
+ case 'month':
+ case 'day':
+ case 'hour':
+ case 'minute':
+ case 'second':
+ [$year, $month, $day, $hour, $minute, $second] = array_map('intval', explode('-', $this->rawFormat('Y-n-j-G-i-s')));
+ $$name = $value;
+ $this->setDateTime($year, $month, $day, $hour, $minute, $second);
+
+ break;
+
+ case 'week':
+ $this->week($value);
+
+ break;
+
+ case 'isoWeek':
+ $this->isoWeek($value);
+
+ break;
+
+ case 'weekYear':
+ $this->weekYear($value);
+
+ break;
+
+ case 'isoWeekYear':
+ $this->isoWeekYear($value);
+
+ break;
+
+ case 'dayOfYear':
+ $this->addDays($value - $this->dayOfYear);
+
+ break;
+
+ case 'timestamp':
+ $this->setTimestamp($value);
+
+ break;
+
+ case 'offset':
+ $this->setTimezone(static::safeCreateDateTimeZone($value / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR));
+
+ break;
+
+ case 'offsetMinutes':
+ $this->setTimezone(static::safeCreateDateTimeZone($value / static::MINUTES_PER_HOUR));
+
+ break;
+
+ case 'offsetHours':
+ $this->setTimezone(static::safeCreateDateTimeZone($value));
+
+ break;
+
+ case 'timezone':
+ case 'tz':
+ $this->setTimezone($value);
+
+ break;
+
+ default:
+ $macro = $this->getLocalMacro('set'.ucfirst($name));
+
+ if ($macro) {
+ $this->executeCallableWithContext($macro, $value);
+
+ break;
+ }
+
+ if ($this->localStrictModeEnabled ?? static::isStrictModeEnabled()) {
+ throw new UnknownSetterException($name);
+ }
+
+ $this->$name = $value;
+ }
+
+ return $this;
+ }
+
+ protected function getTranslatedFormByRegExp($baseKey, $keySuffix, $context, $subKey, $defaultValue)
+ {
+ $key = $baseKey.$keySuffix;
+ $standaloneKey = "{$key}_standalone";
+ $baseTranslation = $this->getTranslationMessage($key);
+
+ if ($baseTranslation instanceof Closure) {
+ return $baseTranslation($this, $context, $subKey) ?: $defaultValue;
+ }
+
+ if (
+ $this->getTranslationMessage("$standaloneKey.$subKey") &&
+ (!$context || (($regExp = $this->getTranslationMessage("{$baseKey}_regexp")) && !preg_match($regExp, $context)))
+ ) {
+ $key = $standaloneKey;
+ }
+
+ return $this->getTranslationMessage("$key.$subKey", null, $defaultValue);
+ }
+
+ /**
+ * Get the translation of the current week day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ * @param string $keySuffix "", "_short" or "_min"
+ * @param string|null $defaultValue default value if translation missing
+ *
+ * @return string
+ */
+ public function getTranslatedDayName($context = null, $keySuffix = '', $defaultValue = null)
+ {
+ return $this->getTranslatedFormByRegExp('weekdays', $keySuffix, $context, $this->dayOfWeek, $defaultValue ?: $this->englishDayOfWeek);
+ }
+
+ /**
+ * Get the translation of the current short week day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ *
+ * @return string
+ */
+ public function getTranslatedShortDayName($context = null)
+ {
+ return $this->getTranslatedDayName($context, '_short', $this->shortEnglishDayOfWeek);
+ }
+
+ /**
+ * Get the translation of the current abbreviated week day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ *
+ * @return string
+ */
+ public function getTranslatedMinDayName($context = null)
+ {
+ return $this->getTranslatedDayName($context, '_min', $this->shortEnglishDayOfWeek);
+ }
+
+ /**
+ * Get the translation of the current month day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ * @param string $keySuffix "" or "_short"
+ * @param string|null $defaultValue default value if translation missing
+ *
+ * @return string
+ */
+ public function getTranslatedMonthName($context = null, $keySuffix = '', $defaultValue = null)
+ {
+ return $this->getTranslatedFormByRegExp('months', $keySuffix, $context, $this->month - 1, $defaultValue ?: $this->englishMonth);
+ }
+
+ /**
+ * Get the translation of the current short month day name (with context for languages with multiple forms).
+ *
+ * @param string|null $context whole format string
+ *
+ * @return string
+ */
+ public function getTranslatedShortMonthName($context = null)
+ {
+ return $this->getTranslatedMonthName($context, '_short', $this->shortEnglishMonth);
+ }
+
+ /**
+ * Get/set the day of year.
+ *
+ * @param int|null $value new value for day of year if using as setter.
+ *
+ * @return static|int
+ */
+ public function dayOfYear($value = null)
+ {
+ $dayOfYear = $this->dayOfYear;
+
+ return $value === null ? $dayOfYear : $this->addDays($value - $dayOfYear);
+ }
+
+ /**
+ * Get/set the weekday from 0 (Sunday) to 6 (Saturday).
+ *
+ * @param int|null $value new value for weekday if using as setter.
+ *
+ * @return static|int
+ */
+ public function weekday($value = null)
+ {
+ if ($value === null) {
+ return $this->dayOfWeek;
+ }
+
+ $firstDay = (int) ($this->getTranslationMessage('first_day_of_week') ?? 0);
+ $dayOfWeek = ($this->dayOfWeek + 7 - $firstDay) % 7;
+
+ return $this->addDays((($value + 7 - $firstDay) % 7) - $dayOfWeek);
+ }
+
+ /**
+ * Get/set the ISO weekday from 1 (Monday) to 7 (Sunday).
+ *
+ * @param int|null $value new value for weekday if using as setter.
+ *
+ * @return static|int
+ */
+ public function isoWeekday($value = null)
+ {
+ $dayOfWeekIso = $this->dayOfWeekIso;
+
+ return $value === null ? $dayOfWeekIso : $this->addDays($value - $dayOfWeekIso);
+ }
+
+ /**
+ * Return the number of days since the start of the week (using the current locale or the first parameter
+ * if explicitly given).
+ *
+ * @param int|null $weekStartsAt optional start allow you to specify the day of week to use to start the week,
+ * if not provided, start of week is inferred from the locale
+ * (Sunday for en_US, Monday for de_DE, etc.)
+ *
+ * @return int
+ */
+ public function getDaysFromStartOfWeek(int $weekStartsAt = null): int
+ {
+ $firstDay = (int) ($weekStartsAt ?? $this->getTranslationMessage('first_day_of_week') ?? 0);
+
+ return ($this->dayOfWeek + 7 - $firstDay) % 7;
+ }
+
+ /**
+ * Set the day (keeping the current time) to the start of the week + the number of days passed as the first
+ * parameter. First day of week is driven by the locale unless explicitly set with the second parameter.
+ *
+ * @param int $numberOfDays number of days to add after the start of the current week
+ * @param int|null $weekStartsAt optional start allow you to specify the day of week to use to start the week,
+ * if not provided, start of week is inferred from the locale
+ * (Sunday for en_US, Monday for de_DE, etc.)
+ *
+ * @return static
+ */
+ public function setDaysFromStartOfWeek(int $numberOfDays, int $weekStartsAt = null)
+ {
+ return $this->addDays($numberOfDays - $this->getDaysFromStartOfWeek($weekStartsAt));
+ }
+
+ /**
+ * Set any unit to a new value without overflowing current other unit given.
+ *
+ * @param string $valueUnit unit name to modify
+ * @param int $value new value for the input unit
+ * @param string $overflowUnit unit name to not overflow
+ *
+ * @return static
+ */
+ public function setUnitNoOverflow($valueUnit, $value, $overflowUnit)
+ {
+ try {
+ $original = $this->avoidMutation();
+ /** @var static $date */
+ $date = $this->$valueUnit($value);
+ $end = $original->avoidMutation()->endOf($overflowUnit);
+ $start = $original->avoidMutation()->startOf($overflowUnit);
+ if ($date < $start) {
+ $date = $date->setDateTimeFrom($start);
+ } elseif ($date > $end) {
+ $date = $date->setDateTimeFrom($end);
+ }
+
+ return $date;
+ } catch (BadMethodCallException | ReflectionException $exception) {
+ throw new UnknownUnitException($valueUnit, 0, $exception);
+ }
+ }
+
+ /**
+ * Add any unit to a new value without overflowing current other unit given.
+ *
+ * @param string $valueUnit unit name to modify
+ * @param int $value amount to add to the input unit
+ * @param string $overflowUnit unit name to not overflow
+ *
+ * @return static
+ */
+ public function addUnitNoOverflow($valueUnit, $value, $overflowUnit)
+ {
+ return $this->setUnitNoOverflow($valueUnit, $this->$valueUnit + $value, $overflowUnit);
+ }
+
+ /**
+ * Subtract any unit to a new value without overflowing current other unit given.
+ *
+ * @param string $valueUnit unit name to modify
+ * @param int $value amount to subtract to the input unit
+ * @param string $overflowUnit unit name to not overflow
+ *
+ * @return static
+ */
+ public function subUnitNoOverflow($valueUnit, $value, $overflowUnit)
+ {
+ return $this->setUnitNoOverflow($valueUnit, $this->$valueUnit - $value, $overflowUnit);
+ }
+
+ /**
+ * Returns the minutes offset to UTC if no arguments passed, else set the timezone with given minutes shift passed.
+ *
+ * @param int|null $minuteOffset
+ *
+ * @return int|static
+ */
+ public function utcOffset(int $minuteOffset = null)
+ {
+ if (\func_num_args() < 1) {
+ return $this->offsetMinutes;
+ }
+
+ return $this->setTimezone(CarbonTimeZone::createFromMinuteOffset($minuteOffset));
+ }
+
+ /**
+ * Set the date with gregorian year, month and day numbers.
+ *
+ * @see https://php.net/manual/en/datetime.setdate.php
+ *
+ * @param int $year
+ * @param int $month
+ * @param int $day
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setDate($year, $month, $day)
+ {
+ return parent::setDate((int) $year, (int) $month, (int) $day);
+ }
+
+ /**
+ * Set a date according to the ISO 8601 standard - using weeks and day offsets rather than specific dates.
+ *
+ * @see https://php.net/manual/en/datetime.setisodate.php
+ *
+ * @param int $year
+ * @param int $week
+ * @param int $day
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setISODate($year, $week, $day = 1)
+ {
+ return parent::setISODate((int) $year, (int) $week, (int) $day);
+ }
+
+ /**
+ * Set the date and time all together.
+ *
+ * @param int $year
+ * @param int $month
+ * @param int $day
+ * @param int $hour
+ * @param int $minute
+ * @param int $second
+ * @param int $microseconds
+ *
+ * @return static
+ */
+ public function setDateTime($year, $month, $day, $hour, $minute, $second = 0, $microseconds = 0)
+ {
+ return $this->setDate($year, $month, $day)->setTime((int) $hour, (int) $minute, (int) $second, (int) $microseconds);
+ }
+
+ /**
+ * Resets the current time of the DateTime object to a different time.
+ *
+ * @see https://php.net/manual/en/datetime.settime.php
+ *
+ * @param int $hour
+ * @param int $minute
+ * @param int $second
+ * @param int $microseconds
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setTime($hour, $minute, $second = 0, $microseconds = 0)
+ {
+ return parent::setTime((int) $hour, (int) $minute, (int) $second, (int) $microseconds);
+ }
+
+ /**
+ * Set the instance's timestamp.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $unixTimestamp
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setTimestamp($unixTimestamp)
+ {
+ [$timestamp, $microseconds] = self::getIntegerAndDecimalParts($unixTimestamp);
+
+ return parent::setTimestamp((int) $timestamp)->setMicroseconds((int) $microseconds);
+ }
+
+ /**
+ * Set the time by time string.
+ *
+ * @param string $time
+ *
+ * @return static
+ */
+ public function setTimeFromTimeString($time)
+ {
+ if (!str_contains($time, ':')) {
+ $time .= ':0';
+ }
+
+ return $this->modify($time);
+ }
+
+ /**
+ * @alias setTimezone
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static
+ */
+ public function timezone($value)
+ {
+ return $this->setTimezone($value);
+ }
+
+ /**
+ * Set the timezone or returns the timezone name if no arguments passed.
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static|string
+ */
+ public function tz($value = null)
+ {
+ if (\func_num_args() < 1) {
+ return $this->tzName;
+ }
+
+ return $this->setTimezone($value);
+ }
+
+ /**
+ * Set the instance's timezone from a string or object.
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function setTimezone($value)
+ {
+ $tz = static::safeCreateDateTimeZone($value);
+
+ if ($tz === false && !self::isStrictModeEnabled()) {
+ $tz = new CarbonTimeZone();
+ }
+
+ return parent::setTimezone($tz);
+ }
+
+ /**
+ * Set the instance's timezone from a string or object and add/subtract the offset difference.
+ *
+ * @param DateTimeZone|string $value
+ *
+ * @return static
+ */
+ public function shiftTimezone($value)
+ {
+ $dateTimeString = $this->format('Y-m-d H:i:s.u');
+
+ return $this
+ ->setTimezone($value)
+ ->modify($dateTimeString);
+ }
+
+ /**
+ * Set the instance's timezone to UTC.
+ *
+ * @return static
+ */
+ public function utc()
+ {
+ return $this->setTimezone('UTC');
+ }
+
+ /**
+ * Set the year, month, and date for this instance to that of the passed instance.
+ *
+ * @param Carbon|DateTimeInterface $date now if null
+ *
+ * @return static
+ */
+ public function setDateFrom($date = null)
+ {
+ $date = $this->resolveCarbon($date);
+
+ return $this->setDate($date->year, $date->month, $date->day);
+ }
+
+ /**
+ * Set the hour, minute, second and microseconds for this instance to that of the passed instance.
+ *
+ * @param Carbon|DateTimeInterface $date now if null
+ *
+ * @return static
+ */
+ public function setTimeFrom($date = null)
+ {
+ $date = $this->resolveCarbon($date);
+
+ return $this->setTime($date->hour, $date->minute, $date->second, $date->microsecond);
+ }
+
+ /**
+ * Set the date and time for this instance to that of the passed instance.
+ *
+ * @param Carbon|DateTimeInterface $date
+ *
+ * @return static
+ */
+ public function setDateTimeFrom($date = null)
+ {
+ $date = $this->resolveCarbon($date);
+
+ return $this->modify($date->rawFormat('Y-m-d H:i:s.u'));
+ }
+
+ /**
+ * Get the days of the week
+ *
+ * @return array
+ */
+ public static function getDays()
+ {
+ return static::$days;
+ }
+
+ ///////////////////////////////////////////////////////////////////
+ /////////////////////// WEEK SPECIAL DAYS /////////////////////////
+ ///////////////////////////////////////////////////////////////////
+
+ private static function getFirstDayOfWeek(): int
+ {
+ return (int) static::getTranslationMessageWith(
+ static::getTranslator(),
+ 'first_day_of_week'
+ );
+ }
+
+ /**
+ * Get the first day of week
+ *
+ * @return int
+ */
+ public static function getWeekStartsAt()
+ {
+ if (static::$weekStartsAt === static::WEEK_DAY_AUTO) {
+ return self::getFirstDayOfWeek();
+ }
+
+ return static::$weekStartsAt;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
+ * 'first_day_of_week' locale setting to change the start of week according to current locale
+ * selected and implicitly the end of week.
+ *
+ * Set the first day of week
+ *
+ * @param int|string $day week start day (or 'auto' to get the first day of week from Carbon::getLocale() culture).
+ *
+ * @return void
+ */
+ public static function setWeekStartsAt($day)
+ {
+ static::$weekStartsAt = $day === static::WEEK_DAY_AUTO ? $day : max(0, (7 + $day) % 7);
+ }
+
+ /**
+ * Get the last day of week
+ *
+ * @return int
+ */
+ public static function getWeekEndsAt()
+ {
+ if (static::$weekStartsAt === static::WEEK_DAY_AUTO) {
+ return (int) (static::DAYS_PER_WEEK - 1 + self::getFirstDayOfWeek()) % static::DAYS_PER_WEEK;
+ }
+
+ return static::$weekEndsAt;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
+ * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
+ * start of week according to current locale selected and implicitly the end of week.
+ *
+ * Set the last day of week
+ *
+ * @param int|string $day week end day (or 'auto' to get the day before the first day of week
+ * from Carbon::getLocale() culture).
+ *
+ * @return void
+ */
+ public static function setWeekEndsAt($day)
+ {
+ static::$weekEndsAt = $day === static::WEEK_DAY_AUTO ? $day : max(0, (7 + $day) % 7);
+ }
+
+ /**
+ * Get weekend days
+ *
+ * @return array
+ */
+ public static function getWeekendDays()
+ {
+ return static::$weekendDays;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider week-end is always saturday and sunday, and if you have some custom
+ * week-end days to handle, give to those days an other name and create a macro for them:
+ *
+ * ```
+ * Carbon::macro('isDayOff', function ($date) {
+ * return $date->isSunday() || $date->isMonday();
+ * });
+ * Carbon::macro('isNotDayOff', function ($date) {
+ * return !$date->isDayOff();
+ * });
+ * if ($someDate->isDayOff()) ...
+ * if ($someDate->isNotDayOff()) ...
+ * // Add 5 not-off days
+ * $count = 5;
+ * while ($someDate->isDayOff() || ($count-- > 0)) {
+ * $someDate->addDay();
+ * }
+ * ```
+ *
+ * Set weekend days
+ *
+ * @param array $days
+ *
+ * @return void
+ */
+ public static function setWeekendDays($days)
+ {
+ static::$weekendDays = $days;
+ }
+
+ /**
+ * Determine if a time string will produce a relative date.
+ *
+ * @param string $time
+ *
+ * @return bool true if time match a relative date, false if absolute or invalid time string
+ */
+ public static function hasRelativeKeywords($time)
+ {
+ if (!$time || strtotime($time) === false) {
+ return false;
+ }
+
+ $date1 = new DateTime('2000-01-01T00:00:00Z');
+ $date1->modify($time);
+ $date2 = new DateTime('2001-12-25T00:00:00Z');
+ $date2->modify($time);
+
+ return $date1 != $date2;
+ }
+
+ ///////////////////////////////////////////////////////////////////
+ /////////////////////// STRING FORMATTING /////////////////////////
+ ///////////////////////////////////////////////////////////////////
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use UTF-8 language packages on every machine.
+ *
+ * Set if UTF8 will be used for localized date/time.
+ *
+ * @param bool $utf8
+ */
+ public static function setUtf8($utf8)
+ {
+ static::$utf8 = $utf8;
+ }
+
+ /**
+ * Format the instance with the current locale. You can set the current
+ * locale using setlocale() https://php.net/setlocale.
+ *
+ * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ * Use ->isoFormat() instead.
+ * Deprecated since 2.55.0
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ public function formatLocalized($format)
+ {
+ // Check for Windows to find and replace the %e modifier correctly.
+ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
+ $format = preg_replace('#(?toDateTimeString());
+ $formatted = ($this->localStrictModeEnabled ?? static::isStrictModeEnabled())
+ ? strftime($format, $time)
+ : @strftime($format, $time);
+
+ return static::$utf8
+ ? (
+ \function_exists('mb_convert_encoding')
+ ? mb_convert_encoding($formatted, 'UTF-8', mb_list_encodings())
+ : utf8_encode($formatted)
+ )
+ : $formatted;
+ }
+
+ /**
+ * Returns list of locale formats for ISO formatting.
+ *
+ * @param string|null $locale current locale used if null
+ *
+ * @return array
+ */
+ public function getIsoFormats($locale = null)
+ {
+ return [
+ 'LT' => $this->getTranslationMessage('formats.LT', $locale, 'h:mm A'),
+ 'LTS' => $this->getTranslationMessage('formats.LTS', $locale, 'h:mm:ss A'),
+ 'L' => $this->getTranslationMessage('formats.L', $locale, 'MM/DD/YYYY'),
+ 'LL' => $this->getTranslationMessage('formats.LL', $locale, 'MMMM D, YYYY'),
+ 'LLL' => $this->getTranslationMessage('formats.LLL', $locale, 'MMMM D, YYYY h:mm A'),
+ 'LLLL' => $this->getTranslationMessage('formats.LLLL', $locale, 'dddd, MMMM D, YYYY h:mm A'),
+ 'l' => $this->getTranslationMessage('formats.l', $locale),
+ 'll' => $this->getTranslationMessage('formats.ll', $locale),
+ 'lll' => $this->getTranslationMessage('formats.lll', $locale),
+ 'llll' => $this->getTranslationMessage('formats.llll', $locale),
+ ];
+ }
+
+ /**
+ * Returns list of calendar formats for ISO formatting.
+ *
+ * @param string|null $locale current locale used if null
+ *
+ * @return array
+ */
+ public function getCalendarFormats($locale = null)
+ {
+ return [
+ 'sameDay' => $this->getTranslationMessage('calendar.sameDay', $locale, '[Today at] LT'),
+ 'nextDay' => $this->getTranslationMessage('calendar.nextDay', $locale, '[Tomorrow at] LT'),
+ 'nextWeek' => $this->getTranslationMessage('calendar.nextWeek', $locale, 'dddd [at] LT'),
+ 'lastDay' => $this->getTranslationMessage('calendar.lastDay', $locale, '[Yesterday at] LT'),
+ 'lastWeek' => $this->getTranslationMessage('calendar.lastWeek', $locale, '[Last] dddd [at] LT'),
+ 'sameElse' => $this->getTranslationMessage('calendar.sameElse', $locale, 'L'),
+ ];
+ }
+
+ /**
+ * Returns list of locale units for ISO formatting.
+ *
+ * @return array
+ */
+ public static function getIsoUnits()
+ {
+ static $units = null;
+
+ if ($units === null) {
+ $units = [
+ 'OD' => ['getAltNumber', ['day']],
+ 'OM' => ['getAltNumber', ['month']],
+ 'OY' => ['getAltNumber', ['year']],
+ 'OH' => ['getAltNumber', ['hour']],
+ 'Oh' => ['getAltNumber', ['h']],
+ 'Om' => ['getAltNumber', ['minute']],
+ 'Os' => ['getAltNumber', ['second']],
+ 'D' => 'day',
+ 'DD' => ['rawFormat', ['d']],
+ 'Do' => ['ordinal', ['day', 'D']],
+ 'd' => 'dayOfWeek',
+ 'dd' => function (CarbonInterface $date, $originalFormat = null) {
+ return $date->getTranslatedMinDayName($originalFormat);
+ },
+ 'ddd' => function (CarbonInterface $date, $originalFormat = null) {
+ return $date->getTranslatedShortDayName($originalFormat);
+ },
+ 'dddd' => function (CarbonInterface $date, $originalFormat = null) {
+ return $date->getTranslatedDayName($originalFormat);
+ },
+ 'DDD' => 'dayOfYear',
+ 'DDDD' => ['getPaddedUnit', ['dayOfYear', 3]],
+ 'DDDo' => ['ordinal', ['dayOfYear', 'DDD']],
+ 'e' => ['weekday', []],
+ 'E' => 'dayOfWeekIso',
+ 'H' => ['rawFormat', ['G']],
+ 'HH' => ['rawFormat', ['H']],
+ 'h' => ['rawFormat', ['g']],
+ 'hh' => ['rawFormat', ['h']],
+ 'k' => 'noZeroHour',
+ 'kk' => ['getPaddedUnit', ['noZeroHour']],
+ 'hmm' => ['rawFormat', ['gi']],
+ 'hmmss' => ['rawFormat', ['gis']],
+ 'Hmm' => ['rawFormat', ['Gi']],
+ 'Hmmss' => ['rawFormat', ['Gis']],
+ 'm' => 'minute',
+ 'mm' => ['rawFormat', ['i']],
+ 'a' => 'meridiem',
+ 'A' => 'upperMeridiem',
+ 's' => 'second',
+ 'ss' => ['getPaddedUnit', ['second']],
+ 'S' => function (CarbonInterface $date) {
+ return (string) floor($date->micro / 100000);
+ },
+ 'SS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro / 10000), 2, '0', STR_PAD_LEFT);
+ },
+ 'SSS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro / 1000), 3, '0', STR_PAD_LEFT);
+ },
+ 'SSSS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro / 100), 4, '0', STR_PAD_LEFT);
+ },
+ 'SSSSS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro / 10), 5, '0', STR_PAD_LEFT);
+ },
+ 'SSSSSS' => ['getPaddedUnit', ['micro', 6]],
+ 'SSSSSSS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro * 10), 7, '0', STR_PAD_LEFT);
+ },
+ 'SSSSSSSS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro * 100), 8, '0', STR_PAD_LEFT);
+ },
+ 'SSSSSSSSS' => function (CarbonInterface $date) {
+ return str_pad((string) floor($date->micro * 1000), 9, '0', STR_PAD_LEFT);
+ },
+ 'M' => 'month',
+ 'MM' => ['rawFormat', ['m']],
+ 'MMM' => function (CarbonInterface $date, $originalFormat = null) {
+ $month = $date->getTranslatedShortMonthName($originalFormat);
+ $suffix = $date->getTranslationMessage('mmm_suffix');
+ if ($suffix && $month !== $date->monthName) {
+ $month .= $suffix;
+ }
+
+ return $month;
+ },
+ 'MMMM' => function (CarbonInterface $date, $originalFormat = null) {
+ return $date->getTranslatedMonthName($originalFormat);
+ },
+ 'Mo' => ['ordinal', ['month', 'M']],
+ 'Q' => 'quarter',
+ 'Qo' => ['ordinal', ['quarter', 'M']],
+ 'G' => 'isoWeekYear',
+ 'GG' => ['getPaddedUnit', ['isoWeekYear']],
+ 'GGG' => ['getPaddedUnit', ['isoWeekYear', 3]],
+ 'GGGG' => ['getPaddedUnit', ['isoWeekYear', 4]],
+ 'GGGGG' => ['getPaddedUnit', ['isoWeekYear', 5]],
+ 'g' => 'weekYear',
+ 'gg' => ['getPaddedUnit', ['weekYear']],
+ 'ggg' => ['getPaddedUnit', ['weekYear', 3]],
+ 'gggg' => ['getPaddedUnit', ['weekYear', 4]],
+ 'ggggg' => ['getPaddedUnit', ['weekYear', 5]],
+ 'W' => 'isoWeek',
+ 'WW' => ['getPaddedUnit', ['isoWeek']],
+ 'Wo' => ['ordinal', ['isoWeek', 'W']],
+ 'w' => 'week',
+ 'ww' => ['getPaddedUnit', ['week']],
+ 'wo' => ['ordinal', ['week', 'w']],
+ 'x' => ['valueOf', []],
+ 'X' => 'timestamp',
+ 'Y' => 'year',
+ 'YY' => ['rawFormat', ['y']],
+ 'YYYY' => ['getPaddedUnit', ['year', 4]],
+ 'YYYYY' => ['getPaddedUnit', ['year', 5]],
+ 'YYYYYY' => function (CarbonInterface $date) {
+ return ($date->year < 0 ? '' : '+').$date->getPaddedUnit('year', 6);
+ },
+ 'z' => ['rawFormat', ['T']],
+ 'zz' => 'tzName',
+ 'Z' => ['getOffsetString', []],
+ 'ZZ' => ['getOffsetString', ['']],
+ ];
+ }
+
+ return $units;
+ }
+
+ /**
+ * Returns a unit of the instance padded with 0 by default or any other string if specified.
+ *
+ * @param string $unit Carbon unit name
+ * @param int $length Length of the output (2 by default)
+ * @param string $padString String to use for padding ("0" by default)
+ * @param int $padType Side(s) to pad (STR_PAD_LEFT by default)
+ *
+ * @return string
+ */
+ public function getPaddedUnit($unit, $length = 2, $padString = '0', $padType = STR_PAD_LEFT)
+ {
+ return ($this->$unit < 0 ? '-' : '').str_pad((string) abs($this->$unit), $length, $padString, $padType);
+ }
+
+ /**
+ * Return a property with its ordinal.
+ *
+ * @param string $key
+ * @param string|null $period
+ *
+ * @return string
+ */
+ public function ordinal(string $key, ?string $period = null): string
+ {
+ $number = $this->$key;
+ $result = $this->translate('ordinal', [
+ ':number' => $number,
+ ':period' => (string) $period,
+ ]);
+
+ return (string) ($result === 'ordinal' ? $number : $result);
+ }
+
+ /**
+ * Return the meridiem of the current time in the current locale.
+ *
+ * @param bool $isLower if true, returns lowercase variant if available in the current locale.
+ *
+ * @return string
+ */
+ public function meridiem(bool $isLower = false): string
+ {
+ $hour = $this->hour;
+ $index = $hour < 12 ? 0 : 1;
+
+ if ($isLower) {
+ $key = 'meridiem.'.($index + 2);
+ $result = $this->translate($key);
+
+ if ($result !== $key) {
+ return $result;
+ }
+ }
+
+ $key = "meridiem.$index";
+ $result = $this->translate($key);
+ if ($result === $key) {
+ $result = $this->translate('meridiem', [
+ ':hour' => $this->hour,
+ ':minute' => $this->minute,
+ ':isLower' => $isLower,
+ ]);
+
+ if ($result === 'meridiem') {
+ return $isLower ? $this->latinMeridiem : $this->latinUpperMeridiem;
+ }
+ } elseif ($isLower) {
+ $result = mb_strtolower($result);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Returns the alternative number for a given date property if available in the current locale.
+ *
+ * @param string $key date property
+ *
+ * @return string
+ */
+ public function getAltNumber(string $key): string
+ {
+ return $this->translateNumber(\strlen($key) > 1 ? $this->$key : $this->rawFormat('h'));
+ }
+
+ /**
+ * Format in the current language using ISO replacement patterns.
+ *
+ * @param string $format
+ * @param string|null $originalFormat provide context if a chunk has been passed alone
+ *
+ * @return string
+ */
+ public function isoFormat(string $format, ?string $originalFormat = null): string
+ {
+ $result = '';
+ $length = mb_strlen($format);
+ $originalFormat = $originalFormat ?: $format;
+ $inEscaped = false;
+ $formats = null;
+ $units = null;
+
+ for ($i = 0; $i < $length; $i++) {
+ $char = mb_substr($format, $i, 1);
+
+ if ($char === '\\') {
+ $result .= mb_substr($format, ++$i, 1);
+
+ continue;
+ }
+
+ if ($char === '[' && !$inEscaped) {
+ $inEscaped = true;
+
+ continue;
+ }
+
+ if ($char === ']' && $inEscaped) {
+ $inEscaped = false;
+
+ continue;
+ }
+
+ if ($inEscaped) {
+ $result .= $char;
+
+ continue;
+ }
+
+ $input = mb_substr($format, $i);
+
+ if (preg_match('/^(LTS|LT|l{1,4}|L{1,4})/', $input, $match)) {
+ if ($formats === null) {
+ $formats = $this->getIsoFormats();
+ }
+
+ $code = $match[0];
+ $sequence = $formats[$code] ?? preg_replace_callback(
+ '/MMMM|MM|DD|dddd/',
+ function ($code) {
+ return mb_substr($code[0], 1);
+ },
+ $formats[strtoupper($code)] ?? ''
+ );
+ $rest = mb_substr($format, $i + mb_strlen($code));
+ $format = mb_substr($format, 0, $i).$sequence.$rest;
+ $length = mb_strlen($format);
+ $input = $sequence.$rest;
+ }
+
+ if (preg_match('/^'.CarbonInterface::ISO_FORMAT_REGEXP.'/', $input, $match)) {
+ $code = $match[0];
+
+ if ($units === null) {
+ $units = static::getIsoUnits();
+ }
+
+ $sequence = $units[$code] ?? '';
+
+ if ($sequence instanceof Closure) {
+ $sequence = $sequence($this, $originalFormat);
+ } elseif (\is_array($sequence)) {
+ try {
+ $sequence = $this->{$sequence[0]}(...$sequence[1]);
+ } catch (ReflectionException | InvalidArgumentException | BadMethodCallException $e) {
+ $sequence = '';
+ }
+ } elseif (\is_string($sequence)) {
+ $sequence = $this->$sequence ?? $code;
+ }
+
+ $format = mb_substr($format, 0, $i).$sequence.mb_substr($format, $i + mb_strlen($code));
+ $i += mb_strlen((string) $sequence) - 1;
+ $length = mb_strlen($format);
+ $char = $sequence;
+ }
+
+ $result .= $char;
+ }
+
+ return $result;
+ }
+
+ /**
+ * List of replacements from date() format to isoFormat().
+ *
+ * @return array
+ */
+ public static function getFormatsToIsoReplacements()
+ {
+ static $replacements = null;
+
+ if ($replacements === null) {
+ $replacements = [
+ 'd' => true,
+ 'D' => 'ddd',
+ 'j' => true,
+ 'l' => 'dddd',
+ 'N' => true,
+ 'S' => function ($date) {
+ $day = $date->rawFormat('j');
+
+ return str_replace((string) $day, '', $date->isoFormat('Do'));
+ },
+ 'w' => true,
+ 'z' => true,
+ 'W' => true,
+ 'F' => 'MMMM',
+ 'm' => true,
+ 'M' => 'MMM',
+ 'n' => true,
+ 't' => true,
+ 'L' => true,
+ 'o' => true,
+ 'Y' => true,
+ 'y' => true,
+ 'a' => 'a',
+ 'A' => 'A',
+ 'B' => true,
+ 'g' => true,
+ 'G' => true,
+ 'h' => true,
+ 'H' => true,
+ 'i' => true,
+ 's' => true,
+ 'u' => true,
+ 'v' => true,
+ 'E' => true,
+ 'I' => true,
+ 'O' => true,
+ 'P' => true,
+ 'Z' => true,
+ 'c' => true,
+ 'r' => true,
+ 'U' => true,
+ 'T' => true,
+ ];
+ }
+
+ return $replacements;
+ }
+
+ /**
+ * Format as ->format() do (using date replacements patterns from https://php.net/manual/en/function.date.php)
+ * but translate words whenever possible (months, day names, etc.) using the current locale.
+ *
+ * @param string $format
+ *
+ * @return string
+ */
+ public function translatedFormat(string $format): string
+ {
+ $replacements = static::getFormatsToIsoReplacements();
+ $context = '';
+ $isoFormat = '';
+ $length = mb_strlen($format);
+
+ for ($i = 0; $i < $length; $i++) {
+ $char = mb_substr($format, $i, 1);
+
+ if ($char === '\\') {
+ $replacement = mb_substr($format, $i, 2);
+ $isoFormat .= $replacement;
+ $i++;
+
+ continue;
+ }
+
+ if (!isset($replacements[$char])) {
+ $replacement = preg_match('/^[A-Za-z]$/', $char) ? "\\$char" : $char;
+ $isoFormat .= $replacement;
+ $context .= $replacement;
+
+ continue;
+ }
+
+ $replacement = $replacements[$char];
+
+ if ($replacement === true) {
+ static $contextReplacements = null;
+
+ if ($contextReplacements === null) {
+ $contextReplacements = [
+ 'm' => 'MM',
+ 'd' => 'DD',
+ 't' => 'D',
+ 'j' => 'D',
+ 'N' => 'e',
+ 'w' => 'e',
+ 'n' => 'M',
+ 'o' => 'YYYY',
+ 'Y' => 'YYYY',
+ 'y' => 'YY',
+ 'g' => 'h',
+ 'G' => 'H',
+ 'h' => 'hh',
+ 'H' => 'HH',
+ 'i' => 'mm',
+ 's' => 'ss',
+ ];
+ }
+
+ $isoFormat .= '['.$this->rawFormat($char).']';
+ $context .= $contextReplacements[$char] ?? ' ';
+
+ continue;
+ }
+
+ if ($replacement instanceof Closure) {
+ $replacement = '['.$replacement($this).']';
+ $isoFormat .= $replacement;
+ $context .= $replacement;
+
+ continue;
+ }
+
+ $isoFormat .= $replacement;
+ $context .= $replacement;
+ }
+
+ return $this->isoFormat($isoFormat, $context);
+ }
+
+ /**
+ * Returns the offset hour and minute formatted with +/- and a given separator (":" by default).
+ * For example, if the time zone is 9 hours 30 minutes, you'll get "+09:30", with "@@" as first
+ * argument, "+09@@30", with "" as first argument, "+0930". Negative offset will return something
+ * like "-12:00".
+ *
+ * @param string $separator string to place between hours and minutes (":" by default)
+ *
+ * @return string
+ */
+ public function getOffsetString($separator = ':')
+ {
+ $second = $this->getOffset();
+ $symbol = $second < 0 ? '-' : '+';
+ $minute = abs($second) / static::SECONDS_PER_MINUTE;
+ $hour = str_pad((string) floor($minute / static::MINUTES_PER_HOUR), 2, '0', STR_PAD_LEFT);
+ $minute = str_pad((string) (((int) $minute) % static::MINUTES_PER_HOUR), 2, '0', STR_PAD_LEFT);
+
+ return "$symbol$hour$separator$minute";
+ }
+
+ protected static function executeStaticCallable($macro, ...$parameters)
+ {
+ return static::bindMacroContext(null, function () use (&$macro, &$parameters) {
+ if ($macro instanceof Closure) {
+ $boundMacro = @Closure::bind($macro, null, static::class);
+
+ return ($boundMacro ?: $macro)(...$parameters);
+ }
+
+ return $macro(...$parameters);
+ });
+ }
+
+ /**
+ * Dynamically handle calls to the class.
+ *
+ * @param string $method magic method name called
+ * @param array $parameters parameters list
+ *
+ * @throws BadMethodCallException
+ *
+ * @return mixed
+ */
+ public static function __callStatic($method, $parameters)
+ {
+ if (!static::hasMacro($method)) {
+ foreach (static::getGenericMacros() as $callback) {
+ try {
+ return static::executeStaticCallable($callback, $method, ...$parameters);
+ } catch (BadMethodCallException $exception) {
+ continue;
+ }
+ }
+ if (static::isStrictModeEnabled()) {
+ throw new UnknownMethodException(sprintf('%s::%s', static::class, $method));
+ }
+
+ return null;
+ }
+
+ return static::executeStaticCallable(static::$globalMacros[$method], ...$parameters);
+ }
+
+ /**
+ * Set specified unit to new given value.
+ *
+ * @param string $unit year, month, day, hour, minute, second or microsecond
+ * @param int $value new value for given unit
+ *
+ * @return static
+ */
+ public function setUnit($unit, $value = null)
+ {
+ $unit = static::singularUnit($unit);
+ $dateUnits = ['year', 'month', 'day'];
+ if (\in_array($unit, $dateUnits)) {
+ return $this->setDate(...array_map(function ($name) use ($unit, $value) {
+ return (int) ($name === $unit ? $value : $this->$name);
+ }, $dateUnits));
+ }
+
+ $units = ['hour', 'minute', 'second', 'micro'];
+ if ($unit === 'millisecond' || $unit === 'milli') {
+ $value *= 1000;
+ $unit = 'micro';
+ } elseif ($unit === 'microsecond') {
+ $unit = 'micro';
+ }
+
+ return $this->setTime(...array_map(function ($name) use ($unit, $value) {
+ return (int) ($name === $unit ? $value : $this->$name);
+ }, $units));
+ }
+
+ /**
+ * Returns standardized singular of a given singular/plural unit name (in English).
+ *
+ * @param string $unit
+ *
+ * @return string
+ */
+ public static function singularUnit(string $unit): string
+ {
+ $unit = rtrim(mb_strtolower($unit), 's');
+
+ if ($unit === 'centurie') {
+ return 'century';
+ }
+
+ if ($unit === 'millennia') {
+ return 'millennium';
+ }
+
+ return $unit;
+ }
+
+ /**
+ * Returns standardized plural of a given singular/plural unit name (in English).
+ *
+ * @param string $unit
+ *
+ * @return string
+ */
+ public static function pluralUnit(string $unit): string
+ {
+ $unit = rtrim(strtolower($unit), 's');
+
+ if ($unit === 'century') {
+ return 'centuries';
+ }
+
+ if ($unit === 'millennium' || $unit === 'millennia') {
+ return 'millennia';
+ }
+
+ return "{$unit}s";
+ }
+
+ protected function executeCallable($macro, ...$parameters)
+ {
+ if ($macro instanceof Closure) {
+ $boundMacro = @$macro->bindTo($this, static::class) ?: @$macro->bindTo(null, static::class);
+
+ return ($boundMacro ?: $macro)(...$parameters);
+ }
+
+ return $macro(...$parameters);
+ }
+
+ protected function executeCallableWithContext($macro, ...$parameters)
+ {
+ return static::bindMacroContext($this, function () use (&$macro, &$parameters) {
+ return $this->executeCallable($macro, ...$parameters);
+ });
+ }
+
+ protected static function getGenericMacros()
+ {
+ foreach (static::$globalGenericMacros as $list) {
+ foreach ($list as $macro) {
+ yield $macro;
+ }
+ }
+ }
+
+ /**
+ * Dynamically handle calls to the class.
+ *
+ * @param string $method magic method name called
+ * @param array $parameters parameters list
+ *
+ * @throws UnknownMethodException|BadMethodCallException|ReflectionException|Throwable
+ *
+ * @return mixed
+ */
+ public function __call($method, $parameters)
+ {
+ $diffSizes = [
+ // @mode diffForHumans
+ 'short' => true,
+ // @mode diffForHumans
+ 'long' => false,
+ ];
+ $diffSyntaxModes = [
+ // @call diffForHumans
+ 'Absolute' => CarbonInterface::DIFF_ABSOLUTE,
+ // @call diffForHumans
+ 'Relative' => CarbonInterface::DIFF_RELATIVE_AUTO,
+ // @call diffForHumans
+ 'RelativeToNow' => CarbonInterface::DIFF_RELATIVE_TO_NOW,
+ // @call diffForHumans
+ 'RelativeToOther' => CarbonInterface::DIFF_RELATIVE_TO_OTHER,
+ ];
+ $sizePattern = implode('|', array_keys($diffSizes));
+ $syntaxPattern = implode('|', array_keys($diffSyntaxModes));
+
+ if (preg_match("/^(?$sizePattern)(?$syntaxPattern)DiffForHumans$/", $method, $match)) {
+ $dates = array_filter($parameters, function ($parameter) {
+ return $parameter instanceof DateTimeInterface;
+ });
+ $other = null;
+
+ if (\count($dates)) {
+ $key = key($dates);
+ $other = current($dates);
+ array_splice($parameters, $key, 1);
+ }
+
+ return $this->diffForHumans($other, $diffSyntaxModes[$match['syntax']], $diffSizes[$match['size']], ...$parameters);
+ }
+
+ $roundedValue = $this->callRoundMethod($method, $parameters);
+
+ if ($roundedValue !== null) {
+ return $roundedValue;
+ }
+
+ $unit = rtrim($method, 's');
+
+ if (str_starts_with($unit, 'is')) {
+ $word = substr($unit, 2);
+
+ if (\in_array($word, static::$days, true)) {
+ return $this->isDayOfWeek($word);
+ }
+
+ switch ($word) {
+ // @call is Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
+ case 'Utc':
+ case 'UTC':
+ return $this->utc;
+ // @call is Check if the current instance has non-UTC timezone.
+ case 'Local':
+ return $this->local;
+ // @call is Check if the current instance is a valid date.
+ case 'Valid':
+ return $this->year !== 0;
+ // @call is Check if the current instance is in a daylight saving time.
+ case 'DST':
+ return $this->dst;
+ }
+ }
+
+ $action = substr($unit, 0, 3);
+ $overflow = null;
+
+ if ($action === 'set') {
+ $unit = strtolower(substr($unit, 3));
+ }
+
+ if (\in_array($unit, static::$units, true)) {
+ return $this->setUnit($unit, ...$parameters);
+ }
+
+ if ($action === 'add' || $action === 'sub') {
+ $unit = substr($unit, 3);
+
+ if (str_starts_with($unit, 'Real')) {
+ $unit = static::singularUnit(substr($unit, 4));
+
+ return $this->{"{$action}RealUnit"}($unit, ...$parameters);
+ }
+
+ if (preg_match('/^(Month|Quarter|Year|Decade|Century|Centurie|Millennium|Millennia)s?(No|With|Without|WithNo)Overflow$/', $unit, $match)) {
+ $unit = $match[1];
+ $overflow = $match[2] === 'With';
+ }
+
+ $unit = static::singularUnit($unit);
+ }
+
+ if (static::isModifiableUnit($unit)) {
+ return $this->{"{$action}Unit"}($unit, $this->getMagicParameter($parameters, 0, 'value', 1), $overflow);
+ }
+
+ $sixFirstLetters = substr($unit, 0, 6);
+ $factor = -1;
+
+ if ($sixFirstLetters === 'isLast') {
+ $sixFirstLetters = 'isNext';
+ $factor = 1;
+ }
+
+ if ($sixFirstLetters === 'isNext') {
+ $lowerUnit = strtolower(substr($unit, 6));
+
+ if (static::isModifiableUnit($lowerUnit)) {
+ return $this->copy()->addUnit($lowerUnit, $factor, false)->isSameUnit($lowerUnit, ...$parameters);
+ }
+ }
+
+ if ($sixFirstLetters === 'isSame') {
+ try {
+ return $this->isSameUnit(strtolower(substr($unit, 6)), ...$parameters);
+ } catch (BadComparisonUnitException $exception) {
+ // Try next
+ }
+ }
+
+ if (str_starts_with($unit, 'isCurrent')) {
+ try {
+ return $this->isCurrentUnit(strtolower(substr($unit, 9)));
+ } catch (BadComparisonUnitException | BadMethodCallException $exception) {
+ // Try next
+ }
+ }
+
+ if (str_ends_with($method, 'Until')) {
+ try {
+ $unit = static::singularUnit(substr($method, 0, -5));
+
+ return $this->range(
+ $this->getMagicParameter($parameters, 0, 'endDate', $this),
+ $this->getMagicParameter($parameters, 1, 'factor', 1),
+ $unit
+ );
+ } catch (InvalidArgumentException $exception) {
+ // Try macros
+ }
+ }
+
+ return static::bindMacroContext($this, function () use (&$method, &$parameters) {
+ $macro = $this->getLocalMacro($method);
+
+ if (!$macro) {
+ foreach ([$this->localGenericMacros ?: [], static::getGenericMacros()] as $list) {
+ foreach ($list as $callback) {
+ try {
+ return $this->executeCallable($callback, $method, ...$parameters);
+ } catch (BadMethodCallException $exception) {
+ continue;
+ }
+ }
+ }
+
+ if ($this->localStrictModeEnabled ?? static::isStrictModeEnabled()) {
+ throw new UnknownMethodException($method);
+ }
+
+ return null;
+ }
+
+ return $this->executeCallable($macro, ...$parameters);
+ });
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/DeprecatedProperties.php b/vendor/nesbot/carbon/src/Carbon/Traits/DeprecatedProperties.php
new file mode 100644
index 0000000..5acc6f5
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/DeprecatedProperties.php
@@ -0,0 +1,61 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+trait DeprecatedProperties
+{
+ /**
+ * the day of week in current locale LC_TIME
+ *
+ * @var string
+ *
+ * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ * Use ->isoFormat('MMM') instead.
+ * Deprecated since 2.55.0
+ */
+ public $localeDayOfWeek;
+
+ /**
+ * the abbreviated day of week in current locale LC_TIME
+ *
+ * @var string
+ *
+ * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ * Use ->isoFormat('dddd') instead.
+ * Deprecated since 2.55.0
+ */
+ public $shortLocaleDayOfWeek;
+
+ /**
+ * the month in current locale LC_TIME
+ *
+ * @var string
+ *
+ * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ * Use ->isoFormat('ddd') instead.
+ * Deprecated since 2.55.0
+ */
+ public $localeMonth;
+
+ /**
+ * the abbreviated month in current locale LC_TIME
+ *
+ * @var string
+ *
+ * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
+ * Use ->isoFormat('MMMM') instead.
+ * Deprecated since 2.55.0
+ */
+ public $shortLocaleMonth;
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php b/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php
new file mode 100644
index 0000000..ab5b65d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php
@@ -0,0 +1,1182 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Carbon;
+use Carbon\CarbonImmutable;
+use Carbon\CarbonInterface;
+use Carbon\CarbonInterval;
+use Carbon\CarbonPeriod;
+use Carbon\Translator;
+use Closure;
+use DateInterval;
+use DateTimeInterface;
+use ReturnTypeWillChange;
+
+/**
+ * Trait Difference.
+ *
+ * Depends on the following methods:
+ *
+ * @method bool lessThan($date)
+ * @method static copy()
+ * @method static resolveCarbon($date = null)
+ * @method static Translator translator()
+ */
+trait Difference
+{
+ /**
+ * @codeCoverageIgnore
+ *
+ * @param CarbonInterval $diff
+ */
+ protected static function fixNegativeMicroseconds(CarbonInterval $diff)
+ {
+ if ($diff->s !== 0 || $diff->i !== 0 || $diff->h !== 0 || $diff->d !== 0 || $diff->m !== 0 || $diff->y !== 0) {
+ $diff->f = (round($diff->f * 1000000) + 1000000) / 1000000;
+ $diff->s--;
+
+ if ($diff->s < 0) {
+ $diff->s += 60;
+ $diff->i--;
+
+ if ($diff->i < 0) {
+ $diff->i += 60;
+ $diff->h--;
+
+ if ($diff->h < 0) {
+ $diff->h += 24;
+ $diff->d--;
+
+ if ($diff->d < 0) {
+ $diff->d += 30;
+ $diff->m--;
+
+ if ($diff->m < 0) {
+ $diff->m += 12;
+ $diff->y--;
+ }
+ }
+ }
+ }
+ }
+
+ return;
+ }
+
+ $diff->f *= -1;
+ $diff->invert();
+ }
+
+ /**
+ * @param DateInterval $diff
+ * @param bool $absolute
+ *
+ * @return CarbonInterval
+ */
+ protected static function fixDiffInterval(DateInterval $diff, $absolute, array $skip = [])
+ {
+ $diff = CarbonInterval::instance($diff, $skip);
+
+ // Work-around for https://bugs.php.net/bug.php?id=77145
+ // @codeCoverageIgnoreStart
+ if ($diff->f > 0 && $diff->y === -1 && $diff->m === 11 && $diff->d >= 27 && $diff->h === 23 && $diff->i === 59 && $diff->s === 59) {
+ $diff->y = 0;
+ $diff->m = 0;
+ $diff->d = 0;
+ $diff->h = 0;
+ $diff->i = 0;
+ $diff->s = 0;
+ $diff->f = (1000000 - round($diff->f * 1000000)) / 1000000;
+ $diff->invert();
+ } elseif ($diff->f < 0) {
+ static::fixNegativeMicroseconds($diff);
+ }
+ // @codeCoverageIgnoreEnd
+
+ if ($absolute && $diff->invert) {
+ $diff->invert();
+ }
+
+ return $diff;
+ }
+
+ /**
+ * Get the difference as a DateInterval instance.
+ * Return relative interval (negative if $absolute flag is not set to true and the given date is before
+ * current one).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return DateInterval
+ */
+ #[ReturnTypeWillChange]
+ public function diff($date = null, $absolute = false)
+ {
+ $other = $this->resolveCarbon($date);
+
+ // Work-around for https://bugs.php.net/bug.php?id=81458
+ // It was initially introduced for https://bugs.php.net/bug.php?id=80998
+ // The very specific case of 80998 was fixed in PHP 8.1beta3, but it introduced 81458
+ // So we still need to keep this for now
+ // @codeCoverageIgnoreStart
+ if (version_compare(PHP_VERSION, '8.1.0-dev', '>=') && $other->tz !== $this->tz) {
+ $other = $other->avoidMutation()->tz($this->tz);
+ }
+ // @codeCoverageIgnoreEnd
+
+ return parent::diff($other, (bool) $absolute);
+ }
+
+ /**
+ * Get the difference as a CarbonInterval instance.
+ * Return relative interval (negative if $absolute flag is not set to true and the given date is before
+ * current one).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return CarbonInterval
+ */
+ public function diffAsCarbonInterval($date = null, $absolute = true, array $skip = [])
+ {
+ return static::fixDiffInterval($this->diff($this->resolveCarbon($date), $absolute), $absolute, $skip);
+ }
+
+ /**
+ * Get the difference in years
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInYears($date = null, $absolute = true)
+ {
+ return (int) $this->diff($this->resolveCarbon($date), $absolute)->format('%r%y');
+ }
+
+ /**
+ * Get the difference in quarters rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInQuarters($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInMonths($date, $absolute) / static::MONTHS_PER_QUARTER);
+ }
+
+ /**
+ * Get the difference in months rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMonths($date = null, $absolute = true)
+ {
+ $date = $this->resolveCarbon($date)->avoidMutation()->tz($this->tz);
+
+ [$yearStart, $monthStart, $dayStart] = explode('-', $this->format('Y-m-dHisu'));
+ [$yearEnd, $monthEnd, $dayEnd] = explode('-', $date->format('Y-m-dHisu'));
+
+ $diff = (((int) $yearEnd) - ((int) $yearStart)) * static::MONTHS_PER_YEAR +
+ ((int) $monthEnd) - ((int) $monthStart);
+
+ if ($diff > 0) {
+ $diff -= ($dayStart > $dayEnd ? 1 : 0);
+ } elseif ($diff < 0) {
+ $diff += ($dayStart < $dayEnd ? 1 : 0);
+ }
+
+ return $absolute ? abs($diff) : $diff;
+ }
+
+ /**
+ * Get the difference in weeks rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInWeeks($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInDays($date, $absolute) / static::DAYS_PER_WEEK);
+ }
+
+ /**
+ * Get the difference in days rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInDays($date = null, $absolute = true)
+ {
+ return $this->getIntervalDayDiff($this->diff($this->resolveCarbon($date), $absolute));
+ }
+
+ /**
+ * Get the difference in days using a filter closure rounded down.
+ *
+ * @param Closure $callback
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInDaysFiltered(Closure $callback, $date = null, $absolute = true)
+ {
+ return $this->diffFiltered(CarbonInterval::day(), $callback, $date, $absolute);
+ }
+
+ /**
+ * Get the difference in hours using a filter closure rounded down.
+ *
+ * @param Closure $callback
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInHoursFiltered(Closure $callback, $date = null, $absolute = true)
+ {
+ return $this->diffFiltered(CarbonInterval::hour(), $callback, $date, $absolute);
+ }
+
+ /**
+ * Get the difference by the given interval using a filter closure.
+ *
+ * @param CarbonInterval $ci An interval to traverse by
+ * @param Closure $callback
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffFiltered(CarbonInterval $ci, Closure $callback, $date = null, $absolute = true)
+ {
+ $start = $this;
+ $end = $this->resolveCarbon($date);
+ $inverse = false;
+
+ if ($end < $start) {
+ $start = $end;
+ $end = $this;
+ $inverse = true;
+ }
+
+ $options = CarbonPeriod::EXCLUDE_END_DATE | ($this->isMutable() ? 0 : CarbonPeriod::IMMUTABLE);
+ $diff = $ci->toPeriod($start, $end, $options)->filter($callback)->count();
+
+ return $inverse && !$absolute ? -$diff : $diff;
+ }
+
+ /**
+ * Get the difference in weekdays rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInWeekdays($date = null, $absolute = true)
+ {
+ return $this->diffInDaysFiltered(static function (CarbonInterface $date) {
+ return $date->isWeekday();
+ }, $this->resolveCarbon($date)->avoidMutation()->modify($this->format('H:i:s.u')), $absolute);
+ }
+
+ /**
+ * Get the difference in weekend days using a filter rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInWeekendDays($date = null, $absolute = true)
+ {
+ return $this->diffInDaysFiltered(static function (CarbonInterface $date) {
+ return $date->isWeekend();
+ }, $this->resolveCarbon($date)->avoidMutation()->modify($this->format('H:i:s.u')), $absolute);
+ }
+
+ /**
+ * Get the difference in hours rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInHours($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInSeconds($date, $absolute) / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR);
+ }
+
+ /**
+ * Get the difference in hours rounded down using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealHours($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInRealSeconds($date, $absolute) / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR);
+ }
+
+ /**
+ * Get the difference in minutes rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMinutes($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInSeconds($date, $absolute) / static::SECONDS_PER_MINUTE);
+ }
+
+ /**
+ * Get the difference in minutes rounded down using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealMinutes($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInRealSeconds($date, $absolute) / static::SECONDS_PER_MINUTE);
+ }
+
+ /**
+ * Get the difference in seconds rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInSeconds($date = null, $absolute = true)
+ {
+ $diff = $this->diff($date);
+
+ if ($diff->days === 0) {
+ $diff = static::fixDiffInterval($diff, $absolute);
+ }
+
+ $value = (((($diff->m || $diff->y ? $diff->days : $diff->d) * static::HOURS_PER_DAY) +
+ $diff->h) * static::MINUTES_PER_HOUR +
+ $diff->i) * static::SECONDS_PER_MINUTE +
+ $diff->s;
+
+ return $absolute || !$diff->invert ? $value : -$value;
+ }
+
+ /**
+ * Get the difference in microseconds.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMicroseconds($date = null, $absolute = true)
+ {
+ $diff = $this->diff($date);
+ $value = (int) round(((((($diff->m || $diff->y ? $diff->days : $diff->d) * static::HOURS_PER_DAY) +
+ $diff->h) * static::MINUTES_PER_HOUR +
+ $diff->i) * static::SECONDS_PER_MINUTE +
+ ($diff->f + $diff->s)) * static::MICROSECONDS_PER_SECOND);
+
+ return $absolute || !$diff->invert ? $value : -$value;
+ }
+
+ /**
+ * Get the difference in milliseconds rounded down.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInMilliseconds($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInMicroseconds($date, $absolute) / static::MICROSECONDS_PER_MILLISECOND);
+ }
+
+ /**
+ * Get the difference in seconds using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealSeconds($date = null, $absolute = true)
+ {
+ /** @var CarbonInterface $date */
+ $date = $this->resolveCarbon($date);
+ $value = $date->getTimestamp() - $this->getTimestamp();
+
+ return $absolute ? abs($value) : $value;
+ }
+
+ /**
+ * Get the difference in microseconds using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealMicroseconds($date = null, $absolute = true)
+ {
+ /** @var CarbonInterface $date */
+ $date = $this->resolveCarbon($date);
+ $value = ($date->timestamp - $this->timestamp) * static::MICROSECONDS_PER_SECOND +
+ $date->micro - $this->micro;
+
+ return $absolute ? abs($value) : $value;
+ }
+
+ /**
+ * Get the difference in milliseconds rounded down using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return int
+ */
+ public function diffInRealMilliseconds($date = null, $absolute = true)
+ {
+ return (int) ($this->diffInRealMicroseconds($date, $absolute) / static::MICROSECONDS_PER_MILLISECOND);
+ }
+
+ /**
+ * Get the difference in seconds as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInSeconds($date = null, $absolute = true)
+ {
+ return (float) ($this->diffInMicroseconds($date, $absolute) / static::MICROSECONDS_PER_SECOND);
+ }
+
+ /**
+ * Get the difference in minutes as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInMinutes($date = null, $absolute = true)
+ {
+ return $this->floatDiffInSeconds($date, $absolute) / static::SECONDS_PER_MINUTE;
+ }
+
+ /**
+ * Get the difference in hours as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInHours($date = null, $absolute = true)
+ {
+ return $this->floatDiffInMinutes($date, $absolute) / static::MINUTES_PER_HOUR;
+ }
+
+ /**
+ * Get the difference in days as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInDays($date = null, $absolute = true)
+ {
+ $hoursDiff = $this->floatDiffInHours($date, $absolute);
+ $interval = $this->diff($date, $absolute);
+
+ if ($interval->y === 0 && $interval->m === 0 && $interval->d === 0) {
+ return $hoursDiff / static::HOURS_PER_DAY;
+ }
+
+ $daysDiff = $this->getIntervalDayDiff($interval);
+
+ return $daysDiff + fmod($hoursDiff, static::HOURS_PER_DAY) / static::HOURS_PER_DAY;
+ }
+
+ /**
+ * Get the difference in weeks as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInWeeks($date = null, $absolute = true)
+ {
+ return $this->floatDiffInDays($date, $absolute) / static::DAYS_PER_WEEK;
+ }
+
+ /**
+ * Get the difference in months as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInMonths($date = null, $absolute = true)
+ {
+ $start = $this;
+ $end = $this->resolveCarbon($date);
+ $ascending = ($start <= $end);
+ $sign = $absolute || $ascending ? 1 : -1;
+ if (!$ascending) {
+ [$start, $end] = [$end, $start];
+ }
+ $monthsDiff = $start->diffInMonths($end);
+ /** @var Carbon|CarbonImmutable $floorEnd */
+ $floorEnd = $start->avoidMutation()->addMonths($monthsDiff);
+
+ if ($floorEnd >= $end) {
+ return $sign * $monthsDiff;
+ }
+
+ /** @var Carbon|CarbonImmutable $startOfMonthAfterFloorEnd */
+ $startOfMonthAfterFloorEnd = $floorEnd->avoidMutation()->addMonth()->startOfMonth();
+
+ if ($startOfMonthAfterFloorEnd > $end) {
+ return $sign * ($monthsDiff + $floorEnd->floatDiffInDays($end) / $floorEnd->daysInMonth);
+ }
+
+ return $sign * ($monthsDiff + $floorEnd->floatDiffInDays($startOfMonthAfterFloorEnd) / $floorEnd->daysInMonth + $startOfMonthAfterFloorEnd->floatDiffInDays($end) / $end->daysInMonth);
+ }
+
+ /**
+ * Get the difference in year as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInYears($date = null, $absolute = true)
+ {
+ $start = $this;
+ $end = $this->resolveCarbon($date);
+ $ascending = ($start <= $end);
+ $sign = $absolute || $ascending ? 1 : -1;
+ if (!$ascending) {
+ [$start, $end] = [$end, $start];
+ }
+ $yearsDiff = $start->diffInYears($end);
+ /** @var Carbon|CarbonImmutable $floorEnd */
+ $floorEnd = $start->avoidMutation()->addYears($yearsDiff);
+
+ if ($floorEnd >= $end) {
+ return $sign * $yearsDiff;
+ }
+
+ /** @var Carbon|CarbonImmutable $startOfYearAfterFloorEnd */
+ $startOfYearAfterFloorEnd = $floorEnd->avoidMutation()->addYear()->startOfYear();
+
+ if ($startOfYearAfterFloorEnd > $end) {
+ return $sign * ($yearsDiff + $floorEnd->floatDiffInDays($end) / $floorEnd->daysInYear);
+ }
+
+ return $sign * ($yearsDiff + $floorEnd->floatDiffInDays($startOfYearAfterFloorEnd) / $floorEnd->daysInYear + $startOfYearAfterFloorEnd->floatDiffInDays($end) / $end->daysInYear);
+ }
+
+ /**
+ * Get the difference in seconds as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealSeconds($date = null, $absolute = true)
+ {
+ return $this->diffInRealMicroseconds($date, $absolute) / static::MICROSECONDS_PER_SECOND;
+ }
+
+ /**
+ * Get the difference in minutes as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealMinutes($date = null, $absolute = true)
+ {
+ return $this->floatDiffInRealSeconds($date, $absolute) / static::SECONDS_PER_MINUTE;
+ }
+
+ /**
+ * Get the difference in hours as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealHours($date = null, $absolute = true)
+ {
+ return $this->floatDiffInRealMinutes($date, $absolute) / static::MINUTES_PER_HOUR;
+ }
+
+ /**
+ * Get the difference in days as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealDays($date = null, $absolute = true)
+ {
+ $date = $this->resolveUTC($date);
+ $utc = $this->avoidMutation()->utc();
+ $hoursDiff = $utc->floatDiffInRealHours($date, $absolute);
+
+ return ($hoursDiff < 0 ? -1 : 1) * $utc->diffInDays($date) + fmod($hoursDiff, static::HOURS_PER_DAY) / static::HOURS_PER_DAY;
+ }
+
+ /**
+ * Get the difference in weeks as float (microsecond-precision).
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealWeeks($date = null, $absolute = true)
+ {
+ return $this->floatDiffInRealDays($date, $absolute) / static::DAYS_PER_WEEK;
+ }
+
+ /**
+ * Get the difference in months as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealMonths($date = null, $absolute = true)
+ {
+ $start = $this;
+ $end = $this->resolveCarbon($date);
+ $ascending = ($start <= $end);
+ $sign = $absolute || $ascending ? 1 : -1;
+ if (!$ascending) {
+ [$start, $end] = [$end, $start];
+ }
+ $monthsDiff = $start->diffInMonths($end);
+ /** @var Carbon|CarbonImmutable $floorEnd */
+ $floorEnd = $start->avoidMutation()->addMonths($monthsDiff);
+
+ if ($floorEnd >= $end) {
+ return $sign * $monthsDiff;
+ }
+
+ /** @var Carbon|CarbonImmutable $startOfMonthAfterFloorEnd */
+ $startOfMonthAfterFloorEnd = $floorEnd->avoidMutation()->addMonth()->startOfMonth();
+
+ if ($startOfMonthAfterFloorEnd > $end) {
+ return $sign * ($monthsDiff + $floorEnd->floatDiffInRealDays($end) / $floorEnd->daysInMonth);
+ }
+
+ return $sign * ($monthsDiff + $floorEnd->floatDiffInRealDays($startOfMonthAfterFloorEnd) / $floorEnd->daysInMonth + $startOfMonthAfterFloorEnd->floatDiffInRealDays($end) / $end->daysInMonth);
+ }
+
+ /**
+ * Get the difference in year as float (microsecond-precision) using timestamps.
+ *
+ * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
+ * @param bool $absolute Get the absolute of the difference
+ *
+ * @return float
+ */
+ public function floatDiffInRealYears($date = null, $absolute = true)
+ {
+ $start = $this;
+ $end = $this->resolveCarbon($date);
+ $ascending = ($start <= $end);
+ $sign = $absolute || $ascending ? 1 : -1;
+ if (!$ascending) {
+ [$start, $end] = [$end, $start];
+ }
+ $yearsDiff = $start->diffInYears($end);
+ /** @var Carbon|CarbonImmutable $floorEnd */
+ $floorEnd = $start->avoidMutation()->addYears($yearsDiff);
+
+ if ($floorEnd >= $end) {
+ return $sign * $yearsDiff;
+ }
+
+ /** @var Carbon|CarbonImmutable $startOfYearAfterFloorEnd */
+ $startOfYearAfterFloorEnd = $floorEnd->avoidMutation()->addYear()->startOfYear();
+
+ if ($startOfYearAfterFloorEnd > $end) {
+ return $sign * ($yearsDiff + $floorEnd->floatDiffInRealDays($end) / $floorEnd->daysInYear);
+ }
+
+ return $sign * ($yearsDiff + $floorEnd->floatDiffInRealDays($startOfYearAfterFloorEnd) / $floorEnd->daysInYear + $startOfYearAfterFloorEnd->floatDiffInRealDays($end) / $end->daysInYear);
+ }
+
+ /**
+ * The number of seconds since midnight.
+ *
+ * @return int
+ */
+ public function secondsSinceMidnight()
+ {
+ return $this->diffInSeconds($this->avoidMutation()->startOfDay());
+ }
+
+ /**
+ * The number of seconds until 23:59:59.
+ *
+ * @return int
+ */
+ public function secondsUntilEndOfDay()
+ {
+ return $this->diffInSeconds($this->avoidMutation()->endOfDay());
+ }
+
+ /**
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ *
+ * @example
+ * ```
+ * echo Carbon::tomorrow()->diffForHumans() . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(['parts' => 2]) . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(['parts' => 3, 'join' => true]) . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(Carbon::yesterday()) . "\n";
+ * echo Carbon::tomorrow()->diffForHumans(Carbon::yesterday(), ['short' => true]) . "\n";
+ * ```
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'skip' entry, list of units to skip (array of strings or a single string,
+ * ` it can be the unit name (singular or plural) or its shortcut
+ * ` (y, m, w, d, h, min, s, ms, µs).
+ * - 'aUnit' entry, prefer "an hour" over "1 hour" if true
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * - 'minimumUnit' entry determines the smallest unit of time to display can be long or
+ * ` short form of the units, e.g. 'hour' or 'h' (default value: s)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function diffForHumans($other = null, $syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ /* @var CarbonInterface $this */
+ if (\is_array($other)) {
+ $other['syntax'] = \array_key_exists('syntax', $other) ? $other['syntax'] : $syntax;
+ $syntax = $other;
+ $other = $syntax['other'] ?? null;
+ }
+
+ $intSyntax = &$syntax;
+ if (\is_array($syntax)) {
+ $syntax['syntax'] = $syntax['syntax'] ?? null;
+ $intSyntax = &$syntax['syntax'];
+ }
+ $intSyntax = (int) ($intSyntax ?? static::DIFF_RELATIVE_AUTO);
+ $intSyntax = $intSyntax === static::DIFF_RELATIVE_AUTO && $other === null ? static::DIFF_RELATIVE_TO_NOW : $intSyntax;
+
+ $parts = min(7, max(1, (int) $parts));
+ $skip = \is_array($syntax) ? ($syntax['skip'] ?? []) : [];
+
+ return $this->diffAsCarbonInterval($other, false, (array) $skip)
+ ->setLocalTranslator($this->getLocalTranslator())
+ ->forHumans($syntax, (bool) $short, $parts, $options ?? $this->localHumanDiffOptions ?? static::getHumanDiffOptions());
+ }
+
+ /**
+ * @alias diffForHumans
+ *
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function from($other = null, $syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ return $this->diffForHumans($other, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * @alias diffForHumans
+ *
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ */
+ public function since($other = null, $syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ return $this->diffForHumans($other, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given (or now if null given) to current instance.
+ *
+ * When comparing a value in the past to default now:
+ * 1 hour from now
+ * 5 months from now
+ *
+ * When comparing a value in the future to default now:
+ * 1 hour ago
+ * 5 months ago
+ *
+ * When comparing a value in the past to another value:
+ * 1 hour after
+ * 5 months after
+ *
+ * When comparing a value in the future to another value:
+ * 1 hour before
+ * 5 months before
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function to($other = null, $syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ if (!$syntax && !$other) {
+ $syntax = CarbonInterface::DIFF_RELATIVE_TO_NOW;
+ }
+
+ return $this->resolveCarbon($other)->diffForHumans($this, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * @alias to
+ *
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given (or now if null given) to current instance.
+ *
+ * @param Carbon|\DateTimeInterface|string|array|null $other if array passed, will be used as parameters array, see $syntax below;
+ * if null passed, now will be used as comparison reference;
+ * if any other type, it will be converted to date and used as reference.
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * - 'other' entry (see above)
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function until($other = null, $syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ return $this->to($other, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * Get the difference in a human readable format in the current locale from current
+ * instance to now.
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single unit)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function fromNow($syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ $other = null;
+
+ if ($syntax instanceof DateTimeInterface) {
+ [$other, $syntax, $short, $parts, $options] = array_pad(\func_get_args(), 5, null);
+ }
+
+ return $this->from($other, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given to now
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single part)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function toNow($syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ return $this->to(null, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * Get the difference in a human readable format in the current locale from an other
+ * instance given to now
+ *
+ * @param int|array $syntax if array passed, parameters will be extracted from it, the array may contains:
+ * - 'syntax' entry (see below)
+ * - 'short' entry (see below)
+ * - 'parts' entry (see below)
+ * - 'options' entry (see below)
+ * - 'join' entry determines how to join multiple parts of the string
+ * ` - if $join is a string, it's used as a joiner glue
+ * ` - if $join is a callable/closure, it get the list of string and should return a string
+ * ` - if $join is an array, the first item will be the default glue, and the second item
+ * ` will be used instead of the glue for the last item
+ * ` - if $join is true, it will be guessed from the locale ('list' translation file entry)
+ * ` - if $join is missing, a space will be used as glue
+ * if int passed, it add modifiers:
+ * Possible values:
+ * - CarbonInterface::DIFF_ABSOLUTE no modifiers
+ * - CarbonInterface::DIFF_RELATIVE_TO_NOW add ago/from now modifier
+ * - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
+ * Default value: CarbonInterface::DIFF_ABSOLUTE
+ * @param bool $short displays short format of time units
+ * @param int $parts maximum number of parts to display (default value: 1: single part)
+ * @param int $options human diff options
+ *
+ * @return string
+ */
+ public function ago($syntax = null, $short = false, $parts = 1, $options = null)
+ {
+ $other = null;
+
+ if ($syntax instanceof DateTimeInterface) {
+ [$other, $syntax, $short, $parts, $options] = array_pad(\func_get_args(), 5, null);
+ }
+
+ return $this->from($other, $syntax, $short, $parts, $options);
+ }
+
+ /**
+ * Get the difference in a human readable format in the current locale from current instance to an other
+ * instance given (or now if null given).
+ *
+ * @return string
+ */
+ public function timespan($other = null, $timezone = null)
+ {
+ if (!$other instanceof DateTimeInterface) {
+ $other = static::parse($other, $timezone);
+ }
+
+ return $this->diffForHumans($other, [
+ 'join' => ', ',
+ 'syntax' => CarbonInterface::DIFF_ABSOLUTE,
+ 'options' => CarbonInterface::NO_ZERO_DIFF,
+ 'parts' => -1,
+ ]);
+ }
+
+ /**
+ * Returns either day of week + time (e.g. "Last Friday at 3:30 PM") if reference time is within 7 days,
+ * or a calendar date (e.g. "10/29/2017") otherwise.
+ *
+ * Language, date and time formats will change according to the current locale.
+ *
+ * @param Carbon|\DateTimeInterface|string|null $referenceTime
+ * @param array $formats
+ *
+ * @return string
+ */
+ public function calendar($referenceTime = null, array $formats = [])
+ {
+ /** @var CarbonInterface $current */
+ $current = $this->avoidMutation()->startOfDay();
+ /** @var CarbonInterface $other */
+ $other = $this->resolveCarbon($referenceTime)->avoidMutation()->setTimezone($this->getTimezone())->startOfDay();
+ $diff = $other->diffInDays($current, false);
+ $format = $diff < -6 ? 'sameElse' : (
+ $diff < -1 ? 'lastWeek' : (
+ $diff < 0 ? 'lastDay' : (
+ $diff < 1 ? 'sameDay' : (
+ $diff < 2 ? 'nextDay' : (
+ $diff < 7 ? 'nextWeek' : 'sameElse'
+ )
+ )
+ )
+ )
+ );
+ $format = array_merge($this->getCalendarFormats(), $formats)[$format];
+ if ($format instanceof Closure) {
+ $format = $format($current, $other) ?? '';
+ }
+
+ return $this->isoFormat((string) $format);
+ }
+
+ private function getIntervalDayDiff(DateInterval $interval): int
+ {
+ $daysDiff = (int) $interval->format('%a');
+ $sign = $interval->format('%r') === '-' ? -1 : 1;
+
+ if (\is_int($interval->days) &&
+ $interval->y === 0 &&
+ $interval->m === 0 &&
+ version_compare(PHP_VERSION, '8.1.0-dev', '<') &&
+ abs($interval->d - $daysDiff) === 1
+ ) {
+ $daysDiff = abs($interval->d); // @codeCoverageIgnore
+ }
+
+ return $daysDiff * $sign;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php
new file mode 100644
index 0000000..f069c28
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php
@@ -0,0 +1,57 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterval;
+use Carbon\Exceptions\InvalidIntervalException;
+use DateInterval;
+
+/**
+ * Trait to call rounding methods to interval or the interval of a period.
+ */
+trait IntervalRounding
+{
+ protected function callRoundMethod(string $method, array $parameters)
+ {
+ $action = substr($method, 0, 4);
+
+ if ($action !== 'ceil') {
+ $action = substr($method, 0, 5);
+ }
+
+ if (\in_array($action, ['round', 'floor', 'ceil'])) {
+ return $this->{$action.'Unit'}(substr($method, \strlen($action)), ...$parameters);
+ }
+
+ return null;
+ }
+
+ protected function roundWith($precision, $function)
+ {
+ $unit = 'second';
+
+ if ($precision instanceof DateInterval) {
+ $precision = (string) CarbonInterval::instance($precision, [], true);
+ }
+
+ if (\is_string($precision) && preg_match('/^\s*(?\d+)?\s*(?\w+)(?\W.*)?$/', $precision, $match)) {
+ if (trim($match['other'] ?? '') !== '') {
+ throw new InvalidIntervalException('Rounding is only possible with single unit intervals.');
+ }
+
+ $precision = (int) ($match['precision'] ?: 1);
+ $unit = $match['unit'];
+ }
+
+ return $this->roundUnit($unit, $precision, $function);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php
new file mode 100644
index 0000000..82d7c32
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php
@@ -0,0 +1,93 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Carbon;
+use Carbon\CarbonImmutable;
+use Carbon\CarbonInterface;
+use Closure;
+use DateTimeImmutable;
+use DateTimeInterface;
+
+trait IntervalStep
+{
+ /**
+ * Step to apply instead of a fixed interval to get the new date.
+ *
+ * @var Closure|null
+ */
+ protected $step;
+
+ /**
+ * Get the dynamic step in use.
+ *
+ * @return Closure
+ */
+ public function getStep(): ?Closure
+ {
+ return $this->step;
+ }
+
+ /**
+ * Set a step to apply instead of a fixed interval to get the new date.
+ *
+ * Or pass null to switch to fixed interval.
+ *
+ * @param Closure|null $step
+ */
+ public function setStep(?Closure $step): void
+ {
+ $this->step = $step;
+ }
+
+ /**
+ * Take a date and apply either the step if set, or the current interval else.
+ *
+ * The interval/step is applied negatively (typically subtraction instead of addition) if $negated is true.
+ *
+ * @param DateTimeInterface $dateTime
+ * @param bool $negated
+ *
+ * @return CarbonInterface
+ */
+ public function convertDate(DateTimeInterface $dateTime, bool $negated = false): CarbonInterface
+ {
+ /** @var CarbonInterface $carbonDate */
+ $carbonDate = $dateTime instanceof CarbonInterface ? $dateTime : $this->resolveCarbon($dateTime);
+
+ if ($this->step) {
+ return $carbonDate->setDateTimeFrom(($this->step)($carbonDate->avoidMutation(), $negated));
+ }
+
+ if ($negated) {
+ return $carbonDate->rawSub($this);
+ }
+
+ return $carbonDate->rawAdd($this);
+ }
+
+ /**
+ * Convert DateTimeImmutable instance to CarbonImmutable instance and DateTime instance to Carbon instance.
+ *
+ * @param DateTimeInterface $dateTime
+ *
+ * @return Carbon|CarbonImmutable
+ */
+ private function resolveCarbon(DateTimeInterface $dateTime)
+ {
+ if ($dateTime instanceof DateTimeImmutable) {
+ return CarbonImmutable::instance($dateTime);
+ }
+
+ return Carbon::instance($dateTime);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php b/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php
new file mode 100644
index 0000000..46aff11
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php
@@ -0,0 +1,840 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterface;
+use Carbon\Exceptions\InvalidTypeException;
+use Carbon\Exceptions\NotLocaleAwareException;
+use Carbon\Language;
+use Carbon\Translator;
+use Carbon\TranslatorStrongTypeInterface;
+use Closure;
+use Symfony\Component\Translation\TranslatorBagInterface;
+use Symfony\Component\Translation\TranslatorInterface;
+use Symfony\Contracts\Translation\LocaleAwareInterface;
+use Symfony\Contracts\Translation\TranslatorInterface as ContractsTranslatorInterface;
+
+// @codeCoverageIgnoreStart
+if (interface_exists('Symfony\\Contracts\\Translation\\TranslatorInterface') &&
+ !interface_exists('Symfony\\Component\\Translation\\TranslatorInterface')
+) {
+ class_alias(
+ 'Symfony\\Contracts\\Translation\\TranslatorInterface',
+ 'Symfony\\Component\\Translation\\TranslatorInterface'
+ );
+}
+// @codeCoverageIgnoreEnd
+
+/**
+ * Trait Localization.
+ *
+ * Embed default and locale translators and translation base methods.
+ */
+trait Localization
+{
+ /**
+ * Default translator.
+ *
+ * @var \Symfony\Component\Translation\TranslatorInterface
+ */
+ protected static $translator;
+
+ /**
+ * Specific translator of the current instance.
+ *
+ * @var \Symfony\Component\Translation\TranslatorInterface
+ */
+ protected $localTranslator;
+
+ /**
+ * Options for diffForHumans().
+ *
+ * @var int
+ */
+ protected static $humanDiffOptions = CarbonInterface::NO_ZERO_DIFF;
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * @param int $humanDiffOptions
+ */
+ public static function setHumanDiffOptions($humanDiffOptions)
+ {
+ static::$humanDiffOptions = $humanDiffOptions;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * @param int $humanDiffOption
+ */
+ public static function enableHumanDiffOption($humanDiffOption)
+ {
+ static::$humanDiffOptions = static::getHumanDiffOptions() | $humanDiffOption;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * @param int $humanDiffOption
+ */
+ public static function disableHumanDiffOption($humanDiffOption)
+ {
+ static::$humanDiffOptions = static::getHumanDiffOptions() & ~$humanDiffOption;
+ }
+
+ /**
+ * Return default humanDiff() options (merged flags as integer).
+ *
+ * @return int
+ */
+ public static function getHumanDiffOptions()
+ {
+ return static::$humanDiffOptions;
+ }
+
+ /**
+ * Get the default translator instance in use.
+ *
+ * @return \Symfony\Component\Translation\TranslatorInterface
+ */
+ public static function getTranslator()
+ {
+ return static::translator();
+ }
+
+ /**
+ * Set the default translator instance to use.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ *
+ * @return void
+ */
+ public static function setTranslator(TranslatorInterface $translator)
+ {
+ static::$translator = $translator;
+ }
+
+ /**
+ * Return true if the current instance has its own translator.
+ *
+ * @return bool
+ */
+ public function hasLocalTranslator()
+ {
+ return isset($this->localTranslator);
+ }
+
+ /**
+ * Get the translator of the current instance or the default if none set.
+ *
+ * @return \Symfony\Component\Translation\TranslatorInterface
+ */
+ public function getLocalTranslator()
+ {
+ return $this->localTranslator ?: static::translator();
+ }
+
+ /**
+ * Set the translator for the current instance.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ *
+ * @return $this
+ */
+ public function setLocalTranslator(TranslatorInterface $translator)
+ {
+ $this->localTranslator = $translator;
+
+ return $this;
+ }
+
+ /**
+ * Returns raw translation message for a given key.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator the translator to use
+ * @param string $key key to find
+ * @param string|null $locale current locale used if null
+ * @param string|null $default default value if translation returns the key
+ *
+ * @return string
+ */
+ public static function getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null)
+ {
+ if (!($translator instanceof TranslatorBagInterface && $translator instanceof TranslatorInterface)) {
+ throw new InvalidTypeException(
+ 'Translator does not implement '.TranslatorInterface::class.' and '.TranslatorBagInterface::class.'. '.
+ (\is_object($translator) ? \get_class($translator) : \gettype($translator)).' has been given.'
+ );
+ }
+
+ if (!$locale && $translator instanceof LocaleAwareInterface) {
+ $locale = $translator->getLocale();
+ }
+
+ $result = self::getFromCatalogue($translator, $translator->getCatalogue($locale), $key);
+
+ return $result === $key ? $default : $result;
+ }
+
+ /**
+ * Returns raw translation message for a given key.
+ *
+ * @param string $key key to find
+ * @param string|null $locale current locale used if null
+ * @param string|null $default default value if translation returns the key
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator an optional translator to use
+ *
+ * @return string
+ */
+ public function getTranslationMessage(string $key, ?string $locale = null, ?string $default = null, $translator = null)
+ {
+ return static::getTranslationMessageWith($translator ?: $this->getLocalTranslator(), $key, $locale, $default);
+ }
+
+ /**
+ * Translate using translation string or callback available.
+ *
+ * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ * @param string $key
+ * @param array $parameters
+ * @param null $number
+ *
+ * @return string
+ */
+ public static function translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null): string
+ {
+ $message = static::getTranslationMessageWith($translator, $key, null, $key);
+ if ($message instanceof Closure) {
+ return (string) $message(...array_values($parameters));
+ }
+
+ if ($number !== null) {
+ $parameters['%count%'] = $number;
+ }
+ if (isset($parameters['%count%'])) {
+ $parameters[':count'] = $parameters['%count%'];
+ }
+
+ // @codeCoverageIgnoreStart
+ $choice = $translator instanceof ContractsTranslatorInterface
+ ? $translator->trans($key, $parameters)
+ : $translator->transChoice($key, $number, $parameters);
+ // @codeCoverageIgnoreEnd
+
+ return (string) $choice;
+ }
+
+ /**
+ * Translate using translation string or callback available.
+ *
+ * @param string $key
+ * @param array $parameters
+ * @param string|int|float|null $number
+ * @param \Symfony\Component\Translation\TranslatorInterface|null $translator
+ * @param bool $altNumbers
+ *
+ * @return string
+ */
+ public function translate(string $key, array $parameters = [], $number = null, ?TranslatorInterface $translator = null, bool $altNumbers = false): string
+ {
+ $translation = static::translateWith($translator ?: $this->getLocalTranslator(), $key, $parameters, $number);
+
+ if ($number !== null && $altNumbers) {
+ return str_replace($number, $this->translateNumber($number), $translation);
+ }
+
+ return $translation;
+ }
+
+ /**
+ * Returns the alternative number for a given integer if available in the current locale.
+ *
+ * @param int $number
+ *
+ * @return string
+ */
+ public function translateNumber(int $number): string
+ {
+ $translateKey = "alt_numbers.$number";
+ $symbol = $this->translate($translateKey);
+
+ if ($symbol !== $translateKey) {
+ return $symbol;
+ }
+
+ if ($number > 99 && $this->translate('alt_numbers.99') !== 'alt_numbers.99') {
+ $start = '';
+ foreach ([10000, 1000, 100] as $exp) {
+ $key = "alt_numbers_pow.$exp";
+ if ($number >= $exp && $number < $exp * 10 && ($pow = $this->translate($key)) !== $key) {
+ $unit = floor($number / $exp);
+ $number -= $unit * $exp;
+ $start .= ($unit > 1 ? $this->translate("alt_numbers.$unit") : '').$pow;
+ }
+ }
+ $result = '';
+ while ($number) {
+ $chunk = $number % 100;
+ $result = $this->translate("alt_numbers.$chunk").$result;
+ $number = floor($number / 100);
+ }
+
+ return "$start$result";
+ }
+
+ if ($number > 9 && $this->translate('alt_numbers.9') !== 'alt_numbers.9') {
+ $result = '';
+ while ($number) {
+ $chunk = $number % 10;
+ $result = $this->translate("alt_numbers.$chunk").$result;
+ $number = floor($number / 10);
+ }
+
+ return $result;
+ }
+
+ return (string) $number;
+ }
+
+ /**
+ * Translate a time string from a locale to an other.
+ *
+ * @param string $timeString date/time/duration string to translate (may also contain English)
+ * @param string|null $from input locale of the $timeString parameter (`Carbon::getLocale()` by default)
+ * @param string|null $to output locale of the result returned (`"en"` by default)
+ * @param int $mode specify what to translate with options:
+ * - CarbonInterface::TRANSLATE_ALL (default)
+ * - CarbonInterface::TRANSLATE_MONTHS
+ * - CarbonInterface::TRANSLATE_DAYS
+ * - CarbonInterface::TRANSLATE_UNITS
+ * - CarbonInterface::TRANSLATE_MERIDIEM
+ * You can use pipe to group: CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS
+ *
+ * @return string
+ */
+ public static function translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL)
+ {
+ // Fallback source and destination locales
+ $from = $from ?: static::getLocale();
+ $to = $to ?: 'en';
+
+ if ($from === $to) {
+ return $timeString;
+ }
+
+ // Standardize apostrophe
+ $timeString = strtr($timeString, ['’' => "'"]);
+
+ $fromTranslations = [];
+ $toTranslations = [];
+
+ foreach (['from', 'to'] as $key) {
+ $language = $$key;
+ $translator = Translator::get($language);
+ $translations = $translator->getMessages();
+
+ if (!isset($translations[$language])) {
+ return $timeString;
+ }
+
+ $translationKey = $key.'Translations';
+ $messages = $translations[$language];
+ $months = $messages['months'] ?? [];
+ $weekdays = $messages['weekdays'] ?? [];
+ $meridiem = $messages['meridiem'] ?? ['AM', 'PM'];
+
+ if (isset($messages['ordinal_words'])) {
+ $timeString = self::replaceOrdinalWords(
+ $timeString,
+ $key === 'from' ? array_flip($messages['ordinal_words']) : $messages['ordinal_words']
+ );
+ }
+
+ if ($key === 'from') {
+ foreach (['months', 'weekdays'] as $variable) {
+ $list = $messages[$variable.'_standalone'] ?? null;
+
+ if ($list) {
+ foreach ($$variable as $index => &$name) {
+ $name .= '|'.$messages[$variable.'_standalone'][$index];
+ }
+ }
+ }
+ }
+
+ $$translationKey = array_merge(
+ $mode & CarbonInterface::TRANSLATE_MONTHS ? static::getTranslationArray($months, 12, $timeString) : [],
+ $mode & CarbonInterface::TRANSLATE_MONTHS ? static::getTranslationArray($messages['months_short'] ?? [], 12, $timeString) : [],
+ $mode & CarbonInterface::TRANSLATE_DAYS ? static::getTranslationArray($weekdays, 7, $timeString) : [],
+ $mode & CarbonInterface::TRANSLATE_DAYS ? static::getTranslationArray($messages['weekdays_short'] ?? [], 7, $timeString) : [],
+ $mode & CarbonInterface::TRANSLATE_DIFF ? static::translateWordsByKeys([
+ 'diff_now',
+ 'diff_today',
+ 'diff_yesterday',
+ 'diff_tomorrow',
+ 'diff_before_yesterday',
+ 'diff_after_tomorrow',
+ ], $messages, $key) : [],
+ $mode & CarbonInterface::TRANSLATE_UNITS ? static::translateWordsByKeys([
+ 'year',
+ 'month',
+ 'week',
+ 'day',
+ 'hour',
+ 'minute',
+ 'second',
+ ], $messages, $key) : [],
+ $mode & CarbonInterface::TRANSLATE_MERIDIEM ? array_map(function ($hour) use ($meridiem) {
+ if (\is_array($meridiem)) {
+ return $meridiem[$hour < 12 ? 0 : 1];
+ }
+
+ return $meridiem($hour, 0, false);
+ }, range(0, 23)) : []
+ );
+ }
+
+ return substr(preg_replace_callback('/(?<=[\d\s+.\/,_-])('.implode('|', $fromTranslations).')(?=[\d\s+.\/,_-])/iu', function ($match) use ($fromTranslations, $toTranslations) {
+ [$chunk] = $match;
+
+ foreach ($fromTranslations as $index => $word) {
+ if (preg_match("/^$word\$/iu", $chunk)) {
+ return $toTranslations[$index] ?? '';
+ }
+ }
+
+ return $chunk; // @codeCoverageIgnore
+ }, " $timeString "), 1, -1);
+ }
+
+ /**
+ * Translate a time string from the current locale (`$date->locale()`) to an other.
+ *
+ * @param string $timeString time string to translate
+ * @param string|null $to output locale of the result returned ("en" by default)
+ *
+ * @return string
+ */
+ public function translateTimeStringTo($timeString, $to = null)
+ {
+ return static::translateTimeString($timeString, $this->getTranslatorLocale(), $to);
+ }
+
+ /**
+ * Get/set the locale for the current instance.
+ *
+ * @param string|null $locale
+ * @param string ...$fallbackLocales
+ *
+ * @return $this|string
+ */
+ public function locale(string $locale = null, ...$fallbackLocales)
+ {
+ if ($locale === null) {
+ return $this->getTranslatorLocale();
+ }
+
+ if (!$this->localTranslator || $this->getTranslatorLocale($this->localTranslator) !== $locale) {
+ $translator = Translator::get($locale);
+
+ if (!empty($fallbackLocales)) {
+ $translator->setFallbackLocales($fallbackLocales);
+
+ foreach ($fallbackLocales as $fallbackLocale) {
+ $messages = Translator::get($fallbackLocale)->getMessages();
+
+ if (isset($messages[$fallbackLocale])) {
+ $translator->setMessages($fallbackLocale, $messages[$fallbackLocale]);
+ }
+ }
+ }
+
+ $this->localTranslator = $translator;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Get the current translator locale.
+ *
+ * @return string
+ */
+ public static function getLocale()
+ {
+ return static::getLocaleAwareTranslator()->getLocale();
+ }
+
+ /**
+ * Set the current translator locale and indicate if the source locale file exists.
+ * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function setLocale($locale)
+ {
+ return static::getLocaleAwareTranslator()->setLocale($locale) !== false;
+ }
+
+ /**
+ * Set the fallback locale.
+ *
+ * @see https://symfony.com/doc/current/components/translation.html#fallback-locales
+ *
+ * @param string $locale
+ */
+ public static function setFallbackLocale($locale)
+ {
+ $translator = static::getTranslator();
+
+ if (method_exists($translator, 'setFallbackLocales')) {
+ $translator->setFallbackLocales([$locale]);
+
+ if ($translator instanceof Translator) {
+ $preferredLocale = $translator->getLocale();
+ $translator->setMessages($preferredLocale, array_replace_recursive(
+ $translator->getMessages()[$locale] ?? [],
+ Translator::get($locale)->getMessages()[$locale] ?? [],
+ $translator->getMessages($preferredLocale)
+ ));
+ }
+ }
+ }
+
+ /**
+ * Get the fallback locale.
+ *
+ * @see https://symfony.com/doc/current/components/translation.html#fallback-locales
+ *
+ * @return string|null
+ */
+ public static function getFallbackLocale()
+ {
+ $translator = static::getTranslator();
+
+ if (method_exists($translator, 'getFallbackLocales')) {
+ return $translator->getFallbackLocales()[0] ?? null;
+ }
+
+ return null;
+ }
+
+ /**
+ * Set the current locale to the given, execute the passed function, reset the locale to previous one,
+ * then return the result of the closure (or null if the closure was void).
+ *
+ * @param string $locale locale ex. en
+ * @param callable $func
+ *
+ * @return mixed
+ */
+ public static function executeWithLocale($locale, $func)
+ {
+ $currentLocale = static::getLocale();
+ $result = $func(static::setLocale($locale) ? static::getLocale() : false, static::translator());
+ static::setLocale($currentLocale);
+
+ return $result;
+ }
+
+ /**
+ * Returns true if the given locale is internally supported and has short-units support.
+ * Support is considered enabled if either year, day or hour has a short variant translated.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasShortUnits($locale)
+ {
+ return static::executeWithLocale($locale, function ($newLocale, TranslatorInterface $translator) {
+ return ($newLocale && (($y = static::translateWith($translator, 'y')) !== 'y' && $y !== static::translateWith($translator, 'year'))) || (
+ ($y = static::translateWith($translator, 'd')) !== 'd' &&
+ $y !== static::translateWith($translator, 'day')
+ ) || (
+ ($y = static::translateWith($translator, 'h')) !== 'h' &&
+ $y !== static::translateWith($translator, 'hour')
+ );
+ });
+ }
+
+ /**
+ * Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasDiffSyntax($locale)
+ {
+ return static::executeWithLocale($locale, function ($newLocale, TranslatorInterface $translator) {
+ if (!$newLocale) {
+ return false;
+ }
+
+ foreach (['ago', 'from_now', 'before', 'after'] as $key) {
+ if ($translator instanceof TranslatorBagInterface &&
+ self::getFromCatalogue($translator, $translator->getCatalogue($newLocale), $key) instanceof Closure
+ ) {
+ continue;
+ }
+
+ if ($translator->trans($key) === $key) {
+ return false;
+ }
+ }
+
+ return true;
+ });
+ }
+
+ /**
+ * Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
+ * Support is considered enabled if the 3 words are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasDiffOneDayWords($locale)
+ {
+ return static::executeWithLocale($locale, function ($newLocale, TranslatorInterface $translator) {
+ return $newLocale &&
+ $translator->trans('diff_now') !== 'diff_now' &&
+ $translator->trans('diff_yesterday') !== 'diff_yesterday' &&
+ $translator->trans('diff_tomorrow') !== 'diff_tomorrow';
+ });
+ }
+
+ /**
+ * Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
+ * Support is considered enabled if the 2 words are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasDiffTwoDayWords($locale)
+ {
+ return static::executeWithLocale($locale, function ($newLocale, TranslatorInterface $translator) {
+ return $newLocale &&
+ $translator->trans('diff_before_yesterday') !== 'diff_before_yesterday' &&
+ $translator->trans('diff_after_tomorrow') !== 'diff_after_tomorrow';
+ });
+ }
+
+ /**
+ * Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ *
+ * @param string $locale locale ex. en
+ *
+ * @return bool
+ */
+ public static function localeHasPeriodSyntax($locale)
+ {
+ return static::executeWithLocale($locale, function ($newLocale, TranslatorInterface $translator) {
+ return $newLocale &&
+ $translator->trans('period_recurrences') !== 'period_recurrences' &&
+ $translator->trans('period_interval') !== 'period_interval' &&
+ $translator->trans('period_start_date') !== 'period_start_date' &&
+ $translator->trans('period_end_date') !== 'period_end_date';
+ });
+ }
+
+ /**
+ * Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ *
+ * @return array
+ */
+ public static function getAvailableLocales()
+ {
+ $translator = static::getLocaleAwareTranslator();
+
+ return $translator instanceof Translator
+ ? $translator->getAvailableLocales()
+ : [$translator->getLocale()];
+ }
+
+ /**
+ * Returns list of Language object for each available locale. This object allow you to get the ISO name, native
+ * name, region and variant of the locale.
+ *
+ * @return Language[]
+ */
+ public static function getAvailableLocalesInfo()
+ {
+ $languages = [];
+ foreach (static::getAvailableLocales() as $id) {
+ $languages[$id] = new Language($id);
+ }
+
+ return $languages;
+ }
+
+ /**
+ * Initialize the default translator instance if necessary.
+ *
+ * @return \Symfony\Component\Translation\TranslatorInterface
+ */
+ protected static function translator()
+ {
+ if (static::$translator === null) {
+ static::$translator = Translator::get();
+ }
+
+ return static::$translator;
+ }
+
+ /**
+ * Get the locale of a given translator.
+ *
+ * If null or omitted, current local translator is used.
+ * If no local translator is in use, current global translator is used.
+ *
+ * @param null $translator
+ *
+ * @return string|null
+ */
+ protected function getTranslatorLocale($translator = null): ?string
+ {
+ if (\func_num_args() === 0) {
+ $translator = $this->getLocalTranslator();
+ }
+
+ $translator = static::getLocaleAwareTranslator($translator);
+
+ return $translator ? $translator->getLocale() : null;
+ }
+
+ /**
+ * Throw an error if passed object is not LocaleAwareInterface.
+ *
+ * @param LocaleAwareInterface|null $translator
+ *
+ * @return LocaleAwareInterface|null
+ */
+ protected static function getLocaleAwareTranslator($translator = null)
+ {
+ if (\func_num_args() === 0) {
+ $translator = static::translator();
+ }
+
+ if ($translator && !($translator instanceof LocaleAwareInterface || method_exists($translator, 'getLocale'))) {
+ throw new NotLocaleAwareException($translator); // @codeCoverageIgnore
+ }
+
+ return $translator;
+ }
+
+ /**
+ * @param mixed $translator
+ * @param \Symfony\Component\Translation\MessageCatalogueInterface $catalogue
+ *
+ * @return mixed
+ */
+ private static function getFromCatalogue($translator, $catalogue, string $id, string $domain = 'messages')
+ {
+ return $translator instanceof TranslatorStrongTypeInterface
+ ? $translator->getFromCatalogue($catalogue, $id, $domain) // @codeCoverageIgnore
+ : $catalogue->get($id, $domain);
+ }
+
+ /**
+ * Return the word cleaned from its translation codes.
+ *
+ * @param string $word
+ *
+ * @return string
+ */
+ private static function cleanWordFromTranslationString($word)
+ {
+ $word = str_replace([':count', '%count', ':time'], '', $word);
+ $word = strtr($word, ['’' => "'"]);
+ $word = preg_replace('/({\d+(,(\d+|Inf))?}|[\[\]]\d+(,(\d+|Inf))?[\[\]])/', '', $word);
+
+ return trim($word);
+ }
+
+ /**
+ * Translate a list of words.
+ *
+ * @param string[] $keys keys to translate.
+ * @param string[] $messages messages bag handling translations.
+ * @param string $key 'to' (to get the translation) or 'from' (to get the detection RegExp pattern).
+ *
+ * @return string[]
+ */
+ private static function translateWordsByKeys($keys, $messages, $key): array
+ {
+ return array_map(function ($wordKey) use ($messages, $key) {
+ $message = $key === 'from' && isset($messages[$wordKey.'_regexp'])
+ ? $messages[$wordKey.'_regexp']
+ : ($messages[$wordKey] ?? null);
+
+ if (!$message) {
+ return '>>DO NOT REPLACE<<';
+ }
+
+ $parts = explode('|', $message);
+
+ return $key === 'to'
+ ? self::cleanWordFromTranslationString(end($parts))
+ : '(?:'.implode('|', array_map([static::class, 'cleanWordFromTranslationString'], $parts)).')';
+ }, $keys);
+ }
+
+ /**
+ * Get an array of translations based on the current date.
+ *
+ * @param callable $translation
+ * @param int $length
+ * @param string $timeString
+ *
+ * @return string[]
+ */
+ private static function getTranslationArray($translation, $length, $timeString): array
+ {
+ $filler = '>>DO NOT REPLACE<<';
+
+ if (\is_array($translation)) {
+ return array_pad($translation, $length, $filler);
+ }
+
+ $list = [];
+ $date = static::now();
+
+ for ($i = 0; $i < $length; $i++) {
+ $list[] = $translation($date, $timeString, $i) ?? $filler;
+ }
+
+ return $list;
+ }
+
+ private static function replaceOrdinalWords(string $timeString, array $ordinalWords): string
+ {
+ return preg_replace_callback('/(?
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+/**
+ * Trait Macros.
+ *
+ * Allows users to register macros within the Carbon class.
+ */
+trait Macro
+{
+ use Mixin;
+
+ /**
+ * The registered macros.
+ *
+ * @var array
+ */
+ protected static $globalMacros = [];
+
+ /**
+ * The registered generic macros.
+ *
+ * @var array
+ */
+ protected static $globalGenericMacros = [];
+
+ /**
+ * Register a custom macro.
+ *
+ * @example
+ * ```
+ * $userSettings = [
+ * 'locale' => 'pt',
+ * 'timezone' => 'America/Sao_Paulo',
+ * ];
+ * Carbon::macro('userFormat', function () use ($userSettings) {
+ * return $this->copy()->locale($userSettings['locale'])->tz($userSettings['timezone'])->calendar();
+ * });
+ * echo Carbon::yesterday()->hours(11)->userFormat();
+ * ```
+ *
+ * @param string $name
+ * @param object|callable $macro
+ *
+ * @return void
+ */
+ public static function macro($name, $macro)
+ {
+ static::$globalMacros[$name] = $macro;
+ }
+
+ /**
+ * Remove all macros and generic macros.
+ */
+ public static function resetMacros()
+ {
+ static::$globalMacros = [];
+ static::$globalGenericMacros = [];
+ }
+
+ /**
+ * Register a custom macro.
+ *
+ * @param object|callable $macro
+ * @param int $priority marco with higher priority is tried first
+ *
+ * @return void
+ */
+ public static function genericMacro($macro, $priority = 0)
+ {
+ if (!isset(static::$globalGenericMacros[$priority])) {
+ static::$globalGenericMacros[$priority] = [];
+ krsort(static::$globalGenericMacros, SORT_NUMERIC);
+ }
+
+ static::$globalGenericMacros[$priority][] = $macro;
+ }
+
+ /**
+ * Checks if macro is registered globally.
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public static function hasMacro($name)
+ {
+ return isset(static::$globalMacros[$name]);
+ }
+
+ /**
+ * Get the raw callable macro registered globally for a given name.
+ *
+ * @param string $name
+ *
+ * @return callable|null
+ */
+ public static function getMacro($name)
+ {
+ return static::$globalMacros[$name] ?? null;
+ }
+
+ /**
+ * Checks if macro is registered globally or locally.
+ *
+ * @param string $name
+ *
+ * @return bool
+ */
+ public function hasLocalMacro($name)
+ {
+ return ($this->localMacros && isset($this->localMacros[$name])) || static::hasMacro($name);
+ }
+
+ /**
+ * Get the raw callable macro registered globally or locally for a given name.
+ *
+ * @param string $name
+ *
+ * @return callable|null
+ */
+ public function getLocalMacro($name)
+ {
+ return ($this->localMacros ?? [])[$name] ?? static::getMacro($name);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/MagicParameter.php b/vendor/nesbot/carbon/src/Carbon/Traits/MagicParameter.php
new file mode 100644
index 0000000..310a44d
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/MagicParameter.php
@@ -0,0 +1,33 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+/**
+ * Trait MagicParameter.
+ *
+ * Allows to retrieve parameter in magic calls by index or name.
+ */
+trait MagicParameter
+{
+ private function getMagicParameter(array $parameters, int $index, string $key, $default)
+ {
+ if (\array_key_exists($index, $parameters)) {
+ return $parameters[$index];
+ }
+
+ if (\array_key_exists($key, $parameters)) {
+ return $parameters[$key];
+ }
+
+ return $default;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php b/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php
new file mode 100644
index 0000000..5822454
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php
@@ -0,0 +1,226 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterface;
+use Carbon\CarbonInterval;
+use Carbon\CarbonPeriod;
+use Closure;
+use Generator;
+use ReflectionClass;
+use ReflectionException;
+use ReflectionMethod;
+use Throwable;
+
+/**
+ * Trait Mixin.
+ *
+ * Allows mixing in entire classes with multiple macros.
+ */
+trait Mixin
+{
+ /**
+ * Stack of macro instance contexts.
+ *
+ * @var array
+ */
+ protected static $macroContextStack = [];
+
+ /**
+ * Mix another object into the class.
+ *
+ * @example
+ * ```
+ * Carbon::mixin(new class {
+ * public function addMoon() {
+ * return function () {
+ * return $this->addDays(30);
+ * };
+ * }
+ * public function subMoon() {
+ * return function () {
+ * return $this->subDays(30);
+ * };
+ * }
+ * });
+ * $fullMoon = Carbon::create('2018-12-22');
+ * $nextFullMoon = $fullMoon->addMoon();
+ * $blackMoon = Carbon::create('2019-01-06');
+ * $previousBlackMoon = $blackMoon->subMoon();
+ * echo "$nextFullMoon\n";
+ * echo "$previousBlackMoon\n";
+ * ```
+ *
+ * @param object|string $mixin
+ *
+ * @throws ReflectionException
+ *
+ * @return void
+ */
+ public static function mixin($mixin)
+ {
+ \is_string($mixin) && trait_exists($mixin)
+ ? self::loadMixinTrait($mixin)
+ : self::loadMixinClass($mixin);
+ }
+
+ /**
+ * @param object|string $mixin
+ *
+ * @throws ReflectionException
+ */
+ private static function loadMixinClass($mixin)
+ {
+ $methods = (new ReflectionClass($mixin))->getMethods(
+ ReflectionMethod::IS_PUBLIC | ReflectionMethod::IS_PROTECTED
+ );
+
+ foreach ($methods as $method) {
+ if ($method->isConstructor() || $method->isDestructor()) {
+ continue;
+ }
+
+ $method->setAccessible(true);
+
+ static::macro($method->name, $method->invoke($mixin));
+ }
+ }
+
+ /**
+ * @param string $trait
+ */
+ private static function loadMixinTrait($trait)
+ {
+ $context = eval(self::getAnonymousClassCodeForTrait($trait));
+ $className = \get_class($context);
+ $baseClass = static::class;
+
+ foreach (self::getMixableMethods($context) as $name) {
+ $closureBase = Closure::fromCallable([$context, $name]);
+
+ static::macro($name, function (...$parameters) use ($closureBase, $className, $baseClass) {
+ $downContext = isset($this) ? ($this) : new $baseClass();
+ $context = isset($this) ? $this->cast($className) : new $className();
+
+ try {
+ // @ is required to handle error if not converted into exceptions
+ $closure = @$closureBase->bindTo($context);
+ } catch (Throwable $throwable) { // @codeCoverageIgnore
+ $closure = $closureBase; // @codeCoverageIgnore
+ }
+
+ // in case of errors not converted into exceptions
+ $closure = $closure ?: $closureBase;
+
+ $result = $closure(...$parameters);
+
+ if (!($result instanceof $className)) {
+ return $result;
+ }
+
+ if ($downContext instanceof CarbonInterface && $result instanceof CarbonInterface) {
+ if ($context !== $result) {
+ $downContext = $downContext->copy();
+ }
+
+ return $downContext
+ ->setTimezone($result->getTimezone())
+ ->modify($result->format('Y-m-d H:i:s.u'))
+ ->settings($result->getSettings());
+ }
+
+ if ($downContext instanceof CarbonInterval && $result instanceof CarbonInterval) {
+ if ($context !== $result) {
+ $downContext = $downContext->copy();
+ }
+
+ $downContext->copyProperties($result);
+ self::copyStep($downContext, $result);
+ self::copyNegativeUnits($downContext, $result);
+
+ return $downContext->settings($result->getSettings());
+ }
+
+ if ($downContext instanceof CarbonPeriod && $result instanceof CarbonPeriod) {
+ if ($context !== $result) {
+ $downContext = $downContext->copy();
+ }
+
+ return $downContext
+ ->setDates($result->getStartDate(), $result->getEndDate())
+ ->setRecurrences($result->getRecurrences())
+ ->setOptions($result->getOptions())
+ ->settings($result->getSettings());
+ }
+
+ return $result;
+ });
+ }
+ }
+
+ private static function getAnonymousClassCodeForTrait(string $trait)
+ {
+ return 'return new class() extends '.static::class.' {use '.$trait.';};';
+ }
+
+ private static function getMixableMethods(self $context): Generator
+ {
+ foreach (get_class_methods($context) as $name) {
+ if (method_exists(static::class, $name)) {
+ continue;
+ }
+
+ yield $name;
+ }
+ }
+
+ /**
+ * Stack a Carbon context from inside calls of self::this() and execute a given action.
+ *
+ * @param static|null $context
+ * @param callable $callable
+ *
+ * @throws Throwable
+ *
+ * @return mixed
+ */
+ protected static function bindMacroContext($context, callable $callable)
+ {
+ static::$macroContextStack[] = $context;
+
+ try {
+ return $callable();
+ } finally {
+ array_pop(static::$macroContextStack);
+ }
+ }
+
+ /**
+ * Return the current context from inside a macro callee or a null if static.
+ *
+ * @return static|null
+ */
+ protected static function context()
+ {
+ return end(static::$macroContextStack) ?: null;
+ }
+
+ /**
+ * Return the current context from inside a macro callee or a new one if static.
+ *
+ * @return static
+ */
+ protected static function this()
+ {
+ return end(static::$macroContextStack) ?: new static();
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php b/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php
new file mode 100644
index 0000000..39343d8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php
@@ -0,0 +1,472 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterface;
+use ReturnTypeWillChange;
+
+/**
+ * Trait Modifiers.
+ *
+ * Returns dates relative to current date using modifier short-hand.
+ */
+trait Modifiers
+{
+ /**
+ * Midday/noon hour.
+ *
+ * @var int
+ */
+ protected static $midDayAt = 12;
+
+ /**
+ * get midday/noon hour
+ *
+ * @return int
+ */
+ public static function getMidDayAt()
+ {
+ return static::$midDayAt;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
+ * hour, test it explicitly:
+ * $date->format('G') == 13
+ * or to set explicitly to a given hour:
+ * $date->setTime(13, 0, 0, 0)
+ *
+ * Set midday/noon hour
+ *
+ * @param int $hour midday hour
+ *
+ * @return void
+ */
+ public static function setMidDayAt($hour)
+ {
+ static::$midDayAt = $hour;
+ }
+
+ /**
+ * Modify to midday, default to self::$midDayAt
+ *
+ * @return static
+ */
+ public function midDay()
+ {
+ return $this->setTime(static::$midDayAt, 0, 0, 0);
+ }
+
+ /**
+ * Modify to the next occurrence of a given modifier such as a day of
+ * the week. If no modifier is provided, modify to the next occurrence
+ * of the current day of the week. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param string|int|null $modifier
+ *
+ * @return static|false
+ */
+ public function next($modifier = null)
+ {
+ if ($modifier === null) {
+ $modifier = $this->dayOfWeek;
+ }
+
+ return $this->change(
+ 'next '.(\is_string($modifier) ? $modifier : static::$days[$modifier])
+ );
+ }
+
+ /**
+ * Go forward or backward to the next week- or weekend-day.
+ *
+ * @param bool $weekday
+ * @param bool $forward
+ *
+ * @return static
+ */
+ private function nextOrPreviousDay($weekday = true, $forward = true)
+ {
+ /** @var CarbonInterface $date */
+ $date = $this;
+ $step = $forward ? 1 : -1;
+
+ do {
+ $date = $date->addDays($step);
+ } while ($weekday ? $date->isWeekend() : $date->isWeekday());
+
+ return $date;
+ }
+
+ /**
+ * Go forward to the next weekday.
+ *
+ * @return static
+ */
+ public function nextWeekday()
+ {
+ return $this->nextOrPreviousDay();
+ }
+
+ /**
+ * Go backward to the previous weekday.
+ *
+ * @return static
+ */
+ public function previousWeekday()
+ {
+ return $this->nextOrPreviousDay(true, false);
+ }
+
+ /**
+ * Go forward to the next weekend day.
+ *
+ * @return static
+ */
+ public function nextWeekendDay()
+ {
+ return $this->nextOrPreviousDay(false);
+ }
+
+ /**
+ * Go backward to the previous weekend day.
+ *
+ * @return static
+ */
+ public function previousWeekendDay()
+ {
+ return $this->nextOrPreviousDay(false, false);
+ }
+
+ /**
+ * Modify to the previous occurrence of a given modifier such as a day of
+ * the week. If no dayOfWeek is provided, modify to the previous occurrence
+ * of the current day of the week. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param string|int|null $modifier
+ *
+ * @return static|false
+ */
+ public function previous($modifier = null)
+ {
+ if ($modifier === null) {
+ $modifier = $this->dayOfWeek;
+ }
+
+ return $this->change(
+ 'last '.(\is_string($modifier) ? $modifier : static::$days[$modifier])
+ );
+ }
+
+ /**
+ * Modify to the first occurrence of a given day of the week
+ * in the current month. If no dayOfWeek is provided, modify to the
+ * first day of the current month. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek
+ *
+ * @return static
+ */
+ public function firstOfMonth($dayOfWeek = null)
+ {
+ $date = $this->startOfDay();
+
+ if ($dayOfWeek === null) {
+ return $date->day(1);
+ }
+
+ return $date->modify('first '.static::$days[$dayOfWeek].' of '.$date->rawFormat('F').' '.$date->year);
+ }
+
+ /**
+ * Modify to the last occurrence of a given day of the week
+ * in the current month. If no dayOfWeek is provided, modify to the
+ * last day of the current month. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek
+ *
+ * @return static
+ */
+ public function lastOfMonth($dayOfWeek = null)
+ {
+ $date = $this->startOfDay();
+
+ if ($dayOfWeek === null) {
+ return $date->day($date->daysInMonth);
+ }
+
+ return $date->modify('last '.static::$days[$dayOfWeek].' of '.$date->rawFormat('F').' '.$date->year);
+ }
+
+ /**
+ * Modify to the given occurrence of a given day of the week
+ * in the current month. If the calculated occurrence is outside the scope
+ * of the current month, then return false and no modifications are made.
+ * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int $nth
+ * @param int $dayOfWeek
+ *
+ * @return mixed
+ */
+ public function nthOfMonth($nth, $dayOfWeek)
+ {
+ $date = $this->avoidMutation()->firstOfMonth();
+ $check = $date->rawFormat('Y-m');
+ $date = $date->modify('+'.$nth.' '.static::$days[$dayOfWeek]);
+
+ return $date->rawFormat('Y-m') === $check ? $this->modify((string) $date) : false;
+ }
+
+ /**
+ * Modify to the first occurrence of a given day of the week
+ * in the current quarter. If no dayOfWeek is provided, modify to the
+ * first day of the current quarter. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function firstOfQuarter($dayOfWeek = null)
+ {
+ return $this->setDate($this->year, $this->quarter * static::MONTHS_PER_QUARTER - 2, 1)->firstOfMonth($dayOfWeek);
+ }
+
+ /**
+ * Modify to the last occurrence of a given day of the week
+ * in the current quarter. If no dayOfWeek is provided, modify to the
+ * last day of the current quarter. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function lastOfQuarter($dayOfWeek = null)
+ {
+ return $this->setDate($this->year, $this->quarter * static::MONTHS_PER_QUARTER, 1)->lastOfMonth($dayOfWeek);
+ }
+
+ /**
+ * Modify to the given occurrence of a given day of the week
+ * in the current quarter. If the calculated occurrence is outside the scope
+ * of the current quarter, then return false and no modifications are made.
+ * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int $nth
+ * @param int $dayOfWeek
+ *
+ * @return mixed
+ */
+ public function nthOfQuarter($nth, $dayOfWeek)
+ {
+ $date = $this->avoidMutation()->day(1)->month($this->quarter * static::MONTHS_PER_QUARTER);
+ $lastMonth = $date->month;
+ $year = $date->year;
+ $date = $date->firstOfQuarter()->modify('+'.$nth.' '.static::$days[$dayOfWeek]);
+
+ return ($lastMonth < $date->month || $year !== $date->year) ? false : $this->modify((string) $date);
+ }
+
+ /**
+ * Modify to the first occurrence of a given day of the week
+ * in the current year. If no dayOfWeek is provided, modify to the
+ * first day of the current year. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function firstOfYear($dayOfWeek = null)
+ {
+ return $this->month(1)->firstOfMonth($dayOfWeek);
+ }
+
+ /**
+ * Modify to the last occurrence of a given day of the week
+ * in the current year. If no dayOfWeek is provided, modify to the
+ * last day of the current year. Use the supplied constants
+ * to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int|null $dayOfWeek day of the week default null
+ *
+ * @return static
+ */
+ public function lastOfYear($dayOfWeek = null)
+ {
+ return $this->month(static::MONTHS_PER_YEAR)->lastOfMonth($dayOfWeek);
+ }
+
+ /**
+ * Modify to the given occurrence of a given day of the week
+ * in the current year. If the calculated occurrence is outside the scope
+ * of the current year, then return false and no modifications are made.
+ * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
+ *
+ * @param int $nth
+ * @param int $dayOfWeek
+ *
+ * @return mixed
+ */
+ public function nthOfYear($nth, $dayOfWeek)
+ {
+ $date = $this->avoidMutation()->firstOfYear()->modify('+'.$nth.' '.static::$days[$dayOfWeek]);
+
+ return $this->year === $date->year ? $this->modify((string) $date) : false;
+ }
+
+ /**
+ * Modify the current instance to the average of a given instance (default now) and the current instance
+ * (second-precision).
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|null $date
+ *
+ * @return static
+ */
+ public function average($date = null)
+ {
+ return $this->addRealMicroseconds((int) ($this->diffInRealMicroseconds($this->resolveCarbon($date), false) / 2));
+ }
+
+ /**
+ * Get the closest date from the instance (second-precision).
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return static
+ */
+ public function closest($date1, $date2)
+ {
+ return $this->diffInRealMicroseconds($date1) < $this->diffInRealMicroseconds($date2) ? $date1 : $date2;
+ }
+
+ /**
+ * Get the farthest date from the instance (second-precision).
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
+ *
+ * @return static
+ */
+ public function farthest($date1, $date2)
+ {
+ return $this->diffInRealMicroseconds($date1) > $this->diffInRealMicroseconds($date2) ? $date1 : $date2;
+ }
+
+ /**
+ * Get the minimum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return static
+ */
+ public function min($date = null)
+ {
+ $date = $this->resolveCarbon($date);
+
+ return $this->lt($date) ? $this : $date;
+ }
+
+ /**
+ * Get the minimum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see min()
+ *
+ * @return static
+ */
+ public function minimum($date = null)
+ {
+ return $this->min($date);
+ }
+
+ /**
+ * Get the maximum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @return static
+ */
+ public function max($date = null)
+ {
+ $date = $this->resolveCarbon($date);
+
+ return $this->gt($date) ? $this : $date;
+ }
+
+ /**
+ * Get the maximum instance between a given instance (default now) and the current instance.
+ *
+ * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
+ *
+ * @see max()
+ *
+ * @return static
+ */
+ public function maximum($date = null)
+ {
+ return $this->max($date);
+ }
+
+ /**
+ * Calls \DateTime::modify if mutable or \DateTimeImmutable::modify else.
+ *
+ * @see https://php.net/manual/en/datetime.modify.php
+ *
+ * @return static|false
+ */
+ #[ReturnTypeWillChange]
+ public function modify($modify)
+ {
+ return parent::modify((string) $modify);
+ }
+
+ /**
+ * Similar to native modify() method of DateTime but can handle more grammars.
+ *
+ * @example
+ * ```
+ * echo Carbon::now()->change('next 2pm');
+ * ```
+ *
+ * @link https://php.net/manual/en/datetime.modify.php
+ *
+ * @param string $modifier
+ *
+ * @return static|false
+ */
+ public function change($modifier)
+ {
+ return $this->modify(preg_replace_callback('/^(next|previous|last)\s+(\d{1,2}(h|am|pm|:\d{1,2}(:\d{1,2})?))$/i', function ($match) {
+ $match[2] = str_replace('h', ':00', $match[2]);
+ $test = $this->avoidMutation()->modify($match[2]);
+ $method = $match[1] === 'next' ? 'lt' : 'gt';
+ $match[1] = $test->$method($this) ? $match[1].' day' : 'today';
+
+ return $match[1].' '.$match[2];
+ }, strtr(trim($modifier), [
+ ' at ' => ' ',
+ 'just now' => 'now',
+ 'after tomorrow' => 'tomorrow +1 day',
+ 'before yesterday' => 'yesterday -1 day',
+ ])));
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php b/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php
new file mode 100644
index 0000000..561c867
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php
@@ -0,0 +1,71 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Carbon;
+use Carbon\CarbonImmutable;
+
+/**
+ * Trait Mutability.
+ *
+ * Utils to know if the current object is mutable or immutable and convert it.
+ */
+trait Mutability
+{
+ use Cast;
+
+ /**
+ * Returns true if the current class/instance is mutable.
+ *
+ * @return bool
+ */
+ public static function isMutable()
+ {
+ return false;
+ }
+
+ /**
+ * Returns true if the current class/instance is immutable.
+ *
+ * @return bool
+ */
+ public static function isImmutable()
+ {
+ return !static::isMutable();
+ }
+
+ /**
+ * Return a mutable copy of the instance.
+ *
+ * @return Carbon
+ */
+ public function toMutable()
+ {
+ /** @var Carbon $date */
+ $date = $this->cast(Carbon::class);
+
+ return $date;
+ }
+
+ /**
+ * Return a immutable copy of the instance.
+ *
+ * @return CarbonImmutable
+ */
+ public function toImmutable()
+ {
+ /** @var CarbonImmutable $date */
+ $date = $this->cast(CarbonImmutable::class);
+
+ return $date;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php b/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php
new file mode 100644
index 0000000..c77a102
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+trait ObjectInitialisation
+{
+ /**
+ * True when parent::__construct has been called.
+ *
+ * @var string
+ */
+ protected $constructedObjectId;
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Options.php b/vendor/nesbot/carbon/src/Carbon/Traits/Options.php
new file mode 100644
index 0000000..48f9739
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Options.php
@@ -0,0 +1,471 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterface;
+use DateTimeInterface;
+use Throwable;
+
+/**
+ * Trait Options.
+ *
+ * Embed base methods to change settings of Carbon classes.
+ *
+ * Depends on the following methods:
+ *
+ * @method static shiftTimezone($timezone) Set the timezone
+ */
+trait Options
+{
+ use Localization;
+
+ /**
+ * Customizable PHP_INT_SIZE override.
+ *
+ * @var int
+ */
+ public static $PHPIntSize = PHP_INT_SIZE;
+
+ /**
+ * First day of week.
+ *
+ * @var int|string
+ */
+ protected static $weekStartsAt = CarbonInterface::MONDAY;
+
+ /**
+ * Last day of week.
+ *
+ * @var int|string
+ */
+ protected static $weekEndsAt = CarbonInterface::SUNDAY;
+
+ /**
+ * Days of weekend.
+ *
+ * @var array
+ */
+ protected static $weekendDays = [
+ CarbonInterface::SATURDAY,
+ CarbonInterface::SUNDAY,
+ ];
+
+ /**
+ * Format regex patterns.
+ *
+ * @var array
+ */
+ protected static $regexFormats = [
+ 'd' => '(3[01]|[12][0-9]|0[1-9])',
+ 'D' => '(Sun|Mon|Tue|Wed|Thu|Fri|Sat)',
+ 'j' => '([123][0-9]|[1-9])',
+ 'l' => '([a-zA-Z]{2,})',
+ 'N' => '([1-7])',
+ 'S' => '(st|nd|rd|th)',
+ 'w' => '([0-6])',
+ 'z' => '(36[0-5]|3[0-5][0-9]|[12][0-9]{2}|[1-9]?[0-9])',
+ 'W' => '(5[012]|[1-4][0-9]|0?[1-9])',
+ 'F' => '([a-zA-Z]{2,})',
+ 'm' => '(1[012]|0[1-9])',
+ 'M' => '([a-zA-Z]{3})',
+ 'n' => '(1[012]|[1-9])',
+ 't' => '(2[89]|3[01])',
+ 'L' => '(0|1)',
+ 'o' => '([1-9][0-9]{0,4})',
+ 'Y' => '([1-9]?[0-9]{4})',
+ 'y' => '([0-9]{2})',
+ 'a' => '(am|pm)',
+ 'A' => '(AM|PM)',
+ 'B' => '([0-9]{3})',
+ 'g' => '(1[012]|[1-9])',
+ 'G' => '(2[0-3]|1?[0-9])',
+ 'h' => '(1[012]|0[1-9])',
+ 'H' => '(2[0-3]|[01][0-9])',
+ 'i' => '([0-5][0-9])',
+ 's' => '([0-5][0-9])',
+ 'u' => '([0-9]{1,6})',
+ 'v' => '([0-9]{1,3})',
+ 'e' => '([a-zA-Z]{1,5})|([a-zA-Z]*\\/[a-zA-Z]*)',
+ 'I' => '(0|1)',
+ 'O' => '([+-](1[012]|0[0-9])[0134][05])',
+ 'P' => '([+-](1[012]|0[0-9]):[0134][05])',
+ 'p' => '(Z|[+-](1[012]|0[0-9]):[0134][05])',
+ 'T' => '([a-zA-Z]{1,5})',
+ 'Z' => '(-?[1-5]?[0-9]{1,4})',
+ 'U' => '([0-9]*)',
+
+ // The formats below are combinations of the above formats.
+ 'c' => '(([1-9]?[0-9]{4})-(1[012]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])[+-](1[012]|0[0-9]):([0134][05]))', // Y-m-dTH:i:sP
+ 'r' => '(([a-zA-Z]{3}), ([123][0-9]|0[1-9]) ([a-zA-Z]{3}) ([1-9]?[0-9]{4}) (2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9]) [+-](1[012]|0[0-9])([0134][05]))', // D, d M Y H:i:s O
+ ];
+
+ /**
+ * Format modifiers (such as available in createFromFormat) regex patterns.
+ *
+ * @var array
+ */
+ protected static $regexFormatModifiers = [
+ '*' => '.+',
+ ' ' => '[ ]',
+ '#' => '[;:\\/.,()-]',
+ '?' => '([^a]|[a])',
+ '!' => '',
+ '|' => '',
+ '+' => '',
+ ];
+
+ /**
+ * Indicates if months should be calculated with overflow.
+ * Global setting.
+ *
+ * @var bool
+ */
+ protected static $monthsOverflow = true;
+
+ /**
+ * Indicates if years should be calculated with overflow.
+ * Global setting.
+ *
+ * @var bool
+ */
+ protected static $yearsOverflow = true;
+
+ /**
+ * Indicates if the strict mode is in use.
+ * Global setting.
+ *
+ * @var bool
+ */
+ protected static $strictModeEnabled = true;
+
+ /**
+ * Function to call instead of format.
+ *
+ * @var string|callable|null
+ */
+ protected static $formatFunction;
+
+ /**
+ * Function to call instead of createFromFormat.
+ *
+ * @var string|callable|null
+ */
+ protected static $createFromFormatFunction;
+
+ /**
+ * Function to call instead of parse.
+ *
+ * @var string|callable|null
+ */
+ protected static $parseFunction;
+
+ /**
+ * Indicates if months should be calculated with overflow.
+ * Specific setting.
+ *
+ * @var bool|null
+ */
+ protected $localMonthsOverflow;
+
+ /**
+ * Indicates if years should be calculated with overflow.
+ * Specific setting.
+ *
+ * @var bool|null
+ */
+ protected $localYearsOverflow;
+
+ /**
+ * Indicates if the strict mode is in use.
+ * Specific setting.
+ *
+ * @var bool|null
+ */
+ protected $localStrictModeEnabled;
+
+ /**
+ * Options for diffForHumans and forHumans methods.
+ *
+ * @var bool|null
+ */
+ protected $localHumanDiffOptions;
+
+ /**
+ * Format to use on string cast.
+ *
+ * @var string|null
+ */
+ protected $localToStringFormat;
+
+ /**
+ * Format to use on JSON serialization.
+ *
+ * @var string|null
+ */
+ protected $localSerializer;
+
+ /**
+ * Instance-specific macros.
+ *
+ * @var array|null
+ */
+ protected $localMacros;
+
+ /**
+ * Instance-specific generic macros.
+ *
+ * @var array|null
+ */
+ protected $localGenericMacros;
+
+ /**
+ * Function to call instead of format.
+ *
+ * @var string|callable|null
+ */
+ protected $localFormatFunction;
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @see settings
+ *
+ * Enable the strict mode (or disable with passing false).
+ *
+ * @param bool $strictModeEnabled
+ */
+ public static function useStrictMode($strictModeEnabled = true)
+ {
+ static::$strictModeEnabled = $strictModeEnabled;
+ }
+
+ /**
+ * Returns true if the strict mode is globally in use, false else.
+ * (It can be overridden in specific instances.)
+ *
+ * @return bool
+ */
+ public static function isStrictModeEnabled()
+ {
+ return static::$strictModeEnabled;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Indicates if months should be calculated with overflow.
+ *
+ * @param bool $monthsOverflow
+ *
+ * @return void
+ */
+ public static function useMonthsOverflow($monthsOverflow = true)
+ {
+ static::$monthsOverflow = $monthsOverflow;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Reset the month overflow behavior.
+ *
+ * @return void
+ */
+ public static function resetMonthsOverflow()
+ {
+ static::$monthsOverflow = true;
+ }
+
+ /**
+ * Get the month overflow global behavior (can be overridden in specific instances).
+ *
+ * @return bool
+ */
+ public static function shouldOverflowMonths()
+ {
+ return static::$monthsOverflow;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Indicates if years should be calculated with overflow.
+ *
+ * @param bool $yearsOverflow
+ *
+ * @return void
+ */
+ public static function useYearsOverflow($yearsOverflow = true)
+ {
+ static::$yearsOverflow = $yearsOverflow;
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @see settings
+ *
+ * Reset the month overflow behavior.
+ *
+ * @return void
+ */
+ public static function resetYearsOverflow()
+ {
+ static::$yearsOverflow = true;
+ }
+
+ /**
+ * Get the month overflow global behavior (can be overridden in specific instances).
+ *
+ * @return bool
+ */
+ public static function shouldOverflowYears()
+ {
+ return static::$yearsOverflow;
+ }
+
+ /**
+ * Set specific options.
+ * - strictMode: true|false|null
+ * - monthOverflow: true|false|null
+ * - yearOverflow: true|false|null
+ * - humanDiffOptions: int|null
+ * - toStringFormat: string|Closure|null
+ * - toJsonFormat: string|Closure|null
+ * - locale: string|null
+ * - timezone: \DateTimeZone|string|int|null
+ * - macros: array|null
+ * - genericMacros: array|null
+ *
+ * @param array $settings
+ *
+ * @return $this|static
+ */
+ public function settings(array $settings)
+ {
+ $this->localStrictModeEnabled = $settings['strictMode'] ?? null;
+ $this->localMonthsOverflow = $settings['monthOverflow'] ?? null;
+ $this->localYearsOverflow = $settings['yearOverflow'] ?? null;
+ $this->localHumanDiffOptions = $settings['humanDiffOptions'] ?? null;
+ $this->localToStringFormat = $settings['toStringFormat'] ?? null;
+ $this->localSerializer = $settings['toJsonFormat'] ?? null;
+ $this->localMacros = $settings['macros'] ?? null;
+ $this->localGenericMacros = $settings['genericMacros'] ?? null;
+ $this->localFormatFunction = $settings['formatFunction'] ?? null;
+
+ if (isset($settings['locale'])) {
+ $locales = $settings['locale'];
+
+ if (!\is_array($locales)) {
+ $locales = [$locales];
+ }
+
+ $this->locale(...$locales);
+ }
+
+ if (isset($settings['innerTimezone'])) {
+ return $this->setTimezone($settings['innerTimezone']);
+ }
+
+ if (isset($settings['timezone'])) {
+ return $this->shiftTimezone($settings['timezone']);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns current local settings.
+ *
+ * @return array
+ */
+ public function getSettings()
+ {
+ $settings = [];
+ $map = [
+ 'localStrictModeEnabled' => 'strictMode',
+ 'localMonthsOverflow' => 'monthOverflow',
+ 'localYearsOverflow' => 'yearOverflow',
+ 'localHumanDiffOptions' => 'humanDiffOptions',
+ 'localToStringFormat' => 'toStringFormat',
+ 'localSerializer' => 'toJsonFormat',
+ 'localMacros' => 'macros',
+ 'localGenericMacros' => 'genericMacros',
+ 'locale' => 'locale',
+ 'tzName' => 'timezone',
+ 'localFormatFunction' => 'formatFunction',
+ ];
+
+ foreach ($map as $property => $key) {
+ $value = $this->$property ?? null;
+
+ if ($value !== null && ($key !== 'locale' || $value !== 'en' || $this->localTranslator)) {
+ $settings[$key] = $value;
+ }
+ }
+
+ return $settings;
+ }
+
+ /**
+ * Show truthy properties on var_dump().
+ *
+ * @return array
+ */
+ public function __debugInfo()
+ {
+ $infos = array_filter(get_object_vars($this), static function ($var) {
+ return $var;
+ });
+
+ foreach (['dumpProperties', 'constructedObjectId', 'constructed'] as $property) {
+ if (isset($infos[$property])) {
+ unset($infos[$property]);
+ }
+ }
+
+ $this->addExtraDebugInfos($infos);
+
+ return $infos;
+ }
+
+ protected function addExtraDebugInfos(&$infos): void
+ {
+ if ($this instanceof DateTimeInterface) {
+ try {
+ if (!isset($infos['date'])) {
+ $infos['date'] = $this->format(CarbonInterface::MOCK_DATETIME_FORMAT);
+ }
+
+ if (!isset($infos['timezone'])) {
+ $infos['timezone'] = $this->tzName;
+ }
+ } catch (Throwable $exception) {
+ // noop
+ }
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php b/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php
new file mode 100644
index 0000000..f98c2a3
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php
@@ -0,0 +1,258 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterface;
+use Carbon\Exceptions\UnknownUnitException;
+
+/**
+ * Trait Rounding.
+ *
+ * Round, ceil, floor units.
+ *
+ * Depends on the following methods:
+ *
+ * @method static copy()
+ * @method static startOfWeek(int $weekStartsAt = null)
+ */
+trait Rounding
+{
+ use IntervalRounding;
+
+ /**
+ * Round the current instance at the given unit with given precision if specified and the given function.
+ *
+ * @param string $unit
+ * @param float|int $precision
+ * @param string $function
+ *
+ * @return CarbonInterface
+ */
+ public function roundUnit($unit, $precision = 1, $function = 'round')
+ {
+ $metaUnits = [
+ // @call roundUnit
+ 'millennium' => [static::YEARS_PER_MILLENNIUM, 'year'],
+ // @call roundUnit
+ 'century' => [static::YEARS_PER_CENTURY, 'year'],
+ // @call roundUnit
+ 'decade' => [static::YEARS_PER_DECADE, 'year'],
+ // @call roundUnit
+ 'quarter' => [static::MONTHS_PER_QUARTER, 'month'],
+ // @call roundUnit
+ 'millisecond' => [1000, 'microsecond'],
+ ];
+ $normalizedUnit = static::singularUnit($unit);
+ $ranges = array_merge(static::getRangesByUnit($this->daysInMonth), [
+ // @call roundUnit
+ 'microsecond' => [0, 999999],
+ ]);
+ $factor = 1;
+ $initialMonth = $this->month;
+
+ if ($normalizedUnit === 'week') {
+ $normalizedUnit = 'day';
+ $precision *= static::DAYS_PER_WEEK;
+ }
+
+ if (isset($metaUnits[$normalizedUnit])) {
+ [$factor, $normalizedUnit] = $metaUnits[$normalizedUnit];
+ }
+
+ $precision *= $factor;
+
+ if (!isset($ranges[$normalizedUnit])) {
+ throw new UnknownUnitException($unit);
+ }
+
+ $found = false;
+ $fraction = 0;
+ $arguments = null;
+ $initialValue = null;
+ $factor = $this->year < 0 ? -1 : 1;
+ $changes = [];
+ $minimumInc = null;
+
+ foreach ($ranges as $unit => [$minimum, $maximum]) {
+ if ($normalizedUnit === $unit) {
+ $arguments = [$this->$unit, $minimum];
+ $initialValue = $this->$unit;
+ $fraction = $precision - floor($precision);
+ $found = true;
+
+ continue;
+ }
+
+ if ($found) {
+ $delta = $maximum + 1 - $minimum;
+ $factor /= $delta;
+ $fraction *= $delta;
+ $inc = ($this->$unit - $minimum) * $factor;
+
+ if ($inc !== 0.0) {
+ $minimumInc = $minimumInc ?? ($arguments[0] / pow(2, 52));
+
+ // If value is still the same when adding a non-zero increment/decrement,
+ // it means precision got lost in the addition
+ if (abs($inc) < $minimumInc) {
+ $inc = $minimumInc * ($inc < 0 ? -1 : 1);
+ }
+
+ // If greater than $precision, assume precision loss caused an overflow
+ if ($function !== 'floor' || abs($arguments[0] + $inc - $initialValue) >= $precision) {
+ $arguments[0] += $inc;
+ }
+ }
+
+ $changes[$unit] = round(
+ $minimum + ($fraction ? $fraction * $function(($this->$unit - $minimum) / $fraction) : 0)
+ );
+
+ // Cannot use modulo as it lose double precision
+ while ($changes[$unit] >= $delta) {
+ $changes[$unit] -= $delta;
+ }
+
+ $fraction -= floor($fraction);
+ }
+ }
+
+ [$value, $minimum] = $arguments;
+ $normalizedValue = floor($function(($value - $minimum) / $precision) * $precision + $minimum);
+
+ /** @var CarbonInterface $result */
+ $result = $this->$normalizedUnit($normalizedValue);
+
+ foreach ($changes as $unit => $value) {
+ $result = $result->$unit($value);
+ }
+
+ return $normalizedUnit === 'month' && $precision <= 1 && abs($result->month - $initialMonth) === 2
+ // Re-run the change in case an overflow occurred
+ ? $result->$normalizedUnit($normalizedValue)
+ : $result;
+ }
+
+ /**
+ * Truncate the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int $precision
+ *
+ * @return CarbonInterface
+ */
+ public function floorUnit($unit, $precision = 1)
+ {
+ return $this->roundUnit($unit, $precision, 'floor');
+ }
+
+ /**
+ * Ceil the current instance at the given unit with given precision if specified.
+ *
+ * @param string $unit
+ * @param float|int $precision
+ *
+ * @return CarbonInterface
+ */
+ public function ceilUnit($unit, $precision = 1)
+ {
+ return $this->roundUnit($unit, $precision, 'ceil');
+ }
+
+ /**
+ * Round the current instance second with given precision if specified.
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ * @param string $function
+ *
+ * @return CarbonInterface
+ */
+ public function round($precision = 1, $function = 'round')
+ {
+ return $this->roundWith($precision, $function);
+ }
+
+ /**
+ * Round the current instance second with given precision if specified.
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return CarbonInterface
+ */
+ public function floor($precision = 1)
+ {
+ return $this->round($precision, 'floor');
+ }
+
+ /**
+ * Ceil the current instance second with given precision if specified.
+ *
+ * @param float|int|string|\DateInterval|null $precision
+ *
+ * @return CarbonInterface
+ */
+ public function ceil($precision = 1)
+ {
+ return $this->round($precision, 'ceil');
+ }
+
+ /**
+ * Round the current instance week.
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return CarbonInterface
+ */
+ public function roundWeek($weekStartsAt = null)
+ {
+ return $this->closest(
+ $this->avoidMutation()->floorWeek($weekStartsAt),
+ $this->avoidMutation()->ceilWeek($weekStartsAt)
+ );
+ }
+
+ /**
+ * Truncate the current instance week.
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return CarbonInterface
+ */
+ public function floorWeek($weekStartsAt = null)
+ {
+ return $this->startOfWeek($weekStartsAt);
+ }
+
+ /**
+ * Ceil the current instance week.
+ *
+ * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
+ *
+ * @return CarbonInterface
+ */
+ public function ceilWeek($weekStartsAt = null)
+ {
+ if ($this->isMutable()) {
+ $startOfWeek = $this->avoidMutation()->startOfWeek($weekStartsAt);
+
+ return $startOfWeek != $this ?
+ $this->startOfWeek($weekStartsAt)->addWeek() :
+ $this;
+ }
+
+ $startOfWeek = $this->startOfWeek($weekStartsAt);
+
+ return $startOfWeek != $this ?
+ $startOfWeek->addWeek() :
+ $this->avoidMutation();
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php b/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php
new file mode 100644
index 0000000..c1d5c5e
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php
@@ -0,0 +1,326 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\Exceptions\InvalidFormatException;
+use ReturnTypeWillChange;
+use Throwable;
+
+/**
+ * Trait Serialization.
+ *
+ * Serialization and JSON stuff.
+ *
+ * Depends on the following properties:
+ *
+ * @property int $year
+ * @property int $month
+ * @property int $daysInMonth
+ * @property int $quarter
+ *
+ * Depends on the following methods:
+ *
+ * @method string|static locale(string $locale = null, string ...$fallbackLocales)
+ * @method string toJSON()
+ */
+trait Serialization
+{
+ use ObjectInitialisation;
+
+ /**
+ * The custom Carbon JSON serializer.
+ *
+ * @var callable|null
+ */
+ protected static $serializer;
+
+ /**
+ * List of key to use for dump/serialization.
+ *
+ * @var string[]
+ */
+ protected $dumpProperties = ['date', 'timezone_type', 'timezone'];
+
+ /**
+ * Locale to dump comes here before serialization.
+ *
+ * @var string|null
+ */
+ protected $dumpLocale;
+
+ /**
+ * Embed date properties to dump in a dedicated variables so it won't overlap native
+ * DateTime ones.
+ *
+ * @var array|null
+ */
+ protected $dumpDateProperties;
+
+ /**
+ * Return a serialized string of the instance.
+ *
+ * @return string
+ */
+ public function serialize()
+ {
+ return serialize($this);
+ }
+
+ /**
+ * Create an instance from a serialized string.
+ *
+ * @param string $value
+ *
+ * @throws InvalidFormatException
+ *
+ * @return static
+ */
+ public static function fromSerialized($value)
+ {
+ $instance = @unserialize((string) $value);
+
+ if (!$instance instanceof static) {
+ throw new InvalidFormatException("Invalid serialized value: $value");
+ }
+
+ return $instance;
+ }
+
+ /**
+ * The __set_state handler.
+ *
+ * @param string|array $dump
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public static function __set_state($dump)
+ {
+ if (\is_string($dump)) {
+ return static::parse($dump);
+ }
+
+ /** @var \DateTimeInterface $date */
+ $date = get_parent_class(static::class) && method_exists(parent::class, '__set_state')
+ ? parent::__set_state((array) $dump)
+ : (object) $dump;
+
+ return static::instance($date);
+ }
+
+ /**
+ * Returns the list of properties to dump on serialize() called on.
+ *
+ * Only used by PHP < 7.4.
+ *
+ * @return array
+ */
+ public function __sleep()
+ {
+ $properties = $this->getSleepProperties();
+
+ if ($this->localTranslator ?? null) {
+ $properties[] = 'dumpLocale';
+ $this->dumpLocale = $this->locale ?? null;
+ }
+
+ return $properties;
+ }
+
+ /**
+ * Returns the values to dump on serialize() called on.
+ *
+ * Only used by PHP >= 7.4.
+ *
+ * @return array
+ */
+ public function __serialize(): array
+ {
+ // @codeCoverageIgnoreStart
+ if (isset($this->timezone_type, $this->timezone, $this->date)) {
+ return [
+ 'date' => $this->date ?? null,
+ 'timezone_type' => $this->timezone_type,
+ 'timezone' => $this->timezone ?? null,
+ ];
+ }
+ // @codeCoverageIgnoreEnd
+
+ $timezone = $this->getTimezone();
+ $export = [
+ 'date' => $this->format('Y-m-d H:i:s.u'),
+ 'timezone_type' => $timezone->getType(),
+ 'timezone' => $timezone->getName(),
+ ];
+
+ // @codeCoverageIgnoreStart
+ if (\extension_loaded('msgpack') && isset($this->constructedObjectId)) {
+ $export['dumpDateProperties'] = [
+ 'date' => $this->format('Y-m-d H:i:s.u'),
+ 'timezone' => serialize($this->timezone ?? null),
+ ];
+ }
+ // @codeCoverageIgnoreEnd
+
+ if ($this->localTranslator ?? null) {
+ $export['dumpLocale'] = $this->locale ?? null;
+ }
+
+ return $export;
+ }
+
+ /**
+ * Set locale if specified on unserialize() called.
+ *
+ * Only used by PHP < 7.4.
+ *
+ * @return void
+ */
+ #[ReturnTypeWillChange]
+ public function __wakeup()
+ {
+ if (parent::class && method_exists(parent::class, '__wakeup')) {
+ // @codeCoverageIgnoreStart
+ try {
+ parent::__wakeup();
+ } catch (Throwable $exception) {
+ try {
+ // FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later.
+ ['date' => $date, 'timezone' => $timezone] = $this->dumpDateProperties;
+ parent::__construct($date, unserialize($timezone));
+ } catch (Throwable $ignoredException) {
+ throw $exception;
+ }
+ }
+ // @codeCoverageIgnoreEnd
+ }
+
+ $this->constructedObjectId = spl_object_hash($this);
+
+ if (isset($this->dumpLocale)) {
+ $this->locale($this->dumpLocale);
+ $this->dumpLocale = null;
+ }
+
+ $this->cleanupDumpProperties();
+ }
+
+ /**
+ * Set locale if specified on unserialize() called.
+ *
+ * Only used by PHP >= 7.4.
+ *
+ * @return void
+ */
+ public function __unserialize(array $data): void
+ {
+ // @codeCoverageIgnoreStart
+ try {
+ $this->__construct($data['date'] ?? null, $data['timezone'] ?? null);
+ } catch (Throwable $exception) {
+ if (!isset($data['dumpDateProperties']['date'], $data['dumpDateProperties']['timezone'])) {
+ throw $exception;
+ }
+
+ try {
+ // FatalError occurs when calling msgpack_unpack() in PHP 7.4 or later.
+ ['date' => $date, 'timezone' => $timezone] = $data['dumpDateProperties'];
+ $this->__construct($date, unserialize($timezone));
+ } catch (Throwable $ignoredException) {
+ throw $exception;
+ }
+ }
+ // @codeCoverageIgnoreEnd
+
+ if (isset($data['dumpLocale'])) {
+ $this->locale($data['dumpLocale']);
+ }
+ }
+
+ /**
+ * Prepare the object for JSON serialization.
+ *
+ * @return array|string
+ */
+ #[ReturnTypeWillChange]
+ public function jsonSerialize()
+ {
+ $serializer = $this->localSerializer ?? static::$serializer;
+
+ if ($serializer) {
+ return \is_string($serializer)
+ ? $this->rawFormat($serializer)
+ : $serializer($this);
+ }
+
+ return $this->toJSON();
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather transform Carbon object before the serialization.
+ *
+ * JSON serialize all Carbon instances using the given callback.
+ *
+ * @param callable $callback
+ *
+ * @return void
+ */
+ public static function serializeUsing($callback)
+ {
+ static::$serializer = $callback;
+ }
+
+ /**
+ * Cleanup properties attached to the public scope of DateTime when a dump of the date is requested.
+ * foreach ($date as $_) {}
+ * serializer($date)
+ * var_export($date)
+ * get_object_vars($date)
+ */
+ public function cleanupDumpProperties()
+ {
+ // @codeCoverageIgnoreStart
+ if (PHP_VERSION < 8.2) {
+ foreach ($this->dumpProperties as $property) {
+ if (isset($this->$property)) {
+ unset($this->$property);
+ }
+ }
+ }
+ // @codeCoverageIgnoreEnd
+
+ return $this;
+ }
+
+ private function getSleepProperties(): array
+ {
+ $properties = $this->dumpProperties;
+
+ // @codeCoverageIgnoreStart
+ if (!\extension_loaded('msgpack')) {
+ return $properties;
+ }
+
+ if (isset($this->constructedObjectId)) {
+ $this->dumpDateProperties = [
+ 'date' => $this->format('Y-m-d H:i:s.u'),
+ 'timezone' => serialize($this->timezone ?? null),
+ ];
+
+ $properties[] = 'dumpDateProperties';
+ }
+
+ return $properties;
+ // @codeCoverageIgnoreEnd
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Test.php b/vendor/nesbot/carbon/src/Carbon/Traits/Test.php
new file mode 100644
index 0000000..ffd01bd
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Test.php
@@ -0,0 +1,229 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonInterface;
+use Carbon\CarbonTimeZone;
+use Closure;
+use DateTimeImmutable;
+use DateTimeInterface;
+use InvalidArgumentException;
+use Throwable;
+
+trait Test
+{
+ ///////////////////////////////////////////////////////////////////
+ ///////////////////////// TESTING AIDS ////////////////////////////
+ ///////////////////////////////////////////////////////////////////
+
+ /**
+ * A test Carbon instance to be returned when now instances are created.
+ *
+ * @var Closure|static|null
+ */
+ protected static $testNow;
+
+ /**
+ * The timezone to resto to when clearing the time mock.
+ *
+ * @var string|null
+ */
+ protected static $testDefaultTimezone;
+
+ /**
+ * Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ *
+ * Note the timezone parameter was left out of the examples above and
+ * has no affect as the mock value will be returned regardless of its value.
+ *
+ * Only the moment is mocked with setTestNow(), the timezone will still be the one passed
+ * as parameter of date_default_timezone_get() as a fallback (see setTestNowAndTimezone()).
+ *
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ *
+ * /!\ Use this method for unit tests only.
+ *
+ * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
+ */
+ public static function setTestNow($testNow = null)
+ {
+ static::$testNow = $testNow instanceof self || $testNow instanceof Closure
+ ? $testNow
+ : static::make($testNow);
+ }
+
+ /**
+ * Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ *
+ * It will also align default timezone (e.g. call date_default_timezone_set()) with
+ * the second argument or if null, with the timezone of the given date object.
+ *
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ *
+ * /!\ Use this method for unit tests only.
+ *
+ * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
+ */
+ public static function setTestNowAndTimezone($testNow = null, $tz = null)
+ {
+ if ($testNow) {
+ self::$testDefaultTimezone = self::$testDefaultTimezone ?? date_default_timezone_get();
+ }
+
+ $useDateInstanceTimezone = $testNow instanceof DateTimeInterface;
+
+ if ($useDateInstanceTimezone) {
+ self::setDefaultTimezone($testNow->getTimezone()->getName(), $testNow);
+ }
+
+ static::setTestNow($testNow);
+
+ if (!$useDateInstanceTimezone) {
+ $now = static::getMockedTestNow(\func_num_args() === 1 ? null : $tz);
+ $tzName = $now ? $now->tzName : null;
+ self::setDefaultTimezone($tzName ?? self::$testDefaultTimezone ?? 'UTC', $now);
+ }
+
+ if (!$testNow) {
+ self::$testDefaultTimezone = null;
+ }
+ }
+
+ /**
+ * Temporarily sets a static date to be used within the callback.
+ * Using setTestNow to set the date, executing the callback, then
+ * clearing the test instance.
+ *
+ * /!\ Use this method for unit tests only.
+ *
+ * @template T
+ *
+ * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
+ * @param Closure(): T $callback
+ *
+ * @return mixed
+ * @phpstan-return T
+ */
+ public static function withTestNow($testNow, $callback)
+ {
+ static::setTestNow($testNow);
+
+ try {
+ $result = $callback();
+ } finally {
+ static::setTestNow();
+ }
+
+ return $result;
+ }
+
+ /**
+ * Get the Carbon instance (real or mock) to be returned when a "now"
+ * instance is created.
+ *
+ * @return Closure|static the current instance used for testing
+ */
+ public static function getTestNow()
+ {
+ return static::$testNow;
+ }
+
+ /**
+ * Determine if there is a valid test instance set. A valid test instance
+ * is anything that is not null.
+ *
+ * @return bool true if there is a test instance, otherwise false
+ */
+ public static function hasTestNow()
+ {
+ return static::getTestNow() !== null;
+ }
+
+ /**
+ * Get the mocked date passed in setTestNow() and if it's a Closure, execute it.
+ *
+ * @param string|\DateTimeZone $tz
+ *
+ * @return \Carbon\CarbonImmutable|\Carbon\Carbon|null
+ */
+ protected static function getMockedTestNow($tz)
+ {
+ $testNow = static::getTestNow();
+
+ if ($testNow instanceof Closure) {
+ $realNow = new DateTimeImmutable('now');
+ $testNow = $testNow(static::parse(
+ $realNow->format('Y-m-d H:i:s.u'),
+ $tz ?: $realNow->getTimezone()
+ ));
+ }
+ /* @var \Carbon\CarbonImmutable|\Carbon\Carbon|null $testNow */
+
+ return $testNow instanceof CarbonInterface
+ ? $testNow->avoidMutation()->tz($tz)
+ : $testNow;
+ }
+
+ protected static function mockConstructorParameters(&$time, $tz)
+ {
+ /** @var \Carbon\CarbonImmutable|\Carbon\Carbon $testInstance */
+ $testInstance = clone static::getMockedTestNow($tz);
+
+ if (static::hasRelativeKeywords($time)) {
+ $testInstance = $testInstance->modify($time);
+ }
+
+ $time = $testInstance instanceof self
+ ? $testInstance->rawFormat(static::MOCK_DATETIME_FORMAT)
+ : $testInstance->format(static::MOCK_DATETIME_FORMAT);
+ }
+
+ private static function setDefaultTimezone($timezone, DateTimeInterface $date = null)
+ {
+ $previous = null;
+ $success = false;
+
+ try {
+ $success = date_default_timezone_set($timezone);
+ } catch (Throwable $exception) {
+ $previous = $exception;
+ }
+
+ if (!$success) {
+ $suggestion = @CarbonTimeZone::create($timezone)->toRegionName($date);
+
+ throw new InvalidArgumentException(
+ "Timezone ID '$timezone' is invalid".
+ ($suggestion && $suggestion !== $timezone ? ", did you mean '$suggestion'?" : '.')."\n".
+ "It must be one of the IDs from DateTimeZone::listIdentifiers(),\n".
+ 'For the record, hours/minutes offset are relevant only for a particular moment, '.
+ 'but not as a default timezone.',
+ 0,
+ $previous
+ );
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php b/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php
new file mode 100644
index 0000000..88a465c
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php
@@ -0,0 +1,198 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+/**
+ * Trait Timestamp.
+ */
+trait Timestamp
+{
+ /**
+ * Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ * @param \DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function createFromTimestamp($timestamp, $tz = null)
+ {
+ return static::createFromTimestampUTC($timestamp)->setTimezone($tz);
+ }
+
+ /**
+ * Create a Carbon instance from an timestamp keeping the timezone to UTC.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ *
+ * @return static
+ */
+ public static function createFromTimestampUTC($timestamp)
+ {
+ [$integer, $decimal] = self::getIntegerAndDecimalParts($timestamp);
+ $delta = floor($decimal / static::MICROSECONDS_PER_SECOND);
+ $integer += $delta;
+ $decimal -= $delta * static::MICROSECONDS_PER_SECOND;
+ $decimal = str_pad((string) $decimal, 6, '0', STR_PAD_LEFT);
+
+ return static::rawCreateFromFormat('U u', "$integer $decimal");
+ }
+
+ /**
+ * Create a Carbon instance from a timestamp in milliseconds.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ *
+ * @return static
+ */
+ public static function createFromTimestampMsUTC($timestamp)
+ {
+ [$milliseconds, $microseconds] = self::getIntegerAndDecimalParts($timestamp, 3);
+ $sign = $milliseconds < 0 || ($milliseconds === 0.0 && $microseconds < 0) ? -1 : 1;
+ $milliseconds = abs($milliseconds);
+ $microseconds = $sign * abs($microseconds) + static::MICROSECONDS_PER_MILLISECOND * ($milliseconds % static::MILLISECONDS_PER_SECOND);
+ $seconds = $sign * floor($milliseconds / static::MILLISECONDS_PER_SECOND);
+ $delta = floor($microseconds / static::MICROSECONDS_PER_SECOND);
+ $seconds += $delta;
+ $microseconds -= $delta * static::MICROSECONDS_PER_SECOND;
+ $microseconds = str_pad($microseconds, 6, '0', STR_PAD_LEFT);
+
+ return static::rawCreateFromFormat('U u', "$seconds $microseconds");
+ }
+
+ /**
+ * Create a Carbon instance from a timestamp in milliseconds.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $timestamp
+ * @param \DateTimeZone|string|null $tz
+ *
+ * @return static
+ */
+ public static function createFromTimestampMs($timestamp, $tz = null)
+ {
+ return static::createFromTimestampMsUTC($timestamp)
+ ->setTimezone($tz);
+ }
+
+ /**
+ * Set the instance's timestamp.
+ *
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ *
+ * @param float|int|string $unixTimestamp
+ *
+ * @return static
+ */
+ public function timestamp($unixTimestamp)
+ {
+ return $this->setTimestamp($unixTimestamp);
+ }
+
+ /**
+ * Returns a timestamp rounded with the given precision (6 by default).
+ *
+ * @example getPreciseTimestamp() 1532087464437474 (microsecond maximum precision)
+ * @example getPreciseTimestamp(6) 1532087464437474
+ * @example getPreciseTimestamp(5) 153208746443747 (1/100000 second precision)
+ * @example getPreciseTimestamp(4) 15320874644375 (1/10000 second precision)
+ * @example getPreciseTimestamp(3) 1532087464437 (millisecond precision)
+ * @example getPreciseTimestamp(2) 153208746444 (1/100 second precision)
+ * @example getPreciseTimestamp(1) 15320874644 (1/10 second precision)
+ * @example getPreciseTimestamp(0) 1532087464 (second precision)
+ * @example getPreciseTimestamp(-1) 153208746 (10 second precision)
+ * @example getPreciseTimestamp(-2) 15320875 (100 second precision)
+ *
+ * @param int $precision
+ *
+ * @return float
+ */
+ public function getPreciseTimestamp($precision = 6)
+ {
+ return round(((float) $this->rawFormat('Uu')) / pow(10, 6 - $precision));
+ }
+
+ /**
+ * Returns the milliseconds timestamps used amongst other by Date javascript objects.
+ *
+ * @return float
+ */
+ public function valueOf()
+ {
+ return $this->getPreciseTimestamp(3);
+ }
+
+ /**
+ * Returns the timestamp with millisecond precision.
+ *
+ * @return int
+ */
+ public function getTimestampMs()
+ {
+ return (int) $this->getPreciseTimestamp(3);
+ }
+
+ /**
+ * @alias getTimestamp
+ *
+ * Returns the UNIX timestamp for the current date.
+ *
+ * @return int
+ */
+ public function unix()
+ {
+ return $this->getTimestamp();
+ }
+
+ /**
+ * Return an array with integer part digits and decimals digits split from one or more positive numbers
+ * (such as timestamps) as string with the given number of decimals (6 by default).
+ *
+ * By splitting integer and decimal, this method obtain a better precision than
+ * number_format when the input is a string.
+ *
+ * @param float|int|string $numbers one or more numbers
+ * @param int $decimals number of decimals precision (6 by default)
+ *
+ * @return array 0-index is integer part, 1-index is decimal part digits
+ */
+ private static function getIntegerAndDecimalParts($numbers, $decimals = 6)
+ {
+ if (\is_int($numbers) || \is_float($numbers)) {
+ $numbers = number_format($numbers, $decimals, '.', '');
+ }
+
+ $sign = str_starts_with($numbers, '-') ? -1 : 1;
+ $integer = 0;
+ $decimal = 0;
+
+ foreach (preg_split('`[^\d.]+`', $numbers) as $chunk) {
+ [$integerPart, $decimalPart] = explode('.', "$chunk.");
+
+ $integer += (int) $integerPart;
+ $decimal += (float) ("0.$decimalPart");
+ }
+
+ $overflow = floor($decimal);
+ $integer += $overflow;
+ $decimal -= $overflow;
+
+ return [$sign * $integer, $decimal === 0.0 ? 0.0 : $sign * round($decimal * pow(10, $decimals))];
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/ToStringFormat.php b/vendor/nesbot/carbon/src/Carbon/Traits/ToStringFormat.php
new file mode 100644
index 0000000..a81164f
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/ToStringFormat.php
@@ -0,0 +1,56 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Closure;
+
+/**
+ * Trait ToStringFormat.
+ *
+ * Handle global format customization for string cast of the object.
+ */
+trait ToStringFormat
+{
+ /**
+ * Format to use for __toString method when type juggling occurs.
+ *
+ * @var string|Closure|null
+ */
+ protected static $toStringFormat;
+
+ /**
+ * Reset the format used to the default when type juggling a Carbon instance to a string
+ *
+ * @return void
+ */
+ public static function resetToStringFormat()
+ {
+ static::setToStringFormat(null);
+ }
+
+ /**
+ * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather let Carbon object being cast to string with DEFAULT_TO_STRING_FORMAT, and
+ * use other method or custom format passed to format() method if you need to dump another string
+ * format.
+ *
+ * Set the default format used when type juggling a Carbon instance to a string.
+ *
+ * @param string|Closure|null $format
+ *
+ * @return void
+ */
+ public static function setToStringFormat($format)
+ {
+ static::$toStringFormat = $format;
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Units.php b/vendor/nesbot/carbon/src/Carbon/Traits/Units.php
new file mode 100644
index 0000000..5be14ec
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Units.php
@@ -0,0 +1,412 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+use Carbon\CarbonConverterInterface;
+use Carbon\CarbonInterface;
+use Carbon\CarbonInterval;
+use Carbon\Exceptions\UnitException;
+use Closure;
+use DateInterval;
+use DateMalformedStringException;
+use ReturnTypeWillChange;
+
+/**
+ * Trait Units.
+ *
+ * Add, subtract and set units.
+ */
+trait Units
+{
+ /**
+ * Add seconds to the instance using timestamp. Positive $value travels
+ * forward while negative $value travels into the past.
+ *
+ * @param string $unit
+ * @param int $value
+ *
+ * @return static
+ */
+ public function addRealUnit($unit, $value = 1)
+ {
+ switch ($unit) {
+ // @call addRealUnit
+ case 'micro':
+
+ // @call addRealUnit
+ case 'microsecond':
+ /* @var CarbonInterface $this */
+ $diff = $this->microsecond + $value;
+ $time = $this->getTimestamp();
+ $seconds = (int) floor($diff / static::MICROSECONDS_PER_SECOND);
+ $time += $seconds;
+ $diff -= $seconds * static::MICROSECONDS_PER_SECOND;
+ $microtime = str_pad((string) $diff, 6, '0', STR_PAD_LEFT);
+ $tz = $this->tz;
+
+ return $this->tz('UTC')->modify("@$time.$microtime")->tz($tz);
+
+ // @call addRealUnit
+ case 'milli':
+ // @call addRealUnit
+ case 'millisecond':
+ return $this->addRealUnit('microsecond', $value * static::MICROSECONDS_PER_MILLISECOND);
+
+ // @call addRealUnit
+ case 'second':
+ break;
+
+ // @call addRealUnit
+ case 'minute':
+ $value *= static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'hour':
+ $value *= static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'day':
+ $value *= static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'week':
+ $value *= static::DAYS_PER_WEEK * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'month':
+ $value *= 30 * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'quarter':
+ $value *= static::MONTHS_PER_QUARTER * 30 * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'year':
+ $value *= 365 * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'decade':
+ $value *= static::YEARS_PER_DECADE * 365 * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'century':
+ $value *= static::YEARS_PER_CENTURY * 365 * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ // @call addRealUnit
+ case 'millennium':
+ $value *= static::YEARS_PER_MILLENNIUM * 365 * static::HOURS_PER_DAY * static::MINUTES_PER_HOUR * static::SECONDS_PER_MINUTE;
+
+ break;
+
+ default:
+ if ($this->localStrictModeEnabled ?? static::isStrictModeEnabled()) {
+ throw new UnitException("Invalid unit for real timestamp add/sub: '$unit'");
+ }
+
+ return $this;
+ }
+
+ /* @var CarbonInterface $this */
+ return $this->setTimestamp((int) ($this->getTimestamp() + $value));
+ }
+
+ public function subRealUnit($unit, $value = 1)
+ {
+ return $this->addRealUnit($unit, -$value);
+ }
+
+ /**
+ * Returns true if a property can be changed via setter.
+ *
+ * @param string $unit
+ *
+ * @return bool
+ */
+ public static function isModifiableUnit($unit)
+ {
+ static $modifiableUnits = [
+ // @call addUnit
+ 'millennium',
+ // @call addUnit
+ 'century',
+ // @call addUnit
+ 'decade',
+ // @call addUnit
+ 'quarter',
+ // @call addUnit
+ 'week',
+ // @call addUnit
+ 'weekday',
+ ];
+
+ return \in_array($unit, $modifiableUnits, true) || \in_array($unit, static::$units, true);
+ }
+
+ /**
+ * Call native PHP DateTime/DateTimeImmutable add() method.
+ *
+ * @param DateInterval $interval
+ *
+ * @return static
+ */
+ public function rawAdd(DateInterval $interval)
+ {
+ return parent::add($interval);
+ }
+
+ /**
+ * Add given units or interval to the current instance.
+ *
+ * @example $date->add('hour', 3)
+ * @example $date->add(15, 'days')
+ * @example $date->add(CarbonInterval::days(4))
+ *
+ * @param string|DateInterval|Closure|CarbonConverterInterface $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function add($unit, $value = 1, $overflow = null)
+ {
+ if (\is_string($unit) && \func_num_args() === 1) {
+ $unit = CarbonInterval::make($unit, [], true);
+ }
+
+ if ($unit instanceof CarbonConverterInterface) {
+ return $this->resolveCarbon($unit->convertDate($this, false));
+ }
+
+ if ($unit instanceof Closure) {
+ return $this->resolveCarbon($unit($this, false));
+ }
+
+ if ($unit instanceof DateInterval) {
+ return parent::add($unit);
+ }
+
+ if (is_numeric($unit)) {
+ [$value, $unit] = [$unit, $value];
+ }
+
+ return $this->addUnit($unit, $value, $overflow);
+ }
+
+ /**
+ * Add given units to the current instance.
+ *
+ * @param string $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ public function addUnit($unit, $value = 1, $overflow = null)
+ {
+ $originalArgs = \func_get_args();
+
+ $date = $this;
+
+ if (!is_numeric($value) || !(float) $value) {
+ return $date->isMutable() ? $date : $date->avoidMutation();
+ }
+
+ $unit = self::singularUnit($unit);
+ $metaUnits = [
+ 'millennium' => [static::YEARS_PER_MILLENNIUM, 'year'],
+ 'century' => [static::YEARS_PER_CENTURY, 'year'],
+ 'decade' => [static::YEARS_PER_DECADE, 'year'],
+ 'quarter' => [static::MONTHS_PER_QUARTER, 'month'],
+ ];
+
+ if (isset($metaUnits[$unit])) {
+ [$factor, $unit] = $metaUnits[$unit];
+ $value *= $factor;
+ }
+
+ if ($unit === 'weekday') {
+ $weekendDays = static::getWeekendDays();
+
+ if ($weekendDays !== [static::SATURDAY, static::SUNDAY]) {
+ $absoluteValue = abs($value);
+ $sign = $value / max(1, $absoluteValue);
+ $weekDaysCount = 7 - min(6, \count(array_unique($weekendDays)));
+ $weeks = floor($absoluteValue / $weekDaysCount);
+
+ for ($diff = $absoluteValue % $weekDaysCount; $diff; $diff--) {
+ /** @var static $date */
+ $date = $date->addDays($sign);
+
+ while (\in_array($date->dayOfWeek, $weekendDays, true)) {
+ $date = $date->addDays($sign);
+ }
+ }
+
+ $value = $weeks * $sign;
+ $unit = 'week';
+ }
+
+ $timeString = $date->toTimeString();
+ } elseif ($canOverflow = (\in_array($unit, [
+ 'month',
+ 'year',
+ ]) && ($overflow === false || (
+ $overflow === null &&
+ ($ucUnit = ucfirst($unit).'s') &&
+ !($this->{'local'.$ucUnit.'Overflow'} ?? static::{'shouldOverflow'.$ucUnit}())
+ )))) {
+ $day = $date->day;
+ }
+
+ $value = (int) $value;
+
+ if ($unit === 'milli' || $unit === 'millisecond') {
+ $unit = 'microsecond';
+ $value *= static::MICROSECONDS_PER_MILLISECOND;
+ }
+
+ // Work-around for bug https://bugs.php.net/bug.php?id=75642
+ if ($unit === 'micro' || $unit === 'microsecond') {
+ $microseconds = $this->micro + $value;
+ $second = (int) floor($microseconds / static::MICROSECONDS_PER_SECOND);
+ $microseconds %= static::MICROSECONDS_PER_SECOND;
+ if ($microseconds < 0) {
+ $microseconds += static::MICROSECONDS_PER_SECOND;
+ }
+ $date = $date->microseconds($microseconds);
+ $unit = 'second';
+ $value = $second;
+ }
+
+ try {
+ $date = $date->modify("$value $unit");
+
+ if (isset($timeString)) {
+ $date = $date->setTimeFromTimeString($timeString);
+ } elseif (isset($canOverflow, $day) && $canOverflow && $day !== $date->day) {
+ $date = $date->modify('last day of previous month');
+ }
+ } catch (DateMalformedStringException $ignoredException) { // @codeCoverageIgnore
+ $date = null; // @codeCoverageIgnore
+ }
+
+ if (!$date) {
+ throw new UnitException('Unable to add unit '.var_export($originalArgs, true));
+ }
+
+ return $date;
+ }
+
+ /**
+ * Subtract given units to the current instance.
+ *
+ * @param string $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ public function subUnit($unit, $value = 1, $overflow = null)
+ {
+ return $this->addUnit($unit, -$value, $overflow);
+ }
+
+ /**
+ * Call native PHP DateTime/DateTimeImmutable sub() method.
+ *
+ * @param DateInterval $interval
+ *
+ * @return static
+ */
+ public function rawSub(DateInterval $interval)
+ {
+ return parent::sub($interval);
+ }
+
+ /**
+ * Subtract given units or interval to the current instance.
+ *
+ * @example $date->sub('hour', 3)
+ * @example $date->sub(15, 'days')
+ * @example $date->sub(CarbonInterval::days(4))
+ *
+ * @param string|DateInterval|Closure|CarbonConverterInterface $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ #[ReturnTypeWillChange]
+ public function sub($unit, $value = 1, $overflow = null)
+ {
+ if (\is_string($unit) && \func_num_args() === 1) {
+ $unit = CarbonInterval::make($unit, [], true);
+ }
+
+ if ($unit instanceof CarbonConverterInterface) {
+ return $this->resolveCarbon($unit->convertDate($this, true));
+ }
+
+ if ($unit instanceof Closure) {
+ return $this->resolveCarbon($unit($this, true));
+ }
+
+ if ($unit instanceof DateInterval) {
+ return parent::sub($unit);
+ }
+
+ if (is_numeric($unit)) {
+ [$value, $unit] = [$unit, $value];
+ }
+
+ return $this->addUnit($unit, -(float) $value, $overflow);
+ }
+
+ /**
+ * Subtract given units or interval to the current instance.
+ *
+ * @see sub()
+ *
+ * @param string|DateInterval $unit
+ * @param int $value
+ * @param bool|null $overflow
+ *
+ * @return static
+ */
+ public function subtract($unit, $value = 1, $overflow = null)
+ {
+ if (\is_string($unit) && \func_num_args() === 1) {
+ $unit = CarbonInterval::make($unit, [], true);
+ }
+
+ return $this->sub($unit, $value, $overflow);
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Week.php b/vendor/nesbot/carbon/src/Carbon/Traits/Week.php
new file mode 100644
index 0000000..6f14814
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Week.php
@@ -0,0 +1,219 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon\Traits;
+
+/**
+ * Trait Week.
+ *
+ * week and ISO week number, year and count in year.
+ *
+ * Depends on the following properties:
+ *
+ * @property int $daysInYear
+ * @property int $dayOfWeek
+ * @property int $dayOfYear
+ * @property int $year
+ *
+ * Depends on the following methods:
+ *
+ * @method static addWeeks(int $weeks = 1)
+ * @method static copy()
+ * @method static dayOfYear(int $dayOfYear)
+ * @method string getTranslationMessage(string $key, ?string $locale = null, ?string $default = null, $translator = null)
+ * @method static next(int|string $day = null)
+ * @method static startOfWeek(int $day = 1)
+ * @method static subWeeks(int $weeks = 1)
+ * @method static year(int $year = null)
+ */
+trait Week
+{
+ /**
+ * Set/get the week number of year using given first day of week and first
+ * day of year included in the first week. Or use ISO format if no settings
+ * given.
+ *
+ * @param int|null $year if null, act as a getter, if not null, set the year and return current instance.
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int|static
+ */
+ public function isoWeekYear($year = null, $dayOfWeek = null, $dayOfYear = null)
+ {
+ return $this->weekYear(
+ $year,
+ $dayOfWeek ?? 1,
+ $dayOfYear ?? 4
+ );
+ }
+
+ /**
+ * Set/get the week number of year using given first day of week and first
+ * day of year included in the first week. Or use US format if no settings
+ * given (Sunday / Jan 6).
+ *
+ * @param int|null $year if null, act as a getter, if not null, set the year and return current instance.
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int|static
+ */
+ public function weekYear($year = null, $dayOfWeek = null, $dayOfYear = null)
+ {
+ $dayOfWeek = $dayOfWeek ?? $this->getTranslationMessage('first_day_of_week') ?? 0;
+ $dayOfYear = $dayOfYear ?? $this->getTranslationMessage('day_of_first_week_of_year') ?? 1;
+
+ if ($year !== null) {
+ $year = (int) round($year);
+
+ if ($this->weekYear(null, $dayOfWeek, $dayOfYear) === $year) {
+ return $this->avoidMutation();
+ }
+
+ $week = $this->week(null, $dayOfWeek, $dayOfYear);
+ $day = $this->dayOfWeek;
+ $date = $this->year($year);
+ switch ($date->weekYear(null, $dayOfWeek, $dayOfYear) - $year) {
+ case 1:
+ $date = $date->subWeeks(26);
+
+ break;
+ case -1:
+ $date = $date->addWeeks(26);
+
+ break;
+ }
+
+ $date = $date->addWeeks($week - $date->week(null, $dayOfWeek, $dayOfYear))->startOfWeek($dayOfWeek);
+
+ if ($date->dayOfWeek === $day) {
+ return $date;
+ }
+
+ return $date->next($day);
+ }
+
+ $year = $this->year;
+ $day = $this->dayOfYear;
+ $date = $this->avoidMutation()->dayOfYear($dayOfYear)->startOfWeek($dayOfWeek);
+
+ if ($date->year === $year && $day < $date->dayOfYear) {
+ return $year - 1;
+ }
+
+ $date = $this->avoidMutation()->addYear()->dayOfYear($dayOfYear)->startOfWeek($dayOfWeek);
+
+ if ($date->year === $year && $day >= $date->dayOfYear) {
+ return $year + 1;
+ }
+
+ return $year;
+ }
+
+ /**
+ * Get the number of weeks of the current week-year using given first day of week and first
+ * day of year included in the first week. Or use ISO format if no settings
+ * given.
+ *
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int
+ */
+ public function isoWeeksInYear($dayOfWeek = null, $dayOfYear = null)
+ {
+ return $this->weeksInYear(
+ $dayOfWeek ?? 1,
+ $dayOfYear ?? 4
+ );
+ }
+
+ /**
+ * Get the number of weeks of the current week-year using given first day of week and first
+ * day of year included in the first week. Or use US format if no settings
+ * given (Sunday / Jan 6).
+ *
+ * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
+ * @param int|null $dayOfYear first day of year included in the week #1
+ *
+ * @return int
+ */
+ public function weeksInYear($dayOfWeek = null, $dayOfYear = null)
+ {
+ $dayOfWeek = $dayOfWeek ?? $this->getTranslationMessage('first_day_of_week') ?? 0;
+ $dayOfYear = $dayOfYear ?? $this->getTranslationMessage('day_of_first_week_of_year') ?? 1;
+ $year = $this->year;
+ $start = $this->avoidMutation()->dayOfYear($dayOfYear)->startOfWeek($dayOfWeek);
+ $startDay = $start->dayOfYear;
+ if ($start->year !== $year) {
+ $startDay -= $start->daysInYear;
+ }
+ $end = $this->avoidMutation()->addYear()->dayOfYear($dayOfYear)->startOfWeek($dayOfWeek);
+ $endDay = $end->dayOfYear;
+ if ($end->year !== $year) {
+ $endDay += $this->daysInYear;
+ }
+
+ return (int) round(($endDay - $startDay) / 7);
+ }
+
+ /**
+ * Get/set the week number using given first day of week and first
+ * day of year included in the first week. Or use US format if no settings
+ * given (Sunday / Jan 6).
+ *
+ * @param int|null $week
+ * @param int|null $dayOfWeek
+ * @param int|null $dayOfYear
+ *
+ * @return int|static
+ */
+ public function week($week = null, $dayOfWeek = null, $dayOfYear = null)
+ {
+ $date = $this;
+ $dayOfWeek = $dayOfWeek ?? $this->getTranslationMessage('first_day_of_week') ?? 0;
+ $dayOfYear = $dayOfYear ?? $this->getTranslationMessage('day_of_first_week_of_year') ?? 1;
+
+ if ($week !== null) {
+ return $date->addWeeks(round($week) - $this->week(null, $dayOfWeek, $dayOfYear));
+ }
+
+ $start = $date->avoidMutation()->dayOfYear($dayOfYear)->startOfWeek($dayOfWeek);
+ $end = $date->avoidMutation()->startOfWeek($dayOfWeek);
+ if ($start > $end) {
+ $start = $start->subWeeks(26)->dayOfYear($dayOfYear)->startOfWeek($dayOfWeek);
+ }
+ $week = (int) ($start->diffInDays($end) / 7 + 1);
+
+ return $week > $end->weeksInYear($dayOfWeek, $dayOfYear) ? 1 : $week;
+ }
+
+ /**
+ * Get/set the week number using given first day of week and first
+ * day of year included in the first week. Or use ISO format if no settings
+ * given.
+ *
+ * @param int|null $week
+ * @param int|null $dayOfWeek
+ * @param int|null $dayOfYear
+ *
+ * @return int|static
+ */
+ public function isoWeek($week = null, $dayOfWeek = null, $dayOfYear = null)
+ {
+ return $this->week(
+ $week,
+ $dayOfWeek ?? 1,
+ $dayOfYear ?? 4
+ );
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/Translator.php b/vendor/nesbot/carbon/src/Carbon/Translator.php
new file mode 100644
index 0000000..491c9e7
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/Translator.php
@@ -0,0 +1,32 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use ReflectionMethod;
+use Symfony\Component\Translation;
+use Symfony\Contracts\Translation\TranslatorInterface;
+
+$transMethod = new ReflectionMethod(
+ class_exists(TranslatorInterface::class)
+ ? TranslatorInterface::class
+ : Translation\Translator::class,
+ 'trans'
+);
+
+require $transMethod->hasReturnType()
+ ? __DIR__.'/../../lazy/Carbon/TranslatorStrongType.php'
+ : __DIR__.'/../../lazy/Carbon/TranslatorWeakType.php';
+
+class Translator extends LazyTranslator
+{
+ // Proxy dynamically loaded LazyTranslator in a static way
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/TranslatorImmutable.php b/vendor/nesbot/carbon/src/Carbon/TranslatorImmutable.php
new file mode 100644
index 0000000..ad36c67
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/TranslatorImmutable.php
@@ -0,0 +1,99 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Carbon\Exceptions\ImmutableException;
+use Symfony\Component\Config\ConfigCacheFactoryInterface;
+use Symfony\Component\Translation\Formatter\MessageFormatterInterface;
+
+class TranslatorImmutable extends Translator
+{
+ /** @var bool */
+ private $constructed = false;
+
+ public function __construct($locale, MessageFormatterInterface $formatter = null, $cacheDir = null, $debug = false)
+ {
+ parent::__construct($locale, $formatter, $cacheDir, $debug);
+ $this->constructed = true;
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ public function setDirectories(array $directories)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ return parent::setDirectories($directories);
+ }
+
+ public function setLocale($locale)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ return parent::setLocale($locale);
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ public function setMessages($locale, $messages)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ return parent::setMessages($locale, $messages);
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ public function setTranslations($messages)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ return parent::setTranslations($messages);
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ public function setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ parent::setConfigCacheFactory($configCacheFactory);
+ }
+
+ public function resetMessages($locale = null)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ return parent::resetMessages($locale);
+ }
+
+ /**
+ * @codeCoverageIgnore
+ */
+ public function setFallbackLocales(array $locales)
+ {
+ $this->disallowMutation(__METHOD__);
+
+ parent::setFallbackLocales($locales);
+ }
+
+ private function disallowMutation($method)
+ {
+ if ($this->constructed) {
+ throw new ImmutableException($method.' not allowed on '.static::class);
+ }
+ }
+}
diff --git a/vendor/nesbot/carbon/src/Carbon/TranslatorStrongTypeInterface.php b/vendor/nesbot/carbon/src/Carbon/TranslatorStrongTypeInterface.php
new file mode 100644
index 0000000..ef4dee8
--- /dev/null
+++ b/vendor/nesbot/carbon/src/Carbon/TranslatorStrongTypeInterface.php
@@ -0,0 +1,22 @@
+
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Carbon;
+
+use Symfony\Component\Translation\MessageCatalogueInterface;
+
+/**
+ * Mark translator using strong type from symfony/translation >= 6.
+ */
+interface TranslatorStrongTypeInterface
+{
+ public function getFromCatalogue(MessageCatalogueInterface $catalogue, string $id, string $domain = 'messages');
+}
diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php
new file mode 100644
index 0000000..dce502a
--- /dev/null
+++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php
@@ -0,0 +1,34 @@
+
+ */
+
+$PHPMAILER_LANG['authenticate'] = 'SMTP දà·à·‚ය: à·ƒà¶à·Šâ€à¶ºà·à¶´à¶±à¶º à¶…à·ƒà·à¶»à·Šà¶®à¶š විය.';
+$PHPMAILER_LANG['buggy_php'] = 'ඔබගේ PHP version එකෙහි à¶´à·€à¶à·’à¶± දà·à·‚යක් නිස෠email පණිවිඩ දà·à·‚ සහගචවීමේ à·„à·à¶šà·’යà·à·€à¶šà·Š ඇà¶. මෙය විසදීම සදහ෠SMTP à¶·à·à·€à·’à¶à· කිරීම, mail.add_x_header INI setting à¶‘à¶š à¶…à¶šà·Šâ€à¶»à·“ය කිරීම, MacOS à·„à· Linux වලට මà·à¶»à·” වීම, හ෠ඔබගේ PHP version à¶‘à¶š 7.0.17+ à·„à· 7.1.3+ වලට අලුà¶à·Š කිරීම කරගන්න.';
+$PHPMAILER_LANG['connect_host'] = 'SMTP දà·à·‚ය: සම්බන්ධ වීමට නොහà·à¶šà·’ විය.';
+$PHPMAILER_LANG['data_not_accepted'] = 'SMTP දà·à·‚ය: දà¶à·Šà¶ පිළිගනු නොලà·à¶¶à·š.';
+$PHPMAILER_LANG['empty_message'] = 'පණිවිඩ අන්à¶à¶»à·Šà¶œà¶à¶º හිස්';
+$PHPMAILER_LANG['encoding'] = 'නොදන්න෠කේà¶à¶±à¶º: ';
+$PHPMAILER_LANG['execute'] = 'à¶šà·Šâ€à¶»à·’යà·à¶à·Šà¶¸à¶š à¶šà·… නොහà·à¶šà·’ විය: ';
+$PHPMAILER_LANG['extension_missing'] = 'Extension à¶‘à¶š නොමà·à¶: ';
+$PHPMAILER_LANG['file_access'] = 'File à¶‘à¶šà¶§ à¶´à·Šâ€à¶»à·€à·šà· විය නොහà·à¶šà·’ විය: ';
+$PHPMAILER_LANG['file_open'] = 'File දà·à·‚ය: File à¶‘à¶š විවෘචකළ නොහà·à¶š: ';
+$PHPMAILER_LANG['from_failed'] = 'à¶´à·„à¶ From ලිපිනයන් à¶…à·ƒà·à¶»à·Šà¶®à¶š විය: ';
+$PHPMAILER_LANG['instantiate'] = 'mail function à¶‘à¶š à¶šà·Šâ€à¶»à·’යà·à¶à·Šà¶¸à¶š à¶šà·… නොහà·à¶š.';
+$PHPMAILER_LANG['invalid_address'] = 'වලංගු නොවන ලිපිනය: ';
+$PHPMAILER_LANG['invalid_header'] = 'වලංගු නොවන header à¶±à·à¶¸à¶ºà¶šà·Š හ෠අගයක්';
+$PHPMAILER_LANG['invalid_hostentry'] = 'වලංගු නොවන hostentry එකක්: ';
+$PHPMAILER_LANG['invalid_host'] = 'වලංගු නොවන host එකක්: ';
+$PHPMAILER_LANG['mailer_not_supported'] = ' mailer සහà·à¶º නොදක්වයි.';
+$PHPMAILER_LANG['provide_address'] = 'ඔබ අවම à·€à·à¶ºà·™à¶±à·Š à¶‘à¶šà·Š ලබන්නෙකුගේ ඊමේල් ලිපිනයක් à·ƒà·à¶´à¶ºà·’ය යුà¶à·”ය.';
+$PHPMAILER_LANG['recipients_failed'] = 'SMTP දà·à·‚ය: පහචලබන්නන් අසමà¶à·Š විය: ';
+$PHPMAILER_LANG['signing'] = 'Sign කිරීමේ දà·à·‚ය: ';
+$PHPMAILER_LANG['smtp_code'] = 'SMTP à¶šà·šà¶à¶º: ';
+$PHPMAILER_LANG['smtp_code_ex'] = 'අමà¶à¶» SMTP à¶à·œà¶»à¶à·”රු: ';
+$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP සම්බන්ධය à¶…à·ƒà·à¶»à·Šà¶®à¶š විය.';
+$PHPMAILER_LANG['smtp_detail'] = 'à¶à·œà¶»à¶à·”රු: ';
+$PHPMAILER_LANG['smtp_error'] = 'SMTP දà·à·‚ය: ';
+$PHPMAILER_LANG['variable_set'] = 'Variable à¶‘à¶š à·ƒà·à¶šà·ƒà·“මට à·„à· à¶±à·à·€à¶ à·ƒà·à¶šà·ƒà·“මට නොහà·à¶š: ';
diff --git a/vendor/phpoffice/phpspreadsheet/.php-cs-fixer.dist.php b/vendor/phpoffice/phpspreadsheet/.php-cs-fixer.dist.php
new file mode 100644
index 0000000..fb50aea
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/.php-cs-fixer.dist.php
@@ -0,0 +1,251 @@
+exclude('vendor')
+ ->notPath('src/PhpSpreadsheet/Writer/ZipStream3.php')
+ ->name('/(\.php|^generate-document|^generate-locales)$/')
+ ->in(__DIR__);
+
+$config = new PhpCsFixer\Config();
+$config
+ ->setRiskyAllowed(true)
+ ->setFinder($finder)
+ ->setCacheFile(sys_get_temp_dir() . '/php-cs-fixer' . preg_replace('~\W~', '-', __DIR__))
+ ->setRules([
+ 'align_multiline_comment' => true,
+ 'array_indentation' => true,
+ 'array_syntax' => ['syntax' => 'short'],
+ 'backtick_to_shell_exec' => true,
+ 'binary_operator_spaces' => true,
+ 'blank_line_after_namespace' => true,
+ 'blank_line_after_opening_tag' => true,
+ 'blank_line_before_statement' => true,
+ 'braces' => true,
+ 'cast_spaces' => true,
+ 'class_attributes_separation' => ['elements' => ['method' => 'one', 'property' => 'one']], // const are often grouped with other related const
+ 'class_definition' => false, // phpcs disagree
+ 'class_keyword_remove' => false, // Deprecated, and ::class keyword gives us better support in IDE
+ 'combine_consecutive_issets' => true,
+ 'combine_consecutive_unsets' => true,
+ 'combine_nested_dirname' => true,
+ 'comment_to_phpdoc' => false, // interferes with annotations
+ 'compact_nullable_typehint' => true,
+ 'concat_space' => ['spacing' => 'one'],
+ 'constant_case' => true,
+ 'date_time_immutable' => false, // Break our unit tests
+ 'declare_equal_normalize' => true,
+ 'declare_strict_types' => false, // Too early to adopt strict types
+ 'dir_constant' => true,
+ 'doctrine_annotation_array_assignment' => true,
+ 'doctrine_annotation_braces' => true,
+ 'doctrine_annotation_indentation' => true,
+ 'doctrine_annotation_spaces' => true,
+ 'elseif' => true,
+ 'empty_loop_body' => true,
+ 'empty_loop_condition' => true,
+ 'encoding' => true,
+ 'ereg_to_preg' => true,
+ 'error_suppression' => false, // it breaks \PhpOffice\PhpSpreadsheet\Helper\Handler
+ 'escape_implicit_backslashes' => true,
+ 'explicit_indirect_variable' => false, // I feel it makes the code actually harder to read
+ 'explicit_string_variable' => false, // I feel it makes the code actually harder to read
+ 'final_class' => false, // We need non-final classes
+ 'final_internal_class' => true,
+ 'final_public_method_for_abstract_class' => false, // We need non-final methods
+ 'fopen_flag_order' => true,
+ 'fopen_flags' => true,
+ 'full_opening_tag' => true,
+ 'fully_qualified_strict_types' => true,
+ 'function_declaration' => true,
+ 'function_to_constant' => true,
+ 'function_typehint_space' => true,
+ 'general_phpdoc_annotation_remove' => ['annotations' => ['access', 'category', 'copyright']],
+ 'general_phpdoc_tag_rename' => true,
+ 'global_namespace_import' => true,
+ 'group_import' => false, // I feel it makes the code actually harder to read
+ 'header_comment' => false, // We don't use common header in all our files
+ 'heredoc_indentation' => true,
+ 'heredoc_to_nowdoc' => false, // Not sure about this one
+ 'implode_call' => true,
+ 'include' => true,
+ 'increment_style' => true,
+ 'indentation_type' => true,
+ 'integer_literal_case' => true,
+ 'is_null' => true,
+ 'lambda_not_used_import' => true,
+ 'line_ending' => true,
+ 'linebreak_after_opening_tag' => true,
+ 'list_syntax' => ['syntax' => 'short'],
+ 'logical_operators' => true,
+ 'lowercase_cast' => true,
+ 'lowercase_keywords' => true,
+ 'lowercase_static_reference' => true,
+ 'magic_constant_casing' => true,
+ 'magic_method_casing' => true,
+ 'mb_str_functions' => false, // No, too dangerous to change that
+ 'method_argument_space' => true,
+ 'method_chaining_indentation' => true,
+ 'modernize_strpos' => true,
+ 'modernize_types_casting' => true,
+ 'multiline_comment_opening_closing' => true,
+ 'multiline_whitespace_before_semicolons' => true,
+ 'native_constant_invocation' => false, // Micro optimization that look messy
+ 'native_function_casing' => true,
+ 'native_function_invocation' => false, // I suppose this would be best, but I am still unconvinced about the visual aspect of it
+ 'native_function_type_declaration_casing' => true,
+ 'new_with_braces' => true,
+ 'no_alias_functions' => true,
+ 'no_alias_language_construct_call' => true,
+ 'no_alternative_syntax' => true,
+ 'no_binary_string' => true,
+ 'no_blank_lines_after_class_opening' => true,
+ 'no_blank_lines_after_phpdoc' => true,
+ 'no_blank_lines_before_namespace' => false, // we want 1 blank line before namespace
+ 'no_break_comment' => true,
+ 'no_closing_tag' => true,
+ 'no_empty_comment' => true,
+ 'no_empty_phpdoc' => true,
+ 'no_empty_statement' => true,
+ 'no_extra_blank_lines' => true,
+ 'no_homoglyph_names' => true,
+ 'no_leading_import_slash' => true,
+ 'no_leading_namespace_whitespace' => true,
+ 'no_mixed_echo_print' => true,
+ 'no_multiline_whitespace_around_double_arrow' => true,
+ 'no_null_property_initialization' => true,
+ 'no_php4_constructor' => true,
+ 'no_short_bool_cast' => true,
+ 'echo_tag_syntax' => ['format' => 'long'],
+ 'no_singleline_whitespace_before_semicolons' => true,
+ 'no_space_around_double_colon' => true,
+ 'no_spaces_after_function_name' => true,
+ 'no_spaces_around_offset' => true,
+ 'no_spaces_inside_parenthesis' => true,
+ 'no_superfluous_elseif' => false, // Might be risky on a huge code base
+ 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
+ 'no_trailing_comma_in_list_call' => true,
+ 'no_trailing_comma_in_singleline_array' => true,
+ 'no_trailing_whitespace' => true,
+ 'no_trailing_whitespace_in_comment' => true,
+ 'no_trailing_whitespace_in_string' => false, // Too dangerous
+ 'no_unneeded_control_parentheses' => true,
+ 'no_unneeded_curly_braces' => true,
+ 'no_unneeded_final_method' => true,
+ 'no_unreachable_default_argument_value' => true,
+ 'no_unset_cast' => true,
+ 'no_unset_on_property' => false,
+ 'no_unused_imports' => true,
+ 'no_useless_else' => true,
+ 'no_useless_return' => true,
+ 'no_useless_sprintf' => true,
+ 'no_whitespace_before_comma_in_array' => true,
+ 'no_whitespace_in_blank_line' => true,
+ 'non_printable_character' => true,
+ 'normalize_index_brace' => true,
+ 'not_operator_with_space' => false, // No we prefer to keep '!' without spaces
+ 'not_operator_with_successor_space' => false, // idem
+ 'nullable_type_declaration_for_default_null_value' => true,
+ 'object_operator_without_whitespace' => true,
+ 'octal_notation' => true,
+ 'operator_linebreak' => true,
+ 'ordered_class_elements' => false, // We prefer to keep some freedom
+ 'ordered_imports' => true,
+ 'ordered_interfaces' => true,
+ 'ordered_traits' => true,
+ 'php_unit_construct' => true,
+ 'php_unit_dedicate_assert' => true,
+ 'php_unit_dedicate_assert_internal_type' => true,
+ 'php_unit_expectation' => true,
+ 'php_unit_fqcn_annotation' => true,
+ 'php_unit_internal_class' => false, // Because tests are excluded from package
+ 'php_unit_method_casing' => true,
+ 'php_unit_mock' => true,
+ 'php_unit_mock_short_will_return' => true,
+ 'php_unit_namespaced' => true,
+ 'php_unit_no_expectation_annotation' => true,
+ 'phpdoc_order_by_value' => ['annotations' => ['covers']],
+ 'php_unit_set_up_tear_down_visibility' => true,
+ 'php_unit_size_class' => false, // That seems extra work to maintain for little benefits
+ 'php_unit_strict' => false, // We sometime actually need assertEquals
+ 'php_unit_test_annotation' => true,
+ 'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
+ 'php_unit_test_class_requires_covers' => false, // We don't care as much as we should about coverage
+ 'phpdoc_add_missing_param_annotation' => false, // Don't add things that bring no value
+ 'phpdoc_align' => false, // Waste of time
+ 'phpdoc_annotation_without_dot' => true,
+ 'phpdoc_indent' => true,
+ //'phpdoc_inline_tag' => true,
+ 'phpdoc_line_span' => false, // Unfortunately our old comments turn even uglier with this
+ 'phpdoc_no_access' => true,
+ 'phpdoc_no_alias_tag' => true,
+ 'phpdoc_no_empty_return' => true,
+ 'phpdoc_no_package' => true,
+ 'phpdoc_no_useless_inheritdoc' => true,
+ 'phpdoc_order' => true,
+ 'phpdoc_return_self_reference' => true,
+ 'phpdoc_scalar' => true,
+ 'phpdoc_separation' => true,
+ 'phpdoc_single_line_var_spacing' => true,
+ 'phpdoc_summary' => true,
+ 'phpdoc_tag_casing' => true,
+ 'phpdoc_tag_type' => true,
+ 'phpdoc_to_comment' => false, // interferes with annotations
+ 'phpdoc_to_param_type' => false, // Because experimental, but interesting for one shot use
+ 'phpdoc_to_property_type' => false, // Because experimental, but interesting for one shot use
+ 'phpdoc_to_return_type' => false, // Because experimental, but interesting for one shot use
+ 'phpdoc_trim' => true,
+ 'phpdoc_trim_consecutive_blank_line_separation' => true,
+ 'phpdoc_types' => true,
+ 'phpdoc_types_order' => true,
+ 'phpdoc_var_annotation_correct_order' => true,
+ 'phpdoc_var_without_name' => true,
+ 'pow_to_exponentiation' => true,
+ 'protected_to_private' => true,
+ 'psr_autoloading' => true,
+ 'random_api_migration' => true,
+ 'return_assignment' => false, // Sometimes useful for clarity or debug
+ 'return_type_declaration' => true,
+ 'self_accessor' => true,
+ 'self_static_accessor' => true,
+ 'semicolon_after_instruction' => false, // Buggy in `samples/index.php`
+ 'set_type_to_cast' => true,
+ 'short_scalar_cast' => true,
+ 'simple_to_complex_string_variable' => false, // Would differ from TypeScript without obvious advantages
+ 'simplified_if_return' => false, // Even if technically correct we prefer to be explicit
+ 'simplified_null_return' => false, // Even if technically correct we prefer to be explicit
+ 'single_blank_line_at_eof' => true,
+ 'single_blank_line_before_namespace' => true,
+ 'single_class_element_per_statement' => true,
+ 'single_import_per_statement' => true,
+ 'single_line_after_imports' => true,
+ 'single_line_comment_style' => true,
+ 'single_line_throw' => false, // I don't see any reason for having a special case for Exception
+ 'single_quote' => true,
+ 'single_space_after_construct' => true,
+ 'single_trait_insert_per_statement' => true,
+ 'space_after_semicolon' => true,
+ 'standardize_increment' => true,
+ 'standardize_not_equals' => true,
+ 'static_lambda' => false, // Risky if we can't guarantee nobody use `bindTo()`
+ 'strict_comparison' => false, // No, too dangerous to change that
+ 'strict_param' => false, // No, too dangerous to change that
+ 'string_length_to_empty' => true,
+ 'string_line_ending' => true,
+ 'switch_case_semicolon_to_colon' => true,
+ 'switch_case_space' => true,
+ 'switch_continue_to_break' => true,
+ 'ternary_operator_spaces' => true,
+ 'ternary_to_elvis_operator' => true,
+ 'ternary_to_null_coalescing' => true,
+ 'trailing_comma_in_multiline' => true,
+ 'trim_array_spaces' => true,
+ 'types_spaces' => true,
+ 'unary_operator_spaces' => true,
+ 'use_arrow_functions' => true,
+ 'visibility_required' => ['elements' => ['property', 'method']], // not const
+ 'void_return' => true,
+ 'whitespace_after_comma_in_array' => true,
+ 'yoda_style' => false,
+ ]);
+
+return $config;
diff --git a/vendor/phpoffice/phpspreadsheet/.phpcs.xml.dist b/vendor/phpoffice/phpspreadsheet/.phpcs.xml.dist
new file mode 100644
index 0000000..d902156
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/.phpcs.xml.dist
@@ -0,0 +1,25 @@
+
+
+
+ samples
+ src
+ tests
+ infra
+ bin/generate-document
+ bin/generate-locales
+
+ samples/Header.php
+ */tests/Core/*/*Test\.(inc|css|js)$
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vendor/phpoffice/phpspreadsheet/.readthedocs.yaml b/vendor/phpoffice/phpspreadsheet/.readthedocs.yaml
new file mode 100644
index 0000000..c671015
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/.readthedocs.yaml
@@ -0,0 +1,12 @@
+# Read the Docs configuration file for MkDocs projects
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html
+
+version: 2
+
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3"
+
+mkdocs:
+ configuration: mkdocs.yml
diff --git a/vendor/phpoffice/phpspreadsheet/CHANGELOG.md b/vendor/phpoffice/phpspreadsheet/CHANGELOG.md
new file mode 100644
index 0000000..f68cd66
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/CHANGELOG.md
@@ -0,0 +1,1481 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com)
+and this project adheres to [Semantic Versioning](https://semver.org).
+
+## Unreleased - TBD
+
+### MINOR BREAKING CHANGE
+
+- Typing was strengthened by leveraging native typing. While this should not change any behavior, it might need minor
+ adaption of your code if you use static analysis tools such as PHPStan or
+ Psalm. [PR #3718](https://github.com/PHPOffice/PhpSpreadsheet/pull/3718)
+
+### Added
+
+- Split screens (Xlsx and Xml only, not 100% complete). [Issue #3601](https://github.com/PHPOffice/PhpSpreadsheet/issues/3601) [PR #3622](https://github.com/PHPOffice/PhpSpreadsheet/pull/3622)
+- Permit Meta Viewport in Html. [Issue #3565](https://github.com/PHPOffice/PhpSpreadsheet/issues/3565) [PR #3623](https://github.com/PHPOffice/PhpSpreadsheet/pull/3623)
+- Hyperlink support for Ods. [Issue #3660](https://github.com/PHPOffice/PhpSpreadsheet/issues/3660) [PR #3669](https://github.com/PHPOffice/PhpSpreadsheet/pull/3669)
+- ListWorksheetInfo/Names for Html/Csv/Slk. [Issue #3706](https://github.com/PHPOffice/PhpSpreadsheet/issues/3706) [PR #3709](https://github.com/PHPOffice/PhpSpreadsheet/pull/3709)
+- Methods to determine if cell is actually locked, or hidden on formula bar. [PR #3722](https://github.com/PHPOffice/PhpSpreadsheet/pull/3722)
+- Add iterateOnlyExistingCells to Constructors. [Issue #3721](https://github.com/PHPOffice/PhpSpreadsheet/issues/3721) [PR #3727](https://github.com/PHPOffice/PhpSpreadsheet/pull/3727)
+- Support for Conditional Formatting Color Scale. [PR #3738](https://github.com/PHPOffice/PhpSpreadsheet/pull/3738)
+- Support Additional Tags in Helper/Html. [Issue #3751](https://github.com/PHPOffice/PhpSpreadsheet/issues/3751) [PR #3752](https://github.com/PHPOffice/PhpSpreadsheet/pull/3752)
+- Writer ODS : Write Border Style for cells [Issue #3690](https://github.com/PHPOffice/PhpSpreadsheet/issues/3690) [PR #3693](https://github.com/PHPOffice/PhpSpreadsheet/pull/3693)
+- Sheet Background Images [Issue #1649](https://github.com/PHPOffice/PhpSpreadsheet/issues/1649) [PR #3795](https://github.com/PHPOffice/PhpSpreadsheet/pull/3795)
+- Check if Coordinate is Inside Range [PR #3779](https://github.com/PHPOffice/PhpSpreadsheet/pull/3779)
+- Flipping Images [Issue #731](https://github.com/PHPOffice/PhpSpreadsheet/issues/731) [PR #3801](https://github.com/PHPOffice/PhpSpreadsheet/pull/3801)
+- Chart Dynamic Title and Font Properties [Issue #3797](https://github.com/PHPOffice/PhpSpreadsheet/issues/3797) [PR #3800](https://github.com/PHPOffice/PhpSpreadsheet/pull/3800)
+- Chart Axis Display Units and Logarithmic Scale. [Issue #3833](https://github.com/PHPOffice/PhpSpreadsheet/pull/3833) [PR #3836](https://github.com/PHPOffice/PhpSpreadsheet/pull/3836)
+
+### Changed
+
+- Drop support for PHP 7.4, according to https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support [PR #3713](https://github.com/PHPOffice/PhpSpreadsheet/pull/3713)
+- RLM Added to NumberFormatter Currency. This happens depending on release of ICU which Php is using (it does not yet happen with any official release). PhpSpreadsheet will continue to use the value returned by Php, but a method is added to keep the result unchanged from release to release. [Issue #3571](https://github.com/PHPOffice/PhpSpreadsheet/issues/3571) [PR #3640](https://github.com/PHPOffice/PhpSpreadsheet/pull/3640)
+- `toFormattedString` will now always return a string. This was introduced with 1.28.0, but was not properly documented at the time. This can affect the results of `toArray`, `namedRangeToArray`, and `rangeToArray`. [PR #3304](https://github.com/PHPOffice/PhpSpreadsheet/pull/3304)
+- Value of constants FORMAT_CURRENCY_EUR and FORMAT_CURRENCY_USD was changed in 1.28.0, but was not properly documented at the time. [Issue #3577](https://github.com/PHPOffice/PhpSpreadsheet/issues/3577)
+- Html Writer will attempt to use Chart coordinates to determine image size. [Issue #3783](https://github.com/PHPOffice/PhpSpreadsheet/issues/3783) [PR #3787](https://github.com/PHPOffice/PhpSpreadsheet/pull/3787)
+
+### Deprecated
+
+- Functions `_translateFormulaToLocale` and `_translateFormulaEnglish` are replaced by versions without leading underscore. [PR #3828](https://github.com/PHPOffice/PhpSpreadsheet/pull/3828)
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Take advantage of mitoteam/jpgraph Extended mode to enable rendering of more graphs. [PR #3603](https://github.com/PHPOffice/PhpSpreadsheet/pull/3603)
+- Column widths, especially for ODS. [Issue #3609](https://github.com/PHPOffice/PhpSpreadsheet/issues/3609) [PR #3610](https://github.com/PHPOffice/PhpSpreadsheet/pull/3610)
+- Avoid NULL in String Function call (partial solution). [Issue #3613](https://github.com/PHPOffice/PhpSpreadsheet/issues/3613) [PR #3617](https://github.com/PHPOffice/PhpSpreadsheet/pull/3617)
+- Preserve transparency in Memory Drawing. [Issue #3624](https://github.com/PHPOffice/PhpSpreadsheet/issues/3624) [PR #3627](https://github.com/PHPOffice/PhpSpreadsheet/pull/3627)
+- Customizable padding for Exact Column Width. [Issue #3626](https://github.com/PHPOffice/PhpSpreadsheet/issues/3626) [PR #3628](https://github.com/PHPOffice/PhpSpreadsheet/pull/3628)
+- Ensure ROW function returns int (problem exposed in unreleased Php). [PR #3641](https://github.com/PHPOffice/PhpSpreadsheet/pull/3641)
+- Minor changes to Mpdf and Html Writers. [PR #3645](https://github.com/PHPOffice/PhpSpreadsheet/pull/3645)
+- Xlsx Reader Namespacing for Tables, Autofilters. [Issue #3665](https://github.com/PHPOffice/PhpSpreadsheet/issues/3665) [PR #3668](https://github.com/PHPOffice/PhpSpreadsheet/pull/3668)
+- Read Code Page for Xls ListWorksheetInfo/Names BIFF5. [Issue #3671](https://github.com/PHPOffice/PhpSpreadsheet/issues/3671) [PR #3672](https://github.com/PHPOffice/PhpSpreadsheet/pull/3672)
+- Read Data from Table on Different Sheet. [Issue #3635](https://github.com/PHPOffice/PhpSpreadsheet/issues/3635) [PR #3659](https://github.com/PHPOffice/PhpSpreadsheet/pull/3659)
+- Html Writer Styles Using Inline Css. [Issue #3678](https://github.com/PHPOffice/PhpSpreadsheet/issues/3678) [PR #3680](https://github.com/PHPOffice/PhpSpreadsheet/pull/3680)
+- Xlsx Read Ignoring Some Comments. [Issue #3654](https://github.com/PHPOffice/PhpSpreadsheet/issues/3654) [PR #3655](https://github.com/PHPOffice/PhpSpreadsheet/pull/3655)
+- Fractional Seconds in Date/Time Values. [PR #3677](https://github.com/PHPOffice/PhpSpreadsheet/pull/3677)
+- SetCalculatedValue Avoid Casting String to Numeric. [Issue #3658](https://github.com/PHPOffice/PhpSpreadsheet/issues/3658) [PR #3685](https://github.com/PHPOffice/PhpSpreadsheet/pull/3685)
+- Several Problems in a Very Complicated Spreadsheet. [Issue #3679](https://github.com/PHPOffice/PhpSpreadsheet/issues/3679) [PR #3681](https://github.com/PHPOffice/PhpSpreadsheet/pull/3681)
+- Inconsistent String Handling for Sum Functions. [Issue #3652](https://github.com/PHPOffice/PhpSpreadsheet/issues/3652) [PR #3653](https://github.com/PHPOffice/PhpSpreadsheet/pull/3653)
+- Recomputation of Relative Addresses in Defined Names. [Issue #3661](https://github.com/PHPOffice/PhpSpreadsheet/issues/3661) [PR #3673](https://github.com/PHPOffice/PhpSpreadsheet/pull/3673)
+- Writer Xls Characters Outside BMP (emojis). [Issue #642](https://github.com/PHPOffice/PhpSpreadsheet/issues/642) [PR #3696](https://github.com/PHPOffice/PhpSpreadsheet/pull/3696)
+- Xlsx Reader Improve Handling of Row and Column Styles. [Issue #3533](https://github.com/PHPOffice/PhpSpreadsheet/issues/3533) [Issue #3534](https://github.com/PHPOffice/PhpSpreadsheet/issues/3534) [PR #3688](https://github.com/PHPOffice/PhpSpreadsheet/pull/3688)
+- Avoid Allocating RowDimension Unneccesarily. [PR #3686](https://github.com/PHPOffice/PhpSpreadsheet/pull/3686)
+- Use Column Style when Row Dimension Exists Without Style. [Issue #3534](https://github.com/PHPOffice/PhpSpreadsheet/issues/3534) [PR #3688](https://github.com/PHPOffice/PhpSpreadsheet/pull/3688)
+- Inconsistency Between Cell Data and Explicitly Declared Type. [Issue #3711](https://github.com/PHPOffice/PhpSpreadsheet/issues/3711) [PR #3715](https://github.com/PHPOffice/PhpSpreadsheet/pull/3715)
+- Unexpected Namespacing in rels File. [Issue #3720](https://github.com/PHPOffice/PhpSpreadsheet/issues/3720) [PR #3722](https://github.com/PHPOffice/PhpSpreadsheet/pull/3722)
+- Break Some Circular References. [PR #3716](https://github.com/PHPOffice/PhpSpreadsheet/pull/3716) [PR #3707](https://github.com/PHPOffice/PhpSpreadsheet/pull/3707)
+- Missing Font Index in Some Xls. [PR #3734](https://github.com/PHPOffice/PhpSpreadsheet/pull/3734)
+- Load Tables even with READ_DATA_ONLY. [PR #3726](https://github.com/PHPOffice/PhpSpreadsheet/pull/3726)
+- Theme File Missing but Referenced in Spreadsheet. [Issue #3770](https://github.com/PHPOffice/PhpSpreadsheet/issues/3770) [PR #3772](https://github.com/PHPOffice/PhpSpreadsheet/pull/3772)
+- Slk Shared Formulas. [Issue #2267](https://github.com/PHPOffice/PhpSpreadsheet/issues/2267) [PR #3776](https://github.com/PHPOffice/PhpSpreadsheet/pull/3776)
+- Html omitting some charts. [Issue #3767](https://github.com/PHPOffice/PhpSpreadsheet/issues/3767) [PR #3771](https://github.com/PHPOffice/PhpSpreadsheet/pull/3771)
+- Case Insensitive Comparison for Sheet Names [PR #3791](https://github.com/PHPOffice/PhpSpreadsheet/pull/3791)
+- Performance improvement for Xlsx Reader. [Issue #3683](https://github.com/PHPOffice/PhpSpreadsheet/issues/3683) [PR #3810](https://github.com/PHPOffice/PhpSpreadsheet/pull/3810)
+- Prevent loop in Shared/File. [Issue #3807](https://github.com/PHPOffice/PhpSpreadsheet/issues/3807) [PR #3809](https://github.com/PHPOffice/PhpSpreadsheet/pull/3809)
+- Consistent handling of decimal/thousands separators between StringHelper and Php setlocale. [Issue #3811](https://github.com/PHPOffice/PhpSpreadsheet/issues/3811) [PR #3815](https://github.com/PHPOffice/PhpSpreadsheet/pull/3815)
+- Clone worksheet with tables or charts. [Issue #3820](https://github.com/PHPOffice/PhpSpreadsheet/issues/3820) [PR #3821](https://github.com/PHPOffice/PhpSpreadsheet/pull/3821)
+- COUNTIFS Does Not Require xlfn. [Issue #3819](https://github.com/PHPOffice/PhpSpreadsheet/issues/3819) [PR #3827](https://github.com/PHPOffice/PhpSpreadsheet/pull/3827)
+- Strip `xlfn.` and `xlws.` from Formula Translations. [Issue #3819](https://github.com/PHPOffice/PhpSpreadsheet/issues/3819) [PR #3828](https://github.com/PHPOffice/PhpSpreadsheet/pull/3828)
+- Recurse directories searching for font file. [Issue #2809](https://github.com/PHPOffice/PhpSpreadsheet/issues/2809) [PR #3830](https://github.com/PHPOffice/PhpSpreadsheet/pull/3830)
+- Reduce memory consumption of Worksheet::rangeToArray() when many empty rows are read. [Issue #3814](https://github.com/PHPOffice/PhpSpreadsheet/pull/3814) [PR #3834](https://github.com/PHPOffice/PhpSpreadsheet/pull/3834)
+- Reduce time used by Worksheet::rangeToArray() when many empty rows are read. [PR #3839](https://github.com/PHPOffice/PhpSpreadsheet/pull/3839)
+
+## 1.29.0 - 2023-06-15
+
+### Added
+
+- Wizards for defining Number Format masks for Dates and Times, including Durations/Intervals. [PR #3458](https://github.com/PHPOffice/PhpSpreadsheet/pull/3458)
+- Specify data type in html tags. [Issue #3444](https://github.com/PHPOffice/PhpSpreadsheet/issues/3444) [PR #3445](https://github.com/PHPOffice/PhpSpreadsheet/pull/3445)
+- Provide option to ignore hidden rows/columns in `toArray()` methods. [PR #3494](https://github.com/PHPOffice/PhpSpreadsheet/pull/3494)
+- Font/Effects/Theme support for Chart Data Labels and Axis. [PR #3476](https://github.com/PHPOffice/PhpSpreadsheet/pull/3476)
+- Font Themes support. [PR #3486](https://github.com/PHPOffice/PhpSpreadsheet/pull/3486)
+- Ability to Ignore Cell Errors in Excel. [Issue #1141](https://github.com/PHPOffice/PhpSpreadsheet/issues/1141) [PR #3508](https://github.com/PHPOffice/PhpSpreadsheet/pull/3508)
+- Unzipped Gnumeric file [PR #3591](https://github.com/PHPOffice/PhpSpreadsheet/pull/3591)
+
+### Changed
+
+- Xlsx Color schemes read in will be written out (previously Excel 2007-2010 Color scheme was always written); manipulation of those schemes before write, including restoring prior behavior, is provided [PR #3476](https://github.com/PHPOffice/PhpSpreadsheet/pull/3476)
+- Memory and speed optimisations for Read Filters with Xlsx Files and Shared Formulae. [PR #3474](https://github.com/PHPOffice/PhpSpreadsheet/pull/3474)
+- Allow `CellRange` and `CellAddress` objects for the `range` argument in the `rangeToArray()` method. [PR #3494](https://github.com/PHPOffice/PhpSpreadsheet/pull/3494)
+- Stock charts will now read and reproduce `upDownBars` and subsidiary tags; these were previously ignored on read and hard-coded on write. [PR #3515](https://github.com/PHPOffice/PhpSpreadsheet/pull/3515)
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Updates Cell formula absolute ranges/references, and Defined Name absolute ranges/references when inserting/deleting rows/columns. [Issue #3368](https://github.com/PHPOffice/PhpSpreadsheet/issues/3368) [PR #3402](https://github.com/PHPOffice/PhpSpreadsheet/pull/3402)
+- EOMONTH() and EDATE() Functions should round date value before evaluation. [Issue #3436](https://github.com/PHPOffice/PhpSpreadsheet/issues/3436) [PR #3437](https://github.com/PHPOffice/PhpSpreadsheet/pull/3437)
+- NETWORKDAYS function erroneously being converted to NETWORK_xlfn.DAYS in Xlsx Writer. [Issue #3461](https://github.com/PHPOffice/PhpSpreadsheet/issues/3461) [PR #3463](https://github.com/PHPOffice/PhpSpreadsheet/pull/3463)
+- Getting a style for a CellAddress instance fails if the worksheet is set in the CellAddress instance. [Issue #3439](https://github.com/PHPOffice/PhpSpreadsheet/issues/3439) [PR #3469](https://github.com/PHPOffice/PhpSpreadsheet/pull/3469)
+- Shared Formulae outside the filter range when reading with a filter are not always being identified. [Issue #3473](https://github.com/PHPOffice/PhpSpreadsheet/issues/3473) [PR #3474](https://github.com/PHPOffice/PhpSpreadsheet/pull/3474)
+- Xls Reader Conditional Styles. [PR #3400](https://github.com/PHPOffice/PhpSpreadsheet/pull/3400)
+- Allow use of # and 0 digit placeholders in fraction masks. [PR #3401](https://github.com/PHPOffice/PhpSpreadsheet/pull/3401)
+- Modify Date/Time check in the NumberFormatter for decimal/fractional times. [PR #3413](https://github.com/PHPOffice/PhpSpreadsheet/pull/3413)
+- Misplaced Xml Writing Chart Label FillColor. [Issue #3397](https://github.com/PHPOffice/PhpSpreadsheet/issues/3397) [PR #3404](https://github.com/PHPOffice/PhpSpreadsheet/pull/3404)
+- TEXT function ignores Time in DateTimeStamp. [Issue #3409](https://github.com/PHPOffice/PhpSpreadsheet/issues/3409) [PR #3411](https://github.com/PHPOffice/PhpSpreadsheet/pull/3411)
+- Xlsx Column Autosize Approximate for CJK. [Issue #3405](https://github.com/PHPOffice/PhpSpreadsheet/issues/3405) [PR #3416](https://github.com/PHPOffice/PhpSpreadsheet/pull/3416)
+- Correct Xlsx Parsing of quotePrefix="0". [Issue #3435](https://github.com/PHPOffice/PhpSpreadsheet/issues/3435) [PR #3438](https://github.com/PHPOffice/PhpSpreadsheet/pull/3438)
+- More Display Options for Chart Axis and Legend. [Issue #3414](https://github.com/PHPOffice/PhpSpreadsheet/issues/3414) [PR #3434](https://github.com/PHPOffice/PhpSpreadsheet/pull/3434)
+- Apply strict type checking to Complex suffix. [PR #3452](https://github.com/PHPOffice/PhpSpreadsheet/pull/3452)
+- Incorrect Font Color Read Xlsx Rich Text Indexed Color Custom Palette. [Issue #3464](https://github.com/PHPOffice/PhpSpreadsheet/issues/3464) [PR #3465](https://github.com/PHPOffice/PhpSpreadsheet/pull/3465)
+- Xlsx Writer Honor Alignment in Default Font. [Issue #3443](https://github.com/PHPOffice/PhpSpreadsheet/issues/3443) [PR #3459](https://github.com/PHPOffice/PhpSpreadsheet/pull/3459)
+- Support Border for Charts. [PR #3462](https://github.com/PHPOffice/PhpSpreadsheet/pull/3462)
+- Error in "this row" structured reference calculation (cached result from first row when using a range) [Issue #3504](https://github.com/PHPOffice/PhpSpreadsheet/issues/3504) [PR #3505](https://github.com/PHPOffice/PhpSpreadsheet/pull/3505)
+- Allow colour palette index references in Number Format masks [Issue #3511](https://github.com/PHPOffice/PhpSpreadsheet/issues/3511) [PR #3512](https://github.com/PHPOffice/PhpSpreadsheet/pull/3512)
+- Xlsx Reader formula with quotePrefix [Issue #3495](https://github.com/PHPOffice/PhpSpreadsheet/issues/3495) [PR #3497](https://github.com/PHPOffice/PhpSpreadsheet/pull/3497)
+- Handle REF error as part of range [Issue #3453](https://github.com/PHPOffice/PhpSpreadsheet/issues/3453) [PR #3467](https://github.com/PHPOffice/PhpSpreadsheet/pull/3467)
+- Handle Absolute Pathnames in Rels File [Issue #3553](https://github.com/PHPOffice/PhpSpreadsheet/issues/3553) [PR #3554](https://github.com/PHPOffice/PhpSpreadsheet/pull/3554)
+- Return Page Breaks in Order [Issue #3552](https://github.com/PHPOffice/PhpSpreadsheet/issues/3552) [PR #3555](https://github.com/PHPOffice/PhpSpreadsheet/pull/3555)
+- Add position attribute for MemoryDrawing in Html [Issue #3529](https://github.com/PHPOffice/PhpSpreadsheet/issues/3529 [PR #3535](https://github.com/PHPOffice/PhpSpreadsheet/pull/3535)
+- Allow Index_number as Array for VLOOKUP/HLOOKUP [Issue #3561](https://github.com/PHPOffice/PhpSpreadsheet/issues/3561 [PR #3570](https://github.com/PHPOffice/PhpSpreadsheet/pull/3570)
+- Add Unsupported Options in Xml Spreadsheet [Issue #3566](https://github.com/PHPOffice/PhpSpreadsheet/issues/3566 [Issue #3568](https://github.com/PHPOffice/PhpSpreadsheet/issues/3568 [Issue #3569](https://github.com/PHPOffice/PhpSpreadsheet/issues/3569 [PR #3567](https://github.com/PHPOffice/PhpSpreadsheet/pull/3567)
+- Changes to NUMBERVALUE, VALUE, DATEVALUE, TIMEVALUE [Issue #3574](https://github.com/PHPOffice/PhpSpreadsheet/issues/3574 [PR #3575](https://github.com/PHPOffice/PhpSpreadsheet/pull/3575)
+- Redo calculation of color tinting [Issue #3550](https://github.com/PHPOffice/PhpSpreadsheet/issues/3550) [PR #3580](https://github.com/PHPOffice/PhpSpreadsheet/pull/3580)
+- Accommodate Slash with preg_quote [PR #3582](https://github.com/PHPOffice/PhpSpreadsheet/pull/3582) [PR #3583](https://github.com/PHPOffice/PhpSpreadsheet/pull/3583) [PR #3584](https://github.com/PHPOffice/PhpSpreadsheet/pull/3584)
+- HyperlinkBase Property and Html Handling of Properties [Issue #3573](https://github.com/PHPOffice/PhpSpreadsheet/issues/3573) [PR #3589](https://github.com/PHPOffice/PhpSpreadsheet/pull/3589)
+- Improvements for Data Validation [Issue #3592](https://github.com/PHPOffice/PhpSpreadsheet/issues/3592) [Issue #3594](https://github.com/PHPOffice/PhpSpreadsheet/issues/3594) [PR #3605](https://github.com/PHPOffice/PhpSpreadsheet/pull/3605)
+
+## 1.28.0 - 2023-02-25
+
+### Added
+
+- Support for configuring a Chart Title's overlay [PR #3325](https://github.com/PHPOffice/PhpSpreadsheet/pull/3325)
+- Wizards for defining Number Format masks for Numbers, Percentages, Scientific, Currency and Accounting [PR #3334](https://github.com/PHPOffice/PhpSpreadsheet/pull/3334)
+- Support for fixed value divisor in fractional Number Format Masks [PR #3339](https://github.com/PHPOffice/PhpSpreadsheet/pull/3339)
+- Allow More Fonts/Fontnames for Exact Width Calculation [PR #3326](https://github.com/PHPOffice/PhpSpreadsheet/pull/3326) [Issue #3190](https://github.com/PHPOffice/PhpSpreadsheet/issues/3190)
+- Allow override of the Value Binder when setting a Cell value [PR #3361](https://github.com/PHPOffice/PhpSpreadsheet/pull/3361)
+
+### Changed
+
+- Improved handling for @ placeholder in Number Format Masks [PR #3344](https://github.com/PHPOffice/PhpSpreadsheet/pull/3344)
+- Improved handling for ? placeholder in Number Format Masks [PR #3394](https://github.com/PHPOffice/PhpSpreadsheet/pull/3394)
+- Improved support for locale settings and currency codes when matching formatted strings to numerics in the Calculation Engine [PR #3373](https://github.com/PHPOffice/PhpSpreadsheet/pull/3373) and [PR #3374](https://github.com/PHPOffice/PhpSpreadsheet/pull/3374)
+- Improved support for locale settings and matching in the Advanced Value Binder [PR #3376](https://github.com/PHPOffice/PhpSpreadsheet/pull/3376)
+- `toFormattedString` will now always return a string. This can affect the results of `toArray`, `namedRangeToArray`, and `rangeToArray`. [PR #3304](https://github.com/PHPOffice/PhpSpreadsheet/pull/3304)
+- Value of constants FORMAT_CURRENCY_EUR and FORMAT_CURRENCY_USD is changed. [Issue #3577](https://github.com/PHPOffice/PhpSpreadsheet/issues/3577) [PR #3377](https://github.com/PHPOffice/PhpSpreadsheet/pull/3377)
+
+### Deprecated
+
+- Rationalisation of Pre-defined Currency Format Masks [PR #3377](https://github.com/PHPOffice/PhpSpreadsheet/pull/3377)
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Calculation Engine doesn't evaluate Defined Name when default cell A1 is quote-prefixed [Issue #3335](https://github.com/PHPOffice/PhpSpreadsheet/issues/3335) [PR #3336](https://github.com/PHPOffice/PhpSpreadsheet/pull/3336)
+- XLSX Writer - Array Formulas do not include function prefix [Issue #3337](https://github.com/PHPOffice/PhpSpreadsheet/issues/3337) [PR #3338](https://github.com/PHPOffice/PhpSpreadsheet/pull/3338)
+- Permit Max Column for Row Breaks [Issue #3143](https://github.com/PHPOffice/PhpSpreadsheet/issues/3143) [PR #3345](https://github.com/PHPOffice/PhpSpreadsheet/pull/3345)
+- AutoSize Columns should allow for dropdown icon when AutoFilter is for a Table [Issue #3356](https://github.com/PHPOffice/PhpSpreadsheet/issues/3356) [PR #3358](https://github.com/PHPOffice/PhpSpreadsheet/pull/3358) and for Center Alignment of Headers [Issue #3395](https://github.com/PHPOffice/PhpSpreadsheet/issues/3395) [PR #3399](https://github.com/PHPOffice/PhpSpreadsheet/pull/3399)
+- Decimal Precision for Scientific Number Format Mask [Issue #3381](https://github.com/PHPOffice/PhpSpreadsheet/issues/3381) [PR #3382](https://github.com/PHPOffice/PhpSpreadsheet/pull/3382)
+- Xls Writer Parser Handle Boolean Literals as Function Arguments [Issue #3369](https://github.com/PHPOffice/PhpSpreadsheet/issues/3369) [PR #3391](https://github.com/PHPOffice/PhpSpreadsheet/pull/3391)
+- Conditional Formatting Improvements for Xlsx [Issue #3370](https://github.com/PHPOffice/PhpSpreadsheet/issues/3370) [Issue #3202](https://github.com/PHPOffice/PhpSpreadsheet/issues/3302) [PR #3372](https://github.com/PHPOffice/PhpSpreadsheet/pull/3372)
+- Coerce Bool to Int for Mathematical Operations on Arrays [Issue #3389](https://github.com/PHPOffice/PhpSpreadsheet/issues/3389) [Issue #3396](https://github.com/PHPOffice/PhpSpreadsheet/issues/3396) [PR #3392](https://github.com/PHPOffice/PhpSpreadsheet/pull/3392)
+
+## 1.27.1 - 2023-02-08
+
+### Added
+
+- Nothing
+
+### Changed
+
+- Nothing
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Fix Composer --dev dependency issue with dealerdirect/phpcodesniffer-composer-installer renaming their `master` branch to `main`
+
+
+## 1.27.0 - 2023-01-24
+
+### Added
+
+- Option to specify a range of columns/rows for the Row/Column `isEmpty()` methods [PR #3315](https://github.com/PHPOffice/PhpSpreadsheet/pull/3315)
+- Option for Cell Iterator to return a null value or create and return a new cell when accessing a cell that doesn't exist [PR #3314](https://github.com/PHPOffice/PhpSpreadsheet/pull/3314)
+- Support for Structured References in the Calculation Engine [PR #3261](https://github.com/PHPOffice/PhpSpreadsheet/pull/3261)
+- Limited Support for Form Controls [PR #3130](https://github.com/PHPOffice/PhpSpreadsheet/pull/3130) [Issue #2396](https://github.com/PHPOffice/PhpSpreadsheet/issues/2396) [Issue #1770](https://github.com/PHPOffice/PhpSpreadsheet/issues/1770) [Issue #2388](https://github.com/PHPOffice/PhpSpreadsheet/issues/2388) [Issue #2904](https://github.com/PHPOffice/PhpSpreadsheet/issues/2904) [Issue #2661](https://github.com/PHPOffice/PhpSpreadsheet/issues/2661)
+
+### Changed
+
+- Nothing
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Shared/JAMA is removed. [PR #3260](https://github.com/PHPOffice/PhpSpreadsheet/pull/3260)
+
+### Fixed
+
+- Namespace-Aware Code for SheetViewOptions, SheetProtection [PR #3230](https://github.com/PHPOffice/PhpSpreadsheet/pull/3230)
+- Additional Method for XIRR if Newton-Raphson Doesn't Converge [Issue #689](https://github.com/PHPOffice/PhpSpreadsheet/issues/689) [PR #3262](https://github.com/PHPOffice/PhpSpreadsheet/pull/3262)
+- Better Handling of Composite Charts [Issue #2333](https://github.com/PHPOffice/PhpSpreadsheet/issues/2333) [PR #3265](https://github.com/PHPOffice/PhpSpreadsheet/pull/3265)
+- Update Column Reference for Columns Beginning with Y and Z [Issue #3263](https://github.com/PHPOffice/PhpSpreadsheet/issues/3263) [PR #3264](https://github.com/PHPOffice/PhpSpreadsheet/pull/3264)
+- Honor Fit to 1-Page Height Html/Pdf [Issue #3266](https://github.com/PHPOffice/PhpSpreadsheet/issues/3266) [PR #3279](https://github.com/PHPOffice/PhpSpreadsheet/pull/3279)
+- AND/OR/XOR Handling of Literal Strings [PR #3287](https://github.com/PHPOffice/PhpSpreadsheet/pull/3287)
+- Xls Reader Vertical Break and Writer Page Order [Issue #3305](https://github.com/PHPOffice/PhpSpreadsheet/issues/3305) [PR #3306](https://github.com/PHPOffice/PhpSpreadsheet/pull/3306)
+
+
+## 1.26.0 - 2022-12-21
+
+### Added
+
+- Extended flag options for the Reader `load()` and Writer `save()` methods
+- Apply Row/Column limits (1048576 and XFD) in ReferenceHelper [PR #3213](https://github.com/PHPOffice/PhpSpreadsheet/pull/3213)
+- Allow the creation of In-Memory Drawings from a string of binary image data, or from a stream. [PR #3157](https://github.com/PHPOffice/PhpSpreadsheet/pull/3157)
+- Xlsx Reader support for Pivot Tables [PR #2829](https://github.com/PHPOffice/PhpSpreadsheet/pull/2829)
+- Permit Date/Time Entered on Spreadsheet to be calculated as Float [Issue #1416](https://github.com/PHPOffice/PhpSpreadsheet/issues/1416) [PR #3121](https://github.com/PHPOffice/PhpSpreadsheet/pull/3121)
+
+### Changed
+
+- Nothing
+
+### Deprecated
+
+- Direct update of Calculation::suppressFormulaErrors is replaced with setter.
+- Font public static variable defaultColumnWidths replaced with constant DEFAULT_COLUMN_WIDTHS.
+- ExcelError public static variable errorCodes replaced with constant ERROR_CODES.
+- NumberFormat constant FORMAT_DATE_YYYYMMDD2 replaced with existing identical FORMAT_DATE_YYYYMMDD.
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Fixed handling for `_xlws` prefixed functions from Office365 [Issue #3245](https://github.com/PHPOffice/PhpSpreadsheet/issues/3245) [PR #3247](https://github.com/PHPOffice/PhpSpreadsheet/pull/3247)
+- Conditionals formatting rules applied to rows/columns are removed [Issue #3184](https://github.com/PHPOffice/PhpSpreadsheet/issues/3184) [PR #3213](https://github.com/PHPOffice/PhpSpreadsheet/pull/3213)
+- Treat strings containing currency or accounting values as floats in Calculation Engine operations [Issue #3165](https://github.com/PHPOffice/PhpSpreadsheet/issues/3165) [PR #3189](https://github.com/PHPOffice/PhpSpreadsheet/pull/3189)
+- Treat strings containing percentage values as floats in Calculation Engine operations [Issue #3155](https://github.com/PHPOffice/PhpSpreadsheet/issues/3155) [PR #3156](https://github.com/PHPOffice/PhpSpreadsheet/pull/3156) and [PR #3164](https://github.com/PHPOffice/PhpSpreadsheet/pull/3164)
+- Xlsx Reader Accept Palette of Fewer than 64 Colors [Issue #3093](https://github.com/PHPOffice/PhpSpreadsheet/issues/3093) [PR #3096](https://github.com/PHPOffice/PhpSpreadsheet/pull/3096)
+- Use Locale-Independent Float Conversion for Xlsx Writer Custom Property [Issue #3095](https://github.com/PHPOffice/PhpSpreadsheet/issues/3095) [PR #3099](https://github.com/PHPOffice/PhpSpreadsheet/pull/3099)
+- Allow setting AutoFilter range on a single cell or row [Issue #3102](https://github.com/PHPOffice/PhpSpreadsheet/issues/3102) [PR #3111](https://github.com/PHPOffice/PhpSpreadsheet/pull/3111)
+- Xlsx Reader External Data Validations Flag Missing [Issue #2677](https://github.com/PHPOffice/PhpSpreadsheet/issues/2677) [PR #3078](https://github.com/PHPOffice/PhpSpreadsheet/pull/3078)
+- Reduces extra memory usage on `__destruct()` calls [PR #3092](https://github.com/PHPOffice/PhpSpreadsheet/pull/3092)
+- Additional properties for Trendlines [Issue #3011](https://github.com/PHPOffice/PhpSpreadsheet/issues/3011) [PR #3028](https://github.com/PHPOffice/PhpSpreadsheet/pull/3028)
+- Calculation suppressFormulaErrors fix [Issue #1531](https://github.com/PHPOffice/PhpSpreadsheet/issues/1531) [PR #3092](https://github.com/PHPOffice/PhpSpreadsheet/pull/3092)
+- Permit Date/Time Entered on Spreadsheet to be Calculated as Float [Issue #1416](https://github.com/PHPOffice/PhpSpreadsheet/issues/1416) [PR #3121](https://github.com/PHPOffice/PhpSpreadsheet/pull/3121)
+- Incorrect Handling of Data Validation Formula Containing Ampersand [Issue #3145](https://github.com/PHPOffice/PhpSpreadsheet/issues/3145) [PR #3146](https://github.com/PHPOffice/PhpSpreadsheet/pull/3146)
+- Xlsx Namespace Handling of Drawings, RowAndColumnAttributes, MergeCells [Issue #3138](https://github.com/PHPOffice/PhpSpreadsheet/issues/3138) [PR #3136](https://github.com/PHPOffice/PhpSpreadsheet/pull/3137)
+- Generation3 Copy With Image in Footer [Issue #3126](https://github.com/PHPOffice/PhpSpreadsheet/issues/3126) [PR #3140](https://github.com/PHPOffice/PhpSpreadsheet/pull/3140)
+- MATCH Function Problems with Int/Float Compare and Wildcards [Issue #3141](https://github.com/PHPOffice/PhpSpreadsheet/issues/3141) [PR #3142](https://github.com/PHPOffice/PhpSpreadsheet/pull/3142)
+- Fix ODS Read Filter on number-columns-repeated cell [Issue #3148](https://github.com/PHPOffice/PhpSpreadsheet/issues/3148) [PR #3149](https://github.com/PHPOffice/PhpSpreadsheet/pull/3149)
+- Problems Formatting Very Small and Very Large Numbers [Issue #3128](https://github.com/PHPOffice/PhpSpreadsheet/issues/3128) [PR #3152](https://github.com/PHPOffice/PhpSpreadsheet/pull/3152)
+- XlsxWrite preserve line styles for y-axis, not just x-axis [PR #3163](https://github.com/PHPOffice/PhpSpreadsheet/pull/3163)
+- Xlsx Namespace Handling of Drawings, RowAndColumnAttributes, MergeCells [Issue #3138](https://github.com/PHPOffice/PhpSpreadsheet/issues/3138) [PR #3137](https://github.com/PHPOffice/PhpSpreadsheet/pull/3137)
+- More Detail for Cyclic Error Messages [Issue #3169](https://github.com/PHPOffice/PhpSpreadsheet/issues/3169) [PR #3170](https://github.com/PHPOffice/PhpSpreadsheet/pull/3170)
+- Improved Documentation for Deprecations - many PRs [Issue #3162](https://github.com/PHPOffice/PhpSpreadsheet/issues/3162)
+
+
+## 1.25.2 - 2022-09-25
+
+### Added
+
+- Nothing
+
+### Changed
+
+- Nothing
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Composer dependency clash with ezyang/htmlpurifier
+
+
+## 1.25.0 - 2022-09-25
+
+### Added
+
+- Implementation of the new `TEXTBEFORE()`, `TEXTAFTER()` and `TEXTSPLIT()` Excel Functions
+- Implementation of the `ARRAYTOTEXT()` and `VALUETOTEXT()` Excel Functions
+- Support for [mitoteam/jpgraph](https://packagist.org/packages/mitoteam/jpgraph) implementation of
+ JpGraph library to render charts added.
+- Charts: Add Gradients, Transparency, Hidden Axes, Rounded Corners, Trendlines, Date Axes.
+
+### Changed
+
+- Allow variant behaviour when merging cells [Issue #3065](https://github.com/PHPOffice/PhpSpreadsheet/issues/3065)
+ - Merge methods now allow an additional `$behaviour` argument. Permitted values are:
+ - Worksheet::MERGE_CELL_CONTENT_EMPTY - Empty the content of the hidden cells (the default behaviour)
+ - Worksheet::MERGE_CELL_CONTENT_HIDE - Keep the content of the hidden cells
+ - Worksheet::MERGE_CELL_CONTENT_MERGE - Move the content of the hidden cells into the first cell
+
+### Deprecated
+
+- Axis getLineProperty deprecated in favor of getLineColorProperty.
+- Moved majorGridlines and minorGridlines from Chart to Axis. Setting either in Chart constructor or through Chart methods, or getting either using Chart methods is deprecated.
+- Chart::EXCEL_COLOR_TYPE_* copied from Properties to ChartColor; use in Properties is deprecated.
+- ChartColor::EXCEL_COLOR_TYPE_ARGB deprecated in favor of EXCEL_COLOR_TYPE_RGB ("A" component was never allowed).
+- Misspelled Properties::LINE_STYLE_DASH_SQUERE_DOT deprecated in favor of LINE_STYLE_DASH_SQUARE_DOT.
+- Clone not permitted for Spreadsheet. Spreadsheet->copy() can be used instead.
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Fix update to defined names when inserting/deleting rows/columns [Issue #3076](https://github.com/PHPOffice/PhpSpreadsheet/issues/3076) [PR #3077](https://github.com/PHPOffice/PhpSpreadsheet/pull/3077)
+- Fix DataValidation sqRef when inserting/deleting rows/columns [Issue #3056](https://github.com/PHPOffice/PhpSpreadsheet/issues/3056) [PR #3074](https://github.com/PHPOffice/PhpSpreadsheet/pull/3074)
+- Named ranges not usable as anchors in OFFSET function [Issue #3013](https://github.com/PHPOffice/PhpSpreadsheet/issues/3013)
+- Fully flatten an array [Issue #2955](https://github.com/PHPOffice/PhpSpreadsheet/issues/2955) [PR #2956](https://github.com/PHPOffice/PhpSpreadsheet/pull/2956)
+- cellExists() and getCell() methods should support UTF-8 named cells [Issue #2987](https://github.com/PHPOffice/PhpSpreadsheet/issues/2987) [PR #2988](https://github.com/PHPOffice/PhpSpreadsheet/pull/2988)
+- Spreadsheet copy fixed, clone disabled. [PR #2951](https://github.com/PHPOffice/PhpSpreadsheet/pull/2951)
+- Fix PDF problems with text rotation and paper size. [Issue #1747](https://github.com/PHPOffice/PhpSpreadsheet/issues/1747) [Issue #1713](https://github.com/PHPOffice/PhpSpreadsheet/issues/1713) [PR #2960](https://github.com/PHPOffice/PhpSpreadsheet/pull/2960)
+- Limited support for chart titles as formulas [Issue #2965](https://github.com/PHPOffice/PhpSpreadsheet/issues/2965) [Issue #749](https://github.com/PHPOffice/PhpSpreadsheet/issues/749) [PR #2971](https://github.com/PHPOffice/PhpSpreadsheet/pull/2971)
+- Add Gradients, Transparency, and Hidden Axes to Chart [Issue #2257](https://github.com/PHPOffice/PhpSpreadsheet/issues/2257) [Issue #2229](https://github.com/PHPOffice/PhpSpreadsheet/issues/2929) [Issue #2935](https://github.com/PHPOffice/PhpSpreadsheet/issues/2935) [PR #2950](https://github.com/PHPOffice/PhpSpreadsheet/pull/2950)
+- Chart Support for Rounded Corners and Trendlines [Issue #2968](https://github.com/PHPOffice/PhpSpreadsheet/issues/2968) [Issue #2815](https://github.com/PHPOffice/PhpSpreadsheet/issues/2815) [PR #2976](https://github.com/PHPOffice/PhpSpreadsheet/pull/2976)
+- Add setName Method for Chart [Issue #2991](https://github.com/PHPOffice/PhpSpreadsheet/issues/2991) [PR #3001](https://github.com/PHPOffice/PhpSpreadsheet/pull/3001)
+- Eliminate partial dependency on php-intl in StringHelper [Issue #2982](https://github.com/PHPOffice/PhpSpreadsheet/issues/2982) [PR #2994](https://github.com/PHPOffice/PhpSpreadsheet/pull/2994)
+- Minor changes for Pdf [Issue #2999](https://github.com/PHPOffice/PhpSpreadsheet/issues/2999) [PR #3002](https://github.com/PHPOffice/PhpSpreadsheet/pull/3002) [PR #3006](https://github.com/PHPOffice/PhpSpreadsheet/pull/3006)
+- Html/Pdf Do net set background color for cells using (default) nofill [PR #3016](https://github.com/PHPOffice/PhpSpreadsheet/pull/3016)
+- Add support for Date Axis to Chart [Issue #2967](https://github.com/PHPOffice/PhpSpreadsheet/issues/2967) [PR #3018](https://github.com/PHPOffice/PhpSpreadsheet/pull/3018)
+- Reconcile Differences Between Css and Excel for Cell Alignment [PR #3048](https://github.com/PHPOffice/PhpSpreadsheet/pull/3048)
+- R1C1 Format Internationalization and Better Support for Relative Offsets [Issue #1704](https://github.com/PHPOffice/PhpSpreadsheet/issues/1704) [PR #3052](https://github.com/PHPOffice/PhpSpreadsheet/pull/3052)
+- Minor Fix for Percentage Formatting [Issue #1929](https://github.com/PHPOffice/PhpSpreadsheet/issues/1929) [PR #3053](https://github.com/PHPOffice/PhpSpreadsheet/pull/3053)
+
+## 1.24.1 - 2022-07-18
+
+### Added
+
+- Support for SimpleCache Interface versions 1.0, 2.0 and 3.0
+- Add Chart Axis Option textRotation [Issue #2705](https://github.com/PHPOffice/PhpSpreadsheet/issues/2705) [PR #2940](https://github.com/PHPOffice/PhpSpreadsheet/pull/2940)
+
+### Changed
+
+- Nothing
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Fix Encoding issue with Html reader (PHP 8.2 deprecation for mb_convert_encoding) [Issue #2942](https://github.com/PHPOffice/PhpSpreadsheet/issues/2942) [PR #2943](https://github.com/PHPOffice/PhpSpreadsheet/pull/2943)
+- Additional Chart fixes
+ - Pie chart with part separated unwantedly [Issue #2506](https://github.com/PHPOffice/PhpSpreadsheet/issues/2506) [PR #2928](https://github.com/PHPOffice/PhpSpreadsheet/pull/2928)
+ - Chart styling is lost on simple load / save process [Issue #1797](https://github.com/PHPOffice/PhpSpreadsheet/issues/1797) [Issue #2077](https://github.com/PHPOffice/PhpSpreadsheet/issues/2077) [PR #2930](https://github.com/PHPOffice/PhpSpreadsheet/pull/2930)
+ - Can't create contour chart (surface 2d) [Issue #2931](https://github.com/PHPOffice/PhpSpreadsheet/issues/2931) [PR #2933](https://github.com/PHPOffice/PhpSpreadsheet/pull/2933)
+- VLOOKUP Breaks When Array Contains Null Cells [Issue #2934](https://github.com/PHPOffice/PhpSpreadsheet/issues/2934) [PR #2939](https://github.com/PHPOffice/PhpSpreadsheet/pull/2939)
+
+## 1.24.0 - 2022-07-09
+
+Note that this will be the last 1.x branch release before the 2.x release. We will maintain both branches in parallel for a time; but users are requested to update to version 2.0 once that is fully available.
+
+### Added
+
+- Added `removeComment()` method for Worksheet [PR #2875](https://github.com/PHPOffice/PhpSpreadsheet/pull/2875/files)
+- Add point size option for scatter charts [Issue #2298](https://github.com/PHPOffice/PhpSpreadsheet/issues/2298) [PR #2801](https://github.com/PHPOffice/PhpSpreadsheet/pull/2801)
+- Basic support for Xlsx reading/writing Chart Sheets [PR #2830](https://github.com/PHPOffice/PhpSpreadsheet/pull/2830)
+
+ Note that a ChartSheet is still only written as a normal Worksheet containing a single chart, not as an actual ChartSheet.
+
+- Added Worksheet visibility in Ods Reader [PR #2851](https://github.com/PHPOffice/PhpSpreadsheet/pull/2851) and Gnumeric Reader [PR #2853](https://github.com/PHPOffice/PhpSpreadsheet/pull/2853)
+- Added Worksheet visibility in Ods Writer [PR #2850](https://github.com/PHPOffice/PhpSpreadsheet/pull/2850)
+- Allow Csv Reader to treat string as contents of file [Issue #1285](https://github.com/PHPOffice/PhpSpreadsheet/issues/1285) [PR #2792](https://github.com/PHPOffice/PhpSpreadsheet/pull/2792)
+- Allow Csv Reader to store null string rather than leave cell empty [Issue #2840](https://github.com/PHPOffice/PhpSpreadsheet/issues/2840) [PR #2842](https://github.com/PHPOffice/PhpSpreadsheet/pull/2842)
+- Provide new Worksheet methods to identify if a row or column is "empty", making allowance for different definitions of "empty":
+ - Treat rows/columns containing no cell records as empty (default)
+ - Treat cells containing a null value as empty
+ - Treat cells containing an empty string as empty
+
+### Changed
+
+- Modify `rangeBoundaries()`, `rangeDimension()` and `getRangeBoundaries()` Coordinate methods to work with row/column ranges as well as with cell ranges and cells [PR #2926](https://github.com/PHPOffice/PhpSpreadsheet/pull/2926)
+- Better enforcement of value modification to match specified datatype when using `setValueExplicit()`
+- Relax validation of merge cells to allow merge for a single cell reference [Issue #2776](https://github.com/PHPOffice/PhpSpreadsheet/issues/2776)
+- Memory and speed improvements, particularly for the Cell Collection, and the Writers.
+
+ See [the Discussion section on github](https://github.com/PHPOffice/PhpSpreadsheet/discussions/2821) for details of performance across versions
+- Improved performance for removing rows/columns from a worksheet
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Xls Reader resolving absolute named ranges to relative ranges [Issue #2826](https://github.com/PHPOffice/PhpSpreadsheet/issues/2826) [PR #2827](https://github.com/PHPOffice/PhpSpreadsheet/pull/2827)
+- Null value handling in the Excel Math/Trig PRODUCT() function [Issue #2833](https://github.com/PHPOffice/PhpSpreadsheet/issues/2833) [PR #2834](https://github.com/PHPOffice/PhpSpreadsheet/pull/2834)
+- Invalid Print Area defined in Xlsx corrupts internal storage of print area [Issue #2848](https://github.com/PHPOffice/PhpSpreadsheet/issues/2848) [PR #2849](https://github.com/PHPOffice/PhpSpreadsheet/pull/2849)
+- Time interval formatting [Issue #2768](https://github.com/PHPOffice/PhpSpreadsheet/issues/2768) [PR #2772](https://github.com/PHPOffice/PhpSpreadsheet/pull/2772)
+- Copy from Xls(x) to Html/Pdf loses drawings [PR #2788](https://github.com/PHPOffice/PhpSpreadsheet/pull/2788)
+- Html Reader converting cell containing 0 to null string [Issue #2810](https://github.com/PHPOffice/PhpSpreadsheet/issues/2810) [PR #2813](https://github.com/PHPOffice/PhpSpreadsheet/pull/2813)
+- Many fixes for Charts, especially, but not limited to, Scatter, Bubble, and Surface charts. [Issue #2762](https://github.com/PHPOffice/PhpSpreadsheet/issues/2762) [Issue #2299](https://github.com/PHPOffice/PhpSpreadsheet/issues/2299) [Issue #2700](https://github.com/PHPOffice/PhpSpreadsheet/issues/2700) [Issue #2817](https://github.com/PHPOffice/PhpSpreadsheet/issues/2817) [Issue #2763](https://github.com/PHPOffice/PhpSpreadsheet/issues/2763) [Issue #2219](https://github.com/PHPOffice/PhpSpreadsheet/issues/2219) [Issue #2863](https://github.com/PHPOffice/PhpSpreadsheet/issues/2863) [PR #2828](https://github.com/PHPOffice/PhpSpreadsheet/pull/2828) [PR #2841](https://github.com/PHPOffice/PhpSpreadsheet/pull/2841) [PR #2846](https://github.com/PHPOffice/PhpSpreadsheet/pull/2846) [PR #2852](https://github.com/PHPOffice/PhpSpreadsheet/pull/2852) [PR #2856](https://github.com/PHPOffice/PhpSpreadsheet/pull/2856) [PR #2865](https://github.com/PHPOffice/PhpSpreadsheet/pull/2865) [PR #2872](https://github.com/PHPOffice/PhpSpreadsheet/pull/2872) [PR #2879](https://github.com/PHPOffice/PhpSpreadsheet/pull/2879) [PR #2898](https://github.com/PHPOffice/PhpSpreadsheet/pull/2898) [PR #2906](https://github.com/PHPOffice/PhpSpreadsheet/pull/2906) [PR #2922](https://github.com/PHPOffice/PhpSpreadsheet/pull/2922) [PR #2923](https://github.com/PHPOffice/PhpSpreadsheet/pull/2923)
+- Adjust both coordinates for two-cell anchors when rows/columns are added/deleted. [Issue #2908](https://github.com/PHPOffice/PhpSpreadsheet/issues/2908) [PR #2909](https://github.com/PHPOffice/PhpSpreadsheet/pull/2909)
+- Keep calculated string results below 32K. [PR #2921](https://github.com/PHPOffice/PhpSpreadsheet/pull/2921)
+- Filter out illegal Unicode char values FFFE/FFFF. [Issue #2897](https://github.com/PHPOffice/PhpSpreadsheet/issues/2897) [PR #2910](https://github.com/PHPOffice/PhpSpreadsheet/pull/2910)
+- Better handling of REF errors and propagation of all errors in Calculation engine. [PR #2902](https://github.com/PHPOffice/PhpSpreadsheet/pull/2902)
+- Calculating Engine regexp for Column/Row references when there are multiple quoted worksheet references in the formula [Issue #2874](https://github.com/PHPOffice/PhpSpreadsheet/issues/2874) [PR #2899](https://github.com/PHPOffice/PhpSpreadsheet/pull/2899)
+
+## 1.23.0 - 2022-04-24
+
+### Added
+
+- Ods Writer support for Freeze Pane [Issue #2013](https://github.com/PHPOffice/PhpSpreadsheet/issues/2013) [PR #2755](https://github.com/PHPOffice/PhpSpreadsheet/pull/2755)
+- Ods Writer support for setting column width/row height (including the use of AutoSize) [Issue #2346](https://github.com/PHPOffice/PhpSpreadsheet/issues/2346) [PR #2753](https://github.com/PHPOffice/PhpSpreadsheet/pull/2753)
+- Introduced CellAddress, CellRange, RowRange and ColumnRange value objects that can be used as an alternative to a string value (e.g. `'C5'`, `'B2:D4'`, `'2:2'` or `'B:C'`) in appropriate contexts.
+- Implementation of the FILTER(), SORT(), SORTBY() and UNIQUE() Lookup/Reference (array) functions.
+- Implementation of the ISREF() Information function.
+- Added support for reading "formatted" numeric values from Csv files; although default behaviour of reading these values as strings is preserved.
+
+ (i.e a value of "12,345.67" can be read as numeric `12345.67`, not simply as a string `"12,345.67"`, if the `castFormattedNumberToNumeric()` setting is enabled.
+
+ This functionality is locale-aware, using the server's locale settings to identify the thousands and decimal separators.
+
+- Support for two cell anchor drawing of images. [#2532](https://github.com/PHPOffice/PhpSpreadsheet/pull/2532) [#2674](https://github.com/PHPOffice/PhpSpreadsheet/pull/2674)
+- Limited support for Xls Reader to handle Conditional Formatting:
+
+ Ranges and Rules are read, but style is currently limited to font size, weight and color; and to fill style and color.
+
+- Add ability to suppress Mac line ending check for CSV [#2623](https://github.com/PHPOffice/PhpSpreadsheet/pull/2623)
+- Initial support for creating and writing Tables (Xlsx Writer only) [PR #2671](https://github.com/PHPOffice/PhpSpreadsheet/pull/2671)
+
+ See `/samples/Table` for examples of use.
+
+ Note that PreCalculateFormulas needs to be disabled when saving spreadsheets containing tables with formulae (totals or column formulae).
+
+### Changed
+
+- Gnumeric Reader now loads number formatting for cells.
+- Gnumeric Reader now correctly identifies selected worksheet and selected cells in a worksheet.
+- Some Refactoring of the Ods Reader, moving all formula and address translation from Ods to Excel into a separate class to eliminate code duplication and ensure consistency.
+- Make Boolean Conversion in Csv Reader locale-aware when using the String Value Binder.
+
+ This is determined by the Calculation Engine locale setting.
+
+ (i.e. `"Vrai"` wil be converted to a boolean `true` if the Locale is set to `fr`.)
+- Allow `psr/simple-cache` 2.x
+
+### Deprecated
+
+- All Excel Function implementations in `Calculation\Functions` (including the Error functions) have been moved to dedicated classes for groups of related functions. See the docblocks against all the deprecated methods for details of the new methods to call instead. At some point, these old classes will be deleted.
+- Worksheet methods that reference cells "byColumnandRow". All such methods have an equivalent that references the cell by its address (e.g. '`E3'` rather than `5, 3`).
+
+ These functions now accept either a cell address string (`'E3')` or an array with columnId and rowId (`[5, 3]`) or a new `CellAddress` object as their `cellAddress`/`coordinate` argument.
+ This includes the methods:
+ - `setCellValueByColumnAndRow()` use the equivalent `setCellValue()`
+ - `setCellValueExplicitByColumnAndRow()` use the equivalent `setCellValueExplicit()`
+ - `getCellByColumnAndRow()` use the equivalent `getCell()`
+ - `cellExistsByColumnAndRow()` use the equivalent `cellExists()`
+ - `getStyleByColumnAndRow()` use the equivalent `getStyle()`
+ - `setBreakByColumnAndRow()` use the equivalent `setBreak()`
+ - `mergeCellsByColumnAndRow()` use the equivalent `mergeCells()`
+ - `unmergeCellsByColumnAndRow()` use the equivalent `unmergeCells()`
+ - `protectCellsByColumnAndRow()` use the equivalent `protectCells()`
+ - `unprotectCellsByColumnAndRow()` use the equivalent `unprotectCells()`
+ - `setAutoFilterByColumnAndRow()` use the equivalent `setAutoFilter()`
+ - `freezePaneByColumnAndRow()` use the equivalent `freezePane()`
+ - `getCommentByColumnAndRow()` use the equivalent `getComment()`
+ - `setSelectedCellByColumnAndRow()` use the equivalent `setSelectedCells()`
+
+ This change provides more consistency in the methods (not every "by cell address" method has an equivalent "byColumnAndRow" method);
+ and the "by cell address" methods often provide more flexibility, such as allowing a range of cells, or referencing them by passing the defined name of a named range as the argument.
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Make allowance for the AutoFilter dropdown icon in the first row of an Autofilter range when using Autosize columns. [Issue #2413](https://github.com/PHPOffice/PhpSpreadsheet/issues/2413) [PR #2754](https://github.com/PHPOffice/PhpSpreadsheet/pull/2754)
+- Support for "chained" ranges (e.g. `A5:C10:C20:F1`) in the Calculation Engine; and also support for using named ranges with the Range operator (e.g. `NamedRange1:NamedRange2`) [Issue #2730](https://github.com/PHPOffice/PhpSpreadsheet/issues/2730) [PR #2746](https://github.com/PHPOffice/PhpSpreadsheet/pull/2746)
+- Update Conditional Formatting ranges and rule conditions when inserting/deleting rows/columns [Issue #2678](https://github.com/PHPOffice/PhpSpreadsheet/issues/2678) [PR #2689](https://github.com/PHPOffice/PhpSpreadsheet/pull/2689)
+- Allow `INDIRECT()` to accept row/column ranges as well as cell ranges [PR #2687](https://github.com/PHPOffice/PhpSpreadsheet/pull/2687)
+- Fix bug when deleting cells with hyperlinks, where the hyperlink was then being "inherited" by whatever cell moved to that cell address.
+- Fix bug in Conditional Formatting in the Xls Writer that resulted in a broken file when there were multiple conditional ranges in a worksheet.
+- Fix Conditional Formatting in the Xls Writer to work with rules that contain string literals, cell references and formulae.
+- Fix for setting Active Sheet to the first loaded worksheet when bookViews element isn't defined [Issue #2666](https://github.com/PHPOffice/PhpSpreadsheet/issues/2666) [PR #2669](https://github.com/PHPOffice/PhpSpreadsheet/pull/2669)
+- Fixed behaviour of XLSX font style vertical align settings [PR #2619](https://github.com/PHPOffice/PhpSpreadsheet/pull/2619)
+- Resolved formula translations to handle separators (row and column) for array functions as well as for function argument separators; and cleanly handle nesting levels.
+
+ Note that this method is used when translating Excel functions between `en_us` and other locale languages, as well as when converting formulae between different spreadsheet formats (e.g. Ods to Excel).
+
+ Nor is this a perfect solution, as there may still be issues when function calls have array arguments that themselves contain function calls; but it's still better than the current logic.
+- Fix for escaping double quotes within a formula [Issue #1971](https://github.com/PHPOffice/PhpSpreadsheet/issues/1971) [PR #2651](https://github.com/PHPOffice/PhpSpreadsheet/pull/2651)
+- Change open mode for output from `wb+` to `wb` [Issue #2372](https://github.com/PHPOffice/PhpSpreadsheet/issues/2372) [PR #2657](https://github.com/PHPOffice/PhpSpreadsheet/pull/2657)
+- Use color palette if supplied [Issue #2499](https://github.com/PHPOffice/PhpSpreadsheet/issues/2499) [PR #2595](https://github.com/PHPOffice/PhpSpreadsheet/pull/2595)
+- Xls reader treat drawing offsets as int rather than float [PR #2648](https://github.com/PHPOffice/PhpSpreadsheet/pull/2648)
+- Handle booleans in conditional styles properly [PR #2654](https://github.com/PHPOffice/PhpSpreadsheet/pull/2654)
+- Fix for reading files in the root directory of a ZipFile, which should not be prefixed by relative paths ("./") as dirname($filename) does by default.
+- Fix invalid style of cells in empty columns with columnDimensions and rows with rowDimensions in added external sheet. [PR #2739](https://github.com/PHPOffice/PhpSpreadsheet/pull/2739)
+- Time Interval Formatting [Issue #2768](https://github.com/PHPOffice/PhpSpreadsheet/issues/2768) [PR #2772](https://github.com/PHPOffice/PhpSpreadsheet/pull/2772)
+
+## 1.22.0 - 2022-02-18
+
+### Added
+
+- Namespacing phase 2 - styles.
+[PR #2471](https://github.com/PHPOffice/PhpSpreadsheet/pull/2471)
+
+- Improved support for passing of array arguments to Excel function implementations to return array results (where appropriate). [Issue #2551](https://github.com/PHPOffice/PhpSpreadsheet/issues/2551)
+
+ This is the first stage in an ongoing process of adding array support to all appropriate function implementations,
+- Support for the Excel365 Math/Trig SEQUENCE() function [PR #2536](https://github.com/PHPOffice/PhpSpreadsheet/pull/2536)
+- Support for the Excel365 Math/Trig RANDARRAY() function [PR #2540](https://github.com/PHPOffice/PhpSpreadsheet/pull/2540)
+
+ Note that the Spill Operator is not yet supported in the Calculation Engine; but this can still be useful for defining array constants.
+- Improved support for Conditional Formatting Rules [PR #2491](https://github.com/PHPOffice/PhpSpreadsheet/pull/2491)
+ - Provide support for a wider range of Conditional Formatting Rules for Xlsx Reader/Writer:
+ - Cells Containing (cellIs)
+ - Specific Text (containing, notContaining, beginsWith, endsWith)
+ - Dates Occurring (all supported timePeriods)
+ - Blanks/NoBlanks
+ - Errors/NoErrors
+ - Duplicates/Unique
+ - Expression
+ - Provision of CF Wizards (for all the above listed rule types) to help create/modify CF Rules without having to manage all the combinations of types/operators, and the complexities of formula expressions, or the text/timePeriod attributes.
+
+ See [documentation](https://phpspreadsheet.readthedocs.io/en/latest/topics/conditional-formatting/) for details
+
+ - Full support of the above CF Rules for the Xlsx Reader and Writer; even when the file being loaded has CF rules listed in the `` element for the worksheet rather than the `` element.
+ - Provision of a CellMatcher to identify if rules are matched for a cell, and which matching style will be applied.
+ - Improved documentation and examples, covering all supported CF rule types.
+ - Add support for one digit decimals (FORMAT_NUMBER_0, FORMAT_PERCENTAGE_0). [PR #2525](https://github.com/PHPOffice/PhpSpreadsheet/pull/2525)
+ - Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae" [#2562](https://github.com/PHPOffice/PhpSpreadsheet/issues/2562)
+ - Enable most of the Date/Time functions to accept array arguments [#2573](https://github.com/PHPOffice/PhpSpreadsheet/issues/2573)
+ - Array ready functions - Text, Math/Trig, Statistical, Engineering and Logical [#2580](https://github.com/PHPOffice/PhpSpreadsheet/issues/2580)
+
+### Changed
+
+- Additional Russian translations for Excel Functions (courtesy of aleks-samurai).
+- Improved code coverage for NumberFormat. [PR #2556](https://github.com/PHPOffice/PhpSpreadsheet/pull/2556)
+- Extract some methods from the Calculation Engine into dedicated classes [#2537](https://github.com/PHPOffice/PhpSpreadsheet/issues/2537)
+- Eliminate calls to `flattenSingleValue()` that are no longer required when we're checking for array values as arguments [#2590](https://github.com/PHPOffice/PhpSpreadsheet/issues/2590)
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Fixed `ReferenceHelper@insertNewBefore` behavior when removing column before last column with null value [PR #2541](https://github.com/PHPOffice/PhpSpreadsheet/pull/2541)
+- Fix bug with `DOLLARDE()` and `DOLLARFR()` functions when the dollar value is negative [Issue #2578](https://github.com/PHPOffice/PhpSpreadsheet/issues/2578) [PR #2579](https://github.com/PHPOffice/PhpSpreadsheet/pull/2579)
+- Fix partial function name matching when translating formulae from Russian to English [Issue #2533](https://github.com/PHPOffice/PhpSpreadsheet/issues/2533) [PR #2534](https://github.com/PHPOffice/PhpSpreadsheet/pull/2534)
+- Various bugs related to Conditional Formatting Rules, and errors in the Xlsx Writer for Conditional Formatting [PR #2491](https://github.com/PHPOffice/PhpSpreadsheet/pull/2491)
+- Xlsx Reader merge range fixes. [Issue #2501](https://github.com/PHPOffice/PhpSpreadsheet/issues/2501) [PR #2504](https://github.com/PHPOffice/PhpSpreadsheet/pull/2504)
+- Handle explicit "date" type for Cell in Xlsx Reader. [Issue #2373](https://github.com/PHPOffice/PhpSpreadsheet/issues/2373) [PR #2485](https://github.com/PHPOffice/PhpSpreadsheet/pull/2485)
+- Recalibrate Row/Column Dimensions after removeRow/Column. [Issue #2442](https://github.com/PHPOffice/PhpSpreadsheet/issues/2442) [PR #2486](https://github.com/PHPOffice/PhpSpreadsheet/pull/2486)
+- Refinement for XIRR. [Issue #2469](https://github.com/PHPOffice/PhpSpreadsheet/issues/2469) [PR #2487](https://github.com/PHPOffice/PhpSpreadsheet/pull/2487)
+- Xlsx Reader handle cell with non-null explicit type but null value. [Issue #2488](https://github.com/PHPOffice/PhpSpreadsheet/issues/2488) [PR #2489](https://github.com/PHPOffice/PhpSpreadsheet/pull/2489)
+- Xlsx Reader fix height and width for oneCellAnchorDrawings. [PR #2492](https://github.com/PHPOffice/PhpSpreadsheet/pull/2492)
+- Fix rounding error in NumberFormat::NUMBER_PERCENTAGE, NumberFormat::NUMBER_PERCENTAGE_00. [PR #2555](https://github.com/PHPOffice/PhpSpreadsheet/pull/2555)
+- Don't treat thumbnail file as xml. [Issue #2516](https://github.com/PHPOffice/PhpSpreadsheet/issues/2516) [PR #2517](https://github.com/PHPOffice/PhpSpreadsheet/pull/2517)
+- Eliminating Xlsx Reader warning when no sz tag for RichText. [Issue #2542](https://github.com/PHPOffice/PhpSpreadsheet/issues/2542) [PR #2550](https://github.com/PHPOffice/PhpSpreadsheet/pull/2550)
+- Fix Xlsx/Xls Writer handling of inline strings. [Issue #353](https://github.com/PHPOffice/PhpSpreadsheet/issues/353) [PR #2569](https://github.com/PHPOffice/PhpSpreadsheet/pull/2569)
+- Richtext colors were not being read correctly after namespace change [#2458](https://github.com/PHPOffice/PhpSpreadsheet/issues/2458)
+- Fix discrepancy between the way markdown tables are rendered in ReadTheDocs and in PHPStorm [#2520](https://github.com/PHPOffice/PhpSpreadsheet/issues/2520)
+- Update Russian Functions Text File [#2557](https://github.com/PHPOffice/PhpSpreadsheet/issues/2557)
+- Fix documentation, instantiation example [#2564](https://github.com/PHPOffice/PhpSpreadsheet/issues/2564)
+
+
+## 1.21.0 - 2022-01-06
+
+### Added
+
+- Ability to add a picture to the background of the comment. Supports four image formats: png, jpeg, gif, bmp. New `Comment::setSizeAsBackgroundImage()` to change the size of a comment to the size of a background image. [Issue #1547](https://github.com/PHPOffice/PhpSpreadsheet/issues/1547) [PR #2422](https://github.com/PHPOffice/PhpSpreadsheet/pull/2422)
+- Ability to set default paper size and orientation [PR #2410](https://github.com/PHPOffice/PhpSpreadsheet/pull/2410)
+- Ability to extend AutoFilter to Maximum Row [PR #2414](https://github.com/PHPOffice/PhpSpreadsheet/pull/2414)
+
+### Changed
+
+- Xlsx Writer will evaluate AutoFilter only if it is as yet unevaluated, or has changed since it was last evaluated [PR #2414](https://github.com/PHPOffice/PhpSpreadsheet/pull/2414)
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Rounding in `NumberFormatter` [Issue #2385](https://github.com/PHPOffice/PhpSpreadsheet/issues/2385) [PR #2399](https://github.com/PHPOffice/PhpSpreadsheet/pull/2399)
+- Support for themes [Issue #2075](https://github.com/PHPOffice/PhpSpreadsheet/issues/2075) [Issue #2387](https://github.com/PHPOffice/PhpSpreadsheet/issues/2387) [PR #2403](https://github.com/PHPOffice/PhpSpreadsheet/pull/2403)
+- Read spreadsheet with `#` in name [Issue #2405](https://github.com/PHPOffice/PhpSpreadsheet/issues/2405) [PR #2409](https://github.com/PHPOffice/PhpSpreadsheet/pull/2409)
+- Improve PDF support for page size and orientation [Issue #1691](https://github.com/PHPOffice/PhpSpreadsheet/issues/1691) [PR #2410](https://github.com/PHPOffice/PhpSpreadsheet/pull/2410)
+- Wildcard handling issues in text match [Issue #2430](https://github.com/PHPOffice/PhpSpreadsheet/issues/2430) [PR #2431](https://github.com/PHPOffice/PhpSpreadsheet/pull/2431)
+- Respect DataType in `insertNewBefore` [PR #2433](https://github.com/PHPOffice/PhpSpreadsheet/pull/2433)
+- Handle rows explicitly hidden after AutoFilter [Issue #1641](https://github.com/PHPOffice/PhpSpreadsheet/issues/1641) [PR #2414](https://github.com/PHPOffice/PhpSpreadsheet/pull/2414)
+- Special characters in image file name [Issue #1470](https://github.com/PHPOffice/PhpSpreadsheet/issues/1470) [Issue #2415](https://github.com/PHPOffice/PhpSpreadsheet/issues/2415) [PR #2416](https://github.com/PHPOffice/PhpSpreadsheet/pull/2416)
+- Mpdf with very many styles [Issue #2432](https://github.com/PHPOffice/PhpSpreadsheet/issues/2432) [PR #2434](https://github.com/PHPOffice/PhpSpreadsheet/pull/2434)
+- Name clashes between parsed and unparsed drawings [Issue #1767](https://github.com/PHPOffice/PhpSpreadsheet/issues/1767) [Issue #2396](https://github.com/PHPOffice/PhpSpreadsheet/issues/2396) [PR #2423](https://github.com/PHPOffice/PhpSpreadsheet/pull/2423)
+- Fill pattern start and end colors [Issue #2441](https://github.com/PHPOffice/PhpSpreadsheet/issues/2441) [PR #2444](https://github.com/PHPOffice/PhpSpreadsheet/pull/2444)
+- General style specified in wrong case [Issue #2450](https://github.com/PHPOffice/PhpSpreadsheet/issues/2450) [PR #2451](https://github.com/PHPOffice/PhpSpreadsheet/pull/2451)
+- Null passed to `AutoFilter::setRange()` [Issue #2281](https://github.com/PHPOffice/PhpSpreadsheet/issues/2281) [PR #2454](https://github.com/PHPOffice/PhpSpreadsheet/pull/2454)
+- Another undefined index in Xls reader (#2470) [Issue #2463](https://github.com/PHPOffice/PhpSpreadsheet/issues/2463) [PR #2470](https://github.com/PHPOffice/PhpSpreadsheet/pull/2470)
+- Allow single-cell checks on conditional styles, even when the style is configured for a range of cells (#) [PR #2483](https://github.com/PHPOffice/PhpSpreadsheet/pull/2483)
+
+## 1.20.0 - 2021-11-23
+
+### Added
+
+- Xlsx Writer Support for WMF Files [#2339](https://github.com/PHPOffice/PhpSpreadsheet/issues/2339)
+- Use standard temporary file for internal use of HTMLPurifier [#2383](https://github.com/PHPOffice/PhpSpreadsheet/issues/2383)
+
+### Changed
+
+- Drop support for PHP 7.2, according to https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
+- Use native typing for objects that were already documented as such
+
+### Deprecated
+
+- Nothing
+
+### Removed
+
+- Nothing
+
+### Fixed
+
+- Fixed null conversation for strToUpper [#2292](https://github.com/PHPOffice/PhpSpreadsheet/issues/2292)
+- Fixed Trying to access array offset on value of type null (Xls Reader) [#2315](https://github.com/PHPOffice/PhpSpreadsheet/issues/2315)
+- Don't corrupt XLSX files containing data validation [#2377](https://github.com/PHPOffice/PhpSpreadsheet/issues/2377)
+- Non-fixed cells were not updated if shared formula has a fixed cell [#2354](https://github.com/PHPOffice/PhpSpreadsheet/issues/2354)
+- Declare key of generic ArrayObject
+- CSV reader better support for boolean values [#2374](https://github.com/PHPOffice/PhpSpreadsheet/pull/2374)
+- Some ZIP file could not be read [#2376](https://github.com/PHPOffice/PhpSpreadsheet/pull/2376)
+- Fix regression were hyperlinks could not be read [#2391](https://github.com/PHPOffice/PhpSpreadsheet/pull/2391)
+- AutoFilter Improvements [#2393](https://github.com/PHPOffice/PhpSpreadsheet/pull/2393)
+- Don't corrupt file when using chart with fill color [#589](https://github.com/PHPOffice/PhpSpreadsheet/pull/589)
+- Restore imperfect array formula values in xlsx writer [#2343](https://github.com/PHPOffice/PhpSpreadsheet/pull/2343)
+- Restore explicit list of changes to PHPExcel migration document [#1546](https://github.com/PHPOffice/PhpSpreadsheet/issues/1546)
+
+## 1.19.0 - 2021-10-31
+
+### Added
+
+- Ability to set style on named range, and validate input to setSelectedCells [Issue #2279](https://github.com/PHPOffice/PhpSpreadsheet/issues/2279) [PR #2280](https://github.com/PHPOffice/PhpSpreadsheet/pull/2280)
+- Process comments in Sylk file [Issue #2276](https://github.com/PHPOffice/PhpSpreadsheet/issues/2276) [PR #2277](https://github.com/PHPOffice/PhpSpreadsheet/pull/2277)
+- Addition of Custom Properties to Ods Writer, and 32-bit-safe timestamps for Document Properties [PR #2113](https://github.com/PHPOffice/PhpSpreadsheet/pull/2113)
+- Added callback to CSV reader to set user-specified defaults for various properties (especially for escape which has a poor PHP-inherited default of backslash which does not correspond with Excel) [PR #2103](https://github.com/PHPOffice/PhpSpreadsheet/pull/2103)
+- Phase 1 of better namespace handling for Xlsx, resolving many open issues [PR #2173](https://github.com/PHPOffice/PhpSpreadsheet/pull/2173) [PR #2204](https://github.com/PHPOffice/PhpSpreadsheet/pull/2204) [PR #2303](https://github.com/PHPOffice/PhpSpreadsheet/pull/2303)
+- Add ability to extract images if source is a URL [Issue #1997](https://github.com/PHPOffice/PhpSpreadsheet/issues/1997) [PR #2072](https://github.com/PHPOffice/PhpSpreadsheet/pull/2072)
+- Support for passing flags in the Reader `load()` and Writer `save()`methods, and through the IOFactory, to set behaviours [PR #2136](https://github.com/PHPOffice/PhpSpreadsheet/pull/2136)
+ - See [documentation](https://phpspreadsheet.readthedocs.io/en/latest/topics/reading-and-writing-to-file/#readerwriter-flags) for details
+- More flexibility in the StringValueBinder to determine what datatypes should be treated as strings [PR #2138](https://github.com/PHPOffice/PhpSpreadsheet/pull/2138)
+- Helper class for conversion between css size Units of measure (`px`, `pt`, `pc`, `in`, `cm`, `mm`) [PR #2152](https://github.com/PHPOffice/PhpSpreadsheet/issues/2145)
+- Allow Row height and Column Width to be set using different units of measure (`px`, `pt`, `pc`, `in`, `cm`, `mm`), rather than only in points or MS Excel column width units [PR #2152](https://github.com/PHPOffice/PhpSpreadsheet/issues/2145)
+- Ability to stream to an Amazon S3 bucket [Issue #2249](https://github.com/PHPOffice/PhpSpreadsheet/issues/2249)
+- Provided a Size Helper class to validate size values (pt, px, em) [PR #1694](https://github.com/PHPOffice/PhpSpreadsheet/pull/1694)
+
+### Changed
+
+- Nothing.
+
+### Deprecated
+
+- PHP 8.1 will deprecate auto_detect_line_endings. As a result of this change, Csv Reader using some release after PHP8.1 will no longer be able to handle a Csv with Mac line endings.
+
+### Removed
+
+- Nothing.
+
+### Fixed
+
+- Unexpected format in Xlsx Timestamp [Issue #2331](https://github.com/PHPOffice/PhpSpreadsheet/issues/2331) [PR #2332](https://github.com/PHPOffice/PhpSpreadsheet/pull/2332)
+- Corrections for HLOOKUP [Issue #2123](https://github.com/PHPOffice/PhpSpreadsheet/issues/2123) [PR #2330](https://github.com/PHPOffice/PhpSpreadsheet/pull/2330)
+- Corrections for Xlsx Read Comments [Issue #2316](https://github.com/PHPOffice/PhpSpreadsheet/issues/2316) [PR #2329](https://github.com/PHPOffice/PhpSpreadsheet/pull/2329)
+- Lowercase Calibri font names [Issue #2273](https://github.com/PHPOffice/PhpSpreadsheet/issues/2273) [PR #2325](https://github.com/PHPOffice/PhpSpreadsheet/pull/2325)
+- isFormula Referencing Sheet with Space in Title [Issue #2304](https://github.com/PHPOffice/PhpSpreadsheet/issues/2304) [PR #2306](https://github.com/PHPOffice/PhpSpreadsheet/pull/2306)
+- Xls Reader Fatal Error due to Undefined Offset [Issue #1114](https://github.com/PHPOffice/PhpSpreadsheet/issues/1114) [PR #2308](https://github.com/PHPOffice/PhpSpreadsheet/pull/2308)
+- Permit Csv Reader delimiter to be set to null [Issue #2287](https://github.com/PHPOffice/PhpSpreadsheet/issues/2287) [PR #2288](https://github.com/PHPOffice/PhpSpreadsheet/pull/2288)
+- Csv Reader did not handle booleans correctly [PR #2232](https://github.com/PHPOffice/PhpSpreadsheet/pull/2232)
+- Problems when deleting sheet with local defined name [Issue #2266](https://github.com/PHPOffice/PhpSpreadsheet/issues/2266) [PR #2284](https://github.com/PHPOffice/PhpSpreadsheet/pull/2284)
+- Worksheet passwords were not always handled correctly [Issue #1897](https://github.com/PHPOffice/PhpSpreadsheet/issues/1897) [PR #2197](https://github.com/PHPOffice/PhpSpreadsheet/pull/2197)
+- Gnumeric Reader will now distinguish between Created and Modified timestamp [PR #2133](https://github.com/PHPOffice/PhpSpreadsheet/pull/2133)
+- Xls Reader will now handle MACCENTRALEUROPE with or without hyphen [Issue #549](https://github.com/PHPOffice/PhpSpreadsheet/issues/549) [PR #2213](https://github.com/PHPOffice/PhpSpreadsheet/pull/2213)
+- Tweaks to input file validation [Issue #1718](https://github.com/PHPOffice/PhpSpreadsheet/issues/1718) [PR #2217](https://github.com/PHPOffice/PhpSpreadsheet/pull/2217)
+- Html Reader did not handle comments correctly [Issue #2234](https://github.com/PHPOffice/PhpSpreadsheet/issues/2234) [PR #2235](https://github.com/PHPOffice/PhpSpreadsheet/pull/2235)
+- Apache OpenOffice Uses Unexpected Case for General format [Issue #2239](https://github.com/PHPOffice/PhpSpreadsheet/issues/2239) [PR #2242](https://github.com/PHPOffice/PhpSpreadsheet/pull/2242)
+- Problems with fraction formatting [Issue #2253](https://github.com/PHPOffice/PhpSpreadsheet/issues/2253) [PR #2254](https://github.com/PHPOffice/PhpSpreadsheet/pull/2254)
+- Xlsx Reader had problems reading file with no styles.xml or empty styles.xml [Issue #2246](https://github.com/PHPOffice/PhpSpreadsheet/issues/2246) [PR #2247](https://github.com/PHPOffice/PhpSpreadsheet/pull/2247)
+- Xlsx Reader did not read Data Validation flags correctly [Issue #2224](https://github.com/PHPOffice/PhpSpreadsheet/issues/2224) [PR #2225](https://github.com/PHPOffice/PhpSpreadsheet/pull/2225)
+- Better handling of empty arguments in Calculation engine [PR #2143](https://github.com/PHPOffice/PhpSpreadsheet/pull/2143)
+- Many fixes for Autofilter [Issue #2216](https://github.com/PHPOffice/PhpSpreadsheet/issues/2216) [PR #2141](https://github.com/PHPOffice/PhpSpreadsheet/pull/2141) [PR #2162](https://github.com/PHPOffice/PhpSpreadsheet/pull/2162) [PR #2218](https://github.com/PHPOffice/PhpSpreadsheet/pull/2218)
+- Locale generator will now use Unix line endings even on Windows [Issue #2172](https://github.com/PHPOffice/PhpSpreadsheet/issues/2172) [PR #2174](https://github.com/PHPOffice/PhpSpreadsheet/pull/2174)
+- Support differences in implementation of Text functions between Excel/Ods/Gnumeric [PR #2151](https://github.com/PHPOffice/PhpSpreadsheet/pull/2151)
+- Fixes to places where PHP8.1 enforces new or previously unenforced restrictions [PR #2137](https://github.com/PHPOffice/PhpSpreadsheet/pull/2137) [PR #2191](https://github.com/PHPOffice/PhpSpreadsheet/pull/2191) [PR #2231](https://github.com/PHPOffice/PhpSpreadsheet/pull/2231)
+- Clone for HashTable was incorrect [PR #2130](https://github.com/PHPOffice/PhpSpreadsheet/pull/2130)
+- Xlsx Reader was not evaluating Document Security Lock correctly [PR #2128](https://github.com/PHPOffice/PhpSpreadsheet/pull/2128)
+- Error in COUPNCD handling end of month [Issue #2116](https://github.com/PHPOffice/PhpSpreadsheet/issues/2116) [PR #2119](https://github.com/PHPOffice/PhpSpreadsheet/pull/2119)
+- Xls Writer Parser did not handle concatenation operator correctly [PR #2080](https://github.com/PHPOffice/PhpSpreadsheet/pull/2080)
+- Xlsx Writer did not handle boolean false correctly [Issue #2082](https://github.com/PHPOffice/PhpSpreadsheet/issues/2082) [PR #2087](https://github.com/PHPOffice/PhpSpreadsheet/pull/2087)
+- SUM needs to treat invalid strings differently depending on whether they come from a cell or are used as literals [Issue #2042](https://github.com/PHPOffice/PhpSpreadsheet/issues/2042) [PR #2045](https://github.com/PHPOffice/PhpSpreadsheet/pull/2045)
+- Html reader could have set illegal coordinates when dealing with embedded tables [Issue #2029](https://github.com/PHPOffice/PhpSpreadsheet/issues/2029) [PR #2032](https://github.com/PHPOffice/PhpSpreadsheet/pull/2032)
+- Documentation for printing gridlines was wrong [PR #2188](https://github.com/PHPOffice/PhpSpreadsheet/pull/2188)
+- Return Value Error - DatabaseAbstruct::buildQuery() return null but must be string [Issue #2158](https://github.com/PHPOffice/PhpSpreadsheet/issues/2158) [PR #2160](https://github.com/PHPOffice/PhpSpreadsheet/pull/2160)
+- Xlsx reader not recognize data validations that references another sheet [Issue #1432](https://github.com/PHPOffice/PhpSpreadsheet/issues/1432) [Issue #2149](https://github.com/PHPOffice/PhpSpreadsheet/issues/2149) [PR #2150](https://github.com/PHPOffice/PhpSpreadsheet/pull/2150) [PR #2265](https://github.com/PHPOffice/PhpSpreadsheet/pull/2265)
+- Don't calculate cell width for autosize columns if a cell contains a null or empty string value [Issue #2165](https://github.com/PHPOffice/PhpSpreadsheet/issues/2165) [PR #2167](https://github.com/PHPOffice/PhpSpreadsheet/pull/2167)
+- Allow negative interest rate values in a number of the Financial functions (`PPMT()`, `PMT()`, `FV()`, `PV()`, `NPER()`, etc) [Issue #2163](https://github.com/PHPOffice/PhpSpreadsheet/issues/2163) [PR #2164](https://github.com/PHPOffice/PhpSpreadsheet/pull/2164)
+- Xls Reader changing grey background to black in Excel template [Issue #2147](https://github.com/PHPOffice/PhpSpreadsheet/issues/2147) [PR #2156](https://github.com/PHPOffice/PhpSpreadsheet/pull/2156)
+- Column width and Row height styles in the Html Reader when the value includes a unit of measure [Issue #2145](https://github.com/PHPOffice/PhpSpreadsheet/issues/2145).
+- Data Validation flags not set correctly when reading XLSX files [Issue #2224](https://github.com/PHPOffice/PhpSpreadsheet/issues/2224) [PR #2225](https://github.com/PHPOffice/PhpSpreadsheet/pull/2225)
+- Reading XLSX files without styles.xml throws an exception [Issue #2246](https://github.com/PHPOffice/PhpSpreadsheet/issues/2246)
+- Improved performance of `Style::applyFromArray()` when applied to several cells [PR #1785](https://github.com/PHPOffice/PhpSpreadsheet/issues/1785).
+- Improve XLSX parsing speed if no readFilter is applied (again) - [#772](https://github.com/PHPOffice/PhpSpreadsheet/issues/772)
+
+## 1.18.0 - 2021-05-31
+
+### Added
+
+- Enhancements to CSV Reader, allowing options to be set when using `IOFactory::load()` with a callback to set delimiter, enclosure, charset etc [PR #2103](https://github.com/PHPOffice/PhpSpreadsheet/pull/2103) - See [documentation](https://github.com/PHPOffice/PhpSpreadsheet/blob/master/docs/topics/reading-and-writing-to-file.md#csv-comma-separated-values) for details.
+- Implemented basic AutoFiltering for Ods Reader and Writer [PR #2053](https://github.com/PHPOffice/PhpSpreadsheet/pull/2053)
+- Implemented basic AutoFiltering for Gnumeric Reader [PR #2055](https://github.com/PHPOffice/PhpSpreadsheet/pull/2055)
+- Improved support for Row and Column ranges in formulae [Issue #1755](https://github.com/PHPOffice/PhpSpreadsheet/issues/1755) [PR #2028](https://github.com/PHPOffice/PhpSpreadsheet/pull/2028)
+- Implemented URLENCODE() Web Function
+- Implemented the CHITEST(), CHISQ.DIST() and CHISQ.INV() and equivalent Statistical functions, for both left- and right-tailed distributions.
+- Support for ActiveSheet and SelectedCells in the ODS Reader and Writer [PR #1908](https://github.com/PHPOffice/PhpSpreadsheet/pull/1908)
+- Support for notContainsText Conditional Style in xlsx [Issue #984](https://github.com/PHPOffice/PhpSpreadsheet/issues/984)
+
+### Changed
+
+- Use of `nb` rather than `no` as the locale code for Norsk Bokmål.
+
+### Deprecated
+
+- All Excel Function implementations in `Calculation\Database`, `Calculation\DateTime`, `Calculation\Engineering`, `Calculation\Financial`, `Calculation\Logical`, `Calculation\LookupRef`, `Calculation\MathTrig`, `Calculation\Statistical`, `Calculation\TextData` and `Calculation\Web` have been moved to dedicated classes for individual functions or groups of related functions. See the docblocks against all the deprecated methods for details of the new methods to call instead. At some point, these old classes will be deleted.
+
+### Removed
+
+- Use of `nb` rather than `no` as the locale language code for Norsk Bokmål.
+
+### Fixed
+
+- Fixed error in COUPNCD() calculation for end of month [Issue #2116](https://github.com/PHPOffice/PhpSpreadsheet/issues/2116) - [PR #2119](https://github.com/PHPOffice/PhpSpreadsheet/pull/2119)
+- Resolve default values when a null argument is passed for HLOOKUP(), VLOOKUP() and ADDRESS() functions [Issue #2120](https://github.com/PHPOffice/PhpSpreadsheet/issues/2120) - [PR #2121](https://github.com/PHPOffice/PhpSpreadsheet/pull/2121)
+- Fixed incorrect R1C1 to A1 subtraction formula conversion (`R[-2]C-R[2]C`) [Issue #2076](https://github.com/PHPOffice/PhpSpreadsheet/pull/2076) [PR #2086](https://github.com/PHPOffice/PhpSpreadsheet/pull/2086)
+- Correctly handle absolute A1 references when converting to R1C1 format [PR #2060](https://github.com/PHPOffice/PhpSpreadsheet/pull/2060)
+- Correct default fill style for conditional without a pattern defined [Issue #2035](https://github.com/PHPOffice/PhpSpreadsheet/issues/2035) [PR #2050](https://github.com/PHPOffice/PhpSpreadsheet/pull/2050)
+- Fixed issue where array key check for existince before accessing arrays in Xlsx.php [PR #1970](https://github.com/PHPOffice/PhpSpreadsheet/pull/1970)
+- Fixed issue with quoted strings in number format mask rendered with toFormattedString() [Issue 1972#](https://github.com/PHPOffice/PhpSpreadsheet/issues/1972) [PR #1978](https://github.com/PHPOffice/PhpSpreadsheet/pull/1978)
+- Fixed issue with percentage formats in number format mask rendered with toFormattedString() [Issue 1929#](https://github.com/PHPOffice/PhpSpreadsheet/issues/1929) [PR #1928](https://github.com/PHPOffice/PhpSpreadsheet/pull/1928)
+- Fixed issue with _ spacing character in number format mask corrupting output from toFormattedString() [Issue 1924#](https://github.com/PHPOffice/PhpSpreadsheet/issues/1924) [PR #1927](https://github.com/PHPOffice/PhpSpreadsheet/pull/1927)
+- Fix for [Issue #1887](https://github.com/PHPOffice/PhpSpreadsheet/issues/1887) - Lose Track of Selected Cells After Save
+- Fixed issue with Xlsx@listWorksheetInfo not returning any data
+- Fixed invalid arguments triggering mb_substr() error in LEFT(), MID() and RIGHT() text functions [Issue #640](https://github.com/PHPOffice/PhpSpreadsheet/issues/640)
+- Fix for [Issue #1916](https://github.com/PHPOffice/PhpSpreadsheet/issues/1916) - Invalid signature check for XML files
+- Fix change in `Font::setSize()` behavior for PHP8 [PR #2100](https://github.com/PHPOffice/PhpSpreadsheet/pull/2100)
+
+## 1.17.1 - 2021-03-01
+
+### Added
+
+- Implementation of the Excel `AVERAGEIFS()` functions as part of a restructuring of Database functions and Conditional Statistical functions.
+- Support for date values and percentages in query parameters for Database functions, and the IF expressions in functions like COUNTIF() and AVERAGEIF(). [#1875](https://github.com/PHPOffice/PhpSpreadsheet/pull/1875)
+- Support for booleans, and for wildcard text search in query parameters for Database functions, and the IF expressions in functions like COUNTIF() and AVERAGEIF(). [#1876](https://github.com/PHPOffice/PhpSpreadsheet/pull/1876)
+- Implemented DataBar for conditional formatting in Xlsx, providing read/write and creation of (type, value, direction, fills, border, axis position, color settings) as DataBar options in Excel. [#1754](https://github.com/PHPOffice/PhpSpreadsheet/pull/1754)
+- Alignment for ODS Writer [#1796](https://github.com/PHPOffice/PhpSpreadsheet/issues/1796)
+- Basic implementation of the PERMUTATIONA() Statistical Function
+
+### Changed
+
+- Formula functions that previously called PHP functions directly are now processed through the Excel Functions classes; resolving issues with PHP8 stricter typing. [#1789](https://github.com/PHPOffice/PhpSpreadsheet/issues/1789)
+
+ The following MathTrig functions are affected:
+ `ABS()`, `ACOS()`, `ACOSH()`, `ASIN()`, `ASINH()`, `ATAN()`, `ATANH()`,
+ `COS()`, `COSH()`, `DEGREES()` (rad2deg), `EXP()`, `LN()` (log), `LOG10()`,
+ `RADIANS()` (deg2rad), `SIN()`, `SINH()`, `SQRT()`, `TAN()`, `TANH()`.
+
+ One TextData function is also affected: `REPT()` (str_repeat).
+- `formatAsDate` correctly matches language metadata, reverting c55272e
+- Formulae that previously crashed on sub function call returning excel error value now return said value.
+ The following functions are affected `CUMPRINC()`, `CUMIPMT()`, `AMORLINC()`,
+ `AMORDEGRC()`.
+- Adapt some function error return value to match excel's error.
+ The following functions are affected `PPMT()`, `IPMT()`.
+
+### Deprecated
+
+- Calling many of the Excel formula functions directly rather than through the Calculation Engine.
+
+ The logic for these Functions is now being moved out of the categorised `Database`, `DateTime`, `Engineering`, `Financial`, `Logical`, `LookupRef`, `MathTrig`, `Statistical`, `TextData` and `Web` classes into small, dedicated classes for individual functions or related groups of functions.
+
+ This makes the logic in these classes easier to maintain; and will reduce the memory footprint required to execute formulae when calling these functions.
+
+### Removed
+
+- Nothing.
+
+### Fixed
+
+- Avoid Duplicate Titles When Reading Multiple HTML Files.[Issue #1823](https://github.com/PHPOffice/PhpSpreadsheet/issues/1823) [PR #1829](https://github.com/PHPOffice/PhpSpreadsheet/pull/1829)
+- Fixed issue with Worksheet's `getCell()` method when trying to get a cell by defined name. [#1858](https://github.com/PHPOffice/PhpSpreadsheet/issues/1858)
+- Fix possible endless loop in NumberFormat Masks [#1792](https://github.com/PHPOffice/PhpSpreadsheet/issues/1792)
+- Fix problem resulting from literal dot inside quotes in number format masks [PR #1830](https://github.com/PHPOffice/PhpSpreadsheet/pull/1830)
+- Resolve Google Sheets Xlsx charts issue. Google Sheets uses oneCellAnchor positioning and does not include *Cache values in the exported Xlsx [PR #1761](https://github.com/PHPOffice/PhpSpreadsheet/pull/1761)
+- Fix for Xlsx Chart axis titles mapping to correct X or Y axis label when only one is present [PR #1760](https://github.com/PHPOffice/PhpSpreadsheet/pull/1760)
+- Fix For Null Exception on ODS Read of Page Settings. [#1772](https://github.com/PHPOffice/PhpSpreadsheet/issues/1772)
+- Fix Xlsx reader overriding manually set number format with builtin number format [PR #1805](https://github.com/PHPOffice/PhpSpreadsheet/pull/1805)
+- Fix Xlsx reader cell alignment [PR #1710](https://github.com/PHPOffice/PhpSpreadsheet/pull/1710)
+- Fix for not yet implemented data-types in Open Document writer [Issue #1674](https://github.com/PHPOffice/PhpSpreadsheet/issues/1674)
+- Fix XLSX reader when having a corrupt numeric cell data type [PR #1664](https://github.com/phpoffice/phpspreadsheet/pull/1664)
+- Fix on `CUMPRINC()`, `CUMIPMT()`, `AMORLINC()`, `AMORDEGRC()` usage. When those functions called one of `YEARFRAC()`, `PPMT()`, `IPMT()` and they would get back an error value (represented as a string), trying to use numeral operands (`+`, `/`, `-`, `*`) on said return value and a number (`float or `int`) would fail.
+
+## 1.16.0 - 2020-12-31
+
+### Added
+
+- CSV Reader - Best Guess for Encoding, and Handle Null-string Escape [#1647](https://github.com/PHPOffice/PhpSpreadsheet/issues/1647)
+
+### Changed
+
+- Updated the CONVERT() function to support all current MS Excel categories and Units of Measure.
+
+### Deprecated
+
+- All Excel Function implementations in `Calculation\Database`, `Calculation\DateTime`, `Calculation\Engineering`, `Calculation\Financial`, `Calculation\Logical`, `Calculation\LookupRef`, `Calculation\MathTrig`, `Calculation\Statistical`, `Calculation\TextData` and `Calculation\Web` have been moved to dedicated classes for individual functions or groups of related functions. See the docblocks against all the deprecated methods for details of the new methods to call instead. At some point, these old classes will be deleted.
+
+### Removed
+
+- Nothing.
+
+### Fixed
+
+- Fixed issue with absolute path in worksheets' Target [PR #1769](https://github.com/PHPOffice/PhpSpreadsheet/pull/1769)
+- Fix for Xls Reader when SST has a bad length [#1592](https://github.com/PHPOffice/PhpSpreadsheet/issues/1592)
+- Resolve Xlsx loader issue whe hyperlinks don't have a destination
+- Resolve issues when printer settings resources IDs clash with drawing IDs
+- Resolve issue with SLK long filenames [#1612](https://github.com/PHPOffice/PhpSpreadsheet/issues/1612)
+- ROUNDUP and ROUNDDOWN return incorrect results for values of 0 [#1627](https://github.com/phpoffice/phpspreadsheet/pull/1627)
+- Apply Column and Row Styles to Existing Cells [#1712](https://github.com/PHPOffice/PhpSpreadsheet/issues/1712) [PR #1721](https://github.com/PHPOffice/PhpSpreadsheet/pull/1721)
+- Resolve issues with defined names where worksheet doesn't exist (#1686)[https://github.com/PHPOffice/PhpSpreadsheet/issues/1686] and [#1723](https://github.com/PHPOffice/PhpSpreadsheet/issues/1723) - [PR #1742](https://github.com/PHPOffice/PhpSpreadsheet/pull/1742)
+- Fix for issue [#1735](https://github.com/PHPOffice/PhpSpreadsheet/issues/1735) Incorrect activeSheetIndex after RemoveSheetByIndex - [PR #1743](https://github.com/PHPOffice/PhpSpreadsheet/pull/1743)
+- Ensure that the list of shared formulae is maintained when an xlsx file is chunked with readFilter[Issue #169](https://github.com/PHPOffice/PhpSpreadsheet/issues/1669).
+- Fix for notice during accessing "cached magnification factor" offset [#1354](https://github.com/PHPOffice/PhpSpreadsheet/pull/1354)
+- Fix compatibility with ext-gd on php 8
+
+### Security Fix (CVE-2020-7776)
+
+- Prevent XSS through cell comments in the HTML Writer.
+
+## 1.15.0 - 2020-10-11
+
+### Added
+
+- Implemented Page Order for Xlsx and Xls Readers, and provided Page Settings (Orientation, Scale, Horizontal/Vertical Centering, Page Order, Margins) support for Ods, Gnumeric and Xls Readers [#1559](https://github.com/PHPOffice/PhpSpreadsheet/pull/1559)
+- Implementation of the Excel `LOGNORM.DIST()`, `NORM.S.DIST()`, `GAMMA()` and `GAUSS()` functions. [#1588](https://github.com/PHPOffice/PhpSpreadsheet/pull/1588)
+- Named formula implementation, and improved handling of Defined Names generally [#1535](https://github.com/PHPOffice/PhpSpreadsheet/pull/1535)
+ - Defined Names are now case-insensitive
+ - Distinction between named ranges and named formulae
+ - Correct handling of union and intersection operators in named ranges
+ - Correct evaluation of named range operators in calculations
+ - fix resolution of relative named range values in the calculation engine; previously all named range values had been treated as absolute.
+ - Calculation support for named formulae
+ - Support for nested ranges and formulae (named ranges and formulae that reference other named ranges/formulae) in calculations
+ - Introduction of a helper to convert address formats between R1C1 and A1 (and the reverse)
+ - Proper support for both named ranges and named formulae in all appropriate Readers
+ - **Xlsx** (Previously only simple named ranges were supported)
+ - **Xls** (Previously only simple named ranges were supported)
+ - **Gnumeric** (Previously neither named ranges nor formulae were supported)
+ - **Ods** (Previously neither named ranges nor formulae were supported)
+ - **Xml** (Previously neither named ranges nor formulae were supported)
+ - Proper support for named ranges and named formulae in all appropriate Writers
+ - **Xlsx** (Previously only simple named ranges were supported)
+ - **Xls** (Previously neither named ranges nor formulae were supported) - Still not supported, but some parser issues resolved that previously failed to differentiate between a defined name and a function name
+ - **Ods** (Previously neither named ranges nor formulae were supported)
+- Support for PHP 8.0
+
+### Changed
+
+- Improve Coverage for ODS Reader [#1545](https://github.com/phpoffice/phpspreadsheet/pull/1545)
+- Named formula implementation, and improved handling of Defined Names generally [#1535](https://github.com/PHPOffice/PhpSpreadsheet/pull/1535)
+- fix resolution of relative named range values in the calculation engine; previously all named range values had been treated as absolute.
+- Drop $this->spreadSheet null check from Xlsx Writer [#1646](https://github.com/phpoffice/phpspreadsheet/pull/1646)
+- Improving Coverage for Excel2003 XML Reader [#1557](https://github.com/phpoffice/phpspreadsheet/pull/1557)
+
+### Deprecated
+
+- **IMPORTANT NOTE:** This Introduces a **BC break** in the handling of named ranges. Previously, a named range cell reference of `B2` would be treated identically to a named range cell reference of `$B2` or `B$2` or `$B$2` because the calculation engine treated then all as absolute references. These changes "fix" that, so the calculation engine now handles relative references in named ranges correctly.
+ This change that resolves previously incorrect behaviour in the calculation may affect users who have dynamically defined named ranges using relative references when they should have used absolute references.
+
+### Removed
+
+- Nothing.
+
+### Fixed
+
+- PrintArea causes exception [#1544](https://github.com/phpoffice/phpspreadsheet/pull/1544)
+- Calculation/DateTime Failure With PHP8 [#1661](https://github.com/phpoffice/phpspreadsheet/pull/1661)
+- Reader/Gnumeric Failure with PHP8 [#1662](https://github.com/phpoffice/phpspreadsheet/pull/1662)
+- ReverseSort bug, exposed but not caused by PHP8 [#1660](https://github.com/phpoffice/phpspreadsheet/pull/1660)
+- Bug setting Superscript/Subscript to false [#1567](https://github.com/phpoffice/phpspreadsheet/pull/1567)
+
+## 1.14.1 - 2020-07-19
+
+### Added
+
+- nothing
+
+### Fixed
+
+- WEBSERVICE is HTTP client agnostic and must be configured via `Settings::setHttpClient()` [#1562](https://github.com/PHPOffice/PhpSpreadsheet/issues/1562)
+- Borders were not complete on rowspanned columns using HTML reader [#1473](https://github.com/PHPOffice/PhpSpreadsheet/pull/1473)
+
+### Changed
+
+## 1.14.0 - 2020-06-29
+
+### Added
+
+- Add support for IFS() logical function [#1442](https://github.com/PHPOffice/PhpSpreadsheet/pull/1442)
+- Add Cell Address Helper to provide conversions between the R1C1 and A1 address formats [#1558](https://github.com/PHPOffice/PhpSpreadsheet/pull/1558)
+- Add ability to edit Html/Pdf before saving [#1499](https://github.com/PHPOffice/PhpSpreadsheet/pull/1499)
+- Add ability to set codepage explicitly for BIFF5 [#1018](https://github.com/PHPOffice/PhpSpreadsheet/issues/1018)
+- Added support for the WEBSERVICE function [#1409](https://github.com/PHPOffice/PhpSpreadsheet/pull/1409)
+
+### Fixed
+
+- Resolve evaluation of utf-8 named ranges in calculation engine [#1522](https://github.com/PHPOffice/PhpSpreadsheet/pull/1522)
+- Fix HLOOKUP on single row [#1512](https://github.com/PHPOffice/PhpSpreadsheet/pull/1512)
+- Fix MATCH when comparing different numeric types [#1521](https://github.com/PHPOffice/PhpSpreadsheet/pull/1521)
+- Fix exact MATCH on ranges with empty cells [#1520](https://github.com/PHPOffice/PhpSpreadsheet/pull/1520)
+- Fix for Issue [#1516](https://github.com/PHPOffice/PhpSpreadsheet/issues/1516) (Cloning worksheet makes corrupted Xlsx) [#1530](https://github.com/PHPOffice/PhpSpreadsheet/pull/1530)
+- Fix For Issue [#1509](https://github.com/PHPOffice/PhpSpreadsheet/issues/1509) (Can not set empty enclosure for CSV) [#1518](https://github.com/PHPOffice/PhpSpreadsheet/pull/1518)
+- Fix for Issue [#1505](https://github.com/PHPOffice/PhpSpreadsheet/issues/1505) (TypeError : Argument 4 passed to PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet::writeAttributeIf() must be of the type string) [#1525](https://github.com/PHPOffice/PhpSpreadsheet/pull/1525)
+- Fix for Issue [#1495](https://github.com/PHPOffice/PhpSpreadsheet/issues/1495) (Sheet index being changed when multiple sheets are used in formula) [#1500]((https://github.com/PHPOffice/PhpSpreadsheet/pull/1500))
+- Fix for Issue [#1533](https://github.com/PHPOffice/PhpSpreadsheet/issues/1533) (A reference to a cell containing a string starting with "#" leads to errors in the generated xlsx.) [#1534](https://github.com/PHPOffice/PhpSpreadsheet/pull/1534)
+- Xls Writer - Correct Timestamp Bug [#1493](https://github.com/PHPOffice/PhpSpreadsheet/pull/1493)
+- Don't ouput row and columns without any cells in HTML writer [#1235](https://github.com/PHPOffice/PhpSpreadsheet/issues/1235)
+
+## 1.13.0 - 2020-05-31
+
+### Added
+
+- Support writing to streams in all writers [#1292](https://github.com/PHPOffice/PhpSpreadsheet/issues/1292)
+- Support CSV files with data wrapping a lot of lines [#1468](https://github.com/PHPOffice/PhpSpreadsheet/pull/1468)
+- Support protection of worksheet by a specific hash algorithm [#1485](https://github.com/PHPOffice/PhpSpreadsheet/pull/1485)
+
+### Fixed
+
+- Fix Chart samples by updating chart parameter from 0 to DataSeries::EMPTY_AS_GAP [#1448](https://github.com/PHPOffice/PhpSpreadsheet/pull/1448)
+- Fix return type in docblock for the Cells::get() [#1398](https://github.com/PHPOffice/PhpSpreadsheet/pull/1398)
+- Fix RATE, PRICE, XIRR, and XNPV Functions [#1456](https://github.com/PHPOffice/PhpSpreadsheet/pull/1456)
+- Save Excel 2010+ functions properly in XLSX [#1461](https://github.com/PHPOffice/PhpSpreadsheet/pull/1461)
+- Several improvements in HTML writer [#1464](https://github.com/PHPOffice/PhpSpreadsheet/pull/1464)
+- Fix incorrect behaviour when saving XLSX file with drawings [#1462](https://github.com/PHPOffice/PhpSpreadsheet/pull/1462),
+- Fix Crash while trying setting a cell the value "123456\n" [#1476](https://github.com/PHPOffice/PhpSpreadsheet/pull/1481)
+- Improved DATEDIF() function and reduced errors for Y and YM units [#1466](https://github.com/PHPOffice/PhpSpreadsheet/pull/1466)
+- Stricter typing for mergeCells [#1494](https://github.com/PHPOffice/PhpSpreadsheet/pull/1494)
+
+### Changed
+
+- Drop support for PHP 7.1, according to https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
+- Drop partial migration tool in favor of complete migration via RectorPHP [#1445](https://github.com/PHPOffice/PhpSpreadsheet/issues/1445)
+- Limit composer package to `src/` [#1424](https://github.com/PHPOffice/PhpSpreadsheet/pull/1424)
+
+## 1.12.0 - 2020-04-27
+
+### Added
+
+- Improved the ARABIC function to also handle short-hand roman numerals
+- Added support for the FLOOR.MATH and FLOOR.PRECISE functions [#1351](https://github.com/PHPOffice/PhpSpreadsheet/pull/1351)
+
+### Fixed
+
+- Fix ROUNDUP and ROUNDDOWN for floating-point rounding error [#1404](https://github.com/PHPOffice/PhpSpreadsheet/pull/1404)
+- Fix ROUNDUP and ROUNDDOWN for negative number [#1417](https://github.com/PHPOffice/PhpSpreadsheet/pull/1417)
+- Fix loading styles from vmlDrawings when containing whitespace [#1347](https://github.com/PHPOffice/PhpSpreadsheet/issues/1347)
+- Fix incorrect behavior when removing last row [#1365](https://github.com/PHPOffice/PhpSpreadsheet/pull/1365)
+- MATCH with a static array should return the position of the found value based on the values submitted [#1332](https://github.com/PHPOffice/PhpSpreadsheet/pull/1332)
+- Fix Xlsx Reader's handling of undefined fill color [#1353](https://github.com/PHPOffice/PhpSpreadsheet/pull/1353)
+
+## 1.11.0 - 2020-03-02
+
+### Added
+
+- Added support for the BASE function
+- Added support for the ARABIC function
+- Conditionals - Extend Support for (NOT)CONTAINSBLANKS [#1278](https://github.com/PHPOffice/PhpSpreadsheet/pull/1278)
+
+### Fixed
+
+- Handle Error in Formula Processing Better for Xls [#1267](https://github.com/PHPOffice/PhpSpreadsheet/pull/1267)
+- Handle ConditionalStyle NumberFormat When Reading Xlsx File [#1296](https://github.com/PHPOffice/PhpSpreadsheet/pull/1296)
+- Fix Xlsx Writer's handling of decimal commas [#1282](https://github.com/PHPOffice/PhpSpreadsheet/pull/1282)
+- Fix for issue by removing test code mistakenly left in [#1328](https://github.com/PHPOffice/PhpSpreadsheet/pull/1328)
+- Fix for Xls writer wrong selected cells and active sheet [#1256](https://github.com/PHPOffice/PhpSpreadsheet/pull/1256)
+- Fix active cell when freeze pane is used [#1323](https://github.com/PHPOffice/PhpSpreadsheet/pull/1323)
+- Fix XLSX file loading with autofilter containing '$' [#1326](https://github.com/PHPOffice/PhpSpreadsheet/pull/1326)
+- PHPDoc - Use `@return $this` for fluent methods [#1362](https://github.com/PHPOffice/PhpSpreadsheet/pull/1362)
+
+## 1.10.1 - 2019-12-02
+
+### Changed
+
+- PHP 7.4 compatibility
+
+### Fixed
+
+- FLOOR() function accept negative number and negative significance [#1245](https://github.com/PHPOffice/PhpSpreadsheet/pull/1245)
+- Correct column style even when using rowspan [#1249](https://github.com/PHPOffice/PhpSpreadsheet/pull/1249)
+- Do not confuse defined names and cell refs [#1263](https://github.com/PHPOffice/PhpSpreadsheet/pull/1263)
+- XLSX reader/writer keep decimal for floats with a zero decimal part [#1262](https://github.com/PHPOffice/PhpSpreadsheet/pull/1262)
+- ODS writer prevent invalid numeric value if locale decimal separator is comma [#1268](https://github.com/PHPOffice/PhpSpreadsheet/pull/1268)
+- Xlsx writer actually writes plotVisOnly and dispBlanksAs from chart properties [#1266](https://github.com/PHPOffice/PhpSpreadsheet/pull/1266)
+
+## 1.10.0 - 2019-11-18
+
+### Changed
+
+- Change license from LGPL 2.1 to MIT [#140](https://github.com/PHPOffice/PhpSpreadsheet/issues/140)
+
+### Added
+
+- Implementation of IFNA() logical function
+- Support "showZeros" worksheet option to change how Excel shows and handles "null" values returned from a calculation
+- Allow HTML Reader to accept HTML as a string into an existing spreadsheet [#1212](https://github.com/PHPOffice/PhpSpreadsheet/pull/1212)
+
+### Fixed
+
+- IF implementation properly handles the value `#N/A` [#1165](https://github.com/PHPOffice/PhpSpreadsheet/pull/1165)
+- Formula Parser: Wrong line count for stuff like "MyOtherSheet!A:D" [#1215](https://github.com/PHPOffice/PhpSpreadsheet/issues/1215)
+- Call garbage collector after removing a column to prevent stale cached values
+- Trying to remove a column that doesn't exist deletes the latest column
+- Keep big integer as integer instead of lossely casting to float [#874](https://github.com/PHPOffice/PhpSpreadsheet/pull/874)
+- Fix branch pruning handling of non boolean conditions [#1167](https://github.com/PHPOffice/PhpSpreadsheet/pull/1167)
+- Fix ODS Reader when no DC namespace are defined [#1182](https://github.com/PHPOffice/PhpSpreadsheet/pull/1182)
+- Fixed Functions->ifCondition for allowing <> and empty condition [#1206](https://github.com/PHPOffice/PhpSpreadsheet/pull/1206)
+- Validate XIRR inputs and return correct error values [#1120](https://github.com/PHPOffice/PhpSpreadsheet/issues/1120)
+- Allow to read xlsx files with exotic workbook names like "workbook2.xml" [#1183](https://github.com/PHPOffice/PhpSpreadsheet/pull/1183)
+
+## 1.9.0 - 2019-08-17
+
+### Changed
+
+- Drop support for PHP 5.6 and 7.0, according to https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
+
+### Added
+
+- When <br> appears in a table cell, set the cell to wrap [#1071](https://github.com/PHPOffice/PhpSpreadsheet/issues/1071) and [#1070](https://github.com/PHPOffice/PhpSpreadsheet/pull/1070)
+- Add MAXIFS, MINIFS, COUNTIFS and Remove MINIF, MAXIF [#1056](https://github.com/PHPOffice/PhpSpreadsheet/issues/1056)
+- HLookup needs an ordered list even if range_lookup is set to false [#1055](https://github.com/PHPOffice/PhpSpreadsheet/issues/1055) and [#1076](https://github.com/PHPOffice/PhpSpreadsheet/pull/1076)
+- Improve performance of IF function calls via ranch pruning to avoid resolution of every branches [#844](https://github.com/PHPOffice/PhpSpreadsheet/pull/844)
+- MATCH function supports `*?~` Excel functionality, when match_type=0 [#1116](https://github.com/PHPOffice/PhpSpreadsheet/issues/1116)
+- Allow HTML Reader to accept HTML as a string [#1136](https://github.com/PHPOffice/PhpSpreadsheet/pull/1136)
+
+### Fixed
+
+- Fix to AVERAGEIF() function when called with a third argument
+- Eliminate duplicate fill none style entries [#1066](https://github.com/PHPOffice/PhpSpreadsheet/issues/1066)
+- Fix number format masks containing literal (non-decimal point) dots [#1079](https://github.com/PHPOffice/PhpSpreadsheet/issues/1079)
+- Fix number format masks containing named colours that were being misinterpreted as date formats; and add support for masks that fully replace the value with a full text string [#1009](https://github.com/PHPOffice/PhpSpreadsheet/issues/1009)
+- Stricter-typed comparison testing in COUNTIF() and COUNTIFS() evaluation [#1046](https://github.com/PHPOffice/PhpSpreadsheet/issues/1046)
+- COUPNUM should not return zero when settlement is in the last period [#1020](https://github.com/PHPOffice/PhpSpreadsheet/issues/1020) and [#1021](https://github.com/PHPOffice/PhpSpreadsheet/pull/1021)
+- Fix handling of named ranges referencing sheets with spaces or "!" in their title
+- Cover `getSheetByName()` with tests for name with quote and spaces [#739](https://github.com/PHPOffice/PhpSpreadsheet/issues/739)
+- Best effort to support invalid colspan values in HTML reader - [#878](https://github.com/PHPOffice/PhpSpreadsheet/pull/878)
+- Fixes incorrect rows deletion [#868](https://github.com/PHPOffice/PhpSpreadsheet/issues/868)
+- MATCH function fix (value search by type, stop search when match_type=-1 and unordered element encountered) [#1116](https://github.com/PHPOffice/PhpSpreadsheet/issues/1116)
+- Fix `getCalculatedValue()` error with more than two INDIRECT [#1115](https://github.com/PHPOffice/PhpSpreadsheet/pull/1115)
+- Writer\Html did not hide columns [#985](https://github.com/PHPOffice/PhpSpreadsheet/pull/985)
+
+## 1.8.2 - 2019-07-08
+
+### Fixed
+
+- Uncaught error when opening ods file and properties aren't defined [#1047](https://github.com/PHPOffice/PhpSpreadsheet/issues/1047)
+- Xlsx Reader Cell datavalidations bug [#1052](https://github.com/PHPOffice/PhpSpreadsheet/pull/1052)
+
+## 1.8.1 - 2019-07-02
+
+### Fixed
+
+- Allow nullable theme for Xlsx Style Reader class [#1043](https://github.com/PHPOffice/PhpSpreadsheet/issues/1043)
+
+## 1.8.0 - 2019-07-01
+
+### Security Fix (CVE-2019-12331)
+
+- Detect double-encoded xml in the Security scanner, and reject as suspicious.
+- This change also broadens the scope of the `libxml_disable_entity_loader` setting when reading XML-based formats, so that it is enabled while the xml is being parsed and not simply while it is loaded.
+ On some versions of PHP, this can cause problems because it is not thread-safe, and can affect other PHP scripts running on the same server. This flag is set to true when instantiating a loader, and back to its original setting when the Reader is no longer in scope, or manually unset.
+- Provide a check to identify whether libxml_disable_entity_loader is thread-safe or not.
+
+ `XmlScanner::threadSafeLibxmlDisableEntityLoaderAvailability()`
+- Provide an option to disable the libxml_disable_entity_loader call through settings. This is not recommended as it reduces the security of the XML-based readers, and should only be used if you understand the consequences and have no other choice.
+
+### Added
+
+- Added support for the SWITCH function [#963](https://github.com/PHPOffice/PhpSpreadsheet/issues/963) and [#983](https://github.com/PHPOffice/PhpSpreadsheet/pull/983)
+- Add accounting number format style [#974](https://github.com/PHPOffice/PhpSpreadsheet/pull/974)
+
+### Fixed
+
+- Whitelist `tsv` extension when opening CSV files [#429](https://github.com/PHPOffice/PhpSpreadsheet/issues/429)
+- Fix a SUMIF warning with some versions of PHP when having different length of arrays provided as input [#873](https://github.com/PHPOffice/PhpSpreadsheet/pull/873)
+- Fix incorrectly handled backslash-escaped space characters in number format
+
+## 1.7.0 - 2019-05-26
+
+- Added support for inline styles in Html reader (borders, alignment, width, height)
+- QuotedText cells no longer treated as formulae if the content begins with a `=`
+- Clean handling for DDE in formulae
+
+### Fixed
+
+- Fix handling for escaped enclosures and new lines in CSV Separator Inference
+- Fix MATCH an error was appearing when comparing strings against 0 (always true)
+- Fix wrong calculation of highest column with specified row [#700](https://github.com/PHPOffice/PhpSpreadsheet/issues/700)
+- Fix VLOOKUP
+- Fix return type hint
+
+## 1.6.0 - 2019-01-02
+
+### Added
+
+- Refactored Matrix Functions to use external Matrix library
+- Possibility to specify custom colors of values for pie and donut charts [#768](https://github.com/PHPOffice/PhpSpreadsheet/pull/768)
+
+### Fixed
+
+- Improve XLSX parsing speed if no readFilter is applied [#772](https://github.com/PHPOffice/PhpSpreadsheet/issues/772)
+- Fix column names if read filter calls in XLSX reader skip columns [#777](https://github.com/PHPOffice/PhpSpreadsheet/pull/777)
+- XLSX reader can now ignore blank cells, using the setReadEmptyCells(false) method. [#810](https://github.com/PHPOffice/PhpSpreadsheet/issues/810)
+- Fix LOOKUP function which was breaking on edge cases [#796](https://github.com/PHPOffice/PhpSpreadsheet/issues/796)
+- Fix VLOOKUP with exact matches [#809](https://github.com/PHPOffice/PhpSpreadsheet/pull/809)
+- Support COUNTIFS multiple arguments [#830](https://github.com/PHPOffice/PhpSpreadsheet/pull/830)
+- Change `libxml_disable_entity_loader()` as shortly as possible [#819](https://github.com/PHPOffice/PhpSpreadsheet/pull/819)
+- Improved memory usage and performance when loading large spreadsheets [#822](https://github.com/PHPOffice/PhpSpreadsheet/pull/822)
+- Improved performance when loading large spreadsheets [#825](https://github.com/PHPOffice/PhpSpreadsheet/pull/825)
+- Improved performance when loading large spreadsheets [#824](https://github.com/PHPOffice/PhpSpreadsheet/pull/824)
+- Fix color from CSS when reading from HTML [#831](https://github.com/PHPOffice/PhpSpreadsheet/pull/831)
+- Fix infinite loop when reading invalid ODS files [#832](https://github.com/PHPOffice/PhpSpreadsheet/pull/832)
+- Fix time format for duration is incorrect [#666](https://github.com/PHPOffice/PhpSpreadsheet/pull/666)
+- Fix iconv unsupported `//IGNORE//TRANSLIT` on IBM i [#791](https://github.com/PHPOffice/PhpSpreadsheet/issues/791)
+
+### Changed
+
+- `master` is the new default branch, `develop` does not exist anymore
+
+## 1.5.2 - 2018-11-25
+
+### Security
+
+- Improvements to the design of the XML Security Scanner [#771](https://github.com/PHPOffice/PhpSpreadsheet/issues/771)
+
+## 1.5.1 - 2018-11-20
+
+### Security
+
+- Fix and improve XXE security scanning for XML-based and HTML Readers [#771](https://github.com/PHPOffice/PhpSpreadsheet/issues/771)
+
+### Added
+
+- Support page margin in mPDF [#750](https://github.com/PHPOffice/PhpSpreadsheet/issues/750)
+
+### Fixed
+
+- Support numeric condition in SUMIF, SUMIFS, AVERAGEIF, COUNTIF, MAXIF and MINIF [#683](https://github.com/PHPOffice/PhpSpreadsheet/issues/683)
+- SUMIFS containing multiple conditions [#704](https://github.com/PHPOffice/PhpSpreadsheet/issues/704)
+- Csv reader avoid notice when the file is empty [#743](https://github.com/PHPOffice/PhpSpreadsheet/pull/743)
+- Fix print area parser for XLSX reader [#734](https://github.com/PHPOffice/PhpSpreadsheet/pull/734)
+- Support overriding `DefaultValueBinder::dataTypeForValue()` without overriding `DefaultValueBinder::bindValue()` [#735](https://github.com/PHPOffice/PhpSpreadsheet/pull/735)
+- Mpdf export can exceed pcre.backtrack_limit [#637](https://github.com/PHPOffice/PhpSpreadsheet/issues/637)
+- Fix index overflow on data values array [#748](https://github.com/PHPOffice/PhpSpreadsheet/pull/748)
+
+## 1.5.0 - 2018-10-21
+
+### Added
+
+- PHP 7.3 support
+- Add the DAYS() function [#594](https://github.com/PHPOffice/PhpSpreadsheet/pull/594)
+
+### Fixed
+
+- Sheet title can contain exclamation mark [#325](https://github.com/PHPOffice/PhpSpreadsheet/issues/325)
+- Xls file cause the exception during open by Xls reader [#402](https://github.com/PHPOffice/PhpSpreadsheet/issues/402)
+- Skip non numeric value in SUMIF [#618](https://github.com/PHPOffice/PhpSpreadsheet/pull/618)
+- OFFSET should allow omitted height and width [#561](https://github.com/PHPOffice/PhpSpreadsheet/issues/561)
+- Correctly determine delimiter when CSV contains line breaks inside enclosures [#716](https://github.com/PHPOffice/PhpSpreadsheet/issues/716)
+
+## 1.4.1 - 2018-09-30
+
+### Fixed
+
+- Remove locale from formatting string [#644](https://github.com/PHPOffice/PhpSpreadsheet/pull/644)
+- Allow iterators to go out of bounds with prev [#587](https://github.com/PHPOffice/PhpSpreadsheet/issues/587)
+- Fix warning when reading xlsx without styles [#631](https://github.com/PHPOffice/PhpSpreadsheet/pull/631)
+- Fix broken sample links on windows due to $baseDir having backslash [#653](https://github.com/PHPOffice/PhpSpreadsheet/pull/653)
+
+## 1.4.0 - 2018-08-06
+
+### Added
+
+- Add excel function EXACT(value1, value2) support [#595](https://github.com/PHPOffice/PhpSpreadsheet/pull/595)
+- Support workbook view attributes for Xlsx format [#523](https://github.com/PHPOffice/PhpSpreadsheet/issues/523)
+- Read and write hyperlink for drawing image [#490](https://github.com/PHPOffice/PhpSpreadsheet/pull/490)
+- Added calculation engine support for the new bitwise functions that were added in MS Excel 2013
+ - BITAND() Returns a Bitwise 'And' of two numbers
+ - BITOR() Returns a Bitwise 'Or' of two number
+ - BITXOR() Returns a Bitwise 'Exclusive Or' of two numbers
+ - BITLSHIFT() Returns a number shifted left by a specified number of bits
+ - BITRSHIFT() Returns a number shifted right by a specified number of bits
+- Added calculation engine support for other new functions that were added in MS Excel 2013 and MS Excel 2016
+ - Text Functions
+ - CONCAT() Synonym for CONCATENATE()
+ - NUMBERVALUE() Converts text to a number, in a locale-independent way
+ - UNICHAR() Synonym for CHAR() in PHPSpreadsheet, which has always used UTF-8 internally
+ - UNIORD() Synonym for ORD() in PHPSpreadsheet, which has always used UTF-8 internally
+ - TEXTJOIN() Joins together two or more text strings, separated by a delimiter
+ - Logical Functions
+ - XOR() Returns a logical Exclusive Or of all arguments
+ - Date/Time Functions
+ - ISOWEEKNUM() Returns the ISO 8601 week number of the year for a given date
+ - Lookup and Reference Functions
+ - FORMULATEXT() Returns a formula as a string
+ - Financial Functions
+ - PDURATION() Calculates the number of periods required for an investment to reach a specified value
+ - RRI() Calculates the interest rate required for an investment to grow to a specified future value
+ - Engineering Functions
+ - ERF.PRECISE() Returns the error function integrated between 0 and a supplied limit
+ - ERFC.PRECISE() Synonym for ERFC
+ - Math and Trig Functions
+ - SEC() Returns the secant of an angle
+ - SECH() Returns the hyperbolic secant of an angle
+ - CSC() Returns the cosecant of an angle
+ - CSCH() Returns the hyperbolic cosecant of an angle
+ - COT() Returns the cotangent of an angle
+ - COTH() Returns the hyperbolic cotangent of an angle
+ - ACOT() Returns the cotangent of an angle
+ - ACOTH() Returns the hyperbolic cotangent of an angle
+- Refactored Complex Engineering Functions to use external complex number library
+- Added calculation engine support for the new complex number functions that were added in MS Excel 2013
+ - IMCOSH() Returns the hyperbolic cosine of a complex number
+ - IMCOT() Returns the cotangent of a complex number
+ - IMCSC() Returns the cosecant of a complex number
+ - IMCSCH() Returns the hyperbolic cosecant of a complex number
+ - IMSEC() Returns the secant of a complex number
+ - IMSECH() Returns the hyperbolic secant of a complex number
+ - IMSINH() Returns the hyperbolic sine of a complex number
+ - IMTAN() Returns the tangent of a complex number
+
+### Fixed
+
+- Fix ISFORMULA() function to work with a cell reference to another worksheet
+- Xlsx reader crashed when reading a file with workbook protection [#553](https://github.com/PHPOffice/PhpSpreadsheet/pull/553)
+- Cell formats with escaped spaces were causing incorrect date formatting [#557](https://github.com/PHPOffice/PhpSpreadsheet/issues/557)
+- Could not open CSV file containing HTML fragment [#564](https://github.com/PHPOffice/PhpSpreadsheet/issues/564)
+- Exclude the vendor folder in migration [#481](https://github.com/PHPOffice/PhpSpreadsheet/issues/481)
+- Chained operations on cell ranges involving borders operated on last cell only [#428](https://github.com/PHPOffice/PhpSpreadsheet/issues/428)
+- Avoid memory exhaustion when cloning worksheet with a drawing [#437](https://github.com/PHPOffice/PhpSpreadsheet/issues/437)
+- Migration tool keep variables containing $PHPExcel untouched [#598](https://github.com/PHPOffice/PhpSpreadsheet/issues/598)
+- Rowspans/colspans were incorrect when adding worksheet using loadIntoExisting [#619](https://github.com/PHPOffice/PhpSpreadsheet/issues/619)
+
+## 1.3.1 - 2018-06-12
+
+### Fixed
+
+- Ranges across Z and AA columns incorrectly threw an exception [#545](https://github.com/PHPOffice/PhpSpreadsheet/issues/545)
+
+## 1.3.0 - 2018-06-10
+
+### Added
+
+- Support to read Xlsm templates with form elements, macros, printer settings, protected elements and back compatibility drawing, and save result without losing important elements of document [#435](https://github.com/PHPOffice/PhpSpreadsheet/issues/435)
+- Expose sheet title maximum length as `Worksheet::SHEET_TITLE_MAXIMUM_LENGTH` [#482](https://github.com/PHPOffice/PhpSpreadsheet/issues/482)
+- Allow escape character to be set in CSV reader [#492](https://github.com/PHPOffice/PhpSpreadsheet/issues/492)
+
+### Fixed
+
+- Subtotal 9 in a group that has other subtotals 9 exclude the totals of the other subtotals in the range [#332](https://github.com/PHPOffice/PhpSpreadsheet/issues/332)
+- `Helper\Html` support UTF-8 HTML input [#444](https://github.com/PHPOffice/PhpSpreadsheet/issues/444)
+- Xlsx loaded an extra empty comment for each real comment [#375](https://github.com/PHPOffice/PhpSpreadsheet/issues/375)
+- Xlsx reader do not read rows and columns filtered out in readFilter at all [#370](https://github.com/PHPOffice/PhpSpreadsheet/issues/370)
+- Make newer Excel versions properly recalculate formulas on document open [#456](https://github.com/PHPOffice/PhpSpreadsheet/issues/456)
+- `Coordinate::extractAllCellReferencesInRange()` throws an exception for an invalid range [#519](https://github.com/PHPOffice/PhpSpreadsheet/issues/519)
+- Fixed parsing of conditionals in COUNTIF functions [#526](https://github.com/PHPOffice/PhpSpreadsheet/issues/526)
+- Corruption errors for saved Xlsx docs with frozen panes [#532](https://github.com/PHPOffice/PhpSpreadsheet/issues/532)
+
+## 1.2.1 - 2018-04-10
+
+### Fixed
+
+- Plain text and richtext mixed in same cell can be read [#442](https://github.com/PHPOffice/PhpSpreadsheet/issues/442)
+
+## 1.2.0 - 2018-03-04
+
+### Added
+
+- HTML writer creates a generator meta tag [#312](https://github.com/PHPOffice/PhpSpreadsheet/issues/312)
+- Support invalid zoom value in XLSX format [#350](https://github.com/PHPOffice/PhpSpreadsheet/pull/350)
+- Support for `_xlfn.` prefixed functions and `ISFORMULA`, `MODE.SNGL`, `STDEV.S`, `STDEV.P` [#390](https://github.com/PHPOffice/PhpSpreadsheet/pull/390)
+
+### Fixed
+
+- Avoid potentially unsupported PSR-16 cache keys [#354](https://github.com/PHPOffice/PhpSpreadsheet/issues/354)
+- Check for MIME type to know if CSV reader can read a file [#167](https://github.com/PHPOffice/PhpSpreadsheet/issues/167)
+- Use proper € symbol for currency format [#379](https://github.com/PHPOffice/PhpSpreadsheet/pull/379)
+- Read printing area correctly when skipping some sheets [#371](https://github.com/PHPOffice/PhpSpreadsheet/issues/371)
+- Avoid incorrectly overwriting calculated value type [#394](https://github.com/PHPOffice/PhpSpreadsheet/issues/394)
+- Select correct cell when calling freezePane [#389](https://github.com/PHPOffice/PhpSpreadsheet/issues/389)
+- `setStrikethrough()` did not set the font [#403](https://github.com/PHPOffice/PhpSpreadsheet/issues/403)
+
+## 1.1.0 - 2018-01-28
+
+### Added
+
+- Support for PHP 7.2
+- Support cell comments in HTML writer and reader [#308](https://github.com/PHPOffice/PhpSpreadsheet/issues/308)
+- Option to stop at a conditional styling, if it matches (only XLSX format) [#292](https://github.com/PHPOffice/PhpSpreadsheet/pull/292)
+- Support for line width for data series when rendering Xlsx [#329](https://github.com/PHPOffice/PhpSpreadsheet/pull/329)
+
+### Fixed
+
+- Better auto-detection of CSV separators [#305](https://github.com/PHPOffice/PhpSpreadsheet/issues/305)
+- Support for shape style ending with `;` [#304](https://github.com/PHPOffice/PhpSpreadsheet/issues/304)
+- Freeze Panes takes wrong coordinates for XLSX [#322](https://github.com/PHPOffice/PhpSpreadsheet/issues/322)
+- `COLUMNS` and `ROWS` functions crashed in some cases [#336](https://github.com/PHPOffice/PhpSpreadsheet/issues/336)
+- Support XML file without styles [#331](https://github.com/PHPOffice/PhpSpreadsheet/pull/331)
+- Cell coordinates which are already a range cause an exception [#319](https://github.com/PHPOffice/PhpSpreadsheet/issues/319)
+
+## 1.0.0 - 2017-12-25
+
+### Added
+
+- Support to write merged cells in ODS format [#287](https://github.com/PHPOffice/PhpSpreadsheet/issues/287)
+- Able to set the `topLeftCell` in freeze panes [#261](https://github.com/PHPOffice/PhpSpreadsheet/pull/261)
+- Support `DateTimeImmutable` as cell value
+- Support migration of prefixed classes
+
+### Fixed
+
+- Can read very small HTML files [#194](https://github.com/PHPOffice/PhpSpreadsheet/issues/194)
+- Written DataValidation was corrupted [#290](https://github.com/PHPOffice/PhpSpreadsheet/issues/290)
+- Date format compatible with both LibreOffice and Excel [#298](https://github.com/PHPOffice/PhpSpreadsheet/issues/298)
+
+### BREAKING CHANGE
+
+- Constant `TYPE_DOUGHTNUTCHART` is now `TYPE_DOUGHNUTCHART`.
+
+## 1.0.0-beta2 - 2017-11-26
+
+### Added
+
+- Support for chart fill color - @CrazyBite [#158](https://github.com/PHPOffice/PhpSpreadsheet/pull/158)
+- Support for read Hyperlink for xml - @GreatHumorist [#223](https://github.com/PHPOffice/PhpSpreadsheet/pull/223)
+- Support for cell value validation according to data validation rules - @SailorMax [#257](https://github.com/PHPOffice/PhpSpreadsheet/pull/257)
+- Support for custom implementation, or configuration, of PDF libraries - @SailorMax [#266](https://github.com/PHPOffice/PhpSpreadsheet/pull/266)
+
+### Changed
+
+- Merge data-validations to reduce written worksheet size - @billblume [#131](https://github.com/PHPOffice/PhpSpreadSheet/issues/131)
+- Throws exception if a XML file is invalid - @GreatHumorist [#222](https://github.com/PHPOffice/PhpSpreadsheet/pull/222)
+- Upgrade to mPDF 7.0+ [#144](https://github.com/PHPOffice/PhpSpreadsheet/issues/144)
+
+### Fixed
+
+- Control characters in cell values are automatically escaped [#212](https://github.com/PHPOffice/PhpSpreadsheet/issues/212)
+- Prevent color changing when copy/pasting xls files written by PhpSpreadsheet to another file - @al-lala [#218](https://github.com/PHPOffice/PhpSpreadsheet/issues/218)
+- Add cell reference automatic when there is no cell reference('r' attribute) in Xlsx file. - @GreatHumorist [#225](https://github.com/PHPOffice/PhpSpreadsheet/pull/225) Refer to [#201](https://github.com/PHPOffice/PhpSpreadsheet/issues/201)
+- `Reader\Xlsx::getFromZipArchive()` function return false if the zip entry could not be located. - @anton-harvey [#268](https://github.com/PHPOffice/PhpSpreadsheet/pull/268)
+
+### BREAKING CHANGE
+
+- Extracted coordinate method to dedicate class [migration guide](./docs/topics/migration-from-PHPExcel.md).
+- Column indexes are based on 1, see the [migration guide](./docs/topics/migration-from-PHPExcel.md).
+- Standardization of array keys used for style, see the [migration guide](./docs/topics/migration-from-PHPExcel.md).
+- Easier usage of PDF writers, and other custom readers and writers, see the [migration guide](./docs/topics/migration-from-PHPExcel.md).
+- Easier usage of chart renderers, see the [migration guide](./docs/topics/migration-from-PHPExcel.md).
+- Rename a few more classes to keep them in their related namespaces:
+ - `CalcEngine` => `Calculation\Engine`
+ - `PhpSpreadsheet\Calculation` => `PhpSpreadsheet\Calculation\Calculation`
+ - `PhpSpreadsheet\Cell` => `PhpSpreadsheet\Cell\Cell`
+ - `PhpSpreadsheet\Chart` => `PhpSpreadsheet\Chart\Chart`
+ - `PhpSpreadsheet\RichText` => `PhpSpreadsheet\RichText\RichText`
+ - `PhpSpreadsheet\Style` => `PhpSpreadsheet\Style\Style`
+ - `PhpSpreadsheet\Worksheet` => `PhpSpreadsheet\Worksheet\Worksheet`
+
+## 1.0.0-beta - 2017-08-17
+
+### Added
+
+- Initial implementation of SUMIFS() function
+- Additional codepages
+- MemoryDrawing not working in HTML writer [#808](https://github.com/PHPOffice/PHPExcel/issues/808)
+- CSV Reader can auto-detect the separator used in file [#141](https://github.com/PHPOffice/PhpSpreadsheet/pull/141)
+- HTML Reader supports some basic inline styles [#180](https://github.com/PHPOffice/PhpSpreadsheet/pull/180)
+
+### Changed
+
+- Start following [SemVer](https://semver.org) properly.
+
+### Fixed
+
+- Fix to getCell() method when cell reference includes a worksheet reference - @MarkBaker
+- Ignore inlineStr type if formula element exists - @ncrypthic [#570](https://github.com/PHPOffice/PHPExcel/issues/570)
+- Excel 2007 Reader freezes because of conditional formatting - @rentalhost [#575](https://github.com/PHPOffice/PHPExcel/issues/575)
+- Readers will now parse files containing worksheet titles over 31 characters [#176](https://github.com/PHPOffice/PhpSpreadsheet/pull/176)
+- Fixed PHP8 deprecation warning for libxml_disable_entity_loader() [#1625](https://github.com/phpoffice/phpspreadsheet/pull/1625)
+
+### General
+
+- Whitespace after toRichTextObject() - @MarkBaker [#554](https://github.com/PHPOffice/PHPExcel/issues/554)
+- Optimize vlookup() sort - @umpirsky [#548](https://github.com/PHPOffice/PHPExcel/issues/548)
+- c:max and c:min elements shall NOT be inside c:orientation elements - @vitalyrepin [#869](https://github.com/PHPOffice/PHPExcel/pull/869)
+- Implement actual timezone adjustment into PHPExcel_Shared_Date::PHPToExcel - @sim642 [#489](https://github.com/PHPOffice/PHPExcel/pull/489)
+
+### BREAKING CHANGE
+
+- Introduction of namespaces for all classes, eg: `PHPExcel_Calculation_Functions` becomes `PhpOffice\PhpSpreadsheet\Calculation\Functions`
+- Some classes were renamed for clarity and/or consistency:
+
+For a comprehensive list of all class changes, and a semi-automated migration path, read the [migration guide](./docs/topics/migration-from-PHPExcel.md).
+
+- Dropped `PHPExcel_Calculation_Functions::VERSION()`. Composer or git should be used to know the version.
+- Dropped `PHPExcel_Settings::setPdfRenderer()` and `PHPExcel_Settings::setPdfRenderer()`. Composer should be used to autoload PDF libs.
+- Dropped support for HHVM
+
+## Previous versions of PHPExcel
+
+The changelog for the project when it was called PHPExcel is [still available](./CHANGELOG.PHPExcel.md).
+
+### Changed
+- Replace ezyang/htmlpurifier (LGPL2.1) with voku/anti-xss (MIT)
diff --git a/vendor/phpoffice/phpspreadsheet/CONTRIBUTING.md b/vendor/phpoffice/phpspreadsheet/CONTRIBUTING.md
new file mode 100644
index 0000000..e89e99e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/CONTRIBUTING.md
@@ -0,0 +1,45 @@
+# Want to contribute?
+
+If you would like to contribute, here are some notes and guidelines:
+
+ - All new development should be on feature/fix branches, which are then merged to the `master` branch once stable and approved; so the `master` branch is always the most up-to-date, working code
+ - If you are going to submit a pull request, please fork from `master`, and submit your pull request back as a fix/feature branch referencing the GitHub issue number
+ - The code must work with all PHP versions that we support.
+ - You can call `composer versions` to test version compatibility.
+ - Code style should be maintained.
+ - `composer style` will identify any issues with Coding Style`.
+ - `composer fix` will fix most issues with Coding Style.
+ - All code changes must be validated by `composer check`.
+ - Please include Unit Tests to verify that a bug exists, and that this PR fixes it.
+ - Please include Unit Tests to show that a new Feature works as expected.
+ - Please don't "bundle" several changes into a single PR; submit a PR for each discrete change/fix.
+ - Remember to update documentation if necessary.
+
+ - [Helpful article about forking](https://help.github.com/articles/fork-a-repo/ "Forking a GitHub repository")
+ - [Helpful article about pull requests](https://help.github.com/articles/using-pull-requests/ "Pull Requests")
+
+## Unit Tests
+
+When writing Unit Tests, please
+ - Always try to write Unit Tests for both the happy and unhappy paths.
+ - Put all assertions in the Test itself, not in an abstract class that the Test extends (even if this means code duplication between tests).
+ - Include any necessary `setup()` and `tearDown()` in the Test itself.
+ - If you change any global settings (such as system locale, or Compatibility Mode for Excel Function tests), make sure that you reset to the default in the `tearDown()`.
+ - Use the `ExcelError` functions in assertions for Excel Error values in Excel Function implementations.
+ Not only does it reduce the risk of typos; but at some point in the future, ExcelError values will be an object rather than a string, and we won't then need to update all the tests.
+ - Don't over-complicate test code by testing happy and unhappy paths in the same test.
+
+This makes it easier to see exactly what is being tested when reviewing the PR. I want to be able to see it in the PR, not have to hunt in other unchanged classes to see what the test is doing.
+
+## How to release
+
+1. Complete CHANGELOG.md and commit
+2. Create an annotated tag
+ 1. `git tag -a 1.2.3`
+ 2. Tag subject must be the version number, eg: `1.2.3`
+ 3. Tag body must be a copy-paste of the changelog entries.
+3. Push the tag with `git push --tags`, GitHub Actions will create a GitHub release automatically, and the release details will automatically be sent to packagist.
+4. Github seems to remove markdown headings in the Release Notes, so you should edit to restore these.
+
+> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.)
+
diff --git a/vendor/phpoffice/phpspreadsheet/LICENSE b/vendor/phpoffice/phpspreadsheet/LICENSE
new file mode 100644
index 0000000..3ec5723
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 PhpSpreadsheet Authors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/vendor/phpoffice/phpspreadsheet/README.md b/vendor/phpoffice/phpspreadsheet/README.md
new file mode 100644
index 0000000..b76b527
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/README.md
@@ -0,0 +1,144 @@
+# PhpSpreadsheet
+
+[](https://github.com/PHPOffice/PhpSpreadsheet/actions)
+[](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/?branch=master)
+[](https://scrutinizer-ci.com/g/PHPOffice/PhpSpreadsheet/?branch=master)
+[](https://packagist.org/packages/phpoffice/phpspreadsheet)
+[](https://packagist.org/packages/phpoffice/phpspreadsheet)
+[](https://packagist.org/packages/phpoffice/phpspreadsheet)
+[](https://gitter.im/PHPOffice/PhpSpreadsheet)
+
+PhpSpreadsheet is a library written in pure PHP and offers a set of classes that
+allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc.
+
+## PHP Version Support
+
+LTS: Support for PHP versions will only be maintained for a period of six months beyond the
+[end of life](https://www.php.net/supported-versions) of that PHP version.
+
+Currently the required PHP minimum version is PHP __8.0__, and we [will support that version](https://www.php.net/eol.php) until May 2024.
+
+See the `composer.json` for other requirements.
+
+## Installation
+
+Use [composer](https://getcomposer.org) to install PhpSpreadsheet into your project:
+
+```sh
+composer require phpoffice/phpspreadsheet
+```
+
+If you are building your installation on a development machine that is on a different PHP version to the server where it will be deployed, or if your PHP CLI version is not the same as your run-time such as `php-fpm` or Apache's `mod_php`, then you might want to add the following to your `composer.json` before installing:
+```json
+{
+ "require": {
+ "phpoffice/phpspreadsheet": "^1.28"
+ },
+ "config": {
+ "platform": {
+ "php": "8.0"
+ }
+ }
+}
+```
+and then run
+```sh
+composer install
+```
+to ensure that the correct dependencies are retrieved to match your deployment environment.
+
+See [CLI vs Application run-time](https://php.watch/articles/composer-platform-check) for more details.
+
+### Additional Installation Options
+
+If you want to write to PDF, or to include Charts when you write to HTML or PDF, then you will need to install additional libraries:
+
+#### PDF
+
+For PDF Generation, you can install any of the following, and then configure PhpSpreadsheet to indicate which library you are going to use:
+ - mpdf/mpdf
+ - dompdf/dompdf
+ - tecnickcom/tcpdf
+
+and configure PhpSpreadsheet using:
+
+```php
+// Dompdf, Mpdf or Tcpdf (as appropriate)
+$className = \PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf::class;
+IOFactory::registerWriter('Pdf', $className);
+```
+or the appropriate PDF Writer wrapper for the library that you have chosen to install.
+
+#### Chart Export
+
+For Chart export, we support following packages, which you will also need to install yourself using `composer require`
+ - [jpgraph/jpgraph](https://packagist.org/packages/jpgraph/jpgraph) (this package was abandoned at version 4.0.
+ You can manually download the latest version that supports PHP 8 and above from [jpgraph.net](https://jpgraph.net/))
+ - [mitoteam/jpgraph](https://packagist.org/packages/mitoteam/jpgraph) - up to date fork with modern PHP versions support and some bugs fixed.
+
+and then configure PhpSpreadsheet using:
+```php
+// to use jpgraph/jpgraph
+Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\JpGraph::class);
+//or
+// to use mitoteam/jpgraph
+Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\MtJpGraphRenderer::class);
+```
+
+One or the other of these libraries is necessary if you want to generate HTML or PDF files that include charts; or to render a Chart to an Image format from within your code.
+They are not necessary to define charts for writing to `Xlsx` files.
+Other file formats don't support writing Charts.
+
+## Documentation
+
+Read more about it, including install instructions, in the [official documentation](https://phpspreadsheet.readthedocs.io). Or check out the [API documentation](https://phpoffice.github.io/PhpSpreadsheet).
+
+Please ask your support questions on [StackOverflow](https://stackoverflow.com/questions/tagged/phpspreadsheet), or have a quick chat on [Gitter](https://gitter.im/PHPOffice/PhpSpreadsheet).
+
+## Patreon
+
+I am now running a [Patreon](https://www.patreon.com/MarkBaker) to support the work that I do on PhpSpreadsheet.
+
+Supporters will receive access to articles about working with PhpSpreadsheet, and how to use some of its more advanced features.
+
+Posts already available to Patreon supporters:
+ - The Dating Game
+ - A look at how MS Excel (and PhpSpreadsheet) handle date and time values.
+- Looping the Loop
+ - Advice on Iterating through the rows and cells in a worksheet.
+
+And for Patrons at levels actively using PhpSpreadsheet:
+ - Behind the Mask
+ - A look at Number Format Masks.
+
+The Next Article (currently Work in Progress):
+ - Formula for Success
+ - How to debug formulae that don't produce the expected result.
+
+
+My aim is to post at least one article each month, taking a detailed look at some feature of MS Excel and how to use that feature in PhpSpreadsheet, or on how to perform different activities in PhpSpreadsheet.
+
+Planned posts for the future include topics like:
+ - Tables
+ - Structured References
+ - AutoFiltering
+ - Array Formulae
+ - Conditional Formatting
+ - Data Validation
+ - Value Binders
+ - Images
+ - Charts
+
+After a period of six months exclusive to Patreon supporters, articles will be incorporated into the public documentation for the library.
+
+## PHPExcel vs PhpSpreadsheet ?
+
+PhpSpreadsheet is the next version of PHPExcel. It breaks compatibility to dramatically improve the code base quality (namespaces, PSR compliance, use of latest PHP language features, etc.).
+
+Because all efforts have shifted to PhpSpreadsheet, PHPExcel will no longer be maintained. All contributions for PHPExcel, patches and new features, should target PhpSpreadsheet `master` branch.
+
+Do you need to migrate? There is [an automated tool](/docs/topics/migration-from-PHPExcel.md) for that.
+
+## License
+
+PhpSpreadsheet is licensed under [MIT](https://github.com/PHPOffice/PhpSpreadsheet/blob/master/LICENSE).
diff --git a/vendor/phpoffice/phpspreadsheet/composer.json b/vendor/phpoffice/phpspreadsheet/composer.json
new file mode 100644
index 0000000..feec991
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/composer.json
@@ -0,0 +1,121 @@
+{
+ "name": "phpoffice/phpspreadsheet",
+ "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine",
+ "keywords": [
+ "PHP",
+ "OpenXML",
+ "Excel",
+ "xlsx",
+ "xls",
+ "ods",
+ "gnumeric",
+ "spreadsheet"
+ ],
+ "config": {
+ "platform": {
+ "php" : "8.0.99"
+ },
+ "sort-packages": true,
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ }
+ },
+ "homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
+ "type": "library",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Maarten Balliauw",
+ "homepage": "https://blog.maartenballiauw.be"
+ },
+ {
+ "name": "Mark Baker",
+ "homepage": "https://markbakeruk.net"
+ },
+ {
+ "name": "Franck Lefevre",
+ "homepage": "https://rootslabs.net"
+ },
+ {
+ "name": "Erik Tilt"
+ },
+ {
+ "name": "Adrien Crivelli"
+ }
+ ],
+ "scripts": {
+ "check": [
+ "./bin/check-phpdoc-types",
+ "phpcs src/ tests/ --report=checkstyle",
+ "phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 8.0- -n",
+ "php-cs-fixer fix --ansi --dry-run --diff",
+ "phpunit --color=always",
+ "phpstan analyse --ansi --memory-limit=2048M"
+ ],
+ "style": [
+ "phpcs src/ tests/ --report=checkstyle",
+ "php-cs-fixer fix --ansi --dry-run --diff"
+ ],
+ "fix": [
+ "phpcbf src/ tests/ --report=checkstyle",
+ "php-cs-fixer fix"
+ ],
+ "versions": [
+ "phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PHPCompatibility --runtime-set testVersion 8.0- -n"
+ ]
+ },
+ "require": {
+ "php": "^8.0",
+ "ext-ctype": "*",
+ "ext-dom": "*",
+ "ext-fileinfo": "*",
+ "ext-gd": "*",
+ "ext-iconv": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-simplexml": "*",
+ "ext-xml": "*",
+ "ext-xmlreader": "*",
+ "ext-xmlwriter": "*",
+ "ext-zip": "*",
+ "ext-zlib": "*",
+ "maennchen/zipstream-php": "^2.1 || ^3.0",
+ "markbaker/complex": "^3.0",
+ "markbaker/matrix": "^3.0",
+ "psr/http-client": "^1.0",
+ "psr/http-factory": "^1.0",
+ "psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
+ "voku/anti-xss": "^4.1"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "dev-main",
+ "dompdf/dompdf": "^2.0",
+ "friendsofphp/php-cs-fixer": "^3.2",
+ "mitoteam/jpgraph": "^10.3",
+ "mpdf/mpdf": "^8.1.1",
+ "phpcompatibility/php-compatibility": "^9.3",
+ "phpstan/phpstan": "^1.1",
+ "phpstan/phpstan-phpunit": "^1.0",
+ "phpunit/phpunit": "^9.6",
+ "squizlabs/php_codesniffer": "^3.7",
+ "tecnickcom/tcpdf": "^6.5"
+ },
+ "suggest": {
+ "ext-intl": "PHP Internationalization Functions",
+ "mpdf/mpdf": "Option for rendering PDF with PDF Writer",
+ "dompdf/dompdf": "Option for rendering PDF with PDF Writer",
+ "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer",
+ "mitoteam/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers"
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "PhpOffice\\PhpSpreadsheetTests\\": "tests/PhpSpreadsheetTests",
+ "PhpOffice\\PhpSpreadsheetInfra\\": "infra"
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/phpstan-baseline.neon b/vendor/phpoffice/phpspreadsheet/phpstan-baseline.neon
new file mode 100644
index 0000000..c976234
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/phpstan-baseline.neon
@@ -0,0 +1,6 @@
+parameters:
+ ignoreErrors:
+ -
+ message: "#^Binary operation \"/\" between float and array\\|float\\|int\\|string results in an error\\.$#"
+ count: 1
+ path: src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php
diff --git a/vendor/phpoffice/phpspreadsheet/phpstan.neon.dist b/vendor/phpoffice/phpspreadsheet/phpstan.neon.dist
new file mode 100644
index 0000000..de87870
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/phpstan.neon.dist
@@ -0,0 +1,28 @@
+includes:
+ - phpstan-baseline.neon
+ - vendor/phpstan/phpstan-phpunit/extension.neon
+ - vendor/phpstan/phpstan-phpunit/rules.neon
+
+parameters:
+ level: 8
+ paths:
+ - src/
+ - tests/
+ - samples/
+ - infra/
+ - bin/generate-document
+ - bin/generate-locales
+ excludePaths:
+ - src/PhpSpreadsheet/Chart/Renderer/JpGraph.php
+ - src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php
+ - src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php
+ - src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php
+ - src/PhpSpreadsheet/Writer/ZipStream2.php
+ - src/PhpSpreadsheet/Writer/ZipStream3.php
+ parallel:
+ processTimeout: 300.0
+ checkMissingIterableValueType: false
+ ignoreErrors:
+ # Accept a bit anything for assert methods
+ - '~^Parameter \#2 .* of static method PHPUnit\\Framework\\Assert\:\:assert\w+\(\) expects .*, .* given\.$~'
+ - '~^Variable \$helper might not be defined\.$~'
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ArrayEnabled.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ArrayEnabled.php
new file mode 100644
index 0000000..e20203a
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ArrayEnabled.php
@@ -0,0 +1,122 @@
+initialise(($arguments === false) ? [] : $arguments);
+ }
+
+ /**
+ * Handles array argument processing when the function accepts a single argument that can be an array argument.
+ * Example use for:
+ * DAYOFMONTH() or FACT().
+ */
+ protected static function evaluateSingleArgumentArray(callable $method, array $values): array
+ {
+ $result = [];
+ foreach ($values as $value) {
+ $result[] = $method($value);
+ }
+
+ return $result;
+ }
+
+ /**
+ * Handles array argument processing when the function accepts multiple arguments,
+ * and any of them can be an array argument.
+ * Example use for:
+ * ROUND() or DATE().
+ */
+ protected static function evaluateArrayArguments(callable $method, mixed ...$arguments): array
+ {
+ self::initialiseHelper($arguments);
+ $arguments = self::$arrayArgumentHelper->arguments();
+
+ return ArrayArgumentProcessor::processArguments(self::$arrayArgumentHelper, $method, ...$arguments);
+ }
+
+ /**
+ * Handles array argument processing when the function accepts multiple arguments,
+ * but only the first few (up to limit) can be an array arguments.
+ * Example use for:
+ * NETWORKDAYS() or CONCATENATE(), where the last argument is a matrix (or a series of values) that need
+ * to be treated as a such rather than as an array arguments.
+ */
+ protected static function evaluateArrayArgumentsSubset(callable $method, int $limit, mixed ...$arguments): array
+ {
+ self::initialiseHelper(array_slice($arguments, 0, $limit));
+ $trailingArguments = array_slice($arguments, $limit);
+ $arguments = self::$arrayArgumentHelper->arguments();
+ $arguments = array_merge($arguments, $trailingArguments);
+
+ return ArrayArgumentProcessor::processArguments(self::$arrayArgumentHelper, $method, ...$arguments);
+ }
+
+ private static function testFalse(mixed $value): bool
+ {
+ return $value === false;
+ }
+
+ /**
+ * Handles array argument processing when the function accepts multiple arguments,
+ * but only the last few (from start) can be an array arguments.
+ * Example use for:
+ * Z.TEST() or INDEX(), where the first argument 1 is a matrix that needs to be treated as a dataset
+ * rather than as an array argument.
+ */
+ protected static function evaluateArrayArgumentsSubsetFrom(callable $method, int $start, mixed ...$arguments): array
+ {
+ $arrayArgumentsSubset = array_combine(
+ range($start, count($arguments) - $start),
+ array_slice($arguments, $start)
+ );
+ if (self::testFalse($arrayArgumentsSubset)) {
+ return ['#VALUE!'];
+ }
+
+ self::initialiseHelper($arrayArgumentsSubset);
+ $leadingArguments = array_slice($arguments, 0, $start);
+ $arguments = self::$arrayArgumentHelper->arguments();
+ $arguments = array_merge($leadingArguments, $arguments);
+
+ return ArrayArgumentProcessor::processArguments(self::$arrayArgumentHelper, $method, ...$arguments);
+ }
+
+ /**
+ * Handles array argument processing when the function accepts multiple arguments,
+ * and any of them can be an array argument except for the one specified by ignore.
+ * Example use for:
+ * HLOOKUP() and VLOOKUP(), where argument 1 is a matrix that needs to be treated as a database
+ * rather than as an array argument.
+ */
+ protected static function evaluateArrayArgumentsIgnore(callable $method, int $ignore, mixed ...$arguments): array
+ {
+ $leadingArguments = array_slice($arguments, 0, $ignore);
+ $ignoreArgument = array_slice($arguments, $ignore, 1);
+ $trailingArguments = array_slice($arguments, $ignore + 1);
+
+ self::initialiseHelper(array_merge($leadingArguments, [[null]], $trailingArguments));
+ $arguments = self::$arrayArgumentHelper->arguments();
+
+ array_splice($arguments, $ignore, 1, $ignoreArgument);
+
+ return ArrayArgumentProcessor::processArguments(self::$arrayArgumentHelper, $method, ...$arguments);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/BinaryComparison.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/BinaryComparison.php
new file mode 100644
index 0000000..6b6dd97
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/BinaryComparison.php
@@ -0,0 +1,136 @@
+ '' && $operand1[0] == Calculation::FORMULA_STRING_QUOTE) {
+ $operand1 = Calculation::unwrapResult($operand1);
+ }
+ if (is_string($operand2) && $operand2 > '' && $operand2[0] == Calculation::FORMULA_STRING_QUOTE) {
+ $operand2 = Calculation::unwrapResult($operand2);
+ }
+
+ // Use case insensitive comparaison if not OpenOffice mode
+ if (Functions::getCompatibilityMode() != Functions::COMPATIBILITY_OPENOFFICE) {
+ if (is_string($operand1)) {
+ $operand1 = StringHelper::strToUpper($operand1);
+ }
+ if (is_string($operand2)) {
+ $operand2 = StringHelper::strToUpper($operand2);
+ }
+ }
+
+ $useLowercaseFirstComparison = is_string($operand1)
+ && is_string($operand2)
+ && Functions::getCompatibilityMode() === Functions::COMPATIBILITY_OPENOFFICE;
+
+ return self::evaluateComparison($operand1, $operand2, $operator, $useLowercaseFirstComparison);
+ }
+
+ private static function evaluateComparison(mixed $operand1, mixed $operand2, string $operator, bool $useLowercaseFirstComparison): bool
+ {
+ return match ($operator) {
+ '=' => self::equal($operand1, $operand2),
+ '>' => self::greaterThan($operand1, $operand2, $useLowercaseFirstComparison),
+ '<' => self::lessThan($operand1, $operand2, $useLowercaseFirstComparison),
+ '>=' => self::greaterThanOrEqual($operand1, $operand2, $useLowercaseFirstComparison),
+ '<=' => self::lessThanOrEqual($operand1, $operand2, $useLowercaseFirstComparison),
+ '<>' => self::notEqual($operand1, $operand2),
+ default => throw new Exception('Unsupported binary comparison operator'),
+ };
+ }
+
+ private static function equal(mixed $operand1, mixed $operand2): bool
+ {
+ if (is_numeric($operand1) && is_numeric($operand2)) {
+ $result = (abs($operand1 - $operand2) < self::DELTA);
+ } elseif (($operand1 === null && is_numeric($operand2)) || ($operand2 === null && is_numeric($operand1))) {
+ $result = $operand1 == $operand2;
+ } else {
+ $result = self::strcmpAllowNull($operand1, $operand2) == 0;
+ }
+
+ return $result;
+ }
+
+ private static function greaterThanOrEqual(mixed $operand1, mixed $operand2, bool $useLowercaseFirstComparison): bool
+ {
+ if (is_numeric($operand1) && is_numeric($operand2)) {
+ $result = ((abs($operand1 - $operand2) < self::DELTA) || ($operand1 > $operand2));
+ } elseif (($operand1 === null && is_numeric($operand2)) || ($operand2 === null && is_numeric($operand1))) {
+ $result = $operand1 >= $operand2;
+ } elseif ($useLowercaseFirstComparison) {
+ $result = self::strcmpLowercaseFirst($operand1, $operand2) >= 0;
+ } else {
+ $result = self::strcmpAllowNull($operand1, $operand2) >= 0;
+ }
+
+ return $result;
+ }
+
+ private static function lessThanOrEqual(mixed $operand1, mixed $operand2, bool $useLowercaseFirstComparison): bool
+ {
+ if (is_numeric($operand1) && is_numeric($operand2)) {
+ $result = ((abs($operand1 - $operand2) < self::DELTA) || ($operand1 < $operand2));
+ } elseif (($operand1 === null && is_numeric($operand2)) || ($operand2 === null && is_numeric($operand1))) {
+ $result = $operand1 <= $operand2;
+ } elseif ($useLowercaseFirstComparison) {
+ $result = self::strcmpLowercaseFirst($operand1, $operand2) <= 0;
+ } else {
+ $result = self::strcmpAllowNull($operand1, $operand2) <= 0;
+ }
+
+ return $result;
+ }
+
+ private static function greaterThan(mixed $operand1, mixed $operand2, bool $useLowercaseFirstComparison): bool
+ {
+ return self::lessThanOrEqual($operand1, $operand2, $useLowercaseFirstComparison) !== true;
+ }
+
+ private static function lessThan(mixed $operand1, mixed $operand2, bool $useLowercaseFirstComparison): bool
+ {
+ return self::greaterThanOrEqual($operand1, $operand2, $useLowercaseFirstComparison) !== true;
+ }
+
+ private static function notEqual(mixed $operand1, mixed $operand2): bool
+ {
+ return self::equal($operand1, $operand2) !== true;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php
new file mode 100644
index 0000000..03800f0
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php
@@ -0,0 +1,5759 @@
+=:`-]*)|(\'(?:[^\']|\'[^!])+?\')|(\"(?:[^\"]|\"[^!])+?\"))!)?\$?\b([a-z]{1,3})\$?(\d{1,7})(?![\w.])';
+ // Cell reference (with or without a sheet reference) ensuring absolute/relative
+ const CALCULATION_REGEXP_CELLREF_RELATIVE = '((([^\s\(,!&%^\/\*\+<>=:`-]*)|(\'(?:[^\']|\'[^!])+?\')|(\"(?:[^\"]|\"[^!])+?\"))!)?(\$?\b[a-z]{1,3})(\$?\d{1,7})(?![\w.])';
+ const CALCULATION_REGEXP_COLUMN_RANGE = '(((([^\s\(,!&%^\/\*\+<>=:`-]*)|(\'(?:[^\']|\'[^!])+?\')|(\".(?:[^\"]|\"[^!])?\"))!)?(\$?[a-z]{1,3})):(?![.*])';
+ const CALCULATION_REGEXP_ROW_RANGE = '(((([^\s\(,!&%^\/\*\+<>=:`-]*)|(\'(?:[^\']|\'[^!])+?\')|(\"(?:[^\"]|\"[^!])+?\"))!)?(\$?[1-9][0-9]{0,6})):(?![.*])';
+ // Cell reference (with or without a sheet reference) ensuring absolute/relative
+ // Cell ranges ensuring absolute/relative
+ const CALCULATION_REGEXP_COLUMNRANGE_RELATIVE = '(\$?[a-z]{1,3}):(\$?[a-z]{1,3})';
+ const CALCULATION_REGEXP_ROWRANGE_RELATIVE = '(\$?\d{1,7}):(\$?\d{1,7})';
+ // Defined Names: Named Range of cells, or Named Formulae
+ const CALCULATION_REGEXP_DEFINEDNAME = '((([^\s,!&%^\/\*\+<>=-]*)|(\'(?:[^\']|\'[^!])+?\')|(\"(?:[^\"]|\"[^!])+?\"))!)?([_\p{L}][_\p{L}\p{N}\.]*)';
+ // Structured Reference (Fully Qualified and Unqualified)
+ const CALCULATION_REGEXP_STRUCTURED_REFERENCE = '([\p{L}_\\\\][\p{L}\p{N}\._]+)?(\[(?:[^\d\]+-])?)';
+ // Error
+ const CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?';
+
+ /** constants */
+ const RETURN_ARRAY_AS_ERROR = 'error';
+ const RETURN_ARRAY_AS_VALUE = 'value';
+ const RETURN_ARRAY_AS_ARRAY = 'array';
+
+ const FORMULA_OPEN_FUNCTION_BRACE = '(';
+ const FORMULA_CLOSE_FUNCTION_BRACE = ')';
+ const FORMULA_OPEN_MATRIX_BRACE = '{';
+ const FORMULA_CLOSE_MATRIX_BRACE = '}';
+ const FORMULA_STRING_QUOTE = '"';
+
+ /** @var string */
+ private static $returnArrayAsType = self::RETURN_ARRAY_AS_VALUE;
+
+ /**
+ * Instance of this class.
+ *
+ * @var ?Calculation
+ */
+ private static $instance;
+
+ /**
+ * Instance of the spreadsheet this Calculation Engine is using.
+ */
+ private ?Spreadsheet $spreadsheet;
+
+ /**
+ * Calculation cache.
+ *
+ * @var array
+ */
+ private $calculationCache = [];
+
+ /**
+ * Calculation cache enabled.
+ *
+ * @var bool
+ */
+ private $calculationCacheEnabled = true;
+
+ private BranchPruner $branchPruner;
+
+ /**
+ * @var bool
+ */
+ private $branchPruningEnabled = true;
+
+ /**
+ * List of operators that can be used within formulae
+ * The true/false value indicates whether it is a binary operator or a unary operator.
+ */
+ private const CALCULATION_OPERATORS = [
+ '+' => true, '-' => true, '*' => true, '/' => true,
+ '^' => true, '&' => true, '%' => false, '~' => false,
+ '>' => true, '<' => true, '=' => true, '>=' => true,
+ '<=' => true, '<>' => true, '∩' => true, '∪' => true,
+ ':' => true,
+ ];
+
+ /**
+ * List of binary operators (those that expect two operands).
+ */
+ private const BINARY_OPERATORS = [
+ '+' => true, '-' => true, '*' => true, '/' => true,
+ '^' => true, '&' => true, '>' => true, '<' => true,
+ '=' => true, '>=' => true, '<=' => true, '<>' => true,
+ '∩' => true, '∪' => true, ':' => true,
+ ];
+
+ /**
+ * The debug log generated by the calculation engine.
+ */
+ private Logger $debugLog;
+
+ /**
+ * Flag to determine how formula errors should be handled
+ * If true, then a user error will be triggered
+ * If false, then an exception will be thrown.
+ *
+ * @var ?bool
+ *
+ * @deprecated 1.25.2 use setSuppressFormulaErrors() instead
+ */
+ public $suppressFormulaErrors;
+
+ /** @var bool */
+ private $suppressFormulaErrorsNew = false;
+
+ /**
+ * Error message for any error that was raised/thrown by the calculation engine.
+ *
+ * @var null|string
+ */
+ public $formulaError;
+
+ /**
+ * Reference Helper.
+ */
+ private static ReferenceHelper $referenceHelper;
+
+ /**
+ * An array of the nested cell references accessed by the calculation engine, used for the debug log.
+ */
+ private CyclicReferenceStack $cyclicReferenceStack;
+
+ /** @var array */
+ private $cellStack = [];
+
+ /**
+ * Current iteration counter for cyclic formulae
+ * If the value is 0 (or less) then cyclic formulae will throw an exception,
+ * otherwise they will iterate to the limit defined here before returning a result.
+ *
+ * @var int
+ */
+ private $cyclicFormulaCounter = 1;
+
+ /** @var string */
+ private $cyclicFormulaCell = '';
+
+ /**
+ * Number of iterations for cyclic formulae.
+ *
+ * @var int
+ */
+ public $cyclicFormulaCount = 1;
+
+ /**
+ * The current locale setting.
+ *
+ * @var string
+ */
+ private static $localeLanguage = 'en_us'; // US English (default locale)
+
+ /**
+ * List of available locale settings
+ * Note that this is read for the locale subdirectory only when requested.
+ *
+ * @var string[]
+ */
+ private static $validLocaleLanguages = [
+ 'en', // English (default language)
+ ];
+
+ /**
+ * Locale-specific argument separator for function arguments.
+ *
+ * @var string
+ */
+ private static $localeArgumentSeparator = ',';
+
+ /** @var array */
+ private static $localeFunctions = [];
+
+ /**
+ * Locale-specific translations for Excel constants (True, False and Null).
+ *
+ * @var array
+ */
+ private static $localeBoolean = [
+ 'TRUE' => 'TRUE',
+ 'FALSE' => 'FALSE',
+ 'NULL' => 'NULL',
+ ];
+
+ public static function getLocaleBoolean(string $index): string
+ {
+ return self::$localeBoolean[$index];
+ }
+
+ /**
+ * Excel constant string translations to their PHP equivalents
+ * Constant conversion from text name/value to actual (datatyped) value.
+ *
+ * @var array
+ */
+ private static $excelConstants = [
+ 'TRUE' => true,
+ 'FALSE' => false,
+ 'NULL' => null,
+ ];
+
+ public static function keyInExcelConstants(string $key): bool
+ {
+ return array_key_exists($key, self::$excelConstants);
+ }
+
+ /** @return mixed */
+ public static function getExcelConstants(string $key)
+ {
+ return self::$excelConstants[$key];
+ }
+
+ /**
+ * Array of functions usable on Spreadsheet.
+ * In theory, this could be const rather than static;
+ * however, Phpstan breaks trying to analyze it when attempted.
+ *
+ *@var array
+ */
+ private static $phpSpreadsheetFunctions = [
+ 'ABS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Absolute::class, 'evaluate'],
+ 'argumentCount' => '1',
+ ],
+ 'ACCRINT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\AccruedInterest::class, 'periodic'],
+ 'argumentCount' => '4-8',
+ ],
+ 'ACCRINTM' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\AccruedInterest::class, 'atMaturity'],
+ 'argumentCount' => '3-5',
+ ],
+ 'ACOS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cosine::class, 'acos'],
+ 'argumentCount' => '1',
+ ],
+ 'ACOSH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cosine::class, 'acosh'],
+ 'argumentCount' => '1',
+ ],
+ 'ACOT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cotangent::class, 'acot'],
+ 'argumentCount' => '1',
+ ],
+ 'ACOTH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cotangent::class, 'acoth'],
+ 'argumentCount' => '1',
+ ],
+ 'ADDRESS' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Address::class, 'cell'],
+ 'argumentCount' => '2-5',
+ ],
+ 'AGGREGATE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3+',
+ ],
+ 'AMORDEGRC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Amortization::class, 'AMORDEGRC'],
+ 'argumentCount' => '6,7',
+ ],
+ 'AMORLINC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Amortization::class, 'AMORLINC'],
+ 'argumentCount' => '6,7',
+ ],
+ 'ANCHORARRAY' => [
+ 'category' => Category::CATEGORY_UNCATEGORISED,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'AND' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Operations::class, 'logicalAnd'],
+ 'argumentCount' => '1+',
+ ],
+ 'ARABIC' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Arabic::class, 'evaluate'],
+ 'argumentCount' => '1',
+ ],
+ 'AREAS' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'ARRAYTOTEXT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Text::class, 'fromArray'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ASC' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'ASIN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Sine::class, 'asin'],
+ 'argumentCount' => '1',
+ ],
+ 'ASINH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Sine::class, 'asinh'],
+ 'argumentCount' => '1',
+ ],
+ 'ATAN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Tangent::class, 'atan'],
+ 'argumentCount' => '1',
+ ],
+ 'ATAN2' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Tangent::class, 'atan2'],
+ 'argumentCount' => '2',
+ ],
+ 'ATANH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Tangent::class, 'atanh'],
+ 'argumentCount' => '1',
+ ],
+ 'AVEDEV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages::class, 'averageDeviations'],
+ 'argumentCount' => '1+',
+ ],
+ 'AVERAGE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages::class, 'average'],
+ 'argumentCount' => '1+',
+ ],
+ 'AVERAGEA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages::class, 'averageA'],
+ 'argumentCount' => '1+',
+ ],
+ 'AVERAGEIF' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Conditional::class, 'AVERAGEIF'],
+ 'argumentCount' => '2,3',
+ ],
+ 'AVERAGEIFS' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Conditional::class, 'AVERAGEIFS'],
+ 'argumentCount' => '3+',
+ ],
+ 'BAHTTEXT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'BASE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Base::class, 'evaluate'],
+ 'argumentCount' => '2,3',
+ ],
+ 'BESSELI' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BesselI::class, 'BESSELI'],
+ 'argumentCount' => '2',
+ ],
+ 'BESSELJ' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BesselJ::class, 'BESSELJ'],
+ 'argumentCount' => '2',
+ ],
+ 'BESSELK' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BesselK::class, 'BESSELK'],
+ 'argumentCount' => '2',
+ ],
+ 'BESSELY' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BesselY::class, 'BESSELY'],
+ 'argumentCount' => '2',
+ ],
+ 'BETADIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Beta::class, 'distribution'],
+ 'argumentCount' => '3-5',
+ ],
+ 'BETA.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '4-6',
+ ],
+ 'BETAINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Beta::class, 'inverse'],
+ 'argumentCount' => '3-5',
+ ],
+ 'BETA.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Beta::class, 'inverse'],
+ 'argumentCount' => '3-5',
+ ],
+ 'BIN2DEC' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertBinary::class, 'toDecimal'],
+ 'argumentCount' => '1',
+ ],
+ 'BIN2HEX' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertBinary::class, 'toHex'],
+ 'argumentCount' => '1,2',
+ ],
+ 'BIN2OCT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertBinary::class, 'toOctal'],
+ 'argumentCount' => '1,2',
+ ],
+ 'BINOMDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Binomial::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'BINOM.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Binomial::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'BINOM.DIST.RANGE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Binomial::class, 'range'],
+ 'argumentCount' => '3,4',
+ ],
+ 'BINOM.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Binomial::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'BITAND' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BitWise::class, 'BITAND'],
+ 'argumentCount' => '2',
+ ],
+ 'BITOR' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BitWise::class, 'BITOR'],
+ 'argumentCount' => '2',
+ ],
+ 'BITXOR' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BitWise::class, 'BITXOR'],
+ 'argumentCount' => '2',
+ ],
+ 'BITLSHIFT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BitWise::class, 'BITLSHIFT'],
+ 'argumentCount' => '2',
+ ],
+ 'BITRSHIFT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\BitWise::class, 'BITRSHIFT'],
+ 'argumentCount' => '2',
+ ],
+ 'BYCOL' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'BYROW' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'CEILING' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Ceiling::class, 'ceiling'],
+ 'argumentCount' => '1-2', // 2 for Excel, 1-2 for Ods/Gnumeric
+ ],
+ 'CEILING.MATH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Ceiling::class, 'math'],
+ 'argumentCount' => '1-3',
+ ],
+ 'CEILING.PRECISE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Ceiling::class, 'precise'],
+ 'argumentCount' => '1,2',
+ ],
+ 'CELL' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1,2',
+ ],
+ 'CHAR' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CharacterConvert::class, 'character'],
+ 'argumentCount' => '1',
+ ],
+ 'CHIDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'distributionRightTail'],
+ 'argumentCount' => '2',
+ ],
+ 'CHISQ.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'distributionLeftTail'],
+ 'argumentCount' => '3',
+ ],
+ 'CHISQ.DIST.RT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'distributionRightTail'],
+ 'argumentCount' => '2',
+ ],
+ 'CHIINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'inverseRightTail'],
+ 'argumentCount' => '2',
+ ],
+ 'CHISQ.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'inverseLeftTail'],
+ 'argumentCount' => '2',
+ ],
+ 'CHISQ.INV.RT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'inverseRightTail'],
+ 'argumentCount' => '2',
+ ],
+ 'CHITEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'test'],
+ 'argumentCount' => '2',
+ ],
+ 'CHISQ.TEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\ChiSquared::class, 'test'],
+ 'argumentCount' => '2',
+ ],
+ 'CHOOSE' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Selection::class, 'CHOOSE'],
+ 'argumentCount' => '2+',
+ ],
+ 'CHOOSECOLS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2+',
+ ],
+ 'CHOOSEROWS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2+',
+ ],
+ 'CLEAN' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Trim::class, 'nonPrintable'],
+ 'argumentCount' => '1',
+ ],
+ 'CODE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CharacterConvert::class, 'code'],
+ 'argumentCount' => '1',
+ ],
+ 'COLUMN' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\RowColumnInformation::class, 'COLUMN'],
+ 'argumentCount' => '-1',
+ 'passCellReference' => true,
+ 'passByReference' => [true],
+ ],
+ 'COLUMNS' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\RowColumnInformation::class, 'COLUMNS'],
+ 'argumentCount' => '1',
+ ],
+ 'COMBIN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Combinations::class, 'withoutRepetition'],
+ 'argumentCount' => '2',
+ ],
+ 'COMBINA' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Combinations::class, 'withRepetition'],
+ 'argumentCount' => '2',
+ ],
+ 'COMPLEX' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Complex::class, 'COMPLEX'],
+ 'argumentCount' => '2,3',
+ ],
+ 'CONCAT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Concatenate::class, 'CONCATENATE'],
+ 'argumentCount' => '1+',
+ ],
+ 'CONCATENATE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Concatenate::class, 'CONCATENATE'],
+ 'argumentCount' => '1+',
+ ],
+ 'CONFIDENCE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Confidence::class, 'CONFIDENCE'],
+ 'argumentCount' => '3',
+ ],
+ 'CONFIDENCE.NORM' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Confidence::class, 'CONFIDENCE'],
+ 'argumentCount' => '3',
+ ],
+ 'CONFIDENCE.T' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'CONVERT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertUOM::class, 'CONVERT'],
+ 'argumentCount' => '3',
+ ],
+ 'CORREL' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'CORREL'],
+ 'argumentCount' => '2',
+ ],
+ 'COS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cosine::class, 'cos'],
+ 'argumentCount' => '1',
+ ],
+ 'COSH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cosine::class, 'cosh'],
+ 'argumentCount' => '1',
+ ],
+ 'COT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cotangent::class, 'cot'],
+ 'argumentCount' => '1',
+ ],
+ 'COTH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cotangent::class, 'coth'],
+ 'argumentCount' => '1',
+ ],
+ 'COUNT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Counts::class, 'COUNT'],
+ 'argumentCount' => '1+',
+ ],
+ 'COUNTA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Counts::class, 'COUNTA'],
+ 'argumentCount' => '1+',
+ ],
+ 'COUNTBLANK' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Counts::class, 'COUNTBLANK'],
+ 'argumentCount' => '1',
+ ],
+ 'COUNTIF' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Conditional::class, 'COUNTIF'],
+ 'argumentCount' => '2',
+ ],
+ 'COUNTIFS' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Conditional::class, 'COUNTIFS'],
+ 'argumentCount' => '2+',
+ ],
+ 'COUPDAYBS' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Coupons::class, 'COUPDAYBS'],
+ 'argumentCount' => '3,4',
+ ],
+ 'COUPDAYS' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Coupons::class, 'COUPDAYS'],
+ 'argumentCount' => '3,4',
+ ],
+ 'COUPDAYSNC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Coupons::class, 'COUPDAYSNC'],
+ 'argumentCount' => '3,4',
+ ],
+ 'COUPNCD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Coupons::class, 'COUPNCD'],
+ 'argumentCount' => '3,4',
+ ],
+ 'COUPNUM' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Coupons::class, 'COUPNUM'],
+ 'argumentCount' => '3,4',
+ ],
+ 'COUPPCD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Coupons::class, 'COUPPCD'],
+ 'argumentCount' => '3,4',
+ ],
+ 'COVAR' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'COVAR'],
+ 'argumentCount' => '2',
+ ],
+ 'COVARIANCE.P' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'COVAR'],
+ 'argumentCount' => '2',
+ ],
+ 'COVARIANCE.S' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'CRITBINOM' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Binomial::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'CSC' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cosecant::class, 'csc'],
+ 'argumentCount' => '1',
+ ],
+ 'CSCH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Cosecant::class, 'csch'],
+ 'argumentCount' => '1',
+ ],
+ 'CUBEKPIMEMBER' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUBEMEMBER' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUBEMEMBERPROPERTY' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUBERANKEDMEMBER' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUBESET' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUBESETCOUNT' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUBEVALUE' => [
+ 'category' => Category::CATEGORY_CUBE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'CUMIPMT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Cumulative::class, 'interest'],
+ 'argumentCount' => '6',
+ ],
+ 'CUMPRINC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Cumulative::class, 'principal'],
+ 'argumentCount' => '6',
+ ],
+ 'DATE' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Date::class, 'fromYMD'],
+ 'argumentCount' => '3',
+ ],
+ 'DATEDIF' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Difference::class, 'interval'],
+ 'argumentCount' => '2,3',
+ ],
+ 'DATESTRING' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'DATEVALUE' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\DateValue::class, 'fromString'],
+ 'argumentCount' => '1',
+ ],
+ 'DAVERAGE' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DAverage::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DAY' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\DateParts::class, 'day'],
+ 'argumentCount' => '1',
+ ],
+ 'DAYS' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Days::class, 'between'],
+ 'argumentCount' => '2',
+ ],
+ 'DAYS360' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Days360::class, 'between'],
+ 'argumentCount' => '2,3',
+ ],
+ 'DB' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Depreciation::class, 'DB'],
+ 'argumentCount' => '4,5',
+ ],
+ 'DBCS' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'DCOUNT' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DCount::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DCOUNTA' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DCountA::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DDB' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Depreciation::class, 'DDB'],
+ 'argumentCount' => '4,5',
+ ],
+ 'DEC2BIN' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertDecimal::class, 'toBinary'],
+ 'argumentCount' => '1,2',
+ ],
+ 'DEC2HEX' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertDecimal::class, 'toHex'],
+ 'argumentCount' => '1,2',
+ ],
+ 'DEC2OCT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertDecimal::class, 'toOctal'],
+ 'argumentCount' => '1,2',
+ ],
+ 'DECIMAL' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'DEGREES' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Angle::class, 'toDegrees'],
+ 'argumentCount' => '1',
+ ],
+ 'DELTA' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Compare::class, 'DELTA'],
+ 'argumentCount' => '1,2',
+ ],
+ 'DEVSQ' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Deviations::class, 'sumSquares'],
+ 'argumentCount' => '1+',
+ ],
+ 'DGET' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DGet::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DISC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Rates::class, 'discount'],
+ 'argumentCount' => '4,5',
+ ],
+ 'DMAX' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DMax::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DMIN' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DMin::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DOLLAR' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Format::class, 'DOLLAR'],
+ 'argumentCount' => '1,2',
+ ],
+ 'DOLLARDE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Dollar::class, 'decimal'],
+ 'argumentCount' => '2',
+ ],
+ 'DOLLARFR' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Dollar::class, 'fractional'],
+ 'argumentCount' => '2',
+ ],
+ 'DPRODUCT' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DProduct::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DROP' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-3',
+ ],
+ 'DSTDEV' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DStDev::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DSTDEVP' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DStDevP::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DSUM' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DSum::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DURATION' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '5,6',
+ ],
+ 'DVAR' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DVar::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'DVARP' => [
+ 'category' => Category::CATEGORY_DATABASE,
+ 'functionCall' => [Database\DVarP::class, 'evaluate'],
+ 'argumentCount' => '3',
+ ],
+ 'ECMA.CEILING' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1,2',
+ ],
+ 'EDATE' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Month::class, 'adjust'],
+ 'argumentCount' => '2',
+ ],
+ 'EFFECT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\InterestRate::class, 'effective'],
+ 'argumentCount' => '2',
+ ],
+ 'ENCODEURL' => [
+ 'category' => Category::CATEGORY_WEB,
+ 'functionCall' => [Web\Service::class, 'urlEncode'],
+ 'argumentCount' => '1',
+ ],
+ 'EOMONTH' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Month::class, 'lastDay'],
+ 'argumentCount' => '2',
+ ],
+ 'ERF' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Erf::class, 'ERF'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ERF.PRECISE' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Erf::class, 'ERFPRECISE'],
+ 'argumentCount' => '1',
+ ],
+ 'ERFC' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ErfC::class, 'ERFC'],
+ 'argumentCount' => '1',
+ ],
+ 'ERFC.PRECISE' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ErfC::class, 'ERFC'],
+ 'argumentCount' => '1',
+ ],
+ 'ERROR.TYPE' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\ExcelError::class, 'type'],
+ 'argumentCount' => '1',
+ ],
+ 'EVEN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Round::class, 'even'],
+ 'argumentCount' => '1',
+ ],
+ 'EXACT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Text::class, 'exact'],
+ 'argumentCount' => '2',
+ ],
+ 'EXP' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Exp::class, 'evaluate'],
+ 'argumentCount' => '1',
+ ],
+ 'EXPAND' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-4',
+ ],
+ 'EXPONDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Exponential::class, 'distribution'],
+ 'argumentCount' => '3',
+ ],
+ 'EXPON.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Exponential::class, 'distribution'],
+ 'argumentCount' => '3',
+ ],
+ 'FACT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Factorial::class, 'fact'],
+ 'argumentCount' => '1',
+ ],
+ 'FACTDOUBLE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Factorial::class, 'factDouble'],
+ 'argumentCount' => '1',
+ ],
+ 'FALSE' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Boolean::class, 'FALSE'],
+ 'argumentCount' => '0',
+ ],
+ 'FDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'F.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\F::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'F.DIST.RT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'FILTER' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Filter::class, 'filter'],
+ 'argumentCount' => '2-3',
+ ],
+ 'FILTERXML' => [
+ 'category' => Category::CATEGORY_WEB,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'FIND' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Search::class, 'sensitive'],
+ 'argumentCount' => '2,3',
+ ],
+ 'FINDB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Search::class, 'sensitive'],
+ 'argumentCount' => '2,3',
+ ],
+ 'FINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'F.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'F.INV.RT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'FISHER' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Fisher::class, 'distribution'],
+ 'argumentCount' => '1',
+ ],
+ 'FISHERINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Fisher::class, 'inverse'],
+ 'argumentCount' => '1',
+ ],
+ 'FIXED' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Format::class, 'FIXEDFORMAT'],
+ 'argumentCount' => '1-3',
+ ],
+ 'FLOOR' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Floor::class, 'floor'],
+ 'argumentCount' => '1-2', // Excel requries 2, Ods/Gnumeric 1-2
+ ],
+ 'FLOOR.MATH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Floor::class, 'math'],
+ 'argumentCount' => '1-3',
+ ],
+ 'FLOOR.PRECISE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Floor::class, 'precise'],
+ 'argumentCount' => '1-2',
+ ],
+ 'FORECAST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'FORECAST'],
+ 'argumentCount' => '3',
+ ],
+ 'FORECAST.ETS' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3-6',
+ ],
+ 'FORECAST.ETS.CONFINT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3-6',
+ ],
+ 'FORECAST.ETS.SEASONALITY' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-4',
+ ],
+ 'FORECAST.ETS.STAT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3-6',
+ ],
+ 'FORECAST.LINEAR' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'FORECAST'],
+ 'argumentCount' => '3',
+ ],
+ 'FORMULATEXT' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Formula::class, 'text'],
+ 'argumentCount' => '1',
+ 'passCellReference' => true,
+ 'passByReference' => [true],
+ ],
+ 'FREQUENCY' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'FTEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'F.TEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'FV' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic::class, 'futureValue'],
+ 'argumentCount' => '3-5',
+ ],
+ 'FVSCHEDULE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Single::class, 'futureValue'],
+ 'argumentCount' => '2',
+ ],
+ 'GAMMA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'gamma'],
+ 'argumentCount' => '1',
+ ],
+ 'GAMMADIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'GAMMA.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'GAMMAINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'GAMMA.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'GAMMALN' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'ln'],
+ 'argumentCount' => '1',
+ ],
+ 'GAMMALN.PRECISE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Gamma::class, 'ln'],
+ 'argumentCount' => '1',
+ ],
+ 'GAUSS' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'gauss'],
+ 'argumentCount' => '1',
+ ],
+ 'GCD' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Gcd::class, 'evaluate'],
+ 'argumentCount' => '1+',
+ ],
+ 'GEOMEAN' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages\Mean::class, 'geometric'],
+ 'argumentCount' => '1+',
+ ],
+ 'GESTEP' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Compare::class, 'GESTEP'],
+ 'argumentCount' => '1,2',
+ ],
+ 'GETPIVOTDATA' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2+',
+ ],
+ 'GROWTH' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'GROWTH'],
+ 'argumentCount' => '1-4',
+ ],
+ 'HARMEAN' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages\Mean::class, 'harmonic'],
+ 'argumentCount' => '1+',
+ ],
+ 'HEX2BIN' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertHex::class, 'toBinary'],
+ 'argumentCount' => '1,2',
+ ],
+ 'HEX2DEC' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertHex::class, 'toDecimal'],
+ 'argumentCount' => '1',
+ ],
+ 'HEX2OCT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertHex::class, 'toOctal'],
+ 'argumentCount' => '1,2',
+ ],
+ 'HLOOKUP' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\HLookup::class, 'lookup'],
+ 'argumentCount' => '3,4',
+ ],
+ 'HOUR' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\TimeParts::class, 'hour'],
+ 'argumentCount' => '1',
+ ],
+ 'HSTACK' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1+',
+ ],
+ 'HYPERLINK' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Hyperlink::class, 'set'],
+ 'argumentCount' => '1,2',
+ 'passCellReference' => true,
+ ],
+ 'HYPGEOMDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\HyperGeometric::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'HYPGEOM.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '5',
+ ],
+ 'IF' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Conditional::class, 'statementIf'],
+ 'argumentCount' => '1-3',
+ ],
+ 'IFERROR' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Conditional::class, 'IFERROR'],
+ 'argumentCount' => '2',
+ ],
+ 'IFNA' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Conditional::class, 'IFNA'],
+ 'argumentCount' => '2',
+ ],
+ 'IFS' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Conditional::class, 'IFS'],
+ 'argumentCount' => '2+',
+ ],
+ 'IMABS' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMABS'],
+ 'argumentCount' => '1',
+ ],
+ 'IMAGINARY' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Complex::class, 'IMAGINARY'],
+ 'argumentCount' => '1',
+ ],
+ 'IMARGUMENT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMARGUMENT'],
+ 'argumentCount' => '1',
+ ],
+ 'IMCONJUGATE' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMCONJUGATE'],
+ 'argumentCount' => '1',
+ ],
+ 'IMCOS' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMCOS'],
+ 'argumentCount' => '1',
+ ],
+ 'IMCOSH' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMCOSH'],
+ 'argumentCount' => '1',
+ ],
+ 'IMCOT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMCOT'],
+ 'argumentCount' => '1',
+ ],
+ 'IMCSC' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMCSC'],
+ 'argumentCount' => '1',
+ ],
+ 'IMCSCH' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMCSCH'],
+ 'argumentCount' => '1',
+ ],
+ 'IMDIV' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexOperations::class, 'IMDIV'],
+ 'argumentCount' => '2',
+ ],
+ 'IMEXP' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMEXP'],
+ 'argumentCount' => '1',
+ ],
+ 'IMLN' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMLN'],
+ 'argumentCount' => '1',
+ ],
+ 'IMLOG10' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMLOG10'],
+ 'argumentCount' => '1',
+ ],
+ 'IMLOG2' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMLOG2'],
+ 'argumentCount' => '1',
+ ],
+ 'IMPOWER' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMPOWER'],
+ 'argumentCount' => '2',
+ ],
+ 'IMPRODUCT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexOperations::class, 'IMPRODUCT'],
+ 'argumentCount' => '1+',
+ ],
+ 'IMREAL' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\Complex::class, 'IMREAL'],
+ 'argumentCount' => '1',
+ ],
+ 'IMSEC' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMSEC'],
+ 'argumentCount' => '1',
+ ],
+ 'IMSECH' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMSECH'],
+ 'argumentCount' => '1',
+ ],
+ 'IMSIN' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMSIN'],
+ 'argumentCount' => '1',
+ ],
+ 'IMSINH' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMSINH'],
+ 'argumentCount' => '1',
+ ],
+ 'IMSQRT' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMSQRT'],
+ 'argumentCount' => '1',
+ ],
+ 'IMSUB' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexOperations::class, 'IMSUB'],
+ 'argumentCount' => '2',
+ ],
+ 'IMSUM' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexOperations::class, 'IMSUM'],
+ 'argumentCount' => '1+',
+ ],
+ 'IMTAN' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ComplexFunctions::class, 'IMTAN'],
+ 'argumentCount' => '1',
+ ],
+ 'INDEX' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Matrix::class, 'index'],
+ 'argumentCount' => '2-4',
+ ],
+ 'INDIRECT' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Indirect::class, 'INDIRECT'],
+ 'argumentCount' => '1,2',
+ 'passCellReference' => true,
+ ],
+ 'INFO' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'INT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\IntClass::class, 'evaluate'],
+ 'argumentCount' => '1',
+ ],
+ 'INTERCEPT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'INTERCEPT'],
+ 'argumentCount' => '2',
+ ],
+ 'INTRATE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Rates::class, 'interest'],
+ 'argumentCount' => '4,5',
+ ],
+ 'IPMT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Interest::class, 'payment'],
+ 'argumentCount' => '4-6',
+ ],
+ 'IRR' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Variable\Periodic::class, 'rate'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ISBLANK' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isBlank'],
+ 'argumentCount' => '1',
+ ],
+ 'ISERR' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\ErrorValue::class, 'isErr'],
+ 'argumentCount' => '1',
+ ],
+ 'ISERROR' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\ErrorValue::class, 'isError'],
+ 'argumentCount' => '1',
+ ],
+ 'ISEVEN' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isEven'],
+ 'argumentCount' => '1',
+ ],
+ 'ISFORMULA' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isFormula'],
+ 'argumentCount' => '1',
+ 'passCellReference' => true,
+ 'passByReference' => [true],
+ ],
+ 'ISLOGICAL' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isLogical'],
+ 'argumentCount' => '1',
+ ],
+ 'ISNA' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\ErrorValue::class, 'isNa'],
+ 'argumentCount' => '1',
+ ],
+ 'ISNONTEXT' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isNonText'],
+ 'argumentCount' => '1',
+ ],
+ 'ISNUMBER' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isNumber'],
+ 'argumentCount' => '1',
+ ],
+ 'ISO.CEILING' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ISODD' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isOdd'],
+ 'argumentCount' => '1',
+ ],
+ 'ISOMITTED' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'ISOWEEKNUM' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Week::class, 'isoWeekNumber'],
+ 'argumentCount' => '1',
+ ],
+ 'ISPMT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Interest::class, 'schedulePayment'],
+ 'argumentCount' => '4',
+ ],
+ 'ISREF' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isRef'],
+ 'argumentCount' => '1',
+ 'passCellReference' => true,
+ 'passByReference' => [true],
+ ],
+ 'ISTEXT' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'isText'],
+ 'argumentCount' => '1',
+ ],
+ 'ISTHAIDIGIT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'JIS' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'KURT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Deviations::class, 'kurtosis'],
+ 'argumentCount' => '1+',
+ ],
+ 'LAMBDA' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'LARGE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Size::class, 'large'],
+ 'argumentCount' => '2',
+ ],
+ 'LCM' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Lcm::class, 'evaluate'],
+ 'argumentCount' => '1+',
+ ],
+ 'LEFT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'left'],
+ 'argumentCount' => '1,2',
+ ],
+ 'LEFTB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'left'],
+ 'argumentCount' => '1,2',
+ ],
+ 'LEN' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Text::class, 'length'],
+ 'argumentCount' => '1',
+ ],
+ 'LENB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Text::class, 'length'],
+ 'argumentCount' => '1',
+ ],
+ 'LET' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'LINEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'LINEST'],
+ 'argumentCount' => '1-4',
+ ],
+ 'LN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Logarithms::class, 'natural'],
+ 'argumentCount' => '1',
+ ],
+ 'LOG' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Logarithms::class, 'withBase'],
+ 'argumentCount' => '1,2',
+ ],
+ 'LOG10' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Logarithms::class, 'base10'],
+ 'argumentCount' => '1',
+ ],
+ 'LOGEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'LOGEST'],
+ 'argumentCount' => '1-4',
+ ],
+ 'LOGINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\LogNormal::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'LOGNORMDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\LogNormal::class, 'cumulative'],
+ 'argumentCount' => '3',
+ ],
+ 'LOGNORM.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\LogNormal::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'LOGNORM.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\LogNormal::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'LOOKUP' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Lookup::class, 'lookup'],
+ 'argumentCount' => '2,3',
+ ],
+ 'LOWER' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CaseConvert::class, 'lower'],
+ 'argumentCount' => '1',
+ ],
+ 'MAKEARRAY' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'MAP' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'MATCH' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\ExcelMatch::class, 'MATCH'],
+ 'argumentCount' => '2,3',
+ ],
+ 'MAX' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Maximum::class, 'max'],
+ 'argumentCount' => '1+',
+ ],
+ 'MAXA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Maximum::class, 'maxA'],
+ 'argumentCount' => '1+',
+ ],
+ 'MAXIFS' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Conditional::class, 'MAXIFS'],
+ 'argumentCount' => '3+',
+ ],
+ 'MDETERM' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\MatrixFunctions::class, 'determinant'],
+ 'argumentCount' => '1',
+ ],
+ 'MDURATION' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '5,6',
+ ],
+ 'MEDIAN' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages::class, 'median'],
+ 'argumentCount' => '1+',
+ ],
+ 'MEDIANIF' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2+',
+ ],
+ 'MID' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'mid'],
+ 'argumentCount' => '3',
+ ],
+ 'MIDB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'mid'],
+ 'argumentCount' => '3',
+ ],
+ 'MIN' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Minimum::class, 'min'],
+ 'argumentCount' => '1+',
+ ],
+ 'MINA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Minimum::class, 'minA'],
+ 'argumentCount' => '1+',
+ ],
+ 'MINIFS' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Conditional::class, 'MINIFS'],
+ 'argumentCount' => '3+',
+ ],
+ 'MINUTE' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\TimeParts::class, 'minute'],
+ 'argumentCount' => '1',
+ ],
+ 'MINVERSE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\MatrixFunctions::class, 'inverse'],
+ 'argumentCount' => '1',
+ ],
+ 'MIRR' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Variable\Periodic::class, 'modifiedRate'],
+ 'argumentCount' => '3',
+ ],
+ 'MMULT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\MatrixFunctions::class, 'multiply'],
+ 'argumentCount' => '2',
+ ],
+ 'MOD' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Operations::class, 'mod'],
+ 'argumentCount' => '2',
+ ],
+ 'MODE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages::class, 'mode'],
+ 'argumentCount' => '1+',
+ ],
+ 'MODE.MULT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1+',
+ ],
+ 'MODE.SNGL' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages::class, 'mode'],
+ 'argumentCount' => '1+',
+ ],
+ 'MONTH' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\DateParts::class, 'month'],
+ 'argumentCount' => '1',
+ ],
+ 'MROUND' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Round::class, 'multiple'],
+ 'argumentCount' => '2',
+ ],
+ 'MULTINOMIAL' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Factorial::class, 'multinomial'],
+ 'argumentCount' => '1+',
+ ],
+ 'MUNIT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\MatrixFunctions::class, 'identity'],
+ 'argumentCount' => '1',
+ ],
+ 'N' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'asNumber'],
+ 'argumentCount' => '1',
+ ],
+ 'NA' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\ExcelError::class, 'NA'],
+ 'argumentCount' => '0',
+ ],
+ 'NEGBINOMDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Binomial::class, 'negative'],
+ 'argumentCount' => '3',
+ ],
+ 'NEGBINOM.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '4',
+ ],
+ 'NETWORKDAYS' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\NetworkDays::class, 'count'],
+ 'argumentCount' => '2-3',
+ ],
+ 'NETWORKDAYS.INTL' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-4',
+ ],
+ 'NOMINAL' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\InterestRate::class, 'nominal'],
+ 'argumentCount' => '2',
+ ],
+ 'NORMDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Normal::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'NORM.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Normal::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'NORMINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Normal::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'NORM.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Normal::class, 'inverse'],
+ 'argumentCount' => '3',
+ ],
+ 'NORMSDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'cumulative'],
+ 'argumentCount' => '1',
+ ],
+ 'NORM.S.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'distribution'],
+ 'argumentCount' => '1,2',
+ ],
+ 'NORMSINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'inverse'],
+ 'argumentCount' => '1',
+ ],
+ 'NORM.S.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'inverse'],
+ 'argumentCount' => '1',
+ ],
+ 'NOT' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Operations::class, 'NOT'],
+ 'argumentCount' => '1',
+ ],
+ 'NOW' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Current::class, 'now'],
+ 'argumentCount' => '0',
+ ],
+ 'NPER' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic::class, 'periods'],
+ 'argumentCount' => '3-5',
+ ],
+ 'NPV' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Variable\Periodic::class, 'presentValue'],
+ 'argumentCount' => '2+',
+ ],
+ 'NUMBERSTRING' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'NUMBERVALUE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Format::class, 'NUMBERVALUE'],
+ 'argumentCount' => '1+',
+ ],
+ 'OCT2BIN' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertOctal::class, 'toBinary'],
+ 'argumentCount' => '1,2',
+ ],
+ 'OCT2DEC' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertOctal::class, 'toDecimal'],
+ 'argumentCount' => '1',
+ ],
+ 'OCT2HEX' => [
+ 'category' => Category::CATEGORY_ENGINEERING,
+ 'functionCall' => [Engineering\ConvertOctal::class, 'toHex'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ODD' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Round::class, 'odd'],
+ 'argumentCount' => '1',
+ ],
+ 'ODDFPRICE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '8,9',
+ ],
+ 'ODDFYIELD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '8,9',
+ ],
+ 'ODDLPRICE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '7,8',
+ ],
+ 'ODDLYIELD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '7,8',
+ ],
+ 'OFFSET' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Offset::class, 'OFFSET'],
+ 'argumentCount' => '3-5',
+ 'passCellReference' => true,
+ 'passByReference' => [true],
+ ],
+ 'OR' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Operations::class, 'logicalOr'],
+ 'argumentCount' => '1+',
+ ],
+ 'PDURATION' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Single::class, 'periods'],
+ 'argumentCount' => '3',
+ ],
+ 'PEARSON' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'CORREL'],
+ 'argumentCount' => '2',
+ ],
+ 'PERCENTILE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'PERCENTILE'],
+ 'argumentCount' => '2',
+ ],
+ 'PERCENTILE.EXC' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'PERCENTILE.INC' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'PERCENTILE'],
+ 'argumentCount' => '2',
+ ],
+ 'PERCENTRANK' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'PERCENTRANK'],
+ 'argumentCount' => '2,3',
+ ],
+ 'PERCENTRANK.EXC' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2,3',
+ ],
+ 'PERCENTRANK.INC' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'PERCENTRANK'],
+ 'argumentCount' => '2,3',
+ ],
+ 'PERMUT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Permutations::class, 'PERMUT'],
+ 'argumentCount' => '2',
+ ],
+ 'PERMUTATIONA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Permutations::class, 'PERMUTATIONA'],
+ 'argumentCount' => '2',
+ ],
+ 'PHONETIC' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'PHI' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1',
+ ],
+ 'PI' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => 'pi',
+ 'argumentCount' => '0',
+ ],
+ 'PMT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Payments::class, 'annuity'],
+ 'argumentCount' => '3-5',
+ ],
+ 'POISSON' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Poisson::class, 'distribution'],
+ 'argumentCount' => '3',
+ ],
+ 'POISSON.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Poisson::class, 'distribution'],
+ 'argumentCount' => '3',
+ ],
+ 'POWER' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Operations::class, 'power'],
+ 'argumentCount' => '2',
+ ],
+ 'PPMT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Payments::class, 'interestPayment'],
+ 'argumentCount' => '4-6',
+ ],
+ 'PRICE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Price::class, 'price'],
+ 'argumentCount' => '6,7',
+ ],
+ 'PRICEDISC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Price::class, 'priceDiscounted'],
+ 'argumentCount' => '4,5',
+ ],
+ 'PRICEMAT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Price::class, 'priceAtMaturity'],
+ 'argumentCount' => '5,6',
+ ],
+ 'PROB' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3,4',
+ ],
+ 'PRODUCT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Operations::class, 'product'],
+ 'argumentCount' => '1+',
+ ],
+ 'PROPER' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CaseConvert::class, 'proper'],
+ 'argumentCount' => '1',
+ ],
+ 'PV' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic::class, 'presentValue'],
+ 'argumentCount' => '3-5',
+ ],
+ 'QUARTILE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'QUARTILE'],
+ 'argumentCount' => '2',
+ ],
+ 'QUARTILE.EXC' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'QUARTILE.INC' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'QUARTILE'],
+ 'argumentCount' => '2',
+ ],
+ 'QUOTIENT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Operations::class, 'quotient'],
+ 'argumentCount' => '2',
+ ],
+ 'RADIANS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Angle::class, 'toRadians'],
+ 'argumentCount' => '1',
+ ],
+ 'RAND' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Random::class, 'rand'],
+ 'argumentCount' => '0',
+ ],
+ 'RANDARRAY' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Random::class, 'randArray'],
+ 'argumentCount' => '0-5',
+ ],
+ 'RANDBETWEEN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Random::class, 'randBetween'],
+ 'argumentCount' => '2',
+ ],
+ 'RANK' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'RANK'],
+ 'argumentCount' => '2,3',
+ ],
+ 'RANK.AVG' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2,3',
+ ],
+ 'RANK.EQ' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Percentiles::class, 'RANK'],
+ 'argumentCount' => '2,3',
+ ],
+ 'RATE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Constant\Periodic\Interest::class, 'rate'],
+ 'argumentCount' => '3-6',
+ ],
+ 'RECEIVED' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Price::class, 'received'],
+ 'argumentCount' => '4-5',
+ ],
+ 'REDUCE' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'REPLACE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Replace::class, 'replace'],
+ 'argumentCount' => '4',
+ ],
+ 'REPLACEB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Replace::class, 'replace'],
+ 'argumentCount' => '4',
+ ],
+ 'REPT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Concatenate::class, 'builtinREPT'],
+ 'argumentCount' => '2',
+ ],
+ 'RIGHT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'right'],
+ 'argumentCount' => '1,2',
+ ],
+ 'RIGHTB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'right'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ROMAN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Roman::class, 'evaluate'],
+ 'argumentCount' => '1,2',
+ ],
+ 'ROUND' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Round::class, 'round'],
+ 'argumentCount' => '2',
+ ],
+ 'ROUNDBAHTDOWN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'ROUNDBAHTUP' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'ROUNDDOWN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Round::class, 'down'],
+ 'argumentCount' => '2',
+ ],
+ 'ROUNDUP' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Round::class, 'up'],
+ 'argumentCount' => '2',
+ ],
+ 'ROW' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\RowColumnInformation::class, 'ROW'],
+ 'argumentCount' => '-1',
+ 'passCellReference' => true,
+ 'passByReference' => [true],
+ ],
+ 'ROWS' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\RowColumnInformation::class, 'ROWS'],
+ 'argumentCount' => '1',
+ ],
+ 'RRI' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Single::class, 'interestRate'],
+ 'argumentCount' => '3',
+ ],
+ 'RSQ' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'RSQ'],
+ 'argumentCount' => '2',
+ ],
+ 'RTD' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1+',
+ ],
+ 'SEARCH' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Search::class, 'insensitive'],
+ 'argumentCount' => '2,3',
+ ],
+ 'SCAN' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'SEARCHB' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Search::class, 'insensitive'],
+ 'argumentCount' => '2,3',
+ ],
+ 'SEC' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Secant::class, 'sec'],
+ 'argumentCount' => '1',
+ ],
+ 'SECH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Secant::class, 'sech'],
+ 'argumentCount' => '1',
+ ],
+ 'SECOND' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\TimeParts::class, 'second'],
+ 'argumentCount' => '1',
+ ],
+ 'SEQUENCE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\MatrixFunctions::class, 'sequence'],
+ 'argumentCount' => '1-4',
+ ],
+ 'SERIESSUM' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\SeriesSum::class, 'evaluate'],
+ 'argumentCount' => '4',
+ ],
+ 'SHEET' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '0,1',
+ ],
+ 'SHEETS' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '0,1',
+ ],
+ 'SIGN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Sign::class, 'evaluate'],
+ 'argumentCount' => '1',
+ ],
+ 'SIN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Sine::class, 'sin'],
+ 'argumentCount' => '1',
+ ],
+ 'SINGLE' => [
+ 'category' => Category::CATEGORY_UNCATEGORISED,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '*',
+ ],
+ 'SINH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Sine::class, 'sinh'],
+ 'argumentCount' => '1',
+ ],
+ 'SKEW' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Deviations::class, 'skew'],
+ 'argumentCount' => '1+',
+ ],
+ 'SKEW.P' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1+',
+ ],
+ 'SLN' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Depreciation::class, 'SLN'],
+ 'argumentCount' => '3',
+ ],
+ 'SLOPE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'SLOPE'],
+ 'argumentCount' => '2',
+ ],
+ 'SMALL' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Size::class, 'small'],
+ 'argumentCount' => '2',
+ ],
+ 'SORT' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Sort::class, 'sort'],
+ 'argumentCount' => '1-4',
+ ],
+ 'SORTBY' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Sort::class, 'sortBy'],
+ 'argumentCount' => '2+',
+ ],
+ 'SQRT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Sqrt::class, 'sqrt'],
+ 'argumentCount' => '1',
+ ],
+ 'SQRTPI' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Sqrt::class, 'pi'],
+ 'argumentCount' => '1',
+ ],
+ 'STANDARDIZE' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Standardize::class, 'execute'],
+ 'argumentCount' => '3',
+ ],
+ 'STDEV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\StandardDeviations::class, 'STDEV'],
+ 'argumentCount' => '1+',
+ ],
+ 'STDEV.S' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\StandardDeviations::class, 'STDEV'],
+ 'argumentCount' => '1+',
+ ],
+ 'STDEV.P' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\StandardDeviations::class, 'STDEVP'],
+ 'argumentCount' => '1+',
+ ],
+ 'STDEVA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\StandardDeviations::class, 'STDEVA'],
+ 'argumentCount' => '1+',
+ ],
+ 'STDEVP' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\StandardDeviations::class, 'STDEVP'],
+ 'argumentCount' => '1+',
+ ],
+ 'STDEVPA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\StandardDeviations::class, 'STDEVPA'],
+ 'argumentCount' => '1+',
+ ],
+ 'STEYX' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'STEYX'],
+ 'argumentCount' => '2',
+ ],
+ 'SUBSTITUTE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Replace::class, 'substitute'],
+ 'argumentCount' => '3,4',
+ ],
+ 'SUBTOTAL' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Subtotal::class, 'evaluate'],
+ 'argumentCount' => '2+',
+ 'passCellReference' => true,
+ ],
+ 'SUM' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Sum::class, 'sumErroringStrings'],
+ 'argumentCount' => '1+',
+ ],
+ 'SUMIF' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Statistical\Conditional::class, 'SUMIF'],
+ 'argumentCount' => '2,3',
+ ],
+ 'SUMIFS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Statistical\Conditional::class, 'SUMIFS'],
+ 'argumentCount' => '3+',
+ ],
+ 'SUMPRODUCT' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Sum::class, 'product'],
+ 'argumentCount' => '1+',
+ ],
+ 'SUMSQ' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\SumSquares::class, 'sumSquare'],
+ 'argumentCount' => '1+',
+ ],
+ 'SUMX2MY2' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\SumSquares::class, 'sumXSquaredMinusYSquared'],
+ 'argumentCount' => '2',
+ ],
+ 'SUMX2PY2' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\SumSquares::class, 'sumXSquaredPlusYSquared'],
+ 'argumentCount' => '2',
+ ],
+ 'SUMXMY2' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\SumSquares::class, 'sumXMinusYSquared'],
+ 'argumentCount' => '2',
+ ],
+ 'SWITCH' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Conditional::class, 'statementSwitch'],
+ 'argumentCount' => '3+',
+ ],
+ 'SYD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Depreciation::class, 'SYD'],
+ 'argumentCount' => '4',
+ ],
+ 'T' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Text::class, 'test'],
+ 'argumentCount' => '1',
+ ],
+ 'TAKE' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-3',
+ ],
+ 'TAN' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Tangent::class, 'tan'],
+ 'argumentCount' => '1',
+ ],
+ 'TANH' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trig\Tangent::class, 'tanh'],
+ 'argumentCount' => '1',
+ ],
+ 'TBILLEQ' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\TreasuryBill::class, 'bondEquivalentYield'],
+ 'argumentCount' => '3',
+ ],
+ 'TBILLPRICE' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\TreasuryBill::class, 'price'],
+ 'argumentCount' => '3',
+ ],
+ 'TBILLYIELD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\TreasuryBill::class, 'yield'],
+ 'argumentCount' => '3',
+ ],
+ 'TDIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StudentT::class, 'distribution'],
+ 'argumentCount' => '3',
+ ],
+ 'T.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3',
+ ],
+ 'T.DIST.2T' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'T.DIST.RT' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'TEXT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Format::class, 'TEXTFORMAT'],
+ 'argumentCount' => '2',
+ ],
+ 'TEXTAFTER' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'after'],
+ 'argumentCount' => '2-6',
+ ],
+ 'TEXTBEFORE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Extract::class, 'before'],
+ 'argumentCount' => '2-6',
+ ],
+ 'TEXTJOIN' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Concatenate::class, 'TEXTJOIN'],
+ 'argumentCount' => '3+',
+ ],
+ 'TEXTSPLIT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Text::class, 'split'],
+ 'argumentCount' => '2-6',
+ ],
+ 'THAIDAYOFWEEK' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'THAIDIGIT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'THAIMONTHOFYEAR' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'THAINUMSOUND' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'THAINUMSTRING' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'THAISTRINGLENGTH' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'THAIYEAR' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '?',
+ ],
+ 'TIME' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Time::class, 'fromHMS'],
+ 'argumentCount' => '3',
+ ],
+ 'TIMEVALUE' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\TimeValue::class, 'fromString'],
+ 'argumentCount' => '1',
+ ],
+ 'TINV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StudentT::class, 'inverse'],
+ 'argumentCount' => '2',
+ ],
+ 'T.INV' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StudentT::class, 'inverse'],
+ 'argumentCount' => '2',
+ ],
+ 'T.INV.2T' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2',
+ ],
+ 'TODAY' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Current::class, 'today'],
+ 'argumentCount' => '0',
+ ],
+ 'TOCOL' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1-3',
+ ],
+ 'TOROW' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1-3',
+ ],
+ 'TRANSPOSE' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Matrix::class, 'transpose'],
+ 'argumentCount' => '1',
+ ],
+ 'TREND' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Trends::class, 'TREND'],
+ 'argumentCount' => '1-4',
+ ],
+ 'TRIM' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Trim::class, 'spaces'],
+ 'argumentCount' => '1',
+ ],
+ 'TRIMMEAN' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Averages\Mean::class, 'trim'],
+ 'argumentCount' => '2',
+ ],
+ 'TRUE' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Boolean::class, 'TRUE'],
+ 'argumentCount' => '0',
+ ],
+ 'TRUNC' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [MathTrig\Trunc::class, 'evaluate'],
+ 'argumentCount' => '1,2',
+ ],
+ 'TTEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '4',
+ ],
+ 'T.TEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '4',
+ ],
+ 'TYPE' => [
+ 'category' => Category::CATEGORY_INFORMATION,
+ 'functionCall' => [Information\Value::class, 'type'],
+ 'argumentCount' => '1',
+ ],
+ 'UNICHAR' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CharacterConvert::class, 'character'],
+ 'argumentCount' => '1',
+ ],
+ 'UNICODE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CharacterConvert::class, 'code'],
+ 'argumentCount' => '1',
+ ],
+ 'UNIQUE' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\Unique::class, 'unique'],
+ 'argumentCount' => '1+',
+ ],
+ 'UPPER' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\CaseConvert::class, 'upper'],
+ 'argumentCount' => '1',
+ ],
+ 'USDOLLAR' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Dollar::class, 'format'],
+ 'argumentCount' => '2',
+ ],
+ 'VALUE' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Format::class, 'VALUE'],
+ 'argumentCount' => '1',
+ ],
+ 'VALUETOTEXT' => [
+ 'category' => Category::CATEGORY_TEXT_AND_DATA,
+ 'functionCall' => [TextData\Format::class, 'valueToText'],
+ 'argumentCount' => '1,2',
+ ],
+ 'VAR' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Variances::class, 'VAR'],
+ 'argumentCount' => '1+',
+ ],
+ 'VAR.P' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Variances::class, 'VARP'],
+ 'argumentCount' => '1+',
+ ],
+ 'VAR.S' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Variances::class, 'VAR'],
+ 'argumentCount' => '1+',
+ ],
+ 'VARA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Variances::class, 'VARA'],
+ 'argumentCount' => '1+',
+ ],
+ 'VARP' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Variances::class, 'VARP'],
+ 'argumentCount' => '1+',
+ ],
+ 'VARPA' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Variances::class, 'VARPA'],
+ 'argumentCount' => '1+',
+ ],
+ 'VDB' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '5-7',
+ ],
+ 'VLOOKUP' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [LookupRef\VLookup::class, 'lookup'],
+ 'argumentCount' => '3,4',
+ ],
+ 'VSTACK' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '1+',
+ ],
+ 'WEBSERVICE' => [
+ 'category' => Category::CATEGORY_WEB,
+ 'functionCall' => [Web\Service::class, 'webService'],
+ 'argumentCount' => '1',
+ ],
+ 'WEEKDAY' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Week::class, 'day'],
+ 'argumentCount' => '1,2',
+ ],
+ 'WEEKNUM' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\Week::class, 'number'],
+ 'argumentCount' => '1,2',
+ ],
+ 'WEIBULL' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Weibull::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'WEIBULL.DIST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\Weibull::class, 'distribution'],
+ 'argumentCount' => '4',
+ ],
+ 'WORKDAY' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\WorkDay::class, 'date'],
+ 'argumentCount' => '2-3',
+ ],
+ 'WORKDAY.INTL' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-4',
+ ],
+ 'WRAPCOLS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-3',
+ ],
+ 'WRAPROWS' => [
+ 'category' => Category::CATEGORY_MATH_AND_TRIG,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2-3',
+ ],
+ 'XIRR' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Variable\NonPeriodic::class, 'rate'],
+ 'argumentCount' => '2,3',
+ ],
+ 'XLOOKUP' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '3-6',
+ ],
+ 'XNPV' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\CashFlow\Variable\NonPeriodic::class, 'presentValue'],
+ 'argumentCount' => '3',
+ ],
+ 'XMATCH' => [
+ 'category' => Category::CATEGORY_LOOKUP_AND_REFERENCE,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '2,3',
+ ],
+ 'XOR' => [
+ 'category' => Category::CATEGORY_LOGICAL,
+ 'functionCall' => [Logical\Operations::class, 'logicalXor'],
+ 'argumentCount' => '1+',
+ ],
+ 'YEAR' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\DateParts::class, 'year'],
+ 'argumentCount' => '1',
+ ],
+ 'YEARFRAC' => [
+ 'category' => Category::CATEGORY_DATE_AND_TIME,
+ 'functionCall' => [DateTimeExcel\YearFrac::class, 'fraction'],
+ 'argumentCount' => '2,3',
+ ],
+ 'YIELD' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Functions::class, 'DUMMY'],
+ 'argumentCount' => '6,7',
+ ],
+ 'YIELDDISC' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Yields::class, 'yieldDiscounted'],
+ 'argumentCount' => '4,5',
+ ],
+ 'YIELDMAT' => [
+ 'category' => Category::CATEGORY_FINANCIAL,
+ 'functionCall' => [Financial\Securities\Yields::class, 'yieldAtMaturity'],
+ 'argumentCount' => '5,6',
+ ],
+ 'ZTEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'zTest'],
+ 'argumentCount' => '2-3',
+ ],
+ 'Z.TEST' => [
+ 'category' => Category::CATEGORY_STATISTICAL,
+ 'functionCall' => [Statistical\Distributions\StandardNormal::class, 'zTest'],
+ 'argumentCount' => '2-3',
+ ],
+ ];
+
+ /**
+ * Internal functions used for special control purposes.
+ *
+ * @var array
+ */
+ private static $controlFunctions = [
+ 'MKMATRIX' => [
+ 'argumentCount' => '*',
+ 'functionCall' => [Internal\MakeMatrix::class, 'make'],
+ ],
+ 'NAME.ERROR' => [
+ 'argumentCount' => '*',
+ 'functionCall' => [Functions::class, 'NAME'],
+ ],
+ 'WILDCARDMATCH' => [
+ 'argumentCount' => '2',
+ 'functionCall' => [Internal\WildcardMatch::class, 'compare'],
+ ],
+ ];
+
+ public function __construct(?Spreadsheet $spreadsheet = null)
+ {
+ $this->spreadsheet = $spreadsheet;
+ $this->cyclicReferenceStack = new CyclicReferenceStack();
+ $this->debugLog = new Logger($this->cyclicReferenceStack);
+ $this->branchPruner = new BranchPruner($this->branchPruningEnabled);
+ self::$referenceHelper = ReferenceHelper::getInstance();
+ }
+
+ private static function loadLocales(): void
+ {
+ $localeFileDirectory = __DIR__ . '/locale/';
+ $localeFileNames = glob($localeFileDirectory . '*', GLOB_ONLYDIR) ?: [];
+ foreach ($localeFileNames as $filename) {
+ $filename = substr($filename, strlen($localeFileDirectory));
+ if ($filename != 'en') {
+ self::$validLocaleLanguages[] = $filename;
+ }
+ }
+ }
+
+ /**
+ * Get an instance of this class.
+ *
+ * @param ?Spreadsheet $spreadsheet Injected spreadsheet for working with a PhpSpreadsheet Spreadsheet object,
+ * or NULL to create a standalone calculation engine
+ */
+ public static function getInstance(?Spreadsheet $spreadsheet = null): self
+ {
+ if ($spreadsheet !== null) {
+ $instance = $spreadsheet->getCalculationEngine();
+ if (isset($instance)) {
+ return $instance;
+ }
+ }
+
+ if (!isset(self::$instance) || (self::$instance === null)) {
+ self::$instance = new self();
+ }
+
+ return self::$instance;
+ }
+
+ /**
+ * Flush the calculation cache for any existing instance of this class
+ * but only if a Calculation instance exists.
+ */
+ public function flushInstance(): void
+ {
+ $this->clearCalculationCache();
+ $this->branchPruner->clearBranchStore();
+ }
+
+ /**
+ * Get the Logger for this calculation engine instance.
+ *
+ * @return Logger
+ */
+ public function getDebugLog()
+ {
+ return $this->debugLog;
+ }
+
+ /**
+ * __clone implementation. Cloning should not be allowed in a Singleton!
+ */
+ final public function __clone()
+ {
+ throw new Exception('Cloning the calculation engine is not allowed!');
+ }
+
+ /**
+ * Return the locale-specific translation of TRUE.
+ *
+ * @return string locale-specific translation of TRUE
+ */
+ public static function getTRUE(): string
+ {
+ return self::$localeBoolean['TRUE'];
+ }
+
+ /**
+ * Return the locale-specific translation of FALSE.
+ *
+ * @return string locale-specific translation of FALSE
+ */
+ public static function getFALSE(): string
+ {
+ return self::$localeBoolean['FALSE'];
+ }
+
+ /**
+ * Set the Array Return Type (Array or Value of first element in the array).
+ *
+ * @param string $returnType Array return type
+ *
+ * @return bool Success or failure
+ */
+ public static function setArrayReturnType($returnType): bool
+ {
+ if (
+ ($returnType == self::RETURN_ARRAY_AS_VALUE)
+ || ($returnType == self::RETURN_ARRAY_AS_ERROR)
+ || ($returnType == self::RETURN_ARRAY_AS_ARRAY)
+ ) {
+ self::$returnArrayAsType = $returnType;
+
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Return the Array Return Type (Array or Value of first element in the array).
+ *
+ * @return string $returnType Array return type
+ */
+ public static function getArrayReturnType()
+ {
+ return self::$returnArrayAsType;
+ }
+
+ /**
+ * Is calculation caching enabled?
+ *
+ * @return bool
+ */
+ public function getCalculationCacheEnabled()
+ {
+ return $this->calculationCacheEnabled;
+ }
+
+ /**
+ * Enable/disable calculation cache.
+ *
+ * @param bool $calculationCacheEnabled
+ */
+ public function setCalculationCacheEnabled($calculationCacheEnabled): void
+ {
+ $this->calculationCacheEnabled = $calculationCacheEnabled;
+ $this->clearCalculationCache();
+ }
+
+ /**
+ * Enable calculation cache.
+ */
+ public function enableCalculationCache(): void
+ {
+ $this->setCalculationCacheEnabled(true);
+ }
+
+ /**
+ * Disable calculation cache.
+ */
+ public function disableCalculationCache(): void
+ {
+ $this->setCalculationCacheEnabled(false);
+ }
+
+ /**
+ * Clear calculation cache.
+ */
+ public function clearCalculationCache(): void
+ {
+ $this->calculationCache = [];
+ }
+
+ /**
+ * Clear calculation cache for a specified worksheet.
+ *
+ * @param string $worksheetName
+ */
+ public function clearCalculationCacheForWorksheet($worksheetName): void
+ {
+ if (isset($this->calculationCache[$worksheetName])) {
+ unset($this->calculationCache[$worksheetName]);
+ }
+ }
+
+ /**
+ * Rename calculation cache for a specified worksheet.
+ *
+ * @param string $fromWorksheetName
+ * @param string $toWorksheetName
+ */
+ public function renameCalculationCacheForWorksheet($fromWorksheetName, $toWorksheetName): void
+ {
+ if (isset($this->calculationCache[$fromWorksheetName])) {
+ $this->calculationCache[$toWorksheetName] = &$this->calculationCache[$fromWorksheetName];
+ unset($this->calculationCache[$fromWorksheetName]);
+ }
+ }
+
+ /**
+ * Enable/disable calculation cache.
+ */
+ public function setBranchPruningEnabled(mixed $enabled): void
+ {
+ $this->branchPruningEnabled = $enabled;
+ $this->branchPruner = new BranchPruner($this->branchPruningEnabled);
+ }
+
+ public function enableBranchPruning(): void
+ {
+ $this->setBranchPruningEnabled(true);
+ }
+
+ public function disableBranchPruning(): void
+ {
+ $this->setBranchPruningEnabled(false);
+ }
+
+ /**
+ * Get the currently defined locale code.
+ *
+ * @return string
+ */
+ public function getLocale()
+ {
+ return self::$localeLanguage;
+ }
+
+ private function getLocaleFile(string $localeDir, string $locale, string $language, string $file): string
+ {
+ $localeFileName = $localeDir . str_replace('_', DIRECTORY_SEPARATOR, $locale)
+ . DIRECTORY_SEPARATOR . $file;
+ if (!file_exists($localeFileName)) {
+ // If there isn't a locale specific file, look for a language specific file
+ $localeFileName = $localeDir . $language . DIRECTORY_SEPARATOR . $file;
+ if (!file_exists($localeFileName)) {
+ throw new Exception('Locale file not found');
+ }
+ }
+
+ return $localeFileName;
+ }
+
+ /**
+ * Set the locale code.
+ *
+ * @param string $locale The locale to use for formula translation, eg: 'en_us'
+ */
+ public function setLocale(string $locale): bool
+ {
+ // Identify our locale and language
+ $language = $locale = strtolower($locale);
+ if (str_contains($locale, '_')) {
+ [$language] = explode('_', $locale);
+ }
+ if (count(self::$validLocaleLanguages) == 1) {
+ self::loadLocales();
+ }
+
+ // Test whether we have any language data for this language (any locale)
+ if (in_array($language, self::$validLocaleLanguages, true)) {
+ // initialise language/locale settings
+ self::$localeFunctions = [];
+ self::$localeArgumentSeparator = ',';
+ self::$localeBoolean = ['TRUE' => 'TRUE', 'FALSE' => 'FALSE', 'NULL' => 'NULL'];
+
+ // Default is US English, if user isn't requesting US english, then read the necessary data from the locale files
+ if ($locale !== 'en_us') {
+ $localeDir = implode(DIRECTORY_SEPARATOR, [__DIR__, 'locale', null]);
+
+ // Search for a file with a list of function names for locale
+ try {
+ $functionNamesFile = $this->getLocaleFile($localeDir, $locale, $language, 'functions');
+ } catch (Exception $e) {
+ return false;
+ }
+
+ // Retrieve the list of locale or language specific function names
+ $localeFunctions = file($functionNamesFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES) ?: [];
+ foreach ($localeFunctions as $localeFunction) {
+ [$localeFunction] = explode('##', $localeFunction); // Strip out comments
+ if (str_contains($localeFunction, '=')) {
+ [$fName, $lfName] = array_map('trim', explode('=', $localeFunction));
+ if ((str_starts_with($fName, '*') || isset(self::$phpSpreadsheetFunctions[$fName])) && ($lfName != '') && ($fName != $lfName)) {
+ self::$localeFunctions[$fName] = $lfName;
+ }
+ }
+ }
+ // Default the TRUE and FALSE constants to the locale names of the TRUE() and FALSE() functions
+ if (isset(self::$localeFunctions['TRUE'])) {
+ self::$localeBoolean['TRUE'] = self::$localeFunctions['TRUE'];
+ }
+ if (isset(self::$localeFunctions['FALSE'])) {
+ self::$localeBoolean['FALSE'] = self::$localeFunctions['FALSE'];
+ }
+
+ try {
+ $configFile = $this->getLocaleFile($localeDir, $locale, $language, 'config');
+ } catch (Exception) {
+ return false;
+ }
+
+ $localeSettings = file($configFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES) ?: [];
+ foreach ($localeSettings as $localeSetting) {
+ [$localeSetting] = explode('##', $localeSetting); // Strip out comments
+ if (str_contains($localeSetting, '=')) {
+ [$settingName, $settingValue] = array_map('trim', explode('=', $localeSetting));
+ $settingName = strtoupper($settingName);
+ if ($settingValue !== '') {
+ switch ($settingName) {
+ case 'ARGUMENTSEPARATOR':
+ self::$localeArgumentSeparator = $settingValue;
+
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ self::$functionReplaceFromExcel = self::$functionReplaceToExcel
+ = self::$functionReplaceFromLocale = self::$functionReplaceToLocale = null;
+ self::$localeLanguage = $locale;
+
+ return true;
+ }
+
+ return false;
+ }
+
+ public static function translateSeparator(
+ string $fromSeparator,
+ string $toSeparator,
+ string $formula,
+ int &$inBracesLevel,
+ string $openBrace = self::FORMULA_OPEN_FUNCTION_BRACE,
+ string $closeBrace = self::FORMULA_CLOSE_FUNCTION_BRACE
+ ): string {
+ $strlen = mb_strlen($formula);
+ for ($i = 0; $i < $strlen; ++$i) {
+ $chr = mb_substr($formula, $i, 1);
+ switch ($chr) {
+ case $openBrace:
+ ++$inBracesLevel;
+
+ break;
+ case $closeBrace:
+ --$inBracesLevel;
+
+ break;
+ case $fromSeparator:
+ if ($inBracesLevel > 0) {
+ $formula = mb_substr($formula, 0, $i) . $toSeparator . mb_substr($formula, $i + 1);
+ }
+ }
+ }
+
+ return $formula;
+ }
+
+ private static function translateFormulaBlock(
+ array $from,
+ array $to,
+ string $formula,
+ int &$inFunctionBracesLevel,
+ int &$inMatrixBracesLevel,
+ string $fromSeparator,
+ string $toSeparator
+ ): string {
+ // Function Names
+ $formula = (string) preg_replace($from, $to, $formula);
+
+ // Temporarily adjust matrix separators so that they won't be confused with function arguments
+ $formula = self::translateSeparator(';', '|', $formula, $inMatrixBracesLevel, self::FORMULA_OPEN_MATRIX_BRACE, self::FORMULA_CLOSE_MATRIX_BRACE);
+ $formula = self::translateSeparator(',', '!', $formula, $inMatrixBracesLevel, self::FORMULA_OPEN_MATRIX_BRACE, self::FORMULA_CLOSE_MATRIX_BRACE);
+ // Function Argument Separators
+ $formula = self::translateSeparator($fromSeparator, $toSeparator, $formula, $inFunctionBracesLevel);
+ // Restore matrix separators
+ $formula = self::translateSeparator('|', ';', $formula, $inMatrixBracesLevel, self::FORMULA_OPEN_MATRIX_BRACE, self::FORMULA_CLOSE_MATRIX_BRACE);
+ $formula = self::translateSeparator('!', ',', $formula, $inMatrixBracesLevel, self::FORMULA_OPEN_MATRIX_BRACE, self::FORMULA_CLOSE_MATRIX_BRACE);
+
+ return $formula;
+ }
+
+ private static function translateFormula(array $from, array $to, string $formula, string $fromSeparator, string $toSeparator): string
+ {
+ // Convert any Excel function names and constant names to the required language;
+ // and adjust function argument separators
+ if (self::$localeLanguage !== 'en_us') {
+ $inFunctionBracesLevel = 0;
+ $inMatrixBracesLevel = 0;
+ // If there is the possibility of separators within a quoted string, then we treat them as literals
+ if (str_contains($formula, self::FORMULA_STRING_QUOTE)) {
+ // So instead we skip replacing in any quoted strings by only replacing in every other array element
+ // after we've exploded the formula
+ $temp = explode(self::FORMULA_STRING_QUOTE, $formula);
+ $notWithinQuotes = false;
+ foreach ($temp as &$value) {
+ // Only adjust in alternating array entries
+ $notWithinQuotes = $notWithinQuotes === false;
+ if ($notWithinQuotes === true) {
+ $value = self::translateFormulaBlock($from, $to, $value, $inFunctionBracesLevel, $inMatrixBracesLevel, $fromSeparator, $toSeparator);
+ }
+ }
+ unset($value);
+ // Then rebuild the formula string
+ $formula = implode(self::FORMULA_STRING_QUOTE, $temp);
+ } else {
+ // If there's no quoted strings, then we do a simple count/replace
+ $formula = self::translateFormulaBlock($from, $to, $formula, $inFunctionBracesLevel, $inMatrixBracesLevel, $fromSeparator, $toSeparator);
+ }
+ }
+
+ return $formula;
+ }
+
+ /** @var ?array */
+ private static $functionReplaceFromExcel;
+
+ /** @var ?array */
+ private static $functionReplaceToLocale;
+
+ /**
+ * @deprecated 1.30.0 use translateFormulaToLocale() instead
+ *
+ * @codeCoverageIgnore
+ */
+ public function _translateFormulaToLocale(string $formula): string
+ {
+ return $this->translateFormulaToLocale($formula);
+ }
+
+ public function translateFormulaToLocale(string $formula): string
+ {
+ $formula = preg_replace(self::CALCULATION_REGEXP_STRIP_XLFN_XLWS, '', $formula) ?? '';
+ // Build list of function names and constants for translation
+ if (self::$functionReplaceFromExcel === null) {
+ self::$functionReplaceFromExcel = [];
+ foreach (array_keys(self::$localeFunctions) as $excelFunctionName) {
+ self::$functionReplaceFromExcel[] = '/(@?[^\w\.])' . preg_quote($excelFunctionName, '/') . '([\s]*\()/ui';
+ }
+ foreach (array_keys(self::$localeBoolean) as $excelBoolean) {
+ self::$functionReplaceFromExcel[] = '/(@?[^\w\.])' . preg_quote($excelBoolean, '/') . '([^\w\.])/ui';
+ }
+ }
+
+ if (self::$functionReplaceToLocale === null) {
+ self::$functionReplaceToLocale = [];
+ foreach (self::$localeFunctions as $localeFunctionName) {
+ self::$functionReplaceToLocale[] = '$1' . trim($localeFunctionName) . '$2';
+ }
+ foreach (self::$localeBoolean as $localeBoolean) {
+ self::$functionReplaceToLocale[] = '$1' . trim($localeBoolean) . '$2';
+ }
+ }
+
+ return self::translateFormula(
+ self::$functionReplaceFromExcel,
+ self::$functionReplaceToLocale,
+ $formula,
+ ',',
+ self::$localeArgumentSeparator
+ );
+ }
+
+ /** @var ?array */
+ private static $functionReplaceFromLocale;
+
+ /** @var ?array */
+ private static $functionReplaceToExcel;
+
+ /**
+ * @deprecated 1.30.0 use translateFormulaToEnglish() instead
+ *
+ * @codeCoverageIgnore
+ */
+ public function _translateFormulaToEnglish(string $formula): string
+ {
+ return $this->translateFormulaToEnglish($formula);
+ }
+
+ public function translateFormulaToEnglish(string $formula): string
+ {
+ if (self::$functionReplaceFromLocale === null) {
+ self::$functionReplaceFromLocale = [];
+ foreach (self::$localeFunctions as $localeFunctionName) {
+ self::$functionReplaceFromLocale[] = '/(@?[^\w\.])' . preg_quote($localeFunctionName, '/') . '([\s]*\()/ui';
+ }
+ foreach (self::$localeBoolean as $excelBoolean) {
+ self::$functionReplaceFromLocale[] = '/(@?[^\w\.])' . preg_quote($excelBoolean, '/') . '([^\w\.])/ui';
+ }
+ }
+
+ if (self::$functionReplaceToExcel === null) {
+ self::$functionReplaceToExcel = [];
+ foreach (array_keys(self::$localeFunctions) as $excelFunctionName) {
+ self::$functionReplaceToExcel[] = '$1' . trim($excelFunctionName) . '$2';
+ }
+ foreach (array_keys(self::$localeBoolean) as $excelBoolean) {
+ self::$functionReplaceToExcel[] = '$1' . trim($excelBoolean) . '$2';
+ }
+ }
+
+ return self::translateFormula(self::$functionReplaceFromLocale, self::$functionReplaceToExcel, $formula, self::$localeArgumentSeparator, ',');
+ }
+
+ /**
+ * @param string $function
+ *
+ * @return string
+ */
+ public static function localeFunc($function)
+ {
+ if (self::$localeLanguage !== 'en_us') {
+ $functionName = trim($function, '(');
+ if (isset(self::$localeFunctions[$functionName])) {
+ $brace = ($functionName != $function);
+ $function = self::$localeFunctions[$functionName];
+ if ($brace) {
+ $function .= '(';
+ }
+ }
+ }
+
+ return $function;
+ }
+
+ /**
+ * Wrap string values in quotes.
+ *
+ * @return mixed
+ */
+ public static function wrapResult(mixed $value)
+ {
+ if (is_string($value)) {
+ // Error values cannot be "wrapped"
+ if (preg_match('/^' . self::CALCULATION_REGEXP_ERROR . '$/i', $value, $match)) {
+ // Return Excel errors "as is"
+ return $value;
+ }
+
+ // Return strings wrapped in quotes
+ return self::FORMULA_STRING_QUOTE . $value . self::FORMULA_STRING_QUOTE;
+ } elseif ((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) {
+ // Convert numeric errors to NaN error
+ return Information\ExcelError::NAN();
+ }
+
+ return $value;
+ }
+
+ /**
+ * Remove quotes used as a wrapper to identify string values.
+ *
+ * @return mixed
+ */
+ public static function unwrapResult(mixed $value)
+ {
+ if (is_string($value)) {
+ if ((isset($value[0])) && ($value[0] == self::FORMULA_STRING_QUOTE) && (substr($value, -1) == self::FORMULA_STRING_QUOTE)) {
+ return substr($value, 1, -1);
+ }
+ // Convert numeric errors to NAN error
+ } elseif ((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) {
+ return Information\ExcelError::NAN();
+ }
+
+ return $value;
+ }
+
+ /**
+ * Calculate cell value (using formula from a cell ID)
+ * Retained for backward compatibility.
+ *
+ * @param Cell $cell Cell to calculate
+ *
+ * @return mixed
+ */
+ public function calculate(?Cell $cell = null)
+ {
+ try {
+ return $this->calculateCellValue($cell);
+ } catch (\Exception $e) {
+ throw new Exception($e->getMessage());
+ }
+ }
+
+ /**
+ * Calculate the value of a cell formula.
+ *
+ * @param Cell $cell Cell to calculate
+ * @param bool $resetLog Flag indicating whether the debug log should be reset or not
+ *
+ * @return mixed
+ */
+ public function calculateCellValue(?Cell $cell = null, $resetLog = true)
+ {
+ if ($cell === null) {
+ return null;
+ }
+
+ $returnArrayAsType = self::$returnArrayAsType;
+ if ($resetLog) {
+ // Initialise the logging settings if requested
+ $this->formulaError = null;
+ $this->debugLog->clearLog();
+ $this->cyclicReferenceStack->clear();
+ $this->cyclicFormulaCounter = 1;
+
+ self::$returnArrayAsType = self::RETURN_ARRAY_AS_ARRAY;
+ }
+
+ // Execute the calculation for the cell formula
+ $this->cellStack[] = [
+ 'sheet' => $cell->getWorksheet()->getTitle(),
+ 'cell' => $cell->getCoordinate(),
+ ];
+
+ $cellAddressAttempted = false;
+ $cellAddress = null;
+
+ try {
+ $result = self::unwrapResult($this->_calculateFormulaValue($cell->getValue(), $cell->getCoordinate(), $cell));
+ if ($this->spreadsheet === null) {
+ throw new Exception('null spreadsheet in calculateCellValue');
+ }
+ $cellAddressAttempted = true;
+ $cellAddress = array_pop($this->cellStack);
+ if ($cellAddress === null) {
+ throw new Exception('null cellAddress in calculateCellValue');
+ }
+ $testSheet = $this->spreadsheet->getSheetByName($cellAddress['sheet']);
+ if ($testSheet === null) {
+ throw new Exception('worksheet not found in calculateCellValue');
+ }
+ $testSheet->getCell($cellAddress['cell']);
+ } catch (\Exception $e) {
+ if (!$cellAddressAttempted) {
+ $cellAddress = array_pop($this->cellStack);
+ }
+ if ($this->spreadsheet !== null && is_array($cellAddress) && array_key_exists('sheet', $cellAddress)) {
+ $testSheet = $this->spreadsheet->getSheetByName($cellAddress['sheet']);
+ if ($testSheet !== null && array_key_exists('cell', $cellAddress)) {
+ $testSheet->getCell($cellAddress['cell']);
+ }
+ }
+
+ throw new Exception($e->getMessage(), $e->getCode(), $e);
+ }
+
+ if ((is_array($result)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) {
+ self::$returnArrayAsType = $returnArrayAsType;
+ $testResult = Functions::flattenArray($result);
+ if (self::$returnArrayAsType == self::RETURN_ARRAY_AS_ERROR) {
+ return Information\ExcelError::VALUE();
+ }
+ // If there's only a single cell in the array, then we allow it
+ if (count($testResult) != 1) {
+ // If keys are numeric, then it's a matrix result rather than a cell range result, so we permit it
+ $r = array_keys($result);
+ $r = array_shift($r);
+ if (!is_numeric($r)) {
+ return Information\ExcelError::VALUE();
+ }
+ if (is_array($result[$r])) {
+ $c = array_keys($result[$r]);
+ $c = array_shift($c);
+ if (!is_numeric($c)) {
+ return Information\ExcelError::VALUE();
+ }
+ }
+ }
+ $result = array_shift($testResult);
+ }
+ self::$returnArrayAsType = $returnArrayAsType;
+
+ if ($result === null && $cell->getWorksheet()->getSheetView()->getShowZeros()) {
+ return 0;
+ } elseif ((is_float($result)) && ((is_nan($result)) || (is_infinite($result)))) {
+ return Information\ExcelError::NAN();
+ }
+
+ return $result;
+ }
+
+ /**
+ * Validate and parse a formula string.
+ *
+ * @param string $formula Formula to parse
+ *
+ * @return array|bool
+ */
+ public function parseFormula($formula)
+ {
+ // Basic validation that this is indeed a formula
+ // We return an empty array if not
+ $formula = trim($formula);
+ if ((!isset($formula[0])) || ($formula[0] != '=')) {
+ return [];
+ }
+ $formula = ltrim(substr($formula, 1));
+ if (!isset($formula[0])) {
+ return [];
+ }
+
+ // Parse the formula and return the token stack
+ return $this->internalParseFormula($formula);
+ }
+
+ /**
+ * Calculate the value of a formula.
+ *
+ * @param string $formula Formula to parse
+ * @param string $cellID Address of the cell to calculate
+ * @param Cell $cell Cell to calculate
+ *
+ * @return mixed
+ */
+ public function calculateFormula($formula, $cellID = null, ?Cell $cell = null)
+ {
+ // Initialise the logging settings
+ $this->formulaError = null;
+ $this->debugLog->clearLog();
+ $this->cyclicReferenceStack->clear();
+
+ $resetCache = $this->getCalculationCacheEnabled();
+ if ($this->spreadsheet !== null && $cellID === null && $cell === null) {
+ $cellID = 'A1';
+ $cell = $this->spreadsheet->getActiveSheet()->getCell($cellID);
+ } else {
+ // Disable calculation cacheing because it only applies to cell calculations, not straight formulae
+ // But don't actually flush any cache
+ $this->calculationCacheEnabled = false;
+ }
+
+ // Execute the calculation
+ try {
+ $result = self::unwrapResult($this->_calculateFormulaValue($formula, $cellID, $cell));
+ } catch (\Exception $e) {
+ throw new Exception($e->getMessage());
+ }
+
+ if ($this->spreadsheet === null) {
+ // Reset calculation cacheing to its previous state
+ $this->calculationCacheEnabled = $resetCache;
+ }
+
+ return $result;
+ }
+
+ public function getValueFromCache(string $cellReference, mixed &$cellValue): bool
+ {
+ $this->debugLog->writeDebugLog('Testing cache value for cell %s', $cellReference);
+ // Is calculation cacheing enabled?
+ // If so, is the required value present in calculation cache?
+ if (($this->calculationCacheEnabled) && (isset($this->calculationCache[$cellReference]))) {
+ $this->debugLog->writeDebugLog('Retrieving value for cell %s from cache', $cellReference);
+ // Return the cached result
+
+ $cellValue = $this->calculationCache[$cellReference];
+
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * @param string $cellReference
+ */
+ public function saveValueToCache($cellReference, mixed $cellValue): void
+ {
+ if ($this->calculationCacheEnabled) {
+ $this->calculationCache[$cellReference] = $cellValue;
+ }
+ }
+
+ /**
+ * Parse a cell formula and calculate its value.
+ *
+ * @param string $formula The formula to parse and calculate
+ * @param string $cellID The ID (e.g. A3) of the cell that we are calculating
+ * @param Cell $cell Cell to calculate
+ * @param bool $ignoreQuotePrefix If set to true, evaluate the formyla even if the referenced cell is quote prefixed
+ *
+ * @return mixed
+ */
+ public function _calculateFormulaValue($formula, $cellID = null, ?Cell $cell = null, bool $ignoreQuotePrefix = false)
+ {
+ $cellValue = null;
+
+ // Quote-Prefixed cell values cannot be formulae, but are treated as strings
+ if ($cell !== null && $ignoreQuotePrefix === false && $cell->getStyle()->getQuotePrefix() === true) {
+ return self::wrapResult((string) $formula);
+ }
+
+ if (preg_match('/^=\s*cmd\s*\|/miu', $formula) !== 0) {
+ return self::wrapResult($formula);
+ }
+
+ // Basic validation that this is indeed a formula
+ // We simply return the cell value if not
+ $formula = trim($formula);
+ if ($formula[0] != '=') {
+ return self::wrapResult($formula);
+ }
+ $formula = ltrim(substr($formula, 1));
+ if (!isset($formula[0])) {
+ return self::wrapResult($formula);
+ }
+
+ $pCellParent = ($cell !== null) ? $cell->getWorksheet() : null;
+ $wsTitle = ($pCellParent !== null) ? $pCellParent->getTitle() : "\x00Wrk";
+ $wsCellReference = $wsTitle . '!' . $cellID;
+
+ if (($cellID !== null) && ($this->getValueFromCache($wsCellReference, $cellValue))) {
+ return $cellValue;
+ }
+ $this->debugLog->writeDebugLog('Evaluating formula for cell %s', $wsCellReference);
+
+ if (($wsTitle[0] !== "\x00") && ($this->cyclicReferenceStack->onStack($wsCellReference))) {
+ if ($this->cyclicFormulaCount <= 0) {
+ $this->cyclicFormulaCell = '';
+
+ return $this->raiseFormulaError('Cyclic Reference in Formula');
+ } elseif ($this->cyclicFormulaCell === $wsCellReference) {
+ ++$this->cyclicFormulaCounter;
+ if ($this->cyclicFormulaCounter >= $this->cyclicFormulaCount) {
+ $this->cyclicFormulaCell = '';
+
+ return $cellValue;
+ }
+ } elseif ($this->cyclicFormulaCell == '') {
+ if ($this->cyclicFormulaCounter >= $this->cyclicFormulaCount) {
+ return $cellValue;
+ }
+ $this->cyclicFormulaCell = $wsCellReference;
+ }
+ }
+
+ $this->debugLog->writeDebugLog('Formula for cell %s is %s', $wsCellReference, $formula);
+ // Parse the formula onto the token stack and calculate the value
+ $this->cyclicReferenceStack->push($wsCellReference);
+
+ $cellValue = $this->processTokenStack($this->internalParseFormula($formula, $cell), $cellID, $cell);
+ $this->cyclicReferenceStack->pop();
+
+ // Save to calculation cache
+ if ($cellID !== null) {
+ $this->saveValueToCache($wsCellReference, $cellValue);
+ }
+
+ // Return the calculated value
+ return $cellValue;
+ }
+
+ /**
+ * Ensure that paired matrix operands are both matrices and of the same size.
+ *
+ * @param mixed $operand1 First matrix operand
+ * @param mixed $operand2 Second matrix operand
+ * @param int $resize Flag indicating whether the matrices should be resized to match
+ * and (if so), whether the smaller dimension should grow or the
+ * larger should shrink.
+ * 0 = no resize
+ * 1 = shrink to fit
+ * 2 = extend to fit
+ */
+ private static function checkMatrixOperands(mixed &$operand1, mixed &$operand2, $resize = 1): array
+ {
+ // Examine each of the two operands, and turn them into an array if they aren't one already
+ // Note that this function should only be called if one or both of the operand is already an array
+ if (!is_array($operand1)) {
+ [$matrixRows, $matrixColumns] = self::getMatrixDimensions($operand2);
+ $operand1 = array_fill(0, $matrixRows, array_fill(0, $matrixColumns, $operand1));
+ $resize = 0;
+ } elseif (!is_array($operand2)) {
+ [$matrixRows, $matrixColumns] = self::getMatrixDimensions($operand1);
+ $operand2 = array_fill(0, $matrixRows, array_fill(0, $matrixColumns, $operand2));
+ $resize = 0;
+ }
+
+ [$matrix1Rows, $matrix1Columns] = self::getMatrixDimensions($operand1);
+ [$matrix2Rows, $matrix2Columns] = self::getMatrixDimensions($operand2);
+ if (($matrix1Rows == $matrix2Columns) && ($matrix2Rows == $matrix1Columns)) {
+ $resize = 1;
+ }
+
+ if ($resize == 2) {
+ // Given two matrices of (potentially) unequal size, convert the smaller in each dimension to match the larger
+ self::resizeMatricesExtend($operand1, $operand2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns);
+ } elseif ($resize == 1) {
+ // Given two matrices of (potentially) unequal size, convert the larger in each dimension to match the smaller
+ self::resizeMatricesShrink($operand1, $operand2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns);
+ }
+
+ return [$matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns];
+ }
+
+ /**
+ * Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0.
+ *
+ * @param array $matrix matrix operand
+ *
+ * @return int[] An array comprising the number of rows, and number of columns
+ */
+ public static function getMatrixDimensions(array &$matrix): array
+ {
+ $matrixRows = count($matrix);
+ $matrixColumns = 0;
+ foreach ($matrix as $rowKey => $rowValue) {
+ if (!is_array($rowValue)) {
+ $matrix[$rowKey] = [$rowValue];
+ $matrixColumns = max(1, $matrixColumns);
+ } else {
+ $matrix[$rowKey] = array_values($rowValue);
+ $matrixColumns = max(count($rowValue), $matrixColumns);
+ }
+ }
+ $matrix = array_values($matrix);
+
+ return [$matrixRows, $matrixColumns];
+ }
+
+ /**
+ * Ensure that paired matrix operands are both matrices of the same size.
+ *
+ * @param array $matrix1 First matrix operand
+ * @param array $matrix2 Second matrix operand
+ * @param int $matrix1Rows Row size of first matrix operand
+ * @param int $matrix1Columns Column size of first matrix operand
+ * @param int $matrix2Rows Row size of second matrix operand
+ * @param int $matrix2Columns Column size of second matrix operand
+ */
+ private static function resizeMatricesShrink(array &$matrix1, array &$matrix2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns): void
+ {
+ if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) {
+ if ($matrix2Rows < $matrix1Rows) {
+ for ($i = $matrix2Rows; $i < $matrix1Rows; ++$i) {
+ unset($matrix1[$i]);
+ }
+ }
+ if ($matrix2Columns < $matrix1Columns) {
+ for ($i = 0; $i < $matrix1Rows; ++$i) {
+ for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) {
+ unset($matrix1[$i][$j]);
+ }
+ }
+ }
+ }
+
+ if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) {
+ if ($matrix1Rows < $matrix2Rows) {
+ for ($i = $matrix1Rows; $i < $matrix2Rows; ++$i) {
+ unset($matrix2[$i]);
+ }
+ }
+ if ($matrix1Columns < $matrix2Columns) {
+ for ($i = 0; $i < $matrix2Rows; ++$i) {
+ for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) {
+ unset($matrix2[$i][$j]);
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Ensure that paired matrix operands are both matrices of the same size.
+ *
+ * @param array $matrix1 First matrix operand
+ * @param array $matrix2 Second matrix operand
+ * @param int $matrix1Rows Row size of first matrix operand
+ * @param int $matrix1Columns Column size of first matrix operand
+ * @param int $matrix2Rows Row size of second matrix operand
+ * @param int $matrix2Columns Column size of second matrix operand
+ */
+ private static function resizeMatricesExtend(array &$matrix1, array &$matrix2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns): void
+ {
+ if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) {
+ if ($matrix2Columns < $matrix1Columns) {
+ for ($i = 0; $i < $matrix2Rows; ++$i) {
+ $x = $matrix2[$i][$matrix2Columns - 1];
+ for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) {
+ $matrix2[$i][$j] = $x;
+ }
+ }
+ }
+ if ($matrix2Rows < $matrix1Rows) {
+ $x = $matrix2[$matrix2Rows - 1];
+ for ($i = 0; $i < $matrix1Rows; ++$i) {
+ $matrix2[$i] = $x;
+ }
+ }
+ }
+
+ if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) {
+ if ($matrix1Columns < $matrix2Columns) {
+ for ($i = 0; $i < $matrix1Rows; ++$i) {
+ $x = $matrix1[$i][$matrix1Columns - 1];
+ for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) {
+ $matrix1[$i][$j] = $x;
+ }
+ }
+ }
+ if ($matrix1Rows < $matrix2Rows) {
+ $x = $matrix1[$matrix1Rows - 1];
+ for ($i = 0; $i < $matrix2Rows; ++$i) {
+ $matrix1[$i] = $x;
+ }
+ }
+ }
+ }
+
+ /**
+ * Format details of an operand for display in the log (based on operand type).
+ *
+ * @param mixed $value First matrix operand
+ *
+ * @return mixed
+ */
+ private function showValue(mixed $value)
+ {
+ if ($this->debugLog->getWriteDebugLog()) {
+ $testArray = Functions::flattenArray($value);
+ if (count($testArray) == 1) {
+ $value = array_pop($testArray);
+ }
+
+ if (is_array($value)) {
+ $returnMatrix = [];
+ $pad = $rpad = ', ';
+ foreach ($value as $row) {
+ if (is_array($row)) {
+ $returnMatrix[] = implode($pad, array_map([$this, 'showValue'], $row));
+ $rpad = '; ';
+ } else {
+ $returnMatrix[] = $this->showValue($row);
+ }
+ }
+
+ return '{ ' . implode($rpad, $returnMatrix) . ' }';
+ } elseif (is_string($value) && (trim($value, self::FORMULA_STRING_QUOTE) == $value)) {
+ return self::FORMULA_STRING_QUOTE . $value . self::FORMULA_STRING_QUOTE;
+ } elseif (is_bool($value)) {
+ return ($value) ? self::$localeBoolean['TRUE'] : self::$localeBoolean['FALSE'];
+ } elseif ($value === null) {
+ return self::$localeBoolean['NULL'];
+ }
+ }
+
+ return Functions::flattenSingleValue($value);
+ }
+
+ /**
+ * Format type and details of an operand for display in the log (based on operand type).
+ *
+ * @param mixed $value First matrix operand
+ */
+ private function showTypeDetails(mixed $value): ?string
+ {
+ if ($this->debugLog->getWriteDebugLog()) {
+ $testArray = Functions::flattenArray($value);
+ if (count($testArray) == 1) {
+ $value = array_pop($testArray);
+ }
+
+ if ($value === null) {
+ return 'a NULL value';
+ } elseif (is_float($value)) {
+ $typeString = 'a floating point number';
+ } elseif (is_int($value)) {
+ $typeString = 'an integer number';
+ } elseif (is_bool($value)) {
+ $typeString = 'a boolean';
+ } elseif (is_array($value)) {
+ $typeString = 'a matrix';
+ } else {
+ if ($value == '') {
+ return 'an empty string';
+ } elseif ($value[0] == '#') {
+ return 'a ' . $value . ' error';
+ }
+ $typeString = 'a string';
+ }
+
+ return $typeString . ' with a value of ' . $this->showValue($value);
+ }
+
+ return null;
+ }
+
+ /**
+ * @return false|string False indicates an error
+ */
+ private function convertMatrixReferences(string $formula): false|string
+ {
+ static $matrixReplaceFrom = [self::FORMULA_OPEN_MATRIX_BRACE, ';', self::FORMULA_CLOSE_MATRIX_BRACE];
+ static $matrixReplaceTo = ['MKMATRIX(MKMATRIX(', '),MKMATRIX(', '))'];
+
+ // Convert any Excel matrix references to the MKMATRIX() function
+ if (str_contains($formula, self::FORMULA_OPEN_MATRIX_BRACE)) {
+ // If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators
+ if (str_contains($formula, self::FORMULA_STRING_QUOTE)) {
+ // So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded
+ // the formula
+ $temp = explode(self::FORMULA_STRING_QUOTE, $formula);
+ // Open and Closed counts used for trapping mismatched braces in the formula
+ $openCount = $closeCount = 0;
+ $notWithinQuotes = false;
+ foreach ($temp as &$value) {
+ // Only count/replace in alternating array entries
+ $notWithinQuotes = $notWithinQuotes === false;
+ if ($notWithinQuotes === true) {
+ $openCount += substr_count($value, self::FORMULA_OPEN_MATRIX_BRACE);
+ $closeCount += substr_count($value, self::FORMULA_CLOSE_MATRIX_BRACE);
+ $value = str_replace($matrixReplaceFrom, $matrixReplaceTo, $value);
+ }
+ }
+ unset($value);
+ // Then rebuild the formula string
+ $formula = implode(self::FORMULA_STRING_QUOTE, $temp);
+ } else {
+ // If there's no quoted strings, then we do a simple count/replace
+ $openCount = substr_count($formula, self::FORMULA_OPEN_MATRIX_BRACE);
+ $closeCount = substr_count($formula, self::FORMULA_CLOSE_MATRIX_BRACE);
+ $formula = str_replace($matrixReplaceFrom, $matrixReplaceTo, $formula);
+ }
+ // Trap for mismatched braces and trigger an appropriate error
+ if ($openCount < $closeCount) {
+ if ($openCount > 0) {
+ return $this->raiseFormulaError("Formula Error: Mismatched matrix braces '}'");
+ }
+
+ return $this->raiseFormulaError("Formula Error: Unexpected '}' encountered");
+ } elseif ($openCount > $closeCount) {
+ if ($closeCount > 0) {
+ return $this->raiseFormulaError("Formula Error: Mismatched matrix braces '{'");
+ }
+
+ return $this->raiseFormulaError("Formula Error: Unexpected '{' encountered");
+ }
+ }
+
+ return $formula;
+ }
+
+ /**
+ * Binary Operators.
+ * These operators always work on two values.
+ * Array key is the operator, the value indicates whether this is a left or right associative operator.
+ *
+ * @var array
+ */
+ private static $operatorAssociativity = [
+ '^' => 0, // Exponentiation
+ '*' => 0, '/' => 0, // Multiplication and Division
+ '+' => 0, '-' => 0, // Addition and Subtraction
+ '&' => 0, // Concatenation
+ '∪' => 0, '∩' => 0, ':' => 0, // Union, Intersect and Range
+ '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0, // Comparison
+ ];
+
+ /**
+ * Comparison (Boolean) Operators.
+ * These operators work on two values, but always return a boolean result.
+ *
+ * @var array
+ */
+ private static $comparisonOperators = ['>' => true, '<' => true, '=' => true, '>=' => true, '<=' => true, '<>' => true];
+
+ /**
+ * Operator Precedence.
+ * This list includes all valid operators, whether binary (including boolean) or unary (such as %).
+ * Array key is the operator, the value is its precedence.
+ *
+ * @var array
+ */
+ private static $operatorPrecedence = [
+ ':' => 9, // Range
+ '∩' => 8, // Intersect
+ '∪' => 7, // Union
+ '~' => 6, // Negation
+ '%' => 5, // Percentage
+ '^' => 4, // Exponentiation
+ '*' => 3, '/' => 3, // Multiplication and Division
+ '+' => 2, '-' => 2, // Addition and Subtraction
+ '&' => 1, // Concatenation
+ '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0, // Comparison
+ ];
+
+ // Convert infix to postfix notation
+
+ /**
+ * @param string $formula
+ *
+ * @return array|false
+ */
+ private function internalParseFormula($formula, ?Cell $cell = null): bool|array
+ {
+ if (($formula = $this->convertMatrixReferences(trim($formula))) === false) {
+ return false;
+ }
+
+ // If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent worksheet),
+ // so we store the parent worksheet so that we can re-attach it when necessary
+ $pCellParent = ($cell !== null) ? $cell->getWorksheet() : null;
+
+ $regexpMatchString = '/^((?' . self::CALCULATION_REGEXP_STRING
+ . ')|(?' . self::CALCULATION_REGEXP_FUNCTION
+ . ')|(?' . self::CALCULATION_REGEXP_CELLREF
+ . ')|(?' . self::CALCULATION_REGEXP_COLUMN_RANGE
+ . ')|(?' . self::CALCULATION_REGEXP_ROW_RANGE
+ . ')|(?' . self::CALCULATION_REGEXP_NUMBER
+ . ')|(?' . self::CALCULATION_REGEXP_OPENBRACE
+ . ')|(?' . self::CALCULATION_REGEXP_STRUCTURED_REFERENCE
+ . ')|(?' . self::CALCULATION_REGEXP_DEFINEDNAME
+ . ')|(?' . self::CALCULATION_REGEXP_ERROR
+ . '))/sui';
+
+ // Start with initialisation
+ $index = 0;
+ $stack = new Stack($this->branchPruner);
+ $output = [];
+ $expectingOperator = false; // We use this test in syntax-checking the expression to determine when a
+ // - is a negation or + is a positive operator rather than an operation
+ $expectingOperand = false; // We use this test in syntax-checking the expression to determine whether an operand
+ // should be null in a function call
+
+ // The guts of the lexical parser
+ // Loop through the formula extracting each operator and operand in turn
+ while (true) {
+ // Branch pruning: we adapt the output item to the context (it will
+ // be used to limit its computation)
+ $this->branchPruner->initialiseForLoop();
+
+ $opCharacter = $formula[$index]; // Get the first character of the value at the current index position
+
+ // Check for two-character operators (e.g. >=, <=, <>)
+ if ((isset(self::$comparisonOperators[$opCharacter])) && (strlen($formula) > $index) && (isset(self::$comparisonOperators[$formula[$index + 1]]))) {
+ $opCharacter .= $formula[++$index];
+ }
+ // Find out if we're currently at the beginning of a number, variable, cell/row/column reference,
+ // function, defined name, structured reference, parenthesis, error or operand
+ $isOperandOrFunction = (bool) preg_match($regexpMatchString, substr($formula, $index), $match);
+
+ $expectingOperatorCopy = $expectingOperator;
+ if ($opCharacter === '-' && !$expectingOperator) { // Is it a negation instead of a minus?
+ // Put a negation on the stack
+ $stack->push('Unary Operator', '~');
+ ++$index; // and drop the negation symbol
+ } elseif ($opCharacter === '%' && $expectingOperator) {
+ // Put a percentage on the stack
+ $stack->push('Unary Operator', '%');
+ ++$index;
+ } elseif ($opCharacter === '+' && !$expectingOperator) { // Positive (unary plus rather than binary operator plus) can be discarded?
+ ++$index; // Drop the redundant plus symbol
+ } elseif ((($opCharacter === '~') || ($opCharacter === '∩') || ($opCharacter === '∪')) && (!$isOperandOrFunction)) {
+ // We have to explicitly deny a tilde, union or intersect because they are legal
+ return $this->raiseFormulaError("Formula Error: Illegal character '~'"); // on the stack but not in the input expression
+ } elseif ((isset(self::CALCULATION_OPERATORS[$opCharacter]) || $isOperandOrFunction) && $expectingOperator) { // Are we putting an operator on the stack?
+ while (
+ $stack->count() > 0
+ && ($o2 = $stack->last())
+ && isset(self::CALCULATION_OPERATORS[$o2['value']])
+ && @(self::$operatorAssociativity[$opCharacter] ? self::$operatorPrecedence[$opCharacter] < self::$operatorPrecedence[$o2['value']] : self::$operatorPrecedence[$opCharacter] <= self::$operatorPrecedence[$o2['value']])
+ ) {
+ $output[] = $stack->pop(); // Swap operands and higher precedence operators from the stack to the output
+ }
+
+ // Finally put our current operator onto the stack
+ $stack->push('Binary Operator', $opCharacter);
+
+ ++$index;
+ $expectingOperator = false;
+ } elseif ($opCharacter === ')' && $expectingOperator) { // Are we expecting to close a parenthesis?
+ $expectingOperand = false;
+ while (($o2 = $stack->pop()) && $o2['value'] !== '(') { // Pop off the stack back to the last (
+ $output[] = $o2;
+ }
+ $d = $stack->last(2);
+
+ // Branch pruning we decrease the depth whether is it a function
+ // call or a parenthesis
+ $this->branchPruner->decrementDepth();
+
+ if (is_array($d) && preg_match('/^' . self::CALCULATION_REGEXP_FUNCTION . '$/miu', $d['value'], $matches)) {
+ // Did this parenthesis just close a function?
+ try {
+ $this->branchPruner->closingBrace($d['value']);
+ } catch (Exception $e) {
+ return $this->raiseFormulaError($e->getMessage(), $e->getCode(), $e);
+ }
+
+ $functionName = $matches[1]; // Get the function name
+ $d = $stack->pop();
+ $argumentCount = $d['value'] ?? 0; // See how many arguments there were (argument count is the next value stored on the stack)
+ $output[] = $d; // Dump the argument count on the output
+ $output[] = $stack->pop(); // Pop the function and push onto the output
+ if (isset(self::$controlFunctions[$functionName])) {
+ $expectedArgumentCount = self::$controlFunctions[$functionName]['argumentCount'];
+ } elseif (isset(self::$phpSpreadsheetFunctions[$functionName])) {
+ $expectedArgumentCount = self::$phpSpreadsheetFunctions[$functionName]['argumentCount'];
+ } else { // did we somehow push a non-function on the stack? this should never happen
+ return $this->raiseFormulaError('Formula Error: Internal error, non-function on stack');
+ }
+ // Check the argument count
+ $argumentCountError = false;
+ $expectedArgumentCountString = null;
+ if (is_numeric($expectedArgumentCount)) {
+ if ($expectedArgumentCount < 0) {
+ if ($argumentCount > abs($expectedArgumentCount)) {
+ $argumentCountError = true;
+ $expectedArgumentCountString = 'no more than ' . abs($expectedArgumentCount);
+ }
+ } else {
+ if ($argumentCount != $expectedArgumentCount) {
+ $argumentCountError = true;
+ $expectedArgumentCountString = $expectedArgumentCount;
+ }
+ }
+ } elseif ($expectedArgumentCount != '*') {
+ preg_match('/(\d*)([-+,])(\d*)/', $expectedArgumentCount, $argMatch);
+ switch ($argMatch[2] ?? '') {
+ case '+':
+ if ($argumentCount < $argMatch[1]) {
+ $argumentCountError = true;
+ $expectedArgumentCountString = $argMatch[1] . ' or more ';
+ }
+
+ break;
+ case '-':
+ if (($argumentCount < $argMatch[1]) || ($argumentCount > $argMatch[3])) {
+ $argumentCountError = true;
+ $expectedArgumentCountString = 'between ' . $argMatch[1] . ' and ' . $argMatch[3];
+ }
+
+ break;
+ case ',':
+ if (($argumentCount != $argMatch[1]) && ($argumentCount != $argMatch[3])) {
+ $argumentCountError = true;
+ $expectedArgumentCountString = 'either ' . $argMatch[1] . ' or ' . $argMatch[3];
+ }
+
+ break;
+ }
+ }
+ if ($argumentCountError) {
+ return $this->raiseFormulaError("Formula Error: Wrong number of arguments for $functionName() function: $argumentCount given, " . $expectedArgumentCountString . ' expected');
+ }
+ }
+ ++$index;
+ } elseif ($opCharacter === ',') { // Is this the separator for function arguments?
+ try {
+ $this->branchPruner->argumentSeparator();
+ } catch (Exception $e) {
+ return $this->raiseFormulaError($e->getMessage(), $e->getCode(), $e);
+ }
+
+ while (($o2 = $stack->pop()) && $o2['value'] !== '(') { // Pop off the stack back to the last (
+ $output[] = $o2; // pop the argument expression stuff and push onto the output
+ }
+ // If we've a comma when we're expecting an operand, then what we actually have is a null operand;
+ // so push a null onto the stack
+ if (($expectingOperand) || (!$expectingOperator)) {
+ $output[] = ['type' => 'Empty Argument', 'value' => self::$excelConstants['NULL'], 'reference' => 'NULL'];
+ }
+ // make sure there was a function
+ $d = $stack->last(2);
+ if (!preg_match('/^' . self::CALCULATION_REGEXP_FUNCTION . '$/miu', $d['value'] ?? '', $matches)) {
+ // Can we inject a dummy function at this point so that the braces at least have some context
+ // because at least the braces are paired up (at this stage in the formula)
+ // MS Excel allows this if the content is cell references; but doesn't allow actual values,
+ // but at this point, we can't differentiate (so allow both)
+ return $this->raiseFormulaError('Formula Error: Unexpected ,');
+ }
+
+ /** @var array $d */
+ $d = $stack->pop();
+ ++$d['value']; // increment the argument count
+
+ $stack->pushStackItem($d);
+ $stack->push('Brace', '('); // put the ( back on, we'll need to pop back to it again
+
+ $expectingOperator = false;
+ $expectingOperand = true;
+ ++$index;
+ } elseif ($opCharacter === '(' && !$expectingOperator) {
+ // Branch pruning: we go deeper
+ $this->branchPruner->incrementDepth();
+ $stack->push('Brace', '(', null);
+ ++$index;
+ } elseif ($isOperandOrFunction && !$expectingOperatorCopy) {
+ // do we now have a function/variable/number?
+ $expectingOperator = true;
+ $expectingOperand = false;
+ $val = $match[1];
+ $length = strlen($val);
+
+ if (preg_match('/^' . self::CALCULATION_REGEXP_FUNCTION . '$/miu', $val, $matches)) {
+ $val = (string) preg_replace('/\s/u', '', $val);
+ if (isset(self::$phpSpreadsheetFunctions[strtoupper($matches[1])]) || isset(self::$controlFunctions[strtoupper($matches[1])])) { // it's a function
+ $valToUpper = strtoupper($val);
+ } else {
+ $valToUpper = 'NAME.ERROR(';
+ }
+ // here $matches[1] will contain values like "IF"
+ // and $val "IF("
+
+ $this->branchPruner->functionCall($valToUpper);
+
+ $stack->push('Function', $valToUpper);
+ // tests if the function is closed right after opening
+ $ax = preg_match('/^\s*\)/u', substr($formula, $index + $length));
+ if ($ax) {
+ $stack->push('Operand Count for Function ' . $valToUpper . ')', 0);
+ $expectingOperator = true;
+ } else {
+ $stack->push('Operand Count for Function ' . $valToUpper . ')', 1);
+ $expectingOperator = false;
+ }
+ $stack->push('Brace', '(');
+ } elseif (preg_match('/^' . self::CALCULATION_REGEXP_CELLREF . '$/miu', $val, $matches)) {
+ // Watch for this case-change when modifying to allow cell references in different worksheets...
+ // Should only be applied to the actual cell column, not the worksheet name
+ // If the last entry on the stack was a : operator, then we have a cell range reference
+ $testPrevOp = $stack->last(1);
+ if ($testPrevOp !== null && $testPrevOp['value'] === ':') {
+ // If we have a worksheet reference, then we're playing with a 3D reference
+ if ($matches[2] === '') {
+ // Otherwise, we 'inherit' the worksheet reference from the start cell reference
+ // The start of the cell range reference should be the last entry in $output
+ $rangeStartCellRef = $output[count($output) - 1]['value'] ?? '';
+ if ($rangeStartCellRef === ':') {
+ // Do we have chained range operators?
+ $rangeStartCellRef = $output[count($output) - 2]['value'] ?? '';
+ }
+ preg_match('/^' . self::CALCULATION_REGEXP_CELLREF . '$/miu', $rangeStartCellRef, $rangeStartMatches);
+ if (array_key_exists(2, $rangeStartMatches)) {
+ if ($rangeStartMatches[2] > '') {
+ $val = $rangeStartMatches[2] . '!' . $val;
+ }
+ } else {
+ $val = Information\ExcelError::REF();
+ }
+ } else {
+ $rangeStartCellRef = $output[count($output) - 1]['value'] ?? '';
+ if ($rangeStartCellRef === ':') {
+ // Do we have chained range operators?
+ $rangeStartCellRef = $output[count($output) - 2]['value'] ?? '';
+ }
+ preg_match('/^' . self::CALCULATION_REGEXP_CELLREF . '$/miu', $rangeStartCellRef, $rangeStartMatches);
+ if ($rangeStartMatches[2] !== $matches[2]) {
+ return $this->raiseFormulaError('3D Range references are not yet supported');
+ }
+ }
+ } elseif (!str_contains($val, '!') && $pCellParent !== null) {
+ $worksheet = $pCellParent->getTitle();
+ $val = "'{$worksheet}'!{$val}";
+ }
+ // unescape any apostrophes or double quotes in worksheet name
+ $val = str_replace(["''", '""'], ["'", '"'], $val);
+ $outputItem = $stack->getStackItem('Cell Reference', $val, $val);
+
+ $output[] = $outputItem;
+ } elseif (preg_match('/^' . self::CALCULATION_REGEXP_STRUCTURED_REFERENCE . '$/miu', $val, $matches)) {
+ try {
+ $structuredReference = Operands\StructuredReference::fromParser($formula, $index, $matches);
+ } catch (Exception $e) {
+ return $this->raiseFormulaError($e->getMessage(), $e->getCode(), $e);
+ }
+
+ $val = $structuredReference->value();
+ $length = strlen($val);
+ $outputItem = $stack->getStackItem(Operands\StructuredReference::NAME, $structuredReference, null);
+
+ $output[] = $outputItem;
+ $expectingOperator = true;
+ } else {
+ // it's a variable, constant, string, number or boolean
+ $localeConstant = false;
+ $stackItemType = 'Value';
+ $stackItemReference = null;
+
+ // If the last entry on the stack was a : operator, then we may have a row or column range reference
+ $testPrevOp = $stack->last(1);
+ if ($testPrevOp !== null && $testPrevOp['value'] === ':') {
+ $stackItemType = 'Cell Reference';
+
+ if (
+ !is_numeric($val)
+ && ((ctype_alpha($val) === false || strlen($val) > 3))
+ && (preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '$/mui', $val) !== false)
+ && ($this->spreadsheet === null || $this->spreadsheet->getNamedRange($val) !== null)
+ ) {
+ $namedRange = ($this->spreadsheet === null) ? null : $this->spreadsheet->getNamedRange($val);
+ if ($namedRange !== null) {
+ $stackItemType = 'Defined Name';
+ $address = str_replace('$', '', $namedRange->getValue());
+ $stackItemReference = $val;
+ if (str_contains($address, ':')) {
+ // We'll need to manipulate the stack for an actual named range rather than a named cell
+ $fromTo = explode(':', $address);
+ $to = array_pop($fromTo);
+ foreach ($fromTo as $from) {
+ $output[] = $stack->getStackItem($stackItemType, $from, $stackItemReference);
+ $output[] = $stack->getStackItem('Binary Operator', ':');
+ }
+ $address = $to;
+ }
+ $val = $address;
+ }
+ } elseif ($val === Information\ExcelError::REF()) {
+ $stackItemReference = $val;
+ } else {
+ /** @var non-empty-string $startRowColRef */
+ $startRowColRef = $output[count($output) - 1]['value'] ?? '';
+ [$rangeWS1, $startRowColRef] = Worksheet::extractSheetTitle($startRowColRef, true);
+ $rangeSheetRef = $rangeWS1;
+ if ($rangeWS1 !== '') {
+ $rangeWS1 .= '!';
+ }
+ $rangeSheetRef = trim($rangeSheetRef, "'");
+ [$rangeWS2, $val] = Worksheet::extractSheetTitle($val, true);
+ if ($rangeWS2 !== '') {
+ $rangeWS2 .= '!';
+ } else {
+ $rangeWS2 = $rangeWS1;
+ }
+
+ $refSheet = $pCellParent;
+ if ($pCellParent !== null && $rangeSheetRef !== '' && $rangeSheetRef !== $pCellParent->getTitle()) {
+ $refSheet = $pCellParent->getParentOrThrow()->getSheetByName($rangeSheetRef);
+ }
+
+ if (ctype_digit($val) && $val <= 1048576) {
+ // Row range
+ $stackItemType = 'Row Reference';
+ /** @var int $valx */
+ $valx = $val;
+ $endRowColRef = ($refSheet !== null) ? $refSheet->getHighestDataColumn($valx) : AddressRange::MAX_COLUMN; // Max 16,384 columns for Excel2007
+ $val = "{$rangeWS2}{$endRowColRef}{$val}";
+ } elseif (ctype_alpha($val) && strlen($val ?? '') <= 3) {
+ // Column range
+ $stackItemType = 'Column Reference';
+ $endRowColRef = ($refSheet !== null) ? $refSheet->getHighestDataRow($val) : AddressRange::MAX_ROW; // Max 1,048,576 rows for Excel2007
+ $val = "{$rangeWS2}{$val}{$endRowColRef}";
+ }
+ $stackItemReference = $val;
+ }
+ } elseif ($opCharacter === self::FORMULA_STRING_QUOTE) {
+ // UnEscape any quotes within the string
+ $val = self::wrapResult(str_replace('""', self::FORMULA_STRING_QUOTE, self::unwrapResult($val)));
+ } elseif (isset(self::$excelConstants[trim(strtoupper($val))])) {
+ $stackItemType = 'Constant';
+ $excelConstant = trim(strtoupper($val));
+ $val = self::$excelConstants[$excelConstant];
+ $stackItemReference = $excelConstant;
+ } elseif (($localeConstant = array_search(trim(strtoupper($val)), self::$localeBoolean)) !== false) {
+ $stackItemType = 'Constant';
+ $val = self::$excelConstants[$localeConstant];
+ $stackItemReference = $localeConstant;
+ } elseif (
+ preg_match('/^' . self::CALCULATION_REGEXP_ROW_RANGE . '/miu', substr($formula, $index), $rowRangeReference)
+ ) {
+ $val = $rowRangeReference[1];
+ $length = strlen($rowRangeReference[1]);
+ $stackItemType = 'Row Reference';
+ // unescape any apostrophes or double quotes in worksheet name
+ $val = str_replace(["''", '""'], ["'", '"'], $val);
+ $column = 'A';
+ if (($testPrevOp !== null && $testPrevOp['value'] === ':') && $pCellParent !== null) {
+ $column = $pCellParent->getHighestDataColumn($val);
+ }
+ $val = "{$rowRangeReference[2]}{$column}{$rowRangeReference[7]}";
+ $stackItemReference = $val;
+ } elseif (
+ preg_match('/^' . self::CALCULATION_REGEXP_COLUMN_RANGE . '/miu', substr($formula, $index), $columnRangeReference)
+ ) {
+ $val = $columnRangeReference[1];
+ $length = strlen($val);
+ $stackItemType = 'Column Reference';
+ // unescape any apostrophes or double quotes in worksheet name
+ $val = str_replace(["''", '""'], ["'", '"'], $val);
+ $row = '1';
+ if (($testPrevOp !== null && $testPrevOp['value'] === ':') && $pCellParent !== null) {
+ $row = $pCellParent->getHighestDataRow($val);
+ }
+ $val = "{$val}{$row}";
+ $stackItemReference = $val;
+ } elseif (preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '.*/miu', $val, $match)) {
+ $stackItemType = 'Defined Name';
+ $stackItemReference = $val;
+ } elseif (is_numeric($val)) {
+ if ((str_contains((string) $val, '.')) || (stripos((string) $val, 'e') !== false) || ($val > PHP_INT_MAX) || ($val < -PHP_INT_MAX)) {
+ $val = (float) $val;
+ } else {
+ $val = (int) $val;
+ }
+ }
+
+ $details = $stack->getStackItem($stackItemType, $val, $stackItemReference);
+ if ($localeConstant) {
+ $details['localeValue'] = $localeConstant;
+ }
+ $output[] = $details;
+ }
+ $index += $length;
+ } elseif ($opCharacter === '$') { // absolute row or column range
+ ++$index;
+ } elseif ($opCharacter === ')') { // miscellaneous error checking
+ if ($expectingOperand) {
+ $output[] = ['type' => 'Empty Argument', 'value' => self::$excelConstants['NULL'], 'reference' => 'NULL'];
+ $expectingOperand = false;
+ $expectingOperator = true;
+ } else {
+ return $this->raiseFormulaError("Formula Error: Unexpected ')'");
+ }
+ } elseif (isset(self::CALCULATION_OPERATORS[$opCharacter]) && !$expectingOperator) {
+ return $this->raiseFormulaError("Formula Error: Unexpected operator '$opCharacter'");
+ } else { // I don't even want to know what you did to get here
+ return $this->raiseFormulaError('Formula Error: An unexpected error occurred');
+ }
+ // Test for end of formula string
+ if ($index == strlen($formula)) {
+ // Did we end with an operator?.
+ // Only valid for the % unary operator
+ if ((isset(self::CALCULATION_OPERATORS[$opCharacter])) && ($opCharacter != '%')) {
+ return $this->raiseFormulaError("Formula Error: Operator '$opCharacter' has no operands");
+ }
+
+ break;
+ }
+ // Ignore white space
+ while (($formula[$index] === "\n") || ($formula[$index] === "\r")) {
+ ++$index;
+ }
+
+ if ($formula[$index] === ' ') {
+ while ($formula[$index] === ' ') {
+ ++$index;
+ }
+
+ // If we're expecting an operator, but only have a space between the previous and next operands (and both are
+ // Cell References, Defined Names or Structured References) then we have an INTERSECTION operator
+ $countOutputMinus1 = count($output) - 1;
+ if (
+ ($expectingOperator)
+ && array_key_exists($countOutputMinus1, $output)
+ && is_array($output[$countOutputMinus1])
+ && array_key_exists('type', $output[$countOutputMinus1])
+ && (
+ (preg_match('/^' . self::CALCULATION_REGEXP_CELLREF . '.*/miu', substr($formula, $index), $match))
+ && ($output[$countOutputMinus1]['type'] === 'Cell Reference')
+ || (preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '.*/miu', substr($formula, $index), $match))
+ && ($output[$countOutputMinus1]['type'] === 'Defined Name' || $output[$countOutputMinus1]['type'] === 'Value')
+ || (preg_match('/^' . self::CALCULATION_REGEXP_STRUCTURED_REFERENCE . '.*/miu', substr($formula, $index), $match))
+ && ($output[$countOutputMinus1]['type'] === Operands\StructuredReference::NAME || $output[$countOutputMinus1]['type'] === 'Value')
+ )
+ ) {
+ while (
+ $stack->count() > 0
+ && ($o2 = $stack->last())
+ && isset(self::CALCULATION_OPERATORS[$o2['value']])
+ && @(self::$operatorAssociativity[$opCharacter] ? self::$operatorPrecedence[$opCharacter] < self::$operatorPrecedence[$o2['value']] : self::$operatorPrecedence[$opCharacter] <= self::$operatorPrecedence[$o2['value']])
+ ) {
+ $output[] = $stack->pop(); // Swap operands and higher precedence operators from the stack to the output
+ }
+ $stack->push('Binary Operator', '∩'); // Put an Intersect Operator on the stack
+ $expectingOperator = false;
+ }
+ }
+ }
+
+ while (($op = $stack->pop()) !== null) {
+ // pop everything off the stack and push onto output
+ if ((is_array($op) && $op['value'] == '(')) {
+ return $this->raiseFormulaError("Formula Error: Expecting ')'"); // if there are any opening braces on the stack, then braces were unbalanced
+ }
+ $output[] = $op;
+ }
+
+ return $output;
+ }
+
+ /**
+ * @return mixed
+ */
+ private static function dataTestReference(array &$operandData)
+ {
+ $operand = $operandData['value'];
+ if (($operandData['reference'] === null) && (is_array($operand))) {
+ $rKeys = array_keys($operand);
+ $rowKey = array_shift($rKeys);
+ if (is_array($operand[$rowKey]) === false) {
+ $operandData['value'] = $operand[$rowKey];
+
+ return $operand[$rowKey];
+ }
+
+ $cKeys = array_keys(array_keys($operand[$rowKey]));
+ $colKey = array_shift($cKeys);
+ if (ctype_upper("$colKey")) {
+ $operandData['reference'] = $colKey . $rowKey;
+ }
+ }
+
+ return $operand;
+ }
+
+ /**
+ * @param null|string $cellID
+ *
+ * @return array|false
+ */
+ private function processTokenStack(mixed $tokens, $cellID = null, ?Cell $cell = null)
+ {
+ if ($tokens === false) {
+ return false;
+ }
+
+ // If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent cell collection),
+ // so we store the parent cell collection so that we can re-attach it when necessary
+ $pCellWorksheet = ($cell !== null) ? $cell->getWorksheet() : null;
+ $pCellParent = ($cell !== null) ? $cell->getParent() : null;
+ $stack = new Stack($this->branchPruner);
+
+ // Stores branches that have been pruned
+ $fakedForBranchPruning = [];
+ // help us to know when pruning ['branchTestId' => true/false]
+ $branchStore = [];
+ // Loop through each token in turn
+ foreach ($tokens as $tokenData) {
+ $token = $tokenData['value'];
+ // Branch pruning: skip useless resolutions
+ $storeKey = $tokenData['storeKey'] ?? null;
+ if ($this->branchPruningEnabled && isset($tokenData['onlyIf'])) {
+ $onlyIfStoreKey = $tokenData['onlyIf'];
+ $storeValue = $branchStore[$onlyIfStoreKey] ?? null;
+ $storeValueAsBool = ($storeValue === null)
+ ? true : (bool) Functions::flattenSingleValue($storeValue);
+ if (is_array($storeValue)) {
+ $wrappedItem = end($storeValue);
+ $storeValue = is_array($wrappedItem) ? end($wrappedItem) : $wrappedItem;
+ }
+
+ if (
+ (isset($storeValue) || $tokenData['reference'] === 'NULL')
+ && (!$storeValueAsBool || Information\ErrorValue::isError($storeValue) || ($storeValue === 'Pruned branch'))
+ ) {
+ // If branching value is not true, we don't need to compute
+ if (!isset($fakedForBranchPruning['onlyIf-' . $onlyIfStoreKey])) {
+ $stack->push('Value', 'Pruned branch (only if ' . $onlyIfStoreKey . ') ' . $token);
+ $fakedForBranchPruning['onlyIf-' . $onlyIfStoreKey] = true;
+ }
+
+ if (isset($storeKey)) {
+ // We are processing an if condition
+ // We cascade the pruning to the depending branches
+ $branchStore[$storeKey] = 'Pruned branch';
+ $fakedForBranchPruning['onlyIfNot-' . $storeKey] = true;
+ $fakedForBranchPruning['onlyIf-' . $storeKey] = true;
+ }
+
+ continue;
+ }
+ }
+
+ if ($this->branchPruningEnabled && isset($tokenData['onlyIfNot'])) {
+ $onlyIfNotStoreKey = $tokenData['onlyIfNot'];
+ $storeValue = $branchStore[$onlyIfNotStoreKey] ?? null;
+ $storeValueAsBool = ($storeValue === null)
+ ? true : (bool) Functions::flattenSingleValue($storeValue);
+ if (is_array($storeValue)) {
+ $wrappedItem = end($storeValue);
+ $storeValue = is_array($wrappedItem) ? end($wrappedItem) : $wrappedItem;
+ }
+
+ if (
+ (isset($storeValue) || $tokenData['reference'] === 'NULL')
+ && ($storeValueAsBool || Information\ErrorValue::isError($storeValue) || ($storeValue === 'Pruned branch'))
+ ) {
+ // If branching value is true, we don't need to compute
+ if (!isset($fakedForBranchPruning['onlyIfNot-' . $onlyIfNotStoreKey])) {
+ $stack->push('Value', 'Pruned branch (only if not ' . $onlyIfNotStoreKey . ') ' . $token);
+ $fakedForBranchPruning['onlyIfNot-' . $onlyIfNotStoreKey] = true;
+ }
+
+ if (isset($storeKey)) {
+ // We are processing an if condition
+ // We cascade the pruning to the depending branches
+ $branchStore[$storeKey] = 'Pruned branch';
+ $fakedForBranchPruning['onlyIfNot-' . $storeKey] = true;
+ $fakedForBranchPruning['onlyIf-' . $storeKey] = true;
+ }
+
+ continue;
+ }
+ }
+
+ if ($token instanceof Operands\StructuredReference) {
+ if ($cell === null) {
+ return $this->raiseFormulaError('Structured References must exist in a Cell context');
+ }
+
+ try {
+ $cellRange = $token->parse($cell);
+ if (str_contains($cellRange, ':')) {
+ $this->debugLog->writeDebugLog('Evaluating Structured Reference %s as Cell Range %s', $token->value(), $cellRange);
+ $rangeValue = self::getInstance($cell->getWorksheet()->getParent())->_calculateFormulaValue("={$cellRange}", $cellRange, $cell);
+ $stack->push('Value', $rangeValue);
+ $this->debugLog->writeDebugLog('Evaluated Structured Reference %s as value %s', $token->value(), $this->showValue($rangeValue));
+ } else {
+ $this->debugLog->writeDebugLog('Evaluating Structured Reference %s as Cell %s', $token->value(), $cellRange);
+ $cellValue = $cell->getWorksheet()->getCell($cellRange)->getCalculatedValue(false);
+ $stack->push('Cell Reference', $cellValue, $cellRange);
+ $this->debugLog->writeDebugLog('Evaluated Structured Reference %s as value %s', $token->value(), $this->showValue($cellValue));
+ }
+ } catch (Exception $e) {
+ if ($e->getCode() === Exception::CALCULATION_ENGINE_PUSH_TO_STACK) {
+ $stack->push('Error', Information\ExcelError::REF(), null);
+ $this->debugLog->writeDebugLog('Evaluated Structured Reference %s as error value %s', $token->value(), Information\ExcelError::REF());
+ } else {
+ return $this->raiseFormulaError($e->getMessage(), $e->getCode(), $e);
+ }
+ }
+ } elseif (!is_numeric($token) && !is_object($token) && isset(self::BINARY_OPERATORS[$token])) {
+ // if the token is a binary operator, pop the top two values off the stack, do the operation, and push the result back on the stack
+ // We must have two operands, error if we don't
+ if (($operand2Data = $stack->pop()) === null) {
+ return $this->raiseFormulaError('Internal error - Operand value missing from stack');
+ }
+ if (($operand1Data = $stack->pop()) === null) { // @phpstan-ignore-line
+ return $this->raiseFormulaError('Internal error - Operand value missing from stack');
+ }
+
+ $operand1 = self::dataTestReference($operand1Data);
+ $operand2 = self::dataTestReference($operand2Data);
+
+ // Log what we're doing
+ if ($token == ':') {
+ $this->debugLog->writeDebugLog('Evaluating Range %s %s %s', $this->showValue($operand1Data['reference']), $token, $this->showValue($operand2Data['reference']));
+ } else {
+ $this->debugLog->writeDebugLog('Evaluating %s %s %s', $this->showValue($operand1), $token, $this->showValue($operand2));
+ }
+
+ // Process the operation in the appropriate manner
+ switch ($token) {
+ // Comparison (Boolean) Operators
+ case '>': // Greater than
+ case '<': // Less than
+ case '>=': // Greater than or Equal to
+ case '<=': // Less than or Equal to
+ case '=': // Equality
+ case '<>': // Inequality
+ $result = $this->executeBinaryComparisonOperation($operand1, $operand2, (string) $token, $stack);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $result;
+ }
+
+ break;
+ // Binary Operators
+ case ':': // Range
+ if ($operand1Data['type'] === 'Defined Name') {
+ if (preg_match('/$' . self::CALCULATION_REGEXP_DEFINEDNAME . '^/mui', $operand1Data['reference']) !== false && $this->spreadsheet !== null) {
+ $definedName = $this->spreadsheet->getNamedRange($operand1Data['reference']);
+ if ($definedName !== null) {
+ $operand1Data['reference'] = $operand1Data['value'] = str_replace('$', '', $definedName->getValue());
+ }
+ }
+ }
+ if (str_contains($operand1Data['reference'] ?? '', '!')) {
+ [$sheet1, $operand1Data['reference']] = Worksheet::extractSheetTitle($operand1Data['reference'], true);
+ } else {
+ $sheet1 = ($pCellWorksheet !== null) ? $pCellWorksheet->getTitle() : '';
+ }
+ $sheet1 ??= '';
+
+ [$sheet2, $operand2Data['reference']] = Worksheet::extractSheetTitle($operand2Data['reference'], true);
+ if (empty($sheet2)) {
+ $sheet2 = $sheet1;
+ }
+
+ if (trim($sheet1, "'") === trim($sheet2, "'")) {
+ if ($operand1Data['reference'] === null && $cell !== null) {
+ if (is_array($operand1Data['value'])) {
+ $operand1Data['reference'] = $cell->getCoordinate();
+ } elseif ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) {
+ $operand1Data['reference'] = $cell->getColumn() . $operand1Data['value'];
+ } elseif (trim($operand1Data['value']) == '') {
+ $operand1Data['reference'] = $cell->getCoordinate();
+ } else {
+ $operand1Data['reference'] = $operand1Data['value'] . $cell->getRow();
+ }
+ }
+ if ($operand2Data['reference'] === null && $cell !== null) {
+ if (is_array($operand2Data['value'])) {
+ $operand2Data['reference'] = $cell->getCoordinate();
+ } elseif ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) {
+ $operand2Data['reference'] = $cell->getColumn() . $operand2Data['value'];
+ } elseif (trim($operand2Data['value']) == '') {
+ $operand2Data['reference'] = $cell->getCoordinate();
+ } else {
+ $operand2Data['reference'] = $operand2Data['value'] . $cell->getRow();
+ }
+ }
+
+ $oData = array_merge(explode(':', $operand1Data['reference'] ?? ''), explode(':', $operand2Data['reference'] ?? ''));
+ $oCol = $oRow = [];
+ $breakNeeded = false;
+ foreach ($oData as $oDatum) {
+ try {
+ $oCR = Coordinate::coordinateFromString($oDatum);
+ $oCol[] = Coordinate::columnIndexFromString($oCR[0]) - 1;
+ $oRow[] = $oCR[1];
+ } catch (\Exception) {
+ $stack->push('Error', Information\ExcelError::REF(), null);
+ $breakNeeded = true;
+
+ break;
+ }
+ }
+ if ($breakNeeded) {
+ break;
+ }
+ $cellRef = Coordinate::stringFromColumnIndex(min($oCol) + 1) . min($oRow) . ':' . Coordinate::stringFromColumnIndex(max($oCol) + 1) . max($oRow);
+ if ($pCellParent !== null && $this->spreadsheet !== null) {
+ $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($sheet1), false);
+ } else {
+ return $this->raiseFormulaError('Unable to access Cell Reference');
+ }
+
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($cellValue));
+ $stack->push('Cell Reference', $cellValue, $cellRef);
+ } else {
+ $this->debugLog->writeDebugLog('Evaluation Result is a #REF! Error');
+ $stack->push('Error', Information\ExcelError::REF(), null);
+ }
+
+ break;
+ case '+': // Addition
+ case '-': // Subtraction
+ case '*': // Multiplication
+ case '/': // Division
+ case '^': // Exponential
+ $result = $this->executeNumericBinaryOperation($operand1, $operand2, $token, $stack);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $result;
+ }
+
+ break;
+ case '&': // Concatenation
+ // If either of the operands is a matrix, we need to treat them both as matrices
+ // (converting the other operand to a matrix if need be); then perform the required
+ // matrix operation
+ $operand1 = self::boolToString($operand1);
+ $operand2 = self::boolToString($operand2);
+ if (is_array($operand1) || is_array($operand2)) {
+ if (is_string($operand1)) {
+ $operand1 = self::unwrapResult($operand1);
+ }
+ if (is_string($operand2)) {
+ $operand2 = self::unwrapResult($operand2);
+ }
+ // Ensure that both operands are arrays/matrices
+ [$rows, $columns] = self::checkMatrixOperands($operand1, $operand2, 2);
+
+ for ($row = 0; $row < $rows; ++$row) {
+ for ($column = 0; $column < $columns; ++$column) {
+ $operand1[$row][$column]
+ = Shared\StringHelper::substring(
+ self::boolToString($operand1[$row][$column])
+ . self::boolToString($operand2[$row][$column]),
+ 0,
+ DataType::MAX_STRING_LENGTH
+ );
+ }
+ }
+ $result = $operand1;
+ } else {
+ // In theory, we should truncate here.
+ // But I can't figure out a formula
+ // using the concatenation operator
+ // with literals that fits in 32K,
+ // so I don't think we can overflow here.
+ $result = self::FORMULA_STRING_QUOTE . str_replace('""', self::FORMULA_STRING_QUOTE, self::unwrapResult($operand1) . self::unwrapResult($operand2)) . self::FORMULA_STRING_QUOTE;
+ }
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($result));
+ $stack->push('Value', $result);
+
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $result;
+ }
+
+ break;
+ case '∩': // Intersect
+ $rowIntersect = array_intersect_key($operand1, $operand2);
+ $cellIntersect = $oCol = $oRow = [];
+ foreach (array_keys($rowIntersect) as $row) {
+ $oRow[] = $row;
+ foreach ($rowIntersect[$row] as $col => $data) {
+ $oCol[] = Coordinate::columnIndexFromString($col) - 1;
+ $cellIntersect[$row] = array_intersect_key($operand1[$row], $operand2[$row]);
+ }
+ }
+ if (count(Functions::flattenArray($cellIntersect)) === 0) {
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($cellIntersect));
+ $stack->push('Error', Information\ExcelError::null(), null);
+ } else {
+ $cellRef = Coordinate::stringFromColumnIndex(min($oCol) + 1) . min($oRow) . ':'
+ . Coordinate::stringFromColumnIndex(max($oCol) + 1) . max($oRow);
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($cellIntersect));
+ $stack->push('Value', $cellIntersect, $cellRef);
+ }
+
+ break;
+ }
+ } elseif (($token === '~') || ($token === '%')) {
+ // if the token is a unary operator, pop one value off the stack, do the operation, and push it back on
+ if (($arg = $stack->pop()) === null) {
+ return $this->raiseFormulaError('Internal error - Operand value missing from stack');
+ }
+ $arg = $arg['value'];
+ if ($token === '~') {
+ $this->debugLog->writeDebugLog('Evaluating Negation of %s', $this->showValue($arg));
+ $multiplier = -1;
+ } else {
+ $this->debugLog->writeDebugLog('Evaluating Percentile of %s', $this->showValue($arg));
+ $multiplier = 0.01;
+ }
+ if (is_array($arg)) {
+ $operand2 = $multiplier;
+ $result = $arg;
+ [$rows, $columns] = self::checkMatrixOperands($result, $operand2, 0);
+ for ($row = 0; $row < $rows; ++$row) {
+ for ($column = 0; $column < $columns; ++$column) {
+ if (self::isNumericOrBool($result[$row][$column])) {
+ $result[$row][$column] *= $multiplier;
+ } else {
+ $result[$row][$column] = self::makeError($result[$row][$column]);
+ }
+ }
+ }
+
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($result));
+ $stack->push('Value', $result);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $result;
+ }
+ } else {
+ $this->executeNumericBinaryOperation($multiplier, $arg, '*', $stack);
+ }
+ } elseif (preg_match('/^' . self::CALCULATION_REGEXP_CELLREF . '$/i', $token ?? '', $matches)) {
+ $cellRef = null;
+
+ if (isset($matches[8])) {
+ if ($cell === null) {
+ // We can't access the range, so return a REF error
+ $cellValue = Information\ExcelError::REF();
+ } else {
+ $cellRef = $matches[6] . $matches[7] . ':' . $matches[9] . $matches[10];
+ if ($matches[2] > '') {
+ $matches[2] = trim($matches[2], "\"'");
+ if ((str_contains($matches[2], '[')) || (str_contains($matches[2], ']'))) {
+ // It's a Reference to an external spreadsheet (not currently supported)
+ return $this->raiseFormulaError('Unable to access External Workbook');
+ }
+ $matches[2] = trim($matches[2], "\"'");
+ $this->debugLog->writeDebugLog('Evaluating Cell Range %s in worksheet %s', $cellRef, $matches[2]);
+ if ($pCellParent !== null && $this->spreadsheet !== null) {
+ $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($matches[2]), false);
+ } else {
+ return $this->raiseFormulaError('Unable to access Cell Reference');
+ }
+ $this->debugLog->writeDebugLog('Evaluation Result for cells %s in worksheet %s is %s', $cellRef, $matches[2], $this->showTypeDetails($cellValue));
+ } else {
+ $this->debugLog->writeDebugLog('Evaluating Cell Range %s in current worksheet', $cellRef);
+ if ($pCellParent !== null) {
+ $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, false);
+ } else {
+ return $this->raiseFormulaError('Unable to access Cell Reference');
+ }
+ $this->debugLog->writeDebugLog('Evaluation Result for cells %s is %s', $cellRef, $this->showTypeDetails($cellValue));
+ }
+ }
+ } else {
+ if ($cell === null) {
+ // We can't access the cell, so return a REF error
+ $cellValue = Information\ExcelError::REF();
+ } else {
+ $cellRef = $matches[6] . $matches[7];
+ if ($matches[2] > '') {
+ $matches[2] = trim($matches[2], "\"'");
+ if ((str_contains($matches[2], '[')) || (str_contains($matches[2], ']'))) {
+ // It's a Reference to an external spreadsheet (not currently supported)
+ return $this->raiseFormulaError('Unable to access External Workbook');
+ }
+ $this->debugLog->writeDebugLog('Evaluating Cell %s in worksheet %s', $cellRef, $matches[2]);
+ if ($pCellParent !== null && $this->spreadsheet !== null) {
+ $cellSheet = $this->spreadsheet->getSheetByName($matches[2]);
+ if ($cellSheet && $cellSheet->cellExists($cellRef)) {
+ $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($matches[2]), false);
+ $cell->attach($pCellParent);
+ } else {
+ $cellRef = ($cellSheet !== null) ? "'{$matches[2]}'!{$cellRef}" : $cellRef;
+ $cellValue = ($cellSheet !== null) ? null : Information\ExcelError::REF();
+ }
+ } else {
+ return $this->raiseFormulaError('Unable to access Cell Reference');
+ }
+ $this->debugLog->writeDebugLog('Evaluation Result for cell %s in worksheet %s is %s', $cellRef, $matches[2], $this->showTypeDetails($cellValue));
+ } else {
+ $this->debugLog->writeDebugLog('Evaluating Cell %s in current worksheet', $cellRef);
+ if ($pCellParent !== null && $pCellParent->has($cellRef)) {
+ $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, false);
+ $cell->attach($pCellParent);
+ } else {
+ $cellValue = null;
+ }
+ $this->debugLog->writeDebugLog('Evaluation Result for cell %s is %s', $cellRef, $this->showTypeDetails($cellValue));
+ }
+ }
+ }
+
+ $stack->push('Cell Value', $cellValue, $cellRef);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $cellValue;
+ }
+ } elseif (preg_match('/^' . self::CALCULATION_REGEXP_FUNCTION . '$/miu', $token ?? '', $matches)) {
+ // if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on
+ if ($cell !== null && $pCellParent !== null) {
+ $cell->attach($pCellParent);
+ }
+
+ $functionName = $matches[1];
+ $argCount = $stack->pop();
+ $argCount = $argCount['value'];
+ if ($functionName !== 'MKMATRIX') {
+ $this->debugLog->writeDebugLog('Evaluating Function %s() with %s argument%s', self::localeFunc($functionName), (($argCount == 0) ? 'no' : $argCount), (($argCount == 1) ? '' : 's'));
+ }
+ if ((isset(self::$phpSpreadsheetFunctions[$functionName])) || (isset(self::$controlFunctions[$functionName]))) { // function
+ $passByReference = false;
+ $passCellReference = false;
+ $functionCall = null;
+ if (isset(self::$phpSpreadsheetFunctions[$functionName])) {
+ $functionCall = self::$phpSpreadsheetFunctions[$functionName]['functionCall'];
+ $passByReference = isset(self::$phpSpreadsheetFunctions[$functionName]['passByReference']);
+ $passCellReference = isset(self::$phpSpreadsheetFunctions[$functionName]['passCellReference']);
+ } elseif (isset(self::$controlFunctions[$functionName])) {
+ $functionCall = self::$controlFunctions[$functionName]['functionCall'];
+ $passByReference = isset(self::$controlFunctions[$functionName]['passByReference']);
+ $passCellReference = isset(self::$controlFunctions[$functionName]['passCellReference']);
+ }
+
+ // get the arguments for this function
+ $args = $argArrayVals = [];
+ $emptyArguments = [];
+ for ($i = 0; $i < $argCount; ++$i) {
+ $arg = $stack->pop();
+ $a = $argCount - $i - 1;
+ if (
+ ($passByReference)
+ && (isset(self::$phpSpreadsheetFunctions[$functionName]['passByReference'][$a]))
+ && (self::$phpSpreadsheetFunctions[$functionName]['passByReference'][$a])
+ ) {
+ if ($arg['reference'] === null) {
+ $args[] = $cellID;
+ if ($functionName !== 'MKMATRIX') {
+ $argArrayVals[] = $this->showValue($cellID);
+ }
+ } else {
+ $args[] = $arg['reference'];
+ if ($functionName !== 'MKMATRIX') {
+ $argArrayVals[] = $this->showValue($arg['reference']);
+ }
+ }
+ } else {
+ $emptyArguments[] = ($arg['type'] === 'Empty Argument');
+ $args[] = self::unwrapResult($arg['value']);
+ if ($functionName !== 'MKMATRIX') {
+ $argArrayVals[] = $this->showValue($arg['value']);
+ }
+ }
+ }
+
+ // Reverse the order of the arguments
+ krsort($args);
+ krsort($emptyArguments);
+
+ if ($argCount > 0 && is_array($functionCall)) {
+ $args = $this->addDefaultArgumentValues($functionCall, $args, $emptyArguments);
+ }
+
+ if (($passByReference) && ($argCount == 0)) {
+ $args[] = $cellID;
+ $argArrayVals[] = $this->showValue($cellID);
+ }
+
+ if ($functionName !== 'MKMATRIX') {
+ if ($this->debugLog->getWriteDebugLog()) {
+ krsort($argArrayVals);
+ $this->debugLog->writeDebugLog('Evaluating %s ( %s )', self::localeFunc($functionName), implode(self::$localeArgumentSeparator . ' ', Functions::flattenArray($argArrayVals)));
+ }
+ }
+
+ // Process the argument with the appropriate function call
+ $args = $this->addCellReference($args, $passCellReference, $functionCall, $cell);
+
+ if (!is_array($functionCall)) {
+ foreach ($args as &$arg) {
+ $arg = Functions::flattenSingleValue($arg);
+ }
+ unset($arg);
+ }
+
+ $result = call_user_func_array($functionCall, $args);
+
+ if ($functionName !== 'MKMATRIX') {
+ $this->debugLog->writeDebugLog('Evaluation Result for %s() function call is %s', self::localeFunc($functionName), $this->showTypeDetails($result));
+ }
+ $stack->push('Value', self::wrapResult($result));
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $result;
+ }
+ }
+ } else {
+ // if the token is a number, boolean, string or an Excel error, push it onto the stack
+ if (isset(self::$excelConstants[strtoupper($token ?? '')])) {
+ $excelConstant = strtoupper($token);
+ $stack->push('Constant Value', self::$excelConstants[$excelConstant]);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = self::$excelConstants[$excelConstant];
+ }
+ $this->debugLog->writeDebugLog('Evaluating Constant %s as %s', $excelConstant, $this->showTypeDetails(self::$excelConstants[$excelConstant]));
+ } elseif ((is_numeric($token)) || ($token === null) || (is_bool($token)) || ($token == '') || ($token[0] == self::FORMULA_STRING_QUOTE) || ($token[0] == '#')) {
+ $stack->push($tokenData['type'], $token, $tokenData['reference']);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $token;
+ }
+ } elseif (preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '$/miu', $token, $matches)) {
+ // if the token is a named range or formula, evaluate it and push the result onto the stack
+ $definedName = $matches[6];
+ if ($cell === null || $pCellWorksheet === null) {
+ return $this->raiseFormulaError("undefined name '$token'");
+ }
+
+ $this->debugLog->writeDebugLog('Evaluating Defined Name %s', $definedName);
+ $namedRange = DefinedName::resolveName($definedName, $pCellWorksheet);
+ // If not Defined Name, try as Table.
+ if ($namedRange === null && $this->spreadsheet !== null) {
+ $table = $this->spreadsheet->getTableByName($definedName);
+ if ($table !== null) {
+ $tableRange = Coordinate::getRangeBoundaries($table->getRange());
+ if ($table->getShowHeaderRow()) {
+ ++$tableRange[0][1];
+ }
+ if ($table->getShowTotalsRow()) {
+ --$tableRange[1][1];
+ }
+ $tableRangeString
+ = '$' . $tableRange[0][0]
+ . '$' . $tableRange[0][1]
+ . ':'
+ . '$' . $tableRange[1][0]
+ . '$' . $tableRange[1][1];
+ $namedRange = new NamedRange($definedName, $table->getWorksheet(), $tableRangeString);
+ }
+ }
+ if ($namedRange === null) {
+ return $this->raiseFormulaError("undefined name '$definedName'");
+ }
+
+ $result = $this->evaluateDefinedName($cell, $namedRange, $pCellWorksheet, $stack);
+ if (isset($storeKey)) {
+ $branchStore[$storeKey] = $result;
+ }
+ } else {
+ return $this->raiseFormulaError("undefined name '$token'");
+ }
+ }
+ }
+ // when we're out of tokens, the stack should have a single element, the final result
+ if ($stack->count() != 1) {
+ return $this->raiseFormulaError('internal error');
+ }
+ $output = $stack->pop();
+ $output = $output['value'];
+
+ return $output;
+ }
+
+ private function validateBinaryOperand(mixed &$operand, mixed &$stack): bool
+ {
+ if (is_array($operand)) {
+ if ((count($operand, COUNT_RECURSIVE) - count($operand)) == 1) {
+ do {
+ $operand = array_pop($operand);
+ } while (is_array($operand));
+ }
+ }
+ // Numbers, matrices and booleans can pass straight through, as they're already valid
+ if (is_string($operand)) {
+ // We only need special validations for the operand if it is a string
+ // Start by stripping off the quotation marks we use to identify true excel string values internally
+ if ($operand > '' && $operand[0] == self::FORMULA_STRING_QUOTE) {
+ $operand = self::unwrapResult($operand);
+ }
+ // If the string is a numeric value, we treat it as a numeric, so no further testing
+ if (!is_numeric($operand)) {
+ // If not a numeric, test to see if the value is an Excel error, and so can't be used in normal binary operations
+ if ($operand > '' && $operand[0] == '#') {
+ $stack->push('Value', $operand);
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($operand));
+
+ return false;
+ } elseif (Engine\FormattedNumber::convertToNumberIfFormatted($operand) === false) {
+ // If not a numeric, a fraction or a percentage, then it's a text string, and so can't be used in mathematical binary operations
+ $stack->push('Error', '#VALUE!');
+ $this->debugLog->writeDebugLog('Evaluation Result is a %s', $this->showTypeDetails('#VALUE!'));
+
+ return false;
+ }
+ }
+ }
+
+ // return a true if the value of the operand is one that we can use in normal binary mathematical operations
+ return true;
+ }
+
+ private function executeArrayComparison(mixed $operand1, mixed $operand2, string $operation, Stack &$stack, bool $recursingArrays): array
+ {
+ $result = [];
+ if (!is_array($operand2)) {
+ // Operand 1 is an array, Operand 2 is a scalar
+ foreach ($operand1 as $x => $operandData) {
+ $this->debugLog->writeDebugLog('Evaluating Comparison %s %s %s', $this->showValue($operandData), $operation, $this->showValue($operand2));
+ $this->executeBinaryComparisonOperation($operandData, $operand2, $operation, $stack);
+ $r = $stack->pop();
+ $result[$x] = $r['value'];
+ }
+ } elseif (!is_array($operand1)) {
+ // Operand 1 is a scalar, Operand 2 is an array
+ foreach ($operand2 as $x => $operandData) {
+ $this->debugLog->writeDebugLog('Evaluating Comparison %s %s %s', $this->showValue($operand1), $operation, $this->showValue($operandData));
+ $this->executeBinaryComparisonOperation($operand1, $operandData, $operation, $stack);
+ $r = $stack->pop();
+ $result[$x] = $r['value'];
+ }
+ } else {
+ // Operand 1 and Operand 2 are both arrays
+ if (!$recursingArrays) {
+ self::checkMatrixOperands($operand1, $operand2, 2);
+ }
+ foreach ($operand1 as $x => $operandData) {
+ $this->debugLog->writeDebugLog('Evaluating Comparison %s %s %s', $this->showValue($operandData), $operation, $this->showValue($operand2[$x]));
+ $this->executeBinaryComparisonOperation($operandData, $operand2[$x], $operation, $stack, true);
+ $r = $stack->pop();
+ $result[$x] = $r['value'];
+ }
+ }
+ // Log the result details
+ $this->debugLog->writeDebugLog('Comparison Evaluation Result is %s', $this->showTypeDetails($result));
+ // And push the result onto the stack
+ $stack->push('Array', $result);
+
+ return $result;
+ }
+
+ private function executeBinaryComparisonOperation(mixed $operand1, mixed $operand2, string $operation, Stack &$stack, bool $recursingArrays = false): array|bool
+ {
+ // If we're dealing with matrix operations, we want a matrix result
+ if ((is_array($operand1)) || (is_array($operand2))) {
+ return $this->executeArrayComparison($operand1, $operand2, $operation, $stack, $recursingArrays);
+ }
+
+ $result = BinaryComparison::compare($operand1, $operand2, $operation);
+
+ // Log the result details
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($result));
+ // And push the result onto the stack
+ $stack->push('Value', $result);
+
+ return $result;
+ }
+
+ /**
+ * @param string $operation
+ * @param Stack $stack
+ *
+ * @return bool|mixed
+ */
+ private function executeNumericBinaryOperation(mixed $operand1, mixed $operand2, $operation, &$stack)
+ {
+ // Validate the two operands
+ if (
+ ($this->validateBinaryOperand($operand1, $stack) === false)
+ || ($this->validateBinaryOperand($operand2, $stack) === false)
+ ) {
+ return false;
+ }
+
+ if (
+ (Functions::getCompatibilityMode() != Functions::COMPATIBILITY_OPENOFFICE)
+ && ((is_string($operand1) && !is_numeric($operand1) && $operand1 !== '')
+ || (is_string($operand2) && !is_numeric($operand2) && $operand2 !== ''))
+ ) {
+ $result = Information\ExcelError::VALUE();
+ } elseif (is_array($operand1) || is_array($operand2)) {
+ // Ensure that both operands are arrays/matrices
+ if (is_array($operand1)) {
+ foreach ($operand1 as $key => $value) {
+ $operand1[$key] = Functions::flattenArray($value);
+ }
+ }
+ if (is_array($operand2)) {
+ foreach ($operand2 as $key => $value) {
+ $operand2[$key] = Functions::flattenArray($value);
+ }
+ }
+ [$rows, $columns] = self::checkMatrixOperands($operand1, $operand2, 2);
+
+ for ($row = 0; $row < $rows; ++$row) {
+ for ($column = 0; $column < $columns; ++$column) {
+ if ($operand1[$row][$column] === null) {
+ $operand1[$row][$column] = 0;
+ } elseif (!self::isNumericOrBool($operand1[$row][$column])) {
+ $operand1[$row][$column] = self::makeError($operand1[$row][$column]);
+
+ continue;
+ }
+ if ($operand2[$row][$column] === null) {
+ $operand2[$row][$column] = 0;
+ } elseif (!self::isNumericOrBool($operand2[$row][$column])) {
+ $operand1[$row][$column] = self::makeError($operand2[$row][$column]);
+
+ continue;
+ }
+ switch ($operation) {
+ case '+':
+ $operand1[$row][$column] += $operand2[$row][$column];
+
+ break;
+ case '-':
+ $operand1[$row][$column] -= $operand2[$row][$column];
+
+ break;
+ case '*':
+ $operand1[$row][$column] *= $operand2[$row][$column];
+
+ break;
+ case '/':
+ if ($operand2[$row][$column] == 0) {
+ $operand1[$row][$column] = Information\ExcelError::DIV0();
+ } else {
+ $operand1[$row][$column] /= $operand2[$row][$column];
+ }
+
+ break;
+ case '^':
+ $operand1[$row][$column] = $operand1[$row][$column] ** $operand2[$row][$column];
+
+ break;
+
+ default:
+ throw new Exception('Unsupported numeric binary operation');
+ }
+ }
+ }
+ $result = $operand1;
+ } else {
+ // If we're dealing with non-matrix operations, execute the necessary operation
+ switch ($operation) {
+ // Addition
+ case '+':
+ $result = $operand1 + $operand2;
+
+ break;
+ // Subtraction
+ case '-':
+ $result = $operand1 - $operand2;
+
+ break;
+ // Multiplication
+ case '*':
+ $result = $operand1 * $operand2;
+
+ break;
+ // Division
+ case '/':
+ if ($operand2 == 0) {
+ // Trap for Divide by Zero error
+ $stack->push('Error', Information\ExcelError::DIV0());
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails(Information\ExcelError::DIV0()));
+
+ return false;
+ }
+ $result = $operand1 / $operand2;
+
+ break;
+ // Power
+ case '^':
+ $result = $operand1 ** $operand2;
+
+ break;
+
+ default:
+ throw new Exception('Unsupported numeric binary operation');
+ }
+ }
+
+ // Log the result details
+ $this->debugLog->writeDebugLog('Evaluation Result is %s', $this->showTypeDetails($result));
+ // And push the result onto the stack
+ $stack->push('Value', $result);
+
+ return $result;
+ }
+
+ /**
+ * Trigger an error, but nicely, if need be.
+ *
+ * @return false
+ */
+ protected function raiseFormulaError(string $errorMessage, int $code = 0, ?Throwable $exception = null): bool
+ {
+ $this->formulaError = $errorMessage;
+ $this->cyclicReferenceStack->clear();
+ $suppress = $this->suppressFormulaErrors ?? $this->suppressFormulaErrorsNew;
+ if (!$suppress) {
+ throw new Exception($errorMessage, $code, $exception);
+ }
+
+ return false;
+ }
+
+ /**
+ * Extract range values.
+ *
+ * @param string $range String based range representation
+ * @param Worksheet $worksheet Worksheet
+ * @param bool $resetLog Flag indicating whether calculation log should be reset or not
+ *
+ * @return array Array of values in range if range contains more than one element. Otherwise, a single value is returned.
+ */
+ public function extractCellRange(&$range = 'A1', ?Worksheet $worksheet = null, bool $resetLog = true): array
+ {
+ // Return value
+ $returnValue = [];
+
+ if ($worksheet !== null) {
+ $worksheetName = $worksheet->getTitle();
+
+ if (str_contains($range, '!')) {
+ [$worksheetName, $range] = Worksheet::extractSheetTitle($range, true);
+ $worksheet = ($this->spreadsheet === null) ? null : $this->spreadsheet->getSheetByName($worksheetName);
+ }
+
+ // Extract range
+ $aReferences = Coordinate::extractAllCellReferencesInRange($range);
+ $range = "'" . $worksheetName . "'" . '!' . $range;
+ $currentCol = '';
+ $currentRow = 0;
+ if (!isset($aReferences[1])) {
+ // Single cell in range
+ sscanf($aReferences[0], '%[A-Z]%d', $currentCol, $currentRow);
+ if ($worksheet !== null && $worksheet->cellExists($aReferences[0])) {
+ $returnValue[$currentRow][$currentCol] = $worksheet->getCell($aReferences[0])->getCalculatedValue($resetLog);
+ } else {
+ $returnValue[$currentRow][$currentCol] = null;
+ }
+ } else {
+ // Extract cell data for all cells in the range
+ foreach ($aReferences as $reference) {
+ // Extract range
+ sscanf($reference, '%[A-Z]%d', $currentCol, $currentRow);
+ if ($worksheet !== null && $worksheet->cellExists($reference)) {
+ $returnValue[$currentRow][$currentCol] = $worksheet->getCell($reference)->getCalculatedValue($resetLog);
+ } else {
+ $returnValue[$currentRow][$currentCol] = null;
+ }
+ }
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * Extract range values.
+ *
+ * @param string $range String based range representation
+ * @param null|Worksheet $worksheet Worksheet
+ * @param bool $resetLog Flag indicating whether calculation log should be reset or not
+ *
+ * @return array|string Array of values in range if range contains more than one element. Otherwise, a single value is returned.
+ */
+ public function extractNamedRange(string &$range = 'A1', ?Worksheet $worksheet = null, bool $resetLog = true): string|array
+ {
+ // Return value
+ $returnValue = [];
+
+ if ($worksheet !== null) {
+ if (str_contains($range, '!')) {
+ [$worksheetName, $range] = Worksheet::extractSheetTitle($range, true);
+ $worksheet = ($this->spreadsheet === null) ? null : $this->spreadsheet->getSheetByName($worksheetName);
+ }
+
+ // Named range?
+ $namedRange = ($worksheet === null) ? null : DefinedName::resolveName($range, $worksheet);
+ if ($namedRange === null) {
+ return Information\ExcelError::REF();
+ }
+
+ $worksheet = $namedRange->getWorksheet();
+ $range = $namedRange->getValue();
+ $splitRange = Coordinate::splitRange($range);
+ // Convert row and column references
+ if ($worksheet !== null && ctype_alpha($splitRange[0][0])) {
+ $range = $splitRange[0][0] . '1:' . $splitRange[0][1] . $worksheet->getHighestRow();
+ } elseif ($worksheet !== null && ctype_digit($splitRange[0][0])) {
+ $range = 'A' . $splitRange[0][0] . ':' . $worksheet->getHighestColumn() . $splitRange[0][1];
+ }
+
+ // Extract range
+ $aReferences = Coordinate::extractAllCellReferencesInRange($range);
+ if (!isset($aReferences[1])) {
+ // Single cell (or single column or row) in range
+ [$currentCol, $currentRow] = Coordinate::coordinateFromString($aReferences[0]);
+ if ($worksheet !== null && $worksheet->cellExists($aReferences[0])) {
+ $returnValue[$currentRow][$currentCol] = $worksheet->getCell($aReferences[0])->getCalculatedValue($resetLog);
+ } else {
+ $returnValue[$currentRow][$currentCol] = null;
+ }
+ } else {
+ // Extract cell data for all cells in the range
+ foreach ($aReferences as $reference) {
+ // Extract range
+ [$currentCol, $currentRow] = Coordinate::coordinateFromString($reference);
+ if ($worksheet !== null && $worksheet->cellExists($reference)) {
+ $returnValue[$currentRow][$currentCol] = $worksheet->getCell($reference)->getCalculatedValue($resetLog);
+ } else {
+ $returnValue[$currentRow][$currentCol] = null;
+ }
+ }
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * Is a specific function implemented?
+ *
+ * @param string $function Function Name
+ */
+ public function isImplemented($function): bool
+ {
+ $function = strtoupper($function);
+ $notImplemented = !isset(self::$phpSpreadsheetFunctions[$function]) || (is_array(self::$phpSpreadsheetFunctions[$function]['functionCall']) && self::$phpSpreadsheetFunctions[$function]['functionCall'][1] === 'DUMMY');
+
+ return !$notImplemented;
+ }
+
+ /**
+ * Get a list of all implemented functions as an array of function objects.
+ */
+ public static function getFunctions(): array
+ {
+ return self::$phpSpreadsheetFunctions;
+ }
+
+ /**
+ * Get a list of implemented Excel function names.
+ */
+ public function getImplementedFunctionNames(): array
+ {
+ $returnValue = [];
+ foreach (self::$phpSpreadsheetFunctions as $functionName => $function) {
+ if ($this->isImplemented($functionName)) {
+ $returnValue[] = $functionName;
+ }
+ }
+
+ return $returnValue;
+ }
+
+ private function addDefaultArgumentValues(array $functionCall, array $args, array $emptyArguments): array
+ {
+ $reflector = new ReflectionMethod($functionCall[0], $functionCall[1]);
+ $methodArguments = $reflector->getParameters();
+
+ if (count($methodArguments) > 0) {
+ // Apply any defaults for empty argument values
+ foreach ($emptyArguments as $argumentId => $isArgumentEmpty) {
+ if ($isArgumentEmpty === true) {
+ $reflectedArgumentId = count($args) - (int) $argumentId - 1;
+ if (
+ !array_key_exists($reflectedArgumentId, $methodArguments)
+ || $methodArguments[$reflectedArgumentId]->isVariadic()
+ ) {
+ break;
+ }
+
+ $args[$argumentId] = $this->getArgumentDefaultValue($methodArguments[$reflectedArgumentId]);
+ }
+ }
+ }
+
+ return $args;
+ }
+
+ /**
+ * @return null|mixed
+ */
+ private function getArgumentDefaultValue(ReflectionParameter $methodArgument)
+ {
+ $defaultValue = null;
+
+ if ($methodArgument->isDefaultValueAvailable()) {
+ $defaultValue = $methodArgument->getDefaultValue();
+ if ($methodArgument->isDefaultValueConstant()) {
+ $constantName = $methodArgument->getDefaultValueConstantName() ?? '';
+ // read constant value
+ if (str_contains($constantName, '::')) {
+ [$className, $constantName] = explode('::', $constantName);
+ $constantReflector = new ReflectionClassConstant($className, $constantName);
+
+ return $constantReflector->getValue();
+ }
+
+ return constant($constantName);
+ }
+ }
+
+ return $defaultValue;
+ }
+
+ /**
+ * Add cell reference if needed while making sure that it is the last argument.
+ *
+ * @param array|string $functionCall
+ */
+ private function addCellReference(array $args, bool $passCellReference, $functionCall, ?Cell $cell = null): array
+ {
+ if ($passCellReference) {
+ if (is_array($functionCall)) {
+ $className = $functionCall[0];
+ $methodName = $functionCall[1];
+
+ $reflectionMethod = new ReflectionMethod($className, $methodName);
+ $argumentCount = count($reflectionMethod->getParameters());
+ while (count($args) < $argumentCount - 1) {
+ $args[] = null;
+ }
+ }
+
+ $args[] = $cell;
+ }
+
+ return $args;
+ }
+
+ /**
+ * @return mixed|string
+ */
+ private function evaluateDefinedName(Cell $cell, DefinedName $namedRange, Worksheet $cellWorksheet, Stack $stack)
+ {
+ $definedNameScope = $namedRange->getScope();
+ if ($definedNameScope !== null && $definedNameScope !== $cellWorksheet) {
+ // The defined name isn't in our current scope, so #REF
+ $result = Information\ExcelError::REF();
+ $stack->push('Error', $result, $namedRange->getName());
+
+ return $result;
+ }
+
+ $definedNameValue = $namedRange->getValue();
+ $definedNameType = $namedRange->isFormula() ? 'Formula' : 'Range';
+ $definedNameWorksheet = $namedRange->getWorksheet();
+
+ if ($definedNameValue[0] !== '=') {
+ $definedNameValue = '=' . $definedNameValue;
+ }
+
+ $this->debugLog->writeDebugLog('Defined Name is a %s with a value of %s', $definedNameType, $definedNameValue);
+
+ $originalCoordinate = $cell->getCoordinate();
+ $recursiveCalculationCell = ($definedNameType !== 'Formula' && $definedNameWorksheet !== null && $definedNameWorksheet !== $cellWorksheet)
+ ? $definedNameWorksheet->getCell('A1')
+ : $cell;
+ $recursiveCalculationCellAddress = $recursiveCalculationCell->getCoordinate();
+
+ // Adjust relative references in ranges and formulae so that we execute the calculation for the correct rows and columns
+ $definedNameValue = self::$referenceHelper->updateFormulaReferencesAnyWorksheet(
+ $definedNameValue,
+ Coordinate::columnIndexFromString($cell->getColumn()) - 1,
+ $cell->getRow() - 1
+ );
+
+ $this->debugLog->writeDebugLog('Value adjusted for relative references is %s', $definedNameValue);
+
+ $recursiveCalculator = new self($this->spreadsheet);
+ $recursiveCalculator->getDebugLog()->setWriteDebugLog($this->getDebugLog()->getWriteDebugLog());
+ $recursiveCalculator->getDebugLog()->setEchoDebugLog($this->getDebugLog()->getEchoDebugLog());
+ $result = $recursiveCalculator->_calculateFormulaValue($definedNameValue, $recursiveCalculationCellAddress, $recursiveCalculationCell, true);
+ $cellWorksheet->getCell($originalCoordinate);
+
+ if ($this->getDebugLog()->getWriteDebugLog()) {
+ $this->debugLog->mergeDebugLog(array_slice($recursiveCalculator->getDebugLog()->getLog(), 3));
+ $this->debugLog->writeDebugLog('Evaluation Result for Named %s %s is %s', $definedNameType, $namedRange->getName(), $this->showTypeDetails($result));
+ }
+
+ $stack->push('Defined Name', $result, $namedRange->getName());
+
+ return $result;
+ }
+
+ public function setSuppressFormulaErrors(bool $suppressFormulaErrors): void
+ {
+ $this->suppressFormulaErrorsNew = $suppressFormulaErrors;
+ }
+
+ public function getSuppressFormulaErrors(): bool
+ {
+ return $this->suppressFormulaErrorsNew;
+ }
+
+ /**
+ * @return mixed
+ */
+ private static function boolToString(mixed $operand1)
+ {
+ if (is_bool($operand1)) {
+ $operand1 = ($operand1) ? self::$localeBoolean['TRUE'] : self::$localeBoolean['FALSE'];
+ } elseif ($operand1 === null) {
+ $operand1 = '';
+ }
+
+ return $operand1;
+ }
+
+ private static function isNumericOrBool(mixed $operand): bool
+ {
+ return is_numeric($operand) || is_bool($operand);
+ }
+
+ private static function makeError(mixed $operand = ''): string
+ {
+ return Information\ErrorValue::isError($operand) ? $operand : Information\ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Category.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Category.php
new file mode 100644
index 0000000..b661faf
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Category.php
@@ -0,0 +1,21 @@
+ 1) {
+ return ExcelError::NAN();
+ }
+
+ $row = array_pop($columnData);
+
+ return array_pop($row);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMax.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMax.php
new file mode 100644
index 0000000..512557c
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMax.php
@@ -0,0 +1,47 @@
+= count($fieldNames)) {
+ return null;
+ }
+
+ return $field;
+ }
+ $key = array_search($field, array_values($fieldNames), true);
+
+ return ($key !== false) ? (int) $key : null;
+ }
+
+ /**
+ * filter.
+ *
+ * Parses the selection criteria, extracts the database rows that match those criteria, and
+ * returns that subset of rows.
+ *
+ * @param mixed[] $database The range of cells that makes up the list or database.
+ * A database is a list of related data in which rows of related
+ * information are records, and columns of data are fields. The
+ * first row of the list contains labels for each column.
+ * @param mixed[] $criteria The range of cells that contains the conditions you specify.
+ * You can use any range for the criteria argument, as long as it
+ * includes at least one column label and at least one cell below
+ * the column label in which you specify a condition for the
+ * column.
+ *
+ * @return mixed[]
+ */
+ protected static function filter(array $database, array $criteria): array
+ {
+ $fieldNames = array_shift($database);
+ $criteriaNames = array_shift($criteria);
+
+ // Convert the criteria into a set of AND/OR conditions with [:placeholders]
+ $query = self::buildQuery($criteriaNames, $criteria);
+
+ // Loop through each row of the database
+ return self::executeQuery($database, $query, $criteriaNames, $fieldNames);
+ }
+
+ protected static function getFilteredColumn(array $database, ?int $field, array $criteria): array
+ {
+ // reduce the database to a set of rows that match all the criteria
+ $database = self::filter($database, $criteria);
+ $defaultReturnColumnValue = ($field === null) ? 1 : null;
+
+ // extract an array of values for the requested column
+ $columnData = [];
+ foreach ($database as $rowKey => $row) {
+ $keys = array_keys($row);
+ $key = $keys[$field] ?? null;
+ $columnKey = $key ?? 'A';
+ $columnData[$rowKey][$columnKey] = $row[$key] ?? $defaultReturnColumnValue;
+ }
+
+ return $columnData;
+ }
+
+ private static function buildQuery(array $criteriaNames, array $criteria): string
+ {
+ $baseQuery = [];
+ foreach ($criteria as $key => $criterion) {
+ foreach ($criterion as $field => $value) {
+ $criterionName = $criteriaNames[$field];
+ if ($value !== null) {
+ $condition = self::buildCondition($value, $criterionName);
+ $baseQuery[$key][] = $condition;
+ }
+ }
+ }
+
+ $rowQuery = array_map(
+ fn ($rowValue): string => (count($rowValue) > 1) ? 'AND(' . implode(',', $rowValue) . ')' : ($rowValue[0] ?? ''),
+ $baseQuery
+ );
+
+ return (count($rowQuery) > 1) ? 'OR(' . implode(',', $rowQuery) . ')' : ($rowQuery[0] ?? '');
+ }
+
+ private static function buildCondition(mixed $criterion, string $criterionName): string
+ {
+ $ifCondition = Functions::ifCondition($criterion);
+
+ // Check for wildcard characters used in the condition
+ $result = preg_match('/(?[^"]*)(?".*[*?].*")/ui', $ifCondition, $matches);
+ if ($result !== 1) {
+ return "[:{$criterionName}]{$ifCondition}";
+ }
+
+ $trueFalse = ($matches['operator'] !== '<>');
+ $wildcard = WildcardMatch::wildcard($matches['operand']);
+ $condition = "WILDCARDMATCH([:{$criterionName}],{$wildcard})";
+ if ($trueFalse === false) {
+ $condition = "NOT({$condition})";
+ }
+
+ return $condition;
+ }
+
+ private static function executeQuery(array $database, string $query, array $criteria, array $fields): array
+ {
+ foreach ($database as $dataRow => $dataValues) {
+ // Substitute actual values from the database row for our [:placeholders]
+ $conditions = $query;
+ foreach ($criteria as $criterion) {
+ $conditions = self::processCondition($criterion, $fields, $dataValues, $conditions);
+ }
+
+ // evaluate the criteria against the row data
+ $result = Calculation::getInstance()->_calculateFormulaValue('=' . $conditions);
+
+ // If the row failed to meet the criteria, remove it from the database
+ if ($result !== true) {
+ unset($database[$dataRow]);
+ }
+ }
+
+ return $database;
+ }
+
+ /**
+ * @return mixed
+ */
+ private static function processCondition(string $criterion, array $fields, array $dataValues, string $conditions)
+ {
+ $key = array_search($criterion, $fields, true);
+
+ $dataValue = 'NULL';
+ if (is_bool($dataValues[$key])) {
+ $dataValue = ($dataValues[$key]) ? 'TRUE' : 'FALSE';
+ } elseif ($dataValues[$key] !== null) {
+ $dataValue = $dataValues[$key];
+ // escape quotes if we have a string containing quotes
+ if (is_string($dataValue) && str_contains($dataValue, '"')) {
+ $dataValue = str_replace('"', '""', $dataValue);
+ }
+ $dataValue = (is_string($dataValue)) ? Calculation::wrapResult(strtoupper($dataValue)) : $dataValue;
+ }
+
+ return str_replace('[:' . $criterion . ']', $dataValue, $conditions);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php
new file mode 100644
index 0000000..81169f4
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php
@@ -0,0 +1,886 @@
+getMessage();
+ }
+ }
+
+ /**
+ * DATETIMENOW.
+ *
+ * Returns the current date and time.
+ * The NOW function is useful when you need to display the current date and time on a worksheet or
+ * calculate a value based on the current date and time, and have that value updated each time you
+ * open the worksheet.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date
+ * and time format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ * Excel Function:
+ * NOW()
+ *
+ * @deprecated 1.18.0
+ * Use the now method in the DateTimeExcel\Current class instead
+ * @see DateTimeExcel\Current::now()
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function DATETIMENOW()
+ {
+ return DateTimeExcel\Current::now();
+ }
+
+ /**
+ * DATENOW.
+ *
+ * Returns the current date.
+ * The NOW function is useful when you need to display the current date and time on a worksheet or
+ * calculate a value based on the current date and time, and have that value updated each time you
+ * open the worksheet.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date
+ * and time format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ * Excel Function:
+ * TODAY()
+ *
+ * @deprecated 1.18.0
+ * Use the today method in the DateTimeExcel\Current class instead
+ * @see DateTimeExcel\Current::today()
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function DATENOW()
+ {
+ return DateTimeExcel\Current::today();
+ }
+
+ /**
+ * DATE.
+ *
+ * The DATE function returns a value that represents a particular date.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date
+ * format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ *
+ * Excel Function:
+ * DATE(year,month,day)
+ *
+ * @deprecated 1.18.0
+ * Use the fromYMD method in the DateTimeExcel\Date class instead
+ * @see DateTimeExcel\Date::fromYMD()
+ *
+ * PhpSpreadsheet is a lot more forgiving than MS Excel when passing non numeric values to this function.
+ * A Month name or abbreviation (English only at this point) such as 'January' or 'Jan' will still be accepted,
+ * as will a day value with a suffix (e.g. '21st' rather than simply 21); again only English language.
+ *
+ * @param int $year The value of the year argument can include one to four digits.
+ * Excel interprets the year argument according to the configured
+ * date system: 1900 or 1904.
+ * If year is between 0 (zero) and 1899 (inclusive), Excel adds that
+ * value to 1900 to calculate the year. For example, DATE(108,1,2)
+ * returns January 2, 2008 (1900+108).
+ * If year is between 1900 and 9999 (inclusive), Excel uses that
+ * value as the year. For example, DATE(2008,1,2) returns January 2,
+ * 2008.
+ * If year is less than 0 or is 10000 or greater, Excel returns the
+ * #NUM! error value.
+ * @param int $month A positive or negative integer representing the month of the year
+ * from 1 to 12 (January to December).
+ * If month is greater than 12, month adds that number of months to
+ * the first month in the year specified. For example, DATE(2008,14,2)
+ * returns the serial number representing February 2, 2009.
+ * If month is less than 1, month subtracts the magnitude of that
+ * number of months, plus 1, from the first month in the year
+ * specified. For example, DATE(2008,-3,2) returns the serial number
+ * representing September 2, 2007.
+ * @param int $day A positive or negative integer representing the day of the month
+ * from 1 to 31.
+ * If day is greater than the number of days in the month specified,
+ * day adds that number of days to the first day in the month. For
+ * example, DATE(2008,1,35) returns the serial number representing
+ * February 4, 2008.
+ * If day is less than 1, day subtracts the magnitude that number of
+ * days, plus one, from the first day of the month specified. For
+ * example, DATE(2008,1,-15) returns the serial number representing
+ * December 16, 2007.
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function DATE($year = 0, $month = 1, $day = 1)
+ {
+ return DateTimeExcel\Date::fromYMD($year, $month, $day);
+ }
+
+ /**
+ * TIME.
+ *
+ * The TIME function returns a value that represents a particular time.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time
+ * format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ * Excel Function:
+ * TIME(hour,minute,second)
+ *
+ * @deprecated 1.18.0
+ * Use the fromHMS method in the DateTimeExcel\Time class instead
+ * @see DateTimeExcel\Time::fromHMS()
+ *
+ * @param int $hour A number from 0 (zero) to 32767 representing the hour.
+ * Any value greater than 23 will be divided by 24 and the remainder
+ * will be treated as the hour value. For example, TIME(27,0,0) =
+ * TIME(3,0,0) = .125 or 3:00 AM.
+ * @param int $minute A number from 0 to 32767 representing the minute.
+ * Any value greater than 59 will be converted to hours and minutes.
+ * For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM.
+ * @param int $second A number from 0 to 32767 representing the second.
+ * Any value greater than 59 will be converted to hours, minutes,
+ * and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148
+ * or 12:33:20 AM
+ *
+ * @return array|\DateTime|float|int|string Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function TIME($hour = 0, $minute = 0, $second = 0): string|float|int|\DateTime|array
+ {
+ return DateTimeExcel\Time::fromHMS($hour, $minute, $second);
+ }
+
+ /**
+ * DATEVALUE.
+ *
+ * Returns a value that represents a particular date.
+ * Use DATEVALUE to convert a date represented by a text string to an Excel or PHP date/time stamp
+ * value.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date
+ * format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ * Excel Function:
+ * DATEVALUE(dateValue)
+ *
+ * @deprecated 1.18.0
+ * Use the fromString method in the DateTimeExcel\DateValue class instead
+ * @see DateTimeExcel\DateValue::fromString()
+ *
+ * @param string $dateValue Text that represents a date in a Microsoft Excel date format.
+ * For example, "1/30/2008" or "30-Jan-2008" are text strings within
+ * quotation marks that represent dates. Using the default date
+ * system in Excel for Windows, date_text must represent a date from
+ * January 1, 1900, to December 31, 9999. Using the default date
+ * system in Excel for the Macintosh, date_text must represent a date
+ * from January 1, 1904, to December 31, 9999. DATEVALUE returns the
+ * #VALUE! error value if date_text is out of this range.
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function DATEVALUE($dateValue)
+ {
+ return DateTimeExcel\DateValue::fromString($dateValue);
+ }
+
+ /**
+ * TIMEVALUE.
+ *
+ * Returns a value that represents a particular time.
+ * Use TIMEVALUE to convert a time represented by a text string to an Excel or PHP date/time stamp
+ * value.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time
+ * format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ * Excel Function:
+ * TIMEVALUE(timeValue)
+ *
+ * @deprecated 1.18.0
+ * Use the fromString method in the DateTimeExcel\TimeValue class instead
+ * @see DateTimeExcel\TimeValue::fromString()
+ *
+ * @param string $timeValue A text string that represents a time in any one of the Microsoft
+ * Excel time formats; for example, "6:45 PM" and "18:45" text strings
+ * within quotation marks that represent time.
+ * Date information in time_text is ignored.
+ *
+ * @return array|\Datetime|float|int|string Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function TIMEVALUE($timeValue): string|\Datetime|int|float|array
+ {
+ return DateTimeExcel\TimeValue::fromString($timeValue);
+ }
+
+ /**
+ * DATEDIF.
+ *
+ * Excel Function:
+ * DATEDIF(startdate, enddate, unit)
+ *
+ * @deprecated 1.18.0
+ * Use the interval method in the DateTimeExcel\Difference class instead
+ * @see DateTimeExcel\Difference::interval()
+ *
+ * @param mixed $startDate Excel date serial value, PHP date/time stamp, PHP DateTime object
+ * or a standard date string
+ * @param mixed $endDate Excel date serial value, PHP date/time stamp, PHP DateTime object
+ * or a standard date string
+ * @param array|string $unit
+ *
+ * @return array|int|string Interval between the dates
+ */
+ public static function DATEDIF(mixed $startDate = 0, mixed $endDate = 0, $unit = 'D')
+ {
+ return DateTimeExcel\Difference::interval($startDate, $endDate, $unit);
+ }
+
+ /**
+ * DAYS.
+ *
+ * Returns the number of days between two dates
+ *
+ * Excel Function:
+ * DAYS(endDate, startDate)
+ *
+ * @deprecated 1.18.0
+ * Use the between method in the DateTimeExcel\Days class instead
+ * @see DateTimeExcel\Days::between()
+ *
+ * @param array|DateTimeInterface|float|int|string $endDate Excel date serial value (float),
+ * PHP date timestamp (integer), PHP DateTime object, or a standard date string
+ * @param array|DateTimeInterface|float|int|string $startDate Excel date serial value (float),
+ * PHP date timestamp (integer), PHP DateTime object, or a standard date string
+ *
+ * @return array|int|string Number of days between start date and end date or an error
+ */
+ public static function DAYS($endDate = 0, $startDate = 0)
+ {
+ return DateTimeExcel\Days::between($endDate, $startDate);
+ }
+
+ /**
+ * DAYS360.
+ *
+ * Returns the number of days between two dates based on a 360-day year (twelve 30-day months),
+ * which is used in some accounting calculations. Use this function to help compute payments if
+ * your accounting system is based on twelve 30-day months.
+ *
+ * Excel Function:
+ * DAYS360(startDate,endDate[,method])
+ *
+ * @deprecated 1.18.0
+ * Use the between method in the DateTimeExcel\Days360 class instead
+ * @see DateTimeExcel\Days360::between()
+ *
+ * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param array|bool $method US or European Method
+ * FALSE or omitted: U.S. (NASD) method. If the starting date is
+ * the last day of a month, it becomes equal to the 30th of the
+ * same month. If the ending date is the last day of a month and
+ * the starting date is earlier than the 30th of a month, the
+ * ending date becomes equal to the 1st of the next month;
+ * otherwise the ending date becomes equal to the 30th of the
+ * same month.
+ * TRUE: European method. Starting dates and ending dates that
+ * occur on the 31st of a month become equal to the 30th of the
+ * same month.
+ *
+ * @return array|int|string Number of days between start date and end date
+ */
+ public static function DAYS360(mixed $startDate = 0, mixed $endDate = 0, $method = false): string|int|array
+ {
+ return DateTimeExcel\Days360::between($startDate, $endDate, $method);
+ }
+
+ /**
+ * YEARFRAC.
+ *
+ * Calculates the fraction of the year represented by the number of whole days between two dates
+ * (the start_date and the end_date).
+ * Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or
+ * obligations to assign to a specific term.
+ *
+ * Excel Function:
+ * YEARFRAC(startDate,endDate[,method])
+ *
+ * @deprecated 1.18.0
+ * Use the fraction method in the DateTimeExcel\YearFrac class instead
+ * @see DateTimeExcel\YearFrac::fraction()
+ *
+ * See https://lists.oasis-open.org/archives/office-formula/200806/msg00039.html
+ * for description of algorithm used in Excel
+ *
+ * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param array|int $method Method used for the calculation
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return array|float|string fraction of the year, or a string containing an error
+ */
+ public static function YEARFRAC(mixed $startDate = 0, mixed $endDate = 0, $method = 0): string|int|float|array
+ {
+ return DateTimeExcel\YearFrac::fraction($startDate, $endDate, $method);
+ }
+
+ /**
+ * NETWORKDAYS.
+ *
+ * Returns the number of whole working days between start_date and end_date. Working days
+ * exclude weekends and any dates identified in holidays.
+ * Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days
+ * worked during a specific term.
+ *
+ * Excel Function:
+ * NETWORKDAYS(startDate,endDate[,holidays[,holiday[,...]]])
+ *
+ * @deprecated 1.18.0
+ * Use the count method in the DateTimeExcel\NetworkDays class instead
+ * @see DateTimeExcel\NetworkDays::count()
+ *
+ * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ *
+ * @return array|int|string Interval between the dates
+ */
+ public static function NETWORKDAYS(mixed $startDate, mixed $endDate, mixed ...$dateArgs): string|int|array
+ {
+ return DateTimeExcel\NetworkDays::count($startDate, $endDate, ...$dateArgs);
+ }
+
+ /**
+ * WORKDAY.
+ *
+ * Returns the date that is the indicated number of working days before or after a date (the
+ * starting date). Working days exclude weekends and any dates identified as holidays.
+ * Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected
+ * delivery times, or the number of days of work performed.
+ *
+ * Excel Function:
+ * WORKDAY(startDate,endDays[,holidays[,holiday[,...]]])
+ *
+ * @deprecated 1.18.0
+ * Use the date method in the DateTimeExcel\WorkDay class instead
+ * @see DateTimeExcel\WorkDay::date()
+ *
+ * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param int $endDays The number of nonweekend and nonholiday days before or after
+ * startDate. A positive value for days yields a future date; a
+ * negative value yields a past date.
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function WORKDAY(mixed $startDate, $endDays, mixed ...$dateArgs)
+ {
+ return DateTimeExcel\WorkDay::date($startDate, $endDays, ...$dateArgs);
+ }
+
+ /**
+ * DAYOFMONTH.
+ *
+ * Returns the day of the month, for a specified date. The day is given as an integer
+ * ranging from 1 to 31.
+ *
+ * Excel Function:
+ * DAY(dateValue)
+ *
+ * @deprecated 1.18.0
+ * Use the day method in the DateTimeExcel\DateParts class instead
+ * @see DateTimeExcel\DateParts::day()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ *
+ * @return array|int|string Day of the month
+ */
+ public static function DAYOFMONTH(mixed $dateValue = 1): int|string|array
+ {
+ return DateTimeExcel\DateParts::day($dateValue);
+ }
+
+ /**
+ * WEEKDAY.
+ *
+ * Returns the day of the week for a specified date. The day is given as an integer
+ * ranging from 0 to 7 (dependent on the requested style).
+ *
+ * Excel Function:
+ * WEEKDAY(dateValue[,style])
+ *
+ * @deprecated 1.18.0
+ * Use the day method in the DateTimeExcel\Week class instead
+ * @see DateTimeExcel\Week::day()
+ *
+ * @param float|int|string $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param int $style A number that determines the type of return value
+ * 1 or omitted Numbers 1 (Sunday) through 7 (Saturday).
+ * 2 Numbers 1 (Monday) through 7 (Sunday).
+ * 3 Numbers 0 (Monday) through 6 (Sunday).
+ *
+ * @return array|int|string Day of the week value
+ */
+ public static function WEEKDAY($dateValue = 1, $style = 1): string|int|array
+ {
+ return DateTimeExcel\Week::day($dateValue, $style);
+ }
+
+ /**
+ * STARTWEEK_SUNDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_SUNDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_SUNDAY
+ */
+ const STARTWEEK_SUNDAY = 1;
+
+ /**
+ * STARTWEEK_MONDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_MONDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_MONDAY
+ */
+ const STARTWEEK_MONDAY = 2;
+
+ /**
+ * STARTWEEK_MONDAY_ALT.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_MONDAY_ALT
+ * @see DateTimeExcel\Constants::STARTWEEK_MONDAY_ALT
+ */
+ const STARTWEEK_MONDAY_ALT = 11;
+
+ /**
+ * STARTWEEK_TUESDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_TUESDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_TUESDAY
+ */
+ const STARTWEEK_TUESDAY = 12;
+
+ /**
+ * STARTWEEK_WEDNESDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_WEDNESDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_WEDNESDAY
+ */
+ const STARTWEEK_WEDNESDAY = 13;
+
+ /**
+ * STARTWEEK_THURSDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_THURSDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_THURSDAY
+ */
+ const STARTWEEK_THURSDAY = 14;
+
+ /**
+ * STARTWEEK_FRIDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_FRIDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_FRIDAY
+ */
+ const STARTWEEK_FRIDAY = 15;
+
+ /**
+ * STARTWEEK_SATURDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_SATURDAY
+ * @see DateTimeExcel\Constants::STARTWEEK_SATURDAY
+ */
+ const STARTWEEK_SATURDAY = 16;
+
+ /**
+ * STARTWEEK_SUNDAY_ALT.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_SUNDAY_ALT
+ * @see DateTimeExcel\Constants::STARTWEEK_SUNDAY_ALT
+ */
+ const STARTWEEK_SUNDAY_ALT = 17;
+
+ /**
+ * DOW_SUNDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_SUNDAY
+ * @see DateTimeExcel\Constants::DOW_SUNDAY
+ */
+ const DOW_SUNDAY = 1;
+
+ /**
+ * DOW_MONDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_MONDAY
+ * @see DateTimeExcel\Constants::DOW_MONDAY
+ */
+ const DOW_MONDAY = 2;
+
+ /**
+ * DOW_TUESDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_TUESDAY
+ * @see DateTimeExcel\Constants::DOW_TUESDAY
+ */
+ const DOW_TUESDAY = 3;
+
+ /**
+ * DOW_WEDNESDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_WEDNESDAY
+ * @see DateTimeExcel\Constants::DOW_WEDNESDAY
+ */
+ const DOW_WEDNESDAY = 4;
+
+ /**
+ * DOW_THURSDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_THURSDAY
+ * @see DateTimeExcel\Constants::DOW_THURSDAY
+ */
+ const DOW_THURSDAY = 5;
+
+ /**
+ * DOW_FRIDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_FRIDAY
+ * @see DateTimeExcel\Constants::DOW_FRIDAY
+ */
+ const DOW_FRIDAY = 6;
+
+ /**
+ * DOW_SATURDAY.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::DOW_SATURDAY
+ * @see DateTimeExcel\Constants::DOW_SATURDAY
+ */
+ const DOW_SATURDAY = 7;
+
+ /**
+ * STARTWEEK_MONDAY_ISO.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::STARTWEEK_MONDAY_ISO
+ * @see DateTimeExcel\Constants::STARTWEEK_MONDAY_ISO
+ */
+ const STARTWEEK_MONDAY_ISO = 21;
+
+ /**
+ * METHODARR.
+ *
+ * @deprecated 1.18.0
+ * Use DateTimeExcel\Constants::METHODARR
+ * @see DateTimeExcel\Constants::METHODARR
+ */
+ const METHODARR = [
+ self::STARTWEEK_SUNDAY => self::DOW_SUNDAY,
+ self::DOW_MONDAY,
+ self::STARTWEEK_MONDAY_ALT => self::DOW_MONDAY,
+ self::DOW_TUESDAY,
+ self::DOW_WEDNESDAY,
+ self::DOW_THURSDAY,
+ self::DOW_FRIDAY,
+ self::DOW_SATURDAY,
+ self::DOW_SUNDAY,
+ self::STARTWEEK_MONDAY_ISO => self::STARTWEEK_MONDAY_ISO,
+ ];
+
+ /**
+ * WEEKNUM.
+ *
+ * Returns the week of the year for a specified date.
+ * The WEEKNUM function considers the week containing January 1 to be the first week of the year.
+ * However, there is a European standard that defines the first week as the one with the majority
+ * of days (four or more) falling in the new year. This means that for years in which there are
+ * three days or less in the first week of January, the WEEKNUM function returns week numbers
+ * that are incorrect according to the European standard.
+ *
+ * Excel Function:
+ * WEEKNUM(dateValue[,style])
+ *
+ * @deprecated 1.18.0
+ * Use the number method in the DateTimeExcel\Week class instead
+ * @see DateTimeExcel\Week::number()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param int $method Week begins on Sunday or Monday
+ * 1 or omitted Week begins on Sunday.
+ * 2 Week begins on Monday.
+ * 11 Week begins on Monday.
+ * 12 Week begins on Tuesday.
+ * 13 Week begins on Wednesday.
+ * 14 Week begins on Thursday.
+ * 15 Week begins on Friday.
+ * 16 Week begins on Saturday.
+ * 17 Week begins on Sunday.
+ * 21 ISO (Jan. 4 is week 1, begins on Monday).
+ *
+ * @return array|int|string Week Number
+ */
+ public static function WEEKNUM(mixed $dateValue = 1, $method = self::STARTWEEK_SUNDAY): int|string|array
+ {
+ return DateTimeExcel\Week::number($dateValue, $method);
+ }
+
+ /**
+ * ISOWEEKNUM.
+ *
+ * Returns the ISO 8601 week number of the year for a specified date.
+ *
+ * Excel Function:
+ * ISOWEEKNUM(dateValue)
+ *
+ * @deprecated 1.18.0
+ * Use the isoWeekNumber method in the DateTimeExcel\Week class instead
+ * @see DateTimeExcel\Week::isoWeekNumber()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ *
+ * @return array|int|string Week Number
+ */
+ public static function ISOWEEKNUM(mixed $dateValue = 1): int|string|array
+ {
+ return DateTimeExcel\Week::isoWeekNumber($dateValue);
+ }
+
+ /**
+ * MONTHOFYEAR.
+ *
+ * Returns the month of a date represented by a serial number.
+ * The month is given as an integer, ranging from 1 (January) to 12 (December).
+ *
+ * Excel Function:
+ * MONTH(dateValue)
+ *
+ * @deprecated 1.18.0
+ * Use the month method in the DateTimeExcel\DateParts class instead
+ * @see DateTimeExcel\DateParts::month()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ *
+ * @return array|int|string Month of the year
+ */
+ public static function MONTHOFYEAR(mixed $dateValue = 1): string|int|array
+ {
+ return DateTimeExcel\DateParts::month($dateValue);
+ }
+
+ /**
+ * YEAR.
+ *
+ * Returns the year corresponding to a date.
+ * The year is returned as an integer in the range 1900-9999.
+ *
+ * Excel Function:
+ * YEAR(dateValue)
+ *
+ * @deprecated 1.18.0
+ * Use the ear method in the DateTimeExcel\DateParts class instead
+ * @see DateTimeExcel\DateParts::year()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ *
+ * @return array|int|string Year
+ */
+ public static function YEAR(mixed $dateValue = 1): string|int|array
+ {
+ return DateTimeExcel\DateParts::year($dateValue);
+ }
+
+ /**
+ * HOUROFDAY.
+ *
+ * Returns the hour of a time value.
+ * The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).
+ *
+ * Excel Function:
+ * HOUR(timeValue)
+ *
+ * @deprecated 1.18.0
+ * Use the hour method in the DateTimeExcel\TimeParts class instead
+ * @see DateTimeExcel\TimeParts::hour()
+ *
+ * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard time string
+ *
+ * @return array|int|string Hour
+ */
+ public static function HOUROFDAY(mixed $timeValue = 0): string|int|array
+ {
+ return DateTimeExcel\TimeParts::hour($timeValue);
+ }
+
+ /**
+ * MINUTE.
+ *
+ * Returns the minutes of a time value.
+ * The minute is given as an integer, ranging from 0 to 59.
+ *
+ * Excel Function:
+ * MINUTE(timeValue)
+ *
+ * @deprecated 1.18.0
+ * Use the minute method in the DateTimeExcel\TimeParts class instead
+ * @see DateTimeExcel\TimeParts::minute()
+ *
+ * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard time string
+ *
+ * @return array|int|string Minute
+ */
+ public static function MINUTE(mixed $timeValue = 0): string|int|array
+ {
+ return DateTimeExcel\TimeParts::minute($timeValue);
+ }
+
+ /**
+ * SECOND.
+ *
+ * Returns the seconds of a time value.
+ * The second is given as an integer in the range 0 (zero) to 59.
+ *
+ * Excel Function:
+ * SECOND(timeValue)
+ *
+ * @deprecated 1.18.0
+ * Use the second method in the DateTimeExcel\TimeParts class instead
+ * @see DateTimeExcel\TimeParts::second()
+ *
+ * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard time string
+ *
+ * @return array|int|string Second
+ */
+ public static function SECOND(mixed $timeValue = 0): string|int|array
+ {
+ return DateTimeExcel\TimeParts::second($timeValue);
+ }
+
+ /**
+ * EDATE.
+ *
+ * Returns the serial number that represents the date that is the indicated number of months
+ * before or after a specified date (the start_date).
+ * Use EDATE to calculate maturity dates or due dates that fall on the same day of the month
+ * as the date of issue.
+ *
+ * Excel Function:
+ * EDATE(dateValue,adjustmentMonths)
+ *
+ * @deprecated 1.18.0
+ * Use the adjust method in the DateTimeExcel\Edate class instead
+ * @see DateTimeExcel\Month::adjust()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param int $adjustmentMonths The number of months before or after start_date.
+ * A positive value for months yields a future date;
+ * a negative value yields a past date.
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function EDATE(mixed $dateValue = 1, $adjustmentMonths = 0)
+ {
+ return DateTimeExcel\Month::adjust($dateValue, $adjustmentMonths);
+ }
+
+ /**
+ * EOMONTH.
+ *
+ * Returns the date value for the last day of the month that is the indicated number of months
+ * before or after start_date.
+ * Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month.
+ *
+ * Excel Function:
+ * EOMONTH(dateValue,adjustmentMonths)
+ *
+ * @deprecated 1.18.0
+ * Use the lastDay method in the DateTimeExcel\EoMonth class instead
+ * @see DateTimeExcel\Month::lastDay()
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * @param int $adjustmentMonths The number of months before or after start_date.
+ * A positive value for months yields a future date;
+ * a negative value yields a past date.
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function EOMONTH(mixed $dateValue = 1, $adjustmentMonths = 0)
+ {
+ return DateTimeExcel\Month::lastDay($dateValue, $adjustmentMonths);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Constants.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Constants.php
new file mode 100644
index 0000000..1165eb1
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Constants.php
@@ -0,0 +1,38 @@
+ self::DOW_SUNDAY,
+ self::DOW_MONDAY,
+ self::STARTWEEK_MONDAY_ALT => self::DOW_MONDAY,
+ self::DOW_TUESDAY,
+ self::DOW_WEDNESDAY,
+ self::DOW_THURSDAY,
+ self::DOW_FRIDAY,
+ self::DOW_SATURDAY,
+ self::DOW_SUNDAY,
+ self::STARTWEEK_MONDAY_ISO => self::STARTWEEK_MONDAY_ISO,
+ ];
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Current.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Current.php
new file mode 100644
index 0000000..5de671d
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Current.php
@@ -0,0 +1,59 @@
+format('c'));
+
+ return Helpers::dateParseSucceeded($dateArray) ? Helpers::returnIn3FormatsArray($dateArray, true) : ExcelError::VALUE();
+ }
+
+ /**
+ * DATETIMENOW.
+ *
+ * Returns the current date and time.
+ * The NOW function is useful when you need to display the current date and time on a worksheet or
+ * calculate a value based on the current date and time, and have that value updated each time you
+ * open the worksheet.
+ *
+ * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date
+ * and time format of your regional settings. PhpSpreadsheet does not change cell formatting in this way.
+ *
+ * Excel Function:
+ * NOW()
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ public static function now()
+ {
+ $dti = new DateTimeImmutable();
+ $dateArray = Helpers::dateParse($dti->format('c'));
+
+ return Helpers::dateParseSucceeded($dateArray) ? Helpers::returnIn3FormatsArray($dateArray) : ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Date.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Date.php
new file mode 100644
index 0000000..040cca9
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Date.php
@@ -0,0 +1,166 @@
+getMessage();
+ }
+
+ // Execute function
+ $excelDateValue = SharedDateHelper::formattedPHPToExcel($year, $month, $day);
+
+ return Helpers::returnIn3FormatsFloat($excelDateValue);
+ }
+
+ /**
+ * Convert year from multiple formats to int.
+ */
+ private static function getYear(mixed $year, int $baseYear): int
+ {
+ $year = ($year !== null) ? StringHelper::testStringAsNumeric((string) $year) : 0;
+ if (!is_numeric($year)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+ $year = (int) $year;
+
+ if ($year < ($baseYear - 1900)) {
+ throw new Exception(ExcelError::NAN());
+ }
+ if ((($baseYear - 1900) !== 0) && ($year < $baseYear) && ($year >= 1900)) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ if (($year < $baseYear) && ($year >= ($baseYear - 1900))) {
+ $year += 1900;
+ }
+
+ return (int) $year;
+ }
+
+ /**
+ * Convert month from multiple formats to int.
+ */
+ private static function getMonth(mixed $month): int
+ {
+ if (($month !== null) && (!is_numeric($month))) {
+ $month = SharedDateHelper::monthStringToNumber($month);
+ }
+
+ $month = ($month !== null) ? StringHelper::testStringAsNumeric((string) $month) : 0;
+ if (!is_numeric($month)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return (int) $month;
+ }
+
+ /**
+ * Convert day from multiple formats to int.
+ */
+ private static function getDay(mixed $day): int
+ {
+ if (($day !== null) && (!is_numeric($day))) {
+ $day = SharedDateHelper::dayStringToNumber($day);
+ }
+
+ $day = ($day !== null) ? StringHelper::testStringAsNumeric((string) $day) : 0;
+ if (!is_numeric($day)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return (int) $day;
+ }
+
+ private static function adjustYearMonth(int &$year, int &$month, int $baseYear): void
+ {
+ if ($month < 1) {
+ // Handle year/month adjustment if month < 1
+ --$month;
+ $year += ceil($month / 12) - 1;
+ $month = 13 - abs($month % 12);
+ } elseif ($month > 12) {
+ // Handle year/month adjustment if month > 12
+ $year += floor($month / 12);
+ $month = ($month % 12);
+ }
+
+ // Re-validate the year parameter after adjustments
+ if (($year < $baseYear) || ($year >= 10000)) {
+ throw new Exception(ExcelError::NAN());
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php
new file mode 100644
index 0000000..60e4de1
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php
@@ -0,0 +1,154 @@
+= 0) {
+ return $weirdResult;
+ }
+
+ try {
+ $dateValue = Helpers::getDateValue($dateValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Execute function
+ $PHPDateObject = SharedDateHelper::excelToDateTimeObject($dateValue);
+ SharedDateHelper::roundMicroseconds($PHPDateObject);
+
+ return (int) $PHPDateObject->format('j');
+ }
+
+ /**
+ * MONTHOFYEAR.
+ *
+ * Returns the month of a date represented by a serial number.
+ * The month is given as an integer, ranging from 1 (January) to 12 (December).
+ *
+ * Excel Function:
+ * MONTH(dateValue)
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * Or can be an array of date values
+ *
+ * @return array|int|string Month of the year
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function month(mixed $dateValue): array|string|int
+ {
+ if (is_array($dateValue)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue);
+ }
+
+ try {
+ $dateValue = Helpers::getDateValue($dateValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ if ($dateValue < 1 && SharedDateHelper::getExcelCalendar() === SharedDateHelper::CALENDAR_WINDOWS_1900) {
+ return 1;
+ }
+
+ // Execute function
+ $PHPDateObject = SharedDateHelper::excelToDateTimeObject($dateValue);
+ SharedDateHelper::roundMicroseconds($PHPDateObject);
+
+ return (int) $PHPDateObject->format('n');
+ }
+
+ /**
+ * YEAR.
+ *
+ * Returns the year corresponding to a date.
+ * The year is returned as an integer in the range 1900-9999.
+ *
+ * Excel Function:
+ * YEAR(dateValue)
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * Or can be an array of date values
+ *
+ * @return array|int|string Year
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function year(mixed $dateValue): array|string|int
+ {
+ if (is_array($dateValue)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue);
+ }
+
+ try {
+ $dateValue = Helpers::getDateValue($dateValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($dateValue < 1 && SharedDateHelper::getExcelCalendar() === SharedDateHelper::CALENDAR_WINDOWS_1900) {
+ return 1900;
+ }
+ // Execute function
+ $PHPDateObject = SharedDateHelper::excelToDateTimeObject($dateValue);
+ SharedDateHelper::roundMicroseconds($PHPDateObject);
+
+ return (int) $PHPDateObject->format('Y');
+ }
+
+ /**
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ */
+ private static function weirdCondition(mixed $dateValue): int
+ {
+ // Excel does not treat 0 consistently for DAY vs. (MONTH or YEAR)
+ if (SharedDateHelper::getExcelCalendar() === SharedDateHelper::CALENDAR_WINDOWS_1900 && Functions::getCompatibilityMode() == Functions::COMPATIBILITY_EXCEL) {
+ if (is_bool($dateValue)) {
+ return (int) $dateValue;
+ }
+ if ($dateValue === null) {
+ return 0;
+ }
+ if (is_numeric($dateValue) && $dateValue < 1 && $dateValue >= 0) {
+ return 0;
+ }
+ }
+
+ return -1;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php
new file mode 100644
index 0000000..0cb2277
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php
@@ -0,0 +1,162 @@
+ 31)) {
+ if ($yearFound) {
+ return ExcelError::VALUE();
+ }
+ if ($t < 100) {
+ $t += 1900;
+ }
+ $yearFound = true;
+ }
+ }
+ if (count($t1) === 1) {
+ // We've been fed a time value without any date
+ return ((!str_contains((string) $t, ':'))) ? ExcelError::Value() : 0.0;
+ }
+ unset($t);
+
+ $dateValue = self::t1ToString($t1, $dti, $yearFound);
+
+ $PHPDateArray = self::setUpArray($dateValue, $dti);
+
+ return self::finalResults($PHPDateArray, $dti, $baseYear);
+ }
+
+ private static function t1ToString(array $t1, DateTimeImmutable $dti, bool $yearFound): string
+ {
+ if (count($t1) == 2) {
+ // We only have two parts of the date: either day/month or month/year
+ if ($yearFound) {
+ array_unshift($t1, 1);
+ } else {
+ if (is_numeric($t1[1]) && $t1[1] > 29) {
+ $t1[1] += 1900;
+ array_unshift($t1, 1);
+ } else {
+ $t1[] = $dti->format('Y');
+ }
+ }
+ }
+ $dateValue = implode(' ', $t1);
+
+ return $dateValue;
+ }
+
+ /**
+ * Parse date.
+ */
+ private static function setUpArray(string $dateValue, DateTimeImmutable $dti): array
+ {
+ $PHPDateArray = Helpers::dateParse($dateValue);
+ if (!Helpers::dateParseSucceeded($PHPDateArray)) {
+ // If original count was 1, we've already returned.
+ // If it was 2, we added another.
+ // Therefore, neither of the first 2 stroks below can fail.
+ $testVal1 = strtok($dateValue, '- ');
+ $testVal2 = strtok('- ');
+ $testVal3 = strtok('- ') ?: $dti->format('Y');
+ Helpers::adjustYear((string) $testVal1, (string) $testVal2, $testVal3);
+ $PHPDateArray = Helpers::dateParse($testVal1 . '-' . $testVal2 . '-' . $testVal3);
+ if (!Helpers::dateParseSucceeded($PHPDateArray)) {
+ $PHPDateArray = Helpers::dateParse($testVal2 . '-' . $testVal1 . '-' . $testVal3);
+ }
+ }
+
+ return $PHPDateArray;
+ }
+
+ /**
+ * Final results.
+ *
+ * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ */
+ private static function finalResults(array $PHPDateArray, DateTimeImmutable $dti, int $baseYear)
+ {
+ $retValue = ExcelError::Value();
+ if (Helpers::dateParseSucceeded($PHPDateArray)) {
+ // Execute function
+ Helpers::replaceIfEmpty($PHPDateArray['year'], $dti->format('Y'));
+ if ($PHPDateArray['year'] < $baseYear) {
+ return ExcelError::VALUE();
+ }
+ Helpers::replaceIfEmpty($PHPDateArray['month'], $dti->format('m'));
+ Helpers::replaceIfEmpty($PHPDateArray['day'], $dti->format('d'));
+ $PHPDateArray['hour'] = 0;
+ $PHPDateArray['minute'] = 0;
+ $PHPDateArray['second'] = 0;
+ $month = (int) $PHPDateArray['month'];
+ $day = (int) $PHPDateArray['day'];
+ $year = (int) $PHPDateArray['year'];
+ if (!checkdate($month, $day, $year)) {
+ return ($year === 1900 && $month === 2 && $day === 29) ? Helpers::returnIn3FormatsFloat(60.0) : ExcelError::VALUE();
+ }
+ $retValue = Helpers::returnIn3FormatsArray($PHPDateArray, true);
+ }
+
+ return $retValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days.php
new file mode 100644
index 0000000..a3b9745
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days.php
@@ -0,0 +1,62 @@
+getMessage();
+ }
+
+ // Execute function
+ $PHPStartDateObject = SharedDateHelper::excelToDateTimeObject($startDate);
+ $PHPEndDateObject = SharedDateHelper::excelToDateTimeObject($endDate);
+
+ $days = ExcelError::VALUE();
+ $diff = $PHPStartDateObject->diff($PHPEndDateObject);
+ if ($diff !== false && !is_bool($diff->days)) {
+ $days = $diff->days;
+ if ($diff->invert) {
+ $days = -$days;
+ }
+ }
+
+ return $days;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days360.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days360.php
new file mode 100644
index 0000000..9ac9ccb
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Days360.php
@@ -0,0 +1,118 @@
+getMessage();
+ }
+
+ if (!is_bool($method)) {
+ return ExcelError::VALUE();
+ }
+
+ // Execute function
+ $PHPStartDateObject = SharedDateHelper::excelToDateTimeObject($startDate);
+ $startDay = $PHPStartDateObject->format('j');
+ $startMonth = $PHPStartDateObject->format('n');
+ $startYear = $PHPStartDateObject->format('Y');
+
+ $PHPEndDateObject = SharedDateHelper::excelToDateTimeObject($endDate);
+ $endDay = $PHPEndDateObject->format('j');
+ $endMonth = $PHPEndDateObject->format('n');
+ $endYear = $PHPEndDateObject->format('Y');
+
+ return self::dateDiff360((int) $startDay, (int) $startMonth, (int) $startYear, (int) $endDay, (int) $endMonth, (int) $endYear, !$method);
+ }
+
+ /**
+ * Return the number of days between two dates based on a 360 day calendar.
+ */
+ private static function dateDiff360(int $startDay, int $startMonth, int $startYear, int $endDay, int $endMonth, int $endYear, bool $methodUS): int
+ {
+ $startDay = self::getStartDay($startDay, $startMonth, $startYear, $methodUS);
+ $endDay = self::getEndDay($endDay, $endMonth, $endYear, $startDay, $methodUS);
+
+ return $endDay + $endMonth * 30 + $endYear * 360 - $startDay - $startMonth * 30 - $startYear * 360;
+ }
+
+ private static function getStartDay(int $startDay, int $startMonth, int $startYear, bool $methodUS): int
+ {
+ if ($startDay == 31) {
+ --$startDay;
+ } elseif ($methodUS && ($startMonth == 2 && ($startDay == 29 || ($startDay == 28 && !Helpers::isLeapYear($startYear))))) {
+ $startDay = 30;
+ }
+
+ return $startDay;
+ }
+
+ private static function getEndDay(int $endDay, int &$endMonth, int &$endYear, int $startDay, bool $methodUS): int
+ {
+ if ($endDay == 31) {
+ if ($methodUS && $startDay != 30) {
+ $endDay = 1;
+ if ($endMonth == 12) {
+ ++$endYear;
+ $endMonth = 1;
+ } else {
+ ++$endMonth;
+ }
+ } else {
+ $endDay = 30;
+ }
+ }
+
+ return $endDay;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Difference.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Difference.php
new file mode 100644
index 0000000..2822f08
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Difference.php
@@ -0,0 +1,158 @@
+getMessage();
+ }
+
+ // Execute function
+ $PHPStartDateObject = SharedDateHelper::excelToDateTimeObject($startDate);
+ $startDays = (int) $PHPStartDateObject->format('j');
+ //$startMonths = (int) $PHPStartDateObject->format('n');
+ $startYears = (int) $PHPStartDateObject->format('Y');
+
+ $PHPEndDateObject = SharedDateHelper::excelToDateTimeObject($endDate);
+ $endDays = (int) $PHPEndDateObject->format('j');
+ //$endMonths = (int) $PHPEndDateObject->format('n');
+ $endYears = (int) $PHPEndDateObject->format('Y');
+
+ $PHPDiffDateObject = $PHPEndDateObject->diff($PHPStartDateObject);
+
+ $retVal = false;
+ $retVal = self::replaceRetValue($retVal, $unit, 'D') ?? self::datedifD($difference);
+ $retVal = self::replaceRetValue($retVal, $unit, 'M') ?? self::datedifM($PHPDiffDateObject);
+ $retVal = self::replaceRetValue($retVal, $unit, 'MD') ?? self::datedifMD($startDays, $endDays, $PHPEndDateObject, $PHPDiffDateObject);
+ $retVal = self::replaceRetValue($retVal, $unit, 'Y') ?? self::datedifY($PHPDiffDateObject);
+ $retVal = self::replaceRetValue($retVal, $unit, 'YD') ?? self::datedifYD($difference, $startYears, $endYears, $PHPStartDateObject, $PHPEndDateObject);
+ $retVal = self::replaceRetValue($retVal, $unit, 'YM') ?? self::datedifYM($PHPDiffDateObject);
+
+ return is_bool($retVal) ? ExcelError::VALUE() : $retVal;
+ }
+
+ private static function initialDiff(float $startDate, float $endDate): float
+ {
+ // Validate parameters
+ if ($startDate > $endDate) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $endDate - $startDate;
+ }
+
+ /**
+ * Decide whether it's time to set retVal.
+ *
+ * @param bool|int $retVal
+ *
+ * @return null|bool|int
+ */
+ private static function replaceRetValue($retVal, string $unit, string $compare)
+ {
+ if ($retVal !== false || $unit !== $compare) {
+ return $retVal;
+ }
+
+ return null;
+ }
+
+ private static function datedifD(float $difference): int
+ {
+ return (int) $difference;
+ }
+
+ private static function datedifM(DateInterval $PHPDiffDateObject): int
+ {
+ return 12 * (int) $PHPDiffDateObject->format('%y') + (int) $PHPDiffDateObject->format('%m');
+ }
+
+ private static function datedifMD(int $startDays, int $endDays, DateTime $PHPEndDateObject, DateInterval $PHPDiffDateObject): int
+ {
+ if ($endDays < $startDays) {
+ $retVal = $endDays;
+ $PHPEndDateObject->modify('-' . $endDays . ' days');
+ $adjustDays = (int) $PHPEndDateObject->format('j');
+ $retVal += ($adjustDays - $startDays);
+ } else {
+ $retVal = (int) $PHPDiffDateObject->format('%d');
+ }
+
+ return $retVal;
+ }
+
+ private static function datedifY(DateInterval $PHPDiffDateObject): int
+ {
+ return (int) $PHPDiffDateObject->format('%y');
+ }
+
+ private static function datedifYD(float $difference, int $startYears, int $endYears, DateTime $PHPStartDateObject, DateTime $PHPEndDateObject): int
+ {
+ $retVal = (int) $difference;
+ if ($endYears > $startYears) {
+ $isLeapStartYear = $PHPStartDateObject->format('L');
+ $wasLeapEndYear = $PHPEndDateObject->format('L');
+
+ // Adjust end year to be as close as possible as start year
+ while ($PHPEndDateObject >= $PHPStartDateObject) {
+ $PHPEndDateObject->modify('-1 year');
+ //$endYears = $PHPEndDateObject->format('Y');
+ }
+ $PHPEndDateObject->modify('+1 year');
+
+ // Get the result
+ $retVal = (int) $PHPEndDateObject->diff($PHPStartDateObject)->days;
+
+ // Adjust for leap years cases
+ $isLeapEndYear = $PHPEndDateObject->format('L');
+ $limit = new DateTime($PHPEndDateObject->format('Y-02-29'));
+ if (!$isLeapStartYear && !$wasLeapEndYear && $isLeapEndYear && $PHPEndDateObject >= $limit) {
+ --$retVal;
+ }
+ }
+
+ return (int) $retVal;
+ }
+
+ private static function datedifYM(DateInterval $PHPDiffDateObject): int
+ {
+ return (int) $PHPDiffDateObject->format('%m');
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Helpers.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Helpers.php
new file mode 100644
index 0000000..e329be7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Helpers.php
@@ -0,0 +1,288 @@
+format('m');
+ $oYear = (int) $PHPDateObject->format('Y');
+
+ $adjustmentMonthsString = (string) $adjustmentMonths;
+ if ($adjustmentMonths > 0) {
+ $adjustmentMonthsString = '+' . $adjustmentMonths;
+ }
+ if ($adjustmentMonths != 0) {
+ $PHPDateObject->modify($adjustmentMonthsString . ' months');
+ }
+ $nMonth = (int) $PHPDateObject->format('m');
+ $nYear = (int) $PHPDateObject->format('Y');
+
+ $monthDiff = ($nMonth - $oMonth) + (($nYear - $oYear) * 12);
+ if ($monthDiff != $adjustmentMonths) {
+ $adjustDays = (int) $PHPDateObject->format('d');
+ $adjustDaysString = '-' . $adjustDays . ' days';
+ $PHPDateObject->modify($adjustDaysString);
+ }
+
+ return $PHPDateObject;
+ }
+
+ /**
+ * Help reduce perceived complexity of some tests.
+ */
+ public static function replaceIfEmpty(mixed &$value, mixed $altValue): void
+ {
+ $value = $value ?: $altValue;
+ }
+
+ /**
+ * Adjust year in ambiguous situations.
+ */
+ public static function adjustYear(string $testVal1, string $testVal2, string &$testVal3): void
+ {
+ if (!is_numeric($testVal1) || $testVal1 < 31) {
+ if (!is_numeric($testVal2) || $testVal2 < 12) {
+ if (is_numeric($testVal3) && $testVal3 < 12) {
+ $testVal3 += 2000;
+ }
+ }
+ }
+ }
+
+ /**
+ * Return result in one of three formats.
+ */
+ public static function returnIn3FormatsArray(array $dateArray, bool $noFrac = false): DateTime|float|int
+ {
+ $retType = Functions::getReturnDateType();
+ if ($retType === Functions::RETURNDATE_PHP_DATETIME_OBJECT) {
+ return new DateTime(
+ $dateArray['year']
+ . '-' . $dateArray['month']
+ . '-' . $dateArray['day']
+ . ' ' . $dateArray['hour']
+ . ':' . $dateArray['minute']
+ . ':' . $dateArray['second']
+ );
+ }
+ $excelDateValue
+ = SharedDateHelper::formattedPHPToExcel(
+ $dateArray['year'],
+ $dateArray['month'],
+ $dateArray['day'],
+ $dateArray['hour'],
+ $dateArray['minute'],
+ $dateArray['second']
+ );
+ if ($retType === Functions::RETURNDATE_EXCEL) {
+ return $noFrac ? floor($excelDateValue) : $excelDateValue;
+ }
+ // RETURNDATE_UNIX_TIMESTAMP)
+
+ return SharedDateHelper::excelToTimestamp($excelDateValue);
+ }
+
+ /**
+ * Return result in one of three formats.
+ *
+ * @return mixed
+ */
+ public static function returnIn3FormatsFloat(float $excelDateValue)
+ {
+ $retType = Functions::getReturnDateType();
+ if ($retType === Functions::RETURNDATE_EXCEL) {
+ return $excelDateValue;
+ }
+ if ($retType === Functions::RETURNDATE_UNIX_TIMESTAMP) {
+ return (int) SharedDateHelper::excelToTimestamp($excelDateValue);
+ }
+ // RETURNDATE_PHP_DATETIME_OBJECT
+
+ return SharedDateHelper::excelToDateTimeObject($excelDateValue);
+ }
+
+ /**
+ * Return result in one of three formats.
+ */
+ public static function returnIn3FormatsObject(DateTime $PHPDateObject): DateTime|float|int
+ {
+ $retType = Functions::getReturnDateType();
+ if ($retType === Functions::RETURNDATE_PHP_DATETIME_OBJECT) {
+ return $PHPDateObject;
+ }
+ if ($retType === Functions::RETURNDATE_EXCEL) {
+ return (float) SharedDateHelper::PHPToExcel($PHPDateObject);
+ }
+ // RETURNDATE_UNIX_TIMESTAMP
+ $stamp = SharedDateHelper::PHPToExcel($PHPDateObject);
+ $stamp = is_bool($stamp) ? ((int) $stamp) : $stamp;
+
+ return SharedDateHelper::excelToTimestamp($stamp);
+ }
+
+ private static function baseDate(): int
+ {
+ if (Functions::getCompatibilityMode() === Functions::COMPATIBILITY_OPENOFFICE) {
+ return 0;
+ }
+ if (SharedDateHelper::getExcelCalendar() === SharedDateHelper::CALENDAR_MAC_1904) {
+ return 0;
+ }
+
+ return 1;
+ }
+
+ /**
+ * Many functions accept null/false/true argument treated as 0/0/1.
+ */
+ public static function nullFalseTrueToNumber(mixed &$number, bool $allowBool = true): void
+ {
+ $number = Functions::flattenSingleValue($number);
+ $nullVal = self::baseDate();
+ if ($number === null) {
+ $number = $nullVal;
+ } elseif ($allowBool && is_bool($number)) {
+ $number = $nullVal + (int) $number;
+ }
+ }
+
+ /**
+ * Many functions accept null argument treated as 0.
+ */
+ public static function validateNumericNull(mixed $number): int|float
+ {
+ $number = Functions::flattenSingleValue($number);
+ if ($number === null) {
+ return 0;
+ }
+ if (is_int($number)) {
+ return $number;
+ }
+ if (is_numeric($number)) {
+ return (float) $number;
+ }
+
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ /**
+ * Many functions accept null/false/true argument treated as 0/0/1.
+ *
+ * @return float
+ */
+ public static function validateNotNegative(mixed $number)
+ {
+ if (!is_numeric($number)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+ if ($number >= 0) {
+ return (float) $number;
+ }
+
+ throw new Exception(ExcelError::NAN());
+ }
+
+ public static function silly1900(DateTime $PHPDateObject, string $mod = '-1 day'): void
+ {
+ $isoDate = $PHPDateObject->format('c');
+ if ($isoDate < '1900-03-01') {
+ $PHPDateObject->modify($mod);
+ }
+ }
+
+ public static function dateParse(string $string): array
+ {
+ return self::forceArray(date_parse($string));
+ }
+
+ public static function dateParseSucceeded(array $dateArray): bool
+ {
+ return $dateArray['error_count'] === 0;
+ }
+
+ /**
+ * Despite documentation, date_parse probably never returns false.
+ * Just in case, this routine helps guarantee it.
+ *
+ * @param array|false $dateArray
+ */
+ private static function forceArray($dateArray): array
+ {
+ return is_array($dateArray) ? $dateArray : ['error_count' => 1];
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php
new file mode 100644
index 0000000..33f661a
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php
@@ -0,0 +1,103 @@
+getMessage();
+ }
+ $dateValue = floor($dateValue);
+ $adjustmentMonths = floor($adjustmentMonths);
+
+ // Execute function
+ $PHPDateObject = Helpers::adjustDateByMonths($dateValue, $adjustmentMonths);
+
+ return Helpers::returnIn3FormatsObject($PHPDateObject);
+ }
+
+ /**
+ * EOMONTH.
+ *
+ * Returns the date value for the last day of the month that is the indicated number of months
+ * before or after start_date.
+ * Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month.
+ *
+ * Excel Function:
+ * EOMONTH(dateValue,adjustmentMonths)
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * Or can be an array of date values
+ * @param array|int $adjustmentMonths The number of months before or after start_date.
+ * A positive value for months yields a future date;
+ * a negative value yields a past date.
+ * Or can be an array of adjustment values
+ *
+ * @return array|mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object,
+ * depending on the value of the ReturnDateType flag
+ * If an array of values is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function lastDay(mixed $dateValue, $adjustmentMonths)
+ {
+ if (is_array($dateValue) || is_array($adjustmentMonths)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $dateValue, $adjustmentMonths);
+ }
+
+ try {
+ $dateValue = Helpers::getDateValue($dateValue, false);
+ $adjustmentMonths = Helpers::validateNumericNull($adjustmentMonths);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ $dateValue = floor($dateValue);
+ $adjustmentMonths = floor($adjustmentMonths);
+
+ // Execute function
+ $PHPDateObject = Helpers::adjustDateByMonths($dateValue, $adjustmentMonths + 1);
+ $adjustDays = (int) $PHPDateObject->format('d');
+ $adjustDaysString = '-' . $adjustDays . ' days';
+ $PHPDateObject->modify($adjustDaysString);
+
+ return Helpers::returnIn3FormatsObject($PHPDateObject);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.php
new file mode 100644
index 0000000..503e30e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.php
@@ -0,0 +1,119 @@
+getMessage();
+ }
+
+ // Execute function
+ $startDow = self::calcStartDow($startDate);
+ $endDow = self::calcEndDow($endDate);
+ $wholeWeekDays = (int) floor(($endDate - $startDate) / 7) * 5;
+ $partWeekDays = self::calcPartWeekDays($startDow, $endDow);
+
+ // Test any extra holiday parameters
+ $holidayCountedArray = [];
+ foreach ($holidayArray as $holidayDate) {
+ if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) {
+ if ((Week::day($holidayDate, 2) < 6) && (!in_array($holidayDate, $holidayCountedArray))) {
+ --$partWeekDays;
+ $holidayCountedArray[] = $holidayDate;
+ }
+ }
+ }
+
+ return self::applySign($wholeWeekDays + $partWeekDays, $sDate, $eDate);
+ }
+
+ private static function calcStartDow(float $startDate): int
+ {
+ $startDow = 6 - (int) Week::day($startDate, 2);
+ if ($startDow < 0) {
+ $startDow = 5;
+ }
+
+ return $startDow;
+ }
+
+ private static function calcEndDow(float $endDate): int
+ {
+ $endDow = (int) Week::day($endDate, 2);
+ if ($endDow >= 6) {
+ $endDow = 0;
+ }
+
+ return $endDow;
+ }
+
+ private static function calcPartWeekDays(int $startDow, int $endDow): int
+ {
+ $partWeekDays = $endDow + $startDow;
+ if ($partWeekDays > 5) {
+ $partWeekDays -= 5;
+ }
+
+ return $partWeekDays;
+ }
+
+ private static function applySign(int $result, float $sDate, float $eDate): int
+ {
+ return ($sDate > $eDate) ? -$result : $result;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php
new file mode 100644
index 0000000..defcd17
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Time.php
@@ -0,0 +1,130 @@
+getMessage();
+ }
+
+ self::adjustSecond($second, $minute);
+ self::adjustMinute($minute, $hour);
+
+ if ($hour > 23) {
+ $hour = $hour % 24;
+ } elseif ($hour < 0) {
+ return ExcelError::NAN();
+ }
+
+ // Execute function
+ $retType = Functions::getReturnDateType();
+ if ($retType === Functions::RETURNDATE_EXCEL) {
+ $calendar = SharedDateHelper::getExcelCalendar();
+ $date = (int) ($calendar !== SharedDateHelper::CALENDAR_WINDOWS_1900);
+
+ return (float) SharedDateHelper::formattedPHPToExcel($calendar, 1, $date, $hour, $minute, $second);
+ }
+ if ($retType === Functions::RETURNDATE_UNIX_TIMESTAMP) {
+ return (int) SharedDateHelper::excelToTimestamp(SharedDateHelper::formattedPHPToExcel(1970, 1, 1, $hour, $minute, $second)); // -2147468400; // -2147472000 + 3600
+ }
+ // RETURNDATE_PHP_DATETIME_OBJECT
+ // Hour has already been normalized (0-23) above
+ $phpDateObject = new DateTime('1900-01-01 ' . $hour . ':' . $minute . ':' . $second);
+
+ return $phpDateObject;
+ }
+
+ private static function adjustSecond(int &$second, int &$minute): void
+ {
+ if ($second < 0) {
+ $minute += floor($second / 60);
+ $second = 60 - abs($second % 60);
+ if ($second == 60) {
+ $second = 0;
+ }
+ } elseif ($second >= 60) {
+ $minute += floor($second / 60);
+ $second = $second % 60;
+ }
+ }
+
+ private static function adjustMinute(int &$minute, int &$hour): void
+ {
+ if ($minute < 0) {
+ $hour += floor($minute / 60);
+ $minute = 60 - abs($minute % 60);
+ if ($minute == 60) {
+ $minute = 0;
+ }
+ } elseif ($minute >= 60) {
+ $hour += floor($minute / 60);
+ $minute = $minute % 60;
+ }
+ }
+
+ /**
+ * @param mixed $value expect int
+ */
+ private static function toIntWithNullBool(mixed $value): int
+ {
+ $value = $value ?? 0;
+ if (is_bool($value)) {
+ $value = (int) $value;
+ }
+ if (!is_numeric($value)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return (int) $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php
new file mode 100644
index 0000000..de52269
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php
@@ -0,0 +1,135 @@
+getMessage();
+ }
+
+ // Execute function
+ $timeValue = fmod($timeValue, 1);
+ $timeValue = SharedDateHelper::excelToDateTimeObject($timeValue);
+ SharedDateHelper::roundMicroseconds($timeValue);
+
+ return (int) $timeValue->format('H');
+ }
+
+ /**
+ * MINUTE.
+ *
+ * Returns the minutes of a time value.
+ * The minute is given as an integer, ranging from 0 to 59.
+ *
+ * Excel Function:
+ * MINUTE(timeValue)
+ *
+ * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard time string
+ * Or can be an array of date/time values
+ *
+ * @return array|int|string Minute
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function minute(mixed $timeValue): array|string|int
+ {
+ if (is_array($timeValue)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
+ }
+
+ try {
+ Helpers::nullFalseTrueToNumber($timeValue);
+ if (!is_numeric($timeValue)) {
+ $timeValue = Helpers::getTimeValue($timeValue);
+ }
+ Helpers::validateNotNegative($timeValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Execute function
+ $timeValue = fmod($timeValue, 1);
+ $timeValue = SharedDateHelper::excelToDateTimeObject($timeValue);
+ SharedDateHelper::roundMicroseconds($timeValue);
+
+ return (int) $timeValue->format('i');
+ }
+
+ /**
+ * SECOND.
+ *
+ * Returns the seconds of a time value.
+ * The minute is given as an integer, ranging from 0 to 59.
+ *
+ * Excel Function:
+ * SECOND(timeValue)
+ *
+ * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard time string
+ * Or can be an array of date/time values
+ *
+ * @return array|int|string Second
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function second(mixed $timeValue): array|string|int
+ {
+ if (is_array($timeValue)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
+ }
+
+ try {
+ Helpers::nullFalseTrueToNumber($timeValue);
+ if (!is_numeric($timeValue)) {
+ $timeValue = Helpers::getTimeValue($timeValue);
+ }
+ Helpers::validateNotNegative($timeValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Execute function
+ $timeValue = fmod($timeValue, 1);
+ $timeValue = SharedDateHelper::excelToDateTimeObject($timeValue);
+ SharedDateHelper::roundMicroseconds($timeValue);
+
+ return (int) $timeValue->format('s');
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeValue.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeValue.php
new file mode 100644
index 0000000..b5024d1
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeValue.php
@@ -0,0 +1,83 @@
+ 24) {
+ $arraySplit[0] = ($arraySplit[0] % 24);
+ $timeValue = implode(':', $arraySplit);
+ }
+
+ $PHPDateArray = Helpers::dateParse($timeValue);
+ $retValue = ExcelError::VALUE();
+ if (Helpers::dateParseSucceeded($PHPDateArray)) {
+ /** @var int */
+ $hour = $PHPDateArray['hour'];
+ /** @var int */
+ $minute = $PHPDateArray['minute'];
+ /** @var int */
+ $second = $PHPDateArray['second'];
+ // OpenOffice-specific code removed - it works just like Excel
+ $excelDateValue = SharedDateHelper::formattedPHPToExcel(1900, 1, 1, $hour, $minute, $second) - 1;
+
+ $retType = Functions::getReturnDateType();
+ if ($retType === Functions::RETURNDATE_EXCEL) {
+ $retValue = (float) $excelDateValue;
+ } elseif ($retType === Functions::RETURNDATE_UNIX_TIMESTAMP) {
+ $retValue = (int) SharedDateHelper::excelToTimestamp($excelDateValue + 25569) - 3600;
+ } else {
+ $retValue = new DateTime('1900-01-01 ' . $PHPDateArray['hour'] . ':' . $PHPDateArray['minute'] . ':' . $PHPDateArray['second']);
+ }
+ }
+
+ return $retValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Week.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Week.php
new file mode 100644
index 0000000..6434cd7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Week.php
@@ -0,0 +1,274 @@
+getMessage();
+ }
+
+ // Execute function
+ $PHPDateObject = SharedDateHelper::excelToDateTimeObject($dateValue);
+ if ($method == Constants::STARTWEEK_MONDAY_ISO) {
+ Helpers::silly1900($PHPDateObject);
+
+ return (int) $PHPDateObject->format('W');
+ }
+ if (self::buggyWeekNum1904($method, $origDateValueNull, $PHPDateObject)) {
+ return 0;
+ }
+ Helpers::silly1900($PHPDateObject, '+ 5 years'); // 1905 calendar matches
+ $dayOfYear = (int) $PHPDateObject->format('z');
+ $PHPDateObject->modify('-' . $dayOfYear . ' days');
+ $firstDayOfFirstWeek = (int) $PHPDateObject->format('w');
+ $daysInFirstWeek = (6 - $firstDayOfFirstWeek + $method) % 7;
+ $daysInFirstWeek += 7 * !$daysInFirstWeek;
+ $endFirstWeek = $daysInFirstWeek - 1;
+ $weekOfYear = floor(($dayOfYear - $endFirstWeek + 13) / 7);
+
+ return (int) $weekOfYear;
+ }
+
+ /**
+ * ISOWEEKNUM.
+ *
+ * Returns the ISO 8601 week number of the year for a specified date.
+ *
+ * Excel Function:
+ * ISOWEEKNUM(dateValue)
+ *
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * Or can be an array of date values
+ *
+ * @return array|int|string Week Number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isoWeekNumber(mixed $dateValue): array|int|string
+ {
+ if (is_array($dateValue)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue);
+ }
+
+ if (self::apparentBug($dateValue)) {
+ return 52;
+ }
+
+ try {
+ $dateValue = Helpers::getDateValue($dateValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Execute function
+ $PHPDateObject = SharedDateHelper::excelToDateTimeObject($dateValue);
+ Helpers::silly1900($PHPDateObject);
+
+ return (int) $PHPDateObject->format('W');
+ }
+
+ /**
+ * WEEKDAY.
+ *
+ * Returns the day of the week for a specified date. The day is given as an integer
+ * ranging from 0 to 7 (dependent on the requested style).
+ *
+ * Excel Function:
+ * WEEKDAY(dateValue[,style])
+ *
+ * @param null|array|float|int|string $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ * Or can be an array of date values
+ * @param mixed $style A number that determines the type of return value
+ * 1 or omitted Numbers 1 (Sunday) through 7 (Saturday).
+ * 2 Numbers 1 (Monday) through 7 (Sunday).
+ * 3 Numbers 0 (Monday) through 6 (Sunday).
+ * Or can be an array of styles
+ *
+ * @return array|int|string Day of the week value
+ * If an array of values is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function day($dateValue, mixed $style = 1): array|string|int
+ {
+ if (is_array($dateValue) || is_array($style)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $dateValue, $style);
+ }
+
+ try {
+ $dateValue = Helpers::getDateValue($dateValue);
+ $style = self::validateStyle($style);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Execute function
+ $PHPDateObject = SharedDateHelper::excelToDateTimeObject($dateValue);
+ Helpers::silly1900($PHPDateObject);
+ $DoW = (int) $PHPDateObject->format('w');
+
+ switch ($style) {
+ case 1:
+ ++$DoW;
+
+ break;
+ case 2:
+ $DoW = self::dow0Becomes7($DoW);
+
+ break;
+ case 3:
+ $DoW = self::dow0Becomes7($DoW) - 1;
+
+ break;
+ }
+
+ return $DoW;
+ }
+
+ /**
+ * @param mixed $style expect int
+ */
+ private static function validateStyle(mixed $style): int
+ {
+ if (!is_numeric($style)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+ $style = (int) $style;
+ if (($style < 1) || ($style > 3)) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $style;
+ }
+
+ private static function dow0Becomes7(int $DoW): int
+ {
+ return ($DoW === 0) ? 7 : $DoW;
+ }
+
+ /**
+ * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer),
+ * PHP DateTime object, or a standard date string
+ */
+ private static function apparentBug(mixed $dateValue): bool
+ {
+ if (SharedDateHelper::getExcelCalendar() !== SharedDateHelper::CALENDAR_MAC_1904) {
+ if (is_bool($dateValue)) {
+ return true;
+ }
+ if (is_numeric($dateValue) && !((int) $dateValue)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Validate dateValue parameter.
+ */
+ private static function validateDateValue(mixed $dateValue): float
+ {
+ if (is_bool($dateValue)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return Helpers::getDateValue($dateValue);
+ }
+
+ /**
+ * Validate method parameter.
+ */
+ private static function validateMethod(mixed $method): int
+ {
+ if ($method === null) {
+ $method = Constants::STARTWEEK_SUNDAY;
+ }
+
+ if (!is_numeric($method)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ $method = (int) $method;
+ if (!array_key_exists($method, Constants::METHODARR)) {
+ throw new Exception(ExcelError::NAN());
+ }
+ $method = Constants::METHODARR[$method];
+
+ return $method;
+ }
+
+ private static function buggyWeekNum1900(int $method): bool
+ {
+ return $method === Constants::DOW_SUNDAY && SharedDateHelper::getExcelCalendar() === SharedDateHelper::CALENDAR_WINDOWS_1900;
+ }
+
+ private static function buggyWeekNum1904(int $method, bool $origNull, DateTime $dateObject): bool
+ {
+ // This appears to be another Excel bug.
+
+ return $method === Constants::DOW_SUNDAY && SharedDateHelper::getExcelCalendar() === SharedDateHelper::CALENDAR_MAC_1904
+ && !$origNull && $dateObject->format('Y-m-d') === '1904-01-01';
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php
new file mode 100644
index 0000000..1f5735e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php
@@ -0,0 +1,201 @@
+getMessage();
+ }
+
+ $startDate = (float) floor($startDate);
+ $endDays = (int) floor($endDays);
+ // If endDays is 0, we always return startDate
+ if ($endDays == 0) {
+ return $startDate;
+ }
+ if ($endDays < 0) {
+ return self::decrementing($startDate, $endDays, $holidayArray);
+ }
+
+ return self::incrementing($startDate, $endDays, $holidayArray);
+ }
+
+ /**
+ * Use incrementing logic to determine Workday.
+ *
+ * @return mixed
+ */
+ private static function incrementing(float $startDate, int $endDays, array $holidayArray)
+ {
+ // Adjust the start date if it falls over a weekend
+ $startDoW = self::getWeekDay($startDate, 3);
+ if ($startDoW >= 5) {
+ $startDate += 7 - $startDoW;
+ --$endDays;
+ }
+
+ // Add endDays
+ $endDate = (float) $startDate + ((int) ($endDays / 5) * 7);
+ $endDays = $endDays % 5;
+ while ($endDays > 0) {
+ ++$endDate;
+ // Adjust the calculated end date if it falls over a weekend
+ $endDow = self::getWeekDay($endDate, 3);
+ if ($endDow >= 5) {
+ $endDate += 7 - $endDow;
+ }
+ --$endDays;
+ }
+
+ // Test any extra holiday parameters
+ if (!empty($holidayArray)) {
+ $endDate = self::incrementingArray($startDate, $endDate, $holidayArray);
+ }
+
+ return Helpers::returnIn3FormatsFloat($endDate);
+ }
+
+ private static function incrementingArray(float $startDate, float $endDate, array $holidayArray): float
+ {
+ $holidayCountedArray = $holidayDates = [];
+ foreach ($holidayArray as $holidayDate) {
+ if (self::getWeekDay($holidayDate, 3) < 5) {
+ $holidayDates[] = $holidayDate;
+ }
+ }
+ sort($holidayDates, SORT_NUMERIC);
+ foreach ($holidayDates as $holidayDate) {
+ if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) {
+ if (!in_array($holidayDate, $holidayCountedArray)) {
+ ++$endDate;
+ $holidayCountedArray[] = $holidayDate;
+ }
+ }
+ // Adjust the calculated end date if it falls over a weekend
+ $endDoW = self::getWeekDay($endDate, 3);
+ if ($endDoW >= 5) {
+ $endDate += 7 - $endDoW;
+ }
+ }
+
+ return $endDate;
+ }
+
+ /**
+ * Use decrementing logic to determine Workday.
+ *
+ * @return mixed
+ */
+ private static function decrementing(float $startDate, int $endDays, array $holidayArray)
+ {
+ // Adjust the start date if it falls over a weekend
+ $startDoW = self::getWeekDay($startDate, 3);
+ if ($startDoW >= 5) {
+ $startDate += -$startDoW + 4;
+ ++$endDays;
+ }
+
+ // Add endDays
+ $endDate = (float) $startDate + ((int) ($endDays / 5) * 7);
+ $endDays = $endDays % 5;
+ while ($endDays < 0) {
+ --$endDate;
+ // Adjust the calculated end date if it falls over a weekend
+ $endDow = self::getWeekDay($endDate, 3);
+ if ($endDow >= 5) {
+ $endDate += 4 - $endDow;
+ }
+ ++$endDays;
+ }
+
+ // Test any extra holiday parameters
+ if (!empty($holidayArray)) {
+ $endDate = self::decrementingArray($startDate, $endDate, $holidayArray);
+ }
+
+ return Helpers::returnIn3FormatsFloat($endDate);
+ }
+
+ private static function decrementingArray(float $startDate, float $endDate, array $holidayArray): float
+ {
+ $holidayCountedArray = $holidayDates = [];
+ foreach ($holidayArray as $holidayDate) {
+ if (self::getWeekDay($holidayDate, 3) < 5) {
+ $holidayDates[] = $holidayDate;
+ }
+ }
+ rsort($holidayDates, SORT_NUMERIC);
+ foreach ($holidayDates as $holidayDate) {
+ if (($holidayDate <= $startDate) && ($holidayDate >= $endDate)) {
+ if (!in_array($holidayDate, $holidayCountedArray)) {
+ --$endDate;
+ $holidayCountedArray[] = $holidayDate;
+ }
+ }
+ // Adjust the calculated end date if it falls over a weekend
+ $endDoW = self::getWeekDay($endDate, 3);
+ /** int $endDoW */
+ if ($endDoW >= 5) {
+ $endDate += -$endDoW + 4;
+ }
+ }
+
+ return $endDate;
+ }
+
+ private static function getWeekDay(float $date, int $wd): int
+ {
+ $result = Functions::scalar(Week::day($date, $wd));
+
+ return is_int($result) ? $result : -1;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/YearFrac.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/YearFrac.php
new file mode 100644
index 0000000..4ea431f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/YearFrac.php
@@ -0,0 +1,124 @@
+getMessage();
+ }
+
+ return match ($method) {
+ 0 => Functions::scalar(Days360::between($startDate, $endDate)) / 360,
+ 1 => self::method1($startDate, $endDate),
+ 2 => Functions::scalar(Difference::interval($startDate, $endDate)) / 360,
+ 3 => Functions::scalar(Difference::interval($startDate, $endDate)) / 365,
+ 4 => Functions::scalar(Days360::between($startDate, $endDate, true)) / 360,
+ default => ExcelError::NAN(),
+ };
+ }
+
+ /**
+ * Excel 1900 calendar treats date argument of null as 1900-01-00. Really.
+ */
+ private static function excelBug(float $sDate, mixed $startDate, mixed $endDate, int $method): float
+ {
+ if (Functions::getCompatibilityMode() !== Functions::COMPATIBILITY_OPENOFFICE && SharedDateHelper::getExcelCalendar() !== SharedDateHelper::CALENDAR_MAC_1904) {
+ if ($endDate === null && $startDate !== null) {
+ if (DateParts::month($sDate) == 12 && DateParts::day($sDate) === 31 && $method === 0) {
+ $sDate += 2;
+ } else {
+ ++$sDate;
+ }
+ }
+ }
+
+ return $sDate;
+ }
+
+ private static function method1(float $startDate, float $endDate): float
+ {
+ $days = Functions::scalar(Difference::interval($startDate, $endDate));
+ $startYear = (int) DateParts::year($startDate);
+ $endYear = (int) DateParts::year($endDate);
+ $years = $endYear - $startYear + 1;
+ $startMonth = (int) DateParts::month($startDate);
+ $startDay = (int) DateParts::day($startDate);
+ $endMonth = (int) DateParts::month($endDate);
+ $endDay = (int) DateParts::day($endDate);
+ $startMonthDay = 100 * $startMonth + $startDay;
+ $endMonthDay = 100 * $endMonth + $endDay;
+ if ($years == 1) {
+ $tmpCalcAnnualBasis = 365 + (int) Helpers::isLeapYear($endYear);
+ } elseif ($years == 2 && $startMonthDay >= $endMonthDay) {
+ if (Helpers::isLeapYear($startYear)) {
+ $tmpCalcAnnualBasis = 365 + (int) ($startMonthDay <= 229);
+ } elseif (Helpers::isLeapYear($endYear)) {
+ $tmpCalcAnnualBasis = 365 + (int) ($endMonthDay >= 229);
+ } else {
+ $tmpCalcAnnualBasis = 365;
+ }
+ } else {
+ $tmpCalcAnnualBasis = 0;
+ for ($year = $startYear; $year <= $endYear; ++$year) {
+ $tmpCalcAnnualBasis += 365 + (int) Helpers::isLeapYear($year);
+ }
+ $tmpCalcAnnualBasis /= $years;
+ }
+
+ return $days / $tmpCalcAnnualBasis;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentHelper.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentHelper.php
new file mode 100644
index 0000000..bd019ac
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentHelper.php
@@ -0,0 +1,205 @@
+indexStart = (int) array_shift($keys);
+ $this->rows = $this->rows($arguments);
+ $this->columns = $this->columns($arguments);
+
+ $this->argumentCount = count($arguments);
+ $this->arguments = $this->flattenSingleCellArrays($arguments, $this->rows, $this->columns);
+
+ $this->rows = $this->rows($arguments);
+ $this->columns = $this->columns($arguments);
+
+ if ($this->arrayArguments() > 2) {
+ throw new Exception('Formulae with more than two array arguments are not supported');
+ }
+ }
+
+ public function arguments(): array
+ {
+ return $this->arguments;
+ }
+
+ public function hasArrayArgument(): bool
+ {
+ return $this->arrayArguments() > 0;
+ }
+
+ public function getFirstArrayArgumentNumber(): int
+ {
+ $rowArrays = $this->filterArray($this->rows);
+ $columnArrays = $this->filterArray($this->columns);
+
+ for ($index = $this->indexStart; $index < $this->argumentCount; ++$index) {
+ if (isset($rowArrays[$index]) || isset($columnArrays[$index])) {
+ return ++$index;
+ }
+ }
+
+ return 0;
+ }
+
+ public function getSingleRowVector(): ?int
+ {
+ $rowVectors = $this->getRowVectors();
+
+ return count($rowVectors) === 1 ? array_pop($rowVectors) : null;
+ }
+
+ private function getRowVectors(): array
+ {
+ $rowVectors = [];
+ for ($index = $this->indexStart; $index < ($this->indexStart + $this->argumentCount); ++$index) {
+ if ($this->rows[$index] === 1 && $this->columns[$index] > 1) {
+ $rowVectors[] = $index;
+ }
+ }
+
+ return $rowVectors;
+ }
+
+ public function getSingleColumnVector(): ?int
+ {
+ $columnVectors = $this->getColumnVectors();
+
+ return count($columnVectors) === 1 ? array_pop($columnVectors) : null;
+ }
+
+ private function getColumnVectors(): array
+ {
+ $columnVectors = [];
+ for ($index = $this->indexStart; $index < ($this->indexStart + $this->argumentCount); ++$index) {
+ if ($this->rows[$index] > 1 && $this->columns[$index] === 1) {
+ $columnVectors[] = $index;
+ }
+ }
+
+ return $columnVectors;
+ }
+
+ public function getMatrixPair(): array
+ {
+ for ($i = $this->indexStart; $i < ($this->indexStart + $this->argumentCount - 1); ++$i) {
+ for ($j = $i + 1; $j < $this->argumentCount; ++$j) {
+ if (isset($this->rows[$i], $this->rows[$j])) {
+ return [$i, $j];
+ }
+ }
+ }
+
+ return [];
+ }
+
+ public function isVector(int $argument): bool
+ {
+ return $this->rows[$argument] === 1 || $this->columns[$argument] === 1;
+ }
+
+ public function isRowVector(int $argument): bool
+ {
+ return $this->rows[$argument] === 1;
+ }
+
+ public function isColumnVector(int $argument): bool
+ {
+ return $this->columns[$argument] === 1;
+ }
+
+ public function rowCount(int $argument): int
+ {
+ return $this->rows[$argument];
+ }
+
+ public function columnCount(int $argument): int
+ {
+ return $this->columns[$argument];
+ }
+
+ private function rows(array $arguments): array
+ {
+ return array_map(
+ fn ($argument): int => is_countable($argument) ? count($argument) : 1,
+ $arguments
+ );
+ }
+
+ private function columns(array $arguments): array
+ {
+ return array_map(
+ function ($argument): int {
+ return is_array($argument) && is_array($argument[array_keys($argument)[0]])
+ ? count($argument[array_keys($argument)[0]])
+ : 1;
+ },
+ $arguments
+ );
+ }
+
+ public function arrayArguments(): int
+ {
+ $count = 0;
+ foreach (array_keys($this->arguments) as $argument) {
+ if ($this->rows[$argument] > 1 || $this->columns[$argument] > 1) {
+ ++$count;
+ }
+ }
+
+ return $count;
+ }
+
+ private function flattenSingleCellArrays(array $arguments, array $rows, array $columns): array
+ {
+ foreach ($arguments as $index => $argument) {
+ if ($rows[$index] === 1 && $columns[$index] === 1) {
+ while (is_array($argument)) {
+ $argument = array_pop($argument);
+ }
+ $arguments[$index] = $argument;
+ }
+ }
+
+ return $arguments;
+ }
+
+ private function filterArray(array $array): array
+ {
+ return array_filter(
+ $array,
+ fn ($value): bool => $value > 1
+ );
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentProcessor.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentProcessor.php
new file mode 100644
index 0000000..0b1ec58
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentProcessor.php
@@ -0,0 +1,162 @@
+hasArrayArgument() === false) {
+ return [$method(...$arguments)];
+ }
+
+ if (self::$arrayArgumentHelper->arrayArguments() === 1) {
+ $nthArgument = self::$arrayArgumentHelper->getFirstArrayArgumentNumber();
+
+ return self::evaluateNthArgumentAsArray($method, $nthArgument, ...$arguments);
+ }
+
+ $singleRowVectorIndex = self::$arrayArgumentHelper->getSingleRowVector();
+ $singleColumnVectorIndex = self::$arrayArgumentHelper->getSingleColumnVector();
+
+ if ($singleRowVectorIndex !== null && $singleColumnVectorIndex !== null) {
+ // Basic logic for a single row vector and a single column vector
+ return self::evaluateVectorPair($method, $singleRowVectorIndex, $singleColumnVectorIndex, ...$arguments);
+ }
+
+ $matrixPair = self::$arrayArgumentHelper->getMatrixPair();
+ if ($matrixPair !== []) {
+ if (
+ (self::$arrayArgumentHelper->isVector($matrixPair[0]) === true
+ && self::$arrayArgumentHelper->isVector($matrixPair[1]) === false)
+ || (self::$arrayArgumentHelper->isVector($matrixPair[0]) === false
+ && self::$arrayArgumentHelper->isVector($matrixPair[1]) === true)
+ ) {
+ // Logic for a matrix and a vector (row or column)
+ return self::evaluateVectorMatrixPair($method, $matrixPair, ...$arguments);
+ }
+
+ // Logic for matrix/matrix, column vector/column vector or row vector/row vector
+ return self::evaluateMatrixPair($method, $matrixPair, ...$arguments);
+ }
+
+ // Still need to work out the logic for more than two array arguments,
+ // For the moment, we're throwing an Exception when we initialise the ArrayArgumentHelper
+ return ['#VALUE!'];
+ }
+
+ private static function evaluateVectorMatrixPair(callable $method, array $matrixIndexes, mixed ...$arguments): array
+ {
+ $matrix2 = array_pop($matrixIndexes);
+ /** @var array $matrixValues2 */
+ $matrixValues2 = $arguments[$matrix2];
+ $matrix1 = array_pop($matrixIndexes);
+ /** @var array $matrixValues1 */
+ $matrixValues1 = $arguments[$matrix1];
+
+ $rows = min(array_map([self::$arrayArgumentHelper, 'rowCount'], [$matrix1, $matrix2]));
+ $columns = min(array_map([self::$arrayArgumentHelper, 'columnCount'], [$matrix1, $matrix2]));
+
+ if ($rows === 1) {
+ $rows = max(array_map([self::$arrayArgumentHelper, 'rowCount'], [$matrix1, $matrix2]));
+ }
+ if ($columns === 1) {
+ $columns = max(array_map([self::$arrayArgumentHelper, 'columnCount'], [$matrix1, $matrix2]));
+ }
+
+ $result = [];
+ for ($rowIndex = 0; $rowIndex < $rows; ++$rowIndex) {
+ for ($columnIndex = 0; $columnIndex < $columns; ++$columnIndex) {
+ $rowIndex1 = self::$arrayArgumentHelper->isRowVector($matrix1) ? 0 : $rowIndex;
+ $columnIndex1 = self::$arrayArgumentHelper->isColumnVector($matrix1) ? 0 : $columnIndex;
+ $value1 = $matrixValues1[$rowIndex1][$columnIndex1];
+ $rowIndex2 = self::$arrayArgumentHelper->isRowVector($matrix2) ? 0 : $rowIndex;
+ $columnIndex2 = self::$arrayArgumentHelper->isColumnVector($matrix2) ? 0 : $columnIndex;
+ $value2 = $matrixValues2[$rowIndex2][$columnIndex2];
+ $arguments[$matrix1] = $value1;
+ $arguments[$matrix2] = $value2;
+
+ $result[$rowIndex][$columnIndex] = $method(...$arguments);
+ }
+ }
+
+ return $result;
+ }
+
+ private static function evaluateMatrixPair(callable $method, array $matrixIndexes, mixed ...$arguments): array
+ {
+ $matrix2 = array_pop($matrixIndexes);
+ /** @var array $matrixValues2 */
+ $matrixValues2 = $arguments[$matrix2];
+ $matrix1 = array_pop($matrixIndexes);
+ /** @var array $matrixValues1 */
+ $matrixValues1 = $arguments[$matrix1];
+
+ $result = [];
+ foreach ($matrixValues1 as $rowIndex => $row) {
+ foreach ($row as $columnIndex => $value1) {
+ if (isset($matrixValues2[$rowIndex][$columnIndex]) === false) {
+ continue;
+ }
+
+ $value2 = $matrixValues2[$rowIndex][$columnIndex];
+ $arguments[$matrix1] = $value1;
+ $arguments[$matrix2] = $value2;
+
+ $result[$rowIndex][$columnIndex] = $method(...$arguments);
+ }
+ }
+
+ return $result;
+ }
+
+ private static function evaluateVectorPair(callable $method, int $rowIndex, int $columnIndex, mixed ...$arguments): array
+ {
+ $rowVector = Functions::flattenArray($arguments[$rowIndex]);
+ $columnVector = Functions::flattenArray($arguments[$columnIndex]);
+
+ $result = [];
+ foreach ($columnVector as $column) {
+ $rowResults = [];
+ foreach ($rowVector as $row) {
+ $arguments[$rowIndex] = $row;
+ $arguments[$columnIndex] = $column;
+
+ $rowResults[] = $method(...$arguments);
+ }
+ $result[] = $rowResults;
+ }
+
+ return $result;
+ }
+
+ /**
+ * Note, offset is from 1 (for the first argument) rather than from 0.
+ */
+ private static function evaluateNthArgumentAsArray(callable $method, int $nthArgument, mixed ...$arguments): array
+ {
+ $values = array_slice($arguments, $nthArgument - 1, 1);
+ /** @var array $values */
+ $values = array_pop($values);
+
+ $result = [];
+ foreach ($values as $value) {
+ $arguments[$nthArgument - 1] = $value;
+ $result[] = $method(...$arguments);
+ }
+
+ return $result;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/BranchPruner.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/BranchPruner.php
new file mode 100644
index 0000000..00328fb
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/BranchPruner.php
@@ -0,0 +1,208 @@
+branchPruningEnabled = $branchPruningEnabled;
+ }
+
+ public function clearBranchStore(): void
+ {
+ $this->branchStoreKeyCounter = 0;
+ }
+
+ public function initialiseForLoop(): void
+ {
+ $this->currentCondition = null;
+ $this->currentOnlyIf = null;
+ $this->currentOnlyIfNot = null;
+ $this->previousStoreKey = null;
+ $this->pendingStoreKey = empty($this->storeKeysStack) ? null : end($this->storeKeysStack);
+
+ if ($this->branchPruningEnabled) {
+ $this->initialiseCondition();
+ $this->initialiseThen();
+ $this->initialiseElse();
+ }
+ }
+
+ private function initialiseCondition(): void
+ {
+ if (isset($this->conditionMap[$this->pendingStoreKey]) && $this->conditionMap[$this->pendingStoreKey]) {
+ $this->currentCondition = $this->pendingStoreKey;
+ $stackDepth = count($this->storeKeysStack);
+ if ($stackDepth > 1) {
+ // nested if
+ $this->previousStoreKey = $this->storeKeysStack[$stackDepth - 2];
+ }
+ }
+ }
+
+ private function initialiseThen(): void
+ {
+ if (isset($this->thenMap[$this->pendingStoreKey]) && $this->thenMap[$this->pendingStoreKey]) {
+ $this->currentOnlyIf = $this->pendingStoreKey;
+ } elseif (
+ isset($this->previousStoreKey, $this->thenMap[$this->previousStoreKey])
+ && $this->thenMap[$this->previousStoreKey]
+ ) {
+ $this->currentOnlyIf = $this->previousStoreKey;
+ }
+ }
+
+ private function initialiseElse(): void
+ {
+ if (isset($this->elseMap[$this->pendingStoreKey]) && $this->elseMap[$this->pendingStoreKey]) {
+ $this->currentOnlyIfNot = $this->pendingStoreKey;
+ } elseif (
+ isset($this->previousStoreKey, $this->elseMap[$this->previousStoreKey])
+ && $this->elseMap[$this->previousStoreKey]
+ ) {
+ $this->currentOnlyIfNot = $this->previousStoreKey;
+ }
+ }
+
+ public function decrementDepth(): void
+ {
+ if (!empty($this->pendingStoreKey)) {
+ --$this->braceDepthMap[$this->pendingStoreKey];
+ }
+ }
+
+ public function incrementDepth(): void
+ {
+ if (!empty($this->pendingStoreKey)) {
+ ++$this->braceDepthMap[$this->pendingStoreKey];
+ }
+ }
+
+ public function functionCall(string $functionName): void
+ {
+ if ($this->branchPruningEnabled && ($functionName === 'IF(')) {
+ // we handle a new if
+ $this->pendingStoreKey = $this->getUnusedBranchStoreKey();
+ $this->storeKeysStack[] = $this->pendingStoreKey;
+ $this->conditionMap[$this->pendingStoreKey] = true;
+ $this->braceDepthMap[$this->pendingStoreKey] = 0;
+ } elseif (!empty($this->pendingStoreKey) && array_key_exists($this->pendingStoreKey, $this->braceDepthMap)) {
+ // this is not an if but we go deeper
+ ++$this->braceDepthMap[$this->pendingStoreKey];
+ }
+ }
+
+ public function argumentSeparator(): void
+ {
+ if (!empty($this->pendingStoreKey) && $this->braceDepthMap[$this->pendingStoreKey] === 0) {
+ // We must go to the IF next argument
+ if ($this->conditionMap[$this->pendingStoreKey]) {
+ $this->conditionMap[$this->pendingStoreKey] = false;
+ $this->thenMap[$this->pendingStoreKey] = true;
+ } elseif ($this->thenMap[$this->pendingStoreKey]) {
+ $this->thenMap[$this->pendingStoreKey] = false;
+ $this->elseMap[$this->pendingStoreKey] = true;
+ } elseif ($this->elseMap[$this->pendingStoreKey]) {
+ throw new Exception('Reaching fourth argument of an IF');
+ }
+ }
+ }
+
+ public function closingBrace(mixed $value): void
+ {
+ if (!empty($this->pendingStoreKey) && $this->braceDepthMap[$this->pendingStoreKey] === -1) {
+ // we are closing an IF(
+ if ($value !== 'IF(') {
+ throw new Exception('Parser bug we should be in an "IF("');
+ }
+
+ if ($this->conditionMap[$this->pendingStoreKey]) {
+ throw new Exception('We should not be expecting a condition');
+ }
+
+ $this->thenMap[$this->pendingStoreKey] = false;
+ $this->elseMap[$this->pendingStoreKey] = false;
+ --$this->braceDepthMap[$this->pendingStoreKey];
+ array_pop($this->storeKeysStack);
+ $this->pendingStoreKey = null;
+ }
+ }
+
+ public function currentCondition(): ?string
+ {
+ return $this->currentCondition;
+ }
+
+ public function currentOnlyIf(): ?string
+ {
+ return $this->currentOnlyIf;
+ }
+
+ public function currentOnlyIfNot(): ?string
+ {
+ return $this->currentOnlyIfNot;
+ }
+
+ private function getUnusedBranchStoreKey(): string
+ {
+ $storeKeyValue = 'storeKey-' . $this->branchStoreKeyCounter;
+ ++$this->branchStoreKeyCounter;
+
+ return $storeKeyValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/CyclicReferenceStack.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/CyclicReferenceStack.php
new file mode 100644
index 0000000..11d0925
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/CyclicReferenceStack.php
@@ -0,0 +1,67 @@
+stack);
+ }
+
+ /**
+ * Push a new entry onto the stack.
+ */
+ public function push(mixed $value): void
+ {
+ $this->stack[$value] = $value;
+ }
+
+ /**
+ * Pop the last entry from the stack.
+ *
+ * @return mixed
+ */
+ public function pop()
+ {
+ return array_pop($this->stack);
+ }
+
+ /**
+ * Test to see if a specified entry exists on the stack.
+ *
+ * @param mixed $value The value to test
+ */
+ public function onStack(mixed $value): bool
+ {
+ return isset($this->stack[$value]);
+ }
+
+ /**
+ * Clear the stack.
+ */
+ public function clear(): void
+ {
+ $this->stack = [];
+ }
+
+ /**
+ * Return an array of all entries on the stack.
+ *
+ * @return mixed[]
+ */
+ public function showStack()
+ {
+ return $this->stack;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/FormattedNumber.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/FormattedNumber.php
new file mode 100644
index 0000000..331fa44
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/FormattedNumber.php
@@ -0,0 +1,147 @@
+[-+])? *\% *(?[-+])? *(?[0-9]+\.?[0-9*]*(?:E[-+]?[0-9]*)?) *)|(?: *(?[-+])? *(?[0-9]+\.?[0-9]*(?:E[-+]?[0-9]*)?) *\% *))$~i';
+
+ // preg_quoted string for major currency symbols, with a %s for locale currency
+ private const CURRENCY_CONVERSION_LIST = '\$€£¥%s';
+
+ private const STRING_CONVERSION_LIST = [
+ [self::class, 'convertToNumberIfNumeric'],
+ [self::class, 'convertToNumberIfFraction'],
+ [self::class, 'convertToNumberIfPercent'],
+ [self::class, 'convertToNumberIfCurrency'],
+ ];
+
+ /**
+ * Identify whether a string contains a formatted numeric value,
+ * and convert it to a numeric if it is.
+ *
+ * @param string $operand string value to test
+ */
+ public static function convertToNumberIfFormatted(string &$operand): bool
+ {
+ foreach (self::STRING_CONVERSION_LIST as $conversionMethod) {
+ if ($conversionMethod($operand) === true) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Identify whether a string contains a numeric value,
+ * and convert it to a numeric if it is.
+ *
+ * @param string $operand string value to test
+ */
+ public static function convertToNumberIfNumeric(string &$operand): bool
+ {
+ $thousandsSeparator = preg_quote(StringHelper::getThousandsSeparator(), '/');
+ $value = preg_replace(['/(\d)' . $thousandsSeparator . '(\d)/u', '/([+-])\s+(\d)/u'], ['$1$2', '$1$2'], trim($operand));
+ $decimalSeparator = preg_quote(StringHelper::getDecimalSeparator(), '/');
+ $value = preg_replace(['/(\d)' . $decimalSeparator . '(\d)/u', '/([+-])\s+(\d)/u'], ['$1.$2', '$1$2'], $value ?? '');
+
+ if (is_numeric($value)) {
+ $operand = (float) $value;
+
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Identify whether a string contains a fractional numeric value,
+ * and convert it to a numeric if it is.
+ *
+ * @param string $operand string value to test
+ */
+ public static function convertToNumberIfFraction(string &$operand): bool
+ {
+ if (preg_match(self::STRING_REGEXP_FRACTION, $operand, $match)) {
+ $sign = ($match[1] === '-') ? '-' : '+';
+ $wholePart = ($match[3] === '') ? '' : ($sign . $match[3]);
+ $fractionFormula = '=' . $wholePart . $sign . $match[4];
+ $operand = Calculation::getInstance()->_calculateFormulaValue($fractionFormula);
+
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Identify whether a string contains a percentage, and if so,
+ * convert it to a numeric.
+ *
+ * @param string $operand string value to test
+ */
+ public static function convertToNumberIfPercent(string &$operand): bool
+ {
+ $thousandsSeparator = preg_quote(StringHelper::getThousandsSeparator(), '/');
+ $value = preg_replace('/(\d)' . $thousandsSeparator . '(\d)/u', '$1$2', trim($operand));
+ $decimalSeparator = preg_quote(StringHelper::getDecimalSeparator(), '/');
+ $value = preg_replace(['/(\d)' . $decimalSeparator . '(\d)/u', '/([+-])\s+(\d)/u'], ['$1.$2', '$1$2'], $value ?? '');
+
+ $match = [];
+ if ($value !== null && preg_match(self::STRING_REGEXP_PERCENT, $value, $match, PREG_UNMATCHED_AS_NULL)) {
+ //Calculate the percentage
+ $sign = ($match['PrefixedSign'] ?? $match['PrefixedSign2'] ?? $match['PostfixedSign']) ?? '';
+ $operand = (float) ($sign . ($match['PostfixedValue'] ?? $match['PrefixedValue'])) / 100;
+
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Identify whether a string contains a currency value, and if so,
+ * convert it to a numeric.
+ *
+ * @param string $operand string value to test
+ */
+ public static function convertToNumberIfCurrency(string &$operand): bool
+ {
+ $currencyRegexp = self::currencyMatcherRegexp();
+ $thousandsSeparator = preg_quote(StringHelper::getThousandsSeparator(), '/');
+ $value = preg_replace('/(\d)' . $thousandsSeparator . '(\d)/u', '$1$2', $operand);
+
+ $match = [];
+ if ($value !== null && preg_match($currencyRegexp, $value, $match, PREG_UNMATCHED_AS_NULL)) {
+ //Determine the sign
+ $sign = ($match['PrefixedSign'] ?? $match['PrefixedSign2'] ?? $match['PostfixedSign']) ?? '';
+ $decimalSeparator = StringHelper::getDecimalSeparator();
+ //Cast to a float
+ $intermediate = (string) ($match['PostfixedValue'] ?? $match['PrefixedValue']);
+ $intermediate = str_replace($decimalSeparator, '.', $intermediate);
+ if (is_numeric($intermediate)) {
+ $operand = (float) ($sign . str_replace($decimalSeparator, '.', $intermediate));
+
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ public static function currencyMatcherRegexp(): string
+ {
+ $currencyCodes = sprintf(self::CURRENCY_CONVERSION_LIST, preg_quote(StringHelper::getCurrencyCode(), '/'));
+ $decimalSeparator = preg_quote(StringHelper::getDecimalSeparator(), '/');
+
+ return '~^(?:(?: *(?[-+])? *(?[' . $currencyCodes . ']) *(?[-+])? *(?[0-9]+[' . $decimalSeparator . ']?[0-9*]*(?:E[-+]?[0-9]*)?) *)|(?: *(?[-+])? *(?[0-9]+' . $decimalSeparator . '?[0-9]*(?:E[-+]?[0-9]*)?) *(?[' . $currencyCodes . ']) *))$~ui';
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Logger.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Logger.php
new file mode 100644
index 0000000..bd7ba70
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Logger.php
@@ -0,0 +1,138 @@
+cellStack = $stack;
+ }
+
+ /**
+ * Enable/Disable Calculation engine logging.
+ *
+ * @param bool $writeDebugLog
+ */
+ public function setWriteDebugLog($writeDebugLog): void
+ {
+ $this->writeDebugLog = $writeDebugLog;
+ }
+
+ /**
+ * Return whether calculation engine logging is enabled or disabled.
+ *
+ * @return bool
+ */
+ public function getWriteDebugLog()
+ {
+ return $this->writeDebugLog;
+ }
+
+ /**
+ * Enable/Disable echoing of debug log information.
+ *
+ * @param bool $echoDebugLog
+ */
+ public function setEchoDebugLog($echoDebugLog): void
+ {
+ $this->echoDebugLog = $echoDebugLog;
+ }
+
+ /**
+ * Return whether echoing of debug log information is enabled or disabled.
+ *
+ * @return bool
+ */
+ public function getEchoDebugLog()
+ {
+ return $this->echoDebugLog;
+ }
+
+ /**
+ * Write an entry to the calculation engine debug log.
+ */
+ public function writeDebugLog(string $message, mixed ...$args): void
+ {
+ // Only write the debug log if logging is enabled
+ if ($this->writeDebugLog) {
+ $message = sprintf($message, ...$args);
+ $cellReference = implode(' -> ', $this->cellStack->showStack());
+ if ($this->echoDebugLog) {
+ echo $cellReference,
+ ($this->cellStack->count() > 0 ? ' => ' : ''),
+ $message,
+ PHP_EOL;
+ }
+ $this->debugLog[] = $cellReference
+ . ($this->cellStack->count() > 0 ? ' => ' : '')
+ . $message;
+ }
+ }
+
+ /**
+ * Write a series of entries to the calculation engine debug log.
+ *
+ * @param string[] $args
+ */
+ public function mergeDebugLog(array $args): void
+ {
+ if ($this->writeDebugLog) {
+ foreach ($args as $entry) {
+ $this->writeDebugLog($entry);
+ }
+ }
+ }
+
+ /**
+ * Clear the calculation engine debug log.
+ */
+ public function clearLog(): void
+ {
+ $this->debugLog = [];
+ }
+
+ /**
+ * Return the calculation engine debug log.
+ *
+ * @return string[]
+ */
+ public function getLog()
+ {
+ return $this->debugLog;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Operands/Operand.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Operands/Operand.php
new file mode 100644
index 0000000..05264c3
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Operands/Operand.php
@@ -0,0 +1,10 @@
+value = $structuredReference;
+ }
+
+ public static function fromParser(string $formula, int $index, array $matches): self
+ {
+ $val = $matches[0];
+
+ $srCount = substr_count($val, self::OPEN_BRACE)
+ - substr_count($val, self::CLOSE_BRACE);
+ while ($srCount > 0) {
+ $srIndex = strlen($val);
+ $srStringRemainder = substr($formula, $index + $srIndex);
+ $closingPos = strpos($srStringRemainder, self::CLOSE_BRACE);
+ if ($closingPos === false) {
+ throw new Exception("Formula Error: No closing ']' to match opening '['");
+ }
+ $srStringRemainder = substr($srStringRemainder, 0, $closingPos + 1);
+ --$srCount;
+ if (str_contains($srStringRemainder, self::OPEN_BRACE)) {
+ ++$srCount;
+ }
+ $val .= $srStringRemainder;
+ }
+
+ return new self($val);
+ }
+
+ /**
+ * @throws Exception
+ * @throws \PhpOffice\PhpSpreadsheet\Exception
+ */
+ public function parse(Cell $cell): string
+ {
+ $this->getTableStructure($cell);
+ $cellRange = ($this->isRowReference()) ? $this->getRowReference($cell) : $this->getColumnReference();
+ $sheetName = '';
+ $worksheet = $this->table->getWorksheet();
+ if ($worksheet !== null && $worksheet !== $cell->getWorksheet()) {
+ $sheetName = "'" . $worksheet->getTitle() . "'!";
+ }
+
+ return $sheetName . $cellRange;
+ }
+
+ private function isRowReference(): bool
+ {
+ return str_contains($this->value, '[@')
+ || str_contains($this->value, '[' . self::ITEM_SPECIFIER_THIS_ROW . ']');
+ }
+
+ /**
+ * @throws Exception
+ * @throws \PhpOffice\PhpSpreadsheet\Exception
+ */
+ private function getTableStructure(Cell $cell): void
+ {
+ preg_match(self::TABLE_REFERENCE, $this->value, $matches);
+
+ $this->tableName = $matches[1];
+ $this->table = ($this->tableName === '')
+ ? $this->getTableForCell($cell)
+ : $this->getTableByName($cell);
+ $this->reference = $matches[2];
+ $tableRange = Coordinate::getRangeBoundaries($this->table->getRange());
+
+ $this->headersRow = ($this->table->getShowHeaderRow()) ? (int) $tableRange[0][1] : null;
+ $this->firstDataRow = ($this->table->getShowHeaderRow()) ? (int) $tableRange[0][1] + 1 : $tableRange[0][1];
+ $this->totalsRow = ($this->table->getShowTotalsRow()) ? (int) $tableRange[1][1] : null;
+ $this->lastDataRow = ($this->table->getShowTotalsRow()) ? (int) $tableRange[1][1] - 1 : $tableRange[1][1];
+
+ $cellParam = $cell;
+ $worksheet = $this->table->getWorksheet();
+ if ($worksheet !== null && $worksheet !== $cell->getWorksheet()) {
+ $cellParam = $worksheet->getCell('A1');
+ }
+ $this->columns = $this->getColumns($cellParam, $tableRange);
+ }
+
+ /**
+ * @throws Exception
+ * @throws \PhpOffice\PhpSpreadsheet\Exception
+ */
+ private function getTableForCell(Cell $cell): Table
+ {
+ $tables = $cell->getWorksheet()->getTableCollection();
+ foreach ($tables as $table) {
+ /** @var Table $table */
+ $range = $table->getRange();
+ if ($cell->isInRange($range) === true) {
+ $this->tableName = $table->getName();
+
+ return $table;
+ }
+ }
+
+ throw new Exception('Table for Structured Reference cannot be identified');
+ }
+
+ /**
+ * @throws Exception
+ * @throws \PhpOffice\PhpSpreadsheet\Exception
+ */
+ private function getTableByName(Cell $cell): Table
+ {
+ $table = $cell->getWorksheet()->getTableByName($this->tableName);
+
+ if ($table === null) {
+ $spreadsheet = $cell->getWorksheet()->getParent();
+ if ($spreadsheet !== null) {
+ $table = $spreadsheet->getTableByName($this->tableName);
+ }
+ }
+
+ if ($table === null) {
+ throw new Exception("Table {$this->tableName} for Structured Reference cannot be located");
+ }
+
+ return $table;
+ }
+
+ private function getColumns(Cell $cell, array $tableRange): array
+ {
+ $worksheet = $cell->getWorksheet();
+ $cellReference = $cell->getCoordinate();
+
+ $columns = [];
+ $lastColumn = ++$tableRange[1][0];
+ for ($column = $tableRange[0][0]; $column !== $lastColumn; ++$column) {
+ $columns[$column] = $worksheet
+ ->getCell($column . ($this->headersRow ?? ($this->firstDataRow - 1)))
+ ->getCalculatedValue();
+ }
+
+ $worksheet->getCell($cellReference);
+
+ return $columns;
+ }
+
+ private function getRowReference(Cell $cell): string
+ {
+ $reference = str_replace("\u{a0}", ' ', $this->reference);
+ /** @var string $reference */
+ $reference = str_replace('[' . self::ITEM_SPECIFIER_THIS_ROW . '],', '', $reference);
+
+ foreach ($this->columns as $columnId => $columnName) {
+ $columnName = str_replace("\u{a0}", ' ', $columnName);
+ $reference = $this->adjustRowReference($columnName, $reference, $cell, $columnId);
+ }
+
+ /** @var string $reference */
+ return $this->validateParsedReference(trim($reference, '[]@, '));
+ }
+
+ private function adjustRowReference(string $columnName, string $reference, Cell $cell, string $columnId): string
+ {
+ if ($columnName !== '') {
+ $cellReference = $columnId . $cell->getRow();
+ $pattern1 = '/\[' . preg_quote($columnName, '/') . '\]/miu';
+ $pattern2 = '/@' . preg_quote($columnName, '/') . '/miu';
+ if (preg_match($pattern1, $reference) === 1) {
+ $reference = preg_replace($pattern1, $cellReference, $reference);
+ } elseif (preg_match($pattern2, $reference) === 1) {
+ $reference = preg_replace($pattern2, $cellReference, $reference);
+ }
+ /** @var string $reference */
+ }
+
+ return $reference;
+ }
+
+ /**
+ * @throws Exception
+ * @throws \PhpOffice\PhpSpreadsheet\Exception
+ */
+ private function getColumnReference(): string
+ {
+ $reference = str_replace("\u{a0}", ' ', $this->reference);
+ $startRow = ($this->totalsRow === null) ? $this->lastDataRow : $this->totalsRow;
+ $endRow = ($this->headersRow === null) ? $this->firstDataRow : $this->headersRow;
+
+ [$startRow, $endRow] = $this->getRowsForColumnReference($reference, $startRow, $endRow);
+ $reference = $this->getColumnsForColumnReference($reference, $startRow, $endRow);
+
+ $reference = trim($reference, '[]@, ');
+ if (substr_count($reference, ':') > 1) {
+ $cells = explode(':', $reference);
+ $firstCell = array_shift($cells);
+ $lastCell = array_pop($cells);
+ $reference = "{$firstCell}:{$lastCell}";
+ }
+
+ return $this->validateParsedReference($reference);
+ }
+
+ /**
+ * @throws Exception
+ * @throws \PhpOffice\PhpSpreadsheet\Exception
+ */
+ private function validateParsedReference(string $reference): string
+ {
+ if (preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . ':' . Calculation::CALCULATION_REGEXP_CELLREF . '$/miu', $reference) !== 1) {
+ if (preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/miu', $reference) !== 1) {
+ throw new Exception(
+ "Invalid Structured Reference {$this->reference} {$reference}",
+ Exception::CALCULATION_ENGINE_PUSH_TO_STACK
+ );
+ }
+ }
+
+ return $reference;
+ }
+
+ private function fullData(int $startRow, int $endRow): string
+ {
+ $columns = array_keys($this->columns);
+ $firstColumn = array_shift($columns);
+ $lastColumn = (empty($columns)) ? $firstColumn : array_pop($columns);
+
+ return "{$firstColumn}{$startRow}:{$lastColumn}{$endRow}";
+ }
+
+ private function getMinimumRow(string $reference): int
+ {
+ return match ($reference) {
+ self::ITEM_SPECIFIER_ALL, self::ITEM_SPECIFIER_HEADERS => $this->headersRow ?? $this->firstDataRow,
+ self::ITEM_SPECIFIER_DATA => $this->firstDataRow,
+ self::ITEM_SPECIFIER_TOTALS => $this->totalsRow ?? $this->lastDataRow,
+ default => $this->headersRow ?? $this->firstDataRow,
+ };
+ }
+
+ private function getMaximumRow(string $reference): int
+ {
+ return match ($reference) {
+ self::ITEM_SPECIFIER_HEADERS => $this->headersRow ?? $this->firstDataRow,
+ self::ITEM_SPECIFIER_DATA => $this->lastDataRow,
+ self::ITEM_SPECIFIER_ALL, self::ITEM_SPECIFIER_TOTALS => $this->totalsRow ?? $this->lastDataRow,
+ default => $this->totalsRow ?? $this->lastDataRow,
+ };
+ }
+
+ public function value(): string
+ {
+ return $this->value;
+ }
+
+ /**
+ * @return array
+ */
+ private function getRowsForColumnReference(string &$reference, int $startRow, int $endRow): array
+ {
+ $rowsSelected = false;
+ foreach (self::ITEM_SPECIFIER_ROWS_SET as $rowReference) {
+ $pattern = '/\[' . $rowReference . '\]/mui';
+ /** @var string $reference */
+ if (preg_match($pattern, $reference) === 1) {
+ if (($rowReference === self::ITEM_SPECIFIER_HEADERS) && ($this->table->getShowHeaderRow() === false)) {
+ throw new Exception(
+ 'Table Headers are Hidden, and should not be Referenced',
+ Exception::CALCULATION_ENGINE_PUSH_TO_STACK
+ );
+ }
+ $rowsSelected = true;
+ $startRow = min($startRow, $this->getMinimumRow($rowReference));
+ $endRow = max($endRow, $this->getMaximumRow($rowReference));
+ $reference = preg_replace($pattern, '', $reference);
+ }
+ }
+ if ($rowsSelected === false) {
+ // If there isn't any Special Item Identifier specified, then the selection defaults to data rows only.
+ $startRow = $this->firstDataRow;
+ $endRow = $this->lastDataRow;
+ }
+
+ return [$startRow, $endRow];
+ }
+
+ private function getColumnsForColumnReference(string $reference, int $startRow, int $endRow): string
+ {
+ $columnsSelected = false;
+ foreach ($this->columns as $columnId => $columnName) {
+ $columnName = str_replace("\u{a0}", ' ', $columnName ?? '');
+ $cellFrom = "{$columnId}{$startRow}";
+ $cellTo = "{$columnId}{$endRow}";
+ $cellReference = ($cellFrom === $cellTo) ? $cellFrom : "{$cellFrom}:{$cellTo}";
+ $pattern = '/\[' . preg_quote($columnName, '/') . '\]/mui';
+ if (preg_match($pattern, $reference) === 1) {
+ $columnsSelected = true;
+ $reference = preg_replace($pattern, $cellReference, $reference);
+ }
+ /** @var string $reference */
+ }
+ if ($columnsSelected === false) {
+ return $this->fullData($startRow, $endRow);
+ }
+
+ return $reference;
+ }
+
+ public function __toString(): string
+ {
+ return $this->value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php
new file mode 100644
index 0000000..1479fab
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php
@@ -0,0 +1,1400 @@
+ 511, DEC2BIN returns the #NUM! error
+ * value.
+ * If number is nonnumeric, DEC2BIN returns the #VALUE! error value.
+ * If DEC2BIN requires more than places characters, it returns the #NUM!
+ * error value.
+ * @param mixed $places The number of characters to use. If places is omitted, DEC2BIN uses
+ * the minimum number of characters necessary. Places is useful for
+ * padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, DEC2BIN returns the #VALUE! error value.
+ * If places is zero or negative, DEC2BIN returns the #NUM! error value.
+ */
+ public static function DECTOBIN(mixed $x, mixed $places = null): string|array
+ {
+ return Engineering\ConvertDecimal::toBinary($x, $places);
+ }
+
+ /**
+ * DECTOHEX.
+ *
+ * Return a decimal value as hex.
+ *
+ * Excel Function:
+ * DEC2HEX(x[,places])
+ *
+ * @deprecated 1.17.0
+ * Use the toHex() method in the Engineering\ConvertDecimal class instead
+ * @see Engineering\ConvertDecimal::toHex()
+ *
+ * @param mixed $x The decimal integer you want to convert. If number is negative,
+ * places is ignored and DEC2HEX returns a 10-character (40-bit)
+ * hexadecimal number in which the most significant bit is the sign
+ * bit. The remaining 39 bits are magnitude bits. Negative numbers
+ * are represented using two's-complement notation.
+ * If number < -549,755,813,888 or if number > 549,755,813,887,
+ * DEC2HEX returns the #NUM! error value.
+ * If number is nonnumeric, DEC2HEX returns the #VALUE! error value.
+ * If DEC2HEX requires more than places characters, it returns the
+ * #NUM! error value.
+ * @param mixed $places The number of characters to use. If places is omitted, DEC2HEX uses
+ * the minimum number of characters necessary. Places is useful for
+ * padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, DEC2HEX returns the #VALUE! error value.
+ * If places is zero or negative, DEC2HEX returns the #NUM! error value.
+ */
+ public static function DECTOHEX(mixed $x, mixed $places = null): string|array
+ {
+ return Engineering\ConvertDecimal::toHex($x, $places);
+ }
+
+ /**
+ * DECTOOCT.
+ *
+ * Return an decimal value as octal.
+ *
+ * Excel Function:
+ * DEC2OCT(x[,places])
+ *
+ * @deprecated 1.17.0
+ * Use the toOctal() method in the Engineering\ConvertDecimal class instead
+ * @see Engineering\ConvertDecimal::toOctal()
+ *
+ * @param mixed $x The decimal integer you want to convert. If number is negative,
+ * places is ignored and DEC2OCT returns a 10-character (30-bit)
+ * octal number in which the most significant bit is the sign bit.
+ * The remaining 29 bits are magnitude bits. Negative numbers are
+ * represented using two's-complement notation.
+ * If number < -536,870,912 or if number > 536,870,911, DEC2OCT
+ * returns the #NUM! error value.
+ * If number is nonnumeric, DEC2OCT returns the #VALUE! error value.
+ * If DEC2OCT requires more than places characters, it returns the
+ * #NUM! error value.
+ * @param mixed $places The number of characters to use. If places is omitted, DEC2OCT uses
+ * the minimum number of characters necessary. Places is useful for
+ * padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, DEC2OCT returns the #VALUE! error value.
+ * If places is zero or negative, DEC2OCT returns the #NUM! error value.
+ */
+ public static function DECTOOCT(mixed $x, mixed $places = null): string|array
+ {
+ return Engineering\ConvertDecimal::toOctal($x, $places);
+ }
+
+ /**
+ * HEXTOBIN.
+ *
+ * Return a hex value as binary.
+ *
+ * Excel Function:
+ * HEX2BIN(x[,places])
+ *
+ * @deprecated 1.17.0
+ * Use the toBinary() method in the Engineering\ConvertHex class instead
+ * @see Engineering\ConvertHex::toBinary()
+ *
+ * @param mixed $x the hexadecimal number (as a string) that you want to convert.
+ * Number cannot contain more than 10 characters.
+ * The most significant bit of number is the sign bit (40th bit from the right).
+ * The remaining 9 bits are magnitude bits.
+ * Negative numbers are represented using two's-complement notation.
+ * If number is negative, HEX2BIN ignores places and returns a 10-character binary number.
+ * If number is negative, it cannot be less than FFFFFFFE00,
+ * and if number is positive, it cannot be greater than 1FF.
+ * If number is not a valid hexadecimal number, HEX2BIN returns the #NUM! error value.
+ * If HEX2BIN requires more than places characters, it returns the #NUM! error value.
+ * @param mixed $places The number of characters to use. If places is omitted,
+ * HEX2BIN uses the minimum number of characters necessary. Places
+ * is useful for padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, HEX2BIN returns the #VALUE! error value.
+ * If places is negative, HEX2BIN returns the #NUM! error value.
+ *
+ * @return array|string
+ */
+ public static function HEXTOBIN(mixed $x, mixed $places = null)
+ {
+ return Engineering\ConvertHex::toBinary($x, $places);
+ }
+
+ /**
+ * HEXTODEC.
+ *
+ * Return a hex value as decimal.
+ *
+ * Excel Function:
+ * HEX2DEC(x)
+ *
+ * @deprecated 1.17.0
+ * Use the toDecimal() method in the Engineering\ConvertHex class instead
+ * @see Engineering\ConvertHex::toDecimal()
+ *
+ * @param mixed $x The hexadecimal number (as a string) that you want to convert. This number cannot
+ * contain more than 10 characters (40 bits). The most significant
+ * bit of number is the sign bit. The remaining 39 bits are magnitude
+ * bits. Negative numbers are represented using two's-complement
+ * notation.
+ * If number is not a valid hexadecimal number, HEX2DEC returns the
+ * #NUM! error value.
+ *
+ * @return array|string
+ */
+ public static function HEXTODEC(mixed $x)
+ {
+ return Engineering\ConvertHex::toDecimal($x);
+ }
+
+ /**
+ * HEXTOOCT.
+ *
+ * Return a hex value as octal.
+ *
+ * Excel Function:
+ * HEX2OCT(x[,places])
+ *
+ * @deprecated 1.17.0
+ * Use the toOctal() method in the Engineering\ConvertHex class instead
+ * @see Engineering\ConvertHex::toOctal()
+ *
+ * @param mixed $x The hexadecimal number (as a string) that you want to convert. Number cannot
+ * contain more than 10 characters. The most significant bit of
+ * number is the sign bit. The remaining 39 bits are magnitude
+ * bits. Negative numbers are represented using two's-complement
+ * notation.
+ * If number is negative, HEX2OCT ignores places and returns a
+ * 10-character octal number.
+ * If number is negative, it cannot be less than FFE0000000, and
+ * if number is positive, it cannot be greater than 1FFFFFFF.
+ * If number is not a valid hexadecimal number, HEX2OCT returns
+ * the #NUM! error value.
+ * If HEX2OCT requires more than places characters, it returns
+ * the #NUM! error value.
+ * @param mixed $places The number of characters to use. If places is omitted, HEX2OCT
+ * uses the minimum number of characters necessary. Places is
+ * useful for padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, HEX2OCT returns the #VALUE! error
+ * value.
+ * If places is negative, HEX2OCT returns the #NUM! error value.
+ *
+ * @return array|string
+ */
+ public static function HEXTOOCT(mixed $x, mixed $places = null)
+ {
+ return Engineering\ConvertHex::toOctal($x, $places);
+ }
+
+ /**
+ * OCTTOBIN.
+ *
+ * Return an octal value as binary.
+ *
+ * Excel Function:
+ * OCT2BIN(x[,places])
+ *
+ * @deprecated 1.17.0
+ * Use the toBinary() method in the Engineering\ConvertOctal class instead
+ * @see Engineering\ConvertOctal::toBinary()
+ *
+ * @param mixed $x The octal number you want to convert. Number may not
+ * contain more than 10 characters. The most significant
+ * bit of number is the sign bit. The remaining 29 bits
+ * are magnitude bits. Negative numbers are represented
+ * using two's-complement notation.
+ * If number is negative, OCT2BIN ignores places and returns
+ * a 10-character binary number.
+ * If number is negative, it cannot be less than 7777777000,
+ * and if number is positive, it cannot be greater than 777.
+ * If number is not a valid octal number, OCT2BIN returns
+ * the #NUM! error value.
+ * If OCT2BIN requires more than places characters, it
+ * returns the #NUM! error value.
+ * @param mixed $places The number of characters to use. If places is omitted,
+ * OCT2BIN uses the minimum number of characters necessary.
+ * Places is useful for padding the return value with
+ * leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, OCT2BIN returns the #VALUE!
+ * error value.
+ * If places is negative, OCT2BIN returns the #NUM! error
+ * value.
+ *
+ * @return array|string
+ */
+ public static function OCTTOBIN(mixed $x, mixed $places = null)
+ {
+ return Engineering\ConvertOctal::toBinary($x, $places);
+ }
+
+ /**
+ * OCTTODEC.
+ *
+ * Return an octal value as decimal.
+ *
+ * Excel Function:
+ * OCT2DEC(x)
+ *
+ * @deprecated 1.17.0
+ * Use the toDecimal() method in the Engineering\ConvertOctal class instead
+ * @see Engineering\ConvertOctal::toDecimal()
+ *
+ * @param mixed $x The octal number you want to convert. Number may not contain
+ * more than 10 octal characters (30 bits). The most significant
+ * bit of number is the sign bit. The remaining 29 bits are
+ * magnitude bits. Negative numbers are represented using
+ * two's-complement notation.
+ * If number is not a valid octal number, OCT2DEC returns the
+ * #NUM! error value.
+ *
+ * @return array|string
+ */
+ public static function OCTTODEC(mixed $x)
+ {
+ return Engineering\ConvertOctal::toDecimal($x);
+ }
+
+ /**
+ * OCTTOHEX.
+ *
+ * Return an octal value as hex.
+ *
+ * Excel Function:
+ * OCT2HEX(x[,places])
+ *
+ * @deprecated 1.17.0
+ * Use the toHex() method in the Engineering\ConvertOctal class instead
+ * @see Engineering\ConvertOctal::toHex()
+ *
+ * @param mixed $x The octal number you want to convert. Number may not contain
+ * more than 10 octal characters (30 bits). The most significant
+ * bit of number is the sign bit. The remaining 29 bits are
+ * magnitude bits. Negative numbers are represented using
+ * two's-complement notation.
+ * If number is negative, OCT2HEX ignores places and returns a
+ * 10-character hexadecimal number.
+ * If number is not a valid octal number, OCT2HEX returns the
+ * #NUM! error value.
+ * If OCT2HEX requires more than places characters, it returns
+ * the #NUM! error value.
+ * @param mixed $places The number of characters to use. If places is omitted, OCT2HEX
+ * uses the minimum number of characters necessary. Places is useful
+ * for padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, OCT2HEX returns the #VALUE! error value.
+ * If places is negative, OCT2HEX returns the #NUM! error value.
+ */
+ public static function OCTTOHEX(mixed $x, mixed $places = null): string|array
+ {
+ return Engineering\ConvertOctal::toHex($x, $places);
+ }
+
+ /**
+ * COMPLEX.
+ *
+ * Converts real and imaginary coefficients into a complex number of the form x +/- yi or x +/- yj.
+ *
+ * Excel Function:
+ * COMPLEX(realNumber,imaginary[,suffix])
+ *
+ * @deprecated 1.18.0
+ * Use the COMPLEX() method in the Engineering\Complex class instead
+ * @see Engineering\Complex::COMPLEX()
+ *
+ * @param array|float $realNumber the real coefficient of the complex number
+ * @param array|float $imaginary the imaginary coefficient of the complex number
+ * @param array|string $suffix The suffix for the imaginary component of the complex number.
+ * If omitted, the suffix is assumed to be "i".
+ *
+ * @return array|string
+ */
+ public static function COMPLEX($realNumber = 0.0, $imaginary = 0.0, $suffix = 'i')
+ {
+ return Engineering\Complex::COMPLEX($realNumber, $imaginary, $suffix);
+ }
+
+ /**
+ * IMAGINARY.
+ *
+ * Returns the imaginary coefficient of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMAGINARY(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMAGINARY() method in the Engineering\Complex class instead
+ * @see Engineering\Complex::IMAGINARY()
+ *
+ * @param string $complexNumber the complex number for which you want the imaginary
+ * coefficient
+ */
+ public static function IMAGINARY($complexNumber): string|float|array
+ {
+ return Engineering\Complex::IMAGINARY($complexNumber);
+ }
+
+ /**
+ * IMREAL.
+ *
+ * Returns the real coefficient of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMREAL(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMREAL() method in the Engineering\Complex class instead
+ * @see Engineering\Complex::IMREAL()
+ *
+ * @param string $complexNumber the complex number for which you want the real coefficient
+ */
+ public static function IMREAL($complexNumber): string|float|array
+ {
+ return Engineering\Complex::IMREAL($complexNumber);
+ }
+
+ /**
+ * IMABS.
+ *
+ * Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMABS(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMABS() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMABS()
+ *
+ * @param string $complexNumber the complex number for which you want the absolute value
+ *
+ * @return array|float|string
+ */
+ public static function IMABS($complexNumber)
+ {
+ return ComplexFunctions::IMABS($complexNumber);
+ }
+
+ /**
+ * IMARGUMENT.
+ *
+ * Returns the argument theta of a complex number, i.e. the angle in radians from the real
+ * axis to the representation of the number in polar coordinates.
+ *
+ * Excel Function:
+ * IMARGUMENT(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMARGUMENT() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMARGUMENT()
+ *
+ * @param array|string $complexNumber the complex number for which you want the argument theta
+ *
+ * @return array|float|string
+ */
+ public static function IMARGUMENT($complexNumber)
+ {
+ return ComplexFunctions::IMARGUMENT($complexNumber);
+ }
+
+ /**
+ * IMCONJUGATE.
+ *
+ * Returns the complex conjugate of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCONJUGATE(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMCONJUGATE() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMCONJUGATE()
+ *
+ * @param array|string $complexNumber the complex number for which you want the conjugate
+ *
+ * @return array|string
+ */
+ public static function IMCONJUGATE($complexNumber)
+ {
+ return ComplexFunctions::IMCONJUGATE($complexNumber);
+ }
+
+ /**
+ * IMCOS.
+ *
+ * Returns the cosine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCOS(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMCOS() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMCOS()
+ *
+ * @param array|string $complexNumber the complex number for which you want the cosine
+ *
+ * @return array|float|string
+ */
+ public static function IMCOS($complexNumber)
+ {
+ return ComplexFunctions::IMCOS($complexNumber);
+ }
+
+ /**
+ * IMCOSH.
+ *
+ * Returns the hyperbolic cosine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCOSH(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMCOSH() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMCOSH()
+ *
+ * @param array|string $complexNumber the complex number for which you want the hyperbolic cosine
+ *
+ * @return array|float|string
+ */
+ public static function IMCOSH($complexNumber)
+ {
+ return ComplexFunctions::IMCOSH($complexNumber);
+ }
+
+ /**
+ * IMCOT.
+ *
+ * Returns the cotangent of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCOT(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMCOT() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMCOT()
+ *
+ * @param array|string $complexNumber the complex number for which you want the cotangent
+ *
+ * @return array|float|string
+ */
+ public static function IMCOT($complexNumber)
+ {
+ return ComplexFunctions::IMCOT($complexNumber);
+ }
+
+ /**
+ * IMCSC.
+ *
+ * Returns the cosecant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCSC(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMCSC() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMCSC()
+ *
+ * @param array|string $complexNumber the complex number for which you want the cosecant
+ *
+ * @return array|float|string
+ */
+ public static function IMCSC($complexNumber)
+ {
+ return ComplexFunctions::IMCSC($complexNumber);
+ }
+
+ /**
+ * IMCSCH.
+ *
+ * Returns the hyperbolic cosecant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCSCH(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMCSCH() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMCSCH()
+ *
+ * @param array|string $complexNumber the complex number for which you want the hyperbolic cosecant
+ *
+ * @return array|float|string
+ */
+ public static function IMCSCH($complexNumber)
+ {
+ return ComplexFunctions::IMCSCH($complexNumber);
+ }
+
+ /**
+ * IMSIN.
+ *
+ * Returns the sine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSIN(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMSIN() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMSIN()
+ *
+ * @param string $complexNumber the complex number for which you want the sine
+ *
+ * @return array|float|string
+ */
+ public static function IMSIN($complexNumber)
+ {
+ return ComplexFunctions::IMSIN($complexNumber);
+ }
+
+ /**
+ * IMSINH.
+ *
+ * Returns the hyperbolic sine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSINH(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMSINH() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMSINH()
+ *
+ * @param string $complexNumber the complex number for which you want the hyperbolic sine
+ *
+ * @return array|float|string
+ */
+ public static function IMSINH($complexNumber)
+ {
+ return ComplexFunctions::IMSINH($complexNumber);
+ }
+
+ /**
+ * IMSEC.
+ *
+ * Returns the secant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSEC(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMSEC() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMSEC()
+ *
+ * @param string $complexNumber the complex number for which you want the secant
+ *
+ * @return array|float|string
+ */
+ public static function IMSEC($complexNumber)
+ {
+ return ComplexFunctions::IMSEC($complexNumber);
+ }
+
+ /**
+ * IMSECH.
+ *
+ * Returns the hyperbolic secant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSECH(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMSECH() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMSECH()
+ *
+ * @param string $complexNumber the complex number for which you want the hyperbolic secant
+ *
+ * @return array|float|string
+ */
+ public static function IMSECH($complexNumber)
+ {
+ return ComplexFunctions::IMSECH($complexNumber);
+ }
+
+ /**
+ * IMTAN.
+ *
+ * Returns the tangent of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMTAN(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMTAN() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMTAN()
+ *
+ * @param string $complexNumber the complex number for which you want the tangent
+ *
+ * @return array|float|string
+ */
+ public static function IMTAN($complexNumber)
+ {
+ return ComplexFunctions::IMTAN($complexNumber);
+ }
+
+ /**
+ * IMSQRT.
+ *
+ * Returns the square root of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSQRT(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMSQRT() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMSQRT()
+ *
+ * @param string $complexNumber the complex number for which you want the square root
+ *
+ * @return array|string
+ */
+ public static function IMSQRT($complexNumber)
+ {
+ return ComplexFunctions::IMSQRT($complexNumber);
+ }
+
+ /**
+ * IMLN.
+ *
+ * Returns the natural logarithm of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMLN(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMLN() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMLN()
+ *
+ * @param string $complexNumber the complex number for which you want the natural logarithm
+ *
+ * @return array|string
+ */
+ public static function IMLN($complexNumber)
+ {
+ return ComplexFunctions::IMLN($complexNumber);
+ }
+
+ /**
+ * IMLOG10.
+ *
+ * Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMLOG10(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMLOG10() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMLOG10()
+ *
+ * @param string $complexNumber the complex number for which you want the common logarithm
+ *
+ * @return array|string
+ */
+ public static function IMLOG10($complexNumber)
+ {
+ return ComplexFunctions::IMLOG10($complexNumber);
+ }
+
+ /**
+ * IMLOG2.
+ *
+ * Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMLOG2(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMLOG2() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMLOG2()
+ *
+ * @param string $complexNumber the complex number for which you want the base-2 logarithm
+ *
+ * @return array|string
+ */
+ public static function IMLOG2($complexNumber)
+ {
+ return ComplexFunctions::IMLOG2($complexNumber);
+ }
+
+ /**
+ * IMEXP.
+ *
+ * Returns the exponential of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMEXP(complexNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMEXP() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMEXP()
+ *
+ * @param string $complexNumber the complex number for which you want the exponential
+ *
+ * @return array|string
+ */
+ public static function IMEXP($complexNumber)
+ {
+ return ComplexFunctions::IMEXP($complexNumber);
+ }
+
+ /**
+ * IMPOWER.
+ *
+ * Returns a complex number in x + yi or x + yj text format raised to a power.
+ *
+ * Excel Function:
+ * IMPOWER(complexNumber,realNumber)
+ *
+ * @deprecated 1.18.0
+ * Use the IMPOWER() method in the Engineering\ComplexFunctions class instead
+ * @see ComplexFunctions::IMPOWER()
+ *
+ * @param string $complexNumber the complex number you want to raise to a power
+ * @param float $realNumber the power to which you want to raise the complex number
+ *
+ * @return array|string
+ */
+ public static function IMPOWER($complexNumber, $realNumber)
+ {
+ return ComplexFunctions::IMPOWER($complexNumber, $realNumber);
+ }
+
+ /**
+ * IMDIV.
+ *
+ * Returns the quotient of two complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMDIV(complexDividend,complexDivisor)
+ *
+ * @deprecated 1.18.0
+ * Use the IMDIV() method in the Engineering\ComplexOperations class instead
+ * @see ComplexOperations::IMDIV()
+ *
+ * @param string $complexDividend the complex numerator or dividend
+ * @param string $complexDivisor the complex denominator or divisor
+ *
+ * @return array|string
+ */
+ public static function IMDIV($complexDividend, $complexDivisor)
+ {
+ return ComplexOperations::IMDIV($complexDividend, $complexDivisor);
+ }
+
+ /**
+ * IMSUB.
+ *
+ * Returns the difference of two complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSUB(complexNumber1,complexNumber2)
+ *
+ * @deprecated 1.18.0
+ * Use the IMSUB() method in the Engineering\ComplexOperations class instead
+ * @see ComplexOperations::IMSUB()
+ *
+ * @param string $complexNumber1 the complex number from which to subtract complexNumber2
+ * @param string $complexNumber2 the complex number to subtract from complexNumber1
+ *
+ * @return array|string
+ */
+ public static function IMSUB($complexNumber1, $complexNumber2)
+ {
+ return ComplexOperations::IMSUB($complexNumber1, $complexNumber2);
+ }
+
+ /**
+ * IMSUM.
+ *
+ * Returns the sum of two or more complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSUM(complexNumber[,complexNumber[,...]])
+ *
+ * @deprecated 1.18.0
+ * Use the IMSUM() method in the Engineering\ComplexOperations class instead
+ * @see ComplexOperations::IMSUM()
+ *
+ * @param string ...$complexNumbers Series of complex numbers to add
+ */
+ public static function IMSUM(...$complexNumbers): string
+ {
+ return ComplexOperations::IMSUM(...$complexNumbers);
+ }
+
+ /**
+ * IMPRODUCT.
+ *
+ * Returns the product of two or more complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMPRODUCT(complexNumber[,complexNumber[,...]])
+ *
+ * @deprecated 1.18.0
+ * Use the IMPRODUCT() method in the Engineering\ComplexOperations class instead
+ * @see ComplexOperations::IMPRODUCT()
+ *
+ * @param string ...$complexNumbers Series of complex numbers to multiply
+ */
+ public static function IMPRODUCT(...$complexNumbers): string
+ {
+ return ComplexOperations::IMPRODUCT(...$complexNumbers);
+ }
+
+ /**
+ * DELTA.
+ *
+ * Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise.
+ * Use this function to filter a set of values. For example, by summing several DELTA
+ * functions you calculate the count of equal pairs. This function is also known as the
+ * Kronecker Delta function.
+ *
+ * Excel Function:
+ * DELTA(a[,b])
+ *
+ * @deprecated 1.17.0
+ * Use the DELTA() method in the Engineering\Compare class instead
+ * @see Engineering\Compare::DELTA()
+ *
+ * @param float $a the first number
+ * @param float $b The second number. If omitted, b is assumed to be zero.
+ *
+ * @return array|int|string (string in the event of an error)
+ */
+ public static function DELTA($a, $b = 0)
+ {
+ return Engineering\Compare::DELTA($a, $b);
+ }
+
+ /**
+ * GESTEP.
+ *
+ * Excel Function:
+ * GESTEP(number[,step])
+ *
+ * Returns 1 if number >= step; returns 0 (zero) otherwise
+ * Use this function to filter a set of values. For example, by summing several GESTEP
+ * functions you calculate the count of values that exceed a threshold.
+ *
+ * @deprecated 1.17.0
+ * Use the GESTEP() method in the Engineering\Compare class instead
+ * @see Engineering\Compare::GESTEP()
+ *
+ * @param float $number the value to test against step
+ * @param float $step The threshold value. If you omit a value for step, GESTEP uses zero.
+ *
+ * @return array|int|string (string in the event of an error)
+ */
+ public static function GESTEP($number, $step = 0)
+ {
+ return Engineering\Compare::GESTEP($number, $step);
+ }
+
+ /**
+ * BITAND.
+ *
+ * Returns the bitwise AND of two integer values.
+ *
+ * Excel Function:
+ * BITAND(number1, number2)
+ *
+ * @deprecated 1.17.0
+ * Use the BITAND() method in the Engineering\BitWise class instead
+ * @see Engineering\BitWise::BITAND()
+ *
+ * @param int $number1
+ * @param int $number2
+ *
+ * @return array|int|string
+ */
+ public static function BITAND($number1, $number2)
+ {
+ return Engineering\BitWise::BITAND($number1, $number2);
+ }
+
+ /**
+ * BITOR.
+ *
+ * Returns the bitwise OR of two integer values.
+ *
+ * Excel Function:
+ * BITOR(number1, number2)
+ *
+ * @deprecated 1.17.0
+ * Use the BITOR() method in the Engineering\BitWise class instead
+ * @see Engineering\BitWise::BITOR()
+ *
+ * @param int $number1
+ * @param int $number2
+ *
+ * @return array|int|string
+ */
+ public static function BITOR($number1, $number2)
+ {
+ return Engineering\BitWise::BITOR($number1, $number2);
+ }
+
+ /**
+ * BITXOR.
+ *
+ * Returns the bitwise XOR of two integer values.
+ *
+ * Excel Function:
+ * BITXOR(number1, number2)
+ *
+ * @deprecated 1.17.0
+ * Use the BITXOR() method in the Engineering\BitWise class instead
+ * @see Engineering\BitWise::BITXOR()
+ *
+ * @param int $number1
+ * @param int $number2
+ *
+ * @return array|int|string
+ */
+ public static function BITXOR($number1, $number2)
+ {
+ return Engineering\BitWise::BITXOR($number1, $number2);
+ }
+
+ /**
+ * BITLSHIFT.
+ *
+ * Returns the number value shifted left by shift_amount bits.
+ *
+ * Excel Function:
+ * BITLSHIFT(number, shift_amount)
+ *
+ * @deprecated 1.17.0
+ * Use the BITLSHIFT() method in the Engineering\BitWise class instead
+ * @see Engineering\BitWise::BITLSHIFT()
+ *
+ * @param int $number
+ * @param int $shiftAmount
+ *
+ * @return array|float|int|string
+ */
+ public static function BITLSHIFT($number, $shiftAmount)
+ {
+ return Engineering\BitWise::BITLSHIFT($number, $shiftAmount);
+ }
+
+ /**
+ * BITRSHIFT.
+ *
+ * Returns the number value shifted right by shift_amount bits.
+ *
+ * Excel Function:
+ * BITRSHIFT(number, shift_amount)
+ *
+ * @deprecated 1.17.0
+ * Use the BITRSHIFT() method in the Engineering\BitWise class instead
+ * @see Engineering\BitWise::BITRSHIFT()
+ *
+ * @param int $number
+ * @param int $shiftAmount
+ *
+ * @return array|float|int|string
+ */
+ public static function BITRSHIFT($number, $shiftAmount)
+ {
+ return Engineering\BitWise::BITRSHIFT($number, $shiftAmount);
+ }
+
+ /**
+ * ERF.
+ *
+ * Returns the error function integrated between the lower and upper bound arguments.
+ *
+ * Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments,
+ * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was
+ * improved, so that it can now calculate the function for both positive and negative ranges.
+ * PhpSpreadsheet follows Excel 2010 behaviour, and accepts negative arguments.
+ *
+ * Excel Function:
+ * ERF(lower[,upper])
+ *
+ * @deprecated 1.17.0
+ * Use the ERF() method in the Engineering\Erf class instead
+ * @see Engineering\Erf::ERF()
+ *
+ * @param float $lower lower bound for integrating ERF
+ * @param float $upper upper bound for integrating ERF.
+ * If omitted, ERF integrates between zero and lower_limit
+ */
+ public static function ERF($lower, $upper = null): float|string|array
+ {
+ return Engineering\Erf::ERF($lower, $upper);
+ }
+
+ /**
+ * ERFPRECISE.
+ *
+ * Returns the error function integrated between the lower and upper bound arguments.
+ *
+ * Excel Function:
+ * ERF.PRECISE(limit)
+ *
+ * @deprecated 1.17.0
+ * Use the ERFPRECISE() method in the Engineering\Erf class instead
+ * @see Engineering\Erf::ERFPRECISE()
+ *
+ * @param float $limit bound for integrating ERF
+ *
+ * @return array|float|string
+ */
+ public static function ERFPRECISE($limit)
+ {
+ return Engineering\Erf::ERFPRECISE($limit);
+ }
+
+ /**
+ * ERFC.
+ *
+ * Returns the complementary ERF function integrated between x and infinity
+ *
+ * Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument,
+ * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was
+ * improved, so that it can now calculate the function for both positive and negative x values.
+ * PhpSpreadsheet follows Excel 2010 behaviour, and accepts nagative arguments.
+ *
+ * Excel Function:
+ * ERFC(x)
+ *
+ * @deprecated 1.17.0
+ * Use the ERFC() method in the Engineering\ErfC class instead
+ * @see Engineering\ErfC::ERFC()
+ *
+ * @param float $x The lower bound for integrating ERFC
+ *
+ * @return array|float|string
+ */
+ public static function ERFC($x)
+ {
+ return Engineering\ErfC::ERFC($x);
+ }
+
+ /**
+ * getConversionGroups
+ * Returns a list of the different conversion groups for UOM conversions.
+ *
+ * @deprecated 1.16.0
+ * Use the getConversionCategories() method in the Engineering\ConvertUOM class instead
+ * @see Engineering\ConvertUOM::getConversionCategories()
+ */
+ public static function getConversionGroups(): array
+ {
+ return Engineering\ConvertUOM::getConversionCategories();
+ }
+
+ /**
+ * getConversionGroupUnits
+ * Returns an array of units of measure, for a specified conversion group, or for all groups.
+ *
+ * @deprecated 1.16.0
+ * Use the getConversionCategoryUnits() method in the ConvertUOM class instead
+ * @see Engineering\ConvertUOM::getConversionCategoryUnits()
+ *
+ * @param null|mixed $category
+ */
+ public static function getConversionGroupUnits($category = null): array
+ {
+ return Engineering\ConvertUOM::getConversionCategoryUnits($category);
+ }
+
+ /**
+ * getConversionGroupUnitDetails.
+ *
+ * @deprecated 1.16.0
+ * Use the getConversionCategoryUnitDetails() method in the ConvertUOM class instead
+ * @see Engineering\ConvertUOM::getConversionCategoryUnitDetails()
+ *
+ * @param null|mixed $category
+ */
+ public static function getConversionGroupUnitDetails($category = null): array
+ {
+ return Engineering\ConvertUOM::getConversionCategoryUnitDetails($category);
+ }
+
+ /**
+ * getConversionMultipliers
+ * Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM().
+ *
+ * @deprecated 1.16.0
+ * Use the getConversionMultipliers() method in the ConvertUOM class instead
+ * @see Engineering\ConvertUOM::getConversionMultipliers()
+ *
+ * @return mixed[]
+ */
+ public static function getConversionMultipliers()
+ {
+ return Engineering\ConvertUOM::getConversionMultipliers();
+ }
+
+ /**
+ * getBinaryConversionMultipliers.
+ *
+ * Returns an array of the additional Multiplier prefixes that can be used with Information Units of Measure
+ * in CONVERTUOM().
+ *
+ * @deprecated 1.16.0
+ * Use the getBinaryConversionMultipliers() method in the ConvertUOM class instead
+ * @see Engineering\ConvertUOM::getBinaryConversionMultipliers()
+ *
+ * @return mixed[]
+ */
+ public static function getBinaryConversionMultipliers()
+ {
+ return Engineering\ConvertUOM::getBinaryConversionMultipliers();
+ }
+
+ /**
+ * CONVERTUOM.
+ *
+ * Converts a number from one measurement system to another.
+ * For example, CONVERT can translate a table of distances in miles to a table of distances
+ * in kilometers.
+ *
+ * Excel Function:
+ * CONVERT(value,fromUOM,toUOM)
+ *
+ * @deprecated 1.16.0
+ * Use the CONVERT() method in the ConvertUOM class instead
+ * @see Engineering\ConvertUOM::CONVERT()
+ *
+ * @param float|int $value the value in fromUOM to convert
+ * @param string $fromUOM the units for value
+ * @param string $toUOM the units for the result
+ *
+ * @return array|float|string
+ */
+ public static function CONVERTUOM($value, $fromUOM, $toUOM)
+ {
+ return Engineering\ConvertUOM::CONVERT($value, $fromUOM, $toUOM);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselI.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselI.php
new file mode 100644
index 0000000..5d564a0
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselI.php
@@ -0,0 +1,141 @@
+getMessage();
+ }
+
+ if ($ord < 0) {
+ return ExcelError::NAN();
+ }
+
+ $fResult = self::calculate($x, $ord);
+
+ return (is_nan($fResult)) ? ExcelError::NAN() : $fResult;
+ }
+
+ private static function calculate(float $x, int $ord): float
+ {
+ return match ($ord) {
+ 0 => self::besselI0($x),
+ 1 => self::besselI1($x),
+ default => self::besselI2($x, $ord),
+ };
+ }
+
+ private static function besselI0(float $x): float
+ {
+ $ax = abs($x);
+
+ if ($ax < 3.75) {
+ $y = $x / 3.75;
+ $y = $y * $y;
+
+ return 1.0 + $y * (3.5156229 + $y * (3.0899424 + $y * (1.2067492
+ + $y * (0.2659732 + $y * (0.360768e-1 + $y * 0.45813e-2)))));
+ }
+
+ $y = 3.75 / $ax;
+
+ return (exp($ax) / sqrt($ax)) * (0.39894228 + $y * (0.1328592e-1 + $y * (0.225319e-2 + $y * (-0.157565e-2
+ + $y * (0.916281e-2 + $y * (-0.2057706e-1 + $y * (0.2635537e-1
+ + $y * (-0.1647633e-1 + $y * 0.392377e-2))))))));
+ }
+
+ private static function besselI1(float $x): float
+ {
+ $ax = abs($x);
+
+ if ($ax < 3.75) {
+ $y = $x / 3.75;
+ $y = $y * $y;
+ $ans = $ax * (0.5 + $y * (0.87890594 + $y * (0.51498869 + $y * (0.15084934 + $y * (0.2658733e-1
+ + $y * (0.301532e-2 + $y * 0.32411e-3))))));
+
+ return ($x < 0.0) ? -$ans : $ans;
+ }
+
+ $y = 3.75 / $ax;
+ $ans = 0.2282967e-1 + $y * (-0.2895312e-1 + $y * (0.1787654e-1 - $y * 0.420059e-2));
+ $ans = 0.39894228 + $y * (-0.3988024e-1 + $y * (-0.362018e-2 + $y * (0.163801e-2
+ + $y * (-0.1031555e-1 + $y * $ans))));
+ $ans *= exp($ax) / sqrt($ax);
+
+ return ($x < 0.0) ? -$ans : $ans;
+ }
+
+ private static function besselI2(float $x, int $ord): float
+ {
+ if ($x === 0.0) {
+ return 0.0;
+ }
+
+ $tox = 2.0 / abs($x);
+ $bip = 0;
+ $ans = 0.0;
+ $bi = 1.0;
+
+ for ($j = 2 * ($ord + (int) sqrt(40.0 * $ord)); $j > 0; --$j) {
+ $bim = $bip + $j * $tox * $bi;
+ $bip = $bi;
+ $bi = $bim;
+
+ if (abs($bi) > 1.0e+12) {
+ $ans *= 1.0e-12;
+ $bi *= 1.0e-12;
+ $bip *= 1.0e-12;
+ }
+
+ if ($j === $ord) {
+ $ans = $bip;
+ }
+ }
+
+ $ans *= self::besselI0($x) / $bi;
+
+ return ($x < 0.0 && (($ord % 2) === 1)) ? -$ans : $ans;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php
new file mode 100644
index 0000000..4a9d9ff
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php
@@ -0,0 +1,176 @@
+ 8. This code provides a more accurate calculation
+ *
+ * @param mixed $x A float value at which to evaluate the function.
+ * If x is nonnumeric, BESSELJ returns the #VALUE! error value.
+ * Or can be an array of values
+ * @param mixed $ord The integer order of the Bessel function.
+ * If ord is not an integer, it is truncated.
+ * If $ord is nonnumeric, BESSELJ returns the #VALUE! error value.
+ * If $ord < 0, BESSELJ returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|float|string Result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function BESSELJ(mixed $x, mixed $ord): array|string|float
+ {
+ if (is_array($x) || is_array($ord)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
+ }
+
+ try {
+ $x = EngineeringValidations::validateFloat($x);
+ $ord = EngineeringValidations::validateInt($ord);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($ord < 0) {
+ return ExcelError::NAN();
+ }
+
+ $fResult = self::calculate($x, $ord);
+
+ return (is_nan($fResult)) ? ExcelError::NAN() : $fResult;
+ }
+
+ private static function calculate(float $x, int $ord): float
+ {
+ return match ($ord) {
+ 0 => self::besselJ0($x),
+ 1 => self::besselJ1($x),
+ default => self::besselJ2($x, $ord),
+ };
+ }
+
+ private static function besselJ0(float $x): float
+ {
+ $ax = abs($x);
+
+ if ($ax < 8.0) {
+ $y = $x * $x;
+ $ans1 = 57568490574.0 + $y * (-13362590354.0 + $y * (651619640.7 + $y * (-11214424.18 + $y
+ * (77392.33017 + $y * (-184.9052456)))));
+ $ans2 = 57568490411.0 + $y * (1029532985.0 + $y * (9494680.718 + $y * (59272.64853 + $y
+ * (267.8532712 + $y * 1.0))));
+
+ return $ans1 / $ans2;
+ }
+
+ $z = 8.0 / $ax;
+ $y = $z * $z;
+ $xx = $ax - 0.785398164;
+ $ans1 = 1.0 + $y * (-0.1098628627e-2 + $y * (0.2734510407e-4 + $y * (-0.2073370639e-5 + $y * 0.2093887211e-6)));
+ $ans2 = -0.1562499995e-1 + $y * (0.1430488765e-3 + $y * (-0.6911147651e-5 + $y
+ * (0.7621095161e-6 - $y * 0.934935152e-7)));
+
+ return sqrt(0.636619772 / $ax) * (cos($xx) * $ans1 - $z * sin($xx) * $ans2);
+ }
+
+ private static function besselJ1(float $x): float
+ {
+ $ax = abs($x);
+
+ if ($ax < 8.0) {
+ $y = $x * $x;
+ $ans1 = $x * (72362614232.0 + $y * (-7895059235.0 + $y * (242396853.1 + $y
+ * (-2972611.439 + $y * (15704.48260 + $y * (-30.16036606))))));
+ $ans2 = 144725228442.0 + $y * (2300535178.0 + $y * (18583304.74 + $y * (99447.43394 + $y
+ * (376.9991397 + $y * 1.0))));
+
+ return $ans1 / $ans2;
+ }
+
+ $z = 8.0 / $ax;
+ $y = $z * $z;
+ $xx = $ax - 2.356194491;
+
+ $ans1 = 1.0 + $y * (0.183105e-2 + $y * (-0.3516396496e-4 + $y * (0.2457520174e-5 + $y * (-0.240337019e-6))));
+ $ans2 = 0.04687499995 + $y * (-0.2002690873e-3 + $y * (0.8449199096e-5 + $y
+ * (-0.88228987e-6 + $y * 0.105787412e-6)));
+ $ans = sqrt(0.636619772 / $ax) * (cos($xx) * $ans1 - $z * sin($xx) * $ans2);
+
+ return ($x < 0.0) ? -$ans : $ans;
+ }
+
+ private static function besselJ2(float $x, int $ord): float
+ {
+ $ax = abs($x);
+ if ($ax === 0.0) {
+ return 0.0;
+ }
+
+ if ($ax > $ord) {
+ return self::besselj2a($ax, $ord, $x);
+ }
+
+ return self::besselj2b($ax, $ord, $x);
+ }
+
+ private static function besselj2a(float $ax, int $ord, float $x): float
+ {
+ $tox = 2.0 / $ax;
+ $bjm = self::besselJ0($ax);
+ $bj = self::besselJ1($ax);
+ for ($j = 1; $j < $ord; ++$j) {
+ $bjp = $j * $tox * $bj - $bjm;
+ $bjm = $bj;
+ $bj = $bjp;
+ }
+ $ans = $bj;
+
+ return ($x < 0.0 && ($ord % 2) == 1) ? -$ans : $ans;
+ }
+
+ private static function besselj2b(float $ax, int $ord, float $x): float
+ {
+ $tox = 2.0 / $ax;
+ $jsum = false;
+ $bjp = $ans = $sum = 0.0;
+ $bj = 1.0;
+ for ($j = 2 * ($ord + (int) sqrt(40.0 * $ord)); $j > 0; --$j) {
+ $bjm = $j * $tox * $bj - $bjp;
+ $bjp = $bj;
+ $bj = $bjm;
+ if (abs($bj) > 1.0e+10) {
+ $bj *= 1.0e-10;
+ $bjp *= 1.0e-10;
+ $ans *= 1.0e-10;
+ $sum *= 1.0e-10;
+ }
+ if ($jsum === true) {
+ $sum += $bj;
+ }
+ $jsum = $jsum === false;
+ if ($j === $ord) {
+ $ans = $bjp;
+ }
+ }
+ $sum = 2.0 * $sum - $bj;
+ $ans /= $sum;
+
+ return ($x < 0.0 && ($ord % 2) === 1) ? -$ans : $ans;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php
new file mode 100644
index 0000000..5a9bd54
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php
@@ -0,0 +1,130 @@
+getMessage();
+ }
+
+ if (($ord < 0) || ($x <= 0.0)) {
+ return ExcelError::NAN();
+ }
+
+ $fBk = self::calculate($x, $ord);
+
+ return (is_nan($fBk)) ? ExcelError::NAN() : $fBk;
+ }
+
+ private static function calculate(float $x, int $ord): float
+ {
+ return match ($ord) {
+ 0 => self::besselK0($x),
+ 1 => self::besselK1($x),
+ default => self::besselK2($x, $ord),
+ };
+ }
+
+ /**
+ * Mollify Phpstan.
+ *
+ * @codeCoverageIgnore
+ */
+ private static function callBesselI(float $x, int $ord): float
+ {
+ $rslt = BesselI::BESSELI($x, $ord);
+ if (!is_float($rslt)) {
+ throw new Exception('Unexpected array or string');
+ }
+
+ return $rslt;
+ }
+
+ private static function besselK0(float $x): float
+ {
+ if ($x <= 2) {
+ $fNum2 = $x * 0.5;
+ $y = ($fNum2 * $fNum2);
+
+ return -log($fNum2) * self::callBesselI($x, 0)
+ + (-0.57721566 + $y * (0.42278420 + $y * (0.23069756 + $y * (0.3488590e-1 + $y * (0.262698e-2 + $y
+ * (0.10750e-3 + $y * 0.74e-5))))));
+ }
+
+ $y = 2 / $x;
+
+ return exp(-$x) / sqrt($x)
+ * (1.25331414 + $y * (-0.7832358e-1 + $y * (0.2189568e-1 + $y * (-0.1062446e-1 + $y
+ * (0.587872e-2 + $y * (-0.251540e-2 + $y * 0.53208e-3))))));
+ }
+
+ private static function besselK1(float $x): float
+ {
+ if ($x <= 2) {
+ $fNum2 = $x * 0.5;
+ $y = ($fNum2 * $fNum2);
+
+ return log($fNum2) * self::callBesselI($x, 1)
+ + (1 + $y * (0.15443144 + $y * (-0.67278579 + $y * (-0.18156897 + $y * (-0.1919402e-1 + $y
+ * (-0.110404e-2 + $y * (-0.4686e-4))))))) / $x;
+ }
+
+ $y = 2 / $x;
+
+ return exp(-$x) / sqrt($x)
+ * (1.25331414 + $y * (0.23498619 + $y * (-0.3655620e-1 + $y * (0.1504268e-1 + $y * (-0.780353e-2 + $y
+ * (0.325614e-2 + $y * (-0.68245e-3)))))));
+ }
+
+ private static function besselK2(float $x, int $ord): float
+ {
+ $fTox = 2 / $x;
+ $fBkm = self::besselK0($x);
+ $fBk = self::besselK1($x);
+ for ($n = 1; $n < $ord; ++$n) {
+ $fBkp = $fBkm + $n * $fTox * $fBk;
+ $fBkm = $fBk;
+ $fBk = $fBkp;
+ }
+
+ return $fBk;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselY.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselY.php
new file mode 100644
index 0000000..5d99638
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselY.php
@@ -0,0 +1,137 @@
+getMessage();
+ }
+
+ if (($ord < 0) || ($x <= 0.0)) {
+ return ExcelError::NAN();
+ }
+
+ $fBy = self::calculate($x, $ord);
+
+ return (is_nan($fBy)) ? ExcelError::NAN() : $fBy;
+ }
+
+ private static function calculate(float $x, int $ord): float
+ {
+ return match ($ord) {
+ 0 => self::besselY0($x),
+ 1 => self::besselY1($x),
+ default => self::besselY2($x, $ord),
+ };
+ }
+
+ /**
+ * Mollify Phpstan.
+ *
+ * @codeCoverageIgnore
+ */
+ private static function callBesselJ(float $x, int $ord): float
+ {
+ $rslt = BesselJ::BESSELJ($x, $ord);
+ if (!is_float($rslt)) {
+ throw new Exception('Unexpected array or string');
+ }
+
+ return $rslt;
+ }
+
+ private static function besselY0(float $x): float
+ {
+ if ($x < 8.0) {
+ $y = ($x * $x);
+ $ans1 = -2957821389.0 + $y * (7062834065.0 + $y * (-512359803.6 + $y * (10879881.29 + $y
+ * (-86327.92757 + $y * 228.4622733))));
+ $ans2 = 40076544269.0 + $y * (745249964.8 + $y * (7189466.438 + $y
+ * (47447.26470 + $y * (226.1030244 + $y))));
+
+ return $ans1 / $ans2 + 0.636619772 * self::callBesselJ($x, 0) * log($x);
+ }
+
+ $z = 8.0 / $x;
+ $y = ($z * $z);
+ $xx = $x - 0.785398164;
+ $ans1 = 1 + $y * (-0.1098628627e-2 + $y * (0.2734510407e-4 + $y * (-0.2073370639e-5 + $y * 0.2093887211e-6)));
+ $ans2 = -0.1562499995e-1 + $y * (0.1430488765e-3 + $y * (-0.6911147651e-5 + $y * (0.7621095161e-6 + $y
+ * (-0.934945152e-7))));
+
+ return sqrt(0.636619772 / $x) * (sin($xx) * $ans1 + $z * cos($xx) * $ans2);
+ }
+
+ private static function besselY1(float $x): float
+ {
+ if ($x < 8.0) {
+ $y = ($x * $x);
+ $ans1 = $x * (-0.4900604943e13 + $y * (0.1275274390e13 + $y * (-0.5153438139e11 + $y
+ * (0.7349264551e9 + $y * (-0.4237922726e7 + $y * 0.8511937935e4)))));
+ $ans2 = 0.2499580570e14 + $y * (0.4244419664e12 + $y * (0.3733650367e10 + $y * (0.2245904002e8 + $y
+ * (0.1020426050e6 + $y * (0.3549632885e3 + $y)))));
+
+ return ($ans1 / $ans2) + 0.636619772 * (self::callBesselJ($x, 1) * log($x) - 1 / $x);
+ }
+
+ $z = 8.0 / $x;
+ $y = $z * $z;
+ $xx = $x - 2.356194491;
+ $ans1 = 1.0 + $y * (0.183105e-2 + $y * (-0.3516396496e-4 + $y * (0.2457520174e-5 + $y * (-0.240337019e-6))));
+ $ans2 = 0.04687499995 + $y * (-0.2002690873e-3 + $y * (0.8449199096e-5 + $y
+ * (-0.88228987e-6 + $y * 0.105787412e-6)));
+
+ return sqrt(0.636619772 / $x) * (sin($xx) * $ans1 + $z * cos($xx) * $ans2);
+ }
+
+ private static function besselY2(float $x, int $ord): float
+ {
+ $fTox = 2.0 / $x;
+ $fBym = self::besselY0($x);
+ $fBy = self::besselY1($x);
+ for ($n = 1; $n < $ord; ++$n) {
+ $fByp = $n * $fTox * $fBy - $fBym;
+ $fBym = $fBy;
+ $fBy = $fByp;
+ }
+
+ return $fBy;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BitWise.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BitWise.php
new file mode 100644
index 0000000..f3e6ed2
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BitWise.php
@@ -0,0 +1,268 @@
+getMessage();
+ }
+ $split1 = self::splitNumber($number1);
+ $split2 = self::splitNumber($number2);
+
+ return self::SPLIT_DIVISOR * ($split1[0] & $split2[0]) + ($split1[1] & $split2[1]);
+ }
+
+ /**
+ * BITOR.
+ *
+ * Returns the bitwise OR of two integer values.
+ *
+ * Excel Function:
+ * BITOR(number1, number2)
+ *
+ * @param array|int $number1
+ * Or can be an array of values
+ * @param array|int $number2
+ * Or can be an array of values
+ *
+ * @return array|int|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function BITOR($number1, $number2): array|string|int
+ {
+ if (is_array($number1) || is_array($number2)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number1, $number2);
+ }
+
+ try {
+ $number1 = self::validateBitwiseArgument($number1);
+ $number2 = self::validateBitwiseArgument($number2);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $split1 = self::splitNumber($number1);
+ $split2 = self::splitNumber($number2);
+
+ return self::SPLIT_DIVISOR * ($split1[0] | $split2[0]) + ($split1[1] | $split2[1]);
+ }
+
+ /**
+ * BITXOR.
+ *
+ * Returns the bitwise XOR of two integer values.
+ *
+ * Excel Function:
+ * BITXOR(number1, number2)
+ *
+ * @param array|int $number1
+ * Or can be an array of values
+ * @param array|int $number2
+ * Or can be an array of values
+ *
+ * @return array|int|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function BITXOR($number1, $number2): array|string|int
+ {
+ if (is_array($number1) || is_array($number2)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number1, $number2);
+ }
+
+ try {
+ $number1 = self::validateBitwiseArgument($number1);
+ $number2 = self::validateBitwiseArgument($number2);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $split1 = self::splitNumber($number1);
+ $split2 = self::splitNumber($number2);
+
+ return self::SPLIT_DIVISOR * ($split1[0] ^ $split2[0]) + ($split1[1] ^ $split2[1]);
+ }
+
+ /**
+ * BITLSHIFT.
+ *
+ * Returns the number value shifted left by shift_amount bits.
+ *
+ * Excel Function:
+ * BITLSHIFT(number, shift_amount)
+ *
+ * @param array|int $number
+ * Or can be an array of values
+ * @param array|int $shiftAmount
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function BITLSHIFT($number, $shiftAmount): array|string|float
+ {
+ if (is_array($number) || is_array($shiftAmount)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $shiftAmount);
+ }
+
+ try {
+ $number = self::validateBitwiseArgument($number);
+ $shiftAmount = self::validateShiftAmount($shiftAmount);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $result = floor($number * (2 ** $shiftAmount));
+ if ($result > 2 ** 48 - 1) {
+ return ExcelError::NAN();
+ }
+
+ return $result;
+ }
+
+ /**
+ * BITRSHIFT.
+ *
+ * Returns the number value shifted right by shift_amount bits.
+ *
+ * Excel Function:
+ * BITRSHIFT(number, shift_amount)
+ *
+ * @param array|int $number
+ * Or can be an array of values
+ * @param array|int $shiftAmount
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function BITRSHIFT($number, $shiftAmount): array|string|float
+ {
+ if (is_array($number) || is_array($shiftAmount)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $shiftAmount);
+ }
+
+ try {
+ $number = self::validateBitwiseArgument($number);
+ $shiftAmount = self::validateShiftAmount($shiftAmount);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $result = floor($number / (2 ** $shiftAmount));
+ if ($result > 2 ** 48 - 1) { // possible because shiftAmount can be negative
+ return ExcelError::NAN();
+ }
+
+ return $result;
+ }
+
+ /**
+ * Validate arguments passed to the bitwise functions.
+ */
+ private static function validateBitwiseArgument(mixed $value): float
+ {
+ $value = self::nullFalseTrueToNumber($value);
+
+ if (is_numeric($value)) {
+ $value = (float) $value;
+ if ($value == floor($value)) {
+ if (($value > 2 ** 48 - 1) || ($value < 0)) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return floor($value);
+ }
+
+ throw new Exception(ExcelError::NAN());
+ }
+
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ /**
+ * Validate arguments passed to the bitwise functions.
+ *
+ * @return int
+ */
+ private static function validateShiftAmount(mixed $value)
+ {
+ $value = self::nullFalseTrueToNumber($value);
+
+ if (is_numeric($value)) {
+ if (abs($value) > 53) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return (int) $value;
+ }
+
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ /**
+ * Many functions accept null/false/true argument treated as 0/0/1.
+ *
+ * @return mixed
+ */
+ private static function nullFalseTrueToNumber(mixed &$number)
+ {
+ if ($number === null) {
+ $number = 0;
+ } elseif (is_bool($number)) {
+ $number = (int) $number;
+ }
+
+ return $number;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Compare.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Compare.php
new file mode 100644
index 0000000..0a8c1f3
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Compare.php
@@ -0,0 +1,82 @@
+getMessage();
+ }
+
+ return (int) (abs($a - $b) < 1.0e-15);
+ }
+
+ /**
+ * GESTEP.
+ *
+ * Excel Function:
+ * GESTEP(number[,step])
+ *
+ * Returns 1 if number >= step; returns 0 (zero) otherwise
+ * Use this function to filter a set of values. For example, by summing several GESTEP
+ * functions you calculate the count of values that exceed a threshold.
+ *
+ * @param array|float $number the value to test against step
+ * Or can be an array of values
+ * @param null|array|float $step The threshold value. If you omit a value for step, GESTEP uses zero.
+ * Or can be an array of values
+ *
+ * @return array|int|string (string in the event of an error)
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function GESTEP($number, $step = 0.0): array|string|int
+ {
+ if (is_array($number) || is_array($step)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $step);
+ }
+
+ try {
+ $number = EngineeringValidations::validateFloat($number);
+ $step = EngineeringValidations::validateFloat($step ?? 0.0);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return (int) ($number >= $step);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Complex.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Complex.php
new file mode 100644
index 0000000..4ae0342
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Complex.php
@@ -0,0 +1,121 @@
+getMessage();
+ }
+
+ if (($suffix === 'i') || ($suffix === 'j') || ($suffix === '')) {
+ $complex = new ComplexObject($realNumber, $imaginary, $suffix);
+
+ return (string) $complex;
+ }
+
+ return ExcelError::VALUE();
+ }
+
+ /**
+ * IMAGINARY.
+ *
+ * Returns the imaginary coefficient of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMAGINARY(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the imaginary
+ * coefficient
+ * Or can be an array of values
+ *
+ * @return array|float|string (string if an error)
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMAGINARY($complexNumber): array|string|float
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return $complex->getImaginary();
+ }
+
+ /**
+ * IMREAL.
+ *
+ * Returns the real coefficient of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMREAL(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the real coefficient
+ * Or can be an array of values
+ *
+ * @return array|float|string (string if an error)
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMREAL($complexNumber): array|string|float
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return $complex->getReal();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php
new file mode 100644
index 0000000..5b0daf1
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexFunctions.php
@@ -0,0 +1,611 @@
+abs();
+ }
+
+ /**
+ * IMARGUMENT.
+ *
+ * Returns the argument theta of a complex number, i.e. the angle in radians from the real
+ * axis to the representation of the number in polar coordinates.
+ *
+ * Excel Function:
+ * IMARGUMENT(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the argument theta
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMARGUMENT($complexNumber)
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return ExcelError::DIV0();
+ }
+
+ return $complex->argument();
+ }
+
+ /**
+ * IMCONJUGATE.
+ *
+ * Returns the complex conjugate of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCONJUGATE(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the conjugate
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMCONJUGATE($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->conjugate();
+ }
+
+ /**
+ * IMCOS.
+ *
+ * Returns the cosine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCOS(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the cosine
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMCOS($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->cos();
+ }
+
+ /**
+ * IMCOSH.
+ *
+ * Returns the hyperbolic cosine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCOSH(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the hyperbolic cosine
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMCOSH($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->cosh();
+ }
+
+ /**
+ * IMCOT.
+ *
+ * Returns the cotangent of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCOT(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the cotangent
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMCOT($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->cot();
+ }
+
+ /**
+ * IMCSC.
+ *
+ * Returns the cosecant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCSC(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the cosecant
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMCSC($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->csc();
+ }
+
+ /**
+ * IMCSCH.
+ *
+ * Returns the hyperbolic cosecant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMCSCH(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the hyperbolic cosecant
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMCSCH($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->csch();
+ }
+
+ /**
+ * IMSIN.
+ *
+ * Returns the sine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSIN(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the sine
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMSIN($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->sin();
+ }
+
+ /**
+ * IMSINH.
+ *
+ * Returns the hyperbolic sine of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSINH(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the hyperbolic sine
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMSINH($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->sinh();
+ }
+
+ /**
+ * IMSEC.
+ *
+ * Returns the secant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSEC(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the secant
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMSEC($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->sec();
+ }
+
+ /**
+ * IMSECH.
+ *
+ * Returns the hyperbolic secant of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSECH(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the hyperbolic secant
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMSECH($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->sech();
+ }
+
+ /**
+ * IMTAN.
+ *
+ * Returns the tangent of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMTAN(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the tangent
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMTAN($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->tan();
+ }
+
+ /**
+ * IMSQRT.
+ *
+ * Returns the square root of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSQRT(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the square root
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMSQRT($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ $theta = self::IMARGUMENT($complexNumber);
+ if ($theta === ExcelError::DIV0()) {
+ return '0';
+ }
+
+ return (string) $complex->sqrt();
+ }
+
+ /**
+ * IMLN.
+ *
+ * Returns the natural logarithm of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMLN(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the natural logarithm
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMLN($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->ln();
+ }
+
+ /**
+ * IMLOG10.
+ *
+ * Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMLOG10(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the common logarithm
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMLOG10($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->log10();
+ }
+
+ /**
+ * IMLOG2.
+ *
+ * Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMLOG2(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the base-2 logarithm
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMLOG2($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->log2();
+ }
+
+ /**
+ * IMEXP.
+ *
+ * Returns the exponential of a complex number in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMEXP(complexNumber)
+ *
+ * @param array|string $complexNumber the complex number for which you want the exponential
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMEXP($complexNumber): array|string
+ {
+ if (is_array($complexNumber)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $complex->exp();
+ }
+
+ /**
+ * IMPOWER.
+ *
+ * Returns a complex number in x + yi or x + yj text format raised to a power.
+ *
+ * Excel Function:
+ * IMPOWER(complexNumber,realNumber)
+ *
+ * @param array|string $complexNumber the complex number you want to raise to a power
+ * Or can be an array of values
+ * @param array|float|int|string $realNumber the power to which you want to raise the complex number
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMPOWER($complexNumber, $realNumber): array|string
+ {
+ if (is_array($complexNumber) || is_array($realNumber)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexNumber, $realNumber);
+ }
+
+ try {
+ $complex = new ComplexObject($complexNumber);
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ if (!is_numeric($realNumber)) {
+ return ExcelError::VALUE();
+ }
+
+ return (string) $complex->pow((float) $realNumber);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexOperations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexOperations.php
new file mode 100644
index 0000000..bab5082
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ComplexOperations.php
@@ -0,0 +1,130 @@
+divideby(new ComplexObject($complexDivisor));
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+ }
+
+ /**
+ * IMSUB.
+ *
+ * Returns the difference of two complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSUB(complexNumber1,complexNumber2)
+ *
+ * @param array|string $complexNumber1 the complex number from which to subtract complexNumber2
+ * Or can be an array of values
+ * @param array|string $complexNumber2 the complex number to subtract from complexNumber1
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function IMSUB($complexNumber1, $complexNumber2): array|string
+ {
+ if (is_array($complexNumber1) || is_array($complexNumber2)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexNumber1, $complexNumber2);
+ }
+
+ try {
+ return (string) (new ComplexObject($complexNumber1))->subtract(new ComplexObject($complexNumber2));
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+ }
+
+ /**
+ * IMSUM.
+ *
+ * Returns the sum of two or more complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMSUM(complexNumber[,complexNumber[,...]])
+ *
+ * @param string ...$complexNumbers Series of complex numbers to add
+ */
+ public static function IMSUM(...$complexNumbers): string
+ {
+ // Return value
+ $returnValue = new ComplexObject(0.0);
+ $aArgs = Functions::flattenArray($complexNumbers);
+
+ try {
+ // Loop through the arguments
+ foreach ($aArgs as $complex) {
+ $returnValue = $returnValue->add(new ComplexObject($complex));
+ }
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $returnValue;
+ }
+
+ /**
+ * IMPRODUCT.
+ *
+ * Returns the product of two or more complex numbers in x + yi or x + yj text format.
+ *
+ * Excel Function:
+ * IMPRODUCT(complexNumber[,complexNumber[,...]])
+ *
+ * @param string ...$complexNumbers Series of complex numbers to multiply
+ */
+ public static function IMPRODUCT(...$complexNumbers): string
+ {
+ // Return value
+ $returnValue = new ComplexObject(1.0);
+ $aArgs = Functions::flattenArray($complexNumbers);
+
+ try {
+ // Loop through the arguments
+ foreach ($aArgs as $complex) {
+ $returnValue = $returnValue->multiply(new ComplexObject($complex));
+ }
+ } catch (ComplexException) {
+ return ExcelError::NAN();
+ }
+
+ return (string) $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Constants.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Constants.php
new file mode 100644
index 0000000..a926db6
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Constants.php
@@ -0,0 +1,11 @@
+ 10) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return (int) $places;
+ }
+
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ /**
+ * Formats a number base string value with leading zeroes.
+ *
+ * @param string $value The "number" to pad
+ * @param ?int $places The length that we want to pad this value
+ *
+ * @return string The padded "number"
+ */
+ protected static function nbrConversionFormat(string $value, ?int $places): string
+ {
+ if ($places !== null) {
+ if (strlen($value) <= $places) {
+ return substr(str_pad($value, $places, '0', STR_PAD_LEFT), -10);
+ }
+
+ return ExcelError::NAN();
+ }
+
+ return substr($value, -10);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php
new file mode 100644
index 0000000..f21b4d5
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php
@@ -0,0 +1,163 @@
+getMessage();
+ }
+
+ if (strlen($value) == 10 && $value[0] === '1') {
+ // Two's Complement
+ $value = substr($value, -9);
+
+ return '-' . (512 - bindec($value));
+ }
+
+ return (string) bindec($value);
+ }
+
+ /**
+ * toHex.
+ *
+ * Return a binary value as hex.
+ *
+ * Excel Function:
+ * BIN2HEX(x[,places])
+ *
+ * @param array|string $value The binary number (as a string) that you want to convert. The number
+ * cannot contain more than 10 characters (10 bits). The most significant
+ * bit of number is the sign bit. The remaining 9 bits are magnitude bits.
+ * Negative numbers are represented using two's-complement notation.
+ * If number is not a valid binary number, or if number contains more than
+ * 10 characters (10 bits), BIN2HEX returns the #NUM! error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, BIN2HEX uses the
+ * minimum number of characters necessary. Places is useful for padding the
+ * return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, BIN2HEX returns the #VALUE! error value.
+ * If places is negative, BIN2HEX returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toHex($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateBinary($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (strlen($value) == 10 && $value[0] === '1') {
+ $high2 = substr($value, 0, 2);
+ $low8 = substr($value, 2);
+ $xarr = ['00' => '00000000', '01' => '00000001', '10' => 'FFFFFFFE', '11' => 'FFFFFFFF'];
+
+ return $xarr[$high2] . strtoupper(substr('0' . dechex((int) bindec($low8)), -2));
+ }
+ $hexVal = (string) strtoupper(dechex((int) bindec($value)));
+
+ return self::nbrConversionFormat($hexVal, $places);
+ }
+
+ /**
+ * toOctal.
+ *
+ * Return a binary value as octal.
+ *
+ * Excel Function:
+ * BIN2OCT(x[,places])
+ *
+ * @param array|string $value The binary number (as a string) that you want to convert. The number
+ * cannot contain more than 10 characters (10 bits). The most significant
+ * bit of number is the sign bit. The remaining 9 bits are magnitude bits.
+ * Negative numbers are represented using two's-complement notation.
+ * If number is not a valid binary number, or if number contains more than
+ * 10 characters (10 bits), BIN2OCT returns the #NUM! error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, BIN2OCT uses the
+ * minimum number of characters necessary. Places is useful for padding the
+ * return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, BIN2OCT returns the #VALUE! error value.
+ * If places is negative, BIN2OCT returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toOctal($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateBinary($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (strlen($value) == 10 && $value[0] === '1') { // Two's Complement
+ return str_repeat('7', 6) . strtoupper(decoct((int) bindec("11$value")));
+ }
+ $octVal = (string) decoct((int) bindec($value));
+
+ return self::nbrConversionFormat($octVal, $places);
+ }
+
+ protected static function validateBinary(string $value): string
+ {
+ if ((strlen($value) > preg_match_all('/[01]/', $value)) || (strlen($value) > 10)) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php
new file mode 100644
index 0000000..14ee687
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php
@@ -0,0 +1,213 @@
+ 511, DEC2BIN returns the #NUM! error
+ * value.
+ * If number is nonnumeric, DEC2BIN returns the #VALUE! error value.
+ * If DEC2BIN requires more than places characters, it returns the #NUM!
+ * error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, DEC2BIN uses
+ * the minimum number of characters necessary. Places is useful for
+ * padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, DEC2BIN returns the #VALUE! error value.
+ * If places is zero or negative, DEC2BIN returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toBinary($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateDecimal($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $value = (int) floor((float) $value);
+ if ($value > self::LARGEST_BINARY_IN_DECIMAL || $value < self::SMALLEST_BINARY_IN_DECIMAL) {
+ return ExcelError::NAN();
+ }
+
+ $r = decbin($value);
+ // Two's Complement
+ $r = substr($r, -10);
+
+ return self::nbrConversionFormat($r, $places);
+ }
+
+ /**
+ * toHex.
+ *
+ * Return a decimal value as hex.
+ *
+ * Excel Function:
+ * DEC2HEX(x[,places])
+ *
+ * @param array|string $value The decimal integer you want to convert. If number is negative,
+ * places is ignored and DEC2HEX returns a 10-character (40-bit)
+ * hexadecimal number in which the most significant bit is the sign
+ * bit. The remaining 39 bits are magnitude bits. Negative numbers
+ * are represented using two's-complement notation.
+ * If number < -549,755,813,888 or if number > 549,755,813,887,
+ * DEC2HEX returns the #NUM! error value.
+ * If number is nonnumeric, DEC2HEX returns the #VALUE! error value.
+ * If DEC2HEX requires more than places characters, it returns the
+ * #NUM! error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, DEC2HEX uses
+ * the minimum number of characters necessary. Places is useful for
+ * padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, DEC2HEX returns the #VALUE! error value.
+ * If places is zero or negative, DEC2HEX returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toHex($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateDecimal($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $value = floor((float) $value);
+ if ($value > self::LARGEST_HEX_IN_DECIMAL || $value < self::SMALLEST_HEX_IN_DECIMAL) {
+ return ExcelError::NAN();
+ }
+ $r = strtoupper(dechex((int) $value));
+ $r = self::hex32bit($value, $r);
+
+ return self::nbrConversionFormat($r, $places);
+ }
+
+ public static function hex32bit(float $value, string $hexstr, bool $force = false): string
+ {
+ if (PHP_INT_SIZE === 4 || $force) {
+ if ($value >= 2 ** 32) {
+ $quotient = (int) ($value / (2 ** 32));
+
+ return strtoupper(substr('0' . dechex($quotient), -2) . $hexstr);
+ }
+ if ($value < -(2 ** 32)) {
+ $quotient = 256 - (int) ceil((-$value) / (2 ** 32));
+
+ return strtoupper(substr('0' . dechex($quotient), -2) . substr("00000000$hexstr", -8));
+ }
+ if ($value < 0) {
+ return "FF$hexstr";
+ }
+ }
+
+ return $hexstr;
+ }
+
+ /**
+ * toOctal.
+ *
+ * Return an decimal value as octal.
+ *
+ * Excel Function:
+ * DEC2OCT(x[,places])
+ *
+ * @param array|string $value The decimal integer you want to convert. If number is negative,
+ * places is ignored and DEC2OCT returns a 10-character (30-bit)
+ * octal number in which the most significant bit is the sign bit.
+ * The remaining 29 bits are magnitude bits. Negative numbers are
+ * represented using two's-complement notation.
+ * If number < -536,870,912 or if number > 536,870,911, DEC2OCT
+ * returns the #NUM! error value.
+ * If number is nonnumeric, DEC2OCT returns the #VALUE! error value.
+ * If DEC2OCT requires more than places characters, it returns the
+ * #NUM! error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, DEC2OCT uses
+ * the minimum number of characters necessary. Places is useful for
+ * padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, DEC2OCT returns the #VALUE! error value.
+ * If places is zero or negative, DEC2OCT returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toOctal($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateDecimal($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $value = (int) floor((float) $value);
+ if ($value > self::LARGEST_OCTAL_IN_DECIMAL || $value < self::SMALLEST_OCTAL_IN_DECIMAL) {
+ return ExcelError::NAN();
+ }
+ $r = decoct($value);
+ $r = substr($r, -10);
+
+ return self::nbrConversionFormat($r, $places);
+ }
+
+ protected static function validateDecimal(string $value): string
+ {
+ if (strlen($value) > preg_match_all('/[-0123456789.]/', $value)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php
new file mode 100644
index 0000000..9d39acf
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php
@@ -0,0 +1,175 @@
+getMessage();
+ }
+
+ $dec = self::toDecimal($value);
+
+ return ConvertDecimal::toBinary($dec, $places);
+ }
+
+ /**
+ * toDecimal.
+ *
+ * Return a hex value as decimal.
+ *
+ * Excel Function:
+ * HEX2DEC(x)
+ *
+ * @param array|string $value The hexadecimal number you want to convert. This number cannot
+ * contain more than 10 characters (40 bits). The most significant
+ * bit of number is the sign bit. The remaining 39 bits are magnitude
+ * bits. Negative numbers are represented using two's-complement
+ * notation.
+ * If number is not a valid hexadecimal number, HEX2DEC returns the
+ * #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toDecimal($value)
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateHex($value);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (strlen($value) > 10) {
+ return ExcelError::NAN();
+ }
+
+ $binX = '';
+ foreach (str_split($value) as $char) {
+ $binX .= str_pad(base_convert($char, 16, 2), 4, '0', STR_PAD_LEFT);
+ }
+ if (strlen($binX) == 40 && $binX[0] == '1') {
+ for ($i = 0; $i < 40; ++$i) {
+ $binX[$i] = ($binX[$i] == '1' ? '0' : '1');
+ }
+
+ return (string) ((bindec($binX) + 1) * -1);
+ }
+
+ return (string) bindec($binX);
+ }
+
+ /**
+ * toOctal.
+ *
+ * Return a hex value as octal.
+ *
+ * Excel Function:
+ * HEX2OCT(x[,places])
+ *
+ * @param array|string $value The hexadecimal number you want to convert. Number cannot
+ * contain more than 10 characters. The most significant bit of
+ * number is the sign bit. The remaining 39 bits are magnitude
+ * bits. Negative numbers are represented using two's-complement
+ * notation.
+ * If number is negative, HEX2OCT ignores places and returns a
+ * 10-character octal number.
+ * If number is negative, it cannot be less than FFE0000000, and
+ * if number is positive, it cannot be greater than 1FFFFFFF.
+ * If number is not a valid hexadecimal number, HEX2OCT returns
+ * the #NUM! error value.
+ * If HEX2OCT requires more than places characters, it returns
+ * the #NUM! error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, HEX2OCT
+ * uses the minimum number of characters necessary. Places is
+ * useful for padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, HEX2OCT returns the #VALUE! error
+ * value.
+ * If places is negative, HEX2OCT returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toOctal($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateHex($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $decimal = self::toDecimal($value);
+
+ return ConvertDecimal::toOctal($decimal, $places);
+ }
+
+ protected static function validateHex(string $value): string
+ {
+ if (strlen($value) > preg_match_all('/[0123456789ABCDEF]/', $value)) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php
new file mode 100644
index 0000000..8436a63
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php
@@ -0,0 +1,174 @@
+getMessage();
+ }
+
+ return ConvertDecimal::toBinary(self::toDecimal($value), $places);
+ }
+
+ /**
+ * toDecimal.
+ *
+ * Return an octal value as decimal.
+ *
+ * Excel Function:
+ * OCT2DEC(x)
+ *
+ * @param array|string $value The octal number you want to convert. Number may not contain
+ * more than 10 octal characters (30 bits). The most significant
+ * bit of number is the sign bit. The remaining 29 bits are
+ * magnitude bits. Negative numbers are represented using
+ * two's-complement notation.
+ * If number is not a valid octal number, OCT2DEC returns the
+ * #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toDecimal($value)
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateOctal($value);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $binX = '';
+ foreach (str_split($value) as $char) {
+ $binX .= str_pad(decbin((int) $char), 3, '0', STR_PAD_LEFT);
+ }
+ if (strlen($binX) == 30 && $binX[0] == '1') {
+ for ($i = 0; $i < 30; ++$i) {
+ $binX[$i] = ($binX[$i] == '1' ? '0' : '1');
+ }
+
+ return (string) ((bindec($binX) + 1) * -1);
+ }
+
+ return (string) bindec($binX);
+ }
+
+ /**
+ * toHex.
+ *
+ * Return an octal value as hex.
+ *
+ * Excel Function:
+ * OCT2HEX(x[,places])
+ *
+ * @param array|string $value The octal number you want to convert. Number may not contain
+ * more than 10 octal characters (30 bits). The most significant
+ * bit of number is the sign bit. The remaining 29 bits are
+ * magnitude bits. Negative numbers are represented using
+ * two's-complement notation.
+ * If number is negative, OCT2HEX ignores places and returns a
+ * 10-character hexadecimal number.
+ * If number is not a valid octal number, OCT2HEX returns the
+ * #NUM! error value.
+ * If OCT2HEX requires more than places characters, it returns
+ * the #NUM! error value.
+ * Or can be an array of values
+ * @param array|int $places The number of characters to use. If places is omitted, OCT2HEX
+ * uses the minimum number of characters necessary. Places is useful
+ * for padding the return value with leading 0s (zeros).
+ * If places is not an integer, it is truncated.
+ * If places is nonnumeric, OCT2HEX returns the #VALUE! error value.
+ * If places is negative, OCT2HEX returns the #NUM! error value.
+ * Or can be an array of values
+ *
+ * @return array|string Result, or an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toHex($value, $places = null): array|string
+ {
+ if (is_array($value) || is_array($places)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
+ }
+
+ try {
+ $value = self::validateValue($value);
+ $value = self::validateOctal($value);
+ $places = self::validatePlaces($places);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $hexVal = strtoupper(dechex((int) self::toDecimal($value)));
+ $hexVal = (PHP_INT_SIZE === 4 && strlen($value) === 10 && $value[0] >= '4') ? "FF{$hexVal}" : $hexVal;
+
+ return self::nbrConversionFormat($hexVal, $places);
+ }
+
+ protected static function validateOctal(string $value): string
+ {
+ $numDigits = (int) preg_match_all('/[01234567]/', $value);
+ if (strlen($value) > $numDigits || $numDigits > 10) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php
new file mode 100644
index 0000000..2a846f0
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php
@@ -0,0 +1,684 @@
+ ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Gram', 'AllowPrefix' => true],
+ 'sg' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Slug', 'AllowPrefix' => false],
+ 'lbm' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Pound mass (avoirdupois)', 'AllowPrefix' => false],
+ 'u' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'U (atomic mass unit)', 'AllowPrefix' => true],
+ 'ozm' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Ounce mass (avoirdupois)', 'AllowPrefix' => false],
+ 'grain' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Grain', 'AllowPrefix' => false],
+ 'cwt' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'U.S. (short) hundredweight', 'AllowPrefix' => false],
+ 'shweight' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'U.S. (short) hundredweight', 'AllowPrefix' => false],
+ 'uk_cwt' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Imperial hundredweight', 'AllowPrefix' => false],
+ 'lcwt' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Imperial hundredweight', 'AllowPrefix' => false],
+ 'hweight' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Imperial hundredweight', 'AllowPrefix' => false],
+ 'stone' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Stone', 'AllowPrefix' => false],
+ 'ton' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Ton', 'AllowPrefix' => false],
+ 'uk_ton' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Imperial ton', 'AllowPrefix' => false],
+ 'LTON' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Imperial ton', 'AllowPrefix' => false],
+ 'brton' => ['Group' => self::CATEGORY_WEIGHT_AND_MASS, 'Unit Name' => 'Imperial ton', 'AllowPrefix' => false],
+ // Distance
+ 'm' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Meter', 'AllowPrefix' => true],
+ 'mi' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Statute mile', 'AllowPrefix' => false],
+ 'Nmi' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Nautical mile', 'AllowPrefix' => false],
+ 'in' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Inch', 'AllowPrefix' => false],
+ 'ft' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Foot', 'AllowPrefix' => false],
+ 'yd' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Yard', 'AllowPrefix' => false],
+ 'ang' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Angstrom', 'AllowPrefix' => true],
+ 'ell' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Ell', 'AllowPrefix' => false],
+ 'ly' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Light Year', 'AllowPrefix' => false],
+ 'parsec' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Parsec', 'AllowPrefix' => false],
+ 'pc' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Parsec', 'AllowPrefix' => false],
+ 'Pica' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Pica (1/72 in)', 'AllowPrefix' => false],
+ 'Picapt' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Pica (1/72 in)', 'AllowPrefix' => false],
+ 'pica' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'Pica (1/6 in)', 'AllowPrefix' => false],
+ 'survey_mi' => ['Group' => self::CATEGORY_DISTANCE, 'Unit Name' => 'U.S survey mile (statute mile)', 'AllowPrefix' => false],
+ // Time
+ 'yr' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Year', 'AllowPrefix' => false],
+ 'day' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Day', 'AllowPrefix' => false],
+ 'd' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Day', 'AllowPrefix' => false],
+ 'hr' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Hour', 'AllowPrefix' => false],
+ 'mn' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Minute', 'AllowPrefix' => false],
+ 'min' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Minute', 'AllowPrefix' => false],
+ 'sec' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Second', 'AllowPrefix' => true],
+ 's' => ['Group' => self::CATEGORY_TIME, 'Unit Name' => 'Second', 'AllowPrefix' => true],
+ // Pressure
+ 'Pa' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'Pascal', 'AllowPrefix' => true],
+ 'p' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'Pascal', 'AllowPrefix' => true],
+ 'atm' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'Atmosphere', 'AllowPrefix' => true],
+ 'at' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'Atmosphere', 'AllowPrefix' => true],
+ 'mmHg' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'mm of Mercury', 'AllowPrefix' => true],
+ 'psi' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'PSI', 'AllowPrefix' => true],
+ 'Torr' => ['Group' => self::CATEGORY_PRESSURE, 'Unit Name' => 'Torr', 'AllowPrefix' => true],
+ // Force
+ 'N' => ['Group' => self::CATEGORY_FORCE, 'Unit Name' => 'Newton', 'AllowPrefix' => true],
+ 'dyn' => ['Group' => self::CATEGORY_FORCE, 'Unit Name' => 'Dyne', 'AllowPrefix' => true],
+ 'dy' => ['Group' => self::CATEGORY_FORCE, 'Unit Name' => 'Dyne', 'AllowPrefix' => true],
+ 'lbf' => ['Group' => self::CATEGORY_FORCE, 'Unit Name' => 'Pound force', 'AllowPrefix' => false],
+ 'pond' => ['Group' => self::CATEGORY_FORCE, 'Unit Name' => 'Pond', 'AllowPrefix' => true],
+ // Energy
+ 'J' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Joule', 'AllowPrefix' => true],
+ 'e' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Erg', 'AllowPrefix' => true],
+ 'c' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Thermodynamic calorie', 'AllowPrefix' => true],
+ 'cal' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'IT calorie', 'AllowPrefix' => true],
+ 'eV' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Electron volt', 'AllowPrefix' => true],
+ 'ev' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Electron volt', 'AllowPrefix' => true],
+ 'HPh' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Horsepower-hour', 'AllowPrefix' => false],
+ 'hh' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Horsepower-hour', 'AllowPrefix' => false],
+ 'Wh' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Watt-hour', 'AllowPrefix' => true],
+ 'wh' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Watt-hour', 'AllowPrefix' => true],
+ 'flb' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'Foot-pound', 'AllowPrefix' => false],
+ 'BTU' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'BTU', 'AllowPrefix' => false],
+ 'btu' => ['Group' => self::CATEGORY_ENERGY, 'Unit Name' => 'BTU', 'AllowPrefix' => false],
+ // Power
+ 'HP' => ['Group' => self::CATEGORY_POWER, 'Unit Name' => 'Horsepower', 'AllowPrefix' => false],
+ 'h' => ['Group' => self::CATEGORY_POWER, 'Unit Name' => 'Horsepower', 'AllowPrefix' => false],
+ 'W' => ['Group' => self::CATEGORY_POWER, 'Unit Name' => 'Watt', 'AllowPrefix' => true],
+ 'w' => ['Group' => self::CATEGORY_POWER, 'Unit Name' => 'Watt', 'AllowPrefix' => true],
+ 'PS' => ['Group' => self::CATEGORY_POWER, 'Unit Name' => 'Pferdestärke', 'AllowPrefix' => false],
+ // Magnetism
+ 'T' => ['Group' => self::CATEGORY_MAGNETISM, 'Unit Name' => 'Tesla', 'AllowPrefix' => true],
+ 'ga' => ['Group' => self::CATEGORY_MAGNETISM, 'Unit Name' => 'Gauss', 'AllowPrefix' => true],
+ // Temperature
+ 'C' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Degrees Celsius', 'AllowPrefix' => false],
+ 'cel' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Degrees Celsius', 'AllowPrefix' => false],
+ 'F' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Degrees Fahrenheit', 'AllowPrefix' => false],
+ 'fah' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Degrees Fahrenheit', 'AllowPrefix' => false],
+ 'K' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Kelvin', 'AllowPrefix' => false],
+ 'kel' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Kelvin', 'AllowPrefix' => false],
+ 'Rank' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Degrees Rankine', 'AllowPrefix' => false],
+ 'Reau' => ['Group' => self::CATEGORY_TEMPERATURE, 'Unit Name' => 'Degrees Réaumur', 'AllowPrefix' => false],
+ // Volume
+ 'l' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Litre', 'AllowPrefix' => true],
+ 'L' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Litre', 'AllowPrefix' => true],
+ 'lt' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Litre', 'AllowPrefix' => true],
+ 'tsp' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Teaspoon', 'AllowPrefix' => false],
+ 'tspm' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Modern Teaspoon', 'AllowPrefix' => false],
+ 'tbs' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Tablespoon', 'AllowPrefix' => false],
+ 'oz' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Fluid Ounce', 'AllowPrefix' => false],
+ 'cup' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cup', 'AllowPrefix' => false],
+ 'pt' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'U.S. Pint', 'AllowPrefix' => false],
+ 'us_pt' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'U.S. Pint', 'AllowPrefix' => false],
+ 'uk_pt' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'U.K. Pint', 'AllowPrefix' => false],
+ 'qt' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Quart', 'AllowPrefix' => false],
+ 'uk_qt' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Imperial Quart (UK)', 'AllowPrefix' => false],
+ 'gal' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Gallon', 'AllowPrefix' => false],
+ 'uk_gal' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Imperial Gallon (UK)', 'AllowPrefix' => false],
+ 'ang3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Angstrom', 'AllowPrefix' => true],
+ 'ang^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Angstrom', 'AllowPrefix' => true],
+ 'barrel' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'US Oil Barrel', 'AllowPrefix' => false],
+ 'bushel' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'US Bushel', 'AllowPrefix' => false],
+ 'in3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Inch', 'AllowPrefix' => false],
+ 'in^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Inch', 'AllowPrefix' => false],
+ 'ft3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Foot', 'AllowPrefix' => false],
+ 'ft^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Foot', 'AllowPrefix' => false],
+ 'ly3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Light Year', 'AllowPrefix' => false],
+ 'ly^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Light Year', 'AllowPrefix' => false],
+ 'm3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Meter', 'AllowPrefix' => true],
+ 'm^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Meter', 'AllowPrefix' => true],
+ 'mi3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Mile', 'AllowPrefix' => false],
+ 'mi^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Mile', 'AllowPrefix' => false],
+ 'yd3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Yard', 'AllowPrefix' => false],
+ 'yd^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Yard', 'AllowPrefix' => false],
+ 'Nmi3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Nautical Mile', 'AllowPrefix' => false],
+ 'Nmi^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Nautical Mile', 'AllowPrefix' => false],
+ 'Pica3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Pica', 'AllowPrefix' => false],
+ 'Pica^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Pica', 'AllowPrefix' => false],
+ 'Picapt3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Pica', 'AllowPrefix' => false],
+ 'Picapt^3' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Cubic Pica', 'AllowPrefix' => false],
+ 'GRT' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Gross Registered Ton', 'AllowPrefix' => false],
+ 'regton' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Gross Registered Ton', 'AllowPrefix' => false],
+ 'MTON' => ['Group' => self::CATEGORY_VOLUME, 'Unit Name' => 'Measurement Ton (Freight Ton)', 'AllowPrefix' => false],
+ // Area
+ 'ha' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Hectare', 'AllowPrefix' => true],
+ 'uk_acre' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'International Acre', 'AllowPrefix' => false],
+ 'us_acre' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'US Survey/Statute Acre', 'AllowPrefix' => false],
+ 'ang2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Angstrom', 'AllowPrefix' => true],
+ 'ang^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Angstrom', 'AllowPrefix' => true],
+ 'ar' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Are', 'AllowPrefix' => true],
+ 'ft2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Feet', 'AllowPrefix' => false],
+ 'ft^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Feet', 'AllowPrefix' => false],
+ 'in2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Inches', 'AllowPrefix' => false],
+ 'in^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Inches', 'AllowPrefix' => false],
+ 'ly2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Light Years', 'AllowPrefix' => false],
+ 'ly^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Light Years', 'AllowPrefix' => false],
+ 'm2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Meters', 'AllowPrefix' => true],
+ 'm^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Meters', 'AllowPrefix' => true],
+ 'Morgen' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Morgen', 'AllowPrefix' => false],
+ 'mi2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Miles', 'AllowPrefix' => false],
+ 'mi^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Miles', 'AllowPrefix' => false],
+ 'Nmi2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Nautical Miles', 'AllowPrefix' => false],
+ 'Nmi^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Nautical Miles', 'AllowPrefix' => false],
+ 'Pica2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Pica', 'AllowPrefix' => false],
+ 'Pica^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Pica', 'AllowPrefix' => false],
+ 'Picapt2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Pica', 'AllowPrefix' => false],
+ 'Picapt^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Pica', 'AllowPrefix' => false],
+ 'yd2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Yards', 'AllowPrefix' => false],
+ 'yd^2' => ['Group' => self::CATEGORY_AREA, 'Unit Name' => 'Square Yards', 'AllowPrefix' => false],
+ // Information
+ 'byte' => ['Group' => self::CATEGORY_INFORMATION, 'Unit Name' => 'Byte', 'AllowPrefix' => true],
+ 'bit' => ['Group' => self::CATEGORY_INFORMATION, 'Unit Name' => 'Bit', 'AllowPrefix' => true],
+ // Speed
+ 'm/s' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Meters per second', 'AllowPrefix' => true],
+ 'm/sec' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Meters per second', 'AllowPrefix' => true],
+ 'm/h' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Meters per hour', 'AllowPrefix' => true],
+ 'm/hr' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Meters per hour', 'AllowPrefix' => true],
+ 'mph' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Miles per hour', 'AllowPrefix' => false],
+ 'admkn' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Admiralty Knot', 'AllowPrefix' => false],
+ 'kn' => ['Group' => self::CATEGORY_SPEED, 'Unit Name' => 'Knot', 'AllowPrefix' => false],
+ ];
+
+ /**
+ * Details of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM().
+ *
+ * @var mixed[]
+ */
+ private static $conversionMultipliers = [
+ 'Y' => ['multiplier' => 1E24, 'name' => 'yotta'],
+ 'Z' => ['multiplier' => 1E21, 'name' => 'zetta'],
+ 'E' => ['multiplier' => 1E18, 'name' => 'exa'],
+ 'P' => ['multiplier' => 1E15, 'name' => 'peta'],
+ 'T' => ['multiplier' => 1E12, 'name' => 'tera'],
+ 'G' => ['multiplier' => 1E9, 'name' => 'giga'],
+ 'M' => ['multiplier' => 1E6, 'name' => 'mega'],
+ 'k' => ['multiplier' => 1E3, 'name' => 'kilo'],
+ 'h' => ['multiplier' => 1E2, 'name' => 'hecto'],
+ 'e' => ['multiplier' => 1E1, 'name' => 'dekao'],
+ 'da' => ['multiplier' => 1E1, 'name' => 'dekao'],
+ 'd' => ['multiplier' => 1E-1, 'name' => 'deci'],
+ 'c' => ['multiplier' => 1E-2, 'name' => 'centi'],
+ 'm' => ['multiplier' => 1E-3, 'name' => 'milli'],
+ 'u' => ['multiplier' => 1E-6, 'name' => 'micro'],
+ 'n' => ['multiplier' => 1E-9, 'name' => 'nano'],
+ 'p' => ['multiplier' => 1E-12, 'name' => 'pico'],
+ 'f' => ['multiplier' => 1E-15, 'name' => 'femto'],
+ 'a' => ['multiplier' => 1E-18, 'name' => 'atto'],
+ 'z' => ['multiplier' => 1E-21, 'name' => 'zepto'],
+ 'y' => ['multiplier' => 1E-24, 'name' => 'yocto'],
+ ];
+
+ /**
+ * Details of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM().
+ *
+ * @var mixed[]
+ */
+ private static $binaryConversionMultipliers = [
+ 'Yi' => ['multiplier' => 2 ** 80, 'name' => 'yobi'],
+ 'Zi' => ['multiplier' => 2 ** 70, 'name' => 'zebi'],
+ 'Ei' => ['multiplier' => 2 ** 60, 'name' => 'exbi'],
+ 'Pi' => ['multiplier' => 2 ** 50, 'name' => 'pebi'],
+ 'Ti' => ['multiplier' => 2 ** 40, 'name' => 'tebi'],
+ 'Gi' => ['multiplier' => 2 ** 30, 'name' => 'gibi'],
+ 'Mi' => ['multiplier' => 2 ** 20, 'name' => 'mebi'],
+ 'ki' => ['multiplier' => 2 ** 10, 'name' => 'kibi'],
+ ];
+
+ /**
+ * Details of the Units of measure conversion factors, organised by group.
+ *
+ * @var mixed[]
+ */
+ private static $unitConversions = [
+ // Conversion uses gram (g) as an intermediate unit
+ self::CATEGORY_WEIGHT_AND_MASS => [
+ 'g' => 1.0,
+ 'sg' => 6.85217658567918E-05,
+ 'lbm' => 2.20462262184878E-03,
+ 'u' => 6.02214179421676E+23,
+ 'ozm' => 3.52739619495804E-02,
+ 'grain' => 1.54323583529414E+01,
+ 'cwt' => 2.20462262184878E-05,
+ 'shweight' => 2.20462262184878E-05,
+ 'uk_cwt' => 1.96841305522212E-05,
+ 'lcwt' => 1.96841305522212E-05,
+ 'hweight' => 1.96841305522212E-05,
+ 'stone' => 1.57473044417770E-04,
+ 'ton' => 1.10231131092439E-06,
+ 'uk_ton' => 9.84206527611061E-07,
+ 'LTON' => 9.84206527611061E-07,
+ 'brton' => 9.84206527611061E-07,
+ ],
+ // Conversion uses meter (m) as an intermediate unit
+ self::CATEGORY_DISTANCE => [
+ 'm' => 1.0,
+ 'mi' => 6.21371192237334E-04,
+ 'Nmi' => 5.39956803455724E-04,
+ 'in' => 3.93700787401575E+01,
+ 'ft' => 3.28083989501312E+00,
+ 'yd' => 1.09361329833771E+00,
+ 'ang' => 1.0E+10,
+ 'ell' => 8.74890638670166E-01,
+ 'ly' => 1.05700083402462E-16,
+ 'parsec' => 3.24077928966473E-17,
+ 'pc' => 3.24077928966473E-17,
+ 'Pica' => 2.83464566929134E+03,
+ 'Picapt' => 2.83464566929134E+03,
+ 'pica' => 2.36220472440945E+02,
+ 'survey_mi' => 6.21369949494950E-04,
+ ],
+ // Conversion uses second (s) as an intermediate unit
+ self::CATEGORY_TIME => [
+ 'yr' => 3.16880878140289E-08,
+ 'day' => 1.15740740740741E-05,
+ 'd' => 1.15740740740741E-05,
+ 'hr' => 2.77777777777778E-04,
+ 'mn' => 1.66666666666667E-02,
+ 'min' => 1.66666666666667E-02,
+ 'sec' => 1.0,
+ 's' => 1.0,
+ ],
+ // Conversion uses Pascal (Pa) as an intermediate unit
+ self::CATEGORY_PRESSURE => [
+ 'Pa' => 1.0,
+ 'p' => 1.0,
+ 'atm' => 9.86923266716013E-06,
+ 'at' => 9.86923266716013E-06,
+ 'mmHg' => 7.50063755419211E-03,
+ 'psi' => 1.45037737730209E-04,
+ 'Torr' => 7.50061682704170E-03,
+ ],
+ // Conversion uses Newton (N) as an intermediate unit
+ self::CATEGORY_FORCE => [
+ 'N' => 1.0,
+ 'dyn' => 1.0E+5,
+ 'dy' => 1.0E+5,
+ 'lbf' => 2.24808923655339E-01,
+ 'pond' => 1.01971621297793E+02,
+ ],
+ // Conversion uses Joule (J) as an intermediate unit
+ self::CATEGORY_ENERGY => [
+ 'J' => 1.0,
+ 'e' => 9.99999519343231E+06,
+ 'c' => 2.39006249473467E-01,
+ 'cal' => 2.38846190642017E-01,
+ 'eV' => 6.24145700000000E+18,
+ 'ev' => 6.24145700000000E+18,
+ 'HPh' => 3.72506430801000E-07,
+ 'hh' => 3.72506430801000E-07,
+ 'Wh' => 2.77777916238711E-04,
+ 'wh' => 2.77777916238711E-04,
+ 'flb' => 2.37304222192651E+01,
+ 'BTU' => 9.47815067349015E-04,
+ 'btu' => 9.47815067349015E-04,
+ ],
+ // Conversion uses Horsepower (HP) as an intermediate unit
+ self::CATEGORY_POWER => [
+ 'HP' => 1.0,
+ 'h' => 1.0,
+ 'W' => 7.45699871582270E+02,
+ 'w' => 7.45699871582270E+02,
+ 'PS' => 1.01386966542400E+00,
+ ],
+ // Conversion uses Tesla (T) as an intermediate unit
+ self::CATEGORY_MAGNETISM => [
+ 'T' => 1.0,
+ 'ga' => 10000.0,
+ ],
+ // Conversion uses litre (l) as an intermediate unit
+ self::CATEGORY_VOLUME => [
+ 'l' => 1.0,
+ 'L' => 1.0,
+ 'lt' => 1.0,
+ 'tsp' => 2.02884136211058E+02,
+ 'tspm' => 2.0E+02,
+ 'tbs' => 6.76280454036860E+01,
+ 'oz' => 3.38140227018430E+01,
+ 'cup' => 4.22675283773038E+00,
+ 'pt' => 2.11337641886519E+00,
+ 'us_pt' => 2.11337641886519E+00,
+ 'uk_pt' => 1.75975398639270E+00,
+ 'qt' => 1.05668820943259E+00,
+ 'uk_qt' => 8.79876993196351E-01,
+ 'gal' => 2.64172052358148E-01,
+ 'uk_gal' => 2.19969248299088E-01,
+ 'ang3' => 1.0E+27,
+ 'ang^3' => 1.0E+27,
+ 'barrel' => 6.28981077043211E-03,
+ 'bushel' => 2.83775932584017E-02,
+ 'in3' => 6.10237440947323E+01,
+ 'in^3' => 6.10237440947323E+01,
+ 'ft3' => 3.53146667214886E-02,
+ 'ft^3' => 3.53146667214886E-02,
+ 'ly3' => 1.18093498844171E-51,
+ 'ly^3' => 1.18093498844171E-51,
+ 'm3' => 1.0E-03,
+ 'm^3' => 1.0E-03,
+ 'mi3' => 2.39912758578928E-13,
+ 'mi^3' => 2.39912758578928E-13,
+ 'yd3' => 1.30795061931439E-03,
+ 'yd^3' => 1.30795061931439E-03,
+ 'Nmi3' => 1.57426214685811E-13,
+ 'Nmi^3' => 1.57426214685811E-13,
+ 'Pica3' => 2.27769904358706E+07,
+ 'Pica^3' => 2.27769904358706E+07,
+ 'Picapt3' => 2.27769904358706E+07,
+ 'Picapt^3' => 2.27769904358706E+07,
+ 'GRT' => 3.53146667214886E-04,
+ 'regton' => 3.53146667214886E-04,
+ 'MTON' => 8.82866668037215E-04,
+ ],
+ // Conversion uses hectare (ha) as an intermediate unit
+ self::CATEGORY_AREA => [
+ 'ha' => 1.0,
+ 'uk_acre' => 2.47105381467165E+00,
+ 'us_acre' => 2.47104393046628E+00,
+ 'ang2' => 1.0E+24,
+ 'ang^2' => 1.0E+24,
+ 'ar' => 1.0E+02,
+ 'ft2' => 1.07639104167097E+05,
+ 'ft^2' => 1.07639104167097E+05,
+ 'in2' => 1.55000310000620E+07,
+ 'in^2' => 1.55000310000620E+07,
+ 'ly2' => 1.11725076312873E-28,
+ 'ly^2' => 1.11725076312873E-28,
+ 'm2' => 1.0E+04,
+ 'm^2' => 1.0E+04,
+ 'Morgen' => 4.0E+00,
+ 'mi2' => 3.86102158542446E-03,
+ 'mi^2' => 3.86102158542446E-03,
+ 'Nmi2' => 2.91553349598123E-03,
+ 'Nmi^2' => 2.91553349598123E-03,
+ 'Pica2' => 8.03521607043214E+10,
+ 'Pica^2' => 8.03521607043214E+10,
+ 'Picapt2' => 8.03521607043214E+10,
+ 'Picapt^2' => 8.03521607043214E+10,
+ 'yd2' => 1.19599004630108E+04,
+ 'yd^2' => 1.19599004630108E+04,
+ ],
+ // Conversion uses bit (bit) as an intermediate unit
+ self::CATEGORY_INFORMATION => [
+ 'bit' => 1.0,
+ 'byte' => 0.125,
+ ],
+ // Conversion uses Meters per Second (m/s) as an intermediate unit
+ self::CATEGORY_SPEED => [
+ 'm/s' => 1.0,
+ 'm/sec' => 1.0,
+ 'm/h' => 3.60E+03,
+ 'm/hr' => 3.60E+03,
+ 'mph' => 2.23693629205440E+00,
+ 'admkn' => 1.94260256941567E+00,
+ 'kn' => 1.94384449244060E+00,
+ ],
+ ];
+
+ /**
+ * getConversionGroups
+ * Returns a list of the different conversion groups for UOM conversions.
+ */
+ public static function getConversionCategories(): array
+ {
+ $conversionGroups = [];
+ foreach (self::$conversionUnits as $conversionUnit) {
+ $conversionGroups[] = $conversionUnit['Group'];
+ }
+
+ return array_merge(array_unique($conversionGroups));
+ }
+
+ /**
+ * getConversionGroupUnits
+ * Returns an array of units of measure, for a specified conversion group, or for all groups.
+ *
+ * @param string $category The group whose units of measure you want to retrieve
+ */
+ public static function getConversionCategoryUnits($category = null): array
+ {
+ $conversionGroups = [];
+ foreach (self::$conversionUnits as $conversionUnit => $conversionGroup) {
+ if (($category === null) || ($conversionGroup['Group'] == $category)) {
+ $conversionGroups[$conversionGroup['Group']][] = $conversionUnit;
+ }
+ }
+
+ return $conversionGroups;
+ }
+
+ /**
+ * getConversionGroupUnitDetails.
+ *
+ * @param string $category The group whose units of measure you want to retrieve
+ */
+ public static function getConversionCategoryUnitDetails($category = null): array
+ {
+ $conversionGroups = [];
+ foreach (self::$conversionUnits as $conversionUnit => $conversionGroup) {
+ if (($category === null) || ($conversionGroup['Group'] == $category)) {
+ $conversionGroups[$conversionGroup['Group']][] = [
+ 'unit' => $conversionUnit,
+ 'description' => $conversionGroup['Unit Name'],
+ ];
+ }
+ }
+
+ return $conversionGroups;
+ }
+
+ /**
+ * getConversionMultipliers
+ * Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM().
+ *
+ * @return mixed[]
+ */
+ public static function getConversionMultipliers()
+ {
+ return self::$conversionMultipliers;
+ }
+
+ /**
+ * getBinaryConversionMultipliers
+ * Returns an array of the additional Multiplier prefixes that can be used with Information Units of Measure in CONVERTUOM().
+ *
+ * @return mixed[]
+ */
+ public static function getBinaryConversionMultipliers()
+ {
+ return self::$binaryConversionMultipliers;
+ }
+
+ /**
+ * CONVERT.
+ *
+ * Converts a number from one measurement system to another.
+ * For example, CONVERT can translate a table of distances in miles to a table of distances
+ * in kilometers.
+ *
+ * Excel Function:
+ * CONVERT(value,fromUOM,toUOM)
+ *
+ * @param array|float|int|string $value the value in fromUOM to convert
+ * Or can be an array of values
+ * @param array|string $fromUOM the units for value
+ * Or can be an array of values
+ * @param array|string $toUOM the units for the result
+ * Or can be an array of values
+ *
+ * @return array|float|string Result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function CONVERT($value, $fromUOM, $toUOM)
+ {
+ if (is_array($value) || is_array($fromUOM) || is_array($toUOM)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $fromUOM, $toUOM);
+ }
+
+ if (!is_numeric($value)) {
+ return ExcelError::VALUE();
+ }
+
+ try {
+ [$fromUOM, $fromCategory, $fromMultiplier] = self::getUOMDetails($fromUOM);
+ [$toUOM, $toCategory, $toMultiplier] = self::getUOMDetails($toUOM);
+ } catch (Exception) {
+ return ExcelError::NA();
+ }
+
+ if ($fromCategory !== $toCategory) {
+ return ExcelError::NA();
+ }
+
+ // @var float $value
+ $value *= $fromMultiplier;
+
+ if (($fromUOM === $toUOM) && ($fromMultiplier === $toMultiplier)) {
+ // We've already factored $fromMultiplier into the value, so we need
+ // to reverse it again
+ return $value / $fromMultiplier;
+ } elseif ($fromUOM === $toUOM) {
+ return $value / $toMultiplier;
+ } elseif ($fromCategory === self::CATEGORY_TEMPERATURE) {
+ return self::convertTemperature($fromUOM, $toUOM, $value);
+ }
+
+ $baseValue = $value * (1.0 / self::$unitConversions[$fromCategory][$fromUOM]);
+
+ return ($baseValue * self::$unitConversions[$fromCategory][$toUOM]) / $toMultiplier;
+ }
+
+ private static function getUOMDetails(string $uom): array
+ {
+ if (isset(self::$conversionUnits[$uom])) {
+ $unitCategory = self::$conversionUnits[$uom]['Group'];
+
+ return [$uom, $unitCategory, 1.0];
+ }
+
+ // Check 1-character standard metric multiplier prefixes
+ $multiplierType = substr($uom, 0, 1);
+ $uom = substr($uom, 1);
+ if (isset(self::$conversionUnits[$uom], self::$conversionMultipliers[$multiplierType])) {
+ if (self::$conversionUnits[$uom]['AllowPrefix'] === false) {
+ throw new Exception('Prefix not allowed for UoM');
+ }
+ $unitCategory = self::$conversionUnits[$uom]['Group'];
+
+ return [$uom, $unitCategory, self::$conversionMultipliers[$multiplierType]['multiplier']];
+ }
+
+ $multiplierType .= substr($uom, 0, 1);
+ $uom = substr($uom, 1);
+
+ // Check 2-character standard metric multiplier prefixes
+ if (isset(self::$conversionUnits[$uom], self::$conversionMultipliers[$multiplierType])) {
+ if (self::$conversionUnits[$uom]['AllowPrefix'] === false) {
+ throw new Exception('Prefix not allowed for UoM');
+ }
+ $unitCategory = self::$conversionUnits[$uom]['Group'];
+
+ return [$uom, $unitCategory, self::$conversionMultipliers[$multiplierType]['multiplier']];
+ }
+
+ // Check 2-character binary multiplier prefixes
+ if (isset(self::$conversionUnits[$uom], self::$binaryConversionMultipliers[$multiplierType])) {
+ if (self::$conversionUnits[$uom]['AllowPrefix'] === false) {
+ throw new Exception('Prefix not allowed for UoM');
+ }
+ $unitCategory = self::$conversionUnits[$uom]['Group'];
+ if ($unitCategory !== 'Information') {
+ throw new Exception('Binary Prefix is only allowed for Information UoM');
+ }
+
+ return [$uom, $unitCategory, self::$binaryConversionMultipliers[$multiplierType]['multiplier']];
+ }
+
+ throw new Exception('UoM Not Found');
+ }
+
+ /**
+ * @param float|int $value
+ *
+ * @return float|int
+ */
+ protected static function convertTemperature(string $fromUOM, string $toUOM, $value)
+ {
+ $fromUOM = self::resolveTemperatureSynonyms($fromUOM);
+ $toUOM = self::resolveTemperatureSynonyms($toUOM);
+
+ if ($fromUOM === $toUOM) {
+ return $value;
+ }
+
+ // Convert to Kelvin
+ switch ($fromUOM) {
+ case 'F':
+ $value = ($value - 32) / 1.8 + 273.15;
+
+ break;
+ case 'C':
+ $value += 273.15;
+
+ break;
+ case 'Rank':
+ $value /= 1.8;
+
+ break;
+ case 'Reau':
+ $value = $value * 1.25 + 273.15;
+
+ break;
+ }
+
+ // Convert from Kelvin
+ switch ($toUOM) {
+ case 'F':
+ $value = ($value - 273.15) * 1.8 + 32.00;
+
+ break;
+ case 'C':
+ $value -= 273.15;
+
+ break;
+ case 'Rank':
+ $value *= 1.8;
+
+ break;
+ case 'Reau':
+ $value = ($value - 273.15) * 0.80000;
+
+ break;
+ }
+
+ return $value;
+ }
+
+ private static function resolveTemperatureSynonyms(string $uom): string
+ {
+ return match ($uom) {
+ 'fah' => 'F',
+ 'cel' => 'C',
+ 'kel' => 'K',
+ default => $uom,
+ };
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/EngineeringValidations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/EngineeringValidations.php
new file mode 100644
index 0000000..7e5118f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/EngineeringValidations.php
@@ -0,0 +1,27 @@
+ 2.2) {
+ return 1 - self::makeFloat(ErfC::ERFC($value));
+ }
+ $sum = $term = $value;
+ $xsqr = ($value * $value);
+ $j = 1;
+ do {
+ $term *= $xsqr / $j;
+ $sum -= $term / (2 * $j + 1);
+ ++$j;
+ $term *= $xsqr / $j;
+ $sum += $term / (2 * $j + 1);
+ ++$j;
+ if ($sum == 0.0) {
+ break;
+ }
+ } while (abs($term / $sum) > Functions::PRECISION);
+
+ return self::TWO_SQRT_PI * $sum;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ErfC.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ErfC.php
new file mode 100644
index 0000000..e133c4c
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ErfC.php
@@ -0,0 +1,82 @@
+ Functions::PRECISION);
+
+ return self::ONE_SQRT_PI * exp(-$value * $value) * $q2;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Exception.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Exception.php
new file mode 100644
index 0000000..ea893d6
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Exception.php
@@ -0,0 +1,22 @@
+line = $line;
+ $e->file = $file;
+
+ throw $e;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ExceptionHandler.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ExceptionHandler.php
new file mode 100644
index 0000000..6461961
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ExceptionHandler.php
@@ -0,0 +1,24 @@
+getMessage();
+ }
+
+ $yearFracx = DateTimeExcel\YearFrac::fraction($purchased, $firstPeriod, $basis);
+ if (is_string($yearFracx)) {
+ return $yearFracx;
+ }
+ /** @var float */
+ $yearFrac = $yearFracx;
+
+ $amortiseCoeff = self::getAmortizationCoefficient($rate);
+
+ $rate *= $amortiseCoeff;
+ $fNRate = round($yearFrac * $rate * $cost, 0);
+ $cost -= $fNRate;
+ $fRest = $cost - $salvage;
+
+ for ($n = 0; $n < $period; ++$n) {
+ $fNRate = round($rate * $cost, 0);
+ $fRest -= $fNRate;
+
+ if ($fRest < 0.0) {
+ return match ($period - $n) {
+ 1 => round($cost * 0.5, 0),
+ default => 0.0,
+ };
+ }
+ $cost -= $fNRate;
+ }
+
+ return $fNRate;
+ }
+
+ /**
+ * AMORLINC.
+ *
+ * Returns the depreciation for each accounting period.
+ * This function is provided for the French accounting system. If an asset is purchased in
+ * the middle of the accounting period, the prorated depreciation is taken into account.
+ *
+ * Excel Function:
+ * AMORLINC(cost,purchased,firstPeriod,salvage,period,rate[,basis])
+ *
+ * @param mixed $cost The cost of the asset as a float
+ * @param mixed $purchased Date of the purchase of the asset
+ * @param mixed $firstPeriod Date of the end of the first period
+ * @param mixed $salvage The salvage value at the end of the life of the asset
+ * @param mixed $period The period as a float
+ * @param mixed $rate Rate of depreciation as float
+ * @param mixed $basis Integer indicating the type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string (string containing the error type if there is an error)
+ */
+ public static function AMORLINC(
+ mixed $cost,
+ mixed $purchased,
+ mixed $firstPeriod,
+ mixed $salvage,
+ mixed $period,
+ mixed $rate,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ): string|float {
+ $cost = Functions::flattenSingleValue($cost);
+ $purchased = Functions::flattenSingleValue($purchased);
+ $firstPeriod = Functions::flattenSingleValue($firstPeriod);
+ $salvage = Functions::flattenSingleValue($salvage);
+ $period = Functions::flattenSingleValue($period);
+ $rate = Functions::flattenSingleValue($rate);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $cost = FinancialValidations::validateFloat($cost);
+ $purchased = FinancialValidations::validateDate($purchased);
+ $firstPeriod = FinancialValidations::validateDate($firstPeriod);
+ $salvage = FinancialValidations::validateFloat($salvage);
+ $period = FinancialValidations::validateFloat($period);
+ $rate = FinancialValidations::validateFloat($rate);
+ $basis = FinancialValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $fOneRate = $cost * $rate;
+ $fCostDelta = $cost - $salvage;
+ // Note, quirky variation for leap years on the YEARFRAC for this function
+ $purchasedYear = DateTimeExcel\DateParts::year($purchased);
+ $yearFracx = DateTimeExcel\YearFrac::fraction($purchased, $firstPeriod, $basis);
+ if (is_string($yearFracx)) {
+ return $yearFracx;
+ }
+ /** @var float */
+ $yearFrac = $yearFracx;
+
+ if (
+ $basis == FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL
+ && $yearFrac < 1
+ && DateTimeExcel\Helpers::isLeapYear(Functions::scalar($purchasedYear))
+ ) {
+ $yearFrac *= 365 / 366;
+ }
+
+ $f0Rate = $yearFrac * $rate * $cost;
+ $nNumOfFullPeriods = (int) (($cost - $salvage - $f0Rate) / $fOneRate);
+
+ if ($period == 0) {
+ return $f0Rate;
+ } elseif ($period <= $nNumOfFullPeriods) {
+ return $fOneRate;
+ } elseif ($period == ($nNumOfFullPeriods + 1)) {
+ return $fCostDelta - $fOneRate * $nNumOfFullPeriods - $f0Rate;
+ }
+
+ return 0.0;
+ }
+
+ private static function getAmortizationCoefficient(float $rate): float
+ {
+ // The depreciation coefficients are:
+ // Life of assets (1/rate) Depreciation coefficient
+ // Less than 3 years 1
+ // Between 3 and 4 years 1.5
+ // Between 5 and 6 years 2
+ // More than 6 years 2.5
+ $fUsePer = 1.0 / $rate;
+
+ if ($fUsePer < 3.0) {
+ return 1.0;
+ } elseif ($fUsePer < 4.0) {
+ return 1.5;
+ } elseif ($fUsePer <= 6.0) {
+ return 2.0;
+ }
+
+ return 2.5;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/CashFlowValidations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/CashFlowValidations.php
new file mode 100644
index 0000000..ae5a794
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/CashFlowValidations.php
@@ -0,0 +1,44 @@
+getMessage();
+ }
+
+ return self::calculateFutureValue($rate, $numberOfPeriods, $payment, $presentValue, $type);
+ }
+
+ /**
+ * PV.
+ *
+ * Returns the Present Value of a cash flow with constant payments and interest rate (annuities).
+ *
+ * @param mixed $rate Interest rate per period
+ * @param mixed $numberOfPeriods Number of periods as an integer
+ * @param mixed $payment Periodic payment (annuity)
+ * @param mixed $futureValue Future Value
+ * @param mixed $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function presentValue(
+ mixed $rate,
+ mixed $numberOfPeriods,
+ mixed $payment = 0.0,
+ mixed $futureValue = 0.0,
+ mixed $type = FinancialConstants::PAYMENT_END_OF_PERIOD
+ ): string|float {
+ $rate = Functions::flattenSingleValue($rate);
+ $numberOfPeriods = Functions::flattenSingleValue($numberOfPeriods);
+ $payment = ($payment === null) ? 0.0 : Functions::flattenSingleValue($payment);
+ $futureValue = ($futureValue === null) ? 0.0 : Functions::flattenSingleValue($futureValue);
+ $type = ($type === null) ? FinancialConstants::PAYMENT_END_OF_PERIOD : Functions::flattenSingleValue($type);
+
+ try {
+ $rate = CashFlowValidations::validateRate($rate);
+ $numberOfPeriods = CashFlowValidations::validateInt($numberOfPeriods);
+ $payment = CashFlowValidations::validateFloat($payment);
+ $futureValue = CashFlowValidations::validateFutureValue($futureValue);
+ $type = CashFlowValidations::validatePeriodType($type);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($numberOfPeriods < 0) {
+ return ExcelError::NAN();
+ }
+
+ return self::calculatePresentValue($rate, $numberOfPeriods, $payment, $futureValue, $type);
+ }
+
+ /**
+ * NPER.
+ *
+ * Returns the number of periods for a cash flow with constant periodic payments (annuities), and interest rate.
+ *
+ * @param mixed $rate Interest rate per period
+ * @param mixed $payment Periodic payment (annuity)
+ * @param mixed $presentValue Present Value
+ * @param mixed $futureValue Future Value
+ * @param mixed $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function periods(
+ mixed $rate,
+ mixed $payment,
+ mixed $presentValue,
+ mixed $futureValue = 0.0,
+ mixed $type = FinancialConstants::PAYMENT_END_OF_PERIOD
+ ) {
+ $rate = Functions::flattenSingleValue($rate);
+ $payment = Functions::flattenSingleValue($payment);
+ $presentValue = Functions::flattenSingleValue($presentValue);
+ $futureValue = ($futureValue === null) ? 0.0 : Functions::flattenSingleValue($futureValue);
+ $type = ($type === null) ? FinancialConstants::PAYMENT_END_OF_PERIOD : Functions::flattenSingleValue($type);
+
+ try {
+ $rate = CashFlowValidations::validateRate($rate);
+ $payment = CashFlowValidations::validateFloat($payment);
+ $presentValue = CashFlowValidations::validatePresentValue($presentValue);
+ $futureValue = CashFlowValidations::validateFutureValue($futureValue);
+ $type = CashFlowValidations::validatePeriodType($type);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($payment == 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return self::calculatePeriods($rate, $payment, $presentValue, $futureValue, $type);
+ }
+
+ private static function calculateFutureValue(
+ float $rate,
+ int $numberOfPeriods,
+ float $payment,
+ float $presentValue,
+ int $type
+ ): float {
+ if ($rate !== null && $rate != 0) {
+ return -$presentValue
+ * (1 + $rate) ** $numberOfPeriods - $payment * (1 + $rate * $type) * ((1 + $rate) ** $numberOfPeriods - 1)
+ / $rate;
+ }
+
+ return -$presentValue - $payment * $numberOfPeriods;
+ }
+
+ private static function calculatePresentValue(
+ float $rate,
+ int $numberOfPeriods,
+ float $payment,
+ float $futureValue,
+ int $type
+ ): float {
+ if ($rate != 0.0) {
+ return (-$payment * (1 + $rate * $type)
+ * (((1 + $rate) ** $numberOfPeriods - 1) / $rate) - $futureValue) / (1 + $rate) ** $numberOfPeriods;
+ }
+
+ return -$futureValue - $payment * $numberOfPeriods;
+ }
+
+ private static function calculatePeriods(
+ float $rate,
+ float $payment,
+ float $presentValue,
+ float $futureValue,
+ int $type
+ ): string|float {
+ if ($rate != 0.0) {
+ if ($presentValue == 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return log(($payment * (1 + $rate * $type) / $rate - $futureValue)
+ / ($presentValue + $payment * (1 + $rate * $type) / $rate)) / log(1 + $rate);
+ }
+
+ return (-$presentValue - $futureValue) / $payment;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php
new file mode 100644
index 0000000..2cca27a
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Cumulative.php
@@ -0,0 +1,142 @@
+getMessage();
+ }
+
+ // Validate parameters
+ if ($start < 1 || $start > $end) {
+ return ExcelError::NAN();
+ }
+
+ // Calculate
+ $interest = 0;
+ for ($per = $start; $per <= $end; ++$per) {
+ $ipmt = Interest::payment($rate, $per, $periods, $presentValue, 0, $type);
+ if (is_string($ipmt)) {
+ return $ipmt;
+ }
+
+ $interest += $ipmt;
+ }
+
+ return $interest;
+ }
+
+ /**
+ * CUMPRINC.
+ *
+ * Returns the cumulative principal paid on a loan between the start and end periods.
+ *
+ * Excel Function:
+ * CUMPRINC(rate,nper,pv,start,end[,type])
+ *
+ * @param mixed $rate The Interest rate
+ * @param mixed $periods The total number of payment periods as an integer
+ * @param mixed $presentValue Present Value
+ * @param mixed $start The first period in the calculation.
+ * Payment periods are numbered beginning with 1.
+ * @param mixed $end the last period in the calculation
+ * @param mixed $type A number 0 or 1 and indicates when payments are due:
+ * 0 or omitted At the end of the period.
+ * 1 At the beginning of the period.
+ *
+ * @return float|string
+ */
+ public static function principal(
+ mixed $rate,
+ mixed $periods,
+ mixed $presentValue,
+ mixed $start,
+ mixed $end,
+ mixed $type = FinancialConstants::PAYMENT_END_OF_PERIOD
+ ): string|float|int {
+ $rate = Functions::flattenSingleValue($rate);
+ $periods = Functions::flattenSingleValue($periods);
+ $presentValue = Functions::flattenSingleValue($presentValue);
+ $start = Functions::flattenSingleValue($start);
+ $end = Functions::flattenSingleValue($end);
+ $type = ($type === null) ? FinancialConstants::PAYMENT_END_OF_PERIOD : Functions::flattenSingleValue($type);
+
+ try {
+ $rate = CashFlowValidations::validateRate($rate);
+ $periods = CashFlowValidations::validateInt($periods);
+ $presentValue = CashFlowValidations::validatePresentValue($presentValue);
+ $start = CashFlowValidations::validateInt($start);
+ $end = CashFlowValidations::validateInt($end);
+ $type = CashFlowValidations::validatePeriodType($type);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($start < 1 || $start > $end) {
+ return ExcelError::VALUE();
+ }
+
+ // Calculate
+ $principal = 0;
+ for ($per = $start; $per <= $end; ++$per) {
+ $ppmt = Payments::interestPayment($rate, $per, $periods, $presentValue, 0, $type);
+ if (is_string($ppmt)) {
+ return $ppmt;
+ }
+
+ $principal += $ppmt;
+ }
+
+ return $principal;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php
new file mode 100644
index 0000000..833c573
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php
@@ -0,0 +1,213 @@
+getMessage();
+ }
+
+ // Validate parameters
+ if ($period <= 0 || $period > $numberOfPeriods) {
+ return ExcelError::NAN();
+ }
+
+ // Calculate
+ $interestAndPrincipal = new InterestAndPrincipal(
+ $interestRate,
+ $period,
+ $numberOfPeriods,
+ $presentValue,
+ $futureValue,
+ $type
+ );
+
+ return $interestAndPrincipal->interest();
+ }
+
+ /**
+ * ISPMT.
+ *
+ * Returns the interest payment for an investment based on an interest rate and a constant payment schedule.
+ *
+ * Excel Function:
+ * =ISPMT(interest_rate, period, number_payments, pv)
+ *
+ * @param mixed $interestRate is the interest rate for the investment
+ * @param mixed $period is the period to calculate the interest rate. It must be betweeen 1 and number_payments.
+ * @param mixed $numberOfPeriods is the number of payments for the annuity
+ * @param mixed $principleRemaining is the loan amount or present value of the payments
+ */
+ public static function schedulePayment(mixed $interestRate, mixed $period, mixed $numberOfPeriods, mixed $principleRemaining): string|float
+ {
+ $interestRate = Functions::flattenSingleValue($interestRate);
+ $period = Functions::flattenSingleValue($period);
+ $numberOfPeriods = Functions::flattenSingleValue($numberOfPeriods);
+ $principleRemaining = Functions::flattenSingleValue($principleRemaining);
+
+ try {
+ $interestRate = CashFlowValidations::validateRate($interestRate);
+ $period = CashFlowValidations::validateInt($period);
+ $numberOfPeriods = CashFlowValidations::validateInt($numberOfPeriods);
+ $principleRemaining = CashFlowValidations::validateFloat($principleRemaining);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($period <= 0 || $period > $numberOfPeriods) {
+ return ExcelError::NAN();
+ }
+
+ // Return value
+ $returnValue = 0;
+
+ // Calculate
+ $principlePayment = ($principleRemaining * 1.0) / ($numberOfPeriods * 1.0);
+ for ($i = 0; $i <= $period; ++$i) {
+ $returnValue = $interestRate * $principleRemaining * -1;
+ $principleRemaining -= $principlePayment;
+ // principle needs to be 0 after the last payment, don't let floating point screw it up
+ if ($i == $numberOfPeriods) {
+ $returnValue = 0.0;
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * RATE.
+ *
+ * Returns the interest rate per period of an annuity.
+ * RATE is calculated by iteration and can have zero or more solutions.
+ * If the successive results of RATE do not converge to within 0.0000001 after 20 iterations,
+ * RATE returns the #NUM! error value.
+ *
+ * Excel Function:
+ * RATE(nper,pmt,pv[,fv[,type[,guess]]])
+ *
+ * @param mixed $numberOfPeriods The total number of payment periods in an annuity
+ * @param mixed $payment The payment made each period and cannot change over the life of the annuity.
+ * Typically, pmt includes principal and interest but no other fees or taxes.
+ * @param mixed $presentValue The present value - the total amount that a series of future payments is worth now
+ * @param mixed $futureValue The future value, or a cash balance you want to attain after the last payment is made.
+ * If fv is omitted, it is assumed to be 0 (the future value of a loan,
+ * for example, is 0).
+ * @param mixed $type A number 0 or 1 and indicates when payments are due:
+ * 0 or omitted At the end of the period.
+ * 1 At the beginning of the period.
+ * @param mixed $guess Your guess for what the rate will be.
+ * If you omit guess, it is assumed to be 10 percent.
+ */
+ public static function rate(
+ mixed $numberOfPeriods,
+ mixed $payment,
+ mixed $presentValue,
+ mixed $futureValue = 0.0,
+ mixed $type = FinancialConstants::PAYMENT_END_OF_PERIOD,
+ mixed $guess = 0.1
+ ): string|float {
+ $numberOfPeriods = Functions::flattenSingleValue($numberOfPeriods);
+ $payment = Functions::flattenSingleValue($payment);
+ $presentValue = Functions::flattenSingleValue($presentValue);
+ $futureValue = ($futureValue === null) ? 0.0 : Functions::flattenSingleValue($futureValue);
+ $type = ($type === null) ? FinancialConstants::PAYMENT_END_OF_PERIOD : Functions::flattenSingleValue($type);
+ $guess = ($guess === null) ? 0.1 : Functions::flattenSingleValue($guess);
+
+ try {
+ $numberOfPeriods = CashFlowValidations::validateInt($numberOfPeriods);
+ $payment = CashFlowValidations::validateFloat($payment);
+ $presentValue = CashFlowValidations::validatePresentValue($presentValue);
+ $futureValue = CashFlowValidations::validateFutureValue($futureValue);
+ $type = CashFlowValidations::validatePeriodType($type);
+ $guess = CashFlowValidations::validateFloat($guess);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $rate = $guess;
+ // rest of code adapted from python/numpy
+ $close = false;
+ $iter = 0;
+ while (!$close && $iter < self::FINANCIAL_MAX_ITERATIONS) {
+ $nextdiff = self::rateNextGuess($rate, $numberOfPeriods, $payment, $presentValue, $futureValue, $type);
+ if (!is_numeric($nextdiff)) {
+ break;
+ }
+ $rate1 = $rate - $nextdiff;
+ $close = abs($rate1 - $rate) < self::FINANCIAL_PRECISION;
+ ++$iter;
+ $rate = $rate1;
+ }
+
+ return $close ? $rate : ExcelError::NAN();
+ }
+
+ private static function rateNextGuess(float $rate, int $numberOfPeriods, float $payment, float $presentValue, float $futureValue, int $type): string|float
+ {
+ if ($rate == 0.0) {
+ return ExcelError::NAN();
+ }
+ $tt1 = ($rate + 1) ** $numberOfPeriods;
+ $tt2 = ($rate + 1) ** ($numberOfPeriods - 1);
+ $numerator = $futureValue + $tt1 * $presentValue + $payment * ($tt1 - 1) * ($rate * $type + 1) / $rate;
+ $denominator = $numberOfPeriods * $tt2 * $presentValue - $payment * ($tt1 - 1)
+ * ($rate * $type + 1) / ($rate * $rate) + $numberOfPeriods
+ * $payment * $tt2 * ($rate * $type + 1) / $rate + $payment * ($tt1 - 1) * $type / $rate;
+ if ($denominator == 0) {
+ return ExcelError::NAN();
+ }
+
+ return $numerator / $denominator;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/InterestAndPrincipal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/InterestAndPrincipal.php
new file mode 100644
index 0000000..ea9abb9
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/InterestAndPrincipal.php
@@ -0,0 +1,44 @@
+interest = $interest;
+ $this->principal = $principal;
+ }
+
+ public function interest(): float
+ {
+ return $this->interest;
+ }
+
+ public function principal(): float
+ {
+ return $this->principal;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php
new file mode 100644
index 0000000..41e88f9
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php
@@ -0,0 +1,116 @@
+getMessage();
+ }
+
+ // Calculate
+ if ($interestRate != 0.0) {
+ return (-$futureValue - $presentValue * (1 + $interestRate) ** $numberOfPeriods)
+ / (1 + $interestRate * $type) / (((1 + $interestRate) ** $numberOfPeriods - 1) / $interestRate);
+ }
+
+ return (-$presentValue - $futureValue) / $numberOfPeriods;
+ }
+
+ /**
+ * PPMT.
+ *
+ * Returns the interest payment for a given period for an investment based on periodic, constant payments
+ * and a constant interest rate.
+ *
+ * @param mixed $interestRate Interest rate per period
+ * @param mixed $period Period for which we want to find the interest
+ * @param mixed $numberOfPeriods Number of periods
+ * @param mixed $presentValue Present Value
+ * @param mixed $futureValue Future Value
+ * @param mixed $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function interestPayment(
+ mixed $interestRate,
+ mixed $period,
+ mixed $numberOfPeriods,
+ mixed $presentValue,
+ mixed $futureValue = 0,
+ mixed $type = FinancialConstants::PAYMENT_END_OF_PERIOD
+ ): string|float {
+ $interestRate = Functions::flattenSingleValue($interestRate);
+ $period = Functions::flattenSingleValue($period);
+ $numberOfPeriods = Functions::flattenSingleValue($numberOfPeriods);
+ $presentValue = Functions::flattenSingleValue($presentValue);
+ $futureValue = ($futureValue === null) ? 0.0 : Functions::flattenSingleValue($futureValue);
+ $type = ($type === null) ? FinancialConstants::PAYMENT_END_OF_PERIOD : Functions::flattenSingleValue($type);
+
+ try {
+ $interestRate = CashFlowValidations::validateRate($interestRate);
+ $period = CashFlowValidations::validateInt($period);
+ $numberOfPeriods = CashFlowValidations::validateInt($numberOfPeriods);
+ $presentValue = CashFlowValidations::validatePresentValue($presentValue);
+ $futureValue = CashFlowValidations::validateFutureValue($futureValue);
+ $type = CashFlowValidations::validatePeriodType($type);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($period <= 0 || $period > $numberOfPeriods) {
+ return ExcelError::NAN();
+ }
+
+ // Calculate
+ $interestAndPrincipal = new InterestAndPrincipal(
+ $interestRate,
+ $period,
+ $numberOfPeriods,
+ $presentValue,
+ $futureValue,
+ $type
+ );
+
+ return $interestAndPrincipal->principal();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Single.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Single.php
new file mode 100644
index 0000000..8a4f16e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Single.php
@@ -0,0 +1,107 @@
+getMessage();
+ }
+
+ return $principal;
+ }
+
+ /**
+ * PDURATION.
+ *
+ * Calculates the number of periods required for an investment to reach a specified value.
+ *
+ * @param mixed $rate Interest rate per period
+ * @param mixed $presentValue Present Value
+ * @param mixed $futureValue Future Value
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function periods(mixed $rate, mixed $presentValue, mixed $futureValue): string|float
+ {
+ $rate = Functions::flattenSingleValue($rate);
+ $presentValue = Functions::flattenSingleValue($presentValue);
+ $futureValue = Functions::flattenSingleValue($futureValue);
+
+ try {
+ $rate = CashFlowValidations::validateRate($rate);
+ $presentValue = CashFlowValidations::validatePresentValue($presentValue);
+ $futureValue = CashFlowValidations::validateFutureValue($futureValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($rate <= 0.0 || $presentValue <= 0.0 || $futureValue <= 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return (log($futureValue) - log($presentValue)) / log(1 + $rate);
+ }
+
+ /**
+ * RRI.
+ *
+ * Calculates the interest rate required for an investment to grow to a specified future value .
+ *
+ * @param float $periods The number of periods over which the investment is made
+ * @param float $presentValue Present Value
+ * @param float $futureValue Future Value
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function interestRate($periods = 0.0, $presentValue = 0.0, $futureValue = 0.0): string|float
+ {
+ $periods = Functions::flattenSingleValue($periods);
+ $presentValue = Functions::flattenSingleValue($presentValue);
+ $futureValue = Functions::flattenSingleValue($futureValue);
+
+ try {
+ $periods = CashFlowValidations::validateFloat($periods);
+ $presentValue = CashFlowValidations::validatePresentValue($presentValue);
+ $futureValue = CashFlowValidations::validateFutureValue($futureValue);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if ($periods <= 0.0 || $presentValue <= 0.0 || $futureValue < 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return ($futureValue / $presentValue) ** (1 / $periods) - 1;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php
new file mode 100644
index 0000000..f2e537d
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/NonPeriodic.php
@@ -0,0 +1,308 @@
+ 1;
+ $datesIsArray = count($dates) > 1;
+ if (!$valuesIsArray && !$datesIsArray) {
+ return ExcelError::NA();
+ }
+ if (count($values) != count($dates)) {
+ return ExcelError::NAN();
+ }
+
+ $datesCount = count($dates);
+ for ($i = 0; $i < $datesCount; ++$i) {
+ try {
+ $dates[$i] = DateTimeExcel\Helpers::getDateValue($dates[$i]);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ }
+
+ return self::xirrPart2($values);
+ }
+
+ private static function xirrPart2(array &$values): string
+ {
+ $valCount = count($values);
+ $foundpos = false;
+ $foundneg = false;
+ for ($i = 0; $i < $valCount; ++$i) {
+ $fld = $values[$i];
+ if (!is_numeric($fld)) {
+ return ExcelError::VALUE();
+ } elseif ($fld > 0) {
+ $foundpos = true;
+ } elseif ($fld < 0) {
+ $foundneg = true;
+ }
+ }
+ if (!self::bothNegAndPos($foundneg, $foundpos)) {
+ return ExcelError::NAN();
+ }
+
+ return '';
+ }
+
+ private static function xirrPart3(array $values, array $dates, float $x1, float $x2): float|string
+ {
+ $f = self::xnpvOrdered($x1, $values, $dates, false);
+ if ($f < 0.0) {
+ $rtb = $x1;
+ $dx = $x2 - $x1;
+ } else {
+ $rtb = $x2;
+ $dx = $x1 - $x2;
+ }
+
+ $rslt = ExcelError::VALUE();
+ for ($i = 0; $i < self::FINANCIAL_MAX_ITERATIONS; ++$i) {
+ $dx *= 0.5;
+ $x_mid = $rtb + $dx;
+ $f_mid = (float) self::xnpvOrdered($x_mid, $values, $dates, false);
+ if ($f_mid <= 0.0) {
+ $rtb = $x_mid;
+ }
+ if ((abs($f_mid) < self::FINANCIAL_PRECISION) || (abs($dx) < self::FINANCIAL_PRECISION)) {
+ $rslt = $x_mid;
+
+ break;
+ }
+ }
+
+ return $rslt;
+ }
+
+ private static function xirrBisection(array $values, array $dates, float $x1, float $x2): string|float
+ {
+ $rslt = ExcelError::NAN();
+ for ($i = 0; $i < self::FINANCIAL_MAX_ITERATIONS; ++$i) {
+ $rslt = ExcelError::NAN();
+ $f1 = self::xnpvOrdered($x1, $values, $dates, false, true);
+ $f2 = self::xnpvOrdered($x2, $values, $dates, false, true);
+ if (!is_numeric($f1) || !is_numeric($f2)) {
+ break;
+ }
+ $f1 = (float) $f1;
+ $f2 = (float) $f2;
+ if (abs($f1) < self::FINANCIAL_PRECISION && abs($f2) < self::FINANCIAL_PRECISION) {
+ break;
+ }
+ if ($f1 * $f2 > 0) {
+ break;
+ }
+ $rslt = ($x1 + $x2) / 2;
+ $f3 = self::xnpvOrdered($rslt, $values, $dates, false, true);
+ if (!is_float($f3)) {
+ break;
+ }
+ if ($f3 * $f1 < 0) {
+ $x2 = $rslt;
+ } else {
+ $x1 = $rslt;
+ }
+ if (abs($f3) < self::FINANCIAL_PRECISION) {
+ break;
+ }
+ }
+
+ return $rslt;
+ }
+
+ /**
+ * @return float|string
+ */
+ private static function xnpvOrdered(mixed $rate, mixed $values, mixed $dates, bool $ordered = true, bool $capAtNegative1 = false)
+ {
+ $rate = Functions::flattenSingleValue($rate);
+ $values = Functions::flattenArray($values);
+ $dates = Functions::flattenArray($dates);
+ $valCount = count($values);
+
+ try {
+ self::validateXnpv($rate, $values, $dates);
+ if ($capAtNegative1 && $rate <= -1) {
+ $rate = -1.0 + 1.0E-10;
+ }
+ $date0 = DateTimeExcel\Helpers::getDateValue($dates[0]);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $xnpv = 0.0;
+ for ($i = 0; $i < $valCount; ++$i) {
+ if (!is_numeric($values[$i])) {
+ return ExcelError::VALUE();
+ }
+
+ try {
+ $datei = DateTimeExcel\Helpers::getDateValue($dates[$i]);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ if ($date0 > $datei) {
+ $dif = $ordered ? ExcelError::NAN() : -((int) DateTimeExcel\Difference::interval($datei, $date0, 'd'));
+ } else {
+ $dif = Functions::scalar(DateTimeExcel\Difference::interval($date0, $datei, 'd'));
+ }
+ if (!is_numeric($dif)) {
+ return $dif;
+ }
+ if ($rate <= -1.0) {
+ $xnpv += -abs($values[$i]) / (-1 - $rate) ** ($dif / 365);
+ } else {
+ $xnpv += $values[$i] / (1 + $rate) ** ($dif / 365);
+ }
+ }
+
+ return is_finite($xnpv) ? $xnpv : ExcelError::VALUE();
+ }
+
+ private static function validateXnpv(mixed $rate, array $values, array $dates): void
+ {
+ if (!is_numeric($rate)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+ $valCount = count($values);
+ if ($valCount != count($dates)) {
+ throw new Exception(ExcelError::NAN());
+ }
+ if ($valCount > 1 && ((min($values) > 0) || (max($values) < 0))) {
+ throw new Exception(ExcelError::NAN());
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/Periodic.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/Periodic.php
new file mode 100644
index 0000000..c5fffcd
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Variable/Periodic.php
@@ -0,0 +1,159 @@
+ 0.0) {
+ return ExcelError::VALUE();
+ }
+
+ $f = self::presentValue($x1, $values);
+ if ($f < 0.0) {
+ $rtb = $x1;
+ $dx = $x2 - $x1;
+ } else {
+ $rtb = $x2;
+ $dx = $x1 - $x2;
+ }
+
+ for ($i = 0; $i < self::FINANCIAL_MAX_ITERATIONS; ++$i) {
+ $dx *= 0.5;
+ $x_mid = $rtb + $dx;
+ $f_mid = self::presentValue($x_mid, $values);
+ if ($f_mid <= 0.0) {
+ $rtb = $x_mid;
+ }
+ if ((abs($f_mid) < self::FINANCIAL_PRECISION) || (abs($dx) < self::FINANCIAL_PRECISION)) {
+ return $x_mid;
+ }
+ }
+
+ return ExcelError::VALUE();
+ }
+
+ /**
+ * MIRR.
+ *
+ * Returns the modified internal rate of return for a series of periodic cash flows. MIRR considers both
+ * the cost of the investment and the interest received on reinvestment of cash.
+ *
+ * Excel Function:
+ * MIRR(values,finance_rate, reinvestment_rate)
+ *
+ * @param mixed $values An array or a reference to cells that contain a series of payments and
+ * income occurring at regular intervals.
+ * Payments are negative value, income is positive values.
+ * @param mixed $financeRate The interest rate you pay on the money used in the cash flows
+ * @param mixed $reinvestmentRate The interest rate you receive on the cash flows as you reinvest them
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function modifiedRate(mixed $values, mixed $financeRate, mixed $reinvestmentRate): string|float
+ {
+ if (!is_array($values)) {
+ return ExcelError::DIV0();
+ }
+ $values = Functions::flattenArray($values);
+ $financeRate = Functions::flattenSingleValue($financeRate);
+ $reinvestmentRate = Functions::flattenSingleValue($reinvestmentRate);
+ $n = count($values);
+
+ $rr = 1.0 + $reinvestmentRate;
+ $fr = 1.0 + $financeRate;
+
+ $npvPos = $npvNeg = 0.0;
+ foreach ($values as $i => $v) {
+ if ($v >= 0) {
+ $npvPos += $v / $rr ** $i;
+ } else {
+ $npvNeg += $v / $fr ** $i;
+ }
+ }
+
+ if ($npvNeg === 0.0 || $npvPos === 0.0) {
+ return ExcelError::DIV0();
+ }
+
+ $mirr = ((-$npvPos * $rr ** $n)
+ / ($npvNeg * ($rr))) ** (1.0 / ($n - 1)) - 1.0;
+
+ return is_finite($mirr) ? $mirr : ExcelError::NAN();
+ }
+
+ /**
+ * NPV.
+ *
+ * Returns the Net Present Value of a cash flow series given a discount rate.
+ *
+ * @param array $args
+ *
+ * @return float
+ */
+ public static function presentValue(mixed $rate, ...$args): int|float
+ {
+ $returnValue = 0;
+
+ $rate = Functions::flattenSingleValue($rate);
+ $aArgs = Functions::flattenArray($args);
+
+ // Calculate
+ $countArgs = count($aArgs);
+ for ($i = 1; $i <= $countArgs; ++$i) {
+ // Is it a numeric value?
+ if (is_numeric($aArgs[$i - 1])) {
+ $returnValue += $aArgs[$i - 1] / (1 + $rate) ** $i;
+ }
+ }
+
+ return $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Constants.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Constants.php
new file mode 100644
index 0000000..17740b0
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Constants.php
@@ -0,0 +1,19 @@
+getMessage();
+ }
+
+ $daysPerYear = Helpers::daysPerYear(Functions::scalar(DateTimeExcel\DateParts::year($settlement)), $basis);
+ if (is_string($daysPerYear)) {
+ return ExcelError::VALUE();
+ }
+ $prev = self::couponFirstPeriodDate($settlement, $maturity, $frequency, self::PERIOD_DATE_PREVIOUS);
+
+ if ($basis === FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL) {
+ return abs((float) DateTimeExcel\Days::between($prev, $settlement));
+ }
+
+ return (float) DateTimeExcel\YearFrac::fraction($prev, $settlement, $basis) * $daysPerYear;
+ }
+
+ /**
+ * COUPDAYS.
+ *
+ * Returns the number of days in the coupon period that contains the settlement date.
+ *
+ * Excel Function:
+ * COUPDAYS(settlement,maturity,frequency[,basis])
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue
+ * date when the security is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $frequency The number of coupon payments per year.
+ * Valid frequency values are:
+ * 1 Annual
+ * 2 Semi-Annual
+ * 4 Quarterly
+ * @param mixed $basis The type of day count to use (int).
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string
+ */
+ public static function COUPDAYS(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $frequency,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ): string|int|float {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $frequency = Functions::flattenSingleValue($frequency);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ self::validateCouponPeriod($settlement, $maturity);
+ $frequency = FinancialValidations::validateFrequency($frequency);
+ $basis = FinancialValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ switch ($basis) {
+ case FinancialConstants::BASIS_DAYS_PER_YEAR_365:
+ // Actual/365
+ return 365 / $frequency;
+ case FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL:
+ // Actual/actual
+ if ($frequency == FinancialConstants::FREQUENCY_ANNUAL) {
+ $daysPerYear = (int) Helpers::daysPerYear(Functions::scalar(DateTimeExcel\DateParts::year($settlement)), $basis);
+
+ return $daysPerYear / $frequency;
+ }
+ $prev = self::couponFirstPeriodDate($settlement, $maturity, $frequency, self::PERIOD_DATE_PREVIOUS);
+ $next = self::couponFirstPeriodDate($settlement, $maturity, $frequency, self::PERIOD_DATE_NEXT);
+
+ return $next - $prev;
+ default:
+ // US (NASD) 30/360, Actual/360 or European 30/360
+ return 360 / $frequency;
+ }
+ }
+
+ /**
+ * COUPDAYSNC.
+ *
+ * Returns the number of days from the settlement date to the next coupon date.
+ *
+ * Excel Function:
+ * COUPDAYSNC(settlement,maturity,frequency[,basis])
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue
+ * date when the security is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $frequency The number of coupon payments per year.
+ * Valid frequency values are:
+ * 1 Annual
+ * 2 Semi-Annual
+ * 4 Quarterly
+ * @param mixed $basis The type of day count to use (int) .
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ */
+ public static function COUPDAYSNC(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $frequency,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ): string|float {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $frequency = Functions::flattenSingleValue($frequency);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ self::validateCouponPeriod($settlement, $maturity);
+ $frequency = FinancialValidations::validateFrequency($frequency);
+ $basis = FinancialValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ /** @var int */
+ $daysPerYear = Helpers::daysPerYear(Functions::Scalar(DateTimeExcel\DateParts::year($settlement)), $basis);
+ $next = self::couponFirstPeriodDate($settlement, $maturity, $frequency, self::PERIOD_DATE_NEXT);
+
+ if ($basis === FinancialConstants::BASIS_DAYS_PER_YEAR_NASD) {
+ $settlementDate = Date::excelToDateTimeObject($settlement);
+ $settlementEoM = Helpers::isLastDayOfMonth($settlementDate);
+ if ($settlementEoM) {
+ ++$settlement;
+ }
+ }
+
+ return (float) DateTimeExcel\YearFrac::fraction($settlement, $next, $basis) * $daysPerYear;
+ }
+
+ /**
+ * COUPNCD.
+ *
+ * Returns the next coupon date after the settlement date.
+ *
+ * Excel Function:
+ * COUPNCD(settlement,maturity,frequency[,basis])
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue
+ * date when the security is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $frequency The number of coupon payments per year.
+ * Valid frequency values are:
+ * 1 Annual
+ * 2 Semi-Annual
+ * 4 Quarterly
+ * @param mixed $basis The type of day count to use (int).
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Excel date/time serial value or error message
+ */
+ public static function COUPNCD(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $frequency,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ): string|float {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $frequency = Functions::flattenSingleValue($frequency);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ self::validateCouponPeriod($settlement, $maturity);
+ $frequency = FinancialValidations::validateFrequency($frequency);
+ FinancialValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return self::couponFirstPeriodDate($settlement, $maturity, $frequency, self::PERIOD_DATE_NEXT);
+ }
+
+ /**
+ * COUPNUM.
+ *
+ * Returns the number of coupons payable between the settlement date and maturity date,
+ * rounded up to the nearest whole coupon.
+ *
+ * Excel Function:
+ * COUPNUM(settlement,maturity,frequency[,basis])
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue
+ * date when the security is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $frequency The number of coupon payments per year.
+ * Valid frequency values are:
+ * 1 Annual
+ * 2 Semi-Annual
+ * 4 Quarterly
+ * @param mixed $basis The type of day count to use (int).
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ */
+ public static function COUPNUM(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $frequency,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ): string|int {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $frequency = Functions::flattenSingleValue($frequency);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ self::validateCouponPeriod($settlement, $maturity);
+ $frequency = FinancialValidations::validateFrequency($frequency);
+ FinancialValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $yearsBetweenSettlementAndMaturity = DateTimeExcel\YearFrac::fraction(
+ $settlement,
+ $maturity,
+ FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ );
+
+ return (int) ceil((float) $yearsBetweenSettlementAndMaturity * $frequency);
+ }
+
+ /**
+ * COUPPCD.
+ *
+ * Returns the previous coupon date before the settlement date.
+ *
+ * Excel Function:
+ * COUPPCD(settlement,maturity,frequency[,basis])
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue
+ * date when the security is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $frequency The number of coupon payments per year.
+ * Valid frequency values are:
+ * 1 Annual
+ * 2 Semi-Annual
+ * 4 Quarterly
+ * @param mixed $basis The type of day count to use (int).
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Excel date/time serial value or error message
+ */
+ public static function COUPPCD(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $frequency,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ): string|float {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $frequency = Functions::flattenSingleValue($frequency);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ self::validateCouponPeriod($settlement, $maturity);
+ $frequency = FinancialValidations::validateFrequency($frequency);
+ FinancialValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return self::couponFirstPeriodDate($settlement, $maturity, $frequency, self::PERIOD_DATE_PREVIOUS);
+ }
+
+ private static function monthsDiff(DateTime $result, int $months, string $plusOrMinus, int $day, bool $lastDayFlag): void
+ {
+ $result->setDate((int) $result->format('Y'), (int) $result->format('m'), 1);
+ $result->modify("$plusOrMinus $months months");
+ $daysInMonth = (int) $result->format('t');
+ $result->setDate((int) $result->format('Y'), (int) $result->format('m'), $lastDayFlag ? $daysInMonth : min($day, $daysInMonth));
+ }
+
+ private static function couponFirstPeriodDate(float $settlement, float $maturity, int $frequency, bool $next): float
+ {
+ $months = 12 / $frequency;
+
+ $result = Date::excelToDateTimeObject($maturity);
+ $day = (int) $result->format('d');
+ $lastDayFlag = Helpers::isLastDayOfMonth($result);
+
+ while ($settlement < Date::PHPToExcel($result)) {
+ self::monthsDiff($result, $months, '-', $day, $lastDayFlag);
+ }
+ if ($next === true) {
+ self::monthsDiff($result, $months, '+', $day, $lastDayFlag);
+ }
+
+ return (float) Date::PHPToExcel($result);
+ }
+
+ private static function validateCouponPeriod(float $settlement, float $maturity): void
+ {
+ if ($settlement >= $maturity) {
+ throw new Exception(ExcelError::NAN());
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Depreciation.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Depreciation.php
new file mode 100644
index 0000000..a0f6f6b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Depreciation.php
@@ -0,0 +1,270 @@
+getMessage();
+ }
+
+ if ($cost === self::$zeroPointZero) {
+ return 0.0;
+ }
+
+ // Set Fixed Depreciation Rate
+ $fixedDepreciationRate = 1 - ($salvage / $cost) ** (1 / $life);
+ $fixedDepreciationRate = round($fixedDepreciationRate, 3);
+
+ // Loop through each period calculating the depreciation
+ // TODO Handle period value between 0 and 1 (e.g. 0.5)
+ $previousDepreciation = 0;
+ $depreciation = 0;
+ for ($per = 1; $per <= $period; ++$per) {
+ if ($per == 1) {
+ $depreciation = $cost * $fixedDepreciationRate * $month / 12;
+ } elseif ($per == ($life + 1)) {
+ $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate * (12 - $month) / 12;
+ } else {
+ $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate;
+ }
+ $previousDepreciation += $depreciation;
+ }
+
+ return $depreciation;
+ }
+
+ /**
+ * DDB.
+ *
+ * Returns the depreciation of an asset for a specified period using the
+ * double-declining balance method or some other method you specify.
+ *
+ * Excel Function:
+ * DDB(cost,salvage,life,period[,factor])
+ *
+ * @param mixed $cost Initial cost of the asset
+ * @param mixed $salvage Value at the end of the depreciation.
+ * (Sometimes called the salvage value of the asset)
+ * @param mixed $life Number of periods over which the asset is depreciated.
+ * (Sometimes called the useful life of the asset)
+ * @param mixed $period The period for which you want to calculate the
+ * depreciation. Period must use the same units as life.
+ * @param mixed $factor The rate at which the balance declines.
+ * If factor is omitted, it is assumed to be 2 (the
+ * double-declining balance method).
+ *
+ * @return float|string
+ */
+ public static function DDB(mixed $cost, mixed $salvage, mixed $life, mixed $period, mixed $factor = 2.0)
+ {
+ $cost = Functions::flattenSingleValue($cost);
+ $salvage = Functions::flattenSingleValue($salvage);
+ $life = Functions::flattenSingleValue($life);
+ $period = Functions::flattenSingleValue($period);
+ $factor = Functions::flattenSingleValue($factor);
+
+ try {
+ $cost = self::validateCost($cost);
+ $salvage = self::validateSalvage($salvage);
+ $life = self::validateLife($life);
+ $period = self::validatePeriod($period);
+ $factor = self::validateFactor($factor);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($period > $life) {
+ return ExcelError::NAN();
+ }
+
+ // Loop through each period calculating the depreciation
+ // TODO Handling for fractional $period values
+ $previousDepreciation = 0;
+ $depreciation = 0;
+ for ($per = 1; $per <= $period; ++$per) {
+ $depreciation = min(
+ ($cost - $previousDepreciation) * ($factor / $life),
+ ($cost - $salvage - $previousDepreciation)
+ );
+ $previousDepreciation += $depreciation;
+ }
+
+ return $depreciation;
+ }
+
+ /**
+ * SLN.
+ *
+ * Returns the straight-line depreciation of an asset for one period
+ *
+ * @param mixed $cost Initial cost of the asset
+ * @param mixed $salvage Value at the end of the depreciation
+ * @param mixed $life Number of periods over which the asset is depreciated
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function SLN(mixed $cost, mixed $salvage, mixed $life): string|float
+ {
+ $cost = Functions::flattenSingleValue($cost);
+ $salvage = Functions::flattenSingleValue($salvage);
+ $life = Functions::flattenSingleValue($life);
+
+ try {
+ $cost = self::validateCost($cost, true);
+ $salvage = self::validateSalvage($salvage, true);
+ $life = self::validateLife($life, true);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($life === self::$zeroPointZero) {
+ return ExcelError::DIV0();
+ }
+
+ return ($cost - $salvage) / $life;
+ }
+
+ /**
+ * SYD.
+ *
+ * Returns the sum-of-years' digits depreciation of an asset for a specified period.
+ *
+ * @param mixed $cost Initial cost of the asset
+ * @param mixed $salvage Value at the end of the depreciation
+ * @param mixed $life Number of periods over which the asset is depreciated
+ * @param mixed $period Period
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function SYD(mixed $cost, mixed $salvage, mixed $life, mixed $period): string|float
+ {
+ $cost = Functions::flattenSingleValue($cost);
+ $salvage = Functions::flattenSingleValue($salvage);
+ $life = Functions::flattenSingleValue($life);
+ $period = Functions::flattenSingleValue($period);
+
+ try {
+ $cost = self::validateCost($cost, true);
+ $salvage = self::validateSalvage($salvage);
+ $life = self::validateLife($life);
+ $period = self::validatePeriod($period);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($period > $life) {
+ return ExcelError::NAN();
+ }
+
+ $syd = (($cost - $salvage) * ($life - $period + 1) * 2) / ($life * ($life + 1));
+
+ return $syd;
+ }
+
+ private static function validateCost(mixed $cost, bool $negativeValueAllowed = false): float
+ {
+ $cost = FinancialValidations::validateFloat($cost);
+ if ($cost < 0.0 && $negativeValueAllowed === false) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $cost;
+ }
+
+ private static function validateSalvage(mixed $salvage, bool $negativeValueAllowed = false): float
+ {
+ $salvage = FinancialValidations::validateFloat($salvage);
+ if ($salvage < 0.0 && $negativeValueAllowed === false) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $salvage;
+ }
+
+ private static function validateLife(mixed $life, bool $negativeValueAllowed = false): float
+ {
+ $life = FinancialValidations::validateFloat($life);
+ if ($life < 0.0 && $negativeValueAllowed === false) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $life;
+ }
+
+ private static function validatePeriod(mixed $period, bool $negativeValueAllowed = false): float
+ {
+ $period = FinancialValidations::validateFloat($period);
+ if ($period <= 0.0 && $negativeValueAllowed === false) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $period;
+ }
+
+ private static function validateMonth(mixed $month): int
+ {
+ $month = FinancialValidations::validateInt($month);
+ if ($month < 1) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $month;
+ }
+
+ private static function validateFactor(mixed $factor): float
+ {
+ $factor = FinancialValidations::validateFloat($factor);
+ if ($factor <= 0.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $factor;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Dollar.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Dollar.php
new file mode 100644
index 0000000..b1535d4
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Dollar.php
@@ -0,0 +1,128 @@
+getMessage();
+ }
+
+ // Additional parameter validations
+ if ($fraction < 0) {
+ return ExcelError::NAN();
+ }
+ if ($fraction == 0) {
+ return ExcelError::DIV0();
+ }
+
+ $dollars = ($fractionalDollar < 0) ? ceil($fractionalDollar) : floor($fractionalDollar);
+ $cents = fmod($fractionalDollar, 1.0);
+ $cents /= $fraction;
+ $cents *= 10 ** ceil(log10($fraction));
+
+ return $dollars + $cents;
+ }
+
+ /**
+ * DOLLARFR.
+ *
+ * Converts a dollar price expressed as a decimal number into a dollar price
+ * expressed as a fraction.
+ * Fractional dollar numbers are sometimes used for security prices.
+ *
+ * Excel Function:
+ * DOLLARFR(decimal_dollar,fraction)
+ *
+ * @param mixed $decimalDollar Decimal Dollar
+ * Or can be an array of values
+ * @param mixed $fraction Fraction
+ * Or can be an array of values
+ */
+ public static function fractional(mixed $decimalDollar = null, mixed $fraction = 0): array|string|float
+ {
+ if (is_array($decimalDollar) || is_array($fraction)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $decimalDollar, $fraction);
+ }
+
+ try {
+ $decimalDollar = FinancialValidations::validateFloat(
+ Functions::flattenSingleValue($decimalDollar) ?? 0.0
+ );
+ $fraction = FinancialValidations::validateInt(Functions::flattenSingleValue($fraction));
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Additional parameter validations
+ if ($fraction < 0) {
+ return ExcelError::NAN();
+ }
+ if ($fraction == 0) {
+ return ExcelError::DIV0();
+ }
+
+ $dollars = ($decimalDollar < 0.0) ? ceil($decimalDollar) : floor($decimalDollar);
+ $cents = fmod($decimalDollar, 1);
+ $cents *= $fraction;
+ $cents *= 10 ** (-ceil(log10($fraction)));
+
+ return $dollars + $cents;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php
new file mode 100644
index 0000000..e596fc3
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/FinancialValidations.php
@@ -0,0 +1,122 @@
+ 4)) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $basis;
+ }
+
+ public static function validatePrice(mixed $price): float
+ {
+ $price = self::validateFloat($price);
+ if ($price < 0.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $price;
+ }
+
+ public static function validateParValue(mixed $parValue): float
+ {
+ $parValue = self::validateFloat($parValue);
+ if ($parValue < 0.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $parValue;
+ }
+
+ public static function validateYield(mixed $yield): float
+ {
+ $yield = self::validateFloat($yield);
+ if ($yield < 0.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $yield;
+ }
+
+ public static function validateDiscount(mixed $discount): float
+ {
+ $discount = self::validateFloat($discount);
+ if ($discount <= 0.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $discount;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Helpers.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Helpers.php
new file mode 100644
index 0000000..aa28712
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Helpers.php
@@ -0,0 +1,58 @@
+format('d') === $date->format('t');
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/InterestRate.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/InterestRate.php
new file mode 100644
index 0000000..2916df6
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/InterestRate.php
@@ -0,0 +1,71 @@
+getMessage();
+ }
+
+ if ($nominalRate <= 0 || $periodsPerYear < 1) {
+ return ExcelError::NAN();
+ }
+
+ return ((1 + $nominalRate / $periodsPerYear) ** $periodsPerYear) - 1;
+ }
+
+ /**
+ * NOMINAL.
+ *
+ * Returns the nominal interest rate given the effective rate and the number of compounding payments per year.
+ *
+ * @param mixed $effectiveRate Effective interest rate as a float
+ * @param mixed $periodsPerYear Integer number of compounding payments per year
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function nominal(mixed $effectiveRate = 0, mixed $periodsPerYear = 0): string|float
+ {
+ $effectiveRate = Functions::flattenSingleValue($effectiveRate);
+ $periodsPerYear = Functions::flattenSingleValue($periodsPerYear);
+
+ try {
+ $effectiveRate = FinancialValidations::validateFloat($effectiveRate);
+ $periodsPerYear = FinancialValidations::validateInt($periodsPerYear);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($effectiveRate <= 0 || $periodsPerYear < 1) {
+ return ExcelError::NAN();
+ }
+
+ // Calculate
+ return $periodsPerYear * (($effectiveRate + 1) ** (1 / $periodsPerYear) - 1);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php
new file mode 100644
index 0000000..eb57abf
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/AccruedInterest.php
@@ -0,0 +1,151 @@
+getMessage();
+ }
+
+ $daysBetweenIssueAndSettlement = Functions::scalar(YearFrac::fraction($issue, $settlement, $basis));
+ if (!is_numeric($daysBetweenIssueAndSettlement)) {
+ // return date error
+ return $daysBetweenIssueAndSettlement;
+ }
+ $daysBetweenFirstInterestAndSettlement = Functions::scalar(YearFrac::fraction($firstInterest, $settlement, $basis));
+ if (!is_numeric($daysBetweenFirstInterestAndSettlement)) {
+ // return date error
+ return $daysBetweenFirstInterestAndSettlement;
+ }
+
+ return $parValue * $rate * $daysBetweenIssueAndSettlement;
+ }
+
+ /**
+ * ACCRINTM.
+ *
+ * Returns the accrued interest for a security that pays interest at maturity.
+ *
+ * Excel Function:
+ * ACCRINTM(issue,settlement,rate[,par[,basis]])
+ *
+ * @param mixed $issue The security's issue date
+ * @param mixed $settlement The security's settlement (or maturity) date
+ * @param mixed $rate The security's annual coupon rate
+ * @param mixed $parValue The security's par value.
+ * If you omit parValue, ACCRINT uses $1,000.
+ * @param mixed $basis The type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function atMaturity(
+ mixed $issue,
+ mixed $settlement,
+ mixed $rate,
+ mixed $parValue = 1000,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ) {
+ $issue = Functions::flattenSingleValue($issue);
+ $settlement = Functions::flattenSingleValue($settlement);
+ $rate = Functions::flattenSingleValue($rate);
+ $parValue = ($parValue === null) ? 1000 : Functions::flattenSingleValue($parValue);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $issue = SecurityValidations::validateIssueDate($issue);
+ $settlement = SecurityValidations::validateSettlementDate($settlement);
+ SecurityValidations::validateSecurityPeriod($issue, $settlement);
+ $rate = SecurityValidations::validateRate($rate);
+ $parValue = SecurityValidations::validateParValue($parValue);
+ $basis = SecurityValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $daysBetweenIssueAndSettlement = Functions::scalar(YearFrac::fraction($issue, $settlement, $basis));
+ if (!is_numeric($daysBetweenIssueAndSettlement)) {
+ // return date error
+ return $daysBetweenIssueAndSettlement;
+ }
+
+ return $parValue * $rate * $daysBetweenIssueAndSettlement;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php
new file mode 100644
index 0000000..b07b2c9
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php
@@ -0,0 +1,283 @@
+getMessage();
+ }
+
+ $dsc = (float) Coupons::COUPDAYSNC($settlement, $maturity, $frequency, $basis);
+ $e = (float) Coupons::COUPDAYS($settlement, $maturity, $frequency, $basis);
+ $n = (int) Coupons::COUPNUM($settlement, $maturity, $frequency, $basis);
+ $a = (float) Coupons::COUPDAYBS($settlement, $maturity, $frequency, $basis);
+
+ $baseYF = 1.0 + ($yield / $frequency);
+ $rfp = 100 * ($rate / $frequency);
+ $de = $dsc / $e;
+
+ $result = $redemption / $baseYF ** (--$n + $de);
+ for ($k = 0; $k <= $n; ++$k) {
+ $result += $rfp / ($baseYF ** ($k + $de));
+ }
+ $result -= $rfp * ($a / $e);
+
+ return $result;
+ }
+
+ /**
+ * PRICEDISC.
+ *
+ * Returns the price per $100 face value of a discounted security.
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue date when the security
+ * is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $discount The security's discount rate
+ * @param mixed $redemption The security's redemption value per $100 face value
+ * @param mixed $basis The type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function priceDiscounted(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $discount,
+ mixed $redemption,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ) {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $discount = Functions::flattenSingleValue($discount);
+ $redemption = Functions::flattenSingleValue($redemption);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = SecurityValidations::validateSettlementDate($settlement);
+ $maturity = SecurityValidations::validateMaturityDate($maturity);
+ SecurityValidations::validateSecurityPeriod($settlement, $maturity);
+ $discount = SecurityValidations::validateDiscount($discount);
+ $redemption = SecurityValidations::validateRedemption($redemption);
+ $basis = SecurityValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $daysBetweenSettlementAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis));
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return $daysBetweenSettlementAndMaturity;
+ }
+
+ return $redemption * (1 - $discount * $daysBetweenSettlementAndMaturity);
+ }
+
+ /**
+ * PRICEMAT.
+ *
+ * Returns the price per $100 face value of a security that pays interest at maturity.
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security's settlement date is the date after the issue date when the
+ * security is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $issue The security's issue date
+ * @param mixed $rate The security's interest rate at date of issue
+ * @param mixed $yield The security's annual yield
+ * @param mixed $basis The type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function priceAtMaturity(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $issue,
+ mixed $rate,
+ mixed $yield,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ) {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $issue = Functions::flattenSingleValue($issue);
+ $rate = Functions::flattenSingleValue($rate);
+ $yield = Functions::flattenSingleValue($yield);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = SecurityValidations::validateSettlementDate($settlement);
+ $maturity = SecurityValidations::validateMaturityDate($maturity);
+ SecurityValidations::validateSecurityPeriod($settlement, $maturity);
+ $issue = SecurityValidations::validateIssueDate($issue);
+ $rate = SecurityValidations::validateRate($rate);
+ $yield = SecurityValidations::validateYield($yield);
+ $basis = SecurityValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $daysPerYear = Helpers::daysPerYear(Functions::scalar(DateTimeExcel\DateParts::year($settlement)), $basis);
+ if (!is_numeric($daysPerYear)) {
+ return $daysPerYear;
+ }
+ $daysBetweenIssueAndSettlement = Functions::scalar(DateTimeExcel\YearFrac::fraction($issue, $settlement, $basis));
+ if (!is_numeric($daysBetweenIssueAndSettlement)) {
+ // return date error
+ return $daysBetweenIssueAndSettlement;
+ }
+ $daysBetweenIssueAndSettlement *= $daysPerYear;
+ $daysBetweenIssueAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($issue, $maturity, $basis));
+ if (!is_numeric($daysBetweenIssueAndMaturity)) {
+ // return date error
+ return $daysBetweenIssueAndMaturity;
+ }
+ $daysBetweenIssueAndMaturity *= $daysPerYear;
+ $daysBetweenSettlementAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis));
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return $daysBetweenSettlementAndMaturity;
+ }
+ $daysBetweenSettlementAndMaturity *= $daysPerYear;
+
+ return (100 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate * 100))
+ / (1 + (($daysBetweenSettlementAndMaturity / $daysPerYear) * $yield))
+ - (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate * 100);
+ }
+
+ /**
+ * RECEIVED.
+ *
+ * Returns the amount received at maturity for a fully invested Security.
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue date when the security
+ * is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $investment The amount invested in the security
+ * @param mixed $discount The security's discount rate
+ * @param mixed $basis The type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function received(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $investment,
+ mixed $discount,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ) {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $investment = Functions::flattenSingleValue($investment);
+ $discount = Functions::flattenSingleValue($discount);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = SecurityValidations::validateSettlementDate($settlement);
+ $maturity = SecurityValidations::validateMaturityDate($maturity);
+ SecurityValidations::validateSecurityPeriod($settlement, $maturity);
+ $investment = SecurityValidations::validateFloat($investment);
+ $discount = SecurityValidations::validateDiscount($discount);
+ $basis = SecurityValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($investment <= 0) {
+ return ExcelError::NAN();
+ }
+ $daysBetweenSettlementAndMaturity = DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis);
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return Functions::scalar($daysBetweenSettlementAndMaturity);
+ }
+
+ return $investment / (1 - ($discount * $daysBetweenSettlementAndMaturity));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php
new file mode 100644
index 0000000..e0c7e35
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Rates.php
@@ -0,0 +1,138 @@
+getMessage();
+ }
+
+ if ($price <= 0.0) {
+ return ExcelError::NAN();
+ }
+
+ $daysBetweenSettlementAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis));
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return $daysBetweenSettlementAndMaturity;
+ }
+
+ return (1 - $price / $redemption) / $daysBetweenSettlementAndMaturity;
+ }
+
+ /**
+ * INTRATE.
+ *
+ * Returns the interest rate for a fully invested security.
+ *
+ * Excel Function:
+ * INTRATE(settlement,maturity,investment,redemption[,basis])
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security settlement date is the date after the issue date when the security
+ * is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $investment the amount invested in the security
+ * @param mixed $redemption the amount to be received at maturity
+ * @param mixed $basis The type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string
+ */
+ public static function interest(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $investment,
+ mixed $redemption,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ) {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $investment = Functions::flattenSingleValue($investment);
+ $redemption = Functions::flattenSingleValue($redemption);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = SecurityValidations::validateSettlementDate($settlement);
+ $maturity = SecurityValidations::validateMaturityDate($maturity);
+ SecurityValidations::validateSecurityPeriod($settlement, $maturity);
+ $investment = SecurityValidations::validateFloat($investment);
+ $redemption = SecurityValidations::validateRedemption($redemption);
+ $basis = SecurityValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($investment <= 0) {
+ return ExcelError::NAN();
+ }
+
+ $daysBetweenSettlementAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis));
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return $daysBetweenSettlementAndMaturity;
+ }
+
+ return (($redemption / $investment) - 1) / ($daysBetweenSettlementAndMaturity);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/SecurityValidations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/SecurityValidations.php
new file mode 100644
index 0000000..a0804cb
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/SecurityValidations.php
@@ -0,0 +1,32 @@
+= $maturity) {
+ throw new Exception(ExcelError::NAN());
+ }
+ }
+
+ public static function validateRedemption(mixed $redemption): float
+ {
+ $redemption = self::validateFloat($redemption);
+ if ($redemption <= 0.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $redemption;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php
new file mode 100644
index 0000000..a4c5a48
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php
@@ -0,0 +1,153 @@
+getMessage();
+ }
+
+ $daysPerYear = Helpers::daysPerYear(Functions::scalar(DateTimeExcel\DateParts::year($settlement)), $basis);
+ if (!is_numeric($daysPerYear)) {
+ return $daysPerYear;
+ }
+ $daysBetweenSettlementAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis));
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return $daysBetweenSettlementAndMaturity;
+ }
+ $daysBetweenSettlementAndMaturity *= $daysPerYear;
+
+ return (($redemption - $price) / $price) * ($daysPerYear / $daysBetweenSettlementAndMaturity);
+ }
+
+ /**
+ * YIELDMAT.
+ *
+ * Returns the annual yield of a security that pays interest at maturity.
+ *
+ * @param mixed $settlement The security's settlement date.
+ * The security's settlement date is the date after the issue date when the security
+ * is traded to the buyer.
+ * @param mixed $maturity The security's maturity date.
+ * The maturity date is the date when the security expires.
+ * @param mixed $issue The security's issue date
+ * @param mixed $rate The security's interest rate at date of issue
+ * @param mixed $price The security's price per $100 face value
+ * @param mixed $basis The type of day count to use.
+ * 0 or omitted US (NASD) 30/360
+ * 1 Actual/actual
+ * 2 Actual/360
+ * 3 Actual/365
+ * 4 European 30/360
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function yieldAtMaturity(
+ mixed $settlement,
+ mixed $maturity,
+ mixed $issue,
+ mixed $rate,
+ mixed $price,
+ mixed $basis = FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ ) {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $issue = Functions::flattenSingleValue($issue);
+ $rate = Functions::flattenSingleValue($rate);
+ $price = Functions::flattenSingleValue($price);
+ $basis = ($basis === null)
+ ? FinancialConstants::BASIS_DAYS_PER_YEAR_NASD
+ : Functions::flattenSingleValue($basis);
+
+ try {
+ $settlement = SecurityValidations::validateSettlementDate($settlement);
+ $maturity = SecurityValidations::validateMaturityDate($maturity);
+ SecurityValidations::validateSecurityPeriod($settlement, $maturity);
+ $issue = SecurityValidations::validateIssueDate($issue);
+ $rate = SecurityValidations::validateRate($rate);
+ $price = SecurityValidations::validatePrice($price);
+ $basis = SecurityValidations::validateBasis($basis);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $daysPerYear = Helpers::daysPerYear(Functions::scalar(DateTimeExcel\DateParts::year($settlement)), $basis);
+ if (!is_numeric($daysPerYear)) {
+ return $daysPerYear;
+ }
+ $daysBetweenIssueAndSettlement = Functions::scalar(DateTimeExcel\YearFrac::fraction($issue, $settlement, $basis));
+ if (!is_numeric($daysBetweenIssueAndSettlement)) {
+ // return date error
+ return $daysBetweenIssueAndSettlement;
+ }
+ $daysBetweenIssueAndSettlement *= $daysPerYear;
+ $daysBetweenIssueAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($issue, $maturity, $basis));
+ if (!is_numeric($daysBetweenIssueAndMaturity)) {
+ // return date error
+ return $daysBetweenIssueAndMaturity;
+ }
+ $daysBetweenIssueAndMaturity *= $daysPerYear;
+ $daysBetweenSettlementAndMaturity = Functions::scalar(DateTimeExcel\YearFrac::fraction($settlement, $maturity, $basis));
+ if (!is_numeric($daysBetweenSettlementAndMaturity)) {
+ // return date error
+ return $daysBetweenSettlementAndMaturity;
+ }
+ $daysBetweenSettlementAndMaturity *= $daysPerYear;
+
+ return ((1 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate)
+ - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate)))
+ / (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate)))
+ * ($daysPerYear / $daysBetweenSettlementAndMaturity);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php
new file mode 100644
index 0000000..699efcc
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/TreasuryBill.php
@@ -0,0 +1,146 @@
+getMessage();
+ }
+
+ if ($discount <= 0) {
+ return ExcelError::NAN();
+ }
+
+ $daysBetweenSettlementAndMaturity = $maturity - $settlement;
+ $daysPerYear = Helpers::daysPerYear(
+ Functions::scalar(DateTimeExcel\DateParts::year($maturity)),
+ FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL
+ );
+
+ if ($daysBetweenSettlementAndMaturity > $daysPerYear || $daysBetweenSettlementAndMaturity < 0) {
+ return ExcelError::NAN();
+ }
+
+ return (365 * $discount) / (360 - $discount * $daysBetweenSettlementAndMaturity);
+ }
+
+ /**
+ * TBILLPRICE.
+ *
+ * Returns the price per $100 face value for a Treasury bill.
+ *
+ * @param mixed $settlement The Treasury bill's settlement date.
+ * The Treasury bill's settlement date is the date after the issue date
+ * when the Treasury bill is traded to the buyer.
+ * @param mixed $maturity The Treasury bill's maturity date.
+ * The maturity date is the date when the Treasury bill expires.
+ * @param mixed $discount The Treasury bill's discount rate
+ *
+ * @return float|string Result, or a string containing an error
+ */
+ public static function price(mixed $settlement, mixed $maturity, mixed $discount): string|float
+ {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $discount = Functions::flattenSingleValue($discount);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ $discount = FinancialValidations::validateFloat($discount);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($discount <= 0) {
+ return ExcelError::NAN();
+ }
+
+ $daysBetweenSettlementAndMaturity = $maturity - $settlement;
+ $daysPerYear = Helpers::daysPerYear(
+ Functions::scalar(DateTimeExcel\DateParts::year($maturity)),
+ FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL
+ );
+
+ if ($daysBetweenSettlementAndMaturity > $daysPerYear || $daysBetweenSettlementAndMaturity < 0) {
+ return ExcelError::NAN();
+ }
+
+ $price = 100 * (1 - (($discount * $daysBetweenSettlementAndMaturity) / 360));
+ if ($price < 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return $price;
+ }
+
+ /**
+ * TBILLYIELD.
+ *
+ * Returns the yield for a Treasury bill.
+ *
+ * @param mixed $settlement The Treasury bill's settlement date.
+ * The Treasury bill's settlement date is the date after the issue date when
+ * the Treasury bill is traded to the buyer.
+ * @param mixed $maturity The Treasury bill's maturity date.
+ * The maturity date is the date when the Treasury bill expires.
+ * @param float|string $price The Treasury bill's price per $100 face value
+ */
+ public static function yield(mixed $settlement, mixed $maturity, $price): string|float
+ {
+ $settlement = Functions::flattenSingleValue($settlement);
+ $maturity = Functions::flattenSingleValue($maturity);
+ $price = Functions::flattenSingleValue($price);
+
+ try {
+ $settlement = FinancialValidations::validateSettlementDate($settlement);
+ $maturity = FinancialValidations::validateMaturityDate($maturity);
+ $price = FinancialValidations::validatePrice($price);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $daysBetweenSettlementAndMaturity = $maturity - $settlement;
+ $daysPerYear = Helpers::daysPerYear(
+ Functions::scalar(DateTimeExcel\DateParts::year($maturity)),
+ FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL
+ );
+
+ if ($daysBetweenSettlementAndMaturity > $daysPerYear || $daysBetweenSettlementAndMaturity < 0) {
+ return ExcelError::NAN();
+ }
+
+ return ((100 - $price) / $price) * (360 / $daysBetweenSettlementAndMaturity);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php
new file mode 100644
index 0000000..0be1ca8
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php
@@ -0,0 +1,618 @@
+<';
+ const OPERATORS_POSTFIX = '%';
+
+ /**
+ * Formula.
+ */
+ private string $formula;
+
+ /**
+ * Tokens.
+ *
+ * @var FormulaToken[]
+ */
+ private $tokens = [];
+
+ /**
+ * Create a new FormulaParser.
+ *
+ * @param ?string $formula Formula to parse
+ */
+ public function __construct($formula = '')
+ {
+ // Check parameters
+ if ($formula === null) {
+ throw new Exception('Invalid parameter passed: formula');
+ }
+
+ // Initialise values
+ $this->formula = trim($formula);
+ // Parse!
+ $this->parseToTokens();
+ }
+
+ /**
+ * Get Formula.
+ *
+ * @return string
+ */
+ public function getFormula()
+ {
+ return $this->formula;
+ }
+
+ /**
+ * Get Token.
+ *
+ * @param int $id Token id
+ */
+ public function getToken(int $id = 0): FormulaToken
+ {
+ if (isset($this->tokens[$id])) {
+ return $this->tokens[$id];
+ }
+
+ throw new Exception("Token with id $id does not exist.");
+ }
+
+ /**
+ * Get Token count.
+ */
+ public function getTokenCount(): int
+ {
+ return count($this->tokens);
+ }
+
+ /**
+ * Get Tokens.
+ *
+ * @return FormulaToken[]
+ */
+ public function getTokens()
+ {
+ return $this->tokens;
+ }
+
+ /**
+ * Parse to tokens.
+ */
+ private function parseToTokens(): void
+ {
+ // No attempt is made to verify formulas; assumes formulas are derived from Excel, where
+ // they can only exist if valid; stack overflows/underflows sunk as nulls without exceptions.
+
+ // Check if the formula has a valid starting =
+ $formulaLength = strlen($this->formula);
+ if ($formulaLength < 2 || $this->formula[0] != '=') {
+ return;
+ }
+
+ // Helper variables
+ $tokens1 = $tokens2 = $stack = [];
+ $inString = $inPath = $inRange = $inError = false;
+ $nextToken = null;
+ //$token = $previousToken = null;
+
+ $index = 1;
+ $value = '';
+
+ $ERRORS = ['#NULL!', '#DIV/0!', '#VALUE!', '#REF!', '#NAME?', '#NUM!', '#N/A'];
+ $COMPARATORS_MULTI = ['>=', '<=', '<>'];
+
+ while ($index < $formulaLength) {
+ // state-dependent character evaluation (order is important)
+
+ // double-quoted strings
+ // embeds are doubled
+ // end marks token
+ if ($inString) {
+ if ($this->formula[$index] == self::QUOTE_DOUBLE) {
+ if ((($index + 2) <= $formulaLength) && ($this->formula[$index + 1] == self::QUOTE_DOUBLE)) {
+ $value .= self::QUOTE_DOUBLE;
+ ++$index;
+ } else {
+ $inString = false;
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND, FormulaToken::TOKEN_SUBTYPE_TEXT);
+ $value = '';
+ }
+ } else {
+ $value .= $this->formula[$index];
+ }
+ ++$index;
+
+ continue;
+ }
+
+ // single-quoted strings (links)
+ // embeds are double
+ // end does not mark a token
+ if ($inPath) {
+ if ($this->formula[$index] == self::QUOTE_SINGLE) {
+ if ((($index + 2) <= $formulaLength) && ($this->formula[$index + 1] == self::QUOTE_SINGLE)) {
+ $value .= self::QUOTE_SINGLE;
+ ++$index;
+ } else {
+ $inPath = false;
+ }
+ } else {
+ $value .= $this->formula[$index];
+ }
+ ++$index;
+
+ continue;
+ }
+
+ // bracked strings (R1C1 range index or linked workbook name)
+ // no embeds (changed to "()" by Excel)
+ // end does not mark a token
+ if ($inRange) {
+ if ($this->formula[$index] == self::BRACKET_CLOSE) {
+ $inRange = false;
+ }
+ $value .= $this->formula[$index];
+ ++$index;
+
+ continue;
+ }
+
+ // error values
+ // end marks a token, determined from absolute list of values
+ if ($inError) {
+ $value .= $this->formula[$index];
+ ++$index;
+ if (in_array($value, $ERRORS)) {
+ $inError = false;
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND, FormulaToken::TOKEN_SUBTYPE_ERROR);
+ $value = '';
+ }
+
+ continue;
+ }
+
+ // scientific notation check
+ if (str_contains(self::OPERATORS_SN, $this->formula[$index])) {
+ if (strlen($value) > 1) {
+ if (preg_match('/^[1-9]{1}(\\.\\d+)?E{1}$/', $this->formula[$index]) != 0) {
+ $value .= $this->formula[$index];
+ ++$index;
+
+ continue;
+ }
+ }
+ }
+
+ // independent character evaluation (order not important)
+
+ // establish state-dependent character evaluations
+ if ($this->formula[$index] == self::QUOTE_DOUBLE) {
+ if ($value !== '') {
+ // unexpected
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_UNKNOWN);
+ $value = '';
+ }
+ $inString = true;
+ ++$index;
+
+ continue;
+ }
+
+ if ($this->formula[$index] == self::QUOTE_SINGLE) {
+ if ($value !== '') {
+ // unexpected
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_UNKNOWN);
+ $value = '';
+ }
+ $inPath = true;
+ ++$index;
+
+ continue;
+ }
+
+ if ($this->formula[$index] == self::BRACKET_OPEN) {
+ $inRange = true;
+ $value .= self::BRACKET_OPEN;
+ ++$index;
+
+ continue;
+ }
+
+ if ($this->formula[$index] == self::ERROR_START) {
+ if ($value !== '') {
+ // unexpected
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_UNKNOWN);
+ $value = '';
+ }
+ $inError = true;
+ $value .= self::ERROR_START;
+ ++$index;
+
+ continue;
+ }
+
+ // mark start and end of arrays and array rows
+ if ($this->formula[$index] == self::BRACE_OPEN) {
+ if ($value !== '') {
+ // unexpected
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_UNKNOWN);
+ $value = '';
+ }
+
+ $tmp = new FormulaToken('ARRAY', FormulaToken::TOKEN_TYPE_FUNCTION, FormulaToken::TOKEN_SUBTYPE_START);
+ $tokens1[] = $tmp;
+ $stack[] = clone $tmp;
+
+ $tmp = new FormulaToken('ARRAYROW', FormulaToken::TOKEN_TYPE_FUNCTION, FormulaToken::TOKEN_SUBTYPE_START);
+ $tokens1[] = $tmp;
+ $stack[] = clone $tmp;
+
+ ++$index;
+
+ continue;
+ }
+
+ if ($this->formula[$index] == self::SEMICOLON) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+
+ /** @var FormulaToken $tmp */
+ $tmp = array_pop($stack);
+ $tmp->setValue('');
+ $tmp->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_STOP);
+ $tokens1[] = $tmp;
+
+ $tmp = new FormulaToken(',', FormulaToken::TOKEN_TYPE_ARGUMENT);
+ $tokens1[] = $tmp;
+
+ $tmp = new FormulaToken('ARRAYROW', FormulaToken::TOKEN_TYPE_FUNCTION, FormulaToken::TOKEN_SUBTYPE_START);
+ $tokens1[] = $tmp;
+ $stack[] = clone $tmp;
+
+ ++$index;
+
+ continue;
+ }
+
+ if ($this->formula[$index] == self::BRACE_CLOSE) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+
+ /** @var FormulaToken $tmp */
+ $tmp = array_pop($stack);
+ $tmp->setValue('');
+ $tmp->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_STOP);
+ $tokens1[] = $tmp;
+
+ /** @var FormulaToken $tmp */
+ $tmp = array_pop($stack);
+ $tmp->setValue('');
+ $tmp->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_STOP);
+ $tokens1[] = $tmp;
+
+ ++$index;
+
+ continue;
+ }
+
+ // trim white-space
+ if ($this->formula[$index] == self::WHITESPACE) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+ $tokens1[] = new FormulaToken('', FormulaToken::TOKEN_TYPE_WHITESPACE);
+ ++$index;
+ while (($this->formula[$index] == self::WHITESPACE) && ($index < $formulaLength)) {
+ ++$index;
+ }
+
+ continue;
+ }
+
+ // multi-character comparators
+ if (($index + 2) <= $formulaLength) {
+ if (in_array(substr($this->formula, $index, 2), $COMPARATORS_MULTI)) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+ $tokens1[] = new FormulaToken(substr($this->formula, $index, 2), FormulaToken::TOKEN_TYPE_OPERATORINFIX, FormulaToken::TOKEN_SUBTYPE_LOGICAL);
+ $index += 2;
+
+ continue;
+ }
+ }
+
+ // standard infix operators
+ if (str_contains(self::OPERATORS_INFIX, $this->formula[$index])) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+ $tokens1[] = new FormulaToken($this->formula[$index], FormulaToken::TOKEN_TYPE_OPERATORINFIX);
+ ++$index;
+
+ continue;
+ }
+
+ // standard postfix operators (only one)
+ if (str_contains(self::OPERATORS_POSTFIX, $this->formula[$index])) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+ $tokens1[] = new FormulaToken($this->formula[$index], FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX);
+ ++$index;
+
+ continue;
+ }
+
+ // start subexpression or function
+ if ($this->formula[$index] == self::PAREN_OPEN) {
+ if ($value !== '') {
+ $tmp = new FormulaToken($value, FormulaToken::TOKEN_TYPE_FUNCTION, FormulaToken::TOKEN_SUBTYPE_START);
+ $tokens1[] = $tmp;
+ $stack[] = clone $tmp;
+ $value = '';
+ } else {
+ $tmp = new FormulaToken('', FormulaToken::TOKEN_TYPE_SUBEXPRESSION, FormulaToken::TOKEN_SUBTYPE_START);
+ $tokens1[] = $tmp;
+ $stack[] = clone $tmp;
+ }
+ ++$index;
+
+ continue;
+ }
+
+ // function, subexpression, or array parameters, or operand unions
+ if ($this->formula[$index] == self::COMMA) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+
+ /** @var FormulaToken $tmp */
+ $tmp = array_pop($stack);
+ $tmp->setValue('');
+ $tmp->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_STOP);
+ $stack[] = $tmp;
+
+ if ($tmp->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) {
+ $tokens1[] = new FormulaToken(',', FormulaToken::TOKEN_TYPE_OPERATORINFIX, FormulaToken::TOKEN_SUBTYPE_UNION);
+ } else {
+ $tokens1[] = new FormulaToken(',', FormulaToken::TOKEN_TYPE_ARGUMENT);
+ }
+ ++$index;
+
+ continue;
+ }
+
+ // stop subexpression
+ if ($this->formula[$index] == self::PAREN_CLOSE) {
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ $value = '';
+ }
+
+ /** @var FormulaToken $tmp */
+ $tmp = array_pop($stack);
+ $tmp->setValue('');
+ $tmp->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_STOP);
+ $tokens1[] = $tmp;
+
+ ++$index;
+
+ continue;
+ }
+
+ // token accumulation
+ $value .= $this->formula[$index];
+ ++$index;
+ }
+
+ // dump remaining accumulation
+ if ($value !== '') {
+ $tokens1[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERAND);
+ }
+
+ // move tokenList to new set, excluding unnecessary white-space tokens and converting necessary ones to intersections
+ $tokenCount = count($tokens1);
+ for ($i = 0; $i < $tokenCount; ++$i) {
+ $token = $tokens1[$i];
+ if (isset($tokens1[$i - 1])) {
+ $previousToken = $tokens1[$i - 1];
+ } else {
+ $previousToken = null;
+ }
+ if (isset($tokens1[$i + 1])) {
+ $nextToken = $tokens1[$i + 1];
+ } else {
+ $nextToken = null;
+ }
+
+ if ($token->getTokenType() != FormulaToken::TOKEN_TYPE_WHITESPACE) {
+ $tokens2[] = $token;
+
+ continue;
+ }
+
+ if ($previousToken === null) {
+ continue;
+ }
+
+ if (
+ !(
+ (($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP))
+ || (($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP))
+ || ($previousToken->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND)
+ )
+ ) {
+ continue;
+ }
+
+ if ($nextToken === null) {
+ continue;
+ }
+
+ if (
+ !(
+ (($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_START))
+ || (($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_START))
+ || ($nextToken->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND)
+ )
+ ) {
+ continue;
+ }
+
+ $tokens2[] = new FormulaToken($value, FormulaToken::TOKEN_TYPE_OPERATORINFIX, FormulaToken::TOKEN_SUBTYPE_INTERSECTION);
+ }
+
+ // move tokens to final list, switching infix "-" operators to prefix when appropriate, switching infix "+" operators
+ // to noop when appropriate, identifying operand and infix-operator subtypes, and pulling "@" from function names
+ $this->tokens = [];
+
+ $tokenCount = count($tokens2);
+ for ($i = 0; $i < $tokenCount; ++$i) {
+ $token = $tokens2[$i];
+ if (isset($tokens2[$i - 1])) {
+ $previousToken = $tokens2[$i - 1];
+ } else {
+ $previousToken = null;
+ }
+
+ if ($token->getTokenType() == FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == '-') {
+ if ($i == 0) {
+ $token->setTokenType(FormulaToken::TOKEN_TYPE_OPERATORPREFIX);
+ } elseif (
+ (($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION)
+ && ($previousToken?->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP))
+ || (($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION)
+ && ($previousToken?->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP))
+ || ($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX)
+ || ($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND)
+ ) {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_MATH);
+ } else {
+ $token->setTokenType(FormulaToken::TOKEN_TYPE_OPERATORPREFIX);
+ }
+
+ $this->tokens[] = $token;
+
+ continue;
+ }
+
+ if ($token->getTokenType() == FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == '+') {
+ if ($i == 0) {
+ continue;
+ } elseif (
+ (($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION)
+ && ($previousToken?->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP))
+ || (($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_SUBEXPRESSION)
+ && ($previousToken?->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_STOP))
+ || ($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX)
+ || ($previousToken?->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND)
+ ) {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_MATH);
+ } else {
+ continue;
+ }
+
+ $this->tokens[] = $token;
+
+ continue;
+ }
+
+ if (
+ $token->getTokenType() == FormulaToken::TOKEN_TYPE_OPERATORINFIX
+ && $token->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_NOTHING
+ ) {
+ if (str_contains('<>=', substr($token->getValue(), 0, 1))) {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_LOGICAL);
+ } elseif ($token->getValue() == '&') {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_CONCATENATION);
+ } else {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_MATH);
+ }
+
+ $this->tokens[] = $token;
+
+ continue;
+ }
+
+ if (
+ $token->getTokenType() == FormulaToken::TOKEN_TYPE_OPERAND
+ && $token->getTokenSubType() == FormulaToken::TOKEN_SUBTYPE_NOTHING
+ ) {
+ if (!is_numeric($token->getValue())) {
+ if (strtoupper($token->getValue()) == 'TRUE' || strtoupper($token->getValue()) == 'FALSE') {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_LOGICAL);
+ } else {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_RANGE);
+ }
+ } else {
+ $token->setTokenSubType(FormulaToken::TOKEN_SUBTYPE_NUMBER);
+ }
+
+ $this->tokens[] = $token;
+
+ continue;
+ }
+
+ if ($token->getTokenType() == FormulaToken::TOKEN_TYPE_FUNCTION) {
+ if ($token->getValue() !== '') {
+ if (str_starts_with($token->getValue(), '@')) {
+ $token->setValue(substr($token->getValue(), 1));
+ }
+ }
+ }
+
+ $this->tokens[] = $token;
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaToken.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaToken.php
new file mode 100644
index 0000000..68e5eea
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaToken.php
@@ -0,0 +1,150 @@
+value = $value;
+ $this->tokenType = $tokenType;
+ $this->tokenSubType = $tokenSubType;
+ }
+
+ /**
+ * Get Value.
+ *
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Set Value.
+ *
+ * @param string $value
+ */
+ public function setValue($value): void
+ {
+ $this->value = $value;
+ }
+
+ /**
+ * Get Token Type (represented by TOKEN_TYPE_*).
+ *
+ * @return string
+ */
+ public function getTokenType()
+ {
+ return $this->tokenType;
+ }
+
+ /**
+ * Set Token Type (represented by TOKEN_TYPE_*).
+ *
+ * @param string $value
+ */
+ public function setTokenType($value): void
+ {
+ $this->tokenType = $value;
+ }
+
+ /**
+ * Get Token SubType (represented by TOKEN_SUBTYPE_*).
+ *
+ * @return string
+ */
+ public function getTokenSubType()
+ {
+ return $this->tokenSubType;
+ }
+
+ /**
+ * Set Token SubType (represented by TOKEN_SUBTYPE_*).
+ *
+ * @param string $value
+ */
+ public function setTokenSubType($value): void
+ {
+ $this->tokenSubType = $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php
new file mode 100644
index 0000000..9cde335
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php
@@ -0,0 +1,667 @@
+ 0);
+ }
+
+ public static function isValue(mixed $idx): bool
+ {
+ return substr_count($idx, '.') === 0;
+ }
+
+ public static function isCellValue(mixed $idx): bool
+ {
+ return substr_count($idx, '.') > 1;
+ }
+
+ public static function ifCondition(mixed $condition): string
+ {
+ $condition = self::flattenSingleValue($condition);
+
+ if ($condition === '' || $condition === null) {
+ return '=""';
+ }
+ if (!is_string($condition) || !in_array($condition[0], ['>', '<', '='], true)) {
+ $condition = self::operandSpecialHandling($condition);
+ if (is_bool($condition)) {
+ return '=' . ($condition ? 'TRUE' : 'FALSE');
+ } elseif (!is_numeric($condition)) {
+ if ($condition !== '""') { // Not an empty string
+ // Escape any quotes in the string value
+ $condition = (string) preg_replace('/"/ui', '""', $condition);
+ }
+ $condition = Calculation::wrapResult(strtoupper($condition));
+ }
+
+ return str_replace('""""', '""', '=' . $condition);
+ }
+ preg_match('/(=|<[>=]?|>=?)(.*)/', $condition, $matches);
+ [, $operator, $operand] = $matches;
+
+ $operand = self::operandSpecialHandling($operand);
+ if (is_numeric(trim($operand, '"'))) {
+ $operand = trim($operand, '"');
+ } elseif (!is_numeric($operand) && $operand !== 'FALSE' && $operand !== 'TRUE') {
+ $operand = str_replace('"', '""', $operand);
+ $operand = Calculation::wrapResult(strtoupper($operand));
+ }
+
+ return str_replace('""""', '""', $operator . $operand);
+ }
+
+ /**
+ * @return mixed
+ */
+ private static function operandSpecialHandling(mixed $operand)
+ {
+ if (is_numeric($operand) || is_bool($operand)) {
+ return $operand;
+ } elseif (strtoupper($operand) === Calculation::getTRUE() || strtoupper($operand) === Calculation::getFALSE()) {
+ return strtoupper($operand);
+ }
+
+ // Check for percentage
+ if (preg_match('/^\-?\d*\.?\d*\s?\%$/', $operand)) {
+ return ((float) rtrim($operand, '%')) / 100;
+ }
+
+ // Check for dates
+ if (($dateValueOperand = Date::stringToExcel($operand)) !== false) {
+ return $dateValueOperand;
+ }
+
+ return $operand;
+ }
+
+ /**
+ * NULL.
+ *
+ * Returns the error value #NULL!
+ *
+ * @deprecated 1.23.0 Use the null() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::null()
+ *
+ * @return string #NULL!
+ */
+ public static function null(): string
+ {
+ return Information\ExcelError::null();
+ }
+
+ /**
+ * NaN.
+ *
+ * Returns the error value #NUM!
+ *
+ * @deprecated 1.23.0 Use the NAN() method in the Information\Error class instead
+ * @see Information\ExcelError::NAN()
+ *
+ * @return string #NUM!
+ */
+ public static function NAN(): string
+ {
+ return Information\ExcelError::NAN();
+ }
+
+ /**
+ * REF.
+ *
+ * Returns the error value #REF!
+ *
+ * @deprecated 1.23.0 Use the REF() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::REF()
+ *
+ * @return string #REF!
+ */
+ public static function REF(): string
+ {
+ return Information\ExcelError::REF();
+ }
+
+ /**
+ * NA.
+ *
+ * Excel Function:
+ * =NA()
+ *
+ * Returns the error value #N/A
+ * #N/A is the error value that means "no value is available."
+ *
+ * @deprecated 1.23.0 Use the NA() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::NA()
+ *
+ * @return string #N/A!
+ */
+ public static function NA(): string
+ {
+ return Information\ExcelError::NA();
+ }
+
+ /**
+ * VALUE.
+ *
+ * Returns the error value #VALUE!
+ *
+ * @deprecated 1.23.0 Use the VALUE() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::VALUE()
+ *
+ * @return string #VALUE!
+ */
+ public static function VALUE(): string
+ {
+ return Information\ExcelError::VALUE();
+ }
+
+ /**
+ * NAME.
+ *
+ * Returns the error value #NAME?
+ *
+ * @deprecated 1.23.0 Use the NAME() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::NAME()
+ *
+ * @return string #NAME?
+ */
+ public static function NAME(): string
+ {
+ return Information\ExcelError::NAME();
+ }
+
+ /**
+ * DIV0.
+ *
+ * @deprecated 1.23.0 Use the DIV0() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::DIV0()
+ *
+ * @return string #Not Yet Implemented
+ */
+ public static function DIV0(): string
+ {
+ return Information\ExcelError::DIV0();
+ }
+
+ /**
+ * ERROR_TYPE.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the type() method in the Information\ExcelError class instead
+ * @see Information\ExcelError::type()
+ *
+ * @return array|int|string
+ */
+ public static function errorType(mixed $value = '')
+ {
+ return Information\ExcelError::type($value);
+ }
+
+ /**
+ * IS_BLANK.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isBlank() method in the Information\Value class instead
+ * @see Information\Value::isBlank()
+ *
+ * @return array|bool
+ */
+ public static function isBlank(mixed $value = null)
+ {
+ return Information\Value::isBlank($value);
+ }
+
+ /**
+ * IS_ERR.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isErr() method in the Information\ErrorValue class instead
+ * @see Information\ErrorValue::isErr()
+ *
+ * @return array|bool
+ */
+ public static function isErr(mixed $value = '')
+ {
+ return Information\ErrorValue::isErr($value);
+ }
+
+ /**
+ * IS_ERROR.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isError() method in the Information\ErrorValue class instead
+ * @see Information\ErrorValue::isError()
+ *
+ * @return array|bool
+ */
+ public static function isError(mixed $value = '')
+ {
+ return Information\ErrorValue::isError($value);
+ }
+
+ /**
+ * IS_NA.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isNa() method in the Information\ErrorValue class instead
+ * @see Information\ErrorValue::isNa()
+ *
+ * @return array|bool
+ */
+ public static function isNa(mixed $value = '')
+ {
+ return Information\ErrorValue::isNa($value);
+ }
+
+ /**
+ * IS_EVEN.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isEven() method in the Information\Value class instead
+ * @see Information\Value::isEven()
+ *
+ * @return array|bool|string
+ */
+ public static function isEven(mixed $value = null)
+ {
+ return Information\Value::isEven($value);
+ }
+
+ /**
+ * IS_ODD.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isOdd() method in the Information\Value class instead
+ * @see Information\Value::isOdd()
+ *
+ * @return array|bool|string
+ */
+ public static function isOdd(mixed $value = null)
+ {
+ return Information\Value::isOdd($value);
+ }
+
+ /**
+ * IS_NUMBER.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isNumber() method in the Information\Value class instead
+ * @see Information\Value::isNumber()
+ *
+ * @return array|bool
+ */
+ public static function isNumber(mixed $value = null)
+ {
+ return Information\Value::isNumber($value);
+ }
+
+ /**
+ * IS_LOGICAL.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isLogical() method in the Information\Value class instead
+ * @see Information\Value::isLogical()
+ */
+ public static function isLogical(mixed $value = null): bool|array
+ {
+ return Information\Value::isLogical($value);
+ }
+
+ /**
+ * IS_TEXT.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isText() method in the Information\Value class instead
+ * @see Information\Value::isText()
+ *
+ * @return array|bool
+ */
+ public static function isText(mixed $value = null)
+ {
+ return Information\Value::isText($value);
+ }
+
+ /**
+ * IS_NONTEXT.
+ *
+ * @param mixed $value Value to check
+ *
+ * @deprecated 1.23.0 Use the isNonText() method in the Information\Value class instead
+ * @see Information\Value::isNonText()
+ *
+ * @return array|bool
+ */
+ public static function isNonText(mixed $value = null)
+ {
+ return Information\Value::isNonText($value);
+ }
+
+ /**
+ * N.
+ *
+ * Returns a value converted to a number
+ *
+ * @deprecated 1.23.0 Use the asNumber() method in the Information\Value class instead
+ * @see Information\Value::asNumber()
+ *
+ * @param null|mixed $value The value you want converted
+ *
+ * @return number|string N converts values listed in the following table
+ * If value is or refers to N returns
+ * A number That number
+ * A date The serial number of that date
+ * TRUE 1
+ * FALSE 0
+ * An error value The error value
+ * Anything else 0
+ */
+ public static function n($value = null)
+ {
+ return Information\Value::asNumber($value);
+ }
+
+ /**
+ * TYPE.
+ *
+ * Returns a number that identifies the type of a value
+ *
+ * @deprecated 1.23.0 Use the type() method in the Information\Value class instead
+ * @see Information\Value::type()
+ *
+ * @param null|mixed $value The value you want tested
+ *
+ * @return int N converts values listed in the following table
+ * If value is or refers to N returns
+ * A number 1
+ * Text 2
+ * Logical Value 4
+ * An error value 16
+ * Array or Matrix 64
+ */
+ public static function TYPE($value = null): int
+ {
+ return Information\Value::type($value);
+ }
+
+ /**
+ * Convert a multi-dimensional array to a simple 1-dimensional array.
+ *
+ * @param array|mixed $array Array to be flattened
+ *
+ * @return array Flattened array
+ */
+ public static function flattenArray($array): array
+ {
+ if (!is_array($array)) {
+ return (array) $array;
+ }
+
+ $flattened = [];
+ $stack = array_values($array);
+
+ while (!empty($stack)) {
+ $value = array_shift($stack);
+
+ if (is_array($value)) {
+ array_unshift($stack, ...array_values($value));
+ } else {
+ $flattened[] = $value;
+ }
+ }
+
+ return $flattened;
+ }
+
+ /**
+ * @return null|mixed
+ */
+ public static function scalar(mixed $value)
+ {
+ if (!is_array($value)) {
+ return $value;
+ }
+
+ do {
+ $value = array_pop($value);
+ } while (is_array($value));
+
+ return $value;
+ }
+
+ /**
+ * Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing.
+ *
+ * @param array|mixed $array Array to be flattened
+ *
+ * @return array Flattened array
+ */
+ public static function flattenArrayIndexed($array)
+ {
+ if (!is_array($array)) {
+ return (array) $array;
+ }
+
+ $arrayValues = [];
+ foreach ($array as $k1 => $value) {
+ if (is_array($value)) {
+ foreach ($value as $k2 => $val) {
+ if (is_array($val)) {
+ foreach ($val as $k3 => $v) {
+ $arrayValues[$k1 . '.' . $k2 . '.' . $k3] = $v;
+ }
+ } else {
+ $arrayValues[$k1 . '.' . $k2] = $val;
+ }
+ }
+ } else {
+ $arrayValues[$k1] = $value;
+ }
+ }
+
+ return $arrayValues;
+ }
+
+ /**
+ * Convert an array to a single scalar value by extracting the first element.
+ *
+ * @param mixed $value Array or scalar value
+ *
+ * @return mixed
+ */
+ public static function flattenSingleValue(mixed $value = '')
+ {
+ while (is_array($value)) {
+ $value = array_shift($value);
+ }
+
+ return $value;
+ }
+
+ /**
+ * ISFORMULA.
+ *
+ * @deprecated 1.23.0 Use the isFormula() method in the Information\Value class instead
+ * @see Information\Value::isFormula()
+ *
+ * @param mixed $cellReference The cell to check
+ * @param ?Cell $cell The current cell (containing this formula)
+ *
+ * @return array|bool|string
+ */
+ public static function isFormula(mixed $cellReference = '', ?Cell $cell = null)
+ {
+ return Information\Value::isFormula($cellReference, $cell);
+ }
+
+ public static function expandDefinedName(string $coordinate, Cell $cell): string
+ {
+ $worksheet = $cell->getWorksheet();
+ $spreadsheet = $worksheet->getParentOrThrow();
+ // Uppercase coordinate
+ $pCoordinatex = strtoupper($coordinate);
+ // Eliminate leading equal sign
+ $pCoordinatex = (string) preg_replace('/^=/', '', $pCoordinatex);
+ $defined = $spreadsheet->getDefinedName($pCoordinatex, $worksheet);
+ if ($defined !== null) {
+ $worksheet2 = $defined->getWorkSheet();
+ if (!$defined->isFormula() && $worksheet2 !== null) {
+ $coordinate = "'" . $worksheet2->getTitle() . "'!"
+ . (string) preg_replace('/^=/', '', str_replace('$', '', $defined->getValue()));
+ }
+ }
+
+ return $coordinate;
+ }
+
+ public static function trimTrailingRange(string $coordinate): string
+ {
+ return (string) preg_replace('/:[\\w\$]+$/', '', $coordinate);
+ }
+
+ public static function trimSheetFromCellReference(string $coordinate): string
+ {
+ if (str_contains($coordinate, '!')) {
+ $coordinate = substr($coordinate, strrpos($coordinate, '!') + 1);
+ }
+
+ return $coordinate;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/ErrorValue.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/ErrorValue.php
new file mode 100644
index 0000000..8c3d6c3
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/ErrorValue.php
@@ -0,0 +1,71 @@
+
+ */
+ public const ERROR_CODES = [
+ 'null' => '#NULL!', // 1
+ 'divisionbyzero' => '#DIV/0!', // 2
+ 'value' => '#VALUE!', // 3
+ 'reference' => '#REF!', // 4
+ 'name' => '#NAME?', // 5
+ 'num' => '#NUM!', // 6
+ 'na' => '#N/A', // 7
+ 'gettingdata' => '#GETTING_DATA', // 8
+ 'spill' => '#SPILL!', // 9
+ 'connect' => '#CONNECT!', //10
+ 'blocked' => '#BLOCKED!', //11
+ 'unknown' => '#UNKNOWN!', //12
+ 'field' => '#FIELD!', //13
+ 'calculation' => '#CALC!', //14
+ ];
+
+ /**
+ * List of error codes. Replaced by constant;
+ * previously it was public and updateable, allowing
+ * user to make inappropriate alterations.
+ *
+ * @deprecated 1.25.0 Use ERROR_CODES constant instead.
+ *
+ * @var array
+ */
+ public static $errorCodes = self::ERROR_CODES;
+
+ public static function throwError(mixed $value): string
+ {
+ return in_array($value, self::ERROR_CODES, true) ? $value : self::ERROR_CODES['value'];
+ }
+
+ /**
+ * ERROR_TYPE.
+ *
+ * @param mixed $value Value to check
+ */
+ public static function type(mixed $value = ''): array|int|string
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ $i = 1;
+ foreach (self::ERROR_CODES as $errorCode) {
+ if ($value === $errorCode) {
+ return $i;
+ }
+ ++$i;
+ }
+
+ return self::NA();
+ }
+
+ /**
+ * NULL.
+ *
+ * Returns the error value #NULL!
+ *
+ * @return string #NULL!
+ */
+ public static function null(): string
+ {
+ return self::ERROR_CODES['null'];
+ }
+
+ /**
+ * NaN.
+ *
+ * Returns the error value #NUM!
+ *
+ * @return string #NUM!
+ */
+ public static function NAN(): string
+ {
+ return self::ERROR_CODES['num'];
+ }
+
+ /**
+ * REF.
+ *
+ * Returns the error value #REF!
+ *
+ * @return string #REF!
+ */
+ public static function REF(): string
+ {
+ return self::ERROR_CODES['reference'];
+ }
+
+ /**
+ * NA.
+ *
+ * Excel Function:
+ * =NA()
+ *
+ * Returns the error value #N/A
+ * #N/A is the error value that means "no value is available."
+ *
+ * @return string #N/A!
+ */
+ public static function NA(): string
+ {
+ return self::ERROR_CODES['na'];
+ }
+
+ /**
+ * VALUE.
+ *
+ * Returns the error value #VALUE!
+ *
+ * @return string #VALUE!
+ */
+ public static function VALUE(): string
+ {
+ return self::ERROR_CODES['value'];
+ }
+
+ /**
+ * NAME.
+ *
+ * Returns the error value #NAME?
+ *
+ * @return string #NAME?
+ */
+ public static function NAME(): string
+ {
+ return self::ERROR_CODES['name'];
+ }
+
+ /**
+ * DIV0.
+ *
+ * @return string #DIV/0!
+ */
+ public static function DIV0(): string
+ {
+ return self::ERROR_CODES['divisionbyzero'];
+ }
+
+ /**
+ * CALC.
+ *
+ * @return string #CALC!
+ */
+ public static function CALC(): string
+ {
+ return self::ERROR_CODES['calculation'];
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/Value.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/Value.php
new file mode 100644
index 0000000..863102b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/Value.php
@@ -0,0 +1,326 @@
+getCoordinate()) {
+ return false;
+ }
+
+ $cellValue = Functions::trimTrailingRange($value);
+ if (preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/ui', $cellValue) === 1) {
+ [$worksheet, $cellValue] = Worksheet::extractSheetTitle($cellValue, true);
+ if (!empty($worksheet) && $cell->getWorksheet()->getParentOrThrow()->getSheetByName($worksheet) === null) {
+ return false;
+ }
+ [$column, $row] = Coordinate::indexesFromString($cellValue ?? '');
+ if ($column > 16384 || $row > 1048576) {
+ return false;
+ }
+
+ return true;
+ }
+
+ $namedRange = $cell->getWorksheet()->getParentOrThrow()->getNamedRange($value);
+
+ return $namedRange instanceof NamedRange;
+ }
+
+ /**
+ * IS_EVEN.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|bool|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isEven(mixed $value = null): array|string|bool
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ if ($value === null) {
+ return ExcelError::NAME();
+ } elseif ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) {
+ return ExcelError::VALUE();
+ }
+
+ return ((int) fmod($value, 2)) === 0;
+ }
+
+ /**
+ * IS_ODD.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|bool|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isOdd(mixed $value = null): array|string|bool
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ if ($value === null) {
+ return ExcelError::NAME();
+ } elseif ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) {
+ return ExcelError::VALUE();
+ }
+
+ return ((int) fmod($value, 2)) !== 0;
+ }
+
+ /**
+ * IS_NUMBER.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|bool
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isNumber(mixed $value = null): array|bool
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ if (is_string($value)) {
+ return false;
+ }
+
+ return is_numeric($value);
+ }
+
+ /**
+ * IS_LOGICAL.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|bool
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isLogical(mixed $value = null): array|bool
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ return is_bool($value);
+ }
+
+ /**
+ * IS_TEXT.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|bool
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isText(mixed $value = null): array|bool
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ return is_string($value) && !ErrorValue::isError($value);
+ }
+
+ /**
+ * IS_NONTEXT.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|bool
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function isNonText(mixed $value = null): array|bool
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ return !self::isText($value);
+ }
+
+ /**
+ * ISFORMULA.
+ *
+ * @param mixed $cellReference The cell to check
+ * @param ?Cell $cell The current cell (containing this formula)
+ *
+ * @return array|bool|string
+ */
+ public static function isFormula(mixed $cellReference = '', ?Cell $cell = null)
+ {
+ if ($cell === null) {
+ return ExcelError::REF();
+ }
+
+ $fullCellReference = Functions::expandDefinedName((string) $cellReference, $cell);
+
+ if (str_contains($cellReference, '!')) {
+ $cellReference = Functions::trimSheetFromCellReference($cellReference);
+ $cellReferences = Coordinate::extractAllCellReferencesInRange($cellReference);
+ if (count($cellReferences) > 1) {
+ return self::evaluateArrayArgumentsSubset([self::class, __FUNCTION__], 1, $cellReferences, $cell);
+ }
+ }
+
+ $fullCellReference = Functions::trimTrailingRange($fullCellReference);
+
+ preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/i', $fullCellReference, $matches);
+
+ $fullCellReference = $matches[6] . $matches[7];
+ $worksheetName = str_replace("''", "'", trim($matches[2], "'"));
+
+ $worksheet = (!empty($worksheetName))
+ ? $cell->getWorksheet()->getParentOrThrow()->getSheetByName($worksheetName)
+ : $cell->getWorksheet();
+
+ return ($worksheet !== null) ? $worksheet->getCell($fullCellReference)->isFormula() : ExcelError::REF();
+ }
+
+ /**
+ * N.
+ *
+ * Returns a value converted to a number
+ *
+ * @param null|mixed $value The value you want converted
+ *
+ * @return number|string N converts values listed in the following table
+ * If value is or refers to N returns
+ * A number That number value
+ * A date The Excel serialized number of that date
+ * TRUE 1
+ * FALSE 0
+ * An error value The error value
+ * Anything else 0
+ */
+ public static function asNumber($value = null)
+ {
+ while (is_array($value)) {
+ $value = array_shift($value);
+ }
+
+ switch (gettype($value)) {
+ case 'double':
+ case 'float':
+ case 'integer':
+ return $value;
+ case 'boolean':
+ return (int) $value;
+ case 'string':
+ // Errors
+ if (($value !== '') && ($value[0] == '#')) {
+ return $value;
+ }
+
+ break;
+ }
+
+ return 0;
+ }
+
+ /**
+ * TYPE.
+ *
+ * Returns a number that identifies the type of a value
+ *
+ * @param null|mixed $value The value you want tested
+ *
+ * @return int N converts values listed in the following table
+ * If value is or refers to N returns
+ * A number 1
+ * Text 2
+ * Logical Value 4
+ * An error value 16
+ * Array or Matrix 64
+ */
+ public static function type($value = null): int
+ {
+ $value = Functions::flattenArrayIndexed($value);
+ if (is_array($value) && (count($value) > 1)) {
+ end($value);
+ $a = key($value);
+ // Range of cells is an error
+ if (Functions::isCellValue($a)) {
+ return 16;
+ // Test for Matrix
+ } elseif (Functions::isMatrixValue($a)) {
+ return 64;
+ }
+ } elseif (empty($value)) {
+ // Empty Cell
+ return 1;
+ }
+
+ $value = Functions::flattenSingleValue($value);
+ if (($value === null) || (is_float($value)) || (is_int($value))) {
+ return 1;
+ } elseif (is_bool($value)) {
+ return 4;
+ } elseif (is_array($value)) {
+ return 64;
+ } elseif (is_string($value)) {
+ // Errors
+ if (($value !== '') && ($value[0] == '#')) {
+ return 16;
+ }
+
+ return 2;
+ }
+
+ return 0;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php
new file mode 100644
index 0000000..22c95e8
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php
@@ -0,0 +1,12 @@
+ 0) {
+ $targetValue = Functions::flattenSingleValue($arguments[0]);
+ $argc = count($arguments) - 1;
+ $switchCount = floor($argc / 2);
+ $hasDefaultClause = $argc % 2 !== 0;
+ $defaultClause = $argc % 2 === 0 ? null : $arguments[$argc];
+
+ $switchSatisfied = false;
+ if ($switchCount > 0) {
+ for ($index = 0; $index < $switchCount; ++$index) {
+ if ($targetValue == Functions::flattenSingleValue($arguments[$index * 2 + 1])) {
+ $result = $arguments[$index * 2 + 2];
+ $switchSatisfied = true;
+
+ break;
+ }
+ }
+ }
+
+ if ($switchSatisfied !== true) {
+ $result = $hasDefaultClause ? $defaultClause : ExcelError::NA();
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * IFERROR.
+ *
+ * Excel Function:
+ * =IFERROR(testValue,errorpart)
+ *
+ * @param mixed $testValue Value to check, is also the value returned when no error
+ * Or can be an array of values
+ * @param mixed $errorpart Value to return when testValue is an error condition
+ * Note that this can be an array value to be returned
+ *
+ * @return mixed The value of errorpart or testValue determined by error condition
+ * If an array of values is passed as the $testValue argument, then the returned result will also be
+ * an array with the same dimensions
+ */
+ public static function IFERROR(mixed $testValue = '', mixed $errorpart = '')
+ {
+ if (is_array($testValue)) {
+ return self::evaluateArrayArgumentsSubset([self::class, __FUNCTION__], 1, $testValue, $errorpart);
+ }
+
+ $errorpart = $errorpart ?? '';
+ $testValue = $testValue ?? 0; // this is how Excel handles empty cell
+
+ return self::statementIf(ErrorValue::isError($testValue), $errorpart, $testValue);
+ }
+
+ /**
+ * IFNA.
+ *
+ * Excel Function:
+ * =IFNA(testValue,napart)
+ *
+ * @param mixed $testValue Value to check, is also the value returned when not an NA
+ * Or can be an array of values
+ * @param mixed $napart Value to return when testValue is an NA condition
+ * Note that this can be an array value to be returned
+ *
+ * @return mixed The value of errorpart or testValue determined by error condition
+ * If an array of values is passed as the $testValue argument, then the returned result will also be
+ * an array with the same dimensions
+ */
+ public static function IFNA(mixed $testValue = '', mixed $napart = '')
+ {
+ if (is_array($testValue)) {
+ return self::evaluateArrayArgumentsSubset([self::class, __FUNCTION__], 1, $testValue, $napart);
+ }
+
+ $napart = $napart ?? '';
+ $testValue = $testValue ?? 0; // this is how Excel handles empty cell
+
+ return self::statementIf(ErrorValue::isNa($testValue), $napart, $testValue);
+ }
+
+ /**
+ * IFS.
+ *
+ * Excel Function:
+ * =IFS(testValue1;returnIfTrue1;testValue2;returnIfTrue2;...;testValue_n;returnIfTrue_n)
+ *
+ * testValue1 ... testValue_n
+ * Conditions to Evaluate
+ * returnIfTrue1 ... returnIfTrue_n
+ * Value returned if corresponding testValue (nth) was true
+ *
+ * @param mixed ...$arguments Statement arguments
+ * Note that this can be an array value to be returned
+ *
+ * @return mixed|string The value of returnIfTrue_n, if testValue_n was true. #N/A if none of testValues was true
+ */
+ public static function IFS(mixed ...$arguments)
+ {
+ $argumentCount = count($arguments);
+
+ if ($argumentCount % 2 != 0) {
+ return ExcelError::NA();
+ }
+ // We use instance of Exception as a falseValue in order to prevent string collision with value in cell
+ $falseValueException = new Exception();
+ for ($i = 0; $i < $argumentCount; $i += 2) {
+ $testValue = ($arguments[$i] === null) ? '' : Functions::flattenSingleValue($arguments[$i]);
+ $returnIfTrue = ($arguments[$i + 1] === null) ? '' : $arguments[$i + 1];
+ $result = self::statementIf($testValue, $returnIfTrue, $falseValueException);
+
+ if ($result !== $falseValueException) {
+ return $result;
+ }
+ }
+
+ return ExcelError::NA();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Operations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Operations.php
new file mode 100644
index 0000000..51c8827
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Operations.php
@@ -0,0 +1,166 @@
+ $trueValueCount === $count);
+ }
+
+ /**
+ * LOGICAL_OR.
+ *
+ * Returns boolean TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE.
+ *
+ * Excel Function:
+ * =OR(logical1[,logical2[, ...]])
+ *
+ * The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays
+ * or references that contain logical values.
+ *
+ * Boolean arguments are treated as True or False as appropriate
+ * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False
+ * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string
+ * holds the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value
+ *
+ * @param mixed $args Data values
+ *
+ * @return bool|string the logical OR of the arguments
+ */
+ public static function logicalOr(mixed ...$args)
+ {
+ return self::countTrueValues($args, fn (int $trueValueCount): bool => $trueValueCount > 0);
+ }
+
+ /**
+ * LOGICAL_XOR.
+ *
+ * Returns the Exclusive Or logical operation for one or more supplied conditions.
+ * i.e. the Xor function returns TRUE if an odd number of the supplied conditions evaluate to TRUE,
+ * and FALSE otherwise.
+ *
+ * Excel Function:
+ * =XOR(logical1[,logical2[, ...]])
+ *
+ * The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays
+ * or references that contain logical values.
+ *
+ * Boolean arguments are treated as True or False as appropriate
+ * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False
+ * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string
+ * holds the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value
+ *
+ * @param mixed $args Data values
+ *
+ * @return bool|string the logical XOR of the arguments
+ */
+ public static function logicalXor(mixed ...$args)
+ {
+ return self::countTrueValues($args, fn (int $trueValueCount): bool => $trueValueCount % 2 === 1);
+ }
+
+ /**
+ * NOT.
+ *
+ * Returns the boolean inverse of the argument.
+ *
+ * Excel Function:
+ * =NOT(logical)
+ *
+ * The argument must evaluate to a logical value such as TRUE or FALSE
+ *
+ * Boolean arguments are treated as True or False as appropriate
+ * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False
+ * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string
+ * holds the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value
+ *
+ * @param mixed $logical A value or expression that can be evaluated to TRUE or FALSE
+ * Or can be an array of values
+ *
+ * @return array|bool|string the boolean inverse of the argument
+ * If an array of values is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function NOT(mixed $logical = false): array|bool|string
+ {
+ if (is_array($logical)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $logical);
+ }
+
+ if (is_string($logical)) {
+ $logical = mb_strtoupper($logical, 'UTF-8');
+ if (($logical == 'TRUE') || ($logical == Calculation::getTRUE())) {
+ return false;
+ } elseif (($logical == 'FALSE') || ($logical == Calculation::getFALSE())) {
+ return true;
+ }
+
+ return ExcelError::VALUE();
+ }
+
+ return !$logical;
+ }
+
+ /**
+ * @return bool|string
+ */
+ private static function countTrueValues(array $args, callable $func)
+ {
+ $trueValueCount = 0;
+ $count = 0;
+
+ $aArgs = Functions::flattenArrayIndexed($args);
+ foreach ($aArgs as $k => $arg) {
+ ++$count;
+ // Is it a boolean value?
+ if (is_bool($arg)) {
+ $trueValueCount += $arg;
+ } elseif (is_string($arg)) {
+ $isLiteral = !Functions::isCellValue($k);
+ $arg = mb_strtoupper($arg, 'UTF-8');
+ if ($isLiteral && ($arg == 'TRUE' || $arg == Calculation::getTRUE())) {
+ ++$trueValueCount;
+ } elseif ($isLiteral && ($arg == 'FALSE' || $arg == Calculation::getFALSE())) {
+ //$trueValueCount += 0;
+ } else {
+ --$count;
+ }
+ } elseif (is_int($arg) || is_float($arg)) {
+ $trueValueCount += (int) ($arg != 0);
+ } else {
+ --$count;
+ }
+ }
+
+ return ($count === 0) ? ExcelError::VALUE() : $func($trueValueCount, $count);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php
new file mode 100644
index 0000000..9b71cfb
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php
@@ -0,0 +1,398 @@
+ '') {
+ if (str_contains($sheetName, ' ') || str_contains($sheetName, '[')) {
+ $sheetName = "'{$sheetName}'";
+ }
+ $sheetName .= '!';
+ }
+
+ return $sheetName;
+ }
+
+ private static function formatAsA1(int $row, int $column, int $relativity, string $sheetName): string
+ {
+ $rowRelative = $columnRelative = '$';
+ if (($relativity == self::ADDRESS_COLUMN_RELATIVE) || ($relativity == self::ADDRESS_RELATIVE)) {
+ $columnRelative = '';
+ }
+ if (($relativity == self::ADDRESS_ROW_RELATIVE) || ($relativity == self::ADDRESS_RELATIVE)) {
+ $rowRelative = '';
+ }
+ $column = Coordinate::stringFromColumnIndex($column);
+
+ return "{$sheetName}{$columnRelative}{$column}{$rowRelative}{$row}";
+ }
+
+ private static function formatAsR1C1(int $row, int $column, int $relativity, string $sheetName): string
+ {
+ if (($relativity == self::ADDRESS_COLUMN_RELATIVE) || ($relativity == self::ADDRESS_RELATIVE)) {
+ $column = "[{$column}]";
+ }
+ if (($relativity == self::ADDRESS_ROW_RELATIVE) || ($relativity == self::ADDRESS_RELATIVE)) {
+ $row = "[{$row}]";
+ }
+ [$rowChar, $colChar] = AddressHelper::getRowAndColumnChars();
+
+ return "{$sheetName}$rowChar{$row}$colChar{$column}";
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php
new file mode 100644
index 0000000..2adc87c
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/ExcelMatch.php
@@ -0,0 +1,252 @@
+getMessage();
+ }
+
+ // MATCH() is not case sensitive, so we convert lookup value to be lower cased if it's a string type.
+ if (is_string($lookupValue)) {
+ $lookupValue = StringHelper::strToLower($lookupValue);
+ }
+
+ $valueKey = match ($matchType) {
+ self::MATCHTYPE_LARGEST_VALUE => self::matchLargestValue($lookupArray, $lookupValue, $keySet),
+ self::MATCHTYPE_FIRST_VALUE => self::matchFirstValue($lookupArray, $lookupValue),
+ default => self::matchSmallestValue($lookupArray, $lookupValue),
+ };
+
+ if ($valueKey !== null) {
+ return ++$valueKey;
+ }
+
+ // Unsuccessful in finding a match, return #N/A error value
+ return ExcelError::NA();
+ }
+
+ private static function matchFirstValue(array $lookupArray, mixed $lookupValue): int|string|null
+ {
+ if (is_string($lookupValue)) {
+ $valueIsString = true;
+ $wildcard = WildcardMatch::wildcard($lookupValue);
+ } else {
+ $valueIsString = false;
+ $wildcard = '';
+ }
+
+ $valueIsNumeric = is_int($lookupValue) || is_float($lookupValue);
+ foreach ($lookupArray as $i => $lookupArrayValue) {
+ if (
+ $valueIsString
+ && is_string($lookupArrayValue)
+ ) {
+ if (WildcardMatch::compare($lookupArrayValue, $wildcard)) {
+ return $i; // wildcard match
+ }
+ } else {
+ if ($lookupArrayValue === $lookupValue) {
+ return $i; // exact match
+ }
+ if (
+ $valueIsNumeric
+ && (is_float($lookupArrayValue) || is_int($lookupArrayValue))
+ && $lookupArrayValue == $lookupValue
+ ) {
+ return $i; // exact match
+ }
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * @return mixed
+ */
+ private static function matchLargestValue(array $lookupArray, mixed $lookupValue, array $keySet)
+ {
+ if (is_string($lookupValue)) {
+ if (Functions::getCompatibilityMode() === Functions::COMPATIBILITY_OPENOFFICE) {
+ $wildcard = WildcardMatch::wildcard($lookupValue);
+ foreach (array_reverse($lookupArray) as $i => $lookupArrayValue) {
+ if (is_string($lookupArrayValue) && WildcardMatch::compare($lookupArrayValue, $wildcard)) {
+ return $i;
+ }
+ }
+ } else {
+ foreach ($lookupArray as $i => $lookupArrayValue) {
+ if ($lookupArrayValue === $lookupValue) {
+ return $keySet[$i];
+ }
+ }
+ }
+ }
+ $valueIsNumeric = is_int($lookupValue) || is_float($lookupValue);
+ foreach ($lookupArray as $i => $lookupArrayValue) {
+ if ($valueIsNumeric && (is_int($lookupArrayValue) || is_float($lookupArrayValue))) {
+ if ($lookupArrayValue <= $lookupValue) {
+ return array_search($i, $keySet);
+ }
+ }
+ $typeMatch = gettype($lookupValue) === gettype($lookupArrayValue);
+ if ($typeMatch && ($lookupArrayValue <= $lookupValue)) {
+ return array_search($i, $keySet);
+ }
+ }
+
+ return null;
+ }
+
+ private static function matchSmallestValue(array $lookupArray, mixed $lookupValue): int|string|null
+ {
+ $valueKey = null;
+ if (is_string($lookupValue)) {
+ if (Functions::getCompatibilityMode() === Functions::COMPATIBILITY_OPENOFFICE) {
+ $wildcard = WildcardMatch::wildcard($lookupValue);
+ foreach ($lookupArray as $i => $lookupArrayValue) {
+ if (is_string($lookupArrayValue) && WildcardMatch::compare($lookupArrayValue, $wildcard)) {
+ return $i;
+ }
+ }
+ }
+ }
+
+ $valueIsNumeric = is_int($lookupValue) || is_float($lookupValue);
+ // The basic algorithm is:
+ // Iterate and keep the highest match until the next element is smaller than the searched value.
+ // Return immediately if perfect match is found
+ foreach ($lookupArray as $i => $lookupArrayValue) {
+ $typeMatch = gettype($lookupValue) === gettype($lookupArrayValue);
+ $bothNumeric = $valueIsNumeric && (is_int($lookupArrayValue) || is_float($lookupArrayValue));
+
+ if ($lookupArrayValue === $lookupValue) {
+ // Another "special" case. If a perfect match is found,
+ // the algorithm gives up immediately
+ return $i;
+ }
+ if ($bothNumeric && $lookupValue == $lookupArrayValue) {
+ return $i; // exact match, as above
+ }
+ if (($typeMatch || $bothNumeric) && $lookupArrayValue >= $lookupValue) {
+ $valueKey = $i;
+ } elseif ($typeMatch && $lookupArrayValue < $lookupValue) {
+ //Excel algorithm gives up immediately if the first element is smaller than the searched value
+ break;
+ }
+ }
+
+ return $valueKey;
+ }
+
+ private static function validateLookupValue(mixed $lookupValue): void
+ {
+ // Lookup_value type has to be number, text, or logical values
+ if ((!is_numeric($lookupValue)) && (!is_string($lookupValue)) && (!is_bool($lookupValue))) {
+ throw new Exception(ExcelError::NA());
+ }
+ }
+
+ private static function validateMatchType(mixed $matchType): int
+ {
+ // Match_type is 0, 1 or -1
+ // However Excel accepts other numeric values,
+ // including numeric strings and floats.
+ // It seems to just be interested in the sign.
+ if (!is_numeric($matchType)) {
+ throw new Exception(ExcelError::Value());
+ }
+ if ($matchType > 0) {
+ return self::MATCHTYPE_LARGEST_VALUE;
+ }
+ if ($matchType < 0) {
+ return self::MATCHTYPE_SMALLEST_VALUE;
+ }
+
+ return self::MATCHTYPE_FIRST_VALUE;
+ }
+
+ private static function validateLookupArray(array $lookupArray): void
+ {
+ // Lookup_array should not be empty
+ $lookupArraySize = count($lookupArray);
+ if ($lookupArraySize <= 0) {
+ throw new Exception(ExcelError::NA());
+ }
+ }
+
+ private static function prepareLookupArray(array $lookupArray, mixed $matchType): array
+ {
+ // Lookup_array should contain only number, text, or logical values, or empty (null) cells
+ foreach ($lookupArray as $i => $value) {
+ // check the type of the value
+ if ((!is_numeric($value)) && (!is_string($value)) && (!is_bool($value)) && ($value !== null)) {
+ throw new Exception(ExcelError::NA());
+ }
+ // Convert strings to lowercase for case-insensitive testing
+ if (is_string($value)) {
+ $lookupArray[$i] = StringHelper::strToLower($value);
+ }
+ if (
+ ($value === null)
+ && (($matchType == self::MATCHTYPE_LARGEST_VALUE) || ($matchType == self::MATCHTYPE_SMALLEST_VALUE))
+ ) {
+ unset($lookupArray[$i]);
+ }
+ }
+
+ return $lookupArray;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Filter.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Filter.php
new file mode 100644
index 0000000..920b8e7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Filter.php
@@ -0,0 +1,75 @@
+ (bool) $matchArray[$index],
+ ARRAY_FILTER_USE_KEY
+ );
+ }
+
+ private static function filterByColumn(array $lookupArray, array $matchArray): array
+ {
+ $lookupArray = Matrix::transpose($lookupArray);
+
+ if (count($matchArray) === 1) {
+ $matchArray = array_pop($matchArray);
+ }
+
+ array_walk(
+ $matchArray,
+ function (&$value): void {
+ $value = [$value];
+ }
+ );
+
+ $result = self::filterByRow($lookupArray, $matchArray);
+
+ return Matrix::transpose($result);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Formula.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Formula.php
new file mode 100644
index 0000000..e4990ce
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Formula.php
@@ -0,0 +1,43 @@
+getWorksheet()->getParentOrThrow()->getSheetByName($worksheetName)
+ : $cell->getWorksheet();
+
+ if (
+ $worksheet === null
+ || !$worksheet->cellExists($cellReference)
+ || !$worksheet->getCell($cellReference)->isFormula()
+ ) {
+ return ExcelError::NA();
+ }
+
+ return $worksheet->getCell($cellReference)->getValue();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/HLookup.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/HLookup.php
new file mode 100644
index 0000000..9e09e3d
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/HLookup.php
@@ -0,0 +1,121 @@
+getMessage();
+ }
+
+ $f = array_keys($lookupArray);
+ $firstRow = reset($f);
+ if ((!is_array($lookupArray[$firstRow])) || ($indexNumber > count($lookupArray))) {
+ return ExcelError::REF();
+ }
+
+ $firstkey = $f[0] - 1;
+ $returnColumn = $firstkey + $indexNumber;
+ $firstColumn = array_shift($f) ?? 1;
+ $rowNumber = self::hLookupSearch($lookupValue, $lookupArray, $firstColumn, $notExactMatch);
+
+ if ($rowNumber !== null) {
+ // otherwise return the appropriate value
+ return $lookupArray[$returnColumn][Coordinate::stringFromColumnIndex($rowNumber)];
+ }
+
+ return ExcelError::NA();
+ }
+
+ /**
+ * @param mixed $lookupValue The value that you want to match in lookup_array
+ * @param int|string $column
+ */
+ private static function hLookupSearch(mixed $lookupValue, array $lookupArray, $column, bool $notExactMatch): ?int
+ {
+ $lookupLower = StringHelper::strToLower((string) $lookupValue);
+
+ $rowNumber = null;
+ foreach ($lookupArray[$column] as $rowKey => $rowData) {
+ // break if we have passed possible keys
+ $bothNumeric = is_numeric($lookupValue) && is_numeric($rowData);
+ $bothNotNumeric = !is_numeric($lookupValue) && !is_numeric($rowData);
+ $cellDataLower = StringHelper::strToLower((string) $rowData);
+
+ if (
+ $notExactMatch
+ && (($bothNumeric && $rowData > $lookupValue) || ($bothNotNumeric && $cellDataLower > $lookupLower))
+ ) {
+ break;
+ }
+
+ $rowNumber = self::checkMatch(
+ $bothNumeric,
+ $bothNotNumeric,
+ $notExactMatch,
+ Coordinate::columnIndexFromString($rowKey),
+ $cellDataLower,
+ $lookupLower,
+ $rowNumber
+ );
+ }
+
+ return $rowNumber;
+ }
+
+ private static function convertLiteralArray(array $lookupArray): array
+ {
+ if (array_key_exists(0, $lookupArray)) {
+ $lookupArray2 = [];
+ $row = 0;
+ foreach ($lookupArray as $arrayVal) {
+ ++$row;
+ if (!is_array($arrayVal)) {
+ $arrayVal = [$arrayVal];
+ }
+ $arrayVal2 = [];
+ foreach ($arrayVal as $key2 => $val2) {
+ $index = Coordinate::stringFromColumnIndex($key2 + 1);
+ $arrayVal2[$index] = $val2;
+ }
+ $lookupArray2[$row] = $arrayVal2;
+ }
+ $lookupArray = $lookupArray2;
+ }
+
+ return $lookupArray;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Helpers.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Helpers.php
new file mode 100644
index 0000000..191144b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Helpers.php
@@ -0,0 +1,74 @@
+getWorkSheet();
+ $sheetTitle = ($workSheet === null) ? '' : $workSheet->getTitle();
+ $value = (string) preg_replace('/^=/', '', $namedRange->getValue());
+ self::adjustSheetTitle($sheetTitle, $value);
+ $cellAddress1 = $sheetTitle . $value;
+ $cellAddress = $cellAddress1;
+ $a1 = self::CELLADDRESS_USE_A1;
+ }
+ if (str_contains($cellAddress, ':')) {
+ [$cellAddress1, $cellAddress2] = explode(':', $cellAddress);
+ }
+ $cellAddress = self::convertR1C1($cellAddress1, $cellAddress2, $a1, $baseRow, $baseCol);
+
+ return [$cellAddress1, $cellAddress2, $cellAddress];
+ }
+
+ public static function extractWorksheet(string $cellAddress, Cell $cell): array
+ {
+ $sheetName = '';
+ if (str_contains($cellAddress, '!')) {
+ [$sheetName, $cellAddress] = Worksheet::extractSheetTitle($cellAddress, true);
+ $sheetName = trim($sheetName, "'");
+ }
+
+ $worksheet = ($sheetName !== '')
+ ? $cell->getWorksheet()->getParentOrThrow()->getSheetByName($sheetName)
+ : $cell->getWorksheet();
+
+ return [$cellAddress, $worksheet, $sheetName];
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
new file mode 100644
index 0000000..a199d5b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
@@ -0,0 +1,41 @@
+getHyperlink()->setUrl($linkURL);
+ $cell->getHyperlink()->setTooltip($displayName);
+
+ return $displayName;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php
new file mode 100644
index 0000000..aa480ab
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php
@@ -0,0 +1,130 @@
+getCoordinate());
+
+ try {
+ $a1 = self::a1Format($a1fmt);
+ $cellAddress = self::validateAddress($cellAddress);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ [$cellAddress, $worksheet, $sheetName] = Helpers::extractWorksheet($cellAddress, $cell);
+
+ if (preg_match('/^' . Calculation::CALCULATION_REGEXP_COLUMNRANGE_RELATIVE . '$/miu', $cellAddress, $matches)) {
+ $cellAddress = self::handleRowColumnRanges($worksheet, ...explode(':', $cellAddress));
+ } elseif (preg_match('/^' . Calculation::CALCULATION_REGEXP_ROWRANGE_RELATIVE . '$/miu', $cellAddress, $matches)) {
+ $cellAddress = self::handleRowColumnRanges($worksheet, ...explode(':', $cellAddress));
+ }
+
+ try {
+ [$cellAddress1, $cellAddress2, $cellAddress] = Helpers::extractCellAddresses($cellAddress, $a1, $cell->getWorkSheet(), $sheetName, $baseRow, $baseCol);
+ } catch (Exception) {
+ return ExcelError::REF();
+ }
+
+ if (
+ (!preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/miu', $cellAddress1, $matches))
+ || (($cellAddress2 !== null) && (!preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/miu', $cellAddress2, $matches)))
+ ) {
+ return ExcelError::REF();
+ }
+
+ return self::extractRequiredCells($worksheet, $cellAddress);
+ }
+
+ /**
+ * Extract range values.
+ *
+ * @return array Array of values in range if range contains more than one element.
+ * Otherwise, a single value is returned.
+ */
+ private static function extractRequiredCells(?Worksheet $worksheet, string $cellAddress): array
+ {
+ return Calculation::getInstance($worksheet !== null ? $worksheet->getParent() : null)
+ ->extractCellRange($cellAddress, $worksheet, false);
+ }
+
+ private static function handleRowColumnRanges(?Worksheet $worksheet, string $start, string $end): string
+ {
+ // Being lazy, we're only checking a single row/column to get the max
+ if (ctype_digit($start) && $start <= 1048576) {
+ // Max 16,384 columns for Excel2007
+ $endColRef = ($worksheet !== null) ? $worksheet->getHighestDataColumn((int) $start) : AddressRange::MAX_COLUMN;
+
+ return "A{$start}:{$endColRef}{$end}";
+ } elseif (ctype_alpha($start) && strlen($start) <= 3) {
+ // Max 1,048,576 rows for Excel2007
+ $endRowRef = ($worksheet !== null) ? $worksheet->getHighestDataRow($start) : AddressRange::MAX_ROW;
+
+ return "{$start}1:{$end}{$endRowRef}";
+ }
+
+ return "{$start}:{$end}";
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php
new file mode 100644
index 0000000..147c982
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php
@@ -0,0 +1,106 @@
+ 1) || (!$hasResultVector && $lookupRows === 2 && $lookupColumns !== 2)) {
+ $lookupVector = LookupRef\Matrix::transpose($lookupVector);
+ $lookupRows = self::rowCount($lookupVector);
+ $lookupColumns = self::columnCount($lookupVector);
+ }
+
+ $resultVector = self::verifyResultVector($resultVector ?? $lookupVector);
+
+ if ($lookupRows === 2 && !$hasResultVector) {
+ $resultVector = array_pop($lookupVector);
+ $lookupVector = array_shift($lookupVector);
+ }
+
+ if ($lookupColumns !== 2) {
+ $lookupVector = self::verifyLookupValues($lookupVector, $resultVector);
+ }
+
+ return VLookup::lookup($lookupValue, $lookupVector, 2);
+ }
+
+ private static function verifyLookupValues(array $lookupVector, array $resultVector): array
+ {
+ foreach ($lookupVector as &$value) {
+ if (is_array($value)) {
+ $k = array_keys($value);
+ $key1 = $key2 = array_shift($k);
+ ++$key2;
+ $dataValue1 = $value[$key1];
+ } else {
+ $key1 = 0;
+ $key2 = 1;
+ $dataValue1 = $value;
+ }
+
+ $dataValue2 = array_shift($resultVector);
+ if (is_array($dataValue2)) {
+ $dataValue2 = array_shift($dataValue2);
+ }
+ $value = [$key1 => $dataValue1, $key2 => $dataValue2];
+ }
+ unset($value);
+
+ return $lookupVector;
+ }
+
+ private static function verifyResultVector(array $resultVector): array
+ {
+ $resultRows = self::rowCount($resultVector);
+ $resultColumns = self::columnCount($resultVector);
+
+ // we correctly orient our results
+ if ($resultRows === 1 && $resultColumns > 1) {
+ $resultVector = LookupRef\Matrix::transpose($resultVector);
+ }
+
+ return $resultVector;
+ }
+
+ private static function rowCount(array $dataArray): int
+ {
+ return count($dataArray);
+ }
+
+ private static function columnCount(array $dataArray): int
+ {
+ $rowKeys = array_keys($dataArray);
+ $row = array_shift($rowKeys);
+
+ return count($dataArray[$row]);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/LookupBase.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/LookupBase.php
new file mode 100644
index 0000000..7d21cce
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/LookupBase.php
@@ -0,0 +1,64 @@
+ 1
+ && (count($values, COUNT_NORMAL) === 1 || count($values, COUNT_RECURSIVE) === count($values, COUNT_NORMAL));
+ }
+
+ /**
+ * TRANSPOSE.
+ *
+ * @param array|mixed $matrixData A matrix of values
+ */
+ public static function transpose($matrixData): array
+ {
+ $returnMatrix = [];
+ if (!is_array($matrixData)) {
+ $matrixData = [[$matrixData]];
+ }
+
+ $column = 0;
+ foreach ($matrixData as $matrixRow) {
+ $row = 0;
+ foreach ($matrixRow as $matrixCell) {
+ $returnMatrix[$row][$column] = $matrixCell;
+ ++$row;
+ }
+ ++$column;
+ }
+
+ return $returnMatrix;
+ }
+
+ /**
+ * INDEX.
+ *
+ * Uses an index to choose a value from a reference or array
+ *
+ * Excel Function:
+ * =INDEX(range_array, row_num, [column_num], [area_num])
+ *
+ * @param mixed $matrix A range of cells or an array constant
+ * @param mixed $rowNum The row in the array or range from which to return a value.
+ * If row_num is omitted, column_num is required.
+ * Or can be an array of values
+ * @param mixed $columnNum The column in the array or range from which to return a value.
+ * If column_num is omitted, row_num is required.
+ * Or can be an array of values
+ *
+ * TODO Provide support for area_num, currently not supported
+ *
+ * @return mixed the value of a specified cell or array of cells
+ * If an array of values is passed as the $rowNum and/or $columnNum arguments, then the returned result
+ * will also be an array with the same dimensions
+ */
+ public static function index(mixed $matrix, mixed $rowNum = 0, mixed $columnNum = null)
+ {
+ if (is_array($rowNum) || is_array($columnNum)) {
+ return self::evaluateArrayArgumentsSubsetFrom([self::class, __FUNCTION__], 1, $matrix, $rowNum, $columnNum);
+ }
+
+ $rowNum = $rowNum ?? 0;
+ $originalColumnNum = $columnNum;
+ $columnNum = $columnNum ?? 0;
+
+ try {
+ $rowNum = LookupRefValidations::validatePositiveInt($rowNum);
+ $columnNum = LookupRefValidations::validatePositiveInt($columnNum);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (!is_array($matrix) || ($rowNum > count($matrix))) {
+ return ExcelError::REF();
+ }
+
+ $rowKeys = array_keys($matrix);
+ $columnKeys = @array_keys($matrix[$rowKeys[0]]);
+
+ if ($columnNum > count($columnKeys)) {
+ return ExcelError::REF();
+ }
+ if ($originalColumnNum === null && 1 < count($columnKeys)) {
+ return ExcelError::REF();
+ }
+
+ if ($columnNum === 0) {
+ return self::extractRowValue($matrix, $rowKeys, $rowNum);
+ }
+
+ $columnNum = $columnKeys[--$columnNum];
+ if ($rowNum === 0) {
+ return array_map(
+ fn ($value): array => [$value],
+ array_column($matrix, $columnNum)
+ );
+ }
+ $rowNum = $rowKeys[--$rowNum];
+
+ return $matrix[$rowNum][$columnNum];
+ }
+
+ /** @return mixed */
+ private static function extractRowValue(array $matrix, array $rowKeys, int $rowNum)
+ {
+ if ($rowNum === 0) {
+ return $matrix;
+ }
+
+ $rowNum = $rowKeys[--$rowNum];
+ $row = $matrix[$rowNum];
+ if (is_array($row)) {
+ return [$rowNum => $row];
+ }
+
+ return $row;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Offset.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
new file mode 100644
index 0000000..bb15e19
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
@@ -0,0 +1,148 @@
+getParent() : null)
+ ->extractCellRange($cellAddress, $worksheet, false);
+ }
+
+ private static function extractWorksheet(?string $cellAddress, Cell $cell): array
+ {
+ $cellAddress = self::assessCellAddress($cellAddress ?? '', $cell);
+
+ $sheetName = '';
+ if (str_contains($cellAddress, '!')) {
+ [$sheetName, $cellAddress] = Worksheet::extractSheetTitle($cellAddress, true);
+ $sheetName = trim($sheetName, "'");
+ }
+
+ $worksheet = ($sheetName !== '')
+ ? $cell->getWorksheet()->getParentOrThrow()->getSheetByName($sheetName)
+ : $cell->getWorksheet();
+
+ return [$cellAddress, $worksheet];
+ }
+
+ private static function assessCellAddress(string $cellAddress, Cell $cell): string
+ {
+ if (preg_match('/^' . Calculation::CALCULATION_REGEXP_DEFINEDNAME . '$/mui', $cellAddress) !== false) {
+ $cellAddress = Functions::expandDefinedName($cellAddress, $cell);
+ }
+
+ return $cellAddress;
+ }
+
+ private static function adjustEndCellColumnForWidth(string $endCellColumn, mixed $width, int $startCellColumn, mixed $columns): int
+ {
+ $endCellColumn = Coordinate::columnIndexFromString($endCellColumn) - 1;
+ if (($width !== null) && (!is_object($width))) {
+ $endCellColumn = $startCellColumn + (int) $width - 1;
+ } else {
+ $endCellColumn += (int) $columns;
+ }
+
+ return $endCellColumn;
+ }
+
+ private static function adustEndCellRowForHeight(mixed $height, int $startCellRow, mixed $rows, mixed $endCellRow): int
+ {
+ if (($height !== null) && (!is_object($height))) {
+ $endCellRow = $startCellRow + (int) $height - 1;
+ } else {
+ $endCellRow += (int) $rows;
+ }
+
+ return $endCellRow;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php
new file mode 100644
index 0000000..ea3ce44
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php
@@ -0,0 +1,210 @@
+getColumn()) : 1;
+ }
+
+ /**
+ * COLUMN.
+ *
+ * Returns the column number of the given cell reference
+ * If the cell reference is a range of cells, COLUMN returns the column numbers of each column
+ * in the reference as a horizontal array.
+ * If cell reference is omitted, and the function is being called through the calculation engine,
+ * then it is assumed to be the reference of the cell in which the COLUMN function appears;
+ * otherwise this function returns 1.
+ *
+ * Excel Function:
+ * =COLUMN([cellAddress])
+ *
+ * @param null|array|string $cellAddress A reference to a range of cells for which you want the column numbers
+ *
+ * @return int|int[]
+ */
+ public static function COLUMN($cellAddress = null, ?Cell $cell = null): int|array
+ {
+ if (self::cellAddressNullOrWhitespace($cellAddress)) {
+ return self::cellColumn($cell);
+ }
+
+ if (is_array($cellAddress)) {
+ foreach ($cellAddress as $columnKey => $value) {
+ $columnKey = (string) preg_replace('/[^a-z]/i', '', $columnKey);
+
+ return Coordinate::columnIndexFromString($columnKey);
+ }
+
+ return self::cellColumn($cell);
+ }
+
+ $cellAddress = $cellAddress ?? '';
+ if ($cell != null) {
+ [,, $sheetName] = Helpers::extractWorksheet($cellAddress, $cell);
+ [,, $cellAddress] = Helpers::extractCellAddresses($cellAddress, true, $cell->getWorksheet(), $sheetName);
+ }
+ [, $cellAddress] = Worksheet::extractSheetTitle($cellAddress, true);
+ $cellAddress ??= '';
+
+ if (str_contains($cellAddress, ':')) {
+ [$startAddress, $endAddress] = explode(':', $cellAddress);
+ $startAddress = (string) preg_replace('/[^a-z]/i', '', $startAddress);
+ $endAddress = (string) preg_replace('/[^a-z]/i', '', $endAddress);
+
+ return range(
+ Coordinate::columnIndexFromString($startAddress),
+ Coordinate::columnIndexFromString($endAddress)
+ );
+ }
+
+ $cellAddress = (string) preg_replace('/[^a-z]/i', '', $cellAddress);
+
+ return Coordinate::columnIndexFromString($cellAddress);
+ }
+
+ /**
+ * COLUMNS.
+ *
+ * Returns the number of columns in an array or reference.
+ *
+ * Excel Function:
+ * =COLUMNS(cellAddress)
+ *
+ * @param null|array|string $cellAddress An array or array formula, or a reference to a range of cells
+ * for which you want the number of columns
+ *
+ * @return int|string The number of columns in cellAddress, or a string if arguments are invalid
+ */
+ public static function COLUMNS($cellAddress = null)
+ {
+ if (self::cellAddressNullOrWhitespace($cellAddress)) {
+ return 1;
+ }
+ if (!is_array($cellAddress)) {
+ return ExcelError::VALUE();
+ }
+
+ reset($cellAddress);
+ $isMatrix = (is_numeric(key($cellAddress)));
+ [$columns, $rows] = Calculation::getMatrixDimensions($cellAddress);
+
+ if ($isMatrix) {
+ return $rows;
+ }
+
+ return $columns;
+ }
+
+ private static function cellRow(?Cell $cell): int
+ {
+ return ($cell !== null) ? $cell->getRow() : 1;
+ }
+
+ /**
+ * ROW.
+ *
+ * Returns the row number of the given cell reference
+ * If the cell reference is a range of cells, ROW returns the row numbers of each row in the reference
+ * as a vertical array.
+ * If cell reference is omitted, and the function is being called through the calculation engine,
+ * then it is assumed to be the reference of the cell in which the ROW function appears;
+ * otherwise this function returns 1.
+ *
+ * Excel Function:
+ * =ROW([cellAddress])
+ *
+ * @param null|array|string $cellAddress A reference to a range of cells for which you want the row numbers
+ *
+ * @return int|mixed[]
+ */
+ public static function ROW($cellAddress = null, ?Cell $cell = null): int|array
+ {
+ if (self::cellAddressNullOrWhitespace($cellAddress)) {
+ return self::cellRow($cell);
+ }
+
+ if (is_array($cellAddress)) {
+ foreach ($cellAddress as $rowKey => $rowValue) {
+ foreach ($rowValue as $columnKey => $cellValue) {
+ return (int) preg_replace('/\D/', '', $rowKey);
+ }
+ }
+
+ return self::cellRow($cell);
+ }
+
+ $cellAddress = $cellAddress ?? '';
+ if ($cell !== null) {
+ [,, $sheetName] = Helpers::extractWorksheet($cellAddress, $cell);
+ [,, $cellAddress] = Helpers::extractCellAddresses($cellAddress, true, $cell->getWorksheet(), $sheetName);
+ }
+ [, $cellAddress] = Worksheet::extractSheetTitle($cellAddress, true);
+ $cellAddress ??= '';
+ if (str_contains($cellAddress, ':')) {
+ [$startAddress, $endAddress] = explode(':', $cellAddress);
+ $startAddress = (int) (string) preg_replace('/\D/', '', $startAddress);
+ $endAddress = (int) (string) preg_replace('/\D/', '', $endAddress);
+
+ return array_map(
+ fn ($value): array => [$value],
+ range($startAddress, $endAddress)
+ );
+ }
+ [$cellAddress] = explode(':', $cellAddress);
+
+ return (int) preg_replace('/\D/', '', $cellAddress);
+ }
+
+ /**
+ * ROWS.
+ *
+ * Returns the number of rows in an array or reference.
+ *
+ * Excel Function:
+ * =ROWS(cellAddress)
+ *
+ * @param null|array|string $cellAddress An array or array formula, or a reference to a range of cells
+ * for which you want the number of rows
+ *
+ * @return int|string The number of rows in cellAddress, or a string if arguments are invalid
+ */
+ public static function ROWS($cellAddress = null)
+ {
+ if (self::cellAddressNullOrWhitespace($cellAddress)) {
+ return 1;
+ }
+ if (!is_array($cellAddress)) {
+ return ExcelError::VALUE();
+ }
+
+ reset($cellAddress);
+ $isMatrix = (is_numeric(key($cellAddress)));
+ [$columns, $rows] = Calculation::getMatrixDimensions($cellAddress);
+
+ if ($isMatrix) {
+ return $columns;
+ }
+
+ return $rows;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Selection.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Selection.php
new file mode 100644
index 0000000..ae74267
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Selection.php
@@ -0,0 +1,51 @@
+ $entryCount)) {
+ return ExcelError::VALUE();
+ }
+
+ if (is_array($chooseArgs[$chosenEntry])) {
+ return Functions::flattenArray($chooseArgs[$chosenEntry]);
+ }
+
+ return $chooseArgs[$chosenEntry];
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Sort.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Sort.php
new file mode 100644
index 0000000..a428174
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Sort.php
@@ -0,0 +1,312 @@
+getMessage();
+ }
+
+ // We want a simple, enumrated array of arrays where we can reference column by its index number.
+ $sortArray = array_values(array_map('array_values', $sortArray));
+
+ return ($byColumn === true)
+ ? self::sortByColumn($sortArray, $sortIndex, $sortOrder)
+ : self::sortByRow($sortArray, $sortIndex, $sortOrder);
+ }
+
+ /**
+ * SORTBY
+ * The SORTBY function sorts the contents of a range or array based on the values in a corresponding range or array.
+ * The returned array is the same shape as the provided array argument.
+ * Both $sortIndex and $sortOrder can be arrays, to provide multi-level sorting.
+ *
+ * @param mixed $sortArray The range of cells being sorted
+ * @param mixed $args
+ * At least one additional argument must be provided, The vector or range to sort on
+ * After that, arguments are passed as pairs:
+ * sort order: ascending or descending
+ * Ascending = 1 (self::ORDER_ASCENDING)
+ * Descending = -1 (self::ORDER_DESCENDING)
+ * additional arrays or ranges for multi-level sorting
+ *
+ * @return mixed The sorted values from the sort range
+ */
+ public static function sortBy(mixed $sortArray, mixed ...$args)
+ {
+ if (!is_array($sortArray)) {
+ // Scalars are always returned "as is"
+ return $sortArray;
+ }
+
+ $sortArray = self::enumerateArrayKeys($sortArray);
+
+ $lookupArraySize = count($sortArray);
+ $argumentCount = count($args);
+
+ try {
+ $sortBy = $sortOrder = [];
+ for ($i = 0; $i < $argumentCount; $i += 2) {
+ $sortBy[] = self::validateSortVector($args[$i], $lookupArraySize);
+ $sortOrder[] = self::validateSortOrder($args[$i + 1] ?? self::ORDER_ASCENDING);
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return self::processSortBy($sortArray, $sortBy, $sortOrder);
+ }
+
+ private static function enumerateArrayKeys(array $sortArray): array
+ {
+ array_walk(
+ $sortArray,
+ function (&$columns): void {
+ if (is_array($columns)) {
+ $columns = array_values($columns);
+ }
+ }
+ );
+
+ return array_values($sortArray);
+ }
+
+ private static function validateScalarArgumentsForSort(mixed &$sortIndex, mixed &$sortOrder, int $sortArraySize): void
+ {
+ if (is_array($sortIndex) || is_array($sortOrder)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ $sortIndex = self::validatePositiveInt($sortIndex, false);
+
+ if ($sortIndex > $sortArraySize) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ $sortOrder = self::validateSortOrder($sortOrder);
+ }
+
+ private static function validateSortVector(mixed $sortVector, int $sortArraySize): array
+ {
+ if (!is_array($sortVector)) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ // It doesn't matter if it's a row or a column vectors, it works either way
+ $sortVector = Functions::flattenArray($sortVector);
+ if (count($sortVector) !== $sortArraySize) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return $sortVector;
+ }
+
+ private static function validateSortOrder(mixed $sortOrder): int
+ {
+ $sortOrder = self::validateInt($sortOrder);
+ if (($sortOrder == self::ORDER_ASCENDING || $sortOrder === self::ORDER_DESCENDING) === false) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ return $sortOrder;
+ }
+
+ /**
+ * @param array $sortIndex
+ */
+ private static function validateArrayArgumentsForSort(&$sortIndex, mixed &$sortOrder, int $sortArraySize): void
+ {
+ // It doesn't matter if they're row or column vectors, it works either way
+ $sortIndex = Functions::flattenArray($sortIndex);
+ $sortOrder = Functions::flattenArray($sortOrder);
+
+ if (
+ count($sortOrder) === 0 || count($sortOrder) > $sortArraySize
+ || (count($sortOrder) > count($sortIndex))
+ ) {
+ throw new Exception(ExcelError::VALUE());
+ }
+
+ if (count($sortIndex) > count($sortOrder)) {
+ // If $sortOrder has fewer elements than $sortIndex, then the last order element is repeated.
+ $sortOrder = array_merge(
+ $sortOrder,
+ array_fill(0, count($sortIndex) - count($sortOrder), array_pop($sortOrder))
+ );
+ }
+
+ foreach ($sortIndex as $key => &$value) {
+ self::validateScalarArgumentsForSort($value, $sortOrder[$key], $sortArraySize);
+ }
+ }
+
+ private static function prepareSortVectorValues(array $sortVector): array
+ {
+ // Strings should be sorted case-insensitive; with booleans converted to locale-strings
+ return array_map(
+ function ($value) {
+ if (is_bool($value)) {
+ return ($value) ? Calculation::getTRUE() : Calculation::getFALSE();
+ } elseif (is_string($value)) {
+ return StringHelper::strToLower($value);
+ }
+
+ return $value;
+ },
+ $sortVector
+ );
+ }
+
+ /**
+ * @param array[] $sortIndex
+ * @param int[] $sortOrder
+ */
+ private static function processSortBy(array $sortArray, array $sortIndex, array $sortOrder): array
+ {
+ $sortArguments = [];
+ $sortData = [];
+ foreach ($sortIndex as $index => $sortValues) {
+ $sortData[] = $sortValues;
+ $sortArguments[] = self::prepareSortVectorValues($sortValues);
+ $sortArguments[] = $sortOrder[$index] === self::ORDER_ASCENDING ? SORT_ASC : SORT_DESC;
+ }
+
+ $sortVector = self::executeVectorSortQuery($sortData, $sortArguments);
+
+ return self::sortLookupArrayFromVector($sortArray, $sortVector);
+ }
+
+ /**
+ * @param int[] $sortIndex
+ * @param int[] $sortOrder
+ */
+ private static function sortByRow(array $sortArray, array $sortIndex, array $sortOrder): array
+ {
+ $sortVector = self::buildVectorForSort($sortArray, $sortIndex, $sortOrder);
+
+ return self::sortLookupArrayFromVector($sortArray, $sortVector);
+ }
+
+ /**
+ * @param int[] $sortIndex
+ * @param int[] $sortOrder
+ */
+ private static function sortByColumn(array $sortArray, array $sortIndex, array $sortOrder): array
+ {
+ $sortArray = Matrix::transpose($sortArray);
+ $result = self::sortByRow($sortArray, $sortIndex, $sortOrder);
+
+ return Matrix::transpose($result);
+ }
+
+ /**
+ * @param int[] $sortIndex
+ * @param int[] $sortOrder
+ */
+ private static function buildVectorForSort(array $sortArray, array $sortIndex, array $sortOrder): array
+ {
+ $sortArguments = [];
+ $sortData = [];
+ foreach ($sortIndex as $index => $sortIndexValue) {
+ $sortValues = array_column($sortArray, $sortIndexValue - 1);
+ $sortData[] = $sortValues;
+ $sortArguments[] = self::prepareSortVectorValues($sortValues);
+ $sortArguments[] = $sortOrder[$index] === self::ORDER_ASCENDING ? SORT_ASC : SORT_DESC;
+ }
+
+ $sortData = self::executeVectorSortQuery($sortData, $sortArguments);
+
+ return $sortData;
+ }
+
+ private static function executeVectorSortQuery(array $sortData, array $sortArguments): array
+ {
+ $sortData = Matrix::transpose($sortData);
+
+ // We need to set an index that can be retained, as array_multisort doesn't maintain numeric keys.
+ $sortDataIndexed = [];
+ foreach ($sortData as $key => $value) {
+ $sortDataIndexed[Coordinate::stringFromColumnIndex($key + 1)] = $value;
+ }
+ unset($sortData);
+
+ $sortArguments[] = &$sortDataIndexed;
+
+ array_multisort(...$sortArguments);
+
+ // After the sort, we restore the numeric keys that will now be in the correct, sorted order
+ $sortedData = [];
+ foreach (array_keys($sortDataIndexed) as $key) {
+ $sortedData[] = Coordinate::columnIndexFromString($key) - 1;
+ }
+
+ return $sortedData;
+ }
+
+ private static function sortLookupArrayFromVector(array $sortArray, array $sortVector): array
+ {
+ // Building a new array in the correct (sorted) order works; but may be memory heavy for larger arrays
+ $sortedArray = [];
+ foreach ($sortVector as $index) {
+ $sortedArray[] = $sortArray[$index];
+ }
+
+ return $sortedArray;
+
+// uksort(
+// $lookupArray,
+// function (int $a, int $b) use (array $sortVector) {
+// return $sortVector[$a] <=> $sortVector[$b];
+// }
+// );
+//
+// return $lookupArray;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Unique.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Unique.php
new file mode 100644
index 0000000..fa048b7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Unique.php
@@ -0,0 +1,137 @@
+ count($flattenedLookupVector, COUNT_RECURSIVE) + 1) {
+ // We're looking at a full column check (multiple rows)
+ $transpose = Matrix::transpose($lookupVector);
+ $result = self::uniqueByRow($transpose, $exactlyOnce);
+
+ return (is_array($result)) ? Matrix::transpose($result) : $result;
+ }
+
+ $result = self::countValuesCaseInsensitive($flattenedLookupVector);
+
+ if ($exactlyOnce === true) {
+ $result = self::exactlyOnceFilter($result);
+ }
+
+ if (count($result) === 0) {
+ return ExcelError::CALC();
+ }
+
+ $result = array_keys($result);
+
+ return $result;
+ }
+
+ private static function countValuesCaseInsensitive(array $caseSensitiveLookupValues): array
+ {
+ $caseInsensitiveCounts = array_count_values(
+ array_map(
+ fn (string $value): string => StringHelper::strToUpper($value),
+ $caseSensitiveLookupValues
+ )
+ );
+
+ $caseSensitiveCounts = [];
+ foreach ($caseInsensitiveCounts as $caseInsensitiveKey => $count) {
+ if (is_numeric($caseInsensitiveKey)) {
+ $caseSensitiveCounts[$caseInsensitiveKey] = $count;
+ } else {
+ foreach ($caseSensitiveLookupValues as $caseSensitiveValue) {
+ if ($caseInsensitiveKey === StringHelper::strToUpper($caseSensitiveValue)) {
+ $caseSensitiveCounts[$caseSensitiveValue] = $count;
+
+ break;
+ }
+ }
+ }
+ }
+
+ return $caseSensitiveCounts;
+ }
+
+ private static function exactlyOnceFilter(array $values): array
+ {
+ return array_filter(
+ $values,
+ fn ($value): bool => $value === 1
+ );
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
new file mode 100644
index 0000000..a0e375d
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
@@ -0,0 +1,117 @@
+getMessage();
+ }
+
+ $f = array_keys($lookupArray);
+ $firstRow = array_pop($f);
+ if ((!is_array($lookupArray[$firstRow])) || ($indexNumber > count($lookupArray[$firstRow]))) {
+ return ExcelError::REF();
+ }
+ $columnKeys = array_keys($lookupArray[$firstRow]);
+ $returnColumn = $columnKeys[--$indexNumber];
+ $firstColumn = array_shift($columnKeys) ?? 1;
+
+ if (!$notExactMatch) {
+ /** @var callable */
+ $callable = [self::class, 'vlookupSort'];
+ uasort($lookupArray, $callable);
+ }
+
+ $rowNumber = self::vLookupSearch($lookupValue, $lookupArray, $firstColumn, $notExactMatch);
+
+ if ($rowNumber !== null) {
+ // return the appropriate value
+ return $lookupArray[$rowNumber][$returnColumn];
+ }
+
+ return ExcelError::NA();
+ }
+
+ private static function vlookupSort(array $a, array $b): int
+ {
+ reset($a);
+ $firstColumn = key($a);
+ $aLower = StringHelper::strToLower((string) $a[$firstColumn]);
+ $bLower = StringHelper::strToLower((string) $b[$firstColumn]);
+
+ if ($aLower == $bLower) {
+ return 0;
+ }
+
+ return ($aLower < $bLower) ? -1 : 1;
+ }
+
+ /**
+ * @param mixed $lookupValue The value that you want to match in lookup_array
+ * @param int|string $column
+ */
+ private static function vLookupSearch(mixed $lookupValue, array $lookupArray, $column, bool $notExactMatch): ?int
+ {
+ $lookupLower = StringHelper::strToLower((string) $lookupValue);
+
+ $rowNumber = null;
+ foreach ($lookupArray as $rowKey => $rowData) {
+ $bothNumeric = is_numeric($lookupValue) && is_numeric($rowData[$column]);
+ $bothNotNumeric = !is_numeric($lookupValue) && !is_numeric($rowData[$column]);
+ $cellDataLower = StringHelper::strToLower((string) $rowData[$column]);
+
+ // break if we have passed possible keys
+ if (
+ $notExactMatch
+ && (($bothNumeric && ($rowData[$column] > $lookupValue))
+ || ($bothNotNumeric && ($cellDataLower > $lookupLower)))
+ ) {
+ break;
+ }
+
+ $rowNumber = self::checkMatch(
+ $bothNumeric,
+ $bothNotNumeric,
+ $notExactMatch,
+ $rowKey,
+ $cellDataLower,
+ $lookupLower,
+ $rowNumber
+ );
+ }
+
+ return $rowNumber;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php
new file mode 100644
index 0000000..58a56a0
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php
@@ -0,0 +1,1440 @@
+getMessage();
+ }
+
+ return abs($number);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Angle.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Angle.php
new file mode 100644
index 0000000..e7de7aa
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Angle.php
@@ -0,0 +1,63 @@
+getMessage();
+ }
+
+ return rad2deg($number);
+ }
+
+ /**
+ * RADIANS.
+ *
+ * Returns the result of builtin function deg2rad after validating args.
+ *
+ * @param mixed $number Should be numeric, or can be an array of numbers
+ *
+ * @return array|float|string Rounded number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function toRadians(mixed $number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return deg2rad($number);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Arabic.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Arabic.php
new file mode 100644
index 0000000..3c32476
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Arabic.php
@@ -0,0 +1,97 @@
+ 1000,
+ 'D' => 500,
+ 'C' => 100,
+ 'L' => 50,
+ 'X' => 10,
+ 'V' => 5,
+ 'I' => 1,
+ ];
+
+ /**
+ * Recursively calculate the arabic value of a roman numeral.
+ *
+ * @param int $sum
+ * @param int $subtract
+ *
+ * @return int
+ */
+ private static function calculateArabic(array $roman, &$sum = 0, $subtract = 0)
+ {
+ $numeral = array_shift($roman);
+ if (!isset(self::ROMAN_LOOKUP[$numeral])) {
+ throw new Exception('Invalid character detected');
+ }
+
+ $arabic = self::ROMAN_LOOKUP[$numeral];
+ if (count($roman) > 0 && isset(self::ROMAN_LOOKUP[$roman[0]]) && $arabic < self::ROMAN_LOOKUP[$roman[0]]) {
+ $subtract += $arabic;
+ } else {
+ $sum += ($arabic - $subtract);
+ $subtract = 0;
+ }
+
+ if (count($roman) > 0) {
+ self::calculateArabic($roman, $sum, $subtract);
+ }
+
+ return $sum;
+ }
+
+ /**
+ * ARABIC.
+ *
+ * Converts a Roman numeral to an Arabic numeral.
+ *
+ * Excel Function:
+ * ARABIC(text)
+ *
+ * @param mixed $roman Should be a string, or can be an array of strings
+ *
+ * @return array|int|string the arabic numberal contrived from the roman numeral
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function evaluate(mixed $roman)
+ {
+ if (is_array($roman)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $roman);
+ }
+
+ // An empty string should return 0
+ $roman = substr(trim(strtoupper((string) $roman)), 0, 255);
+ if ($roman === '') {
+ return 0;
+ }
+
+ // Convert the roman numeral to an arabic number
+ $negativeNumber = $roman[0] === '-';
+ if ($negativeNumber) {
+ $roman = substr($roman, 1);
+ }
+
+ try {
+ $arabic = self::calculateArabic(str_split($roman));
+ } catch (Exception) {
+ return ExcelError::VALUE(); // Invalid character detected
+ }
+
+ if ($negativeNumber) {
+ $arabic *= -1; // The number should be negative
+ }
+
+ return $arabic;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Base.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Base.php
new file mode 100644
index 0000000..7eda72c
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Base.php
@@ -0,0 +1,65 @@
+getMessage();
+ }
+
+ return self::calculate($number, $radix, $minLength);
+ }
+
+ private static function calculate(float $number, int $radix, mixed $minLength): string
+ {
+ if ($minLength === null || is_numeric($minLength)) {
+ if ($number < 0 || $number >= 2 ** 53 || $radix < 2 || $radix > 36) {
+ return ExcelError::NAN(); // Numeric range constraints
+ }
+
+ $outcome = strtoupper((string) base_convert("$number", 10, $radix));
+ if ($minLength !== null) {
+ $outcome = str_pad($outcome, (int) $minLength, '0', STR_PAD_LEFT); // String padding
+ }
+
+ return $outcome;
+ }
+
+ return ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php
new file mode 100644
index 0000000..365ec2e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php
@@ -0,0 +1,165 @@
+getMessage();
+ }
+
+ return self::argumentsOk((float) $number, (float) $significance);
+ }
+
+ /**
+ * CEILING.MATH.
+ *
+ * Round a number down to the nearest integer or to the nearest multiple of significance.
+ *
+ * Excel Function:
+ * CEILING.MATH(number[,significance[,mode]])
+ *
+ * @param mixed $number Number to round
+ * Or can be an array of values
+ * @param mixed $significance Significance
+ * Or can be an array of values
+ * @param array|int $mode direction to round negative numbers
+ * Or can be an array of values
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function math(mixed $number, mixed $significance = null, $mode = 0): array|string|float
+ {
+ if (is_array($number) || is_array($significance) || is_array($mode)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $significance, $mode);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ $significance = Helpers::validateNumericNullSubstitution($significance, ($number < 0) ? -1 : 1);
+ $mode = Helpers::validateNumericNullSubstitution($mode, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (empty($significance * $number)) {
+ return 0.0;
+ }
+ if (self::ceilingMathTest((float) $significance, (float) $number, (int) $mode)) {
+ return floor($number / $significance) * $significance;
+ }
+
+ return ceil($number / $significance) * $significance;
+ }
+
+ /**
+ * CEILING.PRECISE.
+ *
+ * Rounds number up, away from zero, to the nearest multiple of significance.
+ *
+ * Excel Function:
+ * CEILING.PRECISE(number[,significance])
+ *
+ * @param mixed $number the number you want to round
+ * Or can be an array of values
+ * @param array|float $significance the multiple to which you want to round
+ * Or can be an array of values
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function precise(mixed $number, $significance = 1): array|string|float
+ {
+ if (is_array($number) || is_array($significance)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $significance);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ $significance = Helpers::validateNumericNullSubstitution($significance, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (!$significance) {
+ return 0.0;
+ }
+ $result = $number / abs($significance);
+
+ return ceil($result) * $significance * (($significance < 0) ? -1 : 1);
+ }
+
+ /**
+ * Let CEILINGMATH complexity pass Scrutinizer.
+ */
+ private static function ceilingMathTest(float $significance, float $number, int $mode): bool
+ {
+ return ($significance < 0) || ($number < 0 && !empty($mode));
+ }
+
+ /**
+ * Avoid Scrutinizer problems concerning complexity.
+ */
+ private static function argumentsOk(float $number, float $significance): float|string
+ {
+ if (empty($number * $significance)) {
+ return 0.0;
+ }
+ if (Helpers::returnSign($number) == Helpers::returnSign($significance)) {
+ return ceil($number / $significance) * $significance;
+ }
+
+ return ExcelError::NAN();
+ }
+
+ private static function floorCheck1Arg(): void
+ {
+ $compatibility = Functions::getCompatibilityMode();
+ if ($compatibility === Functions::COMPATIBILITY_EXCEL) {
+ throw new Exception('Excel requires 2 arguments for CEILING');
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php
new file mode 100644
index 0000000..170b4b2
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php
@@ -0,0 +1,91 @@
+getMessage();
+ }
+
+ return round(Factorial::fact($numObjs) / Factorial::fact($numObjs - $numInSet)) / Factorial::fact($numInSet); // @phpstan-ignore-line
+ }
+
+ /**
+ * COMBINA.
+ *
+ * Returns the number of combinations for a given number of items. Use COMBIN to
+ * determine the total possible number of groups for a given number of items.
+ *
+ * Excel Function:
+ * COMBINA(numObjs,numInSet)
+ *
+ * @param mixed $numObjs Number of different objects, or can be an array of numbers
+ * @param mixed $numInSet Number of objects in each combination, or can be an array of numbers
+ *
+ * @return array|float|int|string Number of combinations, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function withRepetition(mixed $numObjs, mixed $numInSet): array|int|string|float
+ {
+ if (is_array($numObjs) || is_array($numInSet)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $numObjs, $numInSet);
+ }
+
+ try {
+ $numObjs = Helpers::validateNumericNullSubstitution($numObjs, null);
+ $numInSet = Helpers::validateNumericNullSubstitution($numInSet, null);
+ Helpers::validateNotNegative($numInSet);
+ Helpers::validateNotNegative($numObjs);
+ $numObjs = (int) $numObjs;
+ $numInSet = (int) $numInSet;
+ // Microsoft documentation says following is true, but Excel
+ // does not enforce this restriction.
+ //Helpers::validateNotNegative($numObjs - $numInSet);
+ if ($numObjs === 0) {
+ Helpers::validateNotNegative(-$numInSet);
+
+ return 1;
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return round(
+ Factorial::fact($numObjs + $numInSet - 1) / Factorial::fact($numObjs - 1) // @phpstan-ignore-line
+ ) / Factorial::fact($numInSet);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Exp.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Exp.php
new file mode 100644
index 0000000..ea67d5f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Exp.php
@@ -0,0 +1,37 @@
+getMessage();
+ }
+
+ return exp($number);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Factorial.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Factorial.php
new file mode 100644
index 0000000..02143b0
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Factorial.php
@@ -0,0 +1,126 @@
+getMessage();
+ }
+
+ $factLoop = floor($factVal);
+ if ($factVal > $factLoop) {
+ if (Functions::getCompatibilityMode() == Functions::COMPATIBILITY_GNUMERIC) {
+ return Statistical\Distributions\Gamma::gammaValue($factVal + 1);
+ }
+ }
+
+ $factorial = 1;
+ while ($factLoop > 1) {
+ $factorial *= $factLoop--;
+ }
+
+ return $factorial;
+ }
+
+ /**
+ * FACTDOUBLE.
+ *
+ * Returns the double factorial of a number.
+ *
+ * Excel Function:
+ * FACTDOUBLE(factVal)
+ *
+ * @param array|float $factVal Factorial Value, or can be an array of numbers
+ *
+ * @return array|float|int|string Double Factorial, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function factDouble($factVal): array|string|float|int
+ {
+ if (is_array($factVal)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $factVal);
+ }
+
+ try {
+ $factVal = Helpers::validateNumericNullSubstitution($factVal, 0);
+ Helpers::validateNotNegative($factVal);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $factLoop = floor($factVal);
+ $factorial = 1;
+ while ($factLoop > 1) {
+ $factorial *= $factLoop;
+ $factLoop -= 2;
+ }
+
+ return $factorial;
+ }
+
+ /**
+ * MULTINOMIAL.
+ *
+ * Returns the ratio of the factorial of a sum of values to the product of factorials.
+ *
+ * @param mixed[] $args An array of mixed values for the Data Series
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function multinomial(...$args): string|int|float
+ {
+ $summer = 0;
+ $divisor = 1;
+
+ try {
+ // Loop through arguments
+ foreach (Functions::flattenArray($args) as $argx) {
+ $arg = Helpers::validateNumericNullSubstitution($argx, null);
+ Helpers::validateNotNegative($arg);
+ $arg = (int) $arg;
+ $summer += $arg;
+ $divisor *= self::fact($arg);
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $summer = self::fact($summer);
+
+ return is_numeric($summer) ? ($summer / $divisor) : ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php
new file mode 100644
index 0000000..83cf051
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php
@@ -0,0 +1,191 @@
+getMessage();
+ }
+
+ return self::argumentsOk((float) $number, (float) $significance);
+ }
+
+ /**
+ * FLOOR.MATH.
+ *
+ * Round a number down to the nearest integer or to the nearest multiple of significance.
+ *
+ * Excel Function:
+ * FLOOR.MATH(number[,significance[,mode]])
+ *
+ * @param mixed $number Number to round
+ * Or can be an array of values
+ * @param mixed $significance Significance
+ * Or can be an array of values
+ * @param mixed $mode direction to round negative numbers
+ * Or can be an array of values
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function math(mixed $number, mixed $significance = null, mixed $mode = 0)
+ {
+ if (is_array($number) || is_array($significance) || is_array($mode)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $significance, $mode);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ $significance = Helpers::validateNumericNullSubstitution($significance, ($number < 0) ? -1 : 1);
+ $mode = Helpers::validateNumericNullSubstitution($mode, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return self::argsOk((float) $number, (float) $significance, (int) $mode);
+ }
+
+ /**
+ * FLOOR.PRECISE.
+ *
+ * Rounds number down, toward zero, to the nearest multiple of significance.
+ *
+ * Excel Function:
+ * FLOOR.PRECISE(number[,significance])
+ *
+ * @param array|float $number Number to round
+ * Or can be an array of values
+ * @param array|float $significance Significance
+ * Or can be an array of values
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function precise($number, $significance = 1)
+ {
+ if (is_array($number) || is_array($significance)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $significance);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ $significance = Helpers::validateNumericNullSubstitution($significance, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return self::argumentsOkPrecise((float) $number, (float) $significance);
+ }
+
+ /**
+ * Avoid Scrutinizer problems concerning complexity.
+ */
+ private static function argumentsOkPrecise(float $number, float $significance): string|float
+ {
+ if ($significance == 0.0) {
+ return ExcelError::DIV0();
+ }
+ if ($number == 0.0) {
+ return 0.0;
+ }
+
+ return floor($number / abs($significance)) * abs($significance);
+ }
+
+ /**
+ * Avoid Scrutinizer complexity problems.
+ *
+ * @return float|string Rounded Number, or a string containing an error
+ */
+ private static function argsOk(float $number, float $significance, int $mode): string|float
+ {
+ if (!$significance) {
+ return ExcelError::DIV0();
+ }
+ if (!$number) {
+ return 0.0;
+ }
+ if (self::floorMathTest($number, $significance, $mode)) {
+ return ceil($number / $significance) * $significance;
+ }
+
+ return floor($number / $significance) * $significance;
+ }
+
+ /**
+ * Let FLOORMATH complexity pass Scrutinizer.
+ */
+ private static function floorMathTest(float $number, float $significance, int $mode): bool
+ {
+ return Helpers::returnSign($significance) == -1 || (Helpers::returnSign($number) == -1 && !empty($mode));
+ }
+
+ /**
+ * Avoid Scrutinizer problems concerning complexity.
+ */
+ private static function argumentsOk(float $number, float $significance): string|float
+ {
+ if ($significance == 0.0) {
+ return ExcelError::DIV0();
+ }
+ if ($number == 0.0) {
+ return 0.0;
+ }
+ if (Helpers::returnSign($significance) == 1) {
+ return floor($number / $significance) * $significance;
+ }
+ if (Helpers::returnSign($number) == -1 && Helpers::returnSign($significance) == -1) {
+ return floor($number / $significance) * $significance;
+ }
+
+ return ExcelError::NAN();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Gcd.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Gcd.php
new file mode 100644
index 0000000..6641ac6
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Gcd.php
@@ -0,0 +1,70 @@
+getMessage();
+ }
+
+ if (count($arrayArgs) <= 0) {
+ return ExcelError::VALUE();
+ }
+ $gcd = (int) array_pop($arrayArgs);
+ do {
+ $gcd = self::evaluateGCD($gcd, (int) array_pop($arrayArgs));
+ } while (!empty($arrayArgs));
+
+ return $gcd;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Helpers.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Helpers.php
new file mode 100644
index 0000000..28b9711
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Helpers.php
@@ -0,0 +1,125 @@
+= 0.
+ *
+ * @param float|int $number
+ */
+ public static function validateNotNegative($number, ?string $except = null): void
+ {
+ if ($number >= 0) {
+ return;
+ }
+
+ throw new Exception($except ?? ExcelError::NAN());
+ }
+
+ /**
+ * Confirm number > 0.
+ *
+ * @param float|int $number
+ */
+ public static function validatePositive($number, ?string $except = null): void
+ {
+ if ($number > 0) {
+ return;
+ }
+
+ throw new Exception($except ?? ExcelError::NAN());
+ }
+
+ /**
+ * Confirm number != 0.
+ *
+ * @param float|int $number
+ */
+ public static function validateNotZero($number): void
+ {
+ if ($number) {
+ return;
+ }
+
+ throw new Exception(ExcelError::DIV0());
+ }
+
+ public static function returnSign(float $number): int
+ {
+ return $number ? (($number > 0) ? 1 : -1) : 0;
+ }
+
+ public static function getEven(float $number): float
+ {
+ $significance = 2 * self::returnSign($number);
+
+ return $significance ? (ceil($number / $significance) * $significance) : 0;
+ }
+
+ /**
+ * Return NAN or value depending on argument.
+ *
+ * @param float $result Number
+ *
+ * @return float|string
+ */
+ public static function numberOrNan($result)
+ {
+ return is_nan($result) ? ExcelError::NAN() : $result;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/IntClass.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/IntClass.php
new file mode 100644
index 0000000..76bbced
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/IntClass.php
@@ -0,0 +1,40 @@
+getMessage();
+ }
+
+ return (int) floor($number);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php
new file mode 100644
index 0000000..979b6df
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php
@@ -0,0 +1,111 @@
+ 1; --$i) {
+ if (($value % $i) == 0) {
+ $factorArray = array_merge($factorArray, self::factors($value / $i));
+ $factorArray = array_merge($factorArray, self::factors($i));
+ if ($i <= sqrt($value)) {
+ break;
+ }
+ }
+ }
+ if (!empty($factorArray)) {
+ rsort($factorArray);
+
+ return $factorArray;
+ }
+
+ return [(int) $value];
+ }
+
+ /**
+ * LCM.
+ *
+ * Returns the lowest common multiplier of a series of numbers
+ * The least common multiple is the smallest positive integer that is a multiple
+ * of all integer arguments number1, number2, and so on. Use LCM to add fractions
+ * with different denominators.
+ *
+ * Excel Function:
+ * LCM(number1[,number2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return int|string Lowest Common Multiplier, or a string containing an error
+ */
+ public static function evaluate(mixed ...$args): int|string
+ {
+ try {
+ $arrayArgs = [];
+ $anyZeros = 0;
+ $anyNonNulls = 0;
+ foreach (Functions::flattenArray($args) as $value1) {
+ $anyNonNulls += (int) ($value1 !== null);
+ $value = Helpers::validateNumericNullSubstitution($value1, 1);
+ Helpers::validateNotNegative($value);
+ $arrayArgs[] = (int) $value;
+ $anyZeros += (int) !((bool) $value);
+ }
+ self::testNonNulls($anyNonNulls);
+ if ($anyZeros) {
+ return 0;
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $returnValue = 1;
+ $allPoweredFactors = [];
+ // Loop through arguments
+ foreach ($arrayArgs as $value) {
+ $myFactors = self::factors(floor($value));
+ $myCountedFactors = array_count_values($myFactors);
+ $myPoweredFactors = [];
+ foreach ($myCountedFactors as $myCountedFactor => $myCountedPower) {
+ $myPoweredFactors[$myCountedFactor] = $myCountedFactor ** $myCountedPower;
+ }
+ self::processPoweredFactors($allPoweredFactors, $myPoweredFactors);
+ }
+ foreach ($allPoweredFactors as $allPoweredFactor) {
+ $returnValue *= (int) $allPoweredFactor;
+ }
+
+ return $returnValue;
+ }
+
+ private static function processPoweredFactors(array &$allPoweredFactors, array &$myPoweredFactors): void
+ {
+ foreach ($myPoweredFactors as $myPoweredValue => $myPoweredFactor) {
+ if (isset($allPoweredFactors[$myPoweredValue])) {
+ if ($allPoweredFactors[$myPoweredValue] < $myPoweredFactor) {
+ $allPoweredFactors[$myPoweredValue] = $myPoweredFactor;
+ }
+ } else {
+ $allPoweredFactors[$myPoweredValue] = $myPoweredFactor;
+ }
+ }
+ }
+
+ private static function testNonNulls(int $anyNonNulls): void
+ {
+ if (!$anyNonNulls) {
+ throw new Exception(ExcelError::VALUE());
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php
new file mode 100644
index 0000000..3de0a2b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php
@@ -0,0 +1,102 @@
+getMessage();
+ }
+
+ return log($number, $base);
+ }
+
+ /**
+ * LOG10.
+ *
+ * Returns the result of builtin function log after validating args.
+ *
+ * @param mixed $number Should be numeric
+ * Or can be an array of values
+ *
+ * @return array|float|string Rounded number
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function base10(mixed $number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ Helpers::validatePositive($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return log10($number);
+ }
+
+ /**
+ * LN.
+ *
+ * Returns the result of builtin function log after validating args.
+ *
+ * @param mixed $number Should be numeric
+ * Or can be an array of values
+ *
+ * @return array|float|string Rounded number
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function natural(mixed $number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ Helpers::validatePositive($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return log($number);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php
new file mode 100644
index 0000000..fad0108
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php
@@ -0,0 +1,179 @@
+getMessage();
+ }
+
+ if ($step === 0) {
+ return array_chunk(
+ array_fill(0, $rows * $columns, $start),
+ max($columns, 1)
+ );
+ }
+
+ return array_chunk(
+ range($start, $start + (($rows * $columns - 1) * $step), $step),
+ max($columns, 1)
+ );
+ }
+
+ /**
+ * MDETERM.
+ *
+ * Returns the matrix determinant of an array.
+ *
+ * Excel Function:
+ * MDETERM(array)
+ *
+ * @param mixed $matrixValues A matrix of values
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function determinant(mixed $matrixValues)
+ {
+ try {
+ $matrix = self::getMatrix($matrixValues);
+
+ return $matrix->determinant();
+ } catch (MatrixException) {
+ return ExcelError::VALUE();
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ }
+
+ /**
+ * MINVERSE.
+ *
+ * Returns the inverse matrix for the matrix stored in an array.
+ *
+ * Excel Function:
+ * MINVERSE(array)
+ *
+ * @param mixed $matrixValues A matrix of values
+ *
+ * @return array|string The result, or a string containing an error
+ */
+ public static function inverse(mixed $matrixValues): array|string
+ {
+ try {
+ $matrix = self::getMatrix($matrixValues);
+
+ return $matrix->inverse()->toArray();
+ } catch (MatrixDiv0Exception) {
+ return ExcelError::NAN();
+ } catch (MatrixException) {
+ return ExcelError::VALUE();
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ }
+
+ /**
+ * MMULT.
+ *
+ * @param mixed $matrixData1 A matrix of values
+ * @param mixed $matrixData2 A matrix of values
+ *
+ * @return array|string The result, or a string containing an error
+ */
+ public static function multiply(mixed $matrixData1, mixed $matrixData2): array|string
+ {
+ try {
+ $matrixA = self::getMatrix($matrixData1);
+ $matrixB = self::getMatrix($matrixData2);
+
+ return $matrixA->multiply($matrixB)->toArray();
+ } catch (MatrixException) {
+ return ExcelError::VALUE();
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ }
+
+ /**
+ * MUnit.
+ *
+ * @param mixed $dimension Number of rows and columns
+ *
+ * @return array|string The result, or a string containing an error
+ */
+ public static function identity(mixed $dimension)
+ {
+ try {
+ $dimension = (int) Helpers::validateNumericNullBool($dimension);
+ Helpers::validatePositive($dimension, ExcelError::VALUE());
+ $matrix = Builder::createIdentityMatrix($dimension, 0)->toArray();
+
+ return $matrix;
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Operations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Operations.php
new file mode 100644
index 0000000..5a90731
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Operations.php
@@ -0,0 +1,158 @@
+getMessage();
+ }
+
+ if (($dividend < 0.0) && ($divisor > 0.0)) {
+ return $divisor - fmod(abs($dividend), $divisor);
+ }
+ if (($dividend > 0.0) && ($divisor < 0.0)) {
+ return $divisor + fmod($dividend, abs($divisor));
+ }
+
+ return fmod($dividend, $divisor);
+ }
+
+ /**
+ * POWER.
+ *
+ * Computes x raised to the power y.
+ *
+ * @param array|float|int $x
+ * Or can be an array of values
+ * @param array|float|int $y
+ * Or can be an array of values
+ *
+ * @return array|float|int|string The result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function power($x, $y)
+ {
+ if (is_array($x) || is_array($y)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $y);
+ }
+
+ try {
+ $x = Helpers::validateNumericNullBool($x);
+ $y = Helpers::validateNumericNullBool($y);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Validate parameters
+ if (!$x && !$y) {
+ return ExcelError::NAN();
+ }
+ if (!$x && $y < 0.0) {
+ return ExcelError::DIV0();
+ }
+
+ // Return
+ $result = $x ** $y;
+
+ return Helpers::numberOrNan($result);
+ }
+
+ /**
+ * PRODUCT.
+ *
+ * PRODUCT returns the product of all the values and cells referenced in the argument list.
+ *
+ * Excel Function:
+ * PRODUCT(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ */
+ public static function product(mixed ...$args): string|float
+ {
+ $args = array_filter(
+ Functions::flattenArray($args),
+ fn ($value): bool => $value !== null
+ );
+
+ // Return value
+ $returnValue = (count($args) === 0) ? 0.0 : 1.0;
+
+ // Loop through arguments
+ foreach ($args as $arg) {
+ // Is it a numeric value?
+ if (is_numeric($arg)) {
+ $returnValue *= $arg;
+ } else {
+ return ExcelError::throwError($arg);
+ }
+ }
+
+ return (float) $returnValue;
+ }
+
+ /**
+ * QUOTIENT.
+ *
+ * QUOTIENT function returns the integer portion of a division. Numerator is the divided number
+ * and denominator is the divisor.
+ *
+ * Excel Function:
+ * QUOTIENT(value1,value2)
+ *
+ * @param mixed $numerator Expect float|int
+ * Or can be an array of values
+ * @param mixed $denominator Expect float|int
+ * Or can be an array of values
+ *
+ * @return array|int|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function quotient(mixed $numerator, mixed $denominator): array|string|int
+ {
+ if (is_array($numerator) || is_array($denominator)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $numerator, $denominator);
+ }
+
+ try {
+ $numerator = Helpers::validateNumericNullSubstitution($numerator, 0);
+ $denominator = Helpers::validateNumericNullSubstitution($denominator, 0);
+ Helpers::validateNotZero($denominator);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return (int) ($numerator / $denominator);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Random.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Random.php
new file mode 100644
index 0000000..055872b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Random.php
@@ -0,0 +1,99 @@
+getMessage();
+ }
+
+ return mt_rand($min, $max);
+ }
+
+ /**
+ * RANDARRAY.
+ *
+ * Generates a list of sequential numbers in an array.
+ *
+ * Excel Function:
+ * RANDARRAY([rows],[columns],[start],[step])
+ *
+ * @param mixed $rows the number of rows to return, defaults to 1
+ * @param mixed $columns the number of columns to return, defaults to 1
+ * @param mixed $min the minimum number to be returned, defaults to 0
+ * @param mixed $max the maximum number to be returned, defaults to 1
+ * @param bool $wholeNumber the type of numbers to return:
+ * False - Decimal numbers to 15 decimal places. (default)
+ * True - Whole (integer) numbers
+ *
+ * @return array|string The resulting array, or a string containing an error
+ */
+ public static function randArray(mixed $rows = 1, mixed $columns = 1, mixed $min = 0, mixed $max = 1, $wholeNumber = false): string|array
+ {
+ try {
+ $rows = (int) Helpers::validateNumericNullSubstitution($rows, 1);
+ Helpers::validatePositive($rows);
+ $columns = (int) Helpers::validateNumericNullSubstitution($columns, 1);
+ Helpers::validatePositive($columns);
+ $min = Helpers::validateNumericNullSubstitution($min, 1);
+ $max = Helpers::validateNumericNullSubstitution($max, 1);
+
+ if ($max <= $min) {
+ return ExcelError::VALUE();
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return array_chunk(
+ array_map(
+ function () use ($min, $max, $wholeNumber): int|float {
+ return $wholeNumber
+ ? mt_rand((int) $min, (int) $max)
+ : (mt_rand() / mt_getrandmax()) * ($max - $min) + $min;
+ },
+ array_fill(0, $rows * $columns, $min)
+ ),
+ max($columns, 1)
+ );
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Roman.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Roman.php
new file mode 100644
index 0000000..7c6f8e7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Roman.php
@@ -0,0 +1,846 @@
+ ['VL'],
+ 46 => ['VLI'],
+ 47 => ['VLII'],
+ 48 => ['VLIII'],
+ 49 => ['VLIV', 'IL'],
+ 95 => ['VC'],
+ 96 => ['VCI'],
+ 97 => ['VCII'],
+ 98 => ['VCIII'],
+ 99 => ['VCIV', 'IC'],
+ 145 => ['CVL'],
+ 146 => ['CVLI'],
+ 147 => ['CVLII'],
+ 148 => ['CVLIII'],
+ 149 => ['CVLIV', 'CIL'],
+ 195 => ['CVC'],
+ 196 => ['CVCI'],
+ 197 => ['CVCII'],
+ 198 => ['CVCIII'],
+ 199 => ['CVCIV', 'CIC'],
+ 245 => ['CCVL'],
+ 246 => ['CCVLI'],
+ 247 => ['CCVLII'],
+ 248 => ['CCVLIII'],
+ 249 => ['CCVLIV', 'CCIL'],
+ 295 => ['CCVC'],
+ 296 => ['CCVCI'],
+ 297 => ['CCVCII'],
+ 298 => ['CCVCIII'],
+ 299 => ['CCVCIV', 'CCIC'],
+ 345 => ['CCCVL'],
+ 346 => ['CCCVLI'],
+ 347 => ['CCCVLII'],
+ 348 => ['CCCVLIII'],
+ 349 => ['CCCVLIV', 'CCCIL'],
+ 395 => ['CCCVC'],
+ 396 => ['CCCVCI'],
+ 397 => ['CCCVCII'],
+ 398 => ['CCCVCIII'],
+ 399 => ['CCCVCIV', 'CCCIC'],
+ 445 => ['CDVL'],
+ 446 => ['CDVLI'],
+ 447 => ['CDVLII'],
+ 448 => ['CDVLIII'],
+ 449 => ['CDVLIV', 'CDIL'],
+ 450 => ['LD'],
+ 451 => ['LDI'],
+ 452 => ['LDII'],
+ 453 => ['LDIII'],
+ 454 => ['LDIV'],
+ 455 => ['LDV'],
+ 456 => ['LDVI'],
+ 457 => ['LDVII'],
+ 458 => ['LDVIII'],
+ 459 => ['LDIX'],
+ 460 => ['LDX'],
+ 461 => ['LDXI'],
+ 462 => ['LDXII'],
+ 463 => ['LDXIII'],
+ 464 => ['LDXIV'],
+ 465 => ['LDXV'],
+ 466 => ['LDXVI'],
+ 467 => ['LDXVII'],
+ 468 => ['LDXVIII'],
+ 469 => ['LDXIX'],
+ 470 => ['LDXX'],
+ 471 => ['LDXXI'],
+ 472 => ['LDXXII'],
+ 473 => ['LDXXIII'],
+ 474 => ['LDXXIV'],
+ 475 => ['LDXXV'],
+ 476 => ['LDXXVI'],
+ 477 => ['LDXXVII'],
+ 478 => ['LDXXVIII'],
+ 479 => ['LDXXIX'],
+ 480 => ['LDXXX'],
+ 481 => ['LDXXXI'],
+ 482 => ['LDXXXII'],
+ 483 => ['LDXXXIII'],
+ 484 => ['LDXXXIV'],
+ 485 => ['LDXXXV'],
+ 486 => ['LDXXXVI'],
+ 487 => ['LDXXXVII'],
+ 488 => ['LDXXXVIII'],
+ 489 => ['LDXXXIX'],
+ 490 => ['LDXL', 'XD'],
+ 491 => ['LDXLI', 'XDI'],
+ 492 => ['LDXLII', 'XDII'],
+ 493 => ['LDXLIII', 'XDIII'],
+ 494 => ['LDXLIV', 'XDIV'],
+ 495 => ['LDVL', 'XDV', 'VD'],
+ 496 => ['LDVLI', 'XDVI', 'VDI'],
+ 497 => ['LDVLII', 'XDVII', 'VDII'],
+ 498 => ['LDVLIII', 'XDVIII', 'VDIII'],
+ 499 => ['LDVLIV', 'XDIX', 'VDIV', 'ID'],
+ 545 => ['DVL'],
+ 546 => ['DVLI'],
+ 547 => ['DVLII'],
+ 548 => ['DVLIII'],
+ 549 => ['DVLIV', 'DIL'],
+ 595 => ['DVC'],
+ 596 => ['DVCI'],
+ 597 => ['DVCII'],
+ 598 => ['DVCIII'],
+ 599 => ['DVCIV', 'DIC'],
+ 645 => ['DCVL'],
+ 646 => ['DCVLI'],
+ 647 => ['DCVLII'],
+ 648 => ['DCVLIII'],
+ 649 => ['DCVLIV', 'DCIL'],
+ 695 => ['DCVC'],
+ 696 => ['DCVCI'],
+ 697 => ['DCVCII'],
+ 698 => ['DCVCIII'],
+ 699 => ['DCVCIV', 'DCIC'],
+ 745 => ['DCCVL'],
+ 746 => ['DCCVLI'],
+ 747 => ['DCCVLII'],
+ 748 => ['DCCVLIII'],
+ 749 => ['DCCVLIV', 'DCCIL'],
+ 795 => ['DCCVC'],
+ 796 => ['DCCVCI'],
+ 797 => ['DCCVCII'],
+ 798 => ['DCCVCIII'],
+ 799 => ['DCCVCIV', 'DCCIC'],
+ 845 => ['DCCCVL'],
+ 846 => ['DCCCVLI'],
+ 847 => ['DCCCVLII'],
+ 848 => ['DCCCVLIII'],
+ 849 => ['DCCCVLIV', 'DCCCIL'],
+ 895 => ['DCCCVC'],
+ 896 => ['DCCCVCI'],
+ 897 => ['DCCCVCII'],
+ 898 => ['DCCCVCIII'],
+ 899 => ['DCCCVCIV', 'DCCCIC'],
+ 945 => ['CMVL'],
+ 946 => ['CMVLI'],
+ 947 => ['CMVLII'],
+ 948 => ['CMVLIII'],
+ 949 => ['CMVLIV', 'CMIL'],
+ 950 => ['LM'],
+ 951 => ['LMI'],
+ 952 => ['LMII'],
+ 953 => ['LMIII'],
+ 954 => ['LMIV'],
+ 955 => ['LMV'],
+ 956 => ['LMVI'],
+ 957 => ['LMVII'],
+ 958 => ['LMVIII'],
+ 959 => ['LMIX'],
+ 960 => ['LMX'],
+ 961 => ['LMXI'],
+ 962 => ['LMXII'],
+ 963 => ['LMXIII'],
+ 964 => ['LMXIV'],
+ 965 => ['LMXV'],
+ 966 => ['LMXVI'],
+ 967 => ['LMXVII'],
+ 968 => ['LMXVIII'],
+ 969 => ['LMXIX'],
+ 970 => ['LMXX'],
+ 971 => ['LMXXI'],
+ 972 => ['LMXXII'],
+ 973 => ['LMXXIII'],
+ 974 => ['LMXXIV'],
+ 975 => ['LMXXV'],
+ 976 => ['LMXXVI'],
+ 977 => ['LMXXVII'],
+ 978 => ['LMXXVIII'],
+ 979 => ['LMXXIX'],
+ 980 => ['LMXXX'],
+ 981 => ['LMXXXI'],
+ 982 => ['LMXXXII'],
+ 983 => ['LMXXXIII'],
+ 984 => ['LMXXXIV'],
+ 985 => ['LMXXXV'],
+ 986 => ['LMXXXVI'],
+ 987 => ['LMXXXVII'],
+ 988 => ['LMXXXVIII'],
+ 989 => ['LMXXXIX'],
+ 990 => ['LMXL', 'XM'],
+ 991 => ['LMXLI', 'XMI'],
+ 992 => ['LMXLII', 'XMII'],
+ 993 => ['LMXLIII', 'XMIII'],
+ 994 => ['LMXLIV', 'XMIV'],
+ 995 => ['LMVL', 'XMV', 'VM'],
+ 996 => ['LMVLI', 'XMVI', 'VMI'],
+ 997 => ['LMVLII', 'XMVII', 'VMII'],
+ 998 => ['LMVLIII', 'XMVIII', 'VMIII'],
+ 999 => ['LMVLIV', 'XMIX', 'VMIV', 'IM'],
+ 1045 => ['MVL'],
+ 1046 => ['MVLI'],
+ 1047 => ['MVLII'],
+ 1048 => ['MVLIII'],
+ 1049 => ['MVLIV', 'MIL'],
+ 1095 => ['MVC'],
+ 1096 => ['MVCI'],
+ 1097 => ['MVCII'],
+ 1098 => ['MVCIII'],
+ 1099 => ['MVCIV', 'MIC'],
+ 1145 => ['MCVL'],
+ 1146 => ['MCVLI'],
+ 1147 => ['MCVLII'],
+ 1148 => ['MCVLIII'],
+ 1149 => ['MCVLIV', 'MCIL'],
+ 1195 => ['MCVC'],
+ 1196 => ['MCVCI'],
+ 1197 => ['MCVCII'],
+ 1198 => ['MCVCIII'],
+ 1199 => ['MCVCIV', 'MCIC'],
+ 1245 => ['MCCVL'],
+ 1246 => ['MCCVLI'],
+ 1247 => ['MCCVLII'],
+ 1248 => ['MCCVLIII'],
+ 1249 => ['MCCVLIV', 'MCCIL'],
+ 1295 => ['MCCVC'],
+ 1296 => ['MCCVCI'],
+ 1297 => ['MCCVCII'],
+ 1298 => ['MCCVCIII'],
+ 1299 => ['MCCVCIV', 'MCCIC'],
+ 1345 => ['MCCCVL'],
+ 1346 => ['MCCCVLI'],
+ 1347 => ['MCCCVLII'],
+ 1348 => ['MCCCVLIII'],
+ 1349 => ['MCCCVLIV', 'MCCCIL'],
+ 1395 => ['MCCCVC'],
+ 1396 => ['MCCCVCI'],
+ 1397 => ['MCCCVCII'],
+ 1398 => ['MCCCVCIII'],
+ 1399 => ['MCCCVCIV', 'MCCCIC'],
+ 1445 => ['MCDVL'],
+ 1446 => ['MCDVLI'],
+ 1447 => ['MCDVLII'],
+ 1448 => ['MCDVLIII'],
+ 1449 => ['MCDVLIV', 'MCDIL'],
+ 1450 => ['MLD'],
+ 1451 => ['MLDI'],
+ 1452 => ['MLDII'],
+ 1453 => ['MLDIII'],
+ 1454 => ['MLDIV'],
+ 1455 => ['MLDV'],
+ 1456 => ['MLDVI'],
+ 1457 => ['MLDVII'],
+ 1458 => ['MLDVIII'],
+ 1459 => ['MLDIX'],
+ 1460 => ['MLDX'],
+ 1461 => ['MLDXI'],
+ 1462 => ['MLDXII'],
+ 1463 => ['MLDXIII'],
+ 1464 => ['MLDXIV'],
+ 1465 => ['MLDXV'],
+ 1466 => ['MLDXVI'],
+ 1467 => ['MLDXVII'],
+ 1468 => ['MLDXVIII'],
+ 1469 => ['MLDXIX'],
+ 1470 => ['MLDXX'],
+ 1471 => ['MLDXXI'],
+ 1472 => ['MLDXXII'],
+ 1473 => ['MLDXXIII'],
+ 1474 => ['MLDXXIV'],
+ 1475 => ['MLDXXV'],
+ 1476 => ['MLDXXVI'],
+ 1477 => ['MLDXXVII'],
+ 1478 => ['MLDXXVIII'],
+ 1479 => ['MLDXXIX'],
+ 1480 => ['MLDXXX'],
+ 1481 => ['MLDXXXI'],
+ 1482 => ['MLDXXXII'],
+ 1483 => ['MLDXXXIII'],
+ 1484 => ['MLDXXXIV'],
+ 1485 => ['MLDXXXV'],
+ 1486 => ['MLDXXXVI'],
+ 1487 => ['MLDXXXVII'],
+ 1488 => ['MLDXXXVIII'],
+ 1489 => ['MLDXXXIX'],
+ 1490 => ['MLDXL', 'MXD'],
+ 1491 => ['MLDXLI', 'MXDI'],
+ 1492 => ['MLDXLII', 'MXDII'],
+ 1493 => ['MLDXLIII', 'MXDIII'],
+ 1494 => ['MLDXLIV', 'MXDIV'],
+ 1495 => ['MLDVL', 'MXDV', 'MVD'],
+ 1496 => ['MLDVLI', 'MXDVI', 'MVDI'],
+ 1497 => ['MLDVLII', 'MXDVII', 'MVDII'],
+ 1498 => ['MLDVLIII', 'MXDVIII', 'MVDIII'],
+ 1499 => ['MLDVLIV', 'MXDIX', 'MVDIV', 'MID'],
+ 1545 => ['MDVL'],
+ 1546 => ['MDVLI'],
+ 1547 => ['MDVLII'],
+ 1548 => ['MDVLIII'],
+ 1549 => ['MDVLIV', 'MDIL'],
+ 1595 => ['MDVC'],
+ 1596 => ['MDVCI'],
+ 1597 => ['MDVCII'],
+ 1598 => ['MDVCIII'],
+ 1599 => ['MDVCIV', 'MDIC'],
+ 1645 => ['MDCVL'],
+ 1646 => ['MDCVLI'],
+ 1647 => ['MDCVLII'],
+ 1648 => ['MDCVLIII'],
+ 1649 => ['MDCVLIV', 'MDCIL'],
+ 1695 => ['MDCVC'],
+ 1696 => ['MDCVCI'],
+ 1697 => ['MDCVCII'],
+ 1698 => ['MDCVCIII'],
+ 1699 => ['MDCVCIV', 'MDCIC'],
+ 1745 => ['MDCCVL'],
+ 1746 => ['MDCCVLI'],
+ 1747 => ['MDCCVLII'],
+ 1748 => ['MDCCVLIII'],
+ 1749 => ['MDCCVLIV', 'MDCCIL'],
+ 1795 => ['MDCCVC'],
+ 1796 => ['MDCCVCI'],
+ 1797 => ['MDCCVCII'],
+ 1798 => ['MDCCVCIII'],
+ 1799 => ['MDCCVCIV', 'MDCCIC'],
+ 1845 => ['MDCCCVL'],
+ 1846 => ['MDCCCVLI'],
+ 1847 => ['MDCCCVLII'],
+ 1848 => ['MDCCCVLIII'],
+ 1849 => ['MDCCCVLIV', 'MDCCCIL'],
+ 1895 => ['MDCCCVC'],
+ 1896 => ['MDCCCVCI'],
+ 1897 => ['MDCCCVCII'],
+ 1898 => ['MDCCCVCIII'],
+ 1899 => ['MDCCCVCIV', 'MDCCCIC'],
+ 1945 => ['MCMVL'],
+ 1946 => ['MCMVLI'],
+ 1947 => ['MCMVLII'],
+ 1948 => ['MCMVLIII'],
+ 1949 => ['MCMVLIV', 'MCMIL'],
+ 1950 => ['MLM'],
+ 1951 => ['MLMI'],
+ 1952 => ['MLMII'],
+ 1953 => ['MLMIII'],
+ 1954 => ['MLMIV'],
+ 1955 => ['MLMV'],
+ 1956 => ['MLMVI'],
+ 1957 => ['MLMVII'],
+ 1958 => ['MLMVIII'],
+ 1959 => ['MLMIX'],
+ 1960 => ['MLMX'],
+ 1961 => ['MLMXI'],
+ 1962 => ['MLMXII'],
+ 1963 => ['MLMXIII'],
+ 1964 => ['MLMXIV'],
+ 1965 => ['MLMXV'],
+ 1966 => ['MLMXVI'],
+ 1967 => ['MLMXVII'],
+ 1968 => ['MLMXVIII'],
+ 1969 => ['MLMXIX'],
+ 1970 => ['MLMXX'],
+ 1971 => ['MLMXXI'],
+ 1972 => ['MLMXXII'],
+ 1973 => ['MLMXXIII'],
+ 1974 => ['MLMXXIV'],
+ 1975 => ['MLMXXV'],
+ 1976 => ['MLMXXVI'],
+ 1977 => ['MLMXXVII'],
+ 1978 => ['MLMXXVIII'],
+ 1979 => ['MLMXXIX'],
+ 1980 => ['MLMXXX'],
+ 1981 => ['MLMXXXI'],
+ 1982 => ['MLMXXXII'],
+ 1983 => ['MLMXXXIII'],
+ 1984 => ['MLMXXXIV'],
+ 1985 => ['MLMXXXV'],
+ 1986 => ['MLMXXXVI'],
+ 1987 => ['MLMXXXVII'],
+ 1988 => ['MLMXXXVIII'],
+ 1989 => ['MLMXXXIX'],
+ 1990 => ['MLMXL', 'MXM'],
+ 1991 => ['MLMXLI', 'MXMI'],
+ 1992 => ['MLMXLII', 'MXMII'],
+ 1993 => ['MLMXLIII', 'MXMIII'],
+ 1994 => ['MLMXLIV', 'MXMIV'],
+ 1995 => ['MLMVL', 'MXMV', 'MVM'],
+ 1996 => ['MLMVLI', 'MXMVI', 'MVMI'],
+ 1997 => ['MLMVLII', 'MXMVII', 'MVMII'],
+ 1998 => ['MLMVLIII', 'MXMVIII', 'MVMIII'],
+ 1999 => ['MLMVLIV', 'MXMIX', 'MVMIV', 'MIM'],
+ 2045 => ['MMVL'],
+ 2046 => ['MMVLI'],
+ 2047 => ['MMVLII'],
+ 2048 => ['MMVLIII'],
+ 2049 => ['MMVLIV', 'MMIL'],
+ 2095 => ['MMVC'],
+ 2096 => ['MMVCI'],
+ 2097 => ['MMVCII'],
+ 2098 => ['MMVCIII'],
+ 2099 => ['MMVCIV', 'MMIC'],
+ 2145 => ['MMCVL'],
+ 2146 => ['MMCVLI'],
+ 2147 => ['MMCVLII'],
+ 2148 => ['MMCVLIII'],
+ 2149 => ['MMCVLIV', 'MMCIL'],
+ 2195 => ['MMCVC'],
+ 2196 => ['MMCVCI'],
+ 2197 => ['MMCVCII'],
+ 2198 => ['MMCVCIII'],
+ 2199 => ['MMCVCIV', 'MMCIC'],
+ 2245 => ['MMCCVL'],
+ 2246 => ['MMCCVLI'],
+ 2247 => ['MMCCVLII'],
+ 2248 => ['MMCCVLIII'],
+ 2249 => ['MMCCVLIV', 'MMCCIL'],
+ 2295 => ['MMCCVC'],
+ 2296 => ['MMCCVCI'],
+ 2297 => ['MMCCVCII'],
+ 2298 => ['MMCCVCIII'],
+ 2299 => ['MMCCVCIV', 'MMCCIC'],
+ 2345 => ['MMCCCVL'],
+ 2346 => ['MMCCCVLI'],
+ 2347 => ['MMCCCVLII'],
+ 2348 => ['MMCCCVLIII'],
+ 2349 => ['MMCCCVLIV', 'MMCCCIL'],
+ 2395 => ['MMCCCVC'],
+ 2396 => ['MMCCCVCI'],
+ 2397 => ['MMCCCVCII'],
+ 2398 => ['MMCCCVCIII'],
+ 2399 => ['MMCCCVCIV', 'MMCCCIC'],
+ 2445 => ['MMCDVL'],
+ 2446 => ['MMCDVLI'],
+ 2447 => ['MMCDVLII'],
+ 2448 => ['MMCDVLIII'],
+ 2449 => ['MMCDVLIV', 'MMCDIL'],
+ 2450 => ['MMLD'],
+ 2451 => ['MMLDI'],
+ 2452 => ['MMLDII'],
+ 2453 => ['MMLDIII'],
+ 2454 => ['MMLDIV'],
+ 2455 => ['MMLDV'],
+ 2456 => ['MMLDVI'],
+ 2457 => ['MMLDVII'],
+ 2458 => ['MMLDVIII'],
+ 2459 => ['MMLDIX'],
+ 2460 => ['MMLDX'],
+ 2461 => ['MMLDXI'],
+ 2462 => ['MMLDXII'],
+ 2463 => ['MMLDXIII'],
+ 2464 => ['MMLDXIV'],
+ 2465 => ['MMLDXV'],
+ 2466 => ['MMLDXVI'],
+ 2467 => ['MMLDXVII'],
+ 2468 => ['MMLDXVIII'],
+ 2469 => ['MMLDXIX'],
+ 2470 => ['MMLDXX'],
+ 2471 => ['MMLDXXI'],
+ 2472 => ['MMLDXXII'],
+ 2473 => ['MMLDXXIII'],
+ 2474 => ['MMLDXXIV'],
+ 2475 => ['MMLDXXV'],
+ 2476 => ['MMLDXXVI'],
+ 2477 => ['MMLDXXVII'],
+ 2478 => ['MMLDXXVIII'],
+ 2479 => ['MMLDXXIX'],
+ 2480 => ['MMLDXXX'],
+ 2481 => ['MMLDXXXI'],
+ 2482 => ['MMLDXXXII'],
+ 2483 => ['MMLDXXXIII'],
+ 2484 => ['MMLDXXXIV'],
+ 2485 => ['MMLDXXXV'],
+ 2486 => ['MMLDXXXVI'],
+ 2487 => ['MMLDXXXVII'],
+ 2488 => ['MMLDXXXVIII'],
+ 2489 => ['MMLDXXXIX'],
+ 2490 => ['MMLDXL', 'MMXD'],
+ 2491 => ['MMLDXLI', 'MMXDI'],
+ 2492 => ['MMLDXLII', 'MMXDII'],
+ 2493 => ['MMLDXLIII', 'MMXDIII'],
+ 2494 => ['MMLDXLIV', 'MMXDIV'],
+ 2495 => ['MMLDVL', 'MMXDV', 'MMVD'],
+ 2496 => ['MMLDVLI', 'MMXDVI', 'MMVDI'],
+ 2497 => ['MMLDVLII', 'MMXDVII', 'MMVDII'],
+ 2498 => ['MMLDVLIII', 'MMXDVIII', 'MMVDIII'],
+ 2499 => ['MMLDVLIV', 'MMXDIX', 'MMVDIV', 'MMID'],
+ 2545 => ['MMDVL'],
+ 2546 => ['MMDVLI'],
+ 2547 => ['MMDVLII'],
+ 2548 => ['MMDVLIII'],
+ 2549 => ['MMDVLIV', 'MMDIL'],
+ 2595 => ['MMDVC'],
+ 2596 => ['MMDVCI'],
+ 2597 => ['MMDVCII'],
+ 2598 => ['MMDVCIII'],
+ 2599 => ['MMDVCIV', 'MMDIC'],
+ 2645 => ['MMDCVL'],
+ 2646 => ['MMDCVLI'],
+ 2647 => ['MMDCVLII'],
+ 2648 => ['MMDCVLIII'],
+ 2649 => ['MMDCVLIV', 'MMDCIL'],
+ 2695 => ['MMDCVC'],
+ 2696 => ['MMDCVCI'],
+ 2697 => ['MMDCVCII'],
+ 2698 => ['MMDCVCIII'],
+ 2699 => ['MMDCVCIV', 'MMDCIC'],
+ 2745 => ['MMDCCVL'],
+ 2746 => ['MMDCCVLI'],
+ 2747 => ['MMDCCVLII'],
+ 2748 => ['MMDCCVLIII'],
+ 2749 => ['MMDCCVLIV', 'MMDCCIL'],
+ 2795 => ['MMDCCVC'],
+ 2796 => ['MMDCCVCI'],
+ 2797 => ['MMDCCVCII'],
+ 2798 => ['MMDCCVCIII'],
+ 2799 => ['MMDCCVCIV', 'MMDCCIC'],
+ 2845 => ['MMDCCCVL'],
+ 2846 => ['MMDCCCVLI'],
+ 2847 => ['MMDCCCVLII'],
+ 2848 => ['MMDCCCVLIII'],
+ 2849 => ['MMDCCCVLIV', 'MMDCCCIL'],
+ 2895 => ['MMDCCCVC'],
+ 2896 => ['MMDCCCVCI'],
+ 2897 => ['MMDCCCVCII'],
+ 2898 => ['MMDCCCVCIII'],
+ 2899 => ['MMDCCCVCIV', 'MMDCCCIC'],
+ 2945 => ['MMCMVL'],
+ 2946 => ['MMCMVLI'],
+ 2947 => ['MMCMVLII'],
+ 2948 => ['MMCMVLIII'],
+ 2949 => ['MMCMVLIV', 'MMCMIL'],
+ 2950 => ['MMLM'],
+ 2951 => ['MMLMI'],
+ 2952 => ['MMLMII'],
+ 2953 => ['MMLMIII'],
+ 2954 => ['MMLMIV'],
+ 2955 => ['MMLMV'],
+ 2956 => ['MMLMVI'],
+ 2957 => ['MMLMVII'],
+ 2958 => ['MMLMVIII'],
+ 2959 => ['MMLMIX'],
+ 2960 => ['MMLMX'],
+ 2961 => ['MMLMXI'],
+ 2962 => ['MMLMXII'],
+ 2963 => ['MMLMXIII'],
+ 2964 => ['MMLMXIV'],
+ 2965 => ['MMLMXV'],
+ 2966 => ['MMLMXVI'],
+ 2967 => ['MMLMXVII'],
+ 2968 => ['MMLMXVIII'],
+ 2969 => ['MMLMXIX'],
+ 2970 => ['MMLMXX'],
+ 2971 => ['MMLMXXI'],
+ 2972 => ['MMLMXXII'],
+ 2973 => ['MMLMXXIII'],
+ 2974 => ['MMLMXXIV'],
+ 2975 => ['MMLMXXV'],
+ 2976 => ['MMLMXXVI'],
+ 2977 => ['MMLMXXVII'],
+ 2978 => ['MMLMXXVIII'],
+ 2979 => ['MMLMXXIX'],
+ 2980 => ['MMLMXXX'],
+ 2981 => ['MMLMXXXI'],
+ 2982 => ['MMLMXXXII'],
+ 2983 => ['MMLMXXXIII'],
+ 2984 => ['MMLMXXXIV'],
+ 2985 => ['MMLMXXXV'],
+ 2986 => ['MMLMXXXVI'],
+ 2987 => ['MMLMXXXVII'],
+ 2988 => ['MMLMXXXVIII'],
+ 2989 => ['MMLMXXXIX'],
+ 2990 => ['MMLMXL', 'MMXM'],
+ 2991 => ['MMLMXLI', 'MMXMI'],
+ 2992 => ['MMLMXLII', 'MMXMII'],
+ 2993 => ['MMLMXLIII', 'MMXMIII'],
+ 2994 => ['MMLMXLIV', 'MMXMIV'],
+ 2995 => ['MMLMVL', 'MMXMV', 'MMVM'],
+ 2996 => ['MMLMVLI', 'MMXMVI', 'MMVMI'],
+ 2997 => ['MMLMVLII', 'MMXMVII', 'MMVMII'],
+ 2998 => ['MMLMVLIII', 'MMXMVIII', 'MMVMIII'],
+ 2999 => ['MMLMVLIV', 'MMXMIX', 'MMVMIV', 'MMIM'],
+ 3045 => ['MMMVL'],
+ 3046 => ['MMMVLI'],
+ 3047 => ['MMMVLII'],
+ 3048 => ['MMMVLIII'],
+ 3049 => ['MMMVLIV', 'MMMIL'],
+ 3095 => ['MMMVC'],
+ 3096 => ['MMMVCI'],
+ 3097 => ['MMMVCII'],
+ 3098 => ['MMMVCIII'],
+ 3099 => ['MMMVCIV', 'MMMIC'],
+ 3145 => ['MMMCVL'],
+ 3146 => ['MMMCVLI'],
+ 3147 => ['MMMCVLII'],
+ 3148 => ['MMMCVLIII'],
+ 3149 => ['MMMCVLIV', 'MMMCIL'],
+ 3195 => ['MMMCVC'],
+ 3196 => ['MMMCVCI'],
+ 3197 => ['MMMCVCII'],
+ 3198 => ['MMMCVCIII'],
+ 3199 => ['MMMCVCIV', 'MMMCIC'],
+ 3245 => ['MMMCCVL'],
+ 3246 => ['MMMCCVLI'],
+ 3247 => ['MMMCCVLII'],
+ 3248 => ['MMMCCVLIII'],
+ 3249 => ['MMMCCVLIV', 'MMMCCIL'],
+ 3295 => ['MMMCCVC'],
+ 3296 => ['MMMCCVCI'],
+ 3297 => ['MMMCCVCII'],
+ 3298 => ['MMMCCVCIII'],
+ 3299 => ['MMMCCVCIV', 'MMMCCIC'],
+ 3345 => ['MMMCCCVL'],
+ 3346 => ['MMMCCCVLI'],
+ 3347 => ['MMMCCCVLII'],
+ 3348 => ['MMMCCCVLIII'],
+ 3349 => ['MMMCCCVLIV', 'MMMCCCIL'],
+ 3395 => ['MMMCCCVC'],
+ 3396 => ['MMMCCCVCI'],
+ 3397 => ['MMMCCCVCII'],
+ 3398 => ['MMMCCCVCIII'],
+ 3399 => ['MMMCCCVCIV', 'MMMCCCIC'],
+ 3445 => ['MMMCDVL'],
+ 3446 => ['MMMCDVLI'],
+ 3447 => ['MMMCDVLII'],
+ 3448 => ['MMMCDVLIII'],
+ 3449 => ['MMMCDVLIV', 'MMMCDIL'],
+ 3450 => ['MMMLD'],
+ 3451 => ['MMMLDI'],
+ 3452 => ['MMMLDII'],
+ 3453 => ['MMMLDIII'],
+ 3454 => ['MMMLDIV'],
+ 3455 => ['MMMLDV'],
+ 3456 => ['MMMLDVI'],
+ 3457 => ['MMMLDVII'],
+ 3458 => ['MMMLDVIII'],
+ 3459 => ['MMMLDIX'],
+ 3460 => ['MMMLDX'],
+ 3461 => ['MMMLDXI'],
+ 3462 => ['MMMLDXII'],
+ 3463 => ['MMMLDXIII'],
+ 3464 => ['MMMLDXIV'],
+ 3465 => ['MMMLDXV'],
+ 3466 => ['MMMLDXVI'],
+ 3467 => ['MMMLDXVII'],
+ 3468 => ['MMMLDXVIII'],
+ 3469 => ['MMMLDXIX'],
+ 3470 => ['MMMLDXX'],
+ 3471 => ['MMMLDXXI'],
+ 3472 => ['MMMLDXXII'],
+ 3473 => ['MMMLDXXIII'],
+ 3474 => ['MMMLDXXIV'],
+ 3475 => ['MMMLDXXV'],
+ 3476 => ['MMMLDXXVI'],
+ 3477 => ['MMMLDXXVII'],
+ 3478 => ['MMMLDXXVIII'],
+ 3479 => ['MMMLDXXIX'],
+ 3480 => ['MMMLDXXX'],
+ 3481 => ['MMMLDXXXI'],
+ 3482 => ['MMMLDXXXII'],
+ 3483 => ['MMMLDXXXIII'],
+ 3484 => ['MMMLDXXXIV'],
+ 3485 => ['MMMLDXXXV'],
+ 3486 => ['MMMLDXXXVI'],
+ 3487 => ['MMMLDXXXVII'],
+ 3488 => ['MMMLDXXXVIII'],
+ 3489 => ['MMMLDXXXIX'],
+ 3490 => ['MMMLDXL', 'MMMXD'],
+ 3491 => ['MMMLDXLI', 'MMMXDI'],
+ 3492 => ['MMMLDXLII', 'MMMXDII'],
+ 3493 => ['MMMLDXLIII', 'MMMXDIII'],
+ 3494 => ['MMMLDXLIV', 'MMMXDIV'],
+ 3495 => ['MMMLDVL', 'MMMXDV', 'MMMVD'],
+ 3496 => ['MMMLDVLI', 'MMMXDVI', 'MMMVDI'],
+ 3497 => ['MMMLDVLII', 'MMMXDVII', 'MMMVDII'],
+ 3498 => ['MMMLDVLIII', 'MMMXDVIII', 'MMMVDIII'],
+ 3499 => ['MMMLDVLIV', 'MMMXDIX', 'MMMVDIV', 'MMMID'],
+ 3545 => ['MMMDVL'],
+ 3546 => ['MMMDVLI'],
+ 3547 => ['MMMDVLII'],
+ 3548 => ['MMMDVLIII'],
+ 3549 => ['MMMDVLIV', 'MMMDIL'],
+ 3595 => ['MMMDVC'],
+ 3596 => ['MMMDVCI'],
+ 3597 => ['MMMDVCII'],
+ 3598 => ['MMMDVCIII'],
+ 3599 => ['MMMDVCIV', 'MMMDIC'],
+ 3645 => ['MMMDCVL'],
+ 3646 => ['MMMDCVLI'],
+ 3647 => ['MMMDCVLII'],
+ 3648 => ['MMMDCVLIII'],
+ 3649 => ['MMMDCVLIV', 'MMMDCIL'],
+ 3695 => ['MMMDCVC'],
+ 3696 => ['MMMDCVCI'],
+ 3697 => ['MMMDCVCII'],
+ 3698 => ['MMMDCVCIII'],
+ 3699 => ['MMMDCVCIV', 'MMMDCIC'],
+ 3745 => ['MMMDCCVL'],
+ 3746 => ['MMMDCCVLI'],
+ 3747 => ['MMMDCCVLII'],
+ 3748 => ['MMMDCCVLIII'],
+ 3749 => ['MMMDCCVLIV', 'MMMDCCIL'],
+ 3795 => ['MMMDCCVC'],
+ 3796 => ['MMMDCCVCI'],
+ 3797 => ['MMMDCCVCII'],
+ 3798 => ['MMMDCCVCIII'],
+ 3799 => ['MMMDCCVCIV', 'MMMDCCIC'],
+ 3845 => ['MMMDCCCVL'],
+ 3846 => ['MMMDCCCVLI'],
+ 3847 => ['MMMDCCCVLII'],
+ 3848 => ['MMMDCCCVLIII'],
+ 3849 => ['MMMDCCCVLIV', 'MMMDCCCIL'],
+ 3895 => ['MMMDCCCVC'],
+ 3896 => ['MMMDCCCVCI'],
+ 3897 => ['MMMDCCCVCII'],
+ 3898 => ['MMMDCCCVCIII'],
+ 3899 => ['MMMDCCCVCIV', 'MMMDCCCIC'],
+ 3945 => ['MMMCMVL'],
+ 3946 => ['MMMCMVLI'],
+ 3947 => ['MMMCMVLII'],
+ 3948 => ['MMMCMVLIII'],
+ 3949 => ['MMMCMVLIV', 'MMMCMIL'],
+ 3950 => ['MMMLM'],
+ 3951 => ['MMMLMI'],
+ 3952 => ['MMMLMII'],
+ 3953 => ['MMMLMIII'],
+ 3954 => ['MMMLMIV'],
+ 3955 => ['MMMLMV'],
+ 3956 => ['MMMLMVI'],
+ 3957 => ['MMMLMVII'],
+ 3958 => ['MMMLMVIII'],
+ 3959 => ['MMMLMIX'],
+ 3960 => ['MMMLMX'],
+ 3961 => ['MMMLMXI'],
+ 3962 => ['MMMLMXII'],
+ 3963 => ['MMMLMXIII'],
+ 3964 => ['MMMLMXIV'],
+ 3965 => ['MMMLMXV'],
+ 3966 => ['MMMLMXVI'],
+ 3967 => ['MMMLMXVII'],
+ 3968 => ['MMMLMXVIII'],
+ 3969 => ['MMMLMXIX'],
+ 3970 => ['MMMLMXX'],
+ 3971 => ['MMMLMXXI'],
+ 3972 => ['MMMLMXXII'],
+ 3973 => ['MMMLMXXIII'],
+ 3974 => ['MMMLMXXIV'],
+ 3975 => ['MMMLMXXV'],
+ 3976 => ['MMMLMXXVI'],
+ 3977 => ['MMMLMXXVII'],
+ 3978 => ['MMMLMXXVIII'],
+ 3979 => ['MMMLMXXIX'],
+ 3980 => ['MMMLMXXX'],
+ 3981 => ['MMMLMXXXI'],
+ 3982 => ['MMMLMXXXII'],
+ 3983 => ['MMMLMXXXIII'],
+ 3984 => ['MMMLMXXXIV'],
+ 3985 => ['MMMLMXXXV'],
+ 3986 => ['MMMLMXXXVI'],
+ 3987 => ['MMMLMXXXVII'],
+ 3988 => ['MMMLMXXXVIII'],
+ 3989 => ['MMMLMXXXIX'],
+ 3990 => ['MMMLMXL', 'MMMXM'],
+ 3991 => ['MMMLMXLI', 'MMMXMI'],
+ 3992 => ['MMMLMXLII', 'MMMXMII'],
+ 3993 => ['MMMLMXLIII', 'MMMXMIII'],
+ 3994 => ['MMMLMXLIV', 'MMMXMIV'],
+ 3995 => ['MMMLMVL', 'MMMXMV', 'MMMVM'],
+ 3996 => ['MMMLMVLI', 'MMMXMVI', 'MMMVMI'],
+ 3997 => ['MMMLMVLII', 'MMMXMVII', 'MMMVMII'],
+ 3998 => ['MMMLMVLIII', 'MMMXMVIII', 'MMMVMIII'],
+ 3999 => ['MMMLMVLIV', 'MMMXMIX', 'MMMVMIV', 'MMMIM'],
+ ];
+
+ private const THOUSANDS = ['', 'M', 'MM', 'MMM'];
+ private const HUNDREDS = ['', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM'];
+ private const TENS = ['', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC'];
+ private const ONES = ['', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX'];
+ const MAX_ROMAN_VALUE = 3999;
+ const MAX_ROMAN_STYLE = 4;
+
+ private static function valueOk(int $aValue, int $style): string
+ {
+ $origValue = $aValue;
+ $m = \intdiv($aValue, 1000);
+ $aValue %= 1000;
+ $c = \intdiv($aValue, 100);
+ $aValue %= 100;
+ $t = \intdiv($aValue, 10);
+ $aValue %= 10;
+ $result = self::THOUSANDS[$m] . self::HUNDREDS[$c] . self::TENS[$t] . self::ONES[$aValue];
+ if ($style > 0) {
+ if (array_key_exists($origValue, self::VALUES)) {
+ $arr = self::VALUES[$origValue];
+ $idx = min($style, count($arr)) - 1;
+ $result = $arr[$idx];
+ }
+ }
+
+ return $result;
+ }
+
+ private static function styleOk(int $aValue, int $style): string
+ {
+ return ($aValue < 0 || $aValue > self::MAX_ROMAN_VALUE) ? ExcelError::VALUE() : self::valueOk($aValue, $style);
+ }
+
+ public static function calculateRoman(int $aValue, int $style): string
+ {
+ return ($style < 0 || $style > self::MAX_ROMAN_STYLE) ? ExcelError::VALUE() : self::styleOk($aValue, $style);
+ }
+
+ /**
+ * ROMAN.
+ *
+ * Converts a number to Roman numeral
+ *
+ * @param mixed $aValue Number to convert
+ * Or can be an array of numbers
+ * @param mixed $style Number indicating one of five possible forms
+ * Or can be an array of styles
+ *
+ * @return array|string Roman numeral, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function evaluate(mixed $aValue, mixed $style = 0): array|string
+ {
+ if (is_array($aValue) || is_array($style)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $aValue, $style);
+ }
+
+ try {
+ $aValue = Helpers::validateNumericNullBool($aValue);
+ if (is_bool($style)) {
+ $style = $style ? 0 : 4;
+ }
+ $style = Helpers::validateNumericNullSubstitution($style, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return self::calculateRoman((int) $aValue, (int) $style);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Round.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Round.php
new file mode 100644
index 0000000..21e4a34
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Round.php
@@ -0,0 +1,218 @@
+getMessage();
+ }
+
+ return round($number, (int) $precision);
+ }
+
+ /**
+ * ROUNDUP.
+ *
+ * Rounds a number up to a specified number of decimal places
+ *
+ * @param array|float $number Number to round, or can be an array of numbers
+ * @param array|int $digits Number of digits to which you want to round $number, or can be an array of numbers
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function up($number, $digits): array|string|float
+ {
+ if (is_array($number) || is_array($digits)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $digits);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ $digits = (int) Helpers::validateNumericNullSubstitution($digits, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($number == 0.0) {
+ return 0.0;
+ }
+
+ if ($number < 0.0) {
+ return round($number - 0.5 * 0.1 ** $digits, $digits, PHP_ROUND_HALF_DOWN);
+ }
+
+ return round($number + 0.5 * 0.1 ** $digits, $digits, PHP_ROUND_HALF_DOWN);
+ }
+
+ /**
+ * ROUNDDOWN.
+ *
+ * Rounds a number down to a specified number of decimal places
+ *
+ * @param array|float $number Number to round, or can be an array of numbers
+ * @param array|int $digits Number of digits to which you want to round $number, or can be an array of numbers
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function down($number, $digits): array|string|float
+ {
+ if (is_array($number) || is_array($digits)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $digits);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ $digits = (int) Helpers::validateNumericNullSubstitution($digits, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($number == 0.0) {
+ return 0.0;
+ }
+
+ if ($number < 0.0) {
+ return round($number + 0.5 * 0.1 ** $digits, $digits, PHP_ROUND_HALF_UP);
+ }
+
+ return round($number - 0.5 * 0.1 ** $digits, $digits, PHP_ROUND_HALF_UP);
+ }
+
+ /**
+ * MROUND.
+ *
+ * Rounds a number to the nearest multiple of a specified value
+ *
+ * @param mixed $number Expect float. Number to round, or can be an array of numbers
+ * @param mixed $multiple Expect int. Multiple to which you want to round, or can be an array of numbers.
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function multiple(mixed $number, mixed $multiple): array|string|int|float
+ {
+ if (is_array($number) || is_array($multiple)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $multiple);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullSubstitution($number, 0);
+ $multiple = Helpers::validateNumericNullSubstitution($multiple, null);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($number == 0 || $multiple == 0) {
+ return 0;
+ }
+ if ((Helpers::returnSign($number)) == (Helpers::returnSign($multiple))) {
+ $multiplier = 1 / $multiple;
+
+ return round($number * $multiplier) / $multiplier;
+ }
+
+ return ExcelError::NAN();
+ }
+
+ /**
+ * EVEN.
+ *
+ * Returns number rounded up to the nearest even integer.
+ * You can use this function for processing items that come in twos. For example,
+ * a packing crate accepts rows of one or two items. The crate is full when
+ * the number of items, rounded up to the nearest two, matches the crate's
+ * capacity.
+ *
+ * Excel Function:
+ * EVEN(number)
+ *
+ * @param array|float $number Number to round, or can be an array of numbers
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function even($number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::getEven($number);
+ }
+
+ /**
+ * ODD.
+ *
+ * Returns number rounded up to the nearest odd integer.
+ *
+ * @param array|float $number Number to round, or can be an array of numbers
+ *
+ * @return array|float|string Rounded Number, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function odd($number): array|string|int|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $significance = Helpers::returnSign($number);
+ if ($significance == 0) {
+ return 1;
+ }
+
+ $result = ceil($number / $significance) * $significance;
+ if ($result == Helpers::getEven($result)) {
+ $result += $significance;
+ }
+
+ return $result;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SeriesSum.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SeriesSum.php
new file mode 100644
index 0000000..e2da113
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SeriesSum.php
@@ -0,0 +1,53 @@
+getMessage();
+ }
+
+ return $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sign.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sign.php
new file mode 100644
index 0000000..86a5509
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sign.php
@@ -0,0 +1,38 @@
+getMessage();
+ }
+
+ return Helpers::returnSign($number);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php
new file mode 100644
index 0000000..18289f7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php
@@ -0,0 +1,64 @@
+getMessage();
+ }
+
+ return Helpers::numberOrNan(sqrt($number));
+ }
+
+ /**
+ * SQRTPI.
+ *
+ * Returns the square root of (number * pi).
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string Square Root of Number * Pi, or a string containing an error
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function pi($number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullSubstitution($number, 0);
+ Helpers::validateNotNegative($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return sqrt($number * M_PI);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
new file mode 100644
index 0000000..20a1080
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
@@ -0,0 +1,127 @@
+getWorksheet()->getRowDimension($row)->getVisible();
+ },
+ ARRAY_FILTER_USE_KEY
+ );
+ }
+
+ protected static function filterFormulaArgs(mixed $cellReference, mixed $args): array
+ {
+ return array_filter(
+ $args,
+ function ($index) use ($cellReference): bool {
+ $explodeArray = explode('.', $index);
+ $row = $explodeArray[1] ?? '';
+ $column = $explodeArray[2] ?? '';
+ $retVal = true;
+ if ($cellReference->getWorksheet()->cellExists($column . $row)) {
+ //take this cell out if it contains the SUBTOTAL or AGGREGATE functions in a formula
+ $isFormula = $cellReference->getWorksheet()->getCell($column . $row)->isFormula();
+ $cellFormula = !preg_match(
+ '/^=.*\b(SUBTOTAL|AGGREGATE)\s*\(/i',
+ $cellReference->getWorksheet()->getCell($column . $row)->getValue() ?? ''
+ );
+
+ $retVal = !$isFormula || $cellFormula;
+ }
+
+ return $retVal;
+ },
+ ARRAY_FILTER_USE_KEY
+ );
+ }
+
+ private const CALL_FUNCTIONS = [
+ 1 => [Statistical\Averages::class, 'average'], // 1 and 101
+ [Statistical\Counts::class, 'COUNT'], // 2 and 102
+ [Statistical\Counts::class, 'COUNTA'], // 3 and 103
+ [Statistical\Maximum::class, 'max'], // 4 and 104
+ [Statistical\Minimum::class, 'min'], // 5 and 105
+ [Operations::class, 'product'], // 6 and 106
+ [Statistical\StandardDeviations::class, 'STDEV'], // 7 and 107
+ [Statistical\StandardDeviations::class, 'STDEVP'], // 8 and 108
+ [Sum::class, 'sumIgnoringStrings'], // 9 and 109
+ [Statistical\Variances::class, 'VAR'], // 10 and 110
+ [Statistical\Variances::class, 'VARP'], // 111 and 111
+ ];
+
+ /**
+ * SUBTOTAL.
+ *
+ * Returns a subtotal in a list or database.
+ *
+ * @param mixed $functionType
+ * A number 1 to 11 that specifies which function to
+ * use in calculating subtotals within a range
+ * list
+ * Numbers 101 to 111 shadow the functions of 1 to 11
+ * but ignore any values in the range that are
+ * in hidden rows
+ * @param mixed[] $args A mixed data series of values
+ *
+ * @return float|string
+ */
+ public static function evaluate(mixed $functionType, ...$args)
+ {
+ $cellReference = array_pop($args);
+ $bArgs = Functions::flattenArrayIndexed($args);
+ $aArgs = [];
+ // int keys must come before string keys for PHP 8.0+
+ // Otherwise, PHP thinks positional args follow keyword
+ // in the subsequent call to call_user_func_array.
+ // Fortunately, order of args is unimportant to Subtotal.
+ foreach ($bArgs as $key => $value) {
+ if (is_int($key)) {
+ $aArgs[$key] = $value;
+ }
+ }
+ foreach ($bArgs as $key => $value) {
+ if (!is_int($key)) {
+ $aArgs[$key] = $value;
+ }
+ }
+
+ try {
+ $subtotal = (int) Helpers::validateNumericNullBool($functionType);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ // Calculate
+ if ($subtotal > 100) {
+ $aArgs = self::filterHiddenArgs($cellReference, $aArgs);
+ $subtotal -= 100;
+ }
+
+ $aArgs = self::filterFormulaArgs($cellReference, $aArgs);
+ if (array_key_exists($subtotal, self::CALL_FUNCTIONS)) {
+ /** @var callable */
+ $call = self::CALL_FUNCTIONS[$subtotal];
+
+ return call_user_func_array($call, $aArgs);
+ }
+
+ return ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sum.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sum.php
new file mode 100644
index 0000000..7fc6090
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Sum.php
@@ -0,0 +1,114 @@
+ $arg) {
+ // Is it a numeric value?
+ if (is_numeric($arg)) {
+ $returnValue += $arg;
+ } elseif (is_bool($arg)) {
+ $returnValue += (int) $arg;
+ } elseif (ErrorValue::isError($arg)) {
+ return $arg;
+ } elseif ($arg !== null && !Functions::isCellValue($k)) {
+ // ignore non-numerics from cell, but fail as literals (except null)
+ return ExcelError::VALUE();
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * SUMPRODUCT.
+ *
+ * Excel Function:
+ * SUMPRODUCT(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|int|string The result, or a string containing an error
+ */
+ public static function product(mixed ...$args): string|int|float
+ {
+ $arrayList = $args;
+
+ $wrkArray = Functions::flattenArray(array_shift($arrayList));
+ $wrkCellCount = count($wrkArray);
+
+ for ($i = 0; $i < $wrkCellCount; ++$i) {
+ if ((!is_numeric($wrkArray[$i])) || (is_string($wrkArray[$i]))) {
+ $wrkArray[$i] = 0;
+ }
+ }
+
+ foreach ($arrayList as $matrixData) {
+ $array2 = Functions::flattenArray($matrixData);
+ $count = count($array2);
+ if ($wrkCellCount != $count) {
+ return ExcelError::VALUE();
+ }
+
+ foreach ($array2 as $i => $val) {
+ if ((!is_numeric($val)) || (is_string($val))) {
+ $val = 0;
+ }
+ $wrkArray[$i] *= $val;
+ }
+ }
+
+ return array_sum($wrkArray);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php
new file mode 100644
index 0000000..1e5b5d5
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php
@@ -0,0 +1,141 @@
+getMessage();
+ }
+
+ return $returnValue;
+ }
+
+ private static function getCount(array $array1, array $array2): int
+ {
+ $count = count($array1);
+ if ($count !== count($array2)) {
+ throw new Exception(ExcelError::NA());
+ }
+
+ return $count;
+ }
+
+ /**
+ * These functions accept only numeric arguments, not even strings which are numeric.
+ */
+ private static function numericNotString(mixed $item): bool
+ {
+ return is_numeric($item) && !is_string($item);
+ }
+
+ /**
+ * SUMX2MY2.
+ *
+ * @param mixed[] $matrixData1 Matrix #1
+ * @param mixed[] $matrixData2 Matrix #2
+ *
+ * @return float|string
+ */
+ public static function sumXSquaredMinusYSquared($matrixData1, $matrixData2): string|int|float
+ {
+ try {
+ $array1 = Functions::flattenArray($matrixData1);
+ $array2 = Functions::flattenArray($matrixData2);
+ $count = self::getCount($array1, $array2);
+
+ $result = 0;
+ for ($i = 0; $i < $count; ++$i) {
+ if (self::numericNotString($array1[$i]) && self::numericNotString($array2[$i])) {
+ $result += ($array1[$i] * $array1[$i]) - ($array2[$i] * $array2[$i]);
+ }
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return $result;
+ }
+
+ /**
+ * SUMX2PY2.
+ *
+ * @param mixed[] $matrixData1 Matrix #1
+ * @param mixed[] $matrixData2 Matrix #2
+ *
+ * @return float|string
+ */
+ public static function sumXSquaredPlusYSquared($matrixData1, $matrixData2): string|int|float
+ {
+ try {
+ $array1 = Functions::flattenArray($matrixData1);
+ $array2 = Functions::flattenArray($matrixData2);
+ $count = self::getCount($array1, $array2);
+
+ $result = 0;
+ for ($i = 0; $i < $count; ++$i) {
+ if (self::numericNotString($array1[$i]) && self::numericNotString($array2[$i])) {
+ $result += ($array1[$i] * $array1[$i]) + ($array2[$i] * $array2[$i]);
+ }
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return $result;
+ }
+
+ /**
+ * SUMXMY2.
+ *
+ * @param mixed[] $matrixData1 Matrix #1
+ * @param mixed[] $matrixData2 Matrix #2
+ *
+ * @return float|string
+ */
+ public static function sumXMinusYSquared($matrixData1, $matrixData2): string|int|float
+ {
+ try {
+ $array1 = Functions::flattenArray($matrixData1);
+ $array2 = Functions::flattenArray($matrixData2);
+ $count = self::getCount($array1, $array2);
+
+ $result = 0;
+ for ($i = 0; $i < $count; ++$i) {
+ if (self::numericNotString($array1[$i]) && self::numericNotString($array2[$i])) {
+ $result += ($array1[$i] - $array2[$i]) * ($array1[$i] - $array2[$i]);
+ }
+ }
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return $result;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosecant.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosecant.php
new file mode 100644
index 0000000..845b6c1
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosecant.php
@@ -0,0 +1,64 @@
+getMessage();
+ }
+
+ return Helpers::verySmallDenominator(1.0, sin($angle));
+ }
+
+ /**
+ * CSCH.
+ *
+ * Returns the hyperbolic cosecant of an angle.
+ *
+ * @param array|float $angle Number, or can be an array of numbers
+ *
+ * @return array|float|string The hyperbolic cosecant of the angle
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function csch($angle)
+ {
+ if (is_array($angle)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle);
+ }
+
+ try {
+ $angle = Helpers::validateNumericNullBool($angle);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::verySmallDenominator(1.0, sinh($angle));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosine.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosine.php
new file mode 100644
index 0000000..733e3d6
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cosine.php
@@ -0,0 +1,116 @@
+getMessage();
+ }
+
+ return cos($number);
+ }
+
+ /**
+ * COSH.
+ *
+ * Returns the result of builtin function cosh after validating args.
+ *
+ * @param mixed $number Should be numeric, or can be an array of numbers
+ *
+ * @return array|float|string hyperbolic cosine
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function cosh(mixed $number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return cosh($number);
+ }
+
+ /**
+ * ACOS.
+ *
+ * Returns the arccosine of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The arccosine of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function acos($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::numberOrNan(acos($number));
+ }
+
+ /**
+ * ACOSH.
+ *
+ * Returns the arc inverse hyperbolic cosine of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The inverse hyperbolic cosine of the number, or an error string
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function acosh($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::numberOrNan(acosh($number));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cotangent.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cotangent.php
new file mode 100644
index 0000000..861159a
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cotangent.php
@@ -0,0 +1,118 @@
+getMessage();
+ }
+
+ return Helpers::verySmallDenominator(cos($angle), sin($angle));
+ }
+
+ /**
+ * COTH.
+ *
+ * Returns the hyperbolic cotangent of an angle.
+ *
+ * @param array|float $angle Number, or can be an array of numbers
+ *
+ * @return array|float|string The hyperbolic cotangent of the angle
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function coth($angle)
+ {
+ if (is_array($angle)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle);
+ }
+
+ try {
+ $angle = Helpers::validateNumericNullBool($angle);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::verySmallDenominator(1.0, tanh($angle));
+ }
+
+ /**
+ * ACOT.
+ *
+ * Returns the arccotangent of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The arccotangent of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function acot($number): array|string|float
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return (M_PI / 2) - atan($number);
+ }
+
+ /**
+ * ACOTH.
+ *
+ * Returns the hyperbolic arccotangent of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The hyperbolic arccotangent of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function acoth($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $result = ($number === 1) ? NAN : (log(($number + 1) / ($number - 1)) / 2);
+
+ return Helpers::numberOrNan($result);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Secant.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Secant.php
new file mode 100644
index 0000000..2d26e5d
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Secant.php
@@ -0,0 +1,64 @@
+getMessage();
+ }
+
+ return Helpers::verySmallDenominator(1.0, cos($angle));
+ }
+
+ /**
+ * SECH.
+ *
+ * Returns the hyperbolic secant of an angle.
+ *
+ * @param array|float $angle Number, or can be an array of numbers
+ *
+ * @return array|float|string The hyperbolic secant of the angle
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function sech($angle)
+ {
+ if (is_array($angle)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle);
+ }
+
+ try {
+ $angle = Helpers::validateNumericNullBool($angle);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::verySmallDenominator(1.0, cosh($angle));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Sine.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Sine.php
new file mode 100644
index 0000000..924466e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Sine.php
@@ -0,0 +1,116 @@
+getMessage();
+ }
+
+ return sin($angle);
+ }
+
+ /**
+ * SINH.
+ *
+ * Returns the result of builtin function sinh after validating args.
+ *
+ * @param mixed $angle Should be numeric, or can be an array of numbers
+ *
+ * @return array|float|string hyperbolic sine
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function sinh(mixed $angle): array|string|float
+ {
+ if (is_array($angle)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle);
+ }
+
+ try {
+ $angle = Helpers::validateNumericNullBool($angle);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return sinh($angle);
+ }
+
+ /**
+ * ASIN.
+ *
+ * Returns the arcsine of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The arcsine of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function asin($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::numberOrNan(asin($number));
+ }
+
+ /**
+ * ASINH.
+ *
+ * Returns the inverse hyperbolic sine of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The inverse hyperbolic sine of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function asinh($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::numberOrNan(asinh($number));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Tangent.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Tangent.php
new file mode 100644
index 0000000..74feb7a
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Tangent.php
@@ -0,0 +1,161 @@
+getMessage();
+ }
+
+ return Helpers::verySmallDenominator(sin($angle), cos($angle));
+ }
+
+ /**
+ * TANH.
+ *
+ * Returns the result of builtin function sinh after validating args.
+ *
+ * @param mixed $angle Should be numeric, or can be an array of numbers
+ *
+ * @return array|float|string hyperbolic tangent
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function tanh(mixed $angle): array|string|float
+ {
+ if (is_array($angle)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle);
+ }
+
+ try {
+ $angle = Helpers::validateNumericNullBool($angle);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return tanh($angle);
+ }
+
+ /**
+ * ATAN.
+ *
+ * Returns the arctangent of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The arctangent of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function atan($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::numberOrNan(atan($number));
+ }
+
+ /**
+ * ATANH.
+ *
+ * Returns the inverse hyperbolic tangent of a number.
+ *
+ * @param array|float $number Number, or can be an array of numbers
+ *
+ * @return array|float|string The inverse hyperbolic tangent of the number
+ * If an array of numbers is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function atanh($number)
+ {
+ if (is_array($number)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
+ }
+
+ try {
+ $number = Helpers::validateNumericNullBool($number);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return Helpers::numberOrNan(atanh($number));
+ }
+
+ /**
+ * ATAN2.
+ *
+ * This function calculates the arc tangent of the two variables x and y. It is similar to
+ * calculating the arc tangent of y ÷ x, except that the signs of both arguments are used
+ * to determine the quadrant of the result.
+ * The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a
+ * point with coordinates (xCoordinate, yCoordinate). The angle is given in radians between
+ * -pi and pi, excluding -pi.
+ *
+ * Note that the Excel ATAN2() function accepts its arguments in the reverse order to the standard
+ * PHP atan2() function, so we need to reverse them here before calling the PHP atan() function.
+ *
+ * Excel Function:
+ * ATAN2(xCoordinate,yCoordinate)
+ *
+ * @param mixed $xCoordinate should be float, the x-coordinate of the point, or can be an array of numbers
+ * @param mixed $yCoordinate should be float, the y-coordinate of the point, or can be an array of numbers
+ *
+ * @return array|float|string
+ * The inverse tangent of the specified x- and y-coordinates, or a string containing an error
+ * If an array of numbers is passed as one of the arguments, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function atan2(mixed $xCoordinate, mixed $yCoordinate): array|string|float
+ {
+ if (is_array($xCoordinate) || is_array($yCoordinate)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $xCoordinate, $yCoordinate);
+ }
+
+ try {
+ $xCoordinate = Helpers::validateNumericNullBool($xCoordinate);
+ $yCoordinate = Helpers::validateNumericNullBool($yCoordinate);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (($xCoordinate == 0) && ($yCoordinate == 0)) {
+ return ExcelError::DIV0();
+ }
+
+ return atan2($yCoordinate, $xCoordinate);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trunc.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trunc.php
new file mode 100644
index 0000000..943e209
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trunc.php
@@ -0,0 +1,50 @@
+getMessage();
+ }
+
+ $digits = floor($digits);
+
+ // Truncate
+ $adjust = 10 ** $digits;
+
+ if (($digits > 0) && (rtrim((string) (int) ((abs($value) - abs((int) $value)) * $adjust), '0') < $adjust / 10)) {
+ return $value;
+ }
+
+ return ((int) ($value * $adjust)) / $adjust;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php
new file mode 100644
index 0000000..5d85db2
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php
@@ -0,0 +1,1713 @@
+ $arg) {
+ $arg = self::testAcceptedBoolean($arg, $k);
+ // Is it a numeric value?
+ // Strings containing numeric values are only counted if they are string literals (not cell values)
+ // and then only in MS Excel and in Open Office, not in Gnumeric
+ if ((is_string($arg)) && (!is_numeric($arg)) && (!Functions::isCellValue($k))) {
+ return ExcelError::VALUE();
+ }
+ if (self::isAcceptedCountable($arg, $k)) {
+ $returnValue += abs($arg - $aMean);
+ ++$aCount;
+ }
+ }
+
+ // Return
+ if ($aCount === 0) {
+ return ExcelError::DIV0();
+ }
+
+ return $returnValue / $aCount;
+ }
+
+ /**
+ * AVERAGE.
+ *
+ * Returns the average (arithmetic mean) of the arguments
+ *
+ * Excel Function:
+ * AVERAGE(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string (string if result is an error)
+ */
+ public static function average(mixed ...$args): string|int|float
+ {
+ $returnValue = $aCount = 0;
+
+ // Loop through arguments
+ foreach (Functions::flattenArrayIndexed($args) as $k => $arg) {
+ $arg = self::testAcceptedBoolean($arg, $k);
+ // Is it a numeric value?
+ // Strings containing numeric values are only counted if they are string literals (not cell values)
+ // and then only in MS Excel and in Open Office, not in Gnumeric
+ if ((is_string($arg)) && (!is_numeric($arg)) && (!Functions::isCellValue($k))) {
+ return ExcelError::VALUE();
+ }
+ if (self::isAcceptedCountable($arg, $k)) {
+ $returnValue += $arg;
+ ++$aCount;
+ }
+ }
+
+ // Return
+ if ($aCount > 0) {
+ return $returnValue / $aCount;
+ }
+
+ return ExcelError::DIV0();
+ }
+
+ /**
+ * AVERAGEA.
+ *
+ * Returns the average of its arguments, including numbers, text, and logical values
+ *
+ * Excel Function:
+ * AVERAGEA(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string (string if result is an error)
+ */
+ public static function averageA(mixed ...$args): string|int|float
+ {
+ $returnValue = null;
+
+ $aCount = 0;
+ // Loop through arguments
+ foreach (Functions::flattenArrayIndexed($args) as $k => $arg) {
+ if (is_numeric($arg)) {
+ // do nothing
+ } elseif (is_bool($arg)) {
+ $arg = (int) $arg;
+ } elseif (!Functions::isMatrixValue($k)) {
+ $arg = 0;
+ } else {
+ return ExcelError::VALUE();
+ }
+ $returnValue += $arg;
+ ++$aCount;
+ }
+
+ if ($aCount > 0) {
+ return $returnValue / $aCount;
+ }
+
+ return ExcelError::DIV0();
+ }
+
+ /**
+ * MEDIAN.
+ *
+ * Returns the median of the given numbers. The median is the number in the middle of a set of numbers.
+ *
+ * Excel Function:
+ * MEDIAN(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function median(mixed ...$args)
+ {
+ $aArgs = Functions::flattenArray($args);
+
+ $returnValue = ExcelError::NAN();
+
+ $aArgs = self::filterArguments($aArgs);
+ $valueCount = count($aArgs);
+ if ($valueCount > 0) {
+ sort($aArgs, SORT_NUMERIC);
+ $valueCount = $valueCount / 2;
+ if ($valueCount == floor($valueCount)) {
+ $returnValue = ($aArgs[$valueCount--] + $aArgs[$valueCount]) / 2;
+ } else {
+ $valueCount = floor($valueCount);
+ $returnValue = $aArgs[$valueCount];
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * MODE.
+ *
+ * Returns the most frequently occurring, or repetitive, value in an array or range of data
+ *
+ * Excel Function:
+ * MODE(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function mode(mixed ...$args)
+ {
+ $returnValue = ExcelError::NA();
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArray($args);
+ $aArgs = self::filterArguments($aArgs);
+
+ if (!empty($aArgs)) {
+ return self::modeCalc($aArgs);
+ }
+
+ return $returnValue;
+ }
+
+ protected static function filterArguments(array $args): array
+ {
+ return array_filter(
+ $args,
+ function ($value): bool {
+ // Is it a numeric value?
+ return is_numeric($value) && (!is_string($value));
+ }
+ );
+ }
+
+ /**
+ * Special variant of array_count_values that isn't limited to strings and integers,
+ * but can work with floating point numbers as values.
+ *
+ * @return float|string
+ */
+ private static function modeCalc(array $data)
+ {
+ $frequencyArray = [];
+ $index = 0;
+ $maxfreq = 0;
+ $maxfreqkey = '';
+ $maxfreqdatum = '';
+ foreach ($data as $datum) {
+ $found = false;
+ ++$index;
+ foreach ($frequencyArray as $key => $value) {
+ if ((string) $value['value'] == (string) $datum) {
+ ++$frequencyArray[$key]['frequency'];
+ $freq = $frequencyArray[$key]['frequency'];
+ if ($freq > $maxfreq) {
+ $maxfreq = $freq;
+ $maxfreqkey = $key;
+ $maxfreqdatum = $datum;
+ } elseif ($freq == $maxfreq) {
+ if ($frequencyArray[$key]['index'] < $frequencyArray[$maxfreqkey]['index']) {
+ $maxfreqkey = $key;
+ $maxfreqdatum = $datum;
+ }
+ }
+ $found = true;
+
+ break;
+ }
+ }
+
+ if ($found === false) {
+ $frequencyArray[] = [
+ 'value' => $datum,
+ 'frequency' => 1,
+ 'index' => $index,
+ ];
+ }
+ }
+
+ if ($maxfreq <= 1) {
+ return ExcelError::NA();
+ }
+
+ return $maxfreqdatum;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Averages/Mean.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Averages/Mean.php
new file mode 100644
index 0000000..a05d7c7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Averages/Mean.php
@@ -0,0 +1,132 @@
+ 0)) {
+ $aCount = Counts::COUNT($aArgs);
+ if (Minimum::min($aArgs) > 0) {
+ return $aMean ** (1 / $aCount);
+ }
+ }
+
+ return ExcelError::NAN();
+ }
+
+ /**
+ * HARMEAN.
+ *
+ * Returns the harmonic mean of a data set. The harmonic mean is the reciprocal of the
+ * arithmetic mean of reciprocals.
+ *
+ * Excel Function:
+ * HARMEAN(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string
+ */
+ public static function harmonic(mixed ...$args): string|float|int
+ {
+ // Loop through arguments
+ $aArgs = Functions::flattenArray($args);
+ if (Minimum::min($aArgs) < 0) {
+ return ExcelError::NAN();
+ }
+
+ $returnValue = 0;
+ $aCount = 0;
+ foreach ($aArgs as $arg) {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ if ($arg <= 0) {
+ return ExcelError::NAN();
+ }
+ $returnValue += (1 / $arg);
+ ++$aCount;
+ }
+ }
+
+ // Return
+ if ($aCount > 0) {
+ return 1 / ($returnValue / $aCount);
+ }
+
+ return ExcelError::NA();
+ }
+
+ /**
+ * TRIMMEAN.
+ *
+ * Returns the mean of the interior of a data set. TRIMMEAN calculates the mean
+ * taken by excluding a percentage of data points from the top and bottom tails
+ * of a data set.
+ *
+ * Excel Function:
+ * TRIMEAN(value1[,value2[, ...]], $discard)
+ *
+ * @param mixed $args Data values
+ *
+ * @return float|string
+ */
+ public static function trim(mixed ...$args)
+ {
+ $aArgs = Functions::flattenArray($args);
+
+ // Calculate
+ $percent = array_pop($aArgs);
+
+ if ((is_numeric($percent)) && (!is_string($percent))) {
+ if (($percent < 0) || ($percent > 1)) {
+ return ExcelError::NAN();
+ }
+
+ $mArgs = [];
+ foreach ($aArgs as $arg) {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ $mArgs[] = $arg;
+ }
+ }
+
+ $discard = floor(Counts::COUNT($mArgs) * $percent / 2);
+ sort($mArgs);
+
+ for ($i = 0; $i < $discard; ++$i) {
+ array_pop($mArgs);
+ array_shift($mArgs);
+ }
+
+ return Averages::average($mArgs);
+ }
+
+ return ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Conditional.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Conditional.php
new file mode 100644
index 0000000..02c2811
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Conditional.php
@@ -0,0 +1,307 @@
+ $value !== null && $value !== ''
+ );
+
+ $range = array_merge([[self::CONDITION_COLUMN_NAME]], array_chunk($range, 1));
+ $condition = array_merge([[self::CONDITION_COLUMN_NAME]], [[$condition]]);
+
+ return DCount::evaluate($range, null, $condition, false);
+ }
+
+ /**
+ * COUNTIFS.
+ *
+ * Counts the number of cells that contain numbers within the list of arguments
+ *
+ * Excel Function:
+ * COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)
+ *
+ * @param mixed $args Pairs of Ranges and Criteria
+ *
+ * @return int|string
+ */
+ public static function COUNTIFS(mixed ...$args)
+ {
+ if (empty($args)) {
+ return 0;
+ } elseif (count($args) === 2) {
+ return self::COUNTIF(...$args);
+ }
+
+ $database = self::buildDatabase(...$args);
+ $conditions = self::buildConditionSet(...$args);
+
+ return DCount::evaluate($database, null, $conditions, false);
+ }
+
+ /**
+ * MAXIFS.
+ *
+ * Returns the maximum value within a range of cells that contain numbers within the list of arguments
+ *
+ * Excel Function:
+ * MAXIFS(max_range, criteria_range1, criteria1, [criteria_range2, criteria2]…)
+ *
+ * @param mixed $args Pairs of Ranges and Criteria
+ *
+ * @return null|float|string
+ */
+ public static function MAXIFS(mixed ...$args)
+ {
+ if (empty($args)) {
+ return 0.0;
+ }
+
+ $conditions = self::buildConditionSetForValueRange(...$args);
+ $database = self::buildDatabaseWithValueRange(...$args);
+
+ return DMax::evaluate($database, self::VALUE_COLUMN_NAME, $conditions, false);
+ }
+
+ /**
+ * MINIFS.
+ *
+ * Returns the minimum value within a range of cells that contain numbers within the list of arguments
+ *
+ * Excel Function:
+ * MINIFS(min_range, criteria_range1, criteria1, [criteria_range2, criteria2]…)
+ *
+ * @param mixed $args Pairs of Ranges and Criteria
+ *
+ * @return null|float|string
+ */
+ public static function MINIFS(mixed ...$args)
+ {
+ if (empty($args)) {
+ return 0.0;
+ }
+
+ $conditions = self::buildConditionSetForValueRange(...$args);
+ $database = self::buildDatabaseWithValueRange(...$args);
+
+ return DMin::evaluate($database, self::VALUE_COLUMN_NAME, $conditions, false);
+ }
+
+ /**
+ * SUMIF.
+ *
+ * Totals the values of cells that contain numbers within the list of arguments
+ *
+ * Excel Function:
+ * SUMIF(range, criteria, [sum_range])
+ *
+ * @param array $range Data values
+ *
+ * @return null|float|string
+ */
+ public static function SUMIF(array $range, mixed $condition, array $sumRange = [])
+ {
+ $database = self::databaseFromRangeAndValue($range, $sumRange);
+ $condition = [[self::CONDITION_COLUMN_NAME, self::VALUE_COLUMN_NAME], [$condition, null]];
+
+ return DSum::evaluate($database, self::VALUE_COLUMN_NAME, $condition);
+ }
+
+ /**
+ * SUMIFS.
+ *
+ * Counts the number of cells that contain numbers within the list of arguments
+ *
+ * Excel Function:
+ * SUMIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2]…)
+ *
+ * @param mixed $args Pairs of Ranges and Criteria
+ *
+ * @return null|float|string
+ */
+ public static function SUMIFS(mixed ...$args)
+ {
+ if (empty($args)) {
+ return 0.0;
+ } elseif (count($args) === 3) {
+ return self::SUMIF($args[1], $args[2], $args[0]);
+ }
+
+ $conditions = self::buildConditionSetForValueRange(...$args);
+ $database = self::buildDatabaseWithValueRange(...$args);
+
+ return DSum::evaluate($database, self::VALUE_COLUMN_NAME, $conditions);
+ }
+
+ /** @param array $args */
+ private static function buildConditionSet(...$args): array
+ {
+ $conditions = self::buildConditions(1, ...$args);
+
+ return array_map(null, ...$conditions);
+ }
+
+ /** @param array $args */
+ private static function buildConditionSetForValueRange(...$args): array
+ {
+ $conditions = self::buildConditions(2, ...$args);
+
+ if (count($conditions) === 1) {
+ return array_map(
+ fn ($value): array => [$value],
+ $conditions[0]
+ );
+ }
+
+ return array_map(null, ...$conditions);
+ }
+
+ /** @param array $args */
+ private static function buildConditions(int $startOffset, ...$args): array
+ {
+ $conditions = [];
+
+ $pairCount = 1;
+ $argumentCount = count($args);
+ for ($argument = $startOffset; $argument < $argumentCount; $argument += 2) {
+ $conditions[] = array_merge([sprintf(self::CONDITIONAL_COLUMN_NAME, $pairCount)], [$args[$argument]]);
+ ++$pairCount;
+ }
+
+ return $conditions;
+ }
+
+ /** @param array $args */
+ private static function buildDatabase(...$args): array
+ {
+ $database = [];
+
+ return self::buildDataSet(0, $database, ...$args);
+ }
+
+ /** @param array $args */
+ private static function buildDatabaseWithValueRange(...$args): array
+ {
+ $database = [];
+ $database[] = array_merge(
+ [self::VALUE_COLUMN_NAME],
+ Functions::flattenArray($args[0])
+ );
+
+ return self::buildDataSet(1, $database, ...$args);
+ }
+
+ /** @param array $args */
+ private static function buildDataSet(int $startOffset, array $database, ...$args): array
+ {
+ $pairCount = 1;
+ $argumentCount = count($args);
+ for ($argument = $startOffset; $argument < $argumentCount; $argument += 2) {
+ $database[] = array_merge(
+ [sprintf(self::CONDITIONAL_COLUMN_NAME, $pairCount)],
+ Functions::flattenArray($args[$argument])
+ );
+ ++$pairCount;
+ }
+
+ return array_map(null, ...$database);
+ }
+
+ private static function databaseFromRangeAndValue(array $range, array $valueRange = []): array
+ {
+ $range = Functions::flattenArray($range);
+
+ $valueRange = Functions::flattenArray($valueRange);
+ if (empty($valueRange)) {
+ $valueRange = $range;
+ }
+
+ $database = array_map(null, array_merge([self::CONDITION_COLUMN_NAME], $range), array_merge([self::VALUE_COLUMN_NAME], $valueRange));
+
+ return $database;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Confidence.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Confidence.php
new file mode 100644
index 0000000..ae4f61e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Confidence.php
@@ -0,0 +1,52 @@
+getMessage();
+ }
+
+ if (($alpha <= 0) || ($alpha >= 1) || ($stdDev <= 0) || ($size < 1)) {
+ return ExcelError::NAN();
+ }
+ /** @var float */
+ $temp = Distributions\StandardNormal::inverse(1 - $alpha / 2);
+
+ return Functions::scalar($temp * $stdDev / sqrt($size));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Counts.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Counts.php
new file mode 100644
index 0000000..20ed634
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Counts.php
@@ -0,0 +1,96 @@
+ $arg) {
+ $arg = self::testAcceptedBoolean($arg, $k);
+ // Is it a numeric value?
+ // Strings containing numeric values are only counted if they are string literals (not cell values)
+ // and then only in MS Excel and in Open Office, not in Gnumeric
+ if (self::isAcceptedCountable($arg, $k, true)) {
+ ++$returnValue;
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * COUNTA.
+ *
+ * Counts the number of cells that are not empty within the list of arguments
+ *
+ * Excel Function:
+ * COUNTA(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ */
+ public static function COUNTA(mixed ...$args): int
+ {
+ $returnValue = 0;
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArrayIndexed($args);
+ foreach ($aArgs as $k => $arg) {
+ // Nulls are counted if literals, but not if cell values
+ if ($arg !== null || (!Functions::isCellValue($k))) {
+ ++$returnValue;
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * COUNTBLANK.
+ *
+ * Counts the number of empty cells within the list of arguments
+ *
+ * Excel Function:
+ * COUNTBLANK(value1[,value2[, ...]])
+ *
+ * @param mixed $range Data values
+ */
+ public static function COUNTBLANK(mixed $range): int
+ {
+ if ($range === null) {
+ return 1;
+ }
+ if (!is_array($range) || array_key_exists(0, $range)) {
+ throw new CalcException('Must specify range of cells, not any kind of literal');
+ }
+ $returnValue = 0;
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArray($range);
+ foreach ($aArgs as $arg) {
+ // Is it a blank cell?
+ if (($arg === null) || ((is_string($arg)) && ($arg == ''))) {
+ ++$returnValue;
+ }
+ }
+
+ return $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Deviations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Deviations.php
new file mode 100644
index 0000000..bc6b19c
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Deviations.php
@@ -0,0 +1,140 @@
+ $arg) {
+ // Is it a numeric value?
+ if (
+ (is_bool($arg))
+ && ((!Functions::isCellValue($k))
+ || (Functions::getCompatibilityMode() == Functions::COMPATIBILITY_OPENOFFICE))
+ ) {
+ $arg = (int) $arg;
+ }
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ $returnValue += ($arg - $aMean) ** 2;
+ ++$aCount;
+ }
+ }
+
+ return $aCount === 0 ? ExcelError::VALUE() : $returnValue;
+ }
+
+ /**
+ * KURT.
+ *
+ * Returns the kurtosis of a data set. Kurtosis characterizes the relative peakedness
+ * or flatness of a distribution compared with the normal distribution. Positive
+ * kurtosis indicates a relatively peaked distribution. Negative kurtosis indicates a
+ * relatively flat distribution.
+ *
+ * @param array ...$args Data Series
+ *
+ * @return float|string
+ */
+ public static function kurtosis(...$args): string|int|float
+ {
+ $aArgs = Functions::flattenArrayIndexed($args);
+ $mean = Averages::average($aArgs);
+ if (!is_numeric($mean)) {
+ return ExcelError::DIV0();
+ }
+ $stdDev = (float) StandardDeviations::STDEV($aArgs);
+
+ if ($stdDev > 0) {
+ $count = $summer = 0;
+
+ foreach ($aArgs as $k => $arg) {
+ if ((is_bool($arg)) && (!Functions::isMatrixValue($k))) {
+ } else {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ $summer += (($arg - $mean) / $stdDev) ** 4;
+ ++$count;
+ }
+ }
+ }
+
+ if ($count > 3) {
+ return $summer * ($count * ($count + 1)
+ / (($count - 1) * ($count - 2) * ($count - 3))) - (3 * ($count - 1) ** 2
+ / (($count - 2) * ($count - 3)));
+ }
+ }
+
+ return ExcelError::DIV0();
+ }
+
+ /**
+ * SKEW.
+ *
+ * Returns the skewness of a distribution. Skewness characterizes the degree of asymmetry
+ * of a distribution around its mean. Positive skewness indicates a distribution with an
+ * asymmetric tail extending toward more positive values. Negative skewness indicates a
+ * distribution with an asymmetric tail extending toward more negative values.
+ *
+ * @param array ...$args Data Series
+ *
+ * @return float|int|string The result, or a string containing an error
+ */
+ public static function skew(...$args): string|int|float
+ {
+ $aArgs = Functions::flattenArrayIndexed($args);
+ $mean = Averages::average($aArgs);
+ if (!is_numeric($mean)) {
+ return ExcelError::DIV0();
+ }
+ $stdDev = StandardDeviations::STDEV($aArgs);
+ if ($stdDev === 0.0 || is_string($stdDev)) {
+ return ExcelError::DIV0();
+ }
+
+ $count = $summer = 0;
+ // Loop through arguments
+ foreach ($aArgs as $k => $arg) {
+ if ((is_bool($arg)) && (!Functions::isMatrixValue($k))) {
+ } elseif (!is_numeric($arg)) {
+ return ExcelError::VALUE();
+ } else {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ $summer += (($arg - $mean) / $stdDev) ** 3;
+ ++$count;
+ }
+ }
+ }
+
+ if ($count > 2) {
+ return $summer * ($count / (($count - 1) * ($count - 2)));
+ }
+
+ return ExcelError::DIV0();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php
new file mode 100644
index 0000000..d99ee60
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Beta.php
@@ -0,0 +1,283 @@
+getMessage();
+ }
+
+ if ($rMin > $rMax) {
+ $tmp = $rMin;
+ $rMin = $rMax;
+ $rMax = $tmp;
+ }
+ if (($value < $rMin) || ($value > $rMax) || ($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax)) {
+ return ExcelError::NAN();
+ }
+
+ $value -= $rMin;
+ $value /= ($rMax - $rMin);
+
+ return self::incompleteBeta($value, $alpha, $beta);
+ }
+
+ /**
+ * BETAINV.
+ *
+ * Returns the inverse of the Beta distribution.
+ *
+ * @param mixed $probability Float probability at which you want to evaluate the distribution
+ * Or can be an array of values
+ * @param mixed $alpha Parameter to the distribution as a float
+ * Or can be an array of values
+ * @param mixed $beta Parameter to the distribution as a float
+ * Or can be an array of values
+ * @param mixed $rMin Minimum value as a float
+ * Or can be an array of values
+ * @param mixed $rMax Maximum value as a float
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverse(mixed $probability, mixed $alpha, mixed $beta, mixed $rMin = 0.0, mixed $rMax = 1.0): array|string|float
+ {
+ if (is_array($probability) || is_array($alpha) || is_array($beta) || is_array($rMin) || is_array($rMax)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $alpha, $beta, $rMin, $rMax);
+ }
+
+ $rMin = $rMin ?? 0.0;
+ $rMax = $rMax ?? 1.0;
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $alpha = DistributionValidations::validateFloat($alpha);
+ $beta = DistributionValidations::validateFloat($beta);
+ $rMax = DistributionValidations::validateFloat($rMax);
+ $rMin = DistributionValidations::validateFloat($rMin);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($rMin > $rMax) {
+ $tmp = $rMin;
+ $rMin = $rMax;
+ $rMax = $tmp;
+ }
+ if (($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax) || ($probability <= 0.0)) {
+ return ExcelError::NAN();
+ }
+
+ return self::calculateInverse($probability, $alpha, $beta, $rMin, $rMax);
+ }
+
+ private static function calculateInverse(float $probability, float $alpha, float $beta, float $rMin, float $rMax): string|float
+ {
+ $a = 0;
+ $b = 2;
+ $guess = ($a + $b) / 2;
+
+ $i = 0;
+ while ((($b - $a) > Functions::PRECISION) && (++$i <= self::MAX_ITERATIONS)) {
+ $guess = ($a + $b) / 2;
+ $result = self::distribution($guess, $alpha, $beta);
+ if (($result === $probability) || ($result === 0.0)) {
+ $b = $a;
+ } elseif ($result > $probability) {
+ $b = $guess;
+ } else {
+ $a = $guess;
+ }
+ }
+
+ if ($i === self::MAX_ITERATIONS) {
+ return ExcelError::NA();
+ }
+
+ return round($rMin + $guess * ($rMax - $rMin), 12);
+ }
+
+ /**
+ * Incomplete beta function.
+ *
+ * @author Jaco van Kooten
+ * @author Paul Meagher
+ *
+ * The computation is based on formulas from Numerical Recipes, Chapter 6.4 (W.H. Press et al, 1992).
+ *
+ * @param float $x require 0<=x<=1
+ * @param float $p require p>0
+ * @param float $q require q>0
+ *
+ * @return float 0 if x<0, p<=0, q<=0 or p+q>2.55E305 and 1 if x>1 to avoid errors and over/underflow
+ */
+ public static function incompleteBeta(float $x, float $p, float $q): float
+ {
+ if ($x <= 0.0) {
+ return 0.0;
+ } elseif ($x >= 1.0) {
+ return 1.0;
+ } elseif (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > self::LOG_GAMMA_X_MAX_VALUE)) {
+ return 0.0;
+ }
+
+ $beta_gam = exp((0 - self::logBeta($p, $q)) + $p * log($x) + $q * log(1.0 - $x));
+ if ($x < ($p + 1.0) / ($p + $q + 2.0)) {
+ return $beta_gam * self::betaFraction($x, $p, $q) / $p;
+ }
+
+ return 1.0 - ($beta_gam * self::betaFraction(1 - $x, $q, $p) / $q);
+ }
+
+ // Function cache for logBeta function
+ /** @var float */
+ private static $logBetaCacheP = 0.0;
+
+ /** @var float */
+ private static $logBetaCacheQ = 0.0;
+
+ /** @var float */
+ private static $logBetaCacheResult = 0.0;
+
+ /**
+ * The natural logarithm of the beta function.
+ *
+ * @param float $p require p>0
+ * @param float $q require q>0
+ *
+ * @return float 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow
+ *
+ * @author Jaco van Kooten
+ */
+ private static function logBeta(float $p, float $q): float
+ {
+ if ($p != self::$logBetaCacheP || $q != self::$logBetaCacheQ) {
+ self::$logBetaCacheP = $p;
+ self::$logBetaCacheQ = $q;
+ if (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > self::LOG_GAMMA_X_MAX_VALUE)) {
+ self::$logBetaCacheResult = 0.0;
+ } else {
+ self::$logBetaCacheResult = Gamma::logGamma($p) + Gamma::logGamma($q) - Gamma::logGamma($p + $q);
+ }
+ }
+
+ return self::$logBetaCacheResult;
+ }
+
+ /**
+ * Evaluates of continued fraction part of incomplete beta function.
+ * Based on an idea from Numerical Recipes (W.H. Press et al, 1992).
+ *
+ * @author Jaco van Kooten
+ */
+ private static function betaFraction(float $x, float $p, float $q): float
+ {
+ $c = 1.0;
+ $sum_pq = $p + $q;
+ $p_plus = $p + 1.0;
+ $p_minus = $p - 1.0;
+ $h = 1.0 - $sum_pq * $x / $p_plus;
+ if (abs($h) < self::XMININ) {
+ $h = self::XMININ;
+ }
+ $h = 1.0 / $h;
+ $frac = $h;
+ $m = 1;
+ $delta = 0.0;
+ while ($m <= self::MAX_ITERATIONS && abs($delta - 1.0) > Functions::PRECISION) {
+ $m2 = 2 * $m;
+ // even index for d
+ $d = $m * ($q - $m) * $x / (($p_minus + $m2) * ($p + $m2));
+ $h = 1.0 + $d * $h;
+ if (abs($h) < self::XMININ) {
+ $h = self::XMININ;
+ }
+ $h = 1.0 / $h;
+ $c = 1.0 + $d / $c;
+ if (abs($c) < self::XMININ) {
+ $c = self::XMININ;
+ }
+ $frac *= $h * $c;
+ // odd index for d
+ $d = -($p + $m) * ($sum_pq + $m) * $x / (($p + $m2) * ($p_plus + $m2));
+ $h = 1.0 + $d * $h;
+ if (abs($h) < self::XMININ) {
+ $h = self::XMININ;
+ }
+ $h = 1.0 / $h;
+ $c = 1.0 + $d / $c;
+ if (abs($c) < self::XMININ) {
+ $c = self::XMININ;
+ }
+ $delta = $h * $c;
+ $frac *= $delta;
+ ++$m;
+ }
+
+ return $frac;
+ }
+
+ /*
+ private static function betaValue(float $a, float $b): float
+ {
+ return (Gamma::gammaValue($a) * Gamma::gammaValue($b)) /
+ Gamma::gammaValue($a + $b);
+ }
+
+ private static function regularizedIncompleteBeta(float $value, float $a, float $b): float
+ {
+ return self::incompleteBeta($value, $a, $b) / self::betaValue($a, $b);
+ }
+ */
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php
new file mode 100644
index 0000000..a4abb06
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Binomial.php
@@ -0,0 +1,234 @@
+getMessage();
+ }
+
+ if (($value < 0) || ($value > $trials)) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative) {
+ return self::calculateCumulativeBinomial($value, $trials, $probability);
+ }
+ /** @var float */
+ $comb = Combinations::withoutRepetition($trials, $value);
+
+ return $comb * $probability ** $value
+ * (1 - $probability) ** ($trials - $value);
+ }
+
+ /**
+ * BINOM.DIST.RANGE.
+ *
+ * Returns returns the Binomial Distribution probability for the number of successes from a specified number
+ * of trials falling into a specified range.
+ *
+ * @param mixed $trials Integer number of trials
+ * Or can be an array of values
+ * @param mixed $probability Probability of success on each trial as a float
+ * Or can be an array of values
+ * @param mixed $successes The integer number of successes in trials
+ * Or can be an array of values
+ * @param mixed $limit Upper limit for successes in trials as null, or an integer
+ * If null, then this will indicate the same as the number of Successes
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function range(mixed $trials, mixed $probability, mixed $successes, mixed $limit = null): array|string|float|int
+ {
+ if (is_array($trials) || is_array($probability) || is_array($successes) || is_array($limit)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $trials, $probability, $successes, $limit);
+ }
+
+ $limit = $limit ?? $successes;
+
+ try {
+ $trials = DistributionValidations::validateInt($trials);
+ $probability = DistributionValidations::validateProbability($probability);
+ $successes = DistributionValidations::validateInt($successes);
+ $limit = DistributionValidations::validateInt($limit);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (($successes < 0) || ($successes > $trials)) {
+ return ExcelError::NAN();
+ }
+ if (($limit < 0) || ($limit > $trials) || $limit < $successes) {
+ return ExcelError::NAN();
+ }
+
+ $summer = 0;
+ for ($i = $successes; $i <= $limit; ++$i) {
+ /** @var float */
+ $comb = Combinations::withoutRepetition($trials, $i);
+ $summer += $comb * $probability ** $i
+ * (1 - $probability) ** ($trials - $i);
+ }
+
+ return $summer;
+ }
+
+ /**
+ * NEGBINOMDIST.
+ *
+ * Returns the negative binomial distribution. NEGBINOMDIST returns the probability that
+ * there will be number_f failures before the number_s-th success, when the constant
+ * probability of a success is probability_s. This function is similar to the binomial
+ * distribution, except that the number of successes is fixed, and the number of trials is
+ * variable. Like the binomial, trials are assumed to be independent.
+ *
+ * @param mixed $failures Number of Failures as an integer
+ * Or can be an array of values
+ * @param mixed $successes Threshold number of Successes as an integer
+ * Or can be an array of values
+ * @param mixed $probability Probability of success on each trial as a float
+ * Or can be an array of values
+ *
+ * @return array|float|string The result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ *
+ * TODO Add support for the cumulative flag not present for NEGBINOMDIST, but introduced for NEGBINOM.DIST
+ * The cumulative default should be false to reflect the behaviour of NEGBINOMDIST
+ */
+ public static function negative(mixed $failures, mixed $successes, mixed $probability): array|string|float
+ {
+ if (is_array($failures) || is_array($successes) || is_array($probability)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $failures, $successes, $probability);
+ }
+
+ try {
+ $failures = DistributionValidations::validateInt($failures);
+ $successes = DistributionValidations::validateInt($successes);
+ $probability = DistributionValidations::validateProbability($probability);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (($failures < 0) || ($successes < 1)) {
+ return ExcelError::NAN();
+ }
+ if (Functions::getCompatibilityMode() == Functions::COMPATIBILITY_GNUMERIC) {
+ if (($failures + $successes - 1) <= 0) {
+ return ExcelError::NAN();
+ }
+ }
+ /** @var float */
+ $comb = Combinations::withoutRepetition($failures + $successes - 1, $successes - 1);
+
+ return $comb
+ * ($probability ** $successes) * ((1 - $probability) ** $failures);
+ }
+
+ /**
+ * BINOM.INV.
+ *
+ * Returns the smallest value for which the cumulative binomial distribution is greater
+ * than or equal to a criterion value
+ *
+ * @param mixed $trials number of Bernoulli trials as an integer
+ * Or can be an array of values
+ * @param mixed $probability probability of a success on each trial as a float
+ * Or can be an array of values
+ * @param mixed $alpha criterion value as a float
+ * Or can be an array of values
+ *
+ * @return array|int|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverse(mixed $trials, mixed $probability, mixed $alpha): array|string|int
+ {
+ if (is_array($trials) || is_array($probability) || is_array($alpha)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $trials, $probability, $alpha);
+ }
+
+ try {
+ $trials = DistributionValidations::validateInt($trials);
+ $probability = DistributionValidations::validateProbability($probability);
+ $alpha = DistributionValidations::validateFloat($alpha);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($trials < 0) {
+ return ExcelError::NAN();
+ } elseif (($alpha < 0.0) || ($alpha > 1.0)) {
+ return ExcelError::NAN();
+ }
+
+ $successes = 0;
+ while ($successes <= $trials) {
+ $result = self::calculateCumulativeBinomial($successes, $trials, $probability);
+ if ($result >= $alpha) {
+ break;
+ }
+ ++$successes;
+ }
+
+ return $successes;
+ }
+
+ private static function calculateCumulativeBinomial(int $value, int $trials, float $probability): float|int
+ {
+ $summer = 0;
+ for ($i = 0; $i <= $value; ++$i) {
+ /** @var float */
+ $comb = Combinations::withoutRepetition($trials, $i);
+ $summer += $comb * $probability ** $i
+ * (1 - $probability) ** ($trials - $i);
+ }
+
+ return $summer;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php
new file mode 100644
index 0000000..c3cc80b
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php
@@ -0,0 +1,337 @@
+getMessage();
+ }
+
+ if ($degrees < 1) {
+ return ExcelError::NAN();
+ }
+ if ($value < 0) {
+ if (Functions::getCompatibilityMode() == Functions::COMPATIBILITY_GNUMERIC) {
+ return 1;
+ }
+
+ return ExcelError::NAN();
+ }
+
+ return 1 - (Gamma::incompleteGamma($degrees / 2, $value / 2) / Gamma::gammaValue($degrees / 2));
+ }
+
+ /**
+ * CHIDIST.
+ *
+ * Returns the one-tailed probability of the chi-squared distribution.
+ *
+ * @param mixed $value Float value for which we want the probability
+ * Or can be an array of values
+ * @param mixed $degrees Integer degrees of freedom
+ * Or can be an array of values
+ * @param mixed $cumulative Boolean value indicating if we want the cdf (true) or the pdf (false)
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function distributionLeftTail(mixed $value, mixed $degrees, mixed $cumulative): array|string|int|float
+ {
+ if (is_array($value) || is_array($degrees) || is_array($cumulative)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $degrees, $cumulative);
+ }
+
+ try {
+ $value = DistributionValidations::validateFloat($value);
+ $degrees = DistributionValidations::validateInt($degrees);
+ $cumulative = DistributionValidations::validateBool($cumulative);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($degrees < 1) {
+ return ExcelError::NAN();
+ }
+ if ($value < 0) {
+ if (Functions::getCompatibilityMode() == Functions::COMPATIBILITY_GNUMERIC) {
+ return 1;
+ }
+
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative === true) {
+ $temp = self::distributionRightTail($value, $degrees);
+
+ return 1 - (is_numeric($temp) ? $temp : 0);
+ }
+
+ return ($value ** (($degrees / 2) - 1) * exp(-$value / 2))
+ / ((2 ** ($degrees / 2)) * Gamma::gammaValue($degrees / 2));
+ }
+
+ /**
+ * CHIINV.
+ *
+ * Returns the inverse of the right-tailed probability of the chi-squared distribution.
+ *
+ * @param mixed $probability Float probability at which you want to evaluate the distribution
+ * Or can be an array of values
+ * @param mixed $degrees Integer degrees of freedom
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverseRightTail(mixed $probability, mixed $degrees)
+ {
+ if (is_array($probability) || is_array($degrees)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $degrees);
+ }
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $degrees = DistributionValidations::validateInt($degrees);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($degrees < 1) {
+ return ExcelError::NAN();
+ }
+
+ $callback = function ($value) use ($degrees): float {
+ return 1 - (Gamma::incompleteGamma($degrees / 2, $value / 2)
+ / Gamma::gammaValue($degrees / 2));
+ };
+
+ $newtonRaphson = new NewtonRaphson($callback);
+
+ return $newtonRaphson->execute($probability);
+ }
+
+ /**
+ * CHIINV.
+ *
+ * Returns the inverse of the left-tailed probability of the chi-squared distribution.
+ *
+ * @param mixed $probability Float probability at which you want to evaluate the distribution
+ * Or can be an array of values
+ * @param mixed $degrees Integer degrees of freedom
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverseLeftTail(mixed $probability, mixed $degrees): array|string|float
+ {
+ if (is_array($probability) || is_array($degrees)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $degrees);
+ }
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $degrees = DistributionValidations::validateInt($degrees);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($degrees < 1) {
+ return ExcelError::NAN();
+ }
+
+ return self::inverseLeftTailCalculation($probability, $degrees);
+ }
+
+ /**
+ * CHITEST.
+ *
+ * Uses the chi-square test to calculate the probability that the differences between two supplied data sets
+ * (of observed and expected frequencies), are likely to be simply due to sampling error,
+ * or if they are likely to be real.
+ *
+ * @param mixed $actual an array of observed frequencies
+ * @param mixed $expected an array of expected frequencies
+ *
+ * @return float|string
+ */
+ public static function test(mixed $actual, mixed $expected)
+ {
+ $rows = count($actual);
+ $actual = Functions::flattenArray($actual);
+ $expected = Functions::flattenArray($expected);
+ $columns = intdiv(count($actual), $rows);
+
+ $countActuals = count($actual);
+ $countExpected = count($expected);
+ if ($countActuals !== $countExpected || $countActuals === 1) {
+ return ExcelError::NAN();
+ }
+
+ $result = 0.0;
+ for ($i = 0; $i < $countActuals; ++$i) {
+ if ($expected[$i] == 0.0) {
+ return ExcelError::DIV0();
+ } elseif ($expected[$i] < 0.0) {
+ return ExcelError::NAN();
+ }
+ $result += (($actual[$i] - $expected[$i]) ** 2) / $expected[$i];
+ }
+
+ $degrees = self::degrees($rows, $columns);
+
+ $result = Functions::scalar(self::distributionRightTail($result, $degrees));
+
+ return $result;
+ }
+
+ protected static function degrees(int $rows, int $columns): int
+ {
+ if ($rows === 1) {
+ return $columns - 1;
+ } elseif ($columns === 1) {
+ return $rows - 1;
+ }
+
+ return ($columns - 1) * ($rows - 1);
+ }
+
+ private static function inverseLeftTailCalculation(float $probability, int $degrees): float
+ {
+ // bracket the root
+ $min = 0;
+ $sd = sqrt(2.0 * $degrees);
+ $max = 2 * $sd;
+ $s = -1;
+
+ while ($s * self::pchisq($max, $degrees) > $probability * $s) {
+ $min = $max;
+ $max += 2 * $sd;
+ }
+
+ // Find root using bisection
+ $chi2 = 0.5 * ($min + $max);
+
+ while (($max - $min) > self::EPS * $chi2) {
+ if ($s * self::pchisq($chi2, $degrees) > $probability * $s) {
+ $min = $chi2;
+ } else {
+ $max = $chi2;
+ }
+ $chi2 = 0.5 * ($min + $max);
+ }
+
+ return $chi2;
+ }
+
+ private static function pchisq(float $chi2, int $degrees): float
+ {
+ return self::gammp($degrees, 0.5 * $chi2);
+ }
+
+ private static function gammp(int $n, float $x): float
+ {
+ if ($x < 0.5 * $n + 1) {
+ return self::gser($n, $x);
+ }
+
+ return 1 - self::gcf($n, $x);
+ }
+
+ // Return the incomplete gamma function P(n/2,x) evaluated by
+ // series representation. Algorithm from numerical recipe.
+ // Assume that n is a positive integer and x>0, won't check arguments.
+ // Relative error controlled by the eps parameter
+ private static function gser(int $n, float $x): float
+ {
+ /** @var float */
+ $gln = Gamma::ln($n / 2);
+ $a = 0.5 * $n;
+ $ap = $a;
+ $sum = 1.0 / $a;
+ $del = $sum;
+ for ($i = 1; $i < 101; ++$i) {
+ ++$ap;
+ $del = $del * $x / $ap;
+ $sum += $del;
+ if ($del < $sum * self::EPS) {
+ break;
+ }
+ }
+
+ return $sum * exp(-$x + $a * log($x) - $gln);
+ }
+
+ // Return the incomplete gamma function Q(n/2,x) evaluated by
+ // its continued fraction representation. Algorithm from numerical recipe.
+ // Assume that n is a postive integer and x>0, won't check arguments.
+ // Relative error controlled by the eps parameter
+ private static function gcf(int $n, float $x): float
+ {
+ /** @var float */
+ $gln = Gamma::ln($n / 2);
+ $a = 0.5 * $n;
+ $b = $x + 1 - $a;
+ $fpmin = 1.e-300;
+ $c = 1 / $fpmin;
+ $d = 1 / $b;
+ $h = $d;
+ for ($i = 1; $i < 101; ++$i) {
+ $an = -$i * ($i - $a);
+ $b += 2;
+ $d = $an * $d + $b;
+ if (abs($d) < $fpmin) {
+ $d = $fpmin;
+ }
+ $c = $b + $an / $c;
+ if (abs($c) < $fpmin) {
+ $c = $fpmin;
+ }
+ $d = 1 / $d;
+ $del = $d * $c;
+ $h = $h * $del;
+ if (abs($del - 1) < self::EPS) {
+ break;
+ }
+ }
+
+ return $h * exp(-$x + $a * log($x) - $gln);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/DistributionValidations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/DistributionValidations.php
new file mode 100644
index 0000000..61c62f6
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/DistributionValidations.php
@@ -0,0 +1,21 @@
+ 1.0) {
+ throw new Exception(ExcelError::NAN());
+ }
+
+ return $probability;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php
new file mode 100644
index 0000000..ba56848
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Exponential.php
@@ -0,0 +1,55 @@
+getMessage();
+ }
+
+ if (($value < 0) || ($lambda < 0)) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative === true) {
+ return 1 - exp(0 - $value * $lambda);
+ }
+
+ return $lambda * exp(0 - $value * $lambda);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php
new file mode 100644
index 0000000..2b2bd43
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php
@@ -0,0 +1,64 @@
+getMessage();
+ }
+
+ if ($value < 0 || $u < 1 || $v < 1) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative) {
+ $adjustedValue = ($u * $value) / ($u * $value + $v);
+
+ return Beta::incompleteBeta($adjustedValue, $u / 2, $v / 2);
+ }
+
+ return (Gamma::gammaValue(($v + $u) / 2)
+ / (Gamma::gammaValue($u / 2) * Gamma::gammaValue($v / 2)))
+ * (($u / $v) ** ($u / 2))
+ * (($value ** (($u - 2) / 2)) / ((1 + ($u / $v) * $value) ** (($u + $v) / 2)));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php
new file mode 100644
index 0000000..2f494bc
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php
@@ -0,0 +1,74 @@
+getMessage();
+ }
+
+ if (($value <= -1) || ($value >= 1)) {
+ return ExcelError::NAN();
+ }
+
+ return 0.5 * log((1 + $value) / (1 - $value));
+ }
+
+ /**
+ * FISHERINV.
+ *
+ * Returns the inverse of the Fisher transformation. Use this transformation when
+ * analyzing correlations between ranges or arrays of data. If y = FISHER(x), then
+ * FISHERINV(y) = x.
+ *
+ * @param mixed $probability Float probability at which you want to evaluate the distribution
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverse(mixed $probability): array|string|float
+ {
+ if (is_array($probability)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $probability);
+ }
+
+ try {
+ DistributionValidations::validateFloat($probability);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ return (exp(2 * $probability) - 1) / (exp(2 * $probability) + 1);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php
new file mode 100644
index 0000000..58986c1
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Gamma.php
@@ -0,0 +1,151 @@
+getMessage();
+ }
+
+ if ((((int) $value) == ((float) $value)) && $value <= 0.0) {
+ return ExcelError::NAN();
+ }
+
+ return self::gammaValue($value);
+ }
+
+ /**
+ * GAMMADIST.
+ *
+ * Returns the gamma distribution.
+ *
+ * @param mixed $value Float Value at which you want to evaluate the distribution
+ * Or can be an array of values
+ * @param mixed $a Parameter to the distribution as a float
+ * Or can be an array of values
+ * @param mixed $b Parameter to the distribution as a float
+ * Or can be an array of values
+ * @param mixed $cumulative Boolean value indicating if we want the cdf (true) or the pdf (false)
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function distribution(mixed $value, mixed $a, mixed $b, mixed $cumulative)
+ {
+ if (is_array($value) || is_array($a) || is_array($b) || is_array($cumulative)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $a, $b, $cumulative);
+ }
+
+ try {
+ $value = DistributionValidations::validateFloat($value);
+ $a = DistributionValidations::validateFloat($a);
+ $b = DistributionValidations::validateFloat($b);
+ $cumulative = DistributionValidations::validateBool($cumulative);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (($value < 0) || ($a <= 0) || ($b <= 0)) {
+ return ExcelError::NAN();
+ }
+
+ return self::calculateDistribution($value, $a, $b, $cumulative);
+ }
+
+ /**
+ * GAMMAINV.
+ *
+ * Returns the inverse of the Gamma distribution.
+ *
+ * @param mixed $probability Float probability at which you want to evaluate the distribution
+ * Or can be an array of values
+ * @param mixed $alpha Parameter to the distribution as a float
+ * Or can be an array of values
+ * @param mixed $beta Parameter to the distribution as a float
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverse(mixed $probability, mixed $alpha, mixed $beta)
+ {
+ if (is_array($probability) || is_array($alpha) || is_array($beta)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $alpha, $beta);
+ }
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $alpha = DistributionValidations::validateFloat($alpha);
+ $beta = DistributionValidations::validateFloat($beta);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (($alpha <= 0.0) || ($beta <= 0.0)) {
+ return ExcelError::NAN();
+ }
+
+ return self::calculateInverse($probability, $alpha, $beta);
+ }
+
+ /**
+ * GAMMALN.
+ *
+ * Returns the natural logarithm of the gamma function.
+ *
+ * @param mixed $value Float Value at which you want to evaluate the distribution
+ * Or can be an array of values
+ *
+ * @return array|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function ln(mixed $value): array|string|float
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ try {
+ $value = DistributionValidations::validateFloat($value);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($value <= 0) {
+ return ExcelError::NAN();
+ }
+
+ return log(self::gammaValue($value));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php
new file mode 100644
index 0000000..f199bbf
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/GammaBase.php
@@ -0,0 +1,390 @@
+ Functions::PRECISION) && (++$i <= self::MAX_ITERATIONS)) {
+ // Apply Newton-Raphson step
+ $result = self::calculateDistribution($x, $alpha, $beta, true);
+ if (!is_float($result)) {
+ return ExcelError::NA();
+ }
+ $error = $result - $probability;
+
+ if ($error == 0.0) {
+ $dx = 0;
+ } elseif ($error < 0.0) {
+ $xLo = $x;
+ } else {
+ $xHi = $x;
+ }
+
+ $pdf = self::calculateDistribution($x, $alpha, $beta, false);
+ // Avoid division by zero
+ if (!is_float($pdf)) {
+ return ExcelError::NA();
+ }
+ if ($pdf !== 0.0) {
+ $dx = $error / $pdf;
+ $xNew = $x - $dx;
+ }
+
+ // If the NR fails to converge (which for example may be the
+ // case if the initial guess is too rough) we apply a bisection
+ // step to determine a more narrow interval around the root.
+ if (($xNew < $xLo) || ($xNew > $xHi) || ($pdf == 0.0)) {
+ $xNew = ($xLo + $xHi) / 2;
+ $dx = $xNew - $x;
+ }
+ $x = $xNew;
+ }
+
+ if ($i === self::MAX_ITERATIONS) {
+ return ExcelError::NA();
+ }
+
+ return $x;
+ }
+
+ //
+ // Implementation of the incomplete Gamma function
+ //
+ public static function incompleteGamma(float $a, float $x): float
+ {
+ static $max = 32;
+ $summer = 0;
+ for ($n = 0; $n <= $max; ++$n) {
+ $divisor = $a;
+ for ($i = 1; $i <= $n; ++$i) {
+ $divisor *= ($a + $i);
+ }
+ $summer += ($x ** $n / $divisor);
+ }
+
+ return $x ** $a * exp(0 - $x) * $summer;
+ }
+
+ //
+ // Implementation of the Gamma function
+ //
+ public static function gammaValue(float $value): float
+ {
+ if ($value == 0.0) {
+ return 0;
+ }
+
+ static $p0 = 1.000000000190015;
+ static $p = [
+ 1 => 76.18009172947146,
+ 2 => -86.50532032941677,
+ 3 => 24.01409824083091,
+ 4 => -1.231739572450155,
+ 5 => 1.208650973866179e-3,
+ 6 => -5.395239384953e-6,
+ ];
+
+ $y = $x = $value;
+ $tmp = $x + 5.5;
+ $tmp -= ($x + 0.5) * log($tmp);
+
+ $summer = $p0;
+ for ($j = 1; $j <= 6; ++$j) {
+ $summer += ($p[$j] / ++$y);
+ }
+
+ return exp(0 - $tmp + log(self::SQRT2PI * $summer / $x));
+ }
+
+ private const LG_D1 = -0.5772156649015328605195174;
+
+ private const LG_D2 = 0.4227843350984671393993777;
+
+ private const LG_D4 = 1.791759469228055000094023;
+
+ private const LG_P1 = [
+ 4.945235359296727046734888,
+ 201.8112620856775083915565,
+ 2290.838373831346393026739,
+ 11319.67205903380828685045,
+ 28557.24635671635335736389,
+ 38484.96228443793359990269,
+ 26377.48787624195437963534,
+ 7225.813979700288197698961,
+ ];
+
+ private const LG_P2 = [
+ 4.974607845568932035012064,
+ 542.4138599891070494101986,
+ 15506.93864978364947665077,
+ 184793.2904445632425417223,
+ 1088204.76946882876749847,
+ 3338152.967987029735917223,
+ 5106661.678927352456275255,
+ 3074109.054850539556250927,
+ ];
+
+ private const LG_P4 = [
+ 14745.02166059939948905062,
+ 2426813.369486704502836312,
+ 121475557.4045093227939592,
+ 2663432449.630976949898078,
+ 29403789566.34553899906876,
+ 170266573776.5398868392998,
+ 492612579337.743088758812,
+ 560625185622.3951465078242,
+ ];
+
+ private const LG_Q1 = [
+ 67.48212550303777196073036,
+ 1113.332393857199323513008,
+ 7738.757056935398733233834,
+ 27639.87074403340708898585,
+ 54993.10206226157329794414,
+ 61611.22180066002127833352,
+ 36351.27591501940507276287,
+ 8785.536302431013170870835,
+ ];
+
+ private const LG_Q2 = [
+ 183.0328399370592604055942,
+ 7765.049321445005871323047,
+ 133190.3827966074194402448,
+ 1136705.821321969608938755,
+ 5267964.117437946917577538,
+ 13467014.54311101692290052,
+ 17827365.30353274213975932,
+ 9533095.591844353613395747,
+ ];
+
+ private const LG_Q4 = [
+ 2690.530175870899333379843,
+ 639388.5654300092398984238,
+ 41355999.30241388052042842,
+ 1120872109.61614794137657,
+ 14886137286.78813811542398,
+ 101680358627.2438228077304,
+ 341747634550.7377132798597,
+ 446315818741.9713286462081,
+ ];
+
+ private const LG_C = [
+ -0.001910444077728,
+ 8.4171387781295e-4,
+ -5.952379913043012e-4,
+ 7.93650793500350248e-4,
+ -0.002777777777777681622553,
+ 0.08333333333333333331554247,
+ 0.0057083835261,
+ ];
+
+ // Rough estimate of the fourth root of logGamma_xBig
+ private const LG_FRTBIG = 2.25e76;
+
+ private const PNT68 = 0.6796875;
+
+ // Function cache for logGamma
+ /** @var float */
+ private static $logGammaCacheResult = 0.0;
+
+ /** @var float */
+ private static $logGammaCacheX = 0.0;
+
+ /**
+ * logGamma function.
+ *
+ * Original author was Jaco van Kooten. Ported to PHP by Paul Meagher.
+ *
+ * The natural logarithm of the gamma function.
+ * Based on public domain NETLIB (Fortran) code by W. J. Cody and L. Stoltz
+ * Applied Mathematics Division
+ * Argonne National Laboratory
+ * Argonne, IL 60439
+ *
+ * References:
+ *
+ * W. J. Cody and K. E. Hillstrom, 'Chebyshev Approximations for the Natural
+ * Logarithm of the Gamma Function,' Math. Comp. 21, 1967, pp. 198-203.
+ * K. E. Hillstrom, ANL/AMD Program ANLC366S, DGAMMA/DLGAMA, May, 1969.
+ * Hart, Et. Al., Computer Approximations, Wiley and sons, New York, 1968.
+ *
+ *
+ *
+ * From the original documentation:
+ *
+ *
+ * This routine calculates the LOG(GAMMA) function for a positive real argument X.
+ * Computation is based on an algorithm outlined in references 1 and 2.
+ * The program uses rational functions that theoretically approximate LOG(GAMMA)
+ * to at least 18 significant decimal digits. The approximation for X > 12 is from
+ * reference 3, while approximations for X < 12.0 are similar to those in reference
+ * 1, but are unpublished. The accuracy achieved depends on the arithmetic system,
+ * the compiler, the intrinsic functions, and proper selection of the
+ * machine-dependent constants.
+ *
+ *
+ * Error returns:
+ * The program returns the value XINF for X .LE. 0.0 or when overflow would occur.
+ * The computation is believed to be free of underflow and overflow.
+ *
+ *
+ * @version 1.1
+ *
+ * @author Jaco van Kooten
+ *
+ * @return float MAX_VALUE for x < 0.0 or when overflow would occur, i.e. x > 2.55E305
+ */
+ public static function logGamma(float $x): float
+ {
+ if ($x == self::$logGammaCacheX) {
+ return self::$logGammaCacheResult;
+ }
+
+ $y = $x;
+ if ($y > 0.0 && $y <= self::LOG_GAMMA_X_MAX_VALUE) {
+ if ($y <= self::EPS) {
+ $res = -log($y);
+ } elseif ($y <= 1.5) {
+ $res = self::logGamma1($y);
+ } elseif ($y <= 4.0) {
+ $res = self::logGamma2($y);
+ } elseif ($y <= 12.0) {
+ $res = self::logGamma3($y);
+ } else {
+ $res = self::logGamma4($y);
+ }
+ } else {
+ // --------------------------
+ // Return for bad arguments
+ // --------------------------
+ $res = self::MAX_VALUE;
+ }
+
+ // ------------------------------
+ // Final adjustments and return
+ // ------------------------------
+ self::$logGammaCacheX = $x;
+ self::$logGammaCacheResult = $res;
+
+ return $res;
+ }
+
+ private static function logGamma1(float $y): float
+ {
+ // ---------------------
+ // EPS .LT. X .LE. 1.5
+ // ---------------------
+ if ($y < self::PNT68) {
+ $corr = -log($y);
+ $xm1 = $y;
+ } else {
+ $corr = 0.0;
+ $xm1 = $y - 1.0;
+ }
+
+ $xden = 1.0;
+ $xnum = 0.0;
+ if ($y <= 0.5 || $y >= self::PNT68) {
+ for ($i = 0; $i < 8; ++$i) {
+ $xnum = $xnum * $xm1 + self::LG_P1[$i];
+ $xden = $xden * $xm1 + self::LG_Q1[$i];
+ }
+
+ return $corr + $xm1 * (self::LG_D1 + $xm1 * ($xnum / $xden));
+ }
+
+ $xm2 = $y - 1.0;
+ for ($i = 0; $i < 8; ++$i) {
+ $xnum = $xnum * $xm2 + self::LG_P2[$i];
+ $xden = $xden * $xm2 + self::LG_Q2[$i];
+ }
+
+ return $corr + $xm2 * (self::LG_D2 + $xm2 * ($xnum / $xden));
+ }
+
+ private static function logGamma2(float $y): float
+ {
+ // ---------------------
+ // 1.5 .LT. X .LE. 4.0
+ // ---------------------
+ $xm2 = $y - 2.0;
+ $xden = 1.0;
+ $xnum = 0.0;
+ for ($i = 0; $i < 8; ++$i) {
+ $xnum = $xnum * $xm2 + self::LG_P2[$i];
+ $xden = $xden * $xm2 + self::LG_Q2[$i];
+ }
+
+ return $xm2 * (self::LG_D2 + $xm2 * ($xnum / $xden));
+ }
+
+ protected static function logGamma3(float $y): float
+ {
+ // ----------------------
+ // 4.0 .LT. X .LE. 12.0
+ // ----------------------
+ $xm4 = $y - 4.0;
+ $xden = -1.0;
+ $xnum = 0.0;
+ for ($i = 0; $i < 8; ++$i) {
+ $xnum = $xnum * $xm4 + self::LG_P4[$i];
+ $xden = $xden * $xm4 + self::LG_Q4[$i];
+ }
+
+ return self::LG_D4 + $xm4 * ($xnum / $xden);
+ }
+
+ protected static function logGamma4(float $y): float
+ {
+ // ---------------------------------
+ // Evaluate for argument .GE. 12.0
+ // ---------------------------------
+ $res = 0.0;
+ if ($y <= self::LG_FRTBIG) {
+ $res = self::LG_C[6];
+ $ysq = $y * $y;
+ for ($i = 0; $i < 6; ++$i) {
+ $res = $res / $ysq + self::LG_C[$i];
+ }
+ $res /= $y;
+ $corr = log($y);
+ $res = $res + log(self::SQRT2PI) - 0.5 * $corr;
+ $res += $y * ($corr - 1.0);
+ }
+
+ return $res;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/HyperGeometric.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/HyperGeometric.php
new file mode 100644
index 0000000..6e072c5
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/HyperGeometric.php
@@ -0,0 +1,76 @@
+getMessage();
+ }
+
+ if (($sampleSuccesses < 0) || ($sampleSuccesses > $sampleNumber) || ($sampleSuccesses > $populationSuccesses)) {
+ return ExcelError::NAN();
+ }
+ if (($sampleNumber <= 0) || ($sampleNumber > $populationNumber)) {
+ return ExcelError::NAN();
+ }
+ if (($populationSuccesses <= 0) || ($populationSuccesses > $populationNumber)) {
+ return ExcelError::NAN();
+ }
+
+ $successesPopulationAndSample = (float) Combinations::withoutRepetition($populationSuccesses, $sampleSuccesses);
+ $numbersPopulationAndSample = (float) Combinations::withoutRepetition($populationNumber, $sampleNumber);
+ $adjustedPopulationAndSample = (float) Combinations::withoutRepetition(
+ $populationNumber - $populationSuccesses,
+ $sampleNumber - $sampleSuccesses
+ );
+
+ return $successesPopulationAndSample * $adjustedPopulationAndSample / $numbersPopulationAndSample;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php
new file mode 100644
index 0000000..3fbdf0f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php
@@ -0,0 +1,139 @@
+getMessage();
+ }
+
+ if (($value <= 0) || ($stdDev <= 0)) {
+ return ExcelError::NAN();
+ }
+
+ return StandardNormal::cumulative((log($value) - $mean) / $stdDev);
+ }
+
+ /**
+ * LOGNORM.DIST.
+ *
+ * Returns the lognormal distribution of x, where ln(x) is normally distributed
+ * with parameters mean and standard_dev.
+ *
+ * @param mixed $value Float value for which we want the probability
+ * Or can be an array of values
+ * @param mixed $mean Mean value as a float
+ * Or can be an array of values
+ * @param mixed $stdDev Standard Deviation as a float
+ * Or can be an array of values
+ * @param mixed $cumulative Boolean value indicating if we want the cdf (true) or the pdf (false)
+ * Or can be an array of values
+ *
+ * @return array|float|string The result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function distribution(mixed $value, mixed $mean, mixed $stdDev, mixed $cumulative = false)
+ {
+ if (is_array($value) || is_array($mean) || is_array($stdDev) || is_array($cumulative)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $mean, $stdDev, $cumulative);
+ }
+
+ try {
+ $value = DistributionValidations::validateFloat($value);
+ $mean = DistributionValidations::validateFloat($mean);
+ $stdDev = DistributionValidations::validateFloat($stdDev);
+ $cumulative = DistributionValidations::validateBool($cumulative);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if (($value <= 0) || ($stdDev <= 0)) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative === true) {
+ return StandardNormal::distribution((log($value) - $mean) / $stdDev, true);
+ }
+
+ return (1 / (sqrt(2 * M_PI) * $stdDev * $value))
+ * exp(0 - ((log($value) - $mean) ** 2 / (2 * $stdDev ** 2)));
+ }
+
+ /**
+ * LOGINV.
+ *
+ * Returns the inverse of the lognormal cumulative distribution
+ *
+ * @param mixed $probability Float probability for which we want the value
+ * Or can be an array of values
+ * @param mixed $mean Mean Value as a float
+ * Or can be an array of values
+ * @param mixed $stdDev Standard Deviation as a float
+ * Or can be an array of values
+ *
+ * @return array|float|string The result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ *
+ * @TODO Try implementing P J Acklam's refinement algorithm for greater
+ * accuracy if I can get my head round the mathematics
+ * (as described at) http://home.online.no/~pjacklam/notes/invnorm/
+ */
+ public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array|string|float
+ {
+ if (is_array($probability) || is_array($mean) || is_array($stdDev)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $mean, $stdDev);
+ }
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $mean = DistributionValidations::validateFloat($mean);
+ $stdDev = DistributionValidations::validateFloat($stdDev);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($stdDev <= 0) {
+ return ExcelError::NAN();
+ }
+ /** @var float */
+ $inverse = StandardNormal::inverse($probability);
+
+ return exp($mean + $stdDev * $inverse);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/NewtonRaphson.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/NewtonRaphson.php
new file mode 100644
index 0000000..d1727f4
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/NewtonRaphson.php
@@ -0,0 +1,65 @@
+callback = $callback;
+ }
+
+ /** @return float|string */
+ public function execute(float $probability): string|int|float
+ {
+ $xLo = 100;
+ $xHi = 0;
+
+ $dx = 1;
+ $x = $xNew = 1;
+ $i = 0;
+
+ while ((abs($dx) > Functions::PRECISION) && ($i++ < self::MAX_ITERATIONS)) {
+ // Apply Newton-Raphson step
+ $result = call_user_func($this->callback, $x);
+ $error = $result - $probability;
+
+ if ($error == 0.0) {
+ $dx = 0;
+ } elseif ($error < 0.0) {
+ $xLo = $x;
+ } else {
+ $xHi = $x;
+ }
+
+ // Avoid division by zero
+ if ($result != 0.0) {
+ $dx = $error / $result;
+ $xNew = $x - $dx;
+ }
+
+ // If the NR fails to converge (which for example may be the
+ // case if the initial guess is too rough) we apply a bisection
+ // step to determine a more narrow interval around the root.
+ if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) {
+ $xNew = ($xLo + $xHi) / 2;
+ $dx = $xNew - $x;
+ }
+ $x = $xNew;
+ }
+
+ if ($i == self::MAX_ITERATIONS) {
+ return ExcelError::NA();
+ }
+
+ return $x;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php
new file mode 100644
index 0000000..8d08d57
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php
@@ -0,0 +1,180 @@
+getMessage();
+ }
+
+ if ($stdDev < 0) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative) {
+ return 0.5 * (1 + Engineering\Erf::erfValue(($value - $mean) / ($stdDev * sqrt(2))));
+ }
+
+ return (1 / (self::SQRT2PI * $stdDev)) * exp(0 - (($value - $mean) ** 2 / (2 * ($stdDev * $stdDev))));
+ }
+
+ /**
+ * NORMINV.
+ *
+ * Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.
+ *
+ * @param mixed $probability Float probability for which we want the value
+ * Or can be an array of values
+ * @param mixed $mean Mean Value as a float
+ * Or can be an array of values
+ * @param mixed $stdDev Standard Deviation as a float
+ * Or can be an array of values
+ *
+ * @return array|float|string The result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array|string|float
+ {
+ if (is_array($probability) || is_array($mean) || is_array($stdDev)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $mean, $stdDev);
+ }
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $mean = DistributionValidations::validateFloat($mean);
+ $stdDev = DistributionValidations::validateFloat($stdDev);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($stdDev < 0) {
+ return ExcelError::NAN();
+ }
+
+ return (self::inverseNcdf($probability) * $stdDev) + $mean;
+ }
+
+ /*
+ * inverse_ncdf.php
+ * -------------------
+ * begin : Friday, January 16, 2004
+ * copyright : (C) 2004 Michael Nickerson
+ * email : nickersonm@yahoo.com
+ *
+ */
+ private static function inverseNcdf(float $p): float
+ {
+ // Inverse ncdf approximation by Peter J. Acklam, implementation adapted to
+ // PHP by Michael Nickerson, using Dr. Thomas Ziegler's C implementation as
+ // a guide. http://home.online.no/~pjacklam/notes/invnorm/index.html
+ // I have not checked the accuracy of this implementation. Be aware that PHP
+ // will truncate the coeficcients to 14 digits.
+
+ // You have permission to use and distribute this function freely for
+ // whatever purpose you want, but please show common courtesy and give credit
+ // where credit is due.
+
+ // Input paramater is $p - probability - where 0 < p < 1.
+
+ // Coefficients in rational approximations
+ static $a = [
+ 1 => -3.969683028665376e+01,
+ 2 => 2.209460984245205e+02,
+ 3 => -2.759285104469687e+02,
+ 4 => 1.383577518672690e+02,
+ 5 => -3.066479806614716e+01,
+ 6 => 2.506628277459239e+00,
+ ];
+
+ static $b = [
+ 1 => -5.447609879822406e+01,
+ 2 => 1.615858368580409e+02,
+ 3 => -1.556989798598866e+02,
+ 4 => 6.680131188771972e+01,
+ 5 => -1.328068155288572e+01,
+ ];
+
+ static $c = [
+ 1 => -7.784894002430293e-03,
+ 2 => -3.223964580411365e-01,
+ 3 => -2.400758277161838e+00,
+ 4 => -2.549732539343734e+00,
+ 5 => 4.374664141464968e+00,
+ 6 => 2.938163982698783e+00,
+ ];
+
+ static $d = [
+ 1 => 7.784695709041462e-03,
+ 2 => 3.224671290700398e-01,
+ 3 => 2.445134137142996e+00,
+ 4 => 3.754408661907416e+00,
+ ];
+
+ // Define lower and upper region break-points.
+ $p_low = 0.02425; //Use lower region approx. below this
+ $p_high = 1 - $p_low; //Use upper region approx. above this
+
+ if (0 < $p && $p < $p_low) {
+ // Rational approximation for lower region.
+ $q = sqrt(-2 * log($p));
+
+ return ((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6])
+ / (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1);
+ } elseif ($p_high < $p && $p < 1) {
+ // Rational approximation for upper region.
+ $q = sqrt(-2 * log(1 - $p));
+
+ return -((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6])
+ / (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1);
+ }
+
+ // Rational approximation for central region.
+ $q = $p - 0.5;
+ $r = $q * $q;
+
+ return ((((($a[1] * $r + $a[2]) * $r + $a[3]) * $r + $a[4]) * $r + $a[5]) * $r + $a[6]) * $q
+ / ((((($b[1] * $r + $b[2]) * $r + $b[3]) * $r + $b[4]) * $r + $b[5]) * $r + 1);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.php
new file mode 100644
index 0000000..b5727f7
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Poisson.php
@@ -0,0 +1,66 @@
+getMessage();
+ }
+
+ if (($value < 0) || ($mean < 0)) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative) {
+ $summer = 0;
+ $floor = floor($value);
+ for ($i = 0; $i <= $floor; ++$i) {
+ /** @var float */
+ $fact = MathTrig\Factorial::fact($i);
+ $summer += $mean ** $i / $fact;
+ }
+
+ return exp(0 - $mean) * $summer;
+ }
+ /** @var float */
+ $fact = MathTrig\Factorial::fact($value);
+
+ return (exp(0 - $mean) * $mean ** $value) / $fact;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/StandardNormal.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/StandardNormal.php
new file mode 100644
index 0000000..b7995d4
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/StandardNormal.php
@@ -0,0 +1,159 @@
+getMessage();
+ }
+
+ if (($value < 0) || ($degrees < 1) || ($tails < 1) || ($tails > 2)) {
+ return ExcelError::NAN();
+ }
+
+ return self::calculateDistribution($value, $degrees, $tails);
+ }
+
+ /**
+ * TINV.
+ *
+ * Returns the one-tailed probability of the chi-squared distribution.
+ *
+ * @param mixed $probability Float probability for the function
+ * Or can be an array of values
+ * @param mixed $degrees Integer value for degrees of freedom
+ * Or can be an array of values
+ *
+ * @return array|float|string The result, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function inverse(mixed $probability, mixed $degrees)
+ {
+ if (is_array($probability) || is_array($degrees)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $degrees);
+ }
+
+ try {
+ $probability = DistributionValidations::validateProbability($probability);
+ $degrees = DistributionValidations::validateInt($degrees);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($degrees <= 0) {
+ return ExcelError::NAN();
+ }
+
+ $callback = fn ($value) => self::distribution($value, $degrees, 2);
+
+ $newtonRaphson = new NewtonRaphson($callback);
+
+ return $newtonRaphson->execute($probability);
+ }
+
+ private static function calculateDistribution(float $value, int $degrees, int $tails): float
+ {
+ // tdist, which finds the probability that corresponds to a given value
+ // of t with k degrees of freedom. This algorithm is translated from a
+ // pascal function on p81 of "Statistical Computing in Pascal" by D
+ // Cooke, A H Craven & G M Clark (1985: Edward Arnold (Pubs.) Ltd:
+ // London). The above Pascal algorithm is itself a translation of the
+ // fortran algoritm "AS 3" by B E Cooper of the Atlas Computer
+ // Laboratory as reported in (among other places) "Applied Statistics
+ // Algorithms", editied by P Griffiths and I D Hill (1985; Ellis
+ // Horwood Ltd.; W. Sussex, England).
+ $tterm = $degrees;
+ $ttheta = atan2($value, sqrt($tterm));
+ $tc = cos($ttheta);
+ $ts = sin($ttheta);
+
+ if (($degrees % 2) === 1) {
+ $ti = 3;
+ $tterm = $tc;
+ } else {
+ $ti = 2;
+ $tterm = 1;
+ }
+
+ $tsum = $tterm;
+ while ($ti < $degrees) {
+ $tterm *= $tc * $tc * ($ti - 1) / $ti;
+ $tsum += $tterm;
+ $ti += 2;
+ }
+
+ $tsum *= $ts;
+ if (($degrees % 2) == 1) {
+ $tsum = Functions::M_2DIVPI * ($tsum + $ttheta);
+ }
+
+ $tValue = 0.5 * (1 + $tsum);
+ if ($tails == 1) {
+ return 1 - abs($tValue);
+ }
+
+ return 1 - abs((1 - $tValue) - $tValue);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php
new file mode 100644
index 0000000..2f20b62
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php
@@ -0,0 +1,57 @@
+getMessage();
+ }
+
+ if (($value < 0) || ($alpha <= 0) || ($beta <= 0)) {
+ return ExcelError::NAN();
+ }
+
+ if ($cumulative) {
+ return 1 - exp(0 - ($value / $beta) ** $alpha);
+ }
+
+ return ($alpha / $beta ** $alpha) * $value ** ($alpha - 1) * exp(0 - ($value / $beta) ** $alpha);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/MaxMinBase.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/MaxMinBase.php
new file mode 100644
index 0000000..ba5482f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/MaxMinBase.php
@@ -0,0 +1,20 @@
+ $returnValue)) {
+ $returnValue = $arg;
+ }
+ }
+ }
+
+ if ($returnValue === null) {
+ return 0;
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * MAXA.
+ *
+ * Returns the greatest value in a list of arguments, including numbers, text, and logical values
+ *
+ * Excel Function:
+ * MAXA(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float
+ */
+ public static function maxA(mixed ...$args)
+ {
+ $returnValue = null;
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArray($args);
+ foreach ($aArgs as $arg) {
+ if (ErrorValue::isError($arg)) {
+ $returnValue = $arg;
+
+ break;
+ }
+ // Is it a numeric value?
+ if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {
+ $arg = self::datatypeAdjustmentAllowStrings($arg);
+ if (($returnValue === null) || ($arg > $returnValue)) {
+ $returnValue = $arg;
+ }
+ }
+ }
+
+ if ($returnValue === null) {
+ return 0;
+ }
+
+ return $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Minimum.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Minimum.php
new file mode 100644
index 0000000..7ec013f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Minimum.php
@@ -0,0 +1,89 @@
+getMessage();
+ }
+
+ if (($entry < 0) || ($entry > 1)) {
+ return ExcelError::NAN();
+ }
+
+ $mArgs = self::percentileFilterValues($aArgs);
+ $mValueCount = count($mArgs);
+ if ($mValueCount > 0) {
+ sort($mArgs);
+ $count = Counts::COUNT($mArgs);
+ $index = $entry * ($count - 1);
+ $iBase = floor($index);
+ if ($index == $iBase) {
+ return $mArgs[$index];
+ }
+ $iNext = $iBase + 1;
+ $iProportion = $index - $iBase;
+
+ return $mArgs[$iBase] + (($mArgs[$iNext] - $mArgs[$iBase]) * $iProportion);
+ }
+
+ return ExcelError::NAN();
+ }
+
+ /**
+ * PERCENTRANK.
+ *
+ * Returns the rank of a value in a data set as a percentage of the data set.
+ * Note that the returned rank is simply rounded to the appropriate significant digits,
+ * rather than floored (as MS Excel), so value 3 for a value set of 1, 2, 3, 4 will return
+ * 0.667 rather than 0.666
+ *
+ * @param mixed $valueSet An array of (float) values, or a reference to, a list of numbers
+ * @param mixed $value The number whose rank you want to find
+ * @param mixed $significance The (integer) number of significant digits for the returned percentage value
+ *
+ * @return float|string (string if result is an error)
+ */
+ public static function PERCENTRANK(mixed $valueSet, mixed $value, mixed $significance = 3): string|float
+ {
+ $valueSet = Functions::flattenArray($valueSet);
+ $value = Functions::flattenSingleValue($value);
+ $significance = ($significance === null) ? 3 : Functions::flattenSingleValue($significance);
+
+ try {
+ $value = StatisticalValidations::validateFloat($value);
+ $significance = StatisticalValidations::validateInt($significance);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $valueSet = self::rankFilterValues($valueSet);
+ $valueCount = count($valueSet);
+ if ($valueCount == 0) {
+ return ExcelError::NA();
+ }
+ sort($valueSet, SORT_NUMERIC);
+
+ $valueAdjustor = $valueCount - 1;
+ if (($value < $valueSet[0]) || ($value > $valueSet[$valueAdjustor])) {
+ return ExcelError::NA();
+ }
+
+ $pos = array_search($value, $valueSet);
+ if ($pos === false) {
+ $pos = 0;
+ $testValue = $valueSet[0];
+ while ($testValue < $value) {
+ $testValue = $valueSet[++$pos];
+ }
+ --$pos;
+ $pos += (($value - $valueSet[$pos]) / ($testValue - $valueSet[$pos]));
+ }
+
+ return round(((float) $pos) / $valueAdjustor, $significance);
+ }
+
+ /**
+ * QUARTILE.
+ *
+ * Returns the quartile of a data set.
+ *
+ * Excel Function:
+ * QUARTILE(value1[,value2[, ...]],entry)
+ *
+ * @param mixed $args Data values
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function QUARTILE(mixed ...$args)
+ {
+ $aArgs = Functions::flattenArray($args);
+ $entry = array_pop($aArgs);
+
+ try {
+ $entry = StatisticalValidations::validateFloat($entry);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $entry = floor($entry);
+ $entry /= 4;
+ if (($entry < 0) || ($entry > 1)) {
+ return ExcelError::NAN();
+ }
+
+ return self::PERCENTILE($aArgs, $entry);
+ }
+
+ /**
+ * RANK.
+ *
+ * Returns the rank of a number in a list of numbers.
+ *
+ * @param mixed $value The number whose rank you want to find
+ * @param mixed $valueSet An array of float values, or a reference to, a list of numbers
+ * @param mixed $order Order to sort the values in the value set
+ *
+ * @return float|string The result, or a string containing an error (0 = Descending, 1 = Ascending)
+ */
+ public static function RANK(mixed $value, mixed $valueSet, mixed $order = self::RANK_SORT_DESCENDING)
+ {
+ $value = Functions::flattenSingleValue($value);
+ $valueSet = Functions::flattenArray($valueSet);
+ $order = ($order === null) ? self::RANK_SORT_DESCENDING : Functions::flattenSingleValue($order);
+
+ try {
+ $value = StatisticalValidations::validateFloat($value);
+ $order = StatisticalValidations::validateInt($order);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $valueSet = self::rankFilterValues($valueSet);
+ if ($order === self::RANK_SORT_DESCENDING) {
+ rsort($valueSet, SORT_NUMERIC);
+ } else {
+ sort($valueSet, SORT_NUMERIC);
+ }
+
+ $pos = array_search($value, $valueSet);
+ if ($pos === false) {
+ return ExcelError::NA();
+ }
+
+ return ++$pos;
+ }
+
+ protected static function percentileFilterValues(array $dataSet): array
+ {
+ return array_filter(
+ $dataSet,
+ fn ($value): bool => is_numeric($value) && !is_string($value)
+ );
+ }
+
+ protected static function rankFilterValues(array $dataSet): array
+ {
+ return array_filter(
+ $dataSet,
+ fn ($value): bool => is_numeric($value)
+ );
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Permutations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Permutations.php
new file mode 100644
index 0000000..41f641f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Permutations.php
@@ -0,0 +1,99 @@
+getMessage();
+ }
+
+ if ($numObjs < $numInSet) {
+ return ExcelError::NAN();
+ }
+ $result1 = MathTrig\Factorial::fact($numObjs);
+ if (is_string($result1)) {
+ return $result1;
+ }
+ $result2 = MathTrig\Factorial::fact($numObjs - $numInSet);
+ if (is_string($result2)) {
+ return $result2;
+ }
+ // phpstan thinks result1 and result2 can be arrays; they can't.
+ $result = round($result1 / $result2); // @phpstan-ignore-line
+
+ return IntOrFloat::evaluate($result);
+ }
+
+ /**
+ * PERMUTATIONA.
+ *
+ * Returns the number of permutations for a given number of objects (with repetitions)
+ * that can be selected from the total objects.
+ *
+ * @param mixed $numObjs Integer number of different objects
+ * Or can be an array of values
+ * @param mixed $numInSet Integer number of objects in each permutation
+ * Or can be an array of values
+ *
+ * @return array|float|int|string Number of permutations, or a string containing an error
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function PERMUTATIONA(mixed $numObjs, mixed $numInSet)
+ {
+ if (is_array($numObjs) || is_array($numInSet)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $numObjs, $numInSet);
+ }
+
+ try {
+ $numObjs = StatisticalValidations::validateInt($numObjs);
+ $numInSet = StatisticalValidations::validateInt($numInSet);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ if ($numObjs < 0 || $numInSet < 0) {
+ return ExcelError::NAN();
+ }
+
+ $result = $numObjs ** $numInSet;
+
+ return IntOrFloat::evaluate($result);
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Size.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Size.php
new file mode 100644
index 0000000..71594bd
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Size.php
@@ -0,0 +1,97 @@
+= $count) {
+ return ExcelError::NAN();
+ }
+ rsort($mArgs);
+
+ return $mArgs[$entry];
+ }
+
+ return ExcelError::VALUE();
+ }
+
+ /**
+ * SMALL.
+ *
+ * Returns the nth smallest value in a data set. You can use this function to
+ * select a value based on its relative standing.
+ *
+ * Excel Function:
+ * SMALL(value1[,value2[, ...]],entry)
+ *
+ * @param mixed $args Data values
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function small(mixed ...$args)
+ {
+ $aArgs = Functions::flattenArray($args);
+
+ $entry = array_pop($aArgs);
+
+ if ((is_numeric($entry)) && (!is_string($entry))) {
+ $entry = (int) floor($entry);
+
+ $mArgs = self::filter($aArgs);
+ $count = Counts::COUNT($mArgs);
+ --$entry;
+ if ($count === 0 || $entry < 0 || $entry >= $count) {
+ return ExcelError::NAN();
+ }
+ sort($mArgs);
+
+ return $mArgs[$entry];
+ }
+
+ return ExcelError::VALUE();
+ }
+
+ /**
+ * @param mixed[] $args Data values
+ */
+ protected static function filter(array $args): array
+ {
+ $mArgs = [];
+
+ foreach ($args as $arg) {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ $mArgs[] = $arg;
+ }
+ }
+
+ return $mArgs;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StandardDeviations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StandardDeviations.php
new file mode 100644
index 0000000..095e9cf
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StandardDeviations.php
@@ -0,0 +1,95 @@
+getMessage();
+ }
+
+ if ($stdDev <= 0) {
+ return ExcelError::NAN();
+ }
+
+ return ($value - $mean) / $stdDev;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StatisticalValidations.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StatisticalValidations.php
new file mode 100644
index 0000000..59ad7ee
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StatisticalValidations.php
@@ -0,0 +1,36 @@
+ $value) {
+ if ((is_bool($value)) || (is_string($value)) || ($value === null)) {
+ unset($array1[$key], $array2[$key]);
+ }
+ }
+ }
+
+ /**
+ * @param mixed $array1 should be array, but scalar is made into one
+ * @param mixed $array2 should be array, but scalar is made into one
+ */
+ private static function checkTrendArrays(mixed &$array1, mixed &$array2): void
+ {
+ if (!is_array($array1)) {
+ $array1 = [$array1];
+ }
+ if (!is_array($array2)) {
+ $array2 = [$array2];
+ }
+
+ $array1 = Functions::flattenArray($array1);
+ $array2 = Functions::flattenArray($array2);
+
+ self::filterTrendValues($array1, $array2);
+ self::filterTrendValues($array2, $array1);
+
+ // Reset the array indexes
+ $array1 = array_merge($array1);
+ $array2 = array_merge($array2);
+ }
+
+ protected static function validateTrendArrays(array $yValues, array $xValues): void
+ {
+ $yValueCount = count($yValues);
+ $xValueCount = count($xValues);
+
+ if (($yValueCount === 0) || ($yValueCount !== $xValueCount)) {
+ throw new Exception(ExcelError::NA());
+ } elseif ($yValueCount === 1) {
+ throw new Exception(ExcelError::DIV0());
+ }
+ }
+
+ /**
+ * CORREL.
+ *
+ * Returns covariance, the average of the products of deviations for each data point pair.
+ *
+ * @param mixed $yValues array of mixed Data Series Y
+ * @param null|mixed $xValues array of mixed Data Series X
+ *
+ * @return float|string
+ */
+ public static function CORREL(mixed $yValues, $xValues = null)
+ {
+ if (($xValues === null) || (!is_array($yValues)) || (!is_array($xValues))) {
+ return ExcelError::VALUE();
+ }
+
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getCorrelation();
+ }
+
+ /**
+ * COVAR.
+ *
+ * Returns covariance, the average of the products of deviations for each data point pair.
+ *
+ * @param mixed[] $yValues array of mixed Data Series Y
+ * @param mixed[] $xValues array of mixed Data Series X
+ *
+ * @return float|string
+ */
+ public static function COVAR(array $yValues, array $xValues)
+ {
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getCovariance();
+ }
+
+ /**
+ * FORECAST.
+ *
+ * Calculates, or predicts, a future value by using existing values.
+ * The predicted value is a y-value for a given x-value.
+ *
+ * @param mixed $xValue Float value of X for which we want to find Y
+ * Or can be an array of values
+ * @param mixed[] $yValues array of mixed Data Series Y
+ * @param mixed[] $xValues array of mixed Data Series X
+ *
+ * @return array|bool|float|string
+ * If an array of numbers is passed as an argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function FORECAST(mixed $xValue, array $yValues, array $xValues)
+ {
+ if (is_array($xValue)) {
+ return self::evaluateArrayArgumentsSubset([self::class, __FUNCTION__], 1, $xValue, $yValues, $xValues);
+ }
+
+ try {
+ $xValue = StatisticalValidations::validateFloat($xValue);
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getValueOfYForX($xValue);
+ }
+
+ /**
+ * GROWTH.
+ *
+ * Returns values along a predicted exponential Trend
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param mixed[] $xValues Data Series X
+ * @param mixed[] $newValues Values of X for which we want to find Y
+ * @param mixed $const A logical (boolean) value specifying whether to force the intersect to equal 0 or not
+ *
+ * @return float[]
+ */
+ public static function GROWTH($yValues, $xValues = [], $newValues = [], mixed $const = true)
+ {
+ $yValues = Functions::flattenArray($yValues);
+ $xValues = Functions::flattenArray($xValues);
+ $newValues = Functions::flattenArray($newValues);
+ $const = ($const === null) ? true : (bool) Functions::flattenSingleValue($const);
+
+ $bestFitExponential = Trend::calculate(Trend::TREND_EXPONENTIAL, $yValues, $xValues, $const);
+ if (empty($newValues)) {
+ $newValues = $bestFitExponential->getXValues();
+ }
+
+ $returnArray = [];
+ foreach ($newValues as $xValue) {
+ $returnArray[0][] = [$bestFitExponential->getValueOfYForX($xValue)];
+ }
+
+ return $returnArray; //* @phpstan-ignore-line
+ }
+
+ /**
+ * INTERCEPT.
+ *
+ * Calculates the point at which a line will intersect the y-axis by using existing x-values and y-values.
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param mixed[] $xValues Data Series X
+ *
+ * @return float|string
+ */
+ public static function INTERCEPT(array $yValues, array $xValues)
+ {
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getIntersect();
+ }
+
+ /**
+ * LINEST.
+ *
+ * Calculates the statistics for a line by using the "least squares" method to calculate a straight line
+ * that best fits your data, and then returns an array that describes the line.
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param null|mixed[] $xValues Data Series X
+ * @param mixed $const A logical (boolean) value specifying whether to force the intersect to equal 0 or not
+ * @param mixed $stats A logical (boolean) value specifying whether to return additional regression statistics
+ *
+ * @return array|string The result, or a string containing an error
+ */
+ public static function LINEST(array $yValues, $xValues = null, mixed $const = true, mixed $stats = false): string|array
+ {
+ $const = ($const === null) ? true : (bool) Functions::flattenSingleValue($const);
+ $stats = ($stats === null) ? false : (bool) Functions::flattenSingleValue($stats);
+ if ($xValues === null) {
+ $xValues = $yValues;
+ }
+
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues, $const);
+
+ if ($stats === true) {
+ return [
+ [
+ $bestFitLinear->getSlope(),
+ $bestFitLinear->getIntersect(),
+ ],
+ [
+ $bestFitLinear->getSlopeSE(),
+ ($const === false) ? ExcelError::NA() : $bestFitLinear->getIntersectSE(),
+ ],
+ [
+ $bestFitLinear->getGoodnessOfFit(),
+ $bestFitLinear->getStdevOfResiduals(),
+ ],
+ [
+ $bestFitLinear->getF(),
+ $bestFitLinear->getDFResiduals(),
+ ],
+ [
+ $bestFitLinear->getSSRegression(),
+ $bestFitLinear->getSSResiduals(),
+ ],
+ ];
+ }
+
+ return [
+ $bestFitLinear->getSlope(),
+ $bestFitLinear->getIntersect(),
+ ];
+ }
+
+ /**
+ * LOGEST.
+ *
+ * Calculates an exponential curve that best fits the X and Y data series,
+ * and then returns an array that describes the line.
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param null|mixed[] $xValues Data Series X
+ * @param mixed $const A logical (boolean) value specifying whether to force the intersect to equal 0 or not
+ * @param mixed $stats A logical (boolean) value specifying whether to return additional regression statistics
+ *
+ * @return array|string The result, or a string containing an error
+ */
+ public static function LOGEST(array $yValues, $xValues = null, mixed $const = true, mixed $stats = false): string|array
+ {
+ $const = ($const === null) ? true : (bool) Functions::flattenSingleValue($const);
+ $stats = ($stats === null) ? false : (bool) Functions::flattenSingleValue($stats);
+ if ($xValues === null) {
+ $xValues = $yValues;
+ }
+
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ foreach ($yValues as $value) {
+ if ($value < 0.0) {
+ return ExcelError::NAN();
+ }
+ }
+
+ $bestFitExponential = Trend::calculate(Trend::TREND_EXPONENTIAL, $yValues, $xValues, $const);
+
+ if ($stats === true) {
+ return [
+ [
+ $bestFitExponential->getSlope(),
+ $bestFitExponential->getIntersect(),
+ ],
+ [
+ $bestFitExponential->getSlopeSE(),
+ ($const === false) ? ExcelError::NA() : $bestFitExponential->getIntersectSE(),
+ ],
+ [
+ $bestFitExponential->getGoodnessOfFit(),
+ $bestFitExponential->getStdevOfResiduals(),
+ ],
+ [
+ $bestFitExponential->getF(),
+ $bestFitExponential->getDFResiduals(),
+ ],
+ [
+ $bestFitExponential->getSSRegression(),
+ $bestFitExponential->getSSResiduals(),
+ ],
+ ];
+ }
+
+ return [
+ $bestFitExponential->getSlope(),
+ $bestFitExponential->getIntersect(),
+ ];
+ }
+
+ /**
+ * RSQ.
+ *
+ * Returns the square of the Pearson product moment correlation coefficient through data points
+ * in known_y's and known_x's.
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param mixed[] $xValues Data Series X
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function RSQ(array $yValues, array $xValues)
+ {
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getGoodnessOfFit();
+ }
+
+ /**
+ * SLOPE.
+ *
+ * Returns the slope of the linear regression line through data points in known_y's and known_x's.
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param mixed[] $xValues Data Series X
+ *
+ * @return float|string The result, or a string containing an error
+ */
+ public static function SLOPE(array $yValues, array $xValues)
+ {
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getSlope();
+ }
+
+ /**
+ * STEYX.
+ *
+ * Returns the standard error of the predicted y-value for each x in the regression.
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param mixed[] $xValues Data Series X
+ *
+ * @return float|string
+ */
+ public static function STEYX(array $yValues, array $xValues)
+ {
+ try {
+ self::checkTrendArrays($yValues, $xValues);
+ self::validateTrendArrays($yValues, $xValues);
+ } catch (Exception $e) {
+ return $e->getMessage();
+ }
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues);
+
+ return $bestFitLinear->getStdevOfResiduals();
+ }
+
+ /**
+ * TREND.
+ *
+ * Returns values along a linear Trend
+ *
+ * @param mixed[] $yValues Data Series Y
+ * @param mixed[] $xValues Data Series X
+ * @param mixed[] $newValues Values of X for which we want to find Y
+ * @param mixed $const A logical (boolean) value specifying whether to force the intersect to equal 0 or not
+ *
+ * @return float[]
+ */
+ public static function TREND($yValues, $xValues = [], $newValues = [], mixed $const = true)
+ {
+ $yValues = Functions::flattenArray($yValues);
+ $xValues = Functions::flattenArray($xValues);
+ $newValues = Functions::flattenArray($newValues);
+ $const = ($const === null) ? true : (bool) Functions::flattenSingleValue($const);
+
+ $bestFitLinear = Trend::calculate(Trend::TREND_LINEAR, $yValues, $xValues, $const);
+ if (empty($newValues)) {
+ $newValues = $bestFitLinear->getXValues();
+ }
+
+ $returnArray = [];
+ foreach ($newValues as $xValue) {
+ $returnArray[0][] = [$bestFitLinear->getValueOfYForX($xValue)];
+ }
+
+ return $returnArray; //* @phpstan-ignore-line
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/VarianceBase.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/VarianceBase.php
new file mode 100644
index 0000000..883f6c9
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/VarianceBase.php
@@ -0,0 +1,34 @@
+ 1) {
+ $summerA *= $aCount;
+ $summerB *= $summerB;
+
+ return ($summerA - $summerB) / ($aCount * ($aCount - 1));
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * VARA.
+ *
+ * Estimates variance based on a sample, including numbers, text, and logical values
+ *
+ * Excel Function:
+ * VARA(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string (string if result is an error)
+ */
+ public static function VARA(mixed ...$args): string|float
+ {
+ $returnValue = ExcelError::DIV0();
+
+ $summerA = $summerB = 0.0;
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArrayIndexed($args);
+ $aCount = 0;
+ foreach ($aArgs as $k => $arg) {
+ if ((is_string($arg)) && (Functions::isValue($k))) {
+ return ExcelError::VALUE();
+ } elseif ((is_string($arg)) && (!Functions::isMatrixValue($k))) {
+ } else {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {
+ $arg = self::datatypeAdjustmentAllowStrings($arg);
+ $summerA += ($arg * $arg);
+ $summerB += $arg;
+ ++$aCount;
+ }
+ }
+ }
+
+ if ($aCount > 1) {
+ $summerA *= $aCount;
+ $summerB *= $summerB;
+
+ return ($summerA - $summerB) / ($aCount * ($aCount - 1));
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * VARP.
+ *
+ * Calculates variance based on the entire population
+ *
+ * Excel Function:
+ * VARP(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string (string if result is an error)
+ */
+ public static function VARP(mixed ...$args): float|string
+ {
+ // Return value
+ $returnValue = ExcelError::DIV0();
+
+ $summerA = $summerB = 0.0;
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArray($args);
+ $aCount = 0;
+ foreach ($aArgs as $arg) {
+ $arg = self::datatypeAdjustmentBooleans($arg);
+
+ // Is it a numeric value?
+ if ((is_numeric($arg)) && (!is_string($arg))) {
+ $summerA += ($arg * $arg);
+ $summerB += $arg;
+ ++$aCount;
+ }
+ }
+
+ if ($aCount > 0) {
+ $summerA *= $aCount;
+ $summerB *= $summerB;
+
+ return ($summerA - $summerB) / ($aCount * $aCount);
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * VARPA.
+ *
+ * Calculates variance based on the entire population, including numbers, text, and logical values
+ *
+ * Excel Function:
+ * VARPA(value1[,value2[, ...]])
+ *
+ * @param mixed ...$args Data values
+ *
+ * @return float|string (string if result is an error)
+ */
+ public static function VARPA(mixed ...$args): string|float
+ {
+ $returnValue = ExcelError::DIV0();
+
+ $summerA = $summerB = 0.0;
+
+ // Loop through arguments
+ $aArgs = Functions::flattenArrayIndexed($args);
+ $aCount = 0;
+ foreach ($aArgs as $k => $arg) {
+ if ((is_string($arg)) && (Functions::isValue($k))) {
+ return ExcelError::VALUE();
+ } elseif ((is_string($arg)) && (!Functions::isMatrixValue($k))) {
+ } else {
+ // Is it a numeric value?
+ if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {
+ $arg = self::datatypeAdjustmentAllowStrings($arg);
+ $summerA += ($arg * $arg);
+ $summerB += $arg;
+ ++$aCount;
+ }
+ }
+ }
+
+ if ($aCount > 0) {
+ $summerA *= $aCount;
+ $summerB *= $summerB;
+
+ return ($summerA - $summerB) / ($aCount * $aCount);
+ }
+
+ return $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php
new file mode 100644
index 0000000..94edad8
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php
@@ -0,0 +1,421 @@
+ 255) {
+ return ExcelError::VALUE();
+ }
+ $result = iconv('UCS-4LE', 'UTF-8', pack('V', $character));
+
+ return ($result === false) ? '' : $result;
+ }
+
+ /**
+ * CODE.
+ *
+ * @param mixed $characters String character to convert to its ASCII value
+ * Or can be an array of values
+ *
+ * @return array|int|string A string if arguments are invalid
+ * If an array of values is passed as the argument, then the returned result will also be an array
+ * with the same dimensions
+ */
+ public static function code(mixed $characters): array|string|int
+ {
+ if (is_array($characters)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $characters);
+ }
+
+ $characters = Helpers::extractString($characters);
+ if ($characters === '') {
+ return ExcelError::VALUE();
+ }
+
+ $character = $characters;
+ if (mb_strlen($characters, 'UTF-8') > 1) {
+ $character = mb_substr($characters, 0, 1, 'UTF-8');
+ }
+
+ return self::unicodeToOrd($character);
+ }
+
+ private static function unicodeToOrd(string $character): int
+ {
+ $retVal = 0;
+ $iconv = iconv('UTF-8', 'UCS-4LE', $character);
+ if ($iconv !== false) {
+ $result = unpack('V', $iconv);
+ if (is_array($result) && isset($result[1])) {
+ $retVal = $result[1];
+ }
+ }
+
+ return $retVal;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Concatenate.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Concatenate.php
new file mode 100644
index 0000000..c2281d4
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Concatenate.php
@@ -0,0 +1,137 @@
+ DataType::MAX_STRING_LENGTH) {
+ $returnValue = ExcelError::CALC();
+
+ break;
+ }
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * TEXTJOIN.
+ *
+ * @param mixed $delimiter The delimter to use between the joined arguments
+ * Or can be an array of values
+ * @param mixed $ignoreEmpty true/false Flag indicating whether empty arguments should be skipped
+ * Or can be an array of values
+ * @param mixed $args The values to join
+ *
+ * @return array|string The joined string
+ * If an array of values is passed for the $delimiter or $ignoreEmpty arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function TEXTJOIN(mixed $delimiter = '', mixed $ignoreEmpty = true, mixed ...$args): array|string
+ {
+ if (is_array($delimiter) || is_array($ignoreEmpty)) {
+ return self::evaluateArrayArgumentsSubset(
+ [self::class, __FUNCTION__],
+ 2,
+ $delimiter,
+ $ignoreEmpty,
+ ...$args
+ );
+ }
+
+ $delimiter ??= '';
+ $ignoreEmpty ??= true;
+ $aArgs = Functions::flattenArray($args);
+ $returnValue = self::evaluateTextJoinArray($ignoreEmpty, $aArgs);
+
+ $returnValue ??= implode($delimiter, $aArgs);
+ if (StringHelper::countCharacters($returnValue) > DataType::MAX_STRING_LENGTH) {
+ $returnValue = ExcelError::CALC();
+ }
+
+ return $returnValue;
+ }
+
+ private static function evaluateTextJoinArray(bool $ignoreEmpty, array &$aArgs): ?string
+ {
+ foreach ($aArgs as $key => &$arg) {
+ $value = Helpers::extractString($arg);
+ if (ErrorValue::isError($value)) {
+ return $value;
+ }
+
+ if ($ignoreEmpty === true && ((is_string($arg) && trim($arg) === '') || $arg === null)) {
+ unset($aArgs[$key]);
+ } elseif (is_bool($arg)) {
+ $arg = Helpers::convertBooleanValue($arg);
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * REPT.
+ *
+ * Returns the result of builtin function round after validating args.
+ *
+ * @param mixed $stringValue The value to repeat
+ * Or can be an array of values
+ * @param mixed $repeatCount The number of times the string value should be repeated
+ * Or can be an array of values
+ *
+ * @return array|string The repeated string
+ * If an array of values is passed for the $stringValue or $repeatCount arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function builtinREPT(mixed $stringValue, mixed $repeatCount): array|string
+ {
+ if (is_array($stringValue) || is_array($repeatCount)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $stringValue, $repeatCount);
+ }
+
+ $stringValue = Helpers::extractString($stringValue);
+
+ if (!is_numeric($repeatCount) || $repeatCount < 0) {
+ $returnValue = ExcelError::VALUE();
+ } elseif (ErrorValue::isError($stringValue)) {
+ $returnValue = $stringValue;
+ } else {
+ $returnValue = str_repeat($stringValue, (int) $repeatCount);
+ if (StringHelper::countCharacters($returnValue) > DataType::MAX_STRING_LENGTH) {
+ $returnValue = ExcelError::VALUE(); // note VALUE not CALC
+ }
+ }
+
+ return $returnValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Extract.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Extract.php
new file mode 100644
index 0000000..275b239
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Extract.php
@@ -0,0 +1,276 @@
+getMessage();
+ }
+
+ return mb_substr($value, 0, $chars, 'UTF-8');
+ }
+
+ /**
+ * MID.
+ *
+ * @param mixed $value String value from which to extract characters
+ * Or can be an array of values
+ * @param mixed $start Integer offset of the first character that we want to extract
+ * Or can be an array of values
+ * @param mixed $chars The number of characters to extract (as an integer)
+ * Or can be an array of values
+ *
+ * @return array|string The joined string
+ * If an array of values is passed for the $value, $start or $chars arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function mid(mixed $value, mixed $start, mixed $chars): array|string
+ {
+ if (is_array($value) || is_array($start) || is_array($chars)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $start, $chars);
+ }
+
+ try {
+ $value = Helpers::extractString($value);
+ $start = Helpers::extractInt($start, 1);
+ $chars = Helpers::extractInt($chars, 0);
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+
+ return mb_substr($value, --$start, $chars, 'UTF-8');
+ }
+
+ /**
+ * RIGHT.
+ *
+ * @param mixed $value String value from which to extract characters
+ * Or can be an array of values
+ * @param mixed $chars The number of characters to extract (as an integer)
+ * Or can be an array of values
+ *
+ * @return array|string The joined string
+ * If an array of values is passed for the $value or $chars arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function right(mixed $value, mixed $chars = 1): array|string
+ {
+ if (is_array($value) || is_array($chars)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $chars);
+ }
+
+ try {
+ $value = Helpers::extractString($value);
+ $chars = Helpers::extractInt($chars, 0, 1);
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+
+ return mb_substr($value, mb_strlen($value, 'UTF-8') - $chars, $chars, 'UTF-8');
+ }
+
+ /**
+ * TEXTBEFORE.
+ *
+ * @param mixed $text the text that you're searching
+ * Or can be an array of values
+ * @param null|array|string $delimiter the text that marks the point before which you want to extract
+ * Multiple delimiters can be passed as an array of string values
+ * @param mixed $instance The instance of the delimiter after which you want to extract the text.
+ * By default, this is the first instance (1).
+ * A negative value means start searching from the end of the text string.
+ * Or can be an array of values
+ * @param mixed $matchMode Determines whether the match is case-sensitive or not.
+ * 0 - Case-sensitive
+ * 1 - Case-insensitive
+ * Or can be an array of values
+ * @param mixed $matchEnd Treats the end of text as a delimiter.
+ * 0 - Don't match the delimiter against the end of the text.
+ * 1 - Match the delimiter against the end of the text.
+ * Or can be an array of values
+ * @param mixed $ifNotFound value to return if no match is found
+ * The default is a #N/A Error
+ * Or can be an array of values
+ *
+ * @return array|string the string extracted from text before the delimiter; or the $ifNotFound value
+ * If an array of values is passed for any of the arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function before(mixed $text, $delimiter, mixed $instance = 1, mixed $matchMode = 0, mixed $matchEnd = 0, mixed $ifNotFound = '#N/A'): array|string
+ {
+ if (is_array($text) || is_array($instance) || is_array($matchMode) || is_array($matchEnd) || is_array($ifNotFound)) {
+ return self::evaluateArrayArgumentsIgnore([self::class, __FUNCTION__], 1, $text, $delimiter, $instance, $matchMode, $matchEnd, $ifNotFound);
+ }
+
+ $text = Helpers::extractString($text ?? '');
+ $instance = (int) $instance;
+ $matchMode = (int) $matchMode;
+ $matchEnd = (int) $matchEnd;
+
+ $split = self::validateTextBeforeAfter($text, $delimiter, $instance, $matchMode, $matchEnd, $ifNotFound);
+ if (is_string($split)) {
+ return $split;
+ }
+ if (Helpers::extractString(Functions::flattenSingleValue($delimiter ?? '')) === '') {
+ return ($instance > 0) ? '' : $text;
+ }
+
+ // Adjustment for a match as the first element of the split
+ $flags = self::matchFlags($matchMode);
+ $delimiter = self::buildDelimiter($delimiter);
+ $adjust = preg_match('/^' . $delimiter . "\$/{$flags}", $split[0]);
+ $oddReverseAdjustment = count($split) % 2;
+
+ $split = ($instance < 0)
+ ? array_slice($split, 0, max(count($split) - (abs($instance) * 2 - 1) - $adjust - $oddReverseAdjustment, 0))
+ : array_slice($split, 0, $instance * 2 - 1 - $adjust);
+
+ return implode('', $split);
+ }
+
+ /**
+ * TEXTAFTER.
+ *
+ * @param mixed $text the text that you're searching
+ * @param null|array|string $delimiter the text that marks the point before which you want to extract
+ * Multiple delimiters can be passed as an array of string values
+ * @param mixed $instance The instance of the delimiter after which you want to extract the text.
+ * By default, this is the first instance (1).
+ * A negative value means start searching from the end of the text string.
+ * Or can be an array of values
+ * @param mixed $matchMode Determines whether the match is case-sensitive or not.
+ * 0 - Case-sensitive
+ * 1 - Case-insensitive
+ * Or can be an array of values
+ * @param mixed $matchEnd Treats the end of text as a delimiter.
+ * 0 - Don't match the delimiter against the end of the text.
+ * 1 - Match the delimiter against the end of the text.
+ * Or can be an array of values
+ * @param mixed $ifNotFound value to return if no match is found
+ * The default is a #N/A Error
+ * Or can be an array of values
+ *
+ * @return array|string the string extracted from text before the delimiter; or the $ifNotFound value
+ * If an array of values is passed for any of the arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function after(mixed $text, $delimiter, mixed $instance = 1, mixed $matchMode = 0, mixed $matchEnd = 0, mixed $ifNotFound = '#N/A'): array|string
+ {
+ if (is_array($text) || is_array($instance) || is_array($matchMode) || is_array($matchEnd) || is_array($ifNotFound)) {
+ return self::evaluateArrayArgumentsIgnore([self::class, __FUNCTION__], 1, $text, $delimiter, $instance, $matchMode, $matchEnd, $ifNotFound);
+ }
+
+ $text = Helpers::extractString($text ?? '');
+ $instance = (int) $instance;
+ $matchMode = (int) $matchMode;
+ $matchEnd = (int) $matchEnd;
+
+ $split = self::validateTextBeforeAfter($text, $delimiter, $instance, $matchMode, $matchEnd, $ifNotFound);
+ if (is_string($split)) {
+ return $split;
+ }
+ if (Helpers::extractString(Functions::flattenSingleValue($delimiter ?? '')) === '') {
+ return ($instance < 0) ? '' : $text;
+ }
+
+ // Adjustment for a match as the first element of the split
+ $flags = self::matchFlags($matchMode);
+ $delimiter = self::buildDelimiter($delimiter);
+ $adjust = preg_match('/^' . $delimiter . "\$/{$flags}", $split[0]);
+ $oddReverseAdjustment = count($split) % 2;
+
+ $split = ($instance < 0)
+ ? array_slice($split, count($split) - ((int) abs($instance + 1) * 2) - $adjust - $oddReverseAdjustment)
+ : array_slice($split, $instance * 2 - $adjust);
+
+ return implode('', $split);
+ }
+
+ /**
+ * @param null|array|string $delimiter
+ * @param int $matchEnd
+ *
+ * @return array|string
+ */
+ private static function validateTextBeforeAfter(string $text, $delimiter, int $instance, int $matchMode, $matchEnd, mixed $ifNotFound)
+ {
+ $flags = self::matchFlags($matchMode);
+ $delimiter = self::buildDelimiter($delimiter);
+
+ if (preg_match('/' . $delimiter . "/{$flags}", $text) === 0 && $matchEnd === 0) {
+ return $ifNotFound;
+ }
+
+ $split = preg_split('/' . $delimiter . "/{$flags}", $text, 0, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
+ if ($split === false) {
+ return ExcelError::NA();
+ }
+
+ if ($instance === 0 || abs($instance) > StringHelper::countCharacters($text)) {
+ return ExcelError::VALUE();
+ }
+
+ if ($matchEnd === 0 && (abs($instance) > floor(count($split) / 2))) {
+ return ExcelError::NA();
+ } elseif ($matchEnd !== 0 && (abs($instance) - 1 > ceil(count($split) / 2))) {
+ return ExcelError::NA();
+ }
+
+ return $split;
+ }
+
+ /**
+ * @param null|array|string $delimiter the text that marks the point before which you want to extract
+ * Multiple delimiters can be passed as an array of string values
+ */
+ private static function buildDelimiter($delimiter): string
+ {
+ if (is_array($delimiter)) {
+ $delimiter = Functions::flattenArray($delimiter);
+ $quotedDelimiters = array_map(
+ fn ($delimiter): string => preg_quote($delimiter ?? '', '/'),
+ $delimiter
+ );
+ $delimiters = implode('|', $quotedDelimiters);
+
+ return '(' . $delimiters . ')';
+ }
+
+ return '(' . preg_quote($delimiter ?? '', '/') . ')';
+ }
+
+ private static function matchFlags(int $matchMode): string
+ {
+ return ($matchMode === 0) ? 'mu' : 'miu';
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Format.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Format.php
new file mode 100644
index 0000000..845df24
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Format.php
@@ -0,0 +1,314 @@
+getMessage();
+ }
+
+ $mask = '$#,##0';
+ if ($decimals > 0) {
+ $mask .= '.' . str_repeat('0', $decimals);
+ } else {
+ $round = 10 ** abs($decimals);
+ if ($value < 0) {
+ $round = 0 - $round;
+ }
+ $value = MathTrig\Round::multiple($value, $round);
+ }
+ $mask = "{$mask};-{$mask}";
+
+ return NumberFormat::toFormattedString($value, $mask);
+ }
+
+ /**
+ * FIXED.
+ *
+ * @param mixed $value The value to format
+ * Or can be an array of values
+ * @param mixed $decimals Integer value for the number of decimal places that should be formatted
+ * Or can be an array of values
+ * @param mixed $noCommas Boolean value indicating whether the value should have thousands separators or not
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of values is passed for either of the arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function FIXEDFORMAT(mixed $value, mixed $decimals = 2, mixed $noCommas = false): array|string
+ {
+ if (is_array($value) || is_array($decimals) || is_array($noCommas)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $decimals, $noCommas);
+ }
+
+ try {
+ $value = Helpers::extractFloat($value);
+ $decimals = Helpers::extractInt($decimals, -100, 0, true);
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+
+ $valueResult = round($value, $decimals);
+ if ($decimals < 0) {
+ $decimals = 0;
+ }
+ if ($noCommas === false) {
+ $valueResult = number_format(
+ $valueResult,
+ $decimals,
+ StringHelper::getDecimalSeparator(),
+ StringHelper::getThousandsSeparator()
+ );
+ }
+
+ return (string) $valueResult;
+ }
+
+ /**
+ * TEXT.
+ *
+ * @param mixed $value The value to format
+ * Or can be an array of values
+ * @param mixed $format A string with the Format mask that should be used
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of values is passed for either of the arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function TEXTFORMAT(mixed $value, mixed $format): array|string
+ {
+ if (is_array($value) || is_array($format)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $format);
+ }
+
+ $value = Helpers::extractString($value);
+ $format = Helpers::extractString($format);
+
+ if (!is_numeric($value) && Date::isDateTimeFormatCode($format)) {
+ $value = DateTimeExcel\DateValue::fromString($value) + DateTimeExcel\TimeValue::fromString($value);
+ }
+
+ return (string) NumberFormat::toFormattedString($value, $format);
+ }
+
+ /**
+ * @param mixed $value Value to check
+ *
+ * @return mixed
+ */
+ private static function convertValue(mixed $value, bool $spacesMeanZero = false)
+ {
+ $value = $value ?? 0;
+ if (is_bool($value)) {
+ if (Functions::getCompatibilityMode() === Functions::COMPATIBILITY_OPENOFFICE) {
+ $value = (int) $value;
+ } else {
+ throw new CalcExp(ExcelError::VALUE());
+ }
+ }
+ if (is_string($value)) {
+ $value = trim($value);
+ if ($spacesMeanZero && $value === '') {
+ $value = 0;
+ }
+ }
+
+ return $value;
+ }
+
+ /**
+ * VALUE.
+ *
+ * @param mixed $value Value to check
+ * Or can be an array of values
+ *
+ * @return array|DateTimeInterface|float|int|string A string if arguments are invalid
+ * If an array of values is passed for the argument, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function VALUE(mixed $value = '')
+ {
+ if (is_array($value)) {
+ return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
+ }
+
+ try {
+ $value = self::convertValue($value);
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+ if (!is_numeric($value)) {
+ $numberValue = str_replace(
+ StringHelper::getThousandsSeparator(),
+ '',
+ trim($value, " \t\n\r\0\x0B" . StringHelper::getCurrencyCode())
+ );
+ if ($numberValue === '') {
+ return ExcelError::VALUE();
+ }
+ if (is_numeric($numberValue)) {
+ return (float) $numberValue;
+ }
+
+ $dateSetting = Functions::getReturnDateType();
+ Functions::setReturnDateType(Functions::RETURNDATE_EXCEL);
+
+ if (str_contains($value, ':')) {
+ $timeValue = Functions::scalar(DateTimeExcel\TimeValue::fromString($value));
+ if ($timeValue !== ExcelError::VALUE()) {
+ Functions::setReturnDateType($dateSetting);
+
+ return $timeValue;
+ }
+ }
+ $dateValue = Functions::scalar(DateTimeExcel\DateValue::fromString($value));
+ if ($dateValue !== ExcelError::VALUE()) {
+ Functions::setReturnDateType($dateSetting);
+
+ return $dateValue;
+ }
+ Functions::setReturnDateType($dateSetting);
+
+ return ExcelError::VALUE();
+ }
+
+ return (float) $value;
+ }
+
+ /**
+ * TEXT.
+ *
+ * @param mixed $value The value to format
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of values is passed for either of the arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function valueToText(mixed $value, mixed $format = false): array|string
+ {
+ if (is_array($value) || is_array($format)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $format);
+ }
+
+ $format = (bool) $format;
+
+ if (is_object($value) && $value instanceof RichText) {
+ $value = $value->getPlainText();
+ }
+ if (is_string($value)) {
+ $value = ($format === true) ? Calculation::wrapResult($value) : $value;
+ $value = str_replace("\n", '', $value);
+ } elseif (is_bool($value)) {
+ $value = Calculation::getLocaleBoolean($value ? 'TRUE' : 'FALSE');
+ }
+
+ return (string) $value;
+ }
+
+ private static function getDecimalSeparator(mixed $decimalSeparator): string
+ {
+ return empty($decimalSeparator) ? StringHelper::getDecimalSeparator() : (string) $decimalSeparator;
+ }
+
+ private static function getGroupSeparator(mixed $groupSeparator): string
+ {
+ return empty($groupSeparator) ? StringHelper::getThousandsSeparator() : (string) $groupSeparator;
+ }
+
+ /**
+ * NUMBERVALUE.
+ *
+ * @param mixed $value The value to format
+ * Or can be an array of values
+ * @param mixed $decimalSeparator A string with the decimal separator to use, defaults to locale defined value
+ * Or can be an array of values
+ * @param mixed $groupSeparator A string with the group/thousands separator to use, defaults to locale defined value
+ * Or can be an array of values
+ */
+ public static function NUMBERVALUE(mixed $value = '', mixed $decimalSeparator = null, mixed $groupSeparator = null): array|string|float
+ {
+ if (is_array($value) || is_array($decimalSeparator) || is_array($groupSeparator)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $decimalSeparator, $groupSeparator);
+ }
+
+ try {
+ $value = self::convertValue($value, true);
+ $decimalSeparator = self::getDecimalSeparator($decimalSeparator);
+ $groupSeparator = self::getGroupSeparator($groupSeparator);
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+
+ if (!is_numeric($value)) {
+ $decimalPositions = preg_match_all('/' . preg_quote($decimalSeparator, '/') . '/', $value, $matches, PREG_OFFSET_CAPTURE);
+ if ($decimalPositions > 1) {
+ return ExcelError::VALUE();
+ }
+ $decimalOffset = array_pop($matches[0])[1] ?? null;
+ if ($decimalOffset === null || strpos($value, $groupSeparator, $decimalOffset) !== false) {
+ return ExcelError::VALUE();
+ }
+
+ $value = str_replace([$groupSeparator, $decimalSeparator], ['', '.'], $value);
+
+ // Handle the special case of trailing % signs
+ $percentageString = rtrim($value, '%');
+ if (!is_numeric($percentageString)) {
+ return ExcelError::VALUE();
+ }
+
+ $percentageAdjustment = strlen($value) - strlen($percentageString);
+ if ($percentageAdjustment) {
+ $value = (float) $percentageString;
+ $value /= 10 ** ($percentageAdjustment * 2);
+ }
+ }
+
+ return is_array($value) ? ExcelError::VALUE() : (float) $value;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Helpers.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Helpers.php
new file mode 100644
index 0000000..15b0467
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Helpers.php
@@ -0,0 +1,82 @@
+getMessage();
+ }
+ $returnValue = $left . $newText . $right;
+ if (StringHelper::countCharacters($returnValue) > DataType::MAX_STRING_LENGTH) {
+ $returnValue = ExcelError::VALUE();
+ }
+
+ return $returnValue;
+ }
+
+ /**
+ * SUBSTITUTE.
+ *
+ * @param mixed $text The text string value to modify
+ * Or can be an array of values
+ * @param mixed $fromText The string value that we want to replace in $text
+ * Or can be an array of values
+ * @param mixed $toText The string value that we want to replace with in $text
+ * Or can be an array of values
+ * @param mixed $instance Integer instance Number for the occurrence of frmText to change
+ * Or can be an array of values
+ *
+ * @return array|string
+ * If an array of values is passed for either of the arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function substitute(mixed $text = '', mixed $fromText = '', mixed $toText = '', mixed $instance = null): array|string
+ {
+ if (is_array($text) || is_array($fromText) || is_array($toText) || is_array($instance)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $text, $fromText, $toText, $instance);
+ }
+
+ try {
+ $text = Helpers::extractString($text, true);
+ $fromText = Helpers::extractString($fromText, true);
+ $toText = Helpers::extractString($toText, true);
+ if ($instance === null) {
+ $returnValue = str_replace($fromText, $toText, $text);
+ } else {
+ if (is_bool($instance)) {
+ if ($instance === false || Functions::getCompatibilityMode() !== Functions::COMPATIBILITY_OPENOFFICE) {
+ return ExcelError::Value();
+ }
+ $instance = 1;
+ }
+ $instance = Helpers::extractInt($instance, 1, 0, true);
+ $returnValue = self::executeSubstitution($text, $fromText, $toText, $instance);
+ }
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+ if (StringHelper::countCharacters($returnValue) > DataType::MAX_STRING_LENGTH) {
+ $returnValue = ExcelError::VALUE();
+ }
+
+ return $returnValue;
+ }
+
+ private static function executeSubstitution(string $text, string $fromText, string $toText, int $instance): string
+ {
+ $pos = -1;
+ while ($instance > 0) {
+ $pos = mb_strpos($text, $fromText, $pos + 1, 'UTF-8');
+ if ($pos === false) {
+ return $text;
+ }
+ --$instance;
+ }
+
+ return Functions::scalar(self::REPLACE($text, ++$pos, StringHelper::countCharacters($fromText), $toText));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Search.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Search.php
new file mode 100644
index 0000000..ad83f1a
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Search.php
@@ -0,0 +1,97 @@
+getMessage();
+ }
+
+ if (StringHelper::countCharacters($haystack) >= $offset) {
+ if (StringHelper::countCharacters($needle) === 0) {
+ return $offset;
+ }
+
+ $pos = mb_strpos($haystack, $needle, --$offset, 'UTF-8');
+ if ($pos !== false) {
+ return ++$pos;
+ }
+ }
+
+ return ExcelError::VALUE();
+ }
+
+ /**
+ * SEARCH (case insensitive search).
+ *
+ * @param mixed $needle The string to look for
+ * Or can be an array of values
+ * @param mixed $haystack The string in which to look
+ * Or can be an array of values
+ * @param mixed $offset Integer offset within $haystack to start searching from
+ * Or can be an array of values
+ *
+ * @return array|int|string The offset where the first occurrence of needle was found in the haystack
+ * If an array of values is passed for the $value or $chars arguments, then the returned result
+ * will also be an array with matching dimensions
+ */
+ public static function insensitive(mixed $needle, mixed $haystack, mixed $offset = 1): array|string|int
+ {
+ if (is_array($needle) || is_array($haystack) || is_array($offset)) {
+ return self::evaluateArrayArguments([self::class, __FUNCTION__], $needle, $haystack, $offset);
+ }
+
+ try {
+ $needle = Helpers::extractString($needle);
+ $haystack = Helpers::extractString($haystack);
+ $offset = Helpers::extractInt($offset, 1, 0, true);
+ } catch (CalcExp $e) {
+ return $e->getMessage();
+ }
+
+ if (StringHelper::countCharacters($haystack) >= $offset) {
+ if (StringHelper::countCharacters($needle) === 0) {
+ return $offset;
+ }
+
+ $pos = mb_stripos($haystack, $needle, --$offset, 'UTF-8');
+ if ($pos !== false) {
+ return ++$pos;
+ }
+ }
+
+ return ExcelError::VALUE();
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Text.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Text.php
new file mode 100644
index 0000000..cca613f
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Text.php
@@ -0,0 +1,236 @@
+ $row !== ''
+ ));
+ }
+
+ if ($columnDelimiter !== null) {
+ $delimiter = self::buildDelimiter($columnDelimiter);
+ array_walk(
+ $rows,
+ function (&$row) use ($delimiter, $flags, $ignoreEmpty): void {
+ $row = ($delimiter === '()')
+ ? [$row]
+ : preg_split("/{$delimiter}/{$flags}", $row);
+ /** @var array $row */
+ if ($ignoreEmpty === true) {
+ $row = array_values(array_filter(
+ $row,
+ fn ($value): bool => $value !== ''
+ ));
+ }
+ }
+ );
+ if ($ignoreEmpty === true) {
+ $rows = array_values(array_filter(
+ $rows,
+ fn ($row): bool => $row !== [] && $row !== ['']
+ ));
+ }
+ }
+
+ return self::applyPadding($rows, $padding);
+ }
+
+ private static function applyPadding(array $rows, mixed $padding): array
+ {
+ $columnCount = array_reduce(
+ $rows,
+ fn (int $counter, array $row): int => max($counter, count($row)),
+ 0
+ );
+
+ return array_map(
+ function (array $row) use ($columnCount, $padding): array {
+ return (count($row) < $columnCount)
+ ? array_merge($row, array_fill(0, $columnCount - count($row), $padding))
+ : $row;
+ },
+ $rows
+ );
+ }
+
+ /**
+ * @param null|array|string $delimiter the text that marks the point before which you want to split
+ * Multiple delimiters can be passed as an array of string values
+ */
+ private static function buildDelimiter($delimiter): string
+ {
+ $valueSet = Functions::flattenArray($delimiter);
+
+ if (is_array($delimiter) && count($valueSet) > 1) {
+ $quotedDelimiters = array_map(
+ fn ($delimiter): string => preg_quote($delimiter ?? '', '/'),
+ $valueSet
+ );
+ $delimiters = implode('|', $quotedDelimiters);
+
+ return '(' . $delimiters . ')';
+ }
+
+ return '(' . preg_quote(Functions::flattenSingleValue($delimiter), '/') . ')';
+ }
+
+ private static function matchFlags(bool $matchMode): string
+ {
+ return ($matchMode === true) ? 'miu' : 'mu';
+ }
+
+ public static function fromArray(array $array, int $format = 0): string
+ {
+ $result = [];
+ foreach ($array as $row) {
+ $cells = [];
+ foreach ($row as $cellValue) {
+ $value = ($format === 1) ? self::formatValueMode1($cellValue) : self::formatValueMode0($cellValue);
+ $cells[] = $value;
+ }
+ $result[] = implode(($format === 1) ? ',' : ', ', $cells);
+ }
+
+ $result = implode(($format === 1) ? ';' : ', ', $result);
+
+ return ($format === 1) ? '{' . $result . '}' : $result;
+ }
+
+ private static function formatValueMode0(mixed $cellValue): string
+ {
+ if (is_bool($cellValue)) {
+ return Calculation::getLocaleBoolean($cellValue ? 'TRUE' : 'FALSE');
+ }
+
+ return (string) $cellValue;
+ }
+
+ private static function formatValueMode1(mixed $cellValue): string
+ {
+ if (is_string($cellValue) && ErrorValue::isError($cellValue) === false) {
+ return Calculation::FORMULA_STRING_QUOTE . $cellValue . Calculation::FORMULA_STRING_QUOTE;
+ } elseif (is_bool($cellValue)) {
+ return Calculation::getLocaleBoolean($cellValue ? 'TRUE' : 'FALSE');
+ }
+
+ return (string) $cellValue;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Trim.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Trim.php
new file mode 100644
index 0000000..24a54bf
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Trim.php
@@ -0,0 +1,52 @@
+branchPruner = $branchPruner;
+ }
+
+ /**
+ * Return the number of entries on the stack.
+ */
+ public function count(): int
+ {
+ return $this->count;
+ }
+
+ /**
+ * Push a new entry onto the stack.
+ */
+ public function push(string $type, mixed $value, ?string $reference = null): void
+ {
+ $stackItem = $this->getStackItem($type, $value, $reference);
+ $this->stack[$this->count++] = $stackItem;
+
+ if ($type === 'Function') {
+ $localeFunction = Calculation::localeFunc($value);
+ if ($localeFunction != $value) {
+ $this->stack[($this->count - 1)]['localeValue'] = $localeFunction;
+ }
+ }
+ }
+
+ public function pushStackItem(array $stackItem): void
+ {
+ $this->stack[$this->count++] = $stackItem;
+ }
+
+ public function getStackItem(string $type, mixed $value, ?string $reference = null): array
+ {
+ $stackItem = [
+ 'type' => $type,
+ 'value' => $value,
+ 'reference' => $reference,
+ ];
+
+ // will store the result under this alias
+ $storeKey = $this->branchPruner->currentCondition();
+ if (isset($storeKey) || $reference === 'NULL') {
+ $stackItem['storeKey'] = $storeKey;
+ }
+
+ // will only run computation if the matching store key is true
+ $onlyIf = $this->branchPruner->currentOnlyIf();
+ if (isset($onlyIf) || $reference === 'NULL') {
+ $stackItem['onlyIf'] = $onlyIf;
+ }
+
+ // will only run computation if the matching store key is false
+ $onlyIfNot = $this->branchPruner->currentOnlyIfNot();
+ if (isset($onlyIfNot) || $reference === 'NULL') {
+ $stackItem['onlyIfNot'] = $onlyIfNot;
+ }
+
+ return $stackItem;
+ }
+
+ /**
+ * Pop the last entry from the stack.
+ */
+ public function pop(): ?array
+ {
+ if ($this->count > 0) {
+ return $this->stack[--$this->count];
+ }
+
+ return null;
+ }
+
+ /**
+ * Return an entry from the stack without removing it.
+ */
+ public function last(int $n = 1): ?array
+ {
+ if ($this->count - $n < 0) {
+ return null;
+ }
+
+ return $this->stack[$this->count - $n];
+ }
+
+ /**
+ * Clear the stack.
+ */
+ public function clear(): void
+ {
+ $this->stack = [];
+ $this->count = 0;
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Web.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Web.php
new file mode 100644
index 0000000..f4dd40e
--- /dev/null
+++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Web.php
@@ -0,0 +1,30 @@
+ 2048) {
+ return ExcelError::VALUE(); // Invalid URL length
+ }
+
+ if (!preg_match('/^http[s]?:\/\//', $url)) {
+ return ExcelError::VALUE(); // Invalid protocol
+ }
+
+ // Get results from the the webservice
+ $client = Settings::getHttpClient();
+ $requestFactory = Settings::getRequestFactory();
+ $request = $requestFactory->createRequest('GET', $url);
+
+ try {
+ $response = $client->sendRequest($request);
+ } catch (ClientExceptionInterface) {
+ return ExcelError::VALUE(); // cURL error
+ }
+
+ if ($response->getStatusCode() != 200) {
+ return ExcelError::VALUE(); // cURL error
+ }
+
+ $output = $response->getBody()->getContents();
+ if (strlen($output) > 32767) {
+ return ExcelError::VALUE(); // Output not a string or too long
+ }
+
+ return $output;
+ }
+
+ /**
+ * URLENCODE.
+ *
+ * Returns data from a web service on the Internet or Intranet.
+ *
+ * Excel Function:
+ * urlEncode(text)
+ *
+ * @return string the url encoded output
+ */
+ public static function urlEncode(mixed $text): string|array
+ {
+ if (!is_string($text)) {
+ return ExcelError::VALUE();
+ }
+
+ return str_replace('+', '%20', urlencode($text));
+ }
+}
diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/Translations.xlsx b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/Translations.xlsx
new file mode 100644
index 0000000000000000000000000000000000000000..080d5e7a8eecf953e573fdde76b191e76fcd40ec
GIT binary patch
literal 140431
zcmeEsbwibJvo76@bSm8~4FZaEBi&Nc-5@QEv^3Jv-Ca_P?v~C4EIQAFzxUl|?^9o3
zAO1kVXU)u-nJexalw@JyUO^#1AwfYwy@tBKuRFSchJyNq3%J4u(D(3I=%o|9|{9?m%zSaCF)`tPj`U&oPS{uxrinm0vAn_Q_St
zNu~}W)}~ck{_rg-dAPfOWynldjovG@@bzoCm+fV4`2N&t(jfjDVzAkt*JqLsG+jq
z=YTxlCT?QK3f`oAE;MYlXn3dvPSgo@j&^8lx)5>w&yw^Ggcm95{om_2nB_VZ)9>)Q
zlRB2;@di5H*KLxPLor^sbWY4G>VqvDrS#SFD2C3rhI|;@M9K+PD{7YBNbI)j2aYgq
zE`~LARUqb;+F??W6rYy_Bi^|`D2jZ;#QlBe`K&h0Nft&$CevA!+<|}mhJaE0Nzz+R
zBbS74?&LJ5t?UB>mlF|
zc8*rYc6L@TDxCMp#x9o+>&bWW5pfIrN)87{X`c~UOruy&-KP8zr`RzPx0HBuc#~)W)gqp!FWfpz*gcd?Eu|J@%d3k9pkB>Zz|7
zu&WKRJx%cL951g8k_C(PXI0uYp_J6HhiX|R28u2E9aZ#x$Kg>fNG0N;%htL4QsIdE
zL}VgB5WU;n9*?V^jqzG-*YNjfh$_CU_HOAo**D_=3-*p7cdbhceqlsbx`TXH8%78Y
z<*cs#<7~hiroxTO`q=PN_{Np>?=$o_cc(q9X!?G*-xSJ+_|>c9NPM8j70fTfp66ZI
zMNq_?hyx+9A<@Pa%Uh?0iRYr0iGH2uYh9K10~UluGmbPt>pnO(&XuDQ8p$NA^Clnl
zA`-SW;?m@hKO?K`e;DGCrQ#0BU#`kUS5K}|eJ`I&m&70i2xr@ArP+HP(pu$Jm5W9cEzeG(-_D
zTbP$vM3_$~(Uy`(;OW=N<283Qtx}tRW5!FppLPkCXI4<8b%CZ8XL_=?KHW%}b1di}
zvdvMlGy4)xVK|2xiC}dhpT9&@1nTNpu;6q;gl2!;6(-#4Z#8E2G)~@!91Ax9>7(ax
zW(WVQR=A5eIp8ivke4
zUI3HCP)N`K9{W8Y>}QFIax
z{=+BXs}O=oa5WFr8@5TAL#TgFlX8@0gdeZ<2yLQGM%v6syGX==5rPo662_bnqvx(I
zVqVDJPuy{tPi;H)1MV&3yIUMs8xaL=E)V3Lol^EH@ZLB^M7YG`l>Ufq#SL(B`rql^
zkYfGwC~)ZN=YoPF1oq}%bnj$gYU=F7_V*u-7v4`#)Uiure>Jd1cPvQRfmqoD_j8<4
zmc(X~{MX6V(bxEF7_)v$75V!UK?F3dT=_<29Ez>w9$4ifxANKqvkgTwDzTKhL+9!s?Ui>lmU2Z;!mTm
zD@f!8&EwsFWYZO??>c?|qu0Q7TIrW)@S`w**PHG*Az2}L(Iv48_gUTihXO-w-k*KV
zF(_RLho#ov+p;>W)kDr_mIe-D4e;r|iSD`UKrpLtBC8*|F9aqp5-bH`%LVz71ARVL
z?&?Zgz5m|ef{h3p5y=jYs>Ad`F@|$-NM6y3rC)RE+n##MB%0c1_3V4)5BC~l
zWt0}1|dYWm;F_>SFhoC;cd?*P*S9gXC)6`jH*;fil
zCXVJ2qwcf^>)+9#RmIYHJpMS|O2zvSK<@K-LTzX42>JmBE-mKviE=5W)UXnMfqth?
zA3TBm$*QRKc7X=1Ugj!sGf8$(7EcZFQ15l))y4DiJk13oefz0i4{VT22(8{?vr(F>
zz7P_ViJ&L*7L};a=U-}s3hiW_mJCg7)yaahdF;^HY4rs3wnM02I~&w@z9e)B=j^%)
zZ~qYby1nSTZUhs{VznjdLhhSLPC|eG@i{GXnj_nk1$H(Qd%<7v4|}R&=sQGhq*7u|
ze&}zLciq1tC|&oy|IQ1q4DI~&+KFUr^jFF?mL?C}QWXiYGwzf0qOl>FVlQ`0V`!&<
z_#4tY$zsEl*BJtxd;DkP@d|Qnk+le?^a1m_a0leh&>x8mjlEGcQN@XxpE}iMHJQYT
za?3+<)v;cS4$}*=?3;l>3(wr7wDwC1YOq
zy5{no3kQ0L)xJ&S$c*0Dd!yYjM3`tS)b+7j8LaP7AZStW4pTzSDQJ$c^0eo4U(dVyo2&D-`}4cUv*U}N4n}wHyYu6YE6CaYZRqXjea~E7
z=#DCDZXzoG1e!f}$CJ0kP1MfgSm@5<6q~|cy+wTcdP@Y`alxJtb_nwdweI8T^C
z$ibDXPx97%rd>Qj06fgt4jK(p-&=F)ba^ii$oU7H!|G|1p&~th=n8XrP(`m
zV_$jM4~fTaePHiWakP82P^i;HO*YYH<^O72f#l42ah26c+TS1)x&9|LeLJo+dzZew
zz3^8B#0_T|lNM@h?ilWeI3#4!gIH#UU>Em^$JK;{>t>bbpys$8@uOzrF9=8D_|laU
zAE~>J^pZb+L7={Tj}un`j*}bx`Uh4SC(e#Oj?$7kUBPSIl37MvEJe!Im{Ja2dQrkA
zBTQh!*-1>LROtl&Cph~?rP7_W@=GJNDi79fP1L>o=lhw39rH=#@I_f=@z8xfk!Sm|5Cub_M
zdMbN0z4ae(maxO7-?ci!XLw8ME2@!V9JNrZYR75-RlcGKr_LLZ638&KbdWB1ZDffZ
z6?R+@ppY8uL@OO$wer$Mq>Es~5%$lP*isHqCgr+u3@m&r+LZ7jq^;P;K>@K%KrAeH
z9c3K3N?fu?oK^yfVDvD1f$du2uxyX5S{4>DrsE|1Fg(40DMpqqx`ZTZg6@#5Tns5c
zNtWSY`yTN#As=5C8kNY(1NGOJC9w$VQay}$4tSHbD3!ik(%L(!!f;
zN7+{jPM}WIWC`o5l%2%U`g9lE5s!Wi&ceg))y&X_5W{D$t#(qDT_!^ji_?kMLWVg?QeZo*L@6EUXw
zz-}I|OlTD9vTWZkQo)A1!K(<7DSI%Iau?84vSEa)}rAaXG0v|h^MdWN6t
z@s<7aaL&m8+zhv-ByyC69s1Znb5^zKX+CeYK(}7|Y*>NGH^)V#kMs_ordWQQqQG8+
zsoa;T2x37r2h+M1r>QO0$8E0X$h{7cNp6e})C6x)+S4KWQz7&(Q*f}q#-LF2cXH;X
zizd~<34P@J1Db*ZA>JQ1lHX)DLhy}-H7YB@l(B9U{E@~dOcC!>2hF2-d-puvhY^})
zmBS@{sx(TiLE-p?1#9!?n?J^>z=3r#pK;ynHv{WMpgK-6!_`bG3jh2CO%|62m&ERN?ko@MR!;2HowXY4MN*ADUPv+|`
z`$!tPhx@S+{hJ`gJ3fjF3a2&*^yiA*R`c-7*KwZu##tYb+w;8N&;R=T*bFyDzh;Ty
z;9JNKcf#%0xw3-^*KiBF5m=na*;Apznv@=WR)Hb9JDM+>-1@XkAS018TN
z1MdH30XhG%fJ@P7>{uaSrc1I|Ff0cljPm>p`HW24ysc-WYo~N6yqt}Be9=LR8ya7p
zJX4p^H?yhSfxl8*n=m_dLu
zxV&PuL+2>iTUn>S7B)yG-=f4t_*y8@MoT)8>C30CjJjBw8G8oa%wIIQ9`S1UnW7nz
z`qCc3+TFSsM&B+|&5!gyx5TM82TOfYLcc6wsYuKxI~Qx!ofN+Ka>&ng*52my$H-CH
zV33O;LDPyCH-9e4b;0xxjo*cqnFKLQvG>9ZF4WxkayWr5MVjk(RWnFTnv7I4R-^$=!-5Wp<&W2AUX>8ZX#(;(;MM&O7*}EZzj*QLz=`x>J%<68o)2)szI2>
z#B!i$T?W=v&fDV>!x-iEGgXXD{+T$goiOHIGb2wlYFqFwP#$}${<=92zdA@|I;H>~
zN&eC=zfP^DWTi~LHF%}vJ<@a9O$AGj@9_9%Pr5#kNy(}Ssn9vbV$RmOJJike+T%UNT9)}^~Tf0}DEZzHVAt94y%tE9r6wOCNK@p^z+0&1+|2`R4lr91Vq=r*@>YJ)xMgy6SZ=)
z0`=d;!C?wR3O6sF;tXMQ;r!*GE<+8T=CYnHu2&TOp7&$?Zk7z5uSFk^4SebSZVC;a
z9t%4je)>JOlU|5+Jnip3-)w{Z9wAQ^e)kaI1(%r5>Tg9KAMX9`!7Ew5x3`LZ6Kmmq
zFV^V-(NNRAc+D~2NHHvekNGvPi+MYnYemsB5J%%F=5hq3Vp
zlQbQmZB!ssmp_bNqs^32Z5;JE7(};)aBR5haNAy_uoI)yUUL!8xcFcB%GbJ8`745v
zbL;Op?=pas2TjqFUn^Wzuy;FL$9?EdL&u|-ulH2zMI;IssDfD0JDr_TN6nogD$ksd
zj5hKBrJ7GN*VCeC*MeHOXHUp7sNs^+G6={|EJoNMO|^F_0(^Iq!u|#I;zJB_Zcgt#
zB;8`9x${_mqR0w?yX&4eS71VQ&bHmwJUl7U#0Deo7$mB&Or>b)v2MY4EBf)jkQz
zygVTfPv#PzkyPO%w4T5rnGkCA;BPAz!$xkeQB7bRb+Z}WjKW3efdgQqj*21|z
zl&0eI&Eggp^pPX1Q`B-tiE92C)atrs!mU7bw$zfv`HS!U4^GDM0dl&?RPvZ}ZgrK=#f-v8
zZ5iK5x{JuUFno&nKMf32A}#j`*ocA@s`Bieg#&8RctLmRoW>o`sho`VE!RPcHk^*!
zgAG>H&$*=?VPuNtY1Q?`#cM+3=*eWiY84%7UW*WxGdb&jbn>#uzEmyvw41PR6)elf
z@aZ|?Z4+_%4Nqf!qur_NN|_2FNt%w0Kl!$iJH7Jx6r-*a+&Sm6OVPAfeU-fC3Zv2B
zot01oQF>KD|E^W?K<-AhgzAwhvk^1}+8o~EZHlqa@xrC)7Z-&eK`-%>Do@|)p=*#z
zuBj~Z?pdBN^p%_&+15?p_nazKW7b?1F$`<8gTM>@Z;fm|A@zHALX^$(cDP&TFpt8f@Ugkl1e*}QQ5$6O>ywe**t`ZXQ{-482WJVPrK~(y6Q}T
zL>F#_a%CWf_)5MFg{s#6C1)Pps*+ZqGkh)e5oesx{tL8#l^$P8|6KR
z=b1J(spO17um3CU%OHZ56HLc3ZwqK%fWt)0^9
zhl~>&MMgWO`#4&a`}D@Wj?#J2>SI8%?W|s#Dul#G>#b(MFY$DV1D^}6k3o|8oFKNx
zgXp>zfr@#L)yQkoRO4R8914v{v?FEW?gttL{(!fO|-4P!_**Vm?|
z#K)WWRW909!}Bbs6ODIVwS%jTTL`}P`dr?w+^kI-KQgN81W6K??JxT(PQJ8S&jl~8
zMP8@FE-MSgGvSBW+_DNS-{$lZ?(EB}s+P0ul9{A~ZwuU-d_uraYg}RR%KCQSDTXcb
zH1(wD6nb${L8xxHrVM$ZtG4O2#)O8VmVFK@Mw8*v?VAbek@NCNeeHKbmVFvqoHM_A
zu<}GEt|VgSF5ha+hM4q8Gey&j7L=t#{HQf9xZ<}7K0C9T41YayJ?V7Ou*o&q@RKXa
z1E)mNw81o-#|D|=S%~8CF3upO&Ec|tq?)gSNKTMg!!B}e|Ff>8#EqXTx&A2B5;4J{gUW#BkfUHhml=E(U?menM3
z0aLbWuGP0k@RGYUYq@O>($Q8l>2qkEWKpt?Mtw2x%7@g6x0r(-v5Bw^5px|T_BYMr
zBD|Zzuvl&t`Y|!LudW-yEcb1Y>8XMT^g3Y^1PT8GSV>U0K
zVT(T32bc7ZJ#ALE;zH?|c=4vI0z5SL+C`6E?U#CvC^Y5Y(?5`Vp#=aFnTgo=evE%(
z(Q0(&H9*pC284%o{kW+@ifewml!b0(HoEo00Xces>lFn)yEc2Oa+ufC0j68|_R^`n
zNRSH@DyRdW@j27ZYc8!j!s^0oLP}w@J}bhz1E&$);A{nkB8r#U7wq0cz6U^K>%^j!
zywP_(q2rN1hAo7KcW2t3zkQFlN4OC0`eBA5Q=HZo*IC{yJJzZ*F}&Qq!ZyE0S_F0lo@;RT1Lk-t(>Biw*)
z8YJB0ciLHIO}U_U))c~Zx#^*BI;JlD?Zs^It(Y&%^po(~9cz=z_X9@sZ*O(G>v&2z
zNXhqscF$RGm(z^iP=bN@l64p$D+SqT{in`L1iDS)9tY@5NI-6Ogo89j#{7&&AIH|H
z`ho2PcLp8gVv0>&8jk0%JuKCjiD=K%=pXhxi>>9&O^&Ai05M&~d38LR^#r9u
zQm2w~9egx@#B#9?<~%sH-x2hvkWReKyvXe4rehicdwPVVnV
zsX|&F99Pe9Pc!YjHI|$6Buu44{iP9m4z`r`$yh@vKlTt028)1H$(KdlPXAbebfWud
z_;yGio_K~u*>2o8$}e$7__s>@xRxQgUSkH28=yMUqL(S;-CXn+->Unvr~y;BVQq9_
z2puxMgH^@olylrZv(WUEK&-tU<|UyeO`l6|B8`%@ljG}b8}HD1FWTr@N-|PBh3Ti$~lO(*?jT+Zh$(rBfNIS%G>Yz{4p)LWK5+|5b4XUL${PH
zMq{dTw@d_bqxNk}X}>g+ui16{Cta{xO6{NeMS$&kh#oDgODn&7Ools!4Xc%493hs+
ze-f7PkN-p(wnkTW!*ZKa|7SKzx`Zz@`ut1iOMfa;+EpbsL
zu>5To(cc%_9B3p{BAoP{CVh1qpDj0@%sbi*W8AbFpAK4$N%zfKckM4SZ601g1-DbB
zbh{e>sR$nG*d%ikC&N7^^orAd}P!N18&zZd9iGQX4}r|sME8*J0k&>u78
zS0Hr}weMPJoV1gJw?z)CoL|o5Wwl**k4b8_n>C1pzD7TJ~I{DE=<8o&}TSgT1
zb8O6He=c=N&&bt
zbA7$FU?;kt=hdz_+GaRU=W`7t;PJ3er!bec9Kh(gvn
zb}V*YpnN#TaqOg5^gQaWD7^Z36}c{GLnQ0YN74A|xk;&M4#sbcw;lC_DP8-~(@|X{
zU0dgO^r3I0jJ=#HE1;bC9rr?v2XiWC$xVcT0M^asC=jA-DD*|6095@m6otDZoFh{2Z>P
zx{iN9D!V+nn;$nXJ54RjMcV$*tmOq7net#-NLy)N^o
zkXM0^>=00V%G965T(ETS{rqqz@|Cez|K?CDj2#vThmhkT3;fs6=d
zX$r2w0|w@W@L7ANUH2uB@UCC~E`0?`K_|N7g%#fT63_L&6v_u7mjfvkY65C&rUXF41LYaDzr#{M?Op^bUORj`7O
ztceI*+~2Y$B8T`ej~U%g-k8et?WHy82|#N|OZZ+4OU3wu+u&$)@Vewzf&9DlkX!T2
z7}qwDLiavkro21N8FOg*e1{F`pI&RLVtZM~MoIjb5lQARQ;
z`B9Xt^|H=xt6AlSg|6{tH_GlZlwmF7ypL|ARodH{We}6Xd)t1m_F^|TRyp_wZ>;DM
z@{@3j~o`QkH5jZZM45Q0MppHTt+ckk1*c@`r6s^TCVDu>$#1{RJ
zj$IwO$p%hlp4#iX@XxIMJsX;+b%1dwuJ@`x#dIs%{(V?w4=GG0S5Wrg2hW#v?53@5
z&3ePHcYL(X+A*NJ&ly-Ip7|ZggiUa>*ScllWT)Fk&;tQkh2TV=Ja&Fx8*CIwjJ;p*
z5EIjjEP4J@jl7FT_XZ&Swb_=I7>Djq!8ymHOM4M}j=L#YO!Hr@e?`}uU|GXArK>e=-
zGwyD?DU{B;+9IjI>Z49%>3j02Zg0147H<4Cq!lBbZi6hNXs37!ZyD5|``;bIP-G+n
zAOdDOf(F<(dj1#f4Trf7lm|)D@P4~A)^*&xlKUsTk0$A6;^u}8KnD|Z03CeTQ>^gh
zUhqJyzHDC(|oPLy@P4N3RIzJPWu6E)GxW7EYt{n~r8WqsBZfmmlClGhoa
z8NR257aI*Xu#M|`J=!?})oQ}Nv9~=J*_wfWHe2wC=_0uA2`^A2+o}c
z-T?j9TIbTav&uR6>z>PoQMoNYx1kPno^(ny2Bf#F{0_{1crx-GJZuUN7xF$=5^<|J
z^K8Z9b?jH|B06=Cg^WNu)~-c7lsrBZSD=pZTE5a$%(x}DzdEGi&m783$5wU}N~Ge~
zSdN8gLfM0Q%D3DZdCyPxpE@54#R0;)Mn$eA&(`t{{c&tTL;4UGuEu45*;4T`6)A
za(!RTpol|$cabU&cArNexdyMRuN2Y^
zCF$rWf@_^*<9aS6POP+T&4-H}a@cD2?7>}*&8$&QsL>gE|2dt2lv+R13NGTX0>lJ*
z26#Ps;6%R->-6j^PoWT|o9{aLPk_igOJ^(S-nadG8JmL_qCykSNH8U7=vhzoUNR^L
z3!jLvUjqq(z<~Lim(GZkwST=8Kikg8C)GNCiK9yxOSwK~y5{Nw@Ozu*>n#&dT{@0%
zt0QcKv{0Kv_jfbk^b-0EzU}Ajsym!b@JprB$#~6|i$hw|0q}4+VtB>mD!6^4eJ&7^
z%F&+dfQ+%71#Ao#_dgrM$I5H3&mn0K_+lmd>m8Hvfs85T+#BVOyBiwQnX7yo?`r16
zx7Q$1-~gS5<+i$Poq0G1e6(6=?zt
zn&9^cz#4lUW@tR*0jIC&&6TuJDknFEG<14CL3F_f=ItpGx^(j^$5n?`Kw|*3HgBJl
z1(y-Ma$K}WtJ4Ac!1eO-RPX*GeLk}FuI9N1eh!y?ji5I>aj?61qI&=l
z%(#EtJezB>rU+@Kydqdwuc}L%c(}Dz(t)x^p8p{@FD_i
z{8IBI063{!^_|+bCmOf<@mLoYGooZ{8}9&=nuN@I^o`vD%F464!mmKM+>|8vgB;W|
zmLS|_+3oPs_yOX77GIDruWqydjDJbMhR=5q0Fwui0x9?E#Y0qIAmlV{2{@3DG=Ein
zDLsyas~2E?vu{9KQh>IoZLVZ&I(KDQHO1_22tBwjOr_D1ngUIsp+W~3z(h=2X9UEB
zpZ?a!ZXQs+Lw^U3B8R~+BE#Jcx{4Tm-%)tfLU>>OQ?RjafN|`IM_yfg6AW#wv#?LWxG}z}X`DWW>)A0PSU4OqO@h*
zO{wvpHi~+rnaE#V=zBIhLY|G`Rjk&`>qsXO$gbUNPVAD!Ma7lZoyxxv_Fvm>kpc
z9GtXDTCKjw%%{-0(=0l3^6#k5@7P^hs+}o|;POlLi{NrvY#N=^ON!QN9-9nQeuQK3
zE1hbr?c2Anzi>*@uf9mlZ(wdS-~X5-g8$_~cfG=TAAEb|YEy>F;AW{Cr}f(=>7?3u
zWYQ;zJW@u7a0w80o%DM%SyA(S8rcdh&*4e0B;U{bCOQ3M@J~ZYPnmXhbFG%2qtcF8;0}wgt6o@?YH!|Z(WY%y0L@tXwnPlheP|(Q*f^fV5W{~<`#Opdx
zISk!r_$8RS6Y$n0O9C>Lr06lITTms-CaS6a>eI9^II@~?LA&9*%
zFte@xwEPwGR;!Vr6p!QSW#qsk%QCha-ZUYhd6Q)X2-q;2;_Yv0py`Zq8`RCq`c?7T=9~15}*+
zioe4BI&CdOyG0Nq(9Hk`#6H}Uf!Seyb5Ve7{sFk~8T9mypE6rvpv~G@6F=K9PkAZX
zxZB*AyL_N;)TW~`dk#GV|a%S=GE^2>e1#b6bXBS#xXEPM4r8iGD1`?xW7>mvTpVnWJl%N{$JTe-dcrJslz94Tw9OTX3nN3t7e
z18AiNt4FhETNjCb3x&B_8z8u#0=Ch%<0R{#9Ni}CZOygypO
zluWZ%ntNH|QkVLR8s)I4Di0uu2?UhrZ9HbiBD;HXLaH&->}12o+39h!Kl}nbg$n>4
z;(7nTBSWWJ+61zZJQ^uujV1*6ZI403>VJS|V*OG&x9fim%w$X1x^ZHEVw)29{Blw@
zivrfHCi$-h?g1LuCiWs!Rb>&Qc9Zi$AB$gbXCD88=yU(08aGkG#CgIrUe+p(iVT)V
zYv6?7p$jx3a#XNlo_{&=+W7JY|eLK9C)|s#o|Cs^J
zVkagVKlg6|wf>7ed2@wVn$6jseoq1vT62+@52%r=QCY-{-K2#eBDPL$c$mXlvr|U?
zfk^`Jo|9Hd?Cx+N$AJ+0@h-ri_6NECRsVsM8;)|{$S{gsJg_g1pQ%ar?1*U}d
zqC=|I1|Z&L$E!>`&*Y_M%_mxP5~s)-9>%6KDf->TB9KJ*jKxFjgSsX>x(H4a%2pPN?pSw-qLPgU
zW@kJ`Th<;U>Gd`SgnEK3Y-;5Onv4JzZIEi02kZlx3<|UNoqIkvt@XMrQS$Kg8|d_)GF~Txq9pBixsMv&jW7gaS5dPDsJBc
zG28tMy)Qu_GhSyx=p90(^}r3i2XGVMe}e%|iFO8SmzQ|)VG3?$_UF^nUu}E$;4!}V
zioP<`hil9Aj?Zb<=&}xSTra%dcYb}lM1jW3gUj=A7oOl-#(7^Bx~#pN-~F~x-wM!)
zrL{=RUN`rFynL@Y$IE4)To#~QGNr!SdE6FX!SGZS|3Mm-g$?*$yqnMvCPc_
ze9TwEEXHC&TPb
zy?Qs8h`S`Tx_y>1;MGIi+IzspmOTfD8)p)%@
zke&%#FL{&bqt?CL7BSiC*=9GaQJa3XveFDU33u|3x&3n;GSlS{mg__|d>kMwz&01LK0?a~r%)r-07jnY8342DCABr6KoM*{*zm|b1x^cnH+O}cpx6O3@4+@vxWl4f%
zL#XRtZnl5o-|XosCXl6PD6b{!B3jOs1j336ur<~mCseF1*sI$IIiC&pgr}B3QX4vm
z{+299=-nhb2QRXGe@dmOxQRo``-Xq*)W`jwnqhJpoItnIOFL(*F#|%YB%iMP6JtS%
z*2dRnbjt*!nCX8DUQW3m`7Z@81b`9Ot2;vlDSTr$EOoz_JW(1n0hE?DAL6nfs0gv!
z4~$zGejDTFA+&S0TKRKuq(;z=Fd8^Kr0@xE+xfj^uHw+zP7a0F)!5~+^BZ1!!WdZy
z05(}~9oS@^kV1#zDC8h5u&(^!Ibz^8=FPhXkJjN$j+pC^eAC4sMiRj;mMvq-@rtk_d{$ul1a3NcuG<&R4
zNPzO9>eH2Zj|y(!-R*EiwAJdPnRoW=34KPcGaz3uzW}l&K>~)1YjSrx)COD^_0_ZH
ziE2u9i2JpSZUVox4ABu*45EybwTavZ29gUbC0~y4_KF}$l3V2dE?b8{xyLm?SjMfn
z7wj_EDI#-{J-}mX_0WkZI#{7)tMY)
zSLE-6>o|U9bv&SqoSp(?!m;Yn#QX4a;S_mpPmWRQN1VJ!I6kIv@^a{@cR73L`g7|-
zxMP0C>Ua5qb{vx2TM&tB6wtyRx_?^uRuTe9Ht_#jpLXl!Is5Nx3z1}fpgw!attmj=
zEqvP@|E1SEnE0a=J=ByDZnq^bYn?PtI0Tfp2q-uETd$$DC+kK=KKAAiGoN2uB6~(g&Du_XBEBnbFz^S
zA-8oJ6&gy2qatdZkYMr^;iAE>-bA--R9;@fB9I{JdM`9Mc%
zg-cUVb>(LmKNR)5A;*2D;e59HjD_$lseLA%*!C19AVo^+g(;BYjjVwdMSexXA=Pjm
z3<{E9I5m5VgggOt<+Nco6b-xE_ZpPOA_`}TpC||$Tdc^;ZGmw8%iZ2gVupv+sEaAa
zWQ4mIAfD*Weh>|;G_w~X1M{{DVLTepv7+Se(x3o;69#6WV@Zw-kzpahFx2d8BJVK&
z9sN4C2FZQik*|z=G?w7K35d@%DLpjXMyPZAuGkps&gSOqX
zLWJB$t@)itWOHo!LgG`Y5$HCtMQR-%5|8eQBmd
zENo+q_~u_Nj5&DxZcvQl{WG?5NC9~
z*j|-Df1HHgu(h9@xkEAtNK>r4lk${cMF%4takqsLUc!Wok!7-|bvc$3^
zhNH^s0_G!`FV-QJ&g3o-km1j5fv};;X35T@#5)kwD^5luX0?66@h;%d5ohsda`dG;
zQZuy$A`;IsHy!d0I`B8;WO?t_Ogk%cn#H&*2v?I~MzakowNOTyDdDvdve%_#P--Wn
z(ku@^)Rzs^VnsGj;#>w9G+Vh74
zmiko@+#c_@8gxbNN~&0>QA$#HTId1<9Lgzth>NpFBGVL3)|G)Ja;90$O#eiXmB6si
zPgw*iv|oJF!!7owFsUKfj{x)~6BTWhs^iRe!-+ylgIWl$Nc0>+Q(2dn4YOgu&Kz>I
zBZ0rRo!s4_1+r108|cuwEnV0MtqI?{10=xR$jPLvEtEd+T`G_v8KKF^dGH-^Ee_+=
zsuwT)egOC0hJF7Z7XQ$JH-4jJ@6S4Vjq4%Asa85W84O>YPM{Xn`|^x
z8uoaerzKS^m(-sUzZz3K$yYJ0!)b~SDoC?k-TLt->J}yV`Ktf30eaY~c%@MCyDtq&
z?mc=FlOC(@PDP#H50X{dbhy
zUqT@bD98kvRT?!gV1q=EzA3#PRew`U&vFed8>GdGZq`H%pvW*u_AB{M)3@?4+<^he
z6v*seh{%9)h;F_PpnLq`|5g?8(G*PiXxem)opn-F%UtuT^Z)0~&eCv>48L?aaw{)w&16j>ThvHKZ3(K4wbnQ&g8gq)XGL>D}}i
z(c&?*S~IpHHZR0tw&DEt1X&*>$Kq>Q^gNM0gM;B!v6t7{T`|1#$x_Ydp)ia9IVM-#
zwI?*NtO*XX*-<|J5bLW7hO^)}$vh;^f5&B!Vix~GH3fk5&8nc(VmWo~MN)r*8E=sa
zFw3TNjy3$kehSNid`FheEU-bNFQzBB`KH;(gb$Z)%}z#tg@y5zympJ`%o4SC$Q0(3S~8%6Gb^MKyF|
z#rCAnV3i6Ym-#44gWViqByz;+O1du%JdlfllM_10zn_dGoB&D)e*aDBZjOagJXla8
zY&@{nf+TDlW`o7xT^PF^C3dRV-&9C8YeDegw&Uy+blBR+@aEHh_swXiPJ#5c5%r&R
z%zx9#{^xY3(m~|1yT)!|SXCF5*4^lDN3?*7WEBD1b5n=8elIdm50yb;NG+~2uyzig
zfCNFn$pOQy-_u~%3`5ghZ
z_!4sGSlxRIczcR(A_F_d1Fy5*TcAGn7zO+d)~O+!Lu5_ppNLeJF@*??&6!h!MN~S8
zw@%YQFBQZvm%`3muE`z?h+a52`F#qpg&biLJMc%>rIGIeFZA!k3>u1rpETT|jT))3
z7s&v1#|G40bPgw{g^-r^2{R_3P7!
zqmDWSSG-SgybK~Nk@}a^w;KQ~v3gI-{Mk7$=sdbPl@shLbgX
z&_*0UDm;3zNUDMUSyo}=dXc!ePF0(+if?MsKJuL^0h#RiDuHK65KL&qt#&WO-UWr5
zRREC(ntD~<)b6=c_y+k5zI!vWDn@)EXm1`RAdWfC)k}+R2Bt*Tj(+`slf|9F@{US;
z)2Naf*$g!nrbZX=r07Ux2xM-iQvSvM?R~Fh<2nN2Ea0sPBNCy^vtZzgzFsjxYky5A
z38(H%C?R-HkgpGHC^WF47=RNa^j-_WC0x!n@|H`6P}~D$!G#b^
zi=#APp#e&Z11K$E$7o<8lRAZ1D&Vy`kcRptO;{q_F@JsxG>#hIJq1o_yLpwk>1$8c
z&ICBs)%v4nnyyxVY6}Fs7B}hfH>bjGuEn?)Si-7CfUSF#t|c1?fG;5F+cw*4#SRg^Kt(Xw2NK@2k?ajT0wHBAh-rJG>2uac?zRwUtUO%H8IZ>mKR_F0
zI|qx&6WH3a+YdPwMi}W^M=80CXp6Q&xdgq|Fs7N_;Jca=XKI@m*?0Pi(4j)JHiJEj
zpR?GNOmG*%f5bJ(|x}`@89G1{e1tp&pmUT
z&UMb~Jg?{Tx~|vtI`bo*SScZ%q!_yOGHq`fD3d>Ltit0Kd
zwvC)kLW^rZ(-#$s0>`LtAL!CxRglwsX?7XbY%sw9Ea+{tp#UoTB!
z9%#VJdU2eLU3;e0nSeheu@7K=!&U%bJ|6lx%Sr#yBxIjVO0DB5OKVETr<=}QOG5JX
z(9fhnO>oS;;^d=O7uPb<8|qMmjtw}2efssBEt4p{}=Zn
z4BVrCo$xNT|90u%YgJvs6H^B6MQcu_xFMq4R{`ejQXkFFAmueXCq_84ogf6)#J>#Y
zq`w}h7nUJC!i$OOVp@)Qr5Dzxe>OA;$r_z3PIrOwE#OJX%zs{q?gJds%=S6!?T2S8
zEI!SP8Aq==$GWTMFoNn7A4b$>cvdg8yb~&5Cg*Ridv($Kr+%)M!Ohn~ch83Uf@g-7
zxp+?C^@4xrla|j}&66sx5}4bwhNBPeXWW-S4_Ich|B`@x!=Meg^2dMtqwvSD*t^Nd
zfkuMt;Xx0o6dz)zyFK@V8E~GLk1x9pccP5HKowx
z9JLsGNIk0Sv(N}u7bG0?(j{<=OUi>s|8lZS2E$y46XoJT!?!=1$U3_r!Qk9xg&?{S
zTUVd^;2j$Ahrx=h&X`nARWdk-zERz>%BmS_^-b{Qn$dy;y)ce5`wu~J(S|kt8)x>U
zehLS;V$t+tiu)haBKW1Fx-!f*MMbqwzXmcFvJexi7smU(SjEHKm~m_JNRil+Aksn(
zd5c+%GVha00t&~;nZ5XUKLi+f{X}^=>|*Oe?jz)%_P^Y(i{{Mk5$iCB@wN#S2Q(kq
zAS^-O4t?+!0ctP)QsPwxC61&%0NUMGI%3)ZZu+$l-r!%}FITvFc1p{yLpGP@0)Prw
z$*SlEzEy&naDAA2wR?i?0i^tR*R%IN%`3W`SrRAcrVltl3TZznp$W7_RtDOkj^HDe
zE154j@5!4#6^D9%***
zPJW#!Gog0BJ&N_}NsVUGEnFK8)`;X-h*g=16ufH0sU-1J>p;hopzN@HU!Jgf)1idkg&rP9j5YT4M!jQhO>T=sah3zWyVC
zz9PfKqZ#7E9ASyRAPy}~hO3#63#O|=QDjKebd$JQkk@UM5=&D
zcX3Iie>VtD!evLE&l(aO336OGO{h*Cz@tt;c#FVketodenuc{O0=S&BJ
zvdtBF=%wL+27Bx?P1)?x$9&RV`cr!x*PSY6-<8?)*m?X=glNG;g*-$8yobE)vbxIU
zBCqV#H=iI!9n*dE5z!y#KWP&VyM{MCRzSN{aWr>$G>{u!aU2@__>ieF1Xd2wV8+C#
zJos$RLc^rH%F~8%y=uf@TA{W|!I80oYCn80FC^qJ;=Fn$Bvh!^Af(DEbU*c~1?MM3}e8tUSeQcztjHhegxI#hJo>+tNwzRnAlM
z43WK(#YYjL_N?nwenxl#$}7%-gfFn{2y0!R1}FO|6xD7Z+NQ#}<{gZmJPYiFaR_Q-
zF58QQ;0wLC&S_$g2t^~r=|o7FSjv3Oy$0X!>IN)<-x(&iRX7)PENAMw$Glm6h39r2S-DR}q<6PqSBq@C-j=6Z=3TugaY4B6nf
z<|Bf%kFYP5MugQukUIF2ALCgWrn(dvrlQ!vE|qo&**{qm>k-S1!^FZw&0fOkm~^!=
z7P@JP{|8u@RpSZqsP*Y^u#^==DM{Z<3R$|35RKtfHoglRX^6mt_4Y=JqGtwj|Q?NlJ>rjRg)3l~r=PP`Pney^(7zk}xh25;7T%_|u1NKg*4WTIkv9e2AIh=gOfZ&*kcZA|rhF0A(LvHfzla)O7k2MFWVIKtU+iE1eFRvk
zpG!R|+7|WTRX~t3f^RM9Lzv3`%TVqLZ`QEGai(YP*k!O%@J`yQ6c&04>tacmVT!q2
zLu^cO#zhwG_OPjZRG13as4xPvDvto4lvJIx?%LmZ)?7J$R4bJ=ijZ0&r|)wRLSID1
zSTFkkH_#6FI>N%LFsA?|C*Z9he-UoPUG)VTroum}j=)3=&q7r(O)hsMB{csv71$3W
zcSQ6~fv0TqV-iA7XJ0Io!u-7TVIdtMmb4;e;Ap^GQWmJ0^SSZU)vudiiH^&
zOY4l8QlCF-`*507?waBePqALLTM@KE`vZxm0&W*kXelizKN2*1hr}_fFwuZsObDia
z6B9O4TAjlbb~v%r=Pb)V!#2d97}glL5>>33B3v_M&v2qBPSih6D31$+QJQ{uaM04bszCi=cu9ZvR{4g3fp
z8#=hC2eL6-RulnTc5Y@#i9LE}`pb=Ayqb^Geg^58vHpdG;H0f;6S>6j!wP~jY)PF9
zK7w>aOs4=tUxbiNr_QL%aKZbn!>Bmmu7e2djTJE}U30CNk9zs>zz^+Awm
zPRBKSs9c_Ok@|ToRomSo0#dRnIV?Li7>pu`4F_aAnz($>{!ek(Aki9u6dbG8ZNwx6
z*|7-iw^Or)lRvRfh#Di=v^Gqb?>ZRxIX)3zD>?9pwlZwU;0CTyr>zKMzPO>8!GNM(
zYgXQqcjv`Z2IB8zhP19+a@2mxKHDg>rL~#1o?t;*IoJ0%72&QL$B%}x+X|DB^wL2MdkyVDAvI=RzZ`Mv5hzAjXvdR2>eb$=gK4#m{8ht^DA-8tq6Nzc)A
zk2x}GA_a&0Ly-|AFFqK&!M1+WWQK#&CS6BeAOH3^GW54?;KlSWzNnDH?WU@%m^NPw
zM_PR@Y3=TKHIOE~57w5hPwAwNP#+U`s2FbO8kC;SvRHEh^HcRh7bavunPce$vLW!e
zm}bf!(Tbtq5#5iowSk!Q9Ko1Ti1DN_(ou1?a4>D>@f-oc_l_@L-*n%U=
z?@gqK#T3saF_GIYCmfk&sFSrk095;t`M>Hk;wn6T8xyfJX9U4C$u(WxI)L)vUCi3_Bj)M#cs+|#andd|v>R43$s|za*LLuc+H!1GivmFTxmY5X35^x*n
zOG;ykstlls1h+Tfs+BuynEtAhW%r(w8MrOo>uHBhv_b=~Bb#nU-y#dO=ag1K6r%%g{sU>ao&8F|3?Dx%x=O7iFVtbofm!(2xMLz26yCX
zrKpY-l*_{NR(>Bwz=3<^BH_Tjlttho6~M$3VB*Bf2};DVn3?uw&3J@Pi4PG12SWde
zPQt#l5KP0T#1;r*nETTxG-dYC{Zdhh;sg|_Bt2hP!bDT$3;|wUjl_dtl;z@CyDP%{
zWusyq8u}}sx_lql`YVYr13TFFRMq#SOD`Q9Mjtm-*al%|5qNA!Un(ziLuK9ftuPwk
zW(wHzv1mVrAs+iD&t}0!a1iZUXT2~nf$D@=ts;(8x^3+ZHQp1mkV3j*9}Il)1tGMIi6<
zzj2A-DP2~R!s94Rti)`fH52(_X&dxJ(Jg2g`G)Zv9sojN?hk{{J1;{4EY2b;L+wTa
zKMl=#2+Ft_?Pt;6(H>Igs);9g*{$6{DOl7mXqo{kYk4d
z3EnlL_5Cp%TH>s>>lw0bRAPG`Q6{x;gpH7V?t8sBPDEx?p5_?6X8Z+E?G{dHq<(M5
zt@rWXcKz;7(C$oq&0bH?R&o$bWjAL>U@GXOt77A}gb=bjey>@r+jF2*cE^Z3V`jYP
zmxz9Ty?Y(+XLZZp;%6X+G9=qR)C>J{QmO9!qe9qL?dS9q^6s(9g^9VbfjhIKJzGkh
zw-#le^V!ZBS`H>|SZs_1I={*Bt30Z>J-+5qd_!I7uH8qqR9E&uS>x|!_1K!CLw6$O
zw@)5da6akM)mZNQ>^BiI@|)+w_mPf75h0V-I@$Qg(kU*lVV-8$=>hC?v0?F7k186Z
zSFf|7)-?7L
z;1wPap|NWJN=QnOo#e42b&nMxXx$p2LM;K8>&PHiq3x#+o0KtuEC*KP3vH^84)eus
z{*0Ag4<{{}34(2f0dvsESK@%mA=bRanV+Hc7{lHDP!hP86(NWY_2CT()>zoML&5C?
zDxQd@4FmnOIEHpKNKk2yDOTnr;pG-Ri4;e0&GW$-4F?2z~s4o}2E0a}ID&7Sd
zh%sc!;~QIP0w%x#@2KEnWTw60p&b2M=uv-RtKZe(
z$uk+e=m?3rjbnO}XxgZiq7u-7>MMBc#oyh{9(0o5+Z*bPj0g;$NAkq@O)Of=iUB?RRU<&Gd#oMR3j=_am~)yg9Hj*D{V72N1Q@HZB@)jjYFLBG|#
zbK&5AfD2zgFl$-OCBXlK(pyG7m$b@|(<1{vq+*&i
zCFSCONE7^@?phNsd*^M>$s~E`DSw?N{_2z)wpmTvdqkNhPM+IMBB`DNuNb|USpTxs
z`~J$e-5r``A?wf&kz)tQ^~L^_N>)M#2z>pBn0a=S$Llac9Da8c#nAyo)w_U{z1E>
zFM8|CYk-w=12wU9kKBb>C#G=w0P;;8We)CD7!FOF&46>qhP2Mjn`o1f1cb~C1mNYz
z?QnWk>rx^M4h?O7$Ai*^awl2M;)0zQl%fxW47|Xg$|YK;hsFxTLg}RtoLsYCURHn>
zJ1QrvohZW%9NUx;?0@mz$M&P1gcBMwv5Z{_I7p%6$X*sORKt~_+A#pdaBn7HQ_{OX
z8$Y)+s;H((?toXhZAlz7&5PGD%80v5l#{?ZuS3ATUet4kN_ZBK#%yPCno=pc|T@DQ&c{4v4iwbvcs)lCc
z;qkTFxPPJ)+6@q;P^9wKCdlT<^|J7JA|31OBH1j@bjT@)1kU(YRnzcZem-
zl(p|_Izl5oM?){fTNB_|O&-W8_~EI;dX
z^~pYY=f>LUv!zRKyOX*OgtRO0-_l?_Mn2!W^abM`;Yj+zi(+BE_{$)O;Dn%b@c!ED
zs0Q_cT1zzQi{0(N4>Ik63D(<6T>=^|HvFMVdjvY8n{#N
zAk}YM)uY43a3U{4=@^%akN^04+Xvw9!P90e;jTi+ege9}1CtPJeW2-<#ekn^FA)ms
zCqT}mbB&=WfSJeo3B~Km?18T7pN#hIQr$q5+~Tlsy%=)GRcKwfLW^E0a;wU2dGD8d
z=97`Z^n)E|^J?y9A_rfD^&Oa6lcuhju1$r)`Rd0&fZUz?+Eh;+m$SX3VvwSu&;dWg
z`i!d7mmIRh-|glbHE?`UZ7f$J@cF%hlkYTaDO;%eubhL58`cOHWskk1`^1nOmxlc}
z^QOlkWNfd+$xt^5OH~#`m~+jyKe^hVU{R!q;Hw{{;N{)@$1}}XhT!Ntra6V*$=p;@
zU#Eb?g1|RLR^|rini`d)e2U-AiO1p)bEp-?ABFEd4#%hmpf1m5(Q5N$Uk)k8gsa_o
zGtXl0?CyV$wdwQls_6YwQlZr~S1-6PnsLPB(p*`Dn!Z