From 9defc91b65e390f21995212c345369cd0f82670f Mon Sep 17 00:00:00 2001 From: Jack Sleight Date: Thu, 4 May 2023 10:41:06 +0100 Subject: [PATCH] Statamic v4 Support (#2) * Bump composer * Code style * WIP * WIP * WIP * WIP * WIP * WIP * WIP * Improve field widths at small container sizes * Cleanup * WIP * Rebuild assets --- .gitignore | 3 +- .php-cs-fixer.dist.php | 160 - CHANGELOG.md | 6 + README.md | 4 - composer.json | 2 +- composer.lock | 2483 +- config/statamic/miniset.php | 2 +- dist/build/assets/addon-8197aa4b.js | 46 + dist/build/assets/addon-c20cfa51.css | 1 + dist/build/manifest.json | 14 + dist/js/addon.js | 8113 ------- package-lock.json | 18830 +++------------- package.json | 20 +- postcss.config.js | 6 + resources/css/{addon.scss => addon.css} | 37 +- resources/js/addon.js | 2 +- .../fieldtypes/MinisetClassesFieldtype.vue | 16 +- .../fieldtypes/MinisetClassesGroup.vue | 5 +- src/Fieldtypes/MinisetClassesFieldtype.php | 2 +- src/Fieldtypes/MinisetFieldtype.php | 2 +- src/JitSafeScanner.php | 2 + src/ServiceProvider.php | 8 +- vite.config.js | 16 + webpack.mix.js | 5 - 24 files changed, 5056 insertions(+), 24729 deletions(-) delete mode 100644 .php-cs-fixer.dist.php create mode 100644 dist/build/assets/addon-8197aa4b.js create mode 100644 dist/build/assets/addon-c20cfa51.css create mode 100644 dist/build/manifest.json delete mode 100644 dist/js/addon.js create mode 100644 postcss.config.js rename resources/css/{addon.scss => addon.css} (88%) create mode 100644 vite.config.js delete mode 100644 webpack.mix.js diff --git a/.gitignore b/.gitignore index 6a02b28..fea0b8e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ composer.lock vendor node_modules mix-manifest.json -.php_cs.cache +.php-cs-fixer.cache +vite.hot diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php deleted file mode 100644 index 855e9e1..0000000 --- a/.php-cs-fixer.dist.php +++ /dev/null @@ -1,160 +0,0 @@ - true, - 'array_syntax' => ['syntax' => 'short'], - 'binary_operator_spaces' => [ - 'default' => 'single_space', - 'operators' => ['=>' => null], - ], - 'blank_line_after_namespace' => true, - 'blank_line_after_opening_tag' => true, - 'blank_line_before_statement' => [ - 'statements' => ['return'], - ], - 'braces' => true, - 'cast_spaces' => true, - 'class_attributes_separation' => [ - 'elements' => [ - 'method' => 'one', - ], - ], - 'class_definition' => [ - 'multi_line_extends_each_single_line' => true, - 'single_item_single_line' => true, - 'single_line' => true, - ], - 'concat_space' => [ - 'spacing' => 'none', - ], - 'constant_case' => ['case' => 'lower'], - 'declare_equal_normalize' => true, - 'elseif' => true, - 'encoding' => true, - 'full_opening_tag' => true, - 'fully_qualified_strict_types' => true, // added by Shift - 'function_declaration' => true, - 'function_typehint_space' => true, - 'general_phpdoc_tag_rename' => true, - 'heredoc_to_nowdoc' => true, - 'include' => true, - 'increment_style' => ['style' => 'post'], - 'indentation_type' => true, - 'linebreak_after_opening_tag' => true, - 'line_ending' => true, - 'lowercase_cast' => true, - 'lowercase_keywords' => true, - 'lowercase_static_reference' => true, // added from Symfony - 'magic_method_casing' => true, // added from Symfony - 'magic_constant_casing' => true, - 'method_argument_space' => [ - 'on_multiline' => 'ignore', - ], - 'multiline_whitespace_before_semicolons' => [ - 'strategy' => 'no_multi_line', - ], - 'native_function_casing' => true, - 'no_alias_functions' => true, - 'no_extra_blank_lines' => [ - 'tokens' => [ - 'extra', - 'throw', - 'use', - ], - ], - 'no_blank_lines_after_class_opening' => true, - 'no_blank_lines_after_phpdoc' => true, - 'no_closing_tag' => true, - 'no_empty_phpdoc' => true, - 'no_empty_statement' => true, - 'no_leading_import_slash' => true, - 'no_leading_namespace_whitespace' => true, - 'no_mixed_echo_print' => [ - 'use' => 'echo', - ], - 'no_multiline_whitespace_around_double_arrow' => true, - 'no_short_bool_cast' => true, - 'no_singleline_whitespace_before_semicolons' => true, - 'no_spaces_after_function_name' => true, - 'no_spaces_around_offset' => [ - 'positions' => ['inside', 'outside'], - ], - 'no_spaces_inside_parenthesis' => 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_unneeded_control_parentheses' => [ - 'statements' => ['break', 'clone', 'continue', 'echo_print', 'return', 'switch_case', 'yield'], - ], - 'no_unreachable_default_argument_value' => true, - 'no_unused_imports' => true, - 'no_useless_return' => true, - 'no_whitespace_before_comma_in_array' => true, - 'no_whitespace_in_blank_line' => true, - 'normalize_index_brace' => true, - 'not_operator_with_successor_space' => true, - 'object_operator_without_whitespace' => true, - 'ordered_imports' => ['sort_algorithm' => 'alpha'], - 'psr_autoloading' => true, - 'phpdoc_indent' => true, - 'phpdoc_inline_tag_normalizer' => true, - 'phpdoc_no_access' => true, - 'phpdoc_no_package' => true, - 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_scalar' => true, - 'phpdoc_single_line_var_spacing' => true, - 'phpdoc_summary' => false, - 'phpdoc_to_comment' => false, // override to preserve user preference - 'phpdoc_tag_type' => true, - 'phpdoc_trim' => true, - 'phpdoc_types' => true, - 'phpdoc_var_without_name' => true, - 'self_accessor' => true, - 'short_scalar_cast' => true, - 'simplified_null_return' => false, // disabled as "risky" - 'single_blank_line_at_eof' => true, - 'single_blank_line_before_namespace' => true, - 'single_class_element_per_statement' => [ - 'elements' => ['const', 'property'], - ], - 'single_import_per_statement' => true, - 'single_line_after_imports' => true, - 'single_line_comment_style' => [ - 'comment_types' => ['hash'], - ], - 'single_quote' => true, - 'space_after_semicolon' => true, - 'standardize_not_equals' => true, - 'switch_case_semicolon_to_colon' => true, - 'switch_case_space' => true, - 'ternary_operator_spaces' => true, - 'trailing_comma_in_multiline' => ['elements' => ['arrays']], - 'trim_array_spaces' => true, - 'unary_operator_spaces' => true, - 'visibility_required' => [ - 'elements' => ['method', 'property'], - ], - 'whitespace_after_comma_in_array' => true, -]; - -$finder = Finder::create() - ->in([ - __DIR__.'/src', - __DIR__.'/config', - // __DIR__.'/routes', - // __DIR__.'/tests', - ]) - ->name('*.php') - ->notName('*.blade.php') - ->ignoreDotFiles(true) - ->ignoreVCS(true); - -return (new Config) - ->setFinder($finder) - ->setRules($rules) - ->setRiskyAllowed(true) - ->setUsingCache(true); \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 29e3b4d..832f1cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.0 (2023-05-04) + +- [new] Statamic 4 support +- Improved field widths at small container sizes +- Dropped support for Statamic 3 + ## 0.3.1 (2022-11-07) - [fix] Compatibilty with Statamic 3.3.50 diff --git a/README.md b/README.md index 2291474..4cb7161 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ -![Statamic](https://flat.badgen.net/badge/Statamic/3.3+/FF269E) -![Packagist version](https://flat.badgen.net/packagist/v/jacksleight/statamic-miniset) -![License](https://flat.badgen.net/github/license/jacksleight/statamic-miniset) - # Miniset diff --git a/composer.json b/composer.json index 88118d5..7db67cb 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ } }, "require": { - "statamic/cms": "^3.3" + "statamic/cms": "^4.0" }, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index e97854d..7bc93a6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,30 +4,30 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b97bc8ddbd7245bb6082a8f1e1608496", + "content-hash": "d80e3fe6f0a714b197b74fd9017038dc", "packages": [ { "name": "ajthinking/archetype", - "version": "v1.0.3", + "version": "v1.1.5", "source": { "type": "git", "url": "https://github.com/ajthinking/archetype.git", - "reference": "9ffd7c1799201ba5396c9e47f91d0da8e88f4502" + "reference": "cfee02623c784da8ac4004803efed99fc56ead18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ajthinking/archetype/zipball/9ffd7c1799201ba5396c9e47f91d0da8e88f4502", - "reference": "9ffd7c1799201ba5396c9e47f91d0da8e88f4502", + "url": "https://api.github.com/repos/ajthinking/archetype/zipball/cfee02623c784da8ac4004803efed99fc56ead18", + "reference": "cfee02623c784da8ac4004803efed99fc56ead18", "shasum": "" }, "require": { "nikic/php-parser": "^4.11" }, "require-dev": { - "ircmaxell/php-ast-visualizer": "dev-master", "laravel/laravel": "^6.0 || ^7.0 || ^8.0 || ^9.0", "orchestra/testbench": "^4.0 || ^5.0 || ^6.0", "pestphp/pest": "^1.21", + "phpstan/phpstan": "^1.6", "phpunit/phpunit": "^8.0 || ^9.5" }, "type": "package", @@ -65,32 +65,32 @@ ], "support": { "issues": "https://github.com/ajthinking/archetype/issues", - "source": "https://github.com/ajthinking/archetype/tree/v1.0.3" + "source": "https://github.com/ajthinking/archetype/tree/v1.1.5" }, - "time": "2022-03-09T15:11:10+00:00" + "time": "2022-08-24T05:52:35+00:00" }, { "name": "brick/math", - "version": "0.9.3", + "version": "0.10.2", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" + "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", + "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f", + "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.1 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", - "vimeo/psalm": "4.9.2" + "phpunit/phpunit": "^9.0", + "vimeo/psalm": "4.25.0" }, "type": "library", "autoload": { @@ -115,32 +115,28 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.9.3" + "source": "https://github.com/brick/math/tree/0.10.2" }, "funding": [ { "url": "https://github.com/BenMorel", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/brick/math", - "type": "tidelift" } ], - "time": "2021-08-15T20:50:18+00:00" + "time": "2022-08-10T22:54:19+00:00" }, { "name": "composer/ca-bundle", - "version": "1.3.1", + "version": "1.3.5", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b" + "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b", - "reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", + "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd", "shasum": "" }, "require": { @@ -187,7 +183,80 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.1" + "source": "https://github.com/composer/ca-bundle/tree/1.3.5" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2023-01-11T08:27:00+00:00" + }, + { + "name": "composer/class-map-generator", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/class-map-generator.git", + "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", + "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513", + "shasum": "" + }, + "require": { + "composer/pcre": "^2 || ^3", + "php": "^7.2 || ^8.0", + "symfony/finder": "^4.4 || ^5.3 || ^6" + }, + "require-dev": { + "phpstan/phpstan": "^1.6", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/filesystem": "^5.4 || ^6", + "symfony/phpunit-bridge": "^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\ClassMapGenerator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Utilities to scan PHP code and generate class maps.", + "keywords": [ + "classmap" + ], + "support": { + "issues": "https://github.com/composer/class-map-generator/issues", + "source": "https://github.com/composer/class-map-generator/tree/1.0.0" }, "funding": [ { @@ -203,28 +272,29 @@ "type": "tidelift" } ], - "time": "2021-10-28T20:44:15+00:00" + "time": "2022-06-19T11:31:27+00:00" }, { "name": "composer/composer", - "version": "2.3.3", + "version": "2.5.5", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "b0024890b8650e52d1a29822856b3c95aa393785" + "reference": "c7cffaad16a60636a776017eac5bd8cd0095c32f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/b0024890b8650e52d1a29822856b3c95aa393785", - "reference": "b0024890b8650e52d1a29822856b3c95aa393785", + "url": "https://api.github.com/repos/composer/composer/zipball/c7cffaad16a60636a776017eac5bd8cd0095c32f", + "reference": "c7cffaad16a60636a776017eac5bd8cd0095c32f", "shasum": "" }, "require": { "composer/ca-bundle": "^1.0", + "composer/class-map-generator": "^1.0", "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2 || ^3", + "composer/pcre": "^2.1 || ^3.1", "composer/semver": "^3.0", - "composer/spdx-licenses": "^1.2", + "composer/spdx-licenses": "^1.5.7", "composer/xdebug-handler": "^2.0.2 || ^3.0.3", "justinrainbow/json-schema": "^5.2.11", "php": "^7.2.5 || ^8.0", @@ -232,19 +302,21 @@ "react/promise": "^2.8", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.2", - "symfony/console": "^5.4.1 || ^6.0", + "seld/signal-handler": "^2.0", + "symfony/console": "^5.4.11 || ^6.0.11", "symfony/filesystem": "^5.4 || ^6.0", "symfony/finder": "^5.4 || ^6.0", "symfony/polyfill-php73": "^1.24", "symfony/polyfill-php80": "^1.24", + "symfony/polyfill-php81": "^1.24", "symfony/process": "^5.4 || ^6.0" }, "require-dev": { - "phpstan/phpstan": "^1.4.1", + "phpstan/phpstan": "^1.9.3", "phpstan/phpstan-deprecation-rules": "^1", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1", - "phpstan/phpstan-symfony": "^1.1", + "phpstan/phpstan-symfony": "^1.2.10", "symfony/phpunit-bridge": "^6.0" }, "suggest": { @@ -258,7 +330,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.3-dev" + "dev-main": "2.5-dev" + }, + "phpstan": { + "includes": [ + "phpstan/rules.neon" + ] } }, "autoload": { @@ -292,7 +369,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.3.3" + "source": "https://github.com/composer/composer/tree/2.5.5" }, "funding": [ { @@ -308,7 +385,7 @@ "type": "tidelift" } ], - "time": "2022-04-01T20:15:35+00:00" + "time": "2023-03-21T10:50:05+00:00" }, { "name": "composer/metadata-minifier", @@ -381,16 +458,16 @@ }, { "name": "composer/pcre", - "version": "3.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd" + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd", - "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, "require": { @@ -432,7 +509,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.0.0" + "source": "https://github.com/composer/pcre/tree/3.1.0" }, "funding": [ { @@ -448,7 +525,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T20:21:48+00:00" + "time": "2022-11-17T09:50:14+00:00" }, { "name": "composer/semver", @@ -533,16 +610,16 @@ }, { "name": "composer/spdx-licenses", - "version": "1.5.6", + "version": "1.5.7", "source": { "type": "git", "url": "https://github.com/composer/spdx-licenses.git", - "reference": "a30d487169d799745ca7280bc90fdfa693536901" + "reference": "c848241796da2abf65837d51dce1fae55a960149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/a30d487169d799745ca7280bc90fdfa693536901", - "reference": "a30d487169d799745ca7280bc90fdfa693536901", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/c848241796da2abf65837d51dce1fae55a960149", + "reference": "c848241796da2abf65837d51dce1fae55a960149", "shasum": "" }, "require": { @@ -593,7 +670,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.6" + "source": "https://github.com/composer/spdx-licenses/tree/1.5.7" }, "funding": [ { @@ -609,7 +686,7 @@ "type": "tidelift" } ], - "time": "2021-11-18T10:14:14+00:00" + "time": "2022-05-23T07:37:50+00:00" }, { "name": "composer/xdebug-handler", @@ -679,16 +756,16 @@ }, { "name": "dflydev/dot-access-data", - "version": "v3.0.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "0992cc19268b259a39e86f296da5f0677841f42c" + "reference": "f41715465d65213d644d3141a6a93081be5d3549" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/0992cc19268b259a39e86f296da5f0677841f42c", - "reference": "0992cc19268b259a39e86f296da5f0677841f42c", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", + "reference": "f41715465d65213d644d3141a6a93081be5d3549", "shasum": "" }, "require": { @@ -699,7 +776,7 @@ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", "scrutinizer/ocular": "1.6.0", "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^3.14" + "vimeo/psalm": "^4.0.0" }, "type": "library", "extra": { @@ -748,34 +825,34 @@ ], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", - "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.1" + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" }, - "time": "2021-08-13T13:06:58+00:00" + "time": "2022-10-27T11:44:00+00:00" }, { "name": "doctrine/inflector", - "version": "2.0.4", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", + "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^4.10" + "doctrine/coding-standard": "^10", + "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" }, "type": "library", "autoload": { @@ -825,7 +902,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.4" + "source": "https://github.com/doctrine/inflector/tree/2.0.6" }, "funding": [ { @@ -841,35 +918,36 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:16:43+00:00" + "time": "2022-10-20T09:10:12+00:00" }, { "name": "doctrine/lexer", - "version": "1.2.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + "reference": "84a527db05647743d50373e0ec53a152f2cde568" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", + "reference": "84a527db05647743d50373e0ec53a152f2cde568", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.11" + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.0" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + "Doctrine\\Common\\Lexer\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -901,7 +979,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.3" + "source": "https://github.com/doctrine/lexer/tree/3.0.0" }, "funding": [ { @@ -917,20 +995,20 @@ "type": "tidelift" } ], - "time": "2022-02-28T11:07:21+00:00" + "time": "2022-12-15T16:57:16+00:00" }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.1", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa" + "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa", - "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8", + "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8", "shasum": "" }, "require": { @@ -970,7 +1048,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2" }, "funding": [ { @@ -978,31 +1056,30 @@ "type": "github" } ], - "time": "2022-01-18T15:43:28+00:00" + "time": "2022-09-10T18:51:20+00:00" }, { "name": "egulias/email-validator", - "version": "3.1.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "ee0db30118f661fb166bcffbf5d82032df484697" + "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ee0db30118f661fb166bcffbf5d82032df484697", - "reference": "ee0db30118f661fb166bcffbf5d82032df484697", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/3a85486b709bc384dae8eb78fb2eec649bdb64ff", + "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff", "shasum": "" }, "require": { - "doctrine/lexer": "^1.2", - "php": ">=7.2", - "symfony/polyfill-intl-idn": "^1.15" + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^8.5.8|^9.3.3", - "vimeo/psalm": "^4" + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^4.30" }, "suggest": { "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" @@ -1010,7 +1087,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "4.0.x-dev" } }, "autoload": { @@ -1038,7 +1115,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/3.1.2" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.1" }, "funding": [ { @@ -1046,7 +1123,7 @@ "type": "github" } ], - "time": "2021-10-11T09:18:27+00:00" + "time": "2023-01-14T14:17:03+00:00" }, { "name": "facade/ignition-contracts", @@ -1174,24 +1251,24 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.0.4", + "version": "v1.1.1", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "0690bde05318336c7221785f2a932467f98b64ca" + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", - "reference": "0690bde05318336c7221785f2a932467f98b64ca", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0", - "phpoption/phpoption": "^1.8" + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.1" }, "require-dev": { - "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, "type": "library", "autoload": { @@ -1220,7 +1297,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.1" }, "funding": [ { @@ -1232,26 +1309,26 @@ "type": "tidelift" } ], - "time": "2021-11-21T21:41:47+00:00" + "time": "2023-02-25T20:23:15+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.4.2", + "version": "7.5.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "ac1ec1cd9b5624694c3a40be801d94137afb12b4" + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ac1ec1cd9b5624694c3a40be801d94137afb12b4", - "reference": "ac1ec1cd9b5624694c3a40be801d94137afb12b4", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "guzzlehttp/psr7": "^1.9 || ^2.4", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -1260,10 +1337,10 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.1", "ext-curl": "*", "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -1273,8 +1350,12 @@ }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "7.4-dev" + "dev-master": "7.5-dev" } }, "autoload": { @@ -1340,7 +1421,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.2" + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" }, "funding": [ { @@ -1356,20 +1437,20 @@ "type": "tidelift" } ], - "time": "2022-03-20T14:16:28+00:00" + "time": "2022-08-28T15:39:27+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.1", + "version": "1.5.2", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + "reference": "b94b2807d85443f9719887892882d0329d1e2598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", "shasum": "" }, "require": { @@ -1424,7 +1505,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.1" + "source": "https://github.com/guzzle/promises/tree/1.5.2" }, "funding": [ { @@ -1440,20 +1521,20 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:56:57+00:00" + "time": "2022-08-28T14:55:35+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.2.1", + "version": "2.4.4", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2" + "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2", - "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "shasum": "" }, "require": { @@ -1467,17 +1548,21 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.1", "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.8 || ^9.3.10" + "phpunit/phpunit": "^8.5.29 || ^9.5.23" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -1539,7 +1624,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.2.1" + "source": "https://github.com/guzzle/psr7/tree/2.4.4" }, "funding": [ { @@ -1555,20 +1640,104 @@ "type": "tidelift" } ], - "time": "2022-03-20T21:55:58+00:00" + "time": "2023-03-09T13:19:02+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/b945d74a55a25a949158444f09ec0d3c120d69e2", + "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.17" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.19 || ^9.5.8", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2021-10-07T12:57:01+00:00" }, { "name": "intervention/image", - "version": "2.7.1", + "version": "2.7.2", "source": { "type": "git", "url": "https://github.com/Intervention/image.git", - "reference": "744ebba495319501b873a4e48787759c72e3fb8c" + "reference": "04be355f8d6734c826045d02a1079ad658322dad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Intervention/image/zipball/744ebba495319501b873a4e48787759c72e3fb8c", - "reference": "744ebba495319501b873a4e48787759c72e3fb8c", + "url": "https://api.github.com/repos/Intervention/image/zipball/04be355f8d6734c826045d02a1079ad658322dad", + "reference": "04be355f8d6734c826045d02a1079ad658322dad", "shasum": "" }, "require": { @@ -1611,8 +1780,8 @@ "authors": [ { "name": "Oliver Vogel", - "email": "oliver@olivervogel.com", - "homepage": "http://olivervogel.com/" + "email": "oliver@intervention.io", + "homepage": "https://intervention.io/" } ], "description": "Image handling and manipulation library with support for Laravel integration", @@ -1627,11 +1796,11 @@ ], "support": { "issues": "https://github.com/Intervention/image/issues", - "source": "https://github.com/Intervention/image/tree/2.7.1" + "source": "https://github.com/Intervention/image/tree/2.7.2" }, "funding": [ { - "url": "https://www.paypal.me/interventionphp", + "url": "https://paypal.me/interventionio", "type": "custom" }, { @@ -1639,20 +1808,20 @@ "type": "github" } ], - "time": "2021-12-16T16:49:26+00:00" + "time": "2022-05-21T17:30:32+00:00" }, { "name": "james-heinrich/getid3", - "version": "v1.9.21", + "version": "v1.9.22", "source": { "type": "git", "url": "https://github.com/JamesHeinrich/getID3.git", - "reference": "36f5dabb1325415a4b07a401113f8db2eb81eca1" + "reference": "45f20faa0f0a24489740392c5b512ddcc36deccd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JamesHeinrich/getID3/zipball/36f5dabb1325415a4b07a401113f8db2eb81eca1", - "reference": "36f5dabb1325415a4b07a401113f8db2eb81eca1", + "url": "https://api.github.com/repos/JamesHeinrich/getID3/zipball/45f20faa0f0a24489740392c5b512ddcc36deccd", + "reference": "45f20faa0f0a24489740392c5b512ddcc36deccd", "shasum": "" }, "require": { @@ -1704,22 +1873,22 @@ ], "support": { "issues": "https://github.com/JamesHeinrich/getID3/issues", - "source": "https://github.com/JamesHeinrich/getID3/tree/v1.9.21" + "source": "https://github.com/JamesHeinrich/getID3/tree/v1.9.22" }, - "time": "2021-09-22T16:34:51+00:00" + "time": "2022-09-29T16:41:13+00:00" }, { "name": "justinrainbow/json-schema", - "version": "5.2.11", + "version": "5.2.12", "source": { "type": "git", "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa" + "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ab6744b7296ded80f8cc4f9509abbff393399aa", - "reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "shasum": "" }, "require": { @@ -1774,36 +1943,36 @@ ], "support": { "issues": "https://github.com/justinrainbow/json-schema/issues", - "source": "https://github.com/justinrainbow/json-schema/tree/5.2.11" + "source": "https://github.com/justinrainbow/json-schema/tree/5.2.12" }, - "time": "2021-07-22T09:24:00+00:00" + "time": "2022-04-13T08:02:27+00:00" }, { "name": "laragraph/utils", - "version": "v1.3.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/laragraph/utils.git", - "reference": "a50eb1782a4b832236485328d132055bc8d5387a" + "reference": "802c2c27076842fee491587ba6abeec9f0c5e271" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laragraph/utils/zipball/a50eb1782a4b832236485328d132055bc8d5387a", - "reference": "a50eb1782a4b832236485328d132055bc8d5387a", + "url": "https://api.github.com/repos/laragraph/utils/zipball/802c2c27076842fee491587ba6abeec9f0c5e271", + "reference": "802c2c27076842fee491587ba6abeec9f0c5e271", "shasum": "" }, "require": { - "illuminate/contracts": "5.6.* || 5.7.* || 5.8.* || ^6 || ^7 || ^8 || ^9", - "illuminate/http": "5.6.* || 5.7.* || 5.8.* || ^6 || ^7 || ^8 || ^9", + "illuminate/contracts": "5.6.* || 5.7.* || 5.8.* || ^6 || ^7 || ^8 || ^9 || ^10", + "illuminate/http": "5.6.* || 5.7.* || 5.8.* || ^6 || ^7 || ^8 || ^9 || ^10", "php": "^7.2 || ^8", "thecodingmachine/safe": "^1.1 || ^2", - "webonyx/graphql-php": "^0.13.2 || ^14" + "webonyx/graphql-php": "^0.13.2 || ^14 || ^15" }, "require-dev": { "ergebnis/composer-normalize": "^2.11", "jangregor/phpstan-prophecy": "^1", "mll-lab/php-cs-fixer-config": "^4.4", - "orchestra/testbench": "3.6.* || 3.7.* || 3.8.* || 3.9.* || ^4 || ^5 || ^6 || ^7", + "orchestra/testbench": "3.6.* || 3.7.* || 3.8.* || 3.9.* || ^4 || ^5 || ^6 || ^7 || ^8", "phpstan/extension-installer": "^1", "phpstan/phpstan": "^1", "phpstan/phpstan-deprecation-rules": "^1", @@ -1834,50 +2003,60 @@ "issues": "https://github.com/laragraph/utils/issues", "source": "https://github.com/laragraph/utils" }, - "time": "2022-01-14T10:37:06+00:00" + "time": "2023-01-31T11:37:28+00:00" }, { "name": "laravel/framework", - "version": "v9.6.0", + "version": "v10.6.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "47940a1a8774b96696ed57e6736ccea4a880c057" + "reference": "13dc93889617427352f72b6aa8b195b252af1197" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/47940a1a8774b96696ed57e6736ccea4a880c057", - "reference": "47940a1a8774b96696ed57e6736ccea4a880c057", + "url": "https://api.github.com/repos/laravel/framework/zipball/13dc93889617427352f72b6aa8b195b252af1197", + "reference": "13dc93889617427352f72b6aa8b195b252af1197", "shasum": "" }, "require": { - "doctrine/inflector": "^2.0", - "dragonmantank/cron-expression": "^3.1", - "egulias/email-validator": "^3.1", + "brick/math": "^0.9.3|^0.10.2|^0.11", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", "ext-mbstring": "*", "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", "fruitcake/php-cors": "^1.2", - "laravel/serializable-closure": "^1.0", - "league/commonmark": "^2.2", - "league/flysystem": "^3.0", - "monolog/monolog": "^2.0", - "nesbot/carbon": "^2.53.1", - "php": "^8.0.2", + "guzzlehttp/uri-template": "^1.0", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.62.1", + "nunomaduro/termwind": "^1.13", + "php": "^8.1", "psr/container": "^1.1.1|^2.0.1", "psr/log": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0", - "ramsey/uuid": "^4.2.2", - "symfony/console": "^6.0", - "symfony/error-handler": "^6.0", - "symfony/finder": "^6.0", - "symfony/http-foundation": "^6.0", - "symfony/http-kernel": "^6.0", - "symfony/mailer": "^6.0", - "symfony/mime": "^6.0", - "symfony/process": "^6.0", - "symfony/routing": "^6.0", - "symfony/var-dumper": "^6.0", - "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "ramsey/uuid": "^4.7", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.2", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.4.1", "voku/portable-ascii": "^2.0" }, @@ -1912,6 +2091,7 @@ "illuminate/notifications": "self.version", "illuminate/pagination": "self.version", "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", "illuminate/queue": "self.version", "illuminate/redis": "self.version", "illuminate/routing": "self.version", @@ -1923,58 +2103,68 @@ "illuminate/view": "self.version" }, "require-dev": { - "aws/aws-sdk-php": "^3.198.1", - "doctrine/dbal": "^2.13.3|^3.1.4", - "fakerphp/faker": "^1.9.2", - "guzzlehttp/guzzle": "^7.2", + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "doctrine/dbal": "^3.5.1", + "ext-gmp": "*", + "fakerphp/faker": "^1.21", + "guzzlehttp/guzzle": "^7.5", "league/flysystem-aws-s3-v3": "^3.0", "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", - "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^7.1", + "mockery/mockery": "^1.5.1", + "orchestra/testbench-core": "^8.4", "pda/pheanstalk": "^4.0", + "phpstan/phpdoc-parser": "^1.15", "phpstan/phpstan": "^1.4.7", - "phpunit/phpunit": "^9.5.8", - "predis/predis": "^1.1.9", - "symfony/cache": "^6.0" + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.198.1).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", "brianium/paratest": "Required to run tests in parallel (^6.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", - "ext-bcmath": "Required to use the multiple_of validation rule.", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).", - "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.2).", + "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).", "laravel/tinker": "Required to use the tinker console command (^2.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", - "mockery/mockery": "Required to use mocking (^1.4.4).", + "mockery/mockery": "Required to use mocking (^1.5.1).", "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).", - "predis/predis": "Required to use the predis connector (^1.1.9).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "predis/predis": "Required to use the predis connector (^2.0.2).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^6.0).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^6.0).", - "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.0).", - "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).", - "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.x-dev" + "dev-master": "10.x-dev" } }, "autoload": { @@ -2013,24 +2203,24 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-03-29T14:41:26+00:00" + "time": "2023-04-05T15:28:17+00:00" }, { "name": "laravel/helpers", - "version": "v1.5.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/laravel/helpers.git", - "reference": "c28b0ccd799d58564c41a62395ac9511a1e72931" + "reference": "4dd0f9436d3911611622a6ced8329a1710576f60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/helpers/zipball/c28b0ccd799d58564c41a62395ac9511a1e72931", - "reference": "c28b0ccd799d58564c41a62395ac9511a1e72931", + "url": "https://api.github.com/repos/laravel/helpers/zipball/4dd0f9436d3911611622a6ced8329a1710576f60", + "reference": "4dd0f9436d3911611622a6ced8329a1710576f60", "shasum": "" }, "require": { - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0", + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", "php": "^7.1.3|^8.0" }, "require-dev": { @@ -2067,31 +2257,32 @@ "laravel" ], "support": { - "source": "https://github.com/laravel/helpers/tree/v1.5.0" + "source": "https://github.com/laravel/helpers/tree/v1.6.0" }, - "time": "2022-01-12T15:58:51+00:00" + "time": "2023-01-09T14:48:11+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.1.1", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e" + "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/9e4b005daa20b0c161f3845040046dc9ddc1d74e", - "reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/f23fe9d4e95255dacee1bf3525e0810d1a1b0f37", + "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "pestphp/pest": "^1.18", - "phpstan/phpstan": "^0.12.98", - "symfony/var-dumper": "^5.3" + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" }, "type": "library", "extra": { @@ -2128,20 +2319,20 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2022-02-11T19:23:53+00:00" + "time": "2023-01-30T18:31:20+00:00" }, { "name": "league/commonmark", - "version": "2.2.3", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "47b015bc4e50fd4438c1ffef6139a1fb65d2ab71" + "reference": "d44a24690f16b8c1808bf13b1bd54ae4c63ea048" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/47b015bc4e50fd4438c1ffef6139a1fb65d2ab71", - "reference": "47b015bc4e50fd4438c1ffef6139a1fb65d2ab71", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d44a24690f16b8c1808bf13b1bd54ae4c63ea048", + "reference": "d44a24690f16b8c1808bf13b1bd54ae4c63ea048", "shasum": "" }, "require": { @@ -2150,24 +2341,26 @@ "php": "^7.4 || ^8.0", "psr/event-dispatcher": "^1.0", "symfony/deprecation-contracts": "^2.1 || ^3.0", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php80": "^1.16" }, "require-dev": { "cebe/markdown": "^1.0", "commonmark/cmark": "0.30.0", "commonmark/commonmark.js": "0.30.0", "composer/package-versions-deprecated": "^1.8", + "embed/embed": "^4.4", "erusev/parsedown": "^1.0", "ext-json": "*", "github/gfm": "0.29.0", - "michelf/php-markdown": "^1.4", - "phpstan/phpstan": "^0.12.88 || ^1.0.0", - "phpunit/phpunit": "^9.5.5", + "michelf/php-markdown": "^1.4 || ^2.0", + "nyholm/psr7": "^1.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3", + "symfony/finder": "^5.3 | ^6.0", "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", - "unleashedtech/php-coding-standard": "^3.1", - "vimeo/psalm": "^4.7.3" + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -2175,7 +2368,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.3-dev" + "dev-main": "2.5-dev" } }, "autoload": { @@ -2232,20 +2425,20 @@ "type": "tidelift" } ], - "time": "2022-02-26T21:24:45+00:00" + "time": "2023-03-24T15:16:10+00:00" }, { "name": "league/config", - "version": "v1.1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/thephpleague/config.git", - "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e" + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/config/zipball/a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", - "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", "shasum": "" }, "require": { @@ -2254,7 +2447,7 @@ "php": "^7.4 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.90", + "phpstan/phpstan": "^1.8.2", "phpunit/phpunit": "^9.5.5", "scrutinizer/ocular": "^1.8.1", "unleashedtech/php-coding-standard": "^3.1", @@ -2314,38 +2507,41 @@ "type": "github" } ], - "time": "2021-08-14T12:15:32+00:00" + "time": "2022-12-11T20:36:23+00:00" }, { "name": "league/csv", - "version": "9.8.0", + "version": "9.9.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "9d2e0265c5d90f5dd601bc65ff717e05cec19b47" + "reference": "b4418ede47fbd88facc34e40a16c8ce9153b961b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/9d2e0265c5d90f5dd601bc65ff717e05cec19b47", - "reference": "9d2e0265c5d90f5dd601bc65ff717e05cec19b47", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/b4418ede47fbd88facc34e40a16c8ce9153b961b", + "reference": "b4418ede47fbd88facc34e40a16c8ce9153b961b", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "php": "^7.4 || ^8.0" + "php": "^8.1.2" }, "require-dev": { - "ext-curl": "*", + "doctrine/collections": "^2.1.2", "ext-dom": "*", - "friendsofphp/php-cs-fixer": "^v3.4.0", - "phpstan/phpstan": "^1.3.0", - "phpstan/phpstan-phpunit": "^1.0.0", - "phpstan/phpstan-strict-rules": "^1.1.0", - "phpunit/phpunit": "^9.5.11" + "ext-xdebug": "*", + "friendsofphp/php-cs-fixer": "^v3.14.3", + "phpbench/phpbench": "^1.2.8", + "phpstan/phpstan": "^1.10.4", + "phpstan/phpstan-deprecation-rules": "^1.1.2", + "phpstan/phpstan-phpunit": "^1.3.10", + "phpstan/phpstan-strict-rules": "^1.5.0", + "phpunit/phpunit": "^10.0.14" }, "suggest": { - "ext-dom": "Required to use the XMLConverter and or the HTMLConverter classes", + "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes", "ext-iconv": "Needed to ease transcoding CSV using iconv stream filters" }, "type": "library", @@ -2398,20 +2594,20 @@ "type": "github" } ], - "time": "2022-01-04T00:13:07+00:00" + "time": "2023-03-11T15:57:12+00:00" }, { "name": "league/flysystem", - "version": "3.0.13", + "version": "3.12.3", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "15dc1ccb2db8daef507c4d3e501565bae42a9f0e" + "reference": "81e87e74dd5213795c7846d65089712d2dda90ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/15dc1ccb2db8daef507c4d3e501565bae42a9f0e", - "reference": "15dc1ccb2db8daef507c4d3e501565bae42a9f0e", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/81e87e74dd5213795c7846d65089712d2dda90ce", + "reference": "81e87e74dd5213795c7846d65089712d2dda90ce", "shasum": "" }, "require": { @@ -2422,12 +2618,13 @@ "aws/aws-sdk-php": "3.209.31 || 3.210.0", "guzzlehttp/guzzle": "<7.0", "guzzlehttp/ringphp": "<1.1.1", + "phpseclib/phpseclib": "3.0.15", "symfony/http-client": "<5.2" }, "require-dev": { "async-aws/s3": "^1.5", - "async-aws/simple-s3": "^1.0", - "aws/aws-sdk-php": "^3.198.1", + "async-aws/simple-s3": "^1.1", + "aws/aws-sdk-php": "^3.220.0", "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", @@ -2435,7 +2632,7 @@ "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", "microsoft/azure-storage-blob": "^1.1", - "phpseclib/phpseclib": "^2.0", + "phpseclib/phpseclib": "^3.0.14", "phpstan/phpstan": "^0.12.26", "phpunit/phpunit": "^9.5.11", "sabre/dav": "^4.3.1" @@ -2472,11 +2669,11 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.0.13" + "source": "https://github.com/thephpleague/flysystem/tree/3.12.3" }, "funding": [ { - "url": "https://offset.earth/frankdejonge", + "url": "https://ecologi.com/frankdejonge", "type": "custom" }, { @@ -2488,20 +2685,20 @@ "type": "tidelift" } ], - "time": "2022-04-02T08:55:13+00:00" + "time": "2023-02-18T15:32:41+00:00" }, { "name": "league/glide", - "version": "2.2.2", + "version": "2.2.3", "source": { "type": "git", "url": "https://github.com/thephpleague/glide.git", - "reference": "bff5b0fe2fd26b2fde2d6958715fde313887d79d" + "reference": "446b1fc9f15101db52e8ddb7bec8cb16e814b244" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/glide/zipball/bff5b0fe2fd26b2fde2d6958715fde313887d79d", - "reference": "bff5b0fe2fd26b2fde2d6958715fde313887d79d", + "url": "https://api.github.com/repos/thephpleague/glide/zipball/446b1fc9f15101db52e8ddb7bec8cb16e814b244", + "reference": "446b1fc9f15101db52e8ddb7bec8cb16e814b244", "shasum": "" }, "require": { @@ -2551,22 +2748,22 @@ ], "support": { "issues": "https://github.com/thephpleague/glide/issues", - "source": "https://github.com/thephpleague/glide/tree/2.2.2" + "source": "https://github.com/thephpleague/glide/tree/2.2.3" }, - "time": "2022-02-21T07:40:55+00:00" + "time": "2023-02-14T06:15:26+00:00" }, { "name": "league/mime-type-detection", - "version": "1.9.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69" + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc927863d47309b4c23e69", - "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", "shasum": "" }, "require": { @@ -2597,7 +2794,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.9.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" }, "funding": [ { @@ -2609,7 +2806,85 @@ "type": "tidelift" } ], - "time": "2021-11-21T11:48:40+00:00" + "time": "2022-04-17T13:12:02+00:00" + }, + { + "name": "maennchen/zipstream-php", + "version": "v2.4.0", + "source": { + "type": "git", + "url": "https://github.com/maennchen/ZipStream-PHP.git", + "reference": "3fa72e4c71a43f9e9118752a5c90e476a8dc9eb3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/3fa72e4c71a43f9e9118752a5c90e476a8dc9eb3", + "reference": "3fa72e4c71a43f9e9118752a5c90e476a8dc9eb3", + "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.4.0" + }, + "funding": [ + { + "url": "https://github.com/maennchen", + "type": "github" + }, + { + "url": "https://opencollective.com/zipstream", + "type": "open_collective" + } + ], + "time": "2022-12-08T12:29:14+00:00" }, { "name": "michelf/php-smartypants", @@ -2667,40 +2942,43 @@ }, { "name": "monolog/monolog", - "version": "2.4.0", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "d7fd7450628561ba697b7097d86db72662f54aef" + "reference": "9b5daeaffce5b926cac47923798bba91059e60e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d7fd7450628561ba697b7097d86db72662f54aef", - "reference": "d7fd7450628561ba697b7097d86db72662f54aef", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/9b5daeaffce5b926cac47923798bba91059e60e2", + "reference": "9b5daeaffce5b926cac47923798bba91059e60e2", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" }, "provide": { - "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + "psr/log-implementation": "3.0.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "aws/aws-sdk-php": "^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^7", - "graylog2/gelf-php": "^1.4.2", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2@dev", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4 || ^3", - "php-console/php-console": "^3.1.3", - "phpspec/prophecy": "^1.6.1", - "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5", - "predis/predis": "^1.1", - "rollbar/rollbar": "^1.3 || ^2 || ^3", - "ruflin/elastica": ">=0.90@dev", - "swiftmailer/swiftmailer": "^5.3|^6.0" + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^9.5.26", + "predis/predis": "^1.1 || ^2", + "ruflin/elastica": "^7", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -2715,14 +2993,13 @@ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", "rollbar/rollbar": "Allow sending log messages to Rollbar", "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -2750,7 +3027,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.4.0" + "source": "https://github.com/Seldaek/monolog/tree/3.3.1" }, "funding": [ { @@ -2762,20 +3039,83 @@ "type": "tidelift" } ], - "time": "2022-03-14T12:44:37+00:00" + "time": "2023-02-06T13:46:10+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": "2.57.0", + "version": "2.66.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "4a54375c21eea4811dbd1149fe6b246517554e78" + "reference": "496712849902241f04902033b0441b269effe001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4a54375c21eea4811dbd1149fe6b246517554e78", - "reference": "4a54375c21eea4811dbd1149fe6b246517554e78", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/496712849902241f04902033b0441b269effe001", + "reference": "496712849902241f04902033b0441b269effe001", "shasum": "" }, "require": { @@ -2786,14 +3126,16 @@ "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { - "doctrine/dbal": "^2.0 || ^3.0", + "doctrine/dbal": "^2.0 || ^3.1.4", "doctrine/orm": "^2.7", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", + "ondrejmirtes/better-reflection": "*", "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.54 || ^1.0", - "phpunit/phpunit": "^7.5.20 || ^8.5.14", + "phpstan/phpstan": "^0.12.99 || ^1.7.14", + "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6", + "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", "squizlabs/php_codesniffer": "^3.4" }, "bin": [ @@ -2850,37 +3192,41 @@ }, "funding": [ { - "url": "https://opencollective.com/Carbon", - "type": "open_collective" + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" }, { - "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", "type": "tidelift" } ], - "time": "2022-02-13T18:13:33+00:00" + "time": "2023-01-29T18:53:47+00:00" }, { "name": "nette/schema", - "version": "v1.2.2", + "version": "v1.2.3", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df" + "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/9a39cef03a5b34c7de64f551538cbba05c2be5df", - "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df", + "url": "https://api.github.com/repos/nette/schema/zipball/abbdbb70e0245d5f3bf77874cea1dfb0c930d06f", + "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f", "shasum": "" }, "require": { "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": ">=7.1 <8.2" + "php": ">=7.1 <8.3" }, "require-dev": { "nette/tester": "^2.3 || ^2.4", - "phpstan/phpstan-nette": "^0.12", + "phpstan/phpstan-nette": "^1.0", "tracy/tracy": "^2.7" }, "type": "library", @@ -2918,34 +3264,36 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.2" + "source": "https://github.com/nette/schema/tree/v1.2.3" }, - "time": "2021-10-15T11:40:02+00:00" + "time": "2022-10-13T01:24:26+00:00" }, { "name": "nette/utils", - "version": "v3.2.7", + "version": "v4.0.0", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99" + "reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/0af4e3de4df9f1543534beab255ccf459e7a2c99", - "reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99", + "url": "https://api.github.com/repos/nette/utils/zipball/cacdbf5a91a657ede665c541eda28941d4b09c1e", + "reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e", "shasum": "" }, "require": { - "php": ">=7.2 <8.2" + "php": ">=8.0 <8.3" }, "conflict": { - "nette/di": "<3.0.6" + "nette/finder": "<3", + "nette/schema": "<1.2.2" }, "require-dev": { - "nette/tester": "~2.0", + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.4", "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "tracy/tracy": "^2.9" }, "suggest": { "ext-gd": "to use Image", @@ -2959,7 +3307,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3003,22 +3351,22 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.2.7" + "source": "https://github.com/nette/utils/tree/v4.0.0" }, - "time": "2022-01-24T11:29:14+00:00" + "time": "2023-02-02T10:41:53+00:00" }, { "name": "nikic/php-parser", - "version": "v4.13.2", + "version": "v4.15.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077" + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290", "shasum": "" }, "require": { @@ -3059,35 +3407,125 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4" + }, + "time": "2023-03-05T19:49:14+00:00" + }, + { + "name": "nunomaduro/termwind", + "version": "v1.15.1", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^8.0", + "symfony/console": "^5.3.0|^6.0.0" + }, + "require-dev": { + "ergebnis/phpstan-rules": "^1.0.", + "illuminate/console": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", + "laravel/pint": "^1.0.0", + "pestphp/pest": "^1.21.0", + "pestphp/pest-plugin-mock": "^1.0", + "phpstan/phpstan": "^1.4.6", + "phpstan/phpstan-strict-rules": "^1.1.0", + "symfony/var-dumper": "^5.2.7|^6.0.0", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Termwind\\Laravel\\TermwindServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Termwind\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Its like Tailwind CSS, but for the console.", + "keywords": [ + "cli", + "console", + "css", + "package", + "php", + "style" + ], + "support": { + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" }, - "time": "2021-11-30T19:35:32+00:00" + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://github.com/xiCO2k", + "type": "github" + } + ], + "time": "2023-02-08T01:06:31+00:00" }, { "name": "phpoption/phpoption", - "version": "1.8.1", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", - "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e", + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -3120,7 +3558,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.1" }, "funding": [ { @@ -3132,7 +3570,7 @@ "type": "tidelift" } ], - "time": "2021-12-04T23:24:31+00:00" + "time": "2023-02-25T19:38:58+00:00" }, { "name": "pixelfear/composer-dist-plugin", @@ -3391,25 +3829,25 @@ }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "1.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -3438,9 +3876,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/1.1" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:50:52+00:00" }, { "name": "psr/log", @@ -3589,42 +4027,52 @@ }, { "name": "ramsey/collection", - "version": "1.2.2", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", - "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "shasum": "" }, "require": { - "php": "^7.3 || ^8", - "symfony/polyfill-php81": "^1.23" + "php": "^8.1" }, "require-dev": { - "captainhook/captainhook": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "ergebnis/composer-normalize": "^2.6", - "fakerphp/faker": "^1.5", - "hamcrest/hamcrest-php": "^2", - "jangregor/phpstan-prophecy": "^0.8", - "mockery/mockery": "^1.3", + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1", - "phpstan/phpstan": "^0.12.32", - "phpstan/phpstan-mockery": "^0.12.5", - "phpstan/phpstan-phpunit": "^0.12.11", - "phpunit/phpunit": "^8.5 || ^9", - "psy/psysh": "^0.10.4", - "slevomat/coding-standard": "^6.3", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.4" + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" }, "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, "autoload": { "psr-4": { "Ramsey\\Collection\\": "src/" @@ -3652,7 +4100,7 @@ ], "support": { "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/1.2.2" + "source": "https://github.com/ramsey/collection/tree/2.0.0" }, "funding": [ { @@ -3664,28 +4112,27 @@ "type": "tidelift" } ], - "time": "2021-10-10T03:01:02+00:00" + "time": "2022-12-31T21:50:55+00:00" }, { "name": "ramsey/uuid", - "version": "4.3.1", + "version": "4.7.3", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "8505afd4fea63b81a85d3b7b53ac3cb8dc347c28" + "reference": "433b2014e3979047db08a17a205f410ba3869cf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/8505afd4fea63b81a85d3b7b53ac3cb8dc347c28", - "reference": "8505afd4fea63b81a85d3b7b53ac3cb8dc347c28", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2", + "reference": "433b2014e3979047db08a17a205f410ba3869cf2", "shasum": "" }, "require": { - "brick/math": "^0.8 || ^0.9", - "ext-ctype": "*", + "brick/math": "^0.8.8 || ^0.9 || ^0.10", "ext-json": "*", "php": "^8.0", - "ramsey/collection": "^1.0" + "ramsey/collection": "^1.2 || ^2.0" }, "replace": { "rhumsaa/uuid": "self.version" @@ -3697,24 +4144,23 @@ "doctrine/annotations": "^1.8", "ergebnis/composer-normalize": "^2.15", "mockery/mockery": "^1.3", - "moontoast/math": "^1.1", "paragonie/random-lib": "^2", "php-mock/php-mock": "^2.2", "php-mock/php-mock-mockery": "^1.3", "php-parallel-lint/php-parallel-lint": "^1.1", "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-mockery": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", "phpunit/phpunit": "^8.5 || ^9", - "slevomat/coding-standard": "^7.0", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.5", "vimeo/psalm": "^4.9" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", - "ext-ctype": "Enables faster processing of character classification using ctype functions.", "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", @@ -3746,7 +4192,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.3.1" + "source": "https://github.com/ramsey/uuid/tree/4.7.3" }, "funding": [ { @@ -3758,7 +4204,7 @@ "type": "tidelift" } ], - "time": "2022-03-27T21:42:02+00:00" + "time": "2023-01-12T18:13:24+00:00" }, { "name": "react/promise", @@ -3838,43 +4284,43 @@ }, { "name": "rebing/graphql-laravel", - "version": "8.2.1", + "version": "8.6.0", "source": { "type": "git", "url": "https://github.com/rebing/graphql-laravel.git", - "reference": "5658df2b63998f3701d371958ce070747a0b2a3f" + "reference": "1a5faa3f19d5437c15f8c03a530148f9c992f9af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rebing/graphql-laravel/zipball/5658df2b63998f3701d371958ce070747a0b2a3f", - "reference": "5658df2b63998f3701d371958ce070747a0b2a3f", + "url": "https://api.github.com/repos/rebing/graphql-laravel/zipball/1a5faa3f19d5437c15f8c03a530148f9c992f9af", + "reference": "1a5faa3f19d5437c15f8c03a530148f9c992f9af", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0", + "illuminate/contracts": "^6.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^8.0|^9.0|^10.0", "laragraph/utils": "^1", - "php": ">= 7.2", - "thecodingmachine/safe": "^1.3", + "php": ">= 7.4", + "thecodingmachine/safe": "^1.1|^2.4", "webonyx/graphql-php": "^14.6.4" }, "require-dev": { "ext-pdo_sqlite": "*", - "friendsofphp/php-cs-fixer": "^3", + "friendsofphp/php-cs-fixer": "3.11.0", "laravel/legacy-factories": "^1.0", "mfn/php-cs-fixer-config": "^2", "mockery/mockery": "^1.2", - "nunomaduro/larastan": "^1", - "orchestra/testbench": "4.0.*|5.0.*|^6.0|^7.0", - "phpstan/phpstan": "^1", + "nunomaduro/larastan": "1.0.3", + "orchestra/testbench": "4.0.*|5.0.*|^6.0|^7.0|^8.0", + "phpstan/phpstan": "1.8.4", "phpunit/phpunit": "~7.0|~8.0|^9", "thecodingmachine/phpstan-safe-rule": "^1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "8.1-dev" + "dev-master": "8.6-dev" }, "laravel": { "providers": [ @@ -3932,7 +4378,7 @@ ], "support": { "issues": "https://github.com/rebing/graphql-laravel/issues", - "source": "https://github.com/rebing/graphql-laravel/tree/8.2.1" + "source": "https://github.com/rebing/graphql-laravel/tree/8.6.0" }, "funding": [ { @@ -3940,7 +4386,85 @@ "type": "github" } ], - "time": "2022-01-30T19:36:07+00:00" + "time": "2023-02-18T15:52:58+00:00" + }, + { + "name": "scrivo/highlight.php", + "version": "v9.18.1.9", + "source": { + "type": "git", + "url": "https://github.com/scrivo/highlight.php.git", + "reference": "d45585504777e6194a91dffc7270ca39833787f8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/d45585504777e6194a91dffc7270ca39833787f8", + "reference": "d45585504777e6194a91dffc7270ca39833787f8", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=5.4" + }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5.7", + "sabberworm/php-css-parser": "^8.3", + "symfony/finder": "^2.8|^3.4", + "symfony/var-dumper": "^2.8|^3.4" + }, + "suggest": { + "ext-mbstring": "Allows highlighting code with unicode characters and supports language with unicode keywords" + }, + "type": "library", + "autoload": { + "files": [ + "HighlightUtilities/functions.php" + ], + "psr-0": { + "Highlight\\": "", + "HighlightUtilities\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Geert Bergman", + "homepage": "http://www.scrivo.org/", + "role": "Project Author" + }, + { + "name": "Vladimir Jimenez", + "homepage": "https://allejo.io", + "role": "Maintainer" + }, + { + "name": "Martin Folkers", + "homepage": "https://twobrain.io", + "role": "Contributor" + } + ], + "description": "Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js", + "keywords": [ + "code", + "highlight", + "highlight.js", + "highlight.php", + "syntax" + ], + "support": { + "issues": "https://github.com/scrivo/highlight.php/issues", + "source": "https://github.com/scrivo/highlight.php" + }, + "funding": [ + { + "url": "https://github.com/allejo", + "type": "github" + } + ], + "time": "2021-12-03T06:45:28+00:00" }, { "name": "seld/jsonlint", @@ -4008,16 +4532,16 @@ }, { "name": "seld/phar-utils", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "9f3452c93ff423469c0d56450431562ca423dcee" + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/9f3452c93ff423469c0d56450431562ca423dcee", - "reference": "9f3452c93ff423469c0d56450431562ca423dcee", + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", "shasum": "" }, "require": { @@ -4048,36 +4572,163 @@ "keywords": [ "phar" ], - "support": { - "issues": "https://github.com/Seldaek/phar-utils/issues", - "source": "https://github.com/Seldaek/phar-utils/tree/1.2.0" - }, - "time": "2021-12-10T11:20:11+00:00" + "support": { + "issues": "https://github.com/Seldaek/phar-utils/issues", + "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" + }, + "time": "2022-08-31T10:31:18+00:00" + }, + { + "name": "seld/signal-handler", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/signal-handler.git", + "reference": "f69d119511dc0360440cdbdaa71829c149b7be75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/f69d119511dc0360440cdbdaa71829c149b7be75", + "reference": "f69d119511dc0360440cdbdaa71829c149b7be75", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "require-dev": { + "phpstan/phpstan": "^1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^7.5.20 || ^8.5.23", + "psr/log": "^1 || ^2 || ^3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Seld\\Signal\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development", + "keywords": [ + "posix", + "sigint", + "signal", + "sigterm", + "unix" + ], + "support": { + "issues": "https://github.com/Seldaek/signal-handler/issues", + "source": "https://github.com/Seldaek/signal-handler/tree/2.0.1" + }, + "time": "2022-07-20T18:31:45+00:00" + }, + { + "name": "spatie/blink", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/blink.git", + "reference": "27df0b29309d044832ce0eccc75a0ad7e5f61f98" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/blink/zipball/27df0b29309d044832ce0eccc75a0ad7e5f61f98", + "reference": "27df0b29309d044832ce0eccc75a0ad7e5f61f98", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Blink\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Cache that expires in the blink of an eye", + "homepage": "https://github.com/spatie/blink", + "keywords": [ + "Blink", + "cache", + "caching", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/blink/issues", + "source": "https://github.com/spatie/blink/tree/1.2.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-01-05T09:38:04+00:00" }, { - "name": "spatie/blink", - "version": "1.2.0", + "name": "spatie/shiki-php", + "version": "1.3.0", "source": { "type": "git", - "url": "https://github.com/spatie/blink.git", - "reference": "27df0b29309d044832ce0eccc75a0ad7e5f61f98" + "url": "https://github.com/spatie/shiki-php.git", + "reference": "34fe61405b405c735c82a9c56feffd3f7c5544ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/blink/zipball/27df0b29309d044832ce0eccc75a0ad7e5f61f98", - "reference": "27df0b29309d044832ce0eccc75a0ad7e5f61f98", + "url": "https://api.github.com/repos/spatie/shiki-php/zipball/34fe61405b405c735c82a9c56feffd3f7c5544ff", + "reference": "34fe61405b405c735c82a9c56feffd3f7c5544ff", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^7.4|^8.0" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "friendsofphp/php-cs-fixer": "^v3.0", + "pestphp/pest": "^1.8", + "phpunit/phpunit": "^9.5", + "spatie/pest-plugin-snapshots": "^1.1", + "spatie/ray": "^1.10" }, "type": "library", "autoload": { "psr-4": { - "Spatie\\Blink\\": "src" + "Spatie\\ShikiPhp\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4085,82 +4736,81 @@ "MIT" ], "authors": [ + { + "name": "Rias Van der Veken", + "email": "rias@spatie.be", + "role": "Developer" + }, { "name": "Freek Van der Herten", "email": "freek@spatie.be", - "homepage": "https://spatie.be", "role": "Developer" } ], - "description": "Cache that expires in the blink of an eye", - "homepage": "https://github.com/spatie/blink", + "description": "Highlight code using Shiki in PHP", + "homepage": "https://github.com/spatie/shiki-php", "keywords": [ - "Blink", - "cache", - "caching", + "shiki", "spatie" ], "support": { - "issues": "https://github.com/spatie/blink/issues", - "source": "https://github.com/spatie/blink/tree/1.2.0" + "source": "https://github.com/spatie/shiki-php/tree/1.3.0" }, "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - }, { "url": "https://github.com/spatie", "type": "github" } ], - "time": "2022-01-05T09:38:04+00:00" + "time": "2022-06-01T11:28:41+00:00" }, { "name": "statamic/cms", - "version": "v3.3.4", + "version": "v4.0.0-alpha.2", "source": { "type": "git", "url": "https://github.com/statamic/cms.git", - "reference": "9279b2c103f770d2e057e760f405c4db87e2f7c3" + "reference": "118cc65ccdabb8d1c413ac44f4c66c3c89862317" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/statamic/cms/zipball/9279b2c103f770d2e057e760f405c4db87e2f7c3", - "reference": "9279b2c103f770d2e057e760f405c4db87e2f7c3", + "url": "https://api.github.com/repos/statamic/cms/zipball/118cc65ccdabb8d1c413ac44f4c66c3c89862317", + "reference": "118cc65ccdabb8d1c413ac44f4c66c3c89862317", "shasum": "" }, "require": { "ajthinking/archetype": "^1.0.3", - "composer/composer": "^1.10.22 || ^2.0.13", + "composer/composer": "^1.10.22 || ^2.2.12", "ext-json": "*", "facade/ignition-contracts": "^1.0", "guzzlehttp/guzzle": "^6.3 || ^7.0", "james-heinrich/getid3": "^1.9.21", - "laravel/framework": "^8.48.0 || ^9.0", + "laravel/framework": "^9.50.0 || ^10.0", "laravel/helpers": "^1.1", - "league/commonmark": "^1.5 || ^2.2", + "league/commonmark": "^2.2", "league/csv": "^9.0", "league/glide": "^1.1 || ^2.0", + "maennchen/zipstream-php": "^2.2", "michelf/php-smartypants": "^1.8.1", + "nesbot/carbon": "^2.62.1", "pixelfear/composer-dist-plugin": "^0.1.4", "rebing/graphql-laravel": "^6.5 || ^8.0", "spatie/blink": "^1.1.2", "statamic/stringy": "^3.1.2", "symfony/http-foundation": "^4.3.3 || ^5.1.4 || ^6.0", "symfony/lock": "^5.1", - "symfony/var-exporter": "^4.3 || ^5.1", + "symfony/var-exporter": "^4.3 || ^5.1 || ^6.0", "symfony/yaml": "^4.1 || ^5.1 || ^6.0", - "ueberdosis/html-to-prosemirror": "^1.3", - "ueberdosis/prosemirror-to-html": "^2.6", + "ueberdosis/tiptap-php": "^1.1", "voku/portable-ascii": "^1.6.1 || ^2.0", "wilderborn/partyline": "^1.0" }, "require-dev": { "fakerphp/faker": "~1.10", "google/cloud-translate": "^1.6", - "mockery/mockery": "^1.2.3", - "orchestra/testbench": "^6.7.0 || ^7.0" + "mockery/mockery": "^1.3.3", + "orchestra/testbench": "^7.0 || ^8.0", + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { @@ -4205,7 +4855,7 @@ ], "support": { "issues": "https://github.com/statamic/cms/issues", - "source": "https://github.com/statamic/cms/tree/v3.3.4" + "source": "https://github.com/statamic/cms/tree/v4.0.0-alpha.2" }, "funding": [ { @@ -4213,20 +4863,20 @@ "type": "github" } ], - "time": "2022-03-30T20:29:46+00:00" + "time": "2023-04-04T17:24:24+00:00" }, { "name": "statamic/stringy", - "version": "3.1.2", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/statamic/Stringy.git", - "reference": "7c2be439de2e4ab29f8e1a461567d36fb984b4b8" + "reference": "7b8d20b72971295f947b6153cc4cf820a21b03e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/statamic/Stringy/zipball/7c2be439de2e4ab29f8e1a461567d36fb984b4b8", - "reference": "7c2be439de2e4ab29f8e1a461567d36fb984b4b8", + "url": "https://api.github.com/repos/statamic/Stringy/zipball/7b8d20b72971295f947b6153cc4cf820a21b03e1", + "reference": "7b8d20b72971295f947b6153cc4cf820a21b03e1", "shasum": "" }, "require": { @@ -4281,24 +4931,25 @@ "issues": "https://github.com/statamic/Stringy/issues", "source": "https://github.com/statamic/Stringy" }, - "time": "2020-12-09T23:24:32+00:00" + "time": "2022-05-04T18:41:52+00:00" }, { "name": "symfony/console", - "version": "v6.0.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "70dcf7b2ca2ea08ad6ebcc475f104a024fb5632e" + "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/70dcf7b2ca2ea08ad6ebcc475f104a024fb5632e", - "reference": "70dcf7b2ca2ea08ad6ebcc475f104a024fb5632e", + "url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b", + "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^1.1|^2|^3", "symfony/string": "^5.4|^6.0" @@ -4355,12 +5006,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.7" + "source": "https://github.com/symfony/console/tree/v6.2.8" }, "funding": [ { @@ -4376,24 +5027,24 @@ "type": "tidelift" } ], - "time": "2022-03-31T17:18:25+00:00" + "time": "2023-03-29T21:42:15+00:00" }, { "name": "symfony/css-selector", - "version": "v6.0.3", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "1955d595c12c111629cc814d3f2a2ff13580508a" + "reference": "aedf3cb0f5b929ec255d96bbb4909e9932c769e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/1955d595c12c111629cc814d3f2a2ff13580508a", - "reference": "1955d595c12c111629cc814d3f2a2ff13580508a", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/aedf3cb0f5b929ec255d96bbb4909e9932c769e0", + "reference": "aedf3cb0f5b929ec255d96bbb4909e9932c769e0", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -4425,7 +5076,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v6.0.3" + "source": "https://github.com/symfony/css-selector/tree/v6.2.7" }, "funding": [ { @@ -4441,29 +5092,29 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced" + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -4492,7 +5143,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1" }, "funding": [ { @@ -4508,24 +5159,24 @@ "type": "tidelift" } ], - "time": "2021-11-01T23:48:49+00:00" + "time": "2023-03-01T10:25:55+00:00" }, { "name": "symfony/error-handler", - "version": "v6.0.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "e600c54e5b30555eecea3ffe4314e58f832e78ee" + "reference": "61e90f94eb014054000bc902257d2763fac09166" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/e600c54e5b30555eecea3ffe4314e58f832e78ee", - "reference": "e600c54e5b30555eecea3ffe4314e58f832e78ee", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/61e90f94eb014054000bc902257d2763fac09166", + "reference": "61e90f94eb014054000bc902257d2763fac09166", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/log": "^1|^2|^3", "symfony/var-dumper": "^5.4|^6.0" }, @@ -4563,7 +5214,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.0.7" + "source": "https://github.com/symfony/error-handler/tree/v6.2.7" }, "funding": [ { @@ -4579,24 +5230,24 @@ "type": "tidelift" } ], - "time": "2022-03-18T16:21:55+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.0.3", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "6472ea2dd415e925b90ca82be64b8bc6157f3934" + "reference": "04046f35fd7d72f9646e721fc2ecb8f9c67d3339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/6472ea2dd415e925b90ca82be64b8bc6157f3934", - "reference": "6472ea2dd415e925b90ca82be64b8bc6157f3934", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/04046f35fd7d72f9646e721fc2ecb8f9c67d3339", + "reference": "04046f35fd7d72f9646e721fc2ecb8f9c67d3339", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/event-dispatcher-contracts": "^2|^3" }, "conflict": { @@ -4646,7 +5297,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.8" }, "funding": [ { @@ -4662,24 +5313,24 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2023-03-20T16:06:02+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.0.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "aa5422287b75594b90ee9cd807caf8f0df491385" + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/aa5422287b75594b90ee9cd807caf8f0df491385", - "reference": "aa5422287b75594b90ee9cd807caf8f0df491385", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, "suggest": { @@ -4688,7 +5339,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -4725,7 +5376,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1" }, "funding": [ { @@ -4741,24 +5392,24 @@ "type": "tidelift" } ], - "time": "2021-07-15T12:33:35+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/filesystem", - "version": "v6.0.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff" + "reference": "82b6c62b959f642d000456f08c6d219d749215b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff", - "reference": "6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/82b6c62b959f642d000456f08c6d219d749215b3", + "reference": "82b6c62b959f642d000456f08c6d219d749215b3", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, @@ -4788,7 +5439,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.0.7" + "source": "https://github.com/symfony/filesystem/tree/v6.2.7" }, "funding": [ { @@ -4804,24 +5455,27 @@ "type": "tidelift" } ], - "time": "2022-04-01T12:54:51+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/finder", - "version": "v6.0.3", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "8661b74dbabc23223f38c9b99d3f8ade71170430" + "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8661b74dbabc23223f38c9b99d3f8ade71170430", - "reference": "8661b74dbabc23223f38c9b99d3f8ade71170430", + "url": "https://api.github.com/repos/symfony/finder/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb", + "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0" }, "type": "library", "autoload": { @@ -4849,7 +5503,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.0.3" + "source": "https://github.com/symfony/finder/tree/v6.2.7" }, "funding": [ { @@ -4865,32 +5519,38 @@ "type": "tidelift" } ], - "time": "2022-01-26T17:23:29+00:00" + "time": "2023-02-16T09:57:23+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.0.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "c816b26f03b6902dba79b352c84a17f53d815f0d" + "reference": "511a524affeefc191939348823ac75e9921c2112" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/c816b26f03b6902dba79b352c84a17f53d815f0d", - "reference": "c816b26f03b6902dba79b352c84a17f53d815f0d", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/511a524affeefc191939348823ac75e9921c2112", + "reference": "511a524affeefc191939348823ac75e9921c2112", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.1" }, + "conflict": { + "symfony/cache": "<6.2" + }, "require-dev": { "predis/predis": "~1.0", "symfony/cache": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", "symfony/expression-language": "^5.4|^6.0", - "symfony/mime": "^5.4|^6.0" + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", + "symfony/mime": "^5.4|^6.0", + "symfony/rate-limiter": "^5.2|^6.0" }, "suggest": { "symfony/mime": "To use the file extension guesser" @@ -4921,7 +5581,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.0.7" + "source": "https://github.com/symfony/http-foundation/tree/v6.2.8" }, "funding": [ { @@ -4937,36 +5597,37 @@ "type": "tidelift" } ], - "time": "2022-03-24T14:13:59+00:00" + "time": "2023-03-29T21:42:15+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.0.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "9c03dab07a6aa336ffaadc15352b1d14f4ce01f5" + "reference": "9563229e56076070d92ca30c089e801e8a4629a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9c03dab07a6aa336ffaadc15352b1d14f4ce01f5", - "reference": "9c03dab07a6aa336ffaadc15352b1d14f4ce01f5", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9563229e56076070d92ca30c089e801e8a4629a3", + "reference": "9563229e56076070d92ca30c089e801e8a4629a3", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/log": "^1|^2|^3", - "symfony/error-handler": "^5.4|^6.0", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/error-handler": "^6.1", "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", + "symfony/http-foundation": "^5.4.21|^6.2.7", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "symfony/browser-kit": "<5.4", "symfony/cache": "<5.4", - "symfony/config": "<5.4", + "symfony/config": "<6.1", "symfony/console": "<5.4", - "symfony/dependency-injection": "<5.4", + "symfony/dependency-injection": "<6.2", "symfony/doctrine-bridge": "<5.4", "symfony/form": "<5.4", "symfony/http-client": "<5.4", @@ -4983,10 +5644,10 @@ "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", "symfony/browser-kit": "^5.4|^6.0", - "symfony/config": "^5.4|^6.0", + "symfony/config": "^6.1", "symfony/console": "^5.4|^6.0", "symfony/css-selector": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", + "symfony/dependency-injection": "^6.2", "symfony/dom-crawler": "^5.4|^6.0", "symfony/expression-language": "^5.4|^6.0", "symfony/finder": "^5.4|^6.0", @@ -4996,6 +5657,7 @@ "symfony/stopwatch": "^5.4|^6.0", "symfony/translation": "^5.4|^6.0", "symfony/translation-contracts": "^1.1|^2|^3", + "symfony/uid": "^5.4|^6.0", "twig/twig": "^2.13|^3.0.4" }, "suggest": { @@ -5030,7 +5692,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.0.7" + "source": "https://github.com/symfony/http-kernel/tree/v6.2.8" }, "funding": [ { @@ -5046,20 +5708,20 @@ "type": "tidelift" } ], - "time": "2022-04-02T06:35:11+00:00" + "time": "2023-03-31T12:00:10+00:00" }, { "name": "symfony/lock", - "version": "v5.4.7", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/lock.git", - "reference": "a16279554621453840eb8af14d12cfa24c10b8d3" + "reference": "cc0565235e16ef403097fbd30eba59690bee6b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/a16279554621453840eb8af14d12cfa24c10b8d3", - "reference": "a16279554621453840eb8af14d12cfa24c10b8d3", + "url": "https://api.github.com/repos/symfony/lock/zipball/cc0565235e16ef403097fbd30eba59690bee6b3c", + "reference": "cc0565235e16ef403097fbd30eba59690bee6b3c", "shasum": "" }, "require": { @@ -5109,7 +5771,7 @@ "semaphore" ], "support": { - "source": "https://github.com/symfony/lock/tree/v5.4.7" + "source": "https://github.com/symfony/lock/tree/v5.4.22" }, "funding": [ { @@ -5125,37 +5787,42 @@ "type": "tidelift" } ], - "time": "2022-03-22T15:31:03+00:00" + "time": "2023-03-10T16:52:09+00:00" }, { "name": "symfony/mailer", - "version": "v6.0.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "f7343f94e7afecca2ad840b078f9d80200e1bd27" + "reference": "bfcfa015c67e19c6fdb7ca6fe70700af1e740a17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/f7343f94e7afecca2ad840b078f9d80200e1bd27", - "reference": "f7343f94e7afecca2ad840b078f9d80200e1bd27", + "url": "https://api.github.com/repos/symfony/mailer/zipball/bfcfa015c67e19c6fdb7ca6fe70700af1e740a17", + "reference": "bfcfa015c67e19c6fdb7ca6fe70700af1e740a17", "shasum": "" }, "require": { - "egulias/email-validator": "^2.1.10|^3", - "php": ">=8.0.2", + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.1", "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/mime": "^5.4|^6.0", + "symfony/mime": "^6.2", "symfony/service-contracts": "^1.1|^2|^3" }, "conflict": { - "symfony/http-kernel": "<5.4" + "symfony/http-kernel": "<5.4", + "symfony/messenger": "<6.2", + "symfony/mime": "<6.2", + "symfony/twig-bridge": "<6.2.1" }, "require-dev": { - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/messenger": "^5.4|^6.0" + "symfony/console": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/messenger": "^6.2", + "symfony/twig-bridge": "^6.2" }, "type": "library", "autoload": { @@ -5183,7 +5850,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.0.7" + "source": "https://github.com/symfony/mailer/tree/v6.2.8" }, "funding": [ { @@ -5199,24 +5866,24 @@ "type": "tidelift" } ], - "time": "2022-03-18T16:06:28+00:00" + "time": "2023-03-14T15:00:05+00:00" }, { "name": "symfony/mime", - "version": "v6.0.7", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "74266e396f812a2301536397a6360b6e6913c0d8" + "reference": "62e341f80699badb0ad70b31149c8df89a2d778e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/74266e396f812a2301536397a6360b6e6913c0d8", - "reference": "74266e396f812a2301536397a6360b6e6913c0d8", + "url": "https://api.github.com/repos/symfony/mime/zipball/62e341f80699badb0ad70b31149c8df89a2d778e", + "reference": "62e341f80699badb0ad70b31149c8df89a2d778e", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, @@ -5224,15 +5891,17 @@ "egulias/email-validator": "~3.0.0", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/mailer": "<5.4" + "symfony/mailer": "<5.4", + "symfony/serializer": "<6.2" }, "require-dev": { - "egulias/email-validator": "^2.1.10|^3.1", + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", "symfony/dependency-injection": "^5.4|^6.0", "symfony/property-access": "^5.4|^6.0", "symfony/property-info": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0" + "symfony/serializer": "^6.2" }, "type": "library", "autoload": { @@ -5264,7 +5933,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.0.7" + "source": "https://github.com/symfony/mime/tree/v6.2.7" }, "funding": [ { @@ -5280,20 +5949,20 @@ "type": "tidelift" } ], - "time": "2022-03-13T20:10:05+00:00" + "time": "2023-02-24T10:42:00+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, "require": { @@ -5308,7 +5977,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5346,7 +6015,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, "funding": [ { @@ -5362,20 +6031,20 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, "require": { @@ -5387,7 +6056,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5427,7 +6096,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" }, "funding": [ { @@ -5443,20 +6112,20 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "749045c69efb97c70d25d7463abba812e91f3a44" + "reference": "639084e360537a19f9ee352433b84ce831f3d2da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/749045c69efb97c70d25d7463abba812e91f3a44", - "reference": "749045c69efb97c70d25d7463abba812e91f3a44", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", + "reference": "639084e360537a19f9ee352433b84ce831f3d2da", "shasum": "" }, "require": { @@ -5470,7 +6139,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5514,7 +6183,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.27.0" }, "funding": [ { @@ -5530,20 +6199,20 @@ "type": "tidelift" } ], - "time": "2021-09-14T14:02:44+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, "require": { @@ -5555,7 +6224,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5598,7 +6267,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" }, "funding": [ { @@ -5614,20 +6283,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, "require": { @@ -5642,7 +6311,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5681,7 +6350,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" }, "funding": [ { @@ -5697,20 +6366,20 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" + "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", + "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", "shasum": "" }, "require": { @@ -5719,7 +6388,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5757,7 +6426,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0" }, "funding": [ { @@ -5773,20 +6442,20 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:17:38+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" + "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "shasum": "" }, "require": { @@ -5795,7 +6464,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5836,7 +6505,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" }, "funding": [ { @@ -5852,20 +6521,20 @@ "type": "tidelift" } ], - "time": "2021-06-05T21:20:04+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, "require": { @@ -5874,7 +6543,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5919,7 +6588,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { @@ -5935,20 +6604,20 @@ "type": "tidelift" } ], - "time": "2022-03-04T08:16:47+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.25.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, "require": { @@ -5957,7 +6626,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -5998,7 +6667,89 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.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": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-uuid", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/f3cf1a645c2734236ed1e2e671e273eeb3586166", + "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-uuid": "*" + }, + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0" }, "funding": [ { @@ -6014,24 +6765,24 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/process", - "version": "v6.0.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e13f6757e267d687e20ec5b26ccfcbbe511cd8f4" + "reference": "75ed64103df4f6615e15a7fe38b8111099f47416" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e13f6757e267d687e20ec5b26ccfcbbe511cd8f4", - "reference": "e13f6757e267d687e20ec5b26ccfcbbe511cd8f4", + "url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416", + "reference": "75ed64103df4f6615e15a7fe38b8111099f47416", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -6059,7 +6810,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.0.7" + "source": "https://github.com/symfony/process/tree/v6.2.8" }, "funding": [ { @@ -6075,35 +6826,35 @@ "type": "tidelift" } ], - "time": "2022-03-18T16:21:55+00:00" + "time": "2023-03-09T16:20:02+00:00" }, { "name": "symfony/routing", - "version": "v6.0.5", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "a738b152426ac7fcb94bdab8188264652238bef1" + "reference": "69062e2823f03b82265d73a966999660f0e1e404" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/a738b152426ac7fcb94bdab8188264652238bef1", - "reference": "a738b152426ac7fcb94bdab8188264652238bef1", + "url": "https://api.github.com/repos/symfony/routing/zipball/69062e2823f03b82265d73a966999660f0e1e404", + "reference": "69062e2823f03b82265d73a966999660f0e1e404", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "conflict": { "doctrine/annotations": "<1.12", - "symfony/config": "<5.4", + "symfony/config": "<6.2", "symfony/dependency-injection": "<5.4", "symfony/yaml": "<5.4" }, "require-dev": { - "doctrine/annotations": "^1.12", + "doctrine/annotations": "^1.12|^2", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", + "symfony/config": "^6.2", "symfony/dependency-injection": "^5.4|^6.0", "symfony/expression-language": "^5.4|^6.0", "symfony/http-foundation": "^5.4|^6.0", @@ -6147,7 +6898,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.0.5" + "source": "https://github.com/symfony/routing/tree/v6.2.8" }, "funding": [ { @@ -6163,24 +6914,24 @@ "type": "tidelift" } ], - "time": "2022-01-31T19:46:53+00:00" + "time": "2023-03-14T15:00:05+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.0.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "36715ebf9fb9db73db0cb24263c79077c6fe8603" + "reference": "a8c9cedf55f314f3a186041d19537303766df09a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/36715ebf9fb9db73db0cb24263c79077c6fe8603", - "reference": "36715ebf9fb9db73db0cb24263c79077c6fe8603", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a", + "reference": "a8c9cedf55f314f3a186041d19537303766df09a", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/container": "^2.0" }, "conflict": { @@ -6192,7 +6943,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -6202,7 +6953,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6229,7 +6983,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.2.1" }, "funding": [ { @@ -6245,24 +6999,24 @@ "type": "tidelift" } ], - "time": "2021-11-04T17:53:12+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { "name": "symfony/string", - "version": "v6.0.3", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2" + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/522144f0c4c004c80d56fa47e40e17028e2eefc2", - "reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2", + "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef", + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", @@ -6274,6 +7028,7 @@ "require-dev": { "symfony/error-handler": "^5.4|^6.0", "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", "symfony/translation-contracts": "^2.0|^3.0", "symfony/var-exporter": "^5.4|^6.0" }, @@ -6314,7 +7069,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.3" + "source": "https://github.com/symfony/string/tree/v6.2.8" }, "funding": [ { @@ -6330,24 +7085,24 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2023-03-20T16:06:02+00:00" }, { "name": "symfony/translation", - "version": "v6.0.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "b2792b39d74cf41ea3065f27fd2ddf0b556ac7a1" + "reference": "817535dbb1721df8b3a8f2489dc7e50bcd6209b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/b2792b39d74cf41ea3065f27fd2ddf0b556ac7a1", - "reference": "b2792b39d74cf41ea3065f27fd2ddf0b556ac7a1", + "url": "https://api.github.com/repos/symfony/translation/zipball/817535dbb1721df8b3a8f2489dc7e50bcd6209b5", + "reference": "817535dbb1721df8b3a8f2489dc7e50bcd6209b5", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-mbstring": "~1.0", "symfony/translation-contracts": "^2.3|^3.0" }, @@ -6363,6 +7118,7 @@ "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { + "nikic/php-parser": "^4.13", "psr/log": "^1|^2|^3", "symfony/config": "^5.4|^6.0", "symfony/console": "^5.4|^6.0", @@ -6372,10 +7128,12 @@ "symfony/http-kernel": "^5.4|^6.0", "symfony/intl": "^5.4|^6.0", "symfony/polyfill-intl-icu": "^1.21", + "symfony/routing": "^5.4|^6.0", "symfony/service-contracts": "^1.1.2|^2|^3", "symfony/yaml": "^5.4|^6.0" }, "suggest": { + "nikic/php-parser": "To use PhpAstExtractor", "psr/log-implementation": "To use logging capability in translator", "symfony/config": "", "symfony/yaml": "" @@ -6409,7 +7167,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.0.7" + "source": "https://github.com/symfony/translation/tree/v6.2.8" }, "funding": [ { @@ -6425,24 +7183,24 @@ "type": "tidelift" } ], - "time": "2022-03-31T17:18:25+00:00" + "time": "2023-03-31T09:14:44+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.0.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "1b6ea5a7442af5a12dba3dbd6d71034b5b234e77" + "reference": "dfec258b9dd17a6b24420d464c43bffe347441c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/1b6ea5a7442af5a12dba3dbd6d71034b5b234e77", - "reference": "1b6ea5a7442af5a12dba3dbd6d71034b5b234e77", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/dfec258b9dd17a6b24420d464c43bffe347441c8", + "reference": "dfec258b9dd17a6b24420d464c43bffe347441c8", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "suggest": { "symfony/translation-implementation": "" @@ -6450,7 +7208,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -6460,7 +7218,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Translation\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6487,7 +7248,81 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.2.1" + }, + "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-03-01T10:32:47+00:00" + }, + { + "name": "symfony/uid", + "version": "v6.2.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/uid.git", + "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/uid/zipball/d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0", + "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-uuid": "^1.15" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "ulid", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v6.2.7" }, "funding": [ { @@ -6503,24 +7338,24 @@ "type": "tidelift" } ], - "time": "2021-09-07T12:43:40+00:00" + "time": "2023-02-14T08:44:56+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.0.6", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "38358405ae948963c50a3aae3dfea598223ba15e" + "reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/38358405ae948963c50a3aae3dfea598223ba15e", - "reference": "38358405ae948963c50a3aae3dfea598223ba15e", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d37ab6787be2db993747b6218fcc96e8e3bb4bd0", + "reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -6575,7 +7410,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.0.6" + "source": "https://github.com/symfony/var-dumper/tree/v6.2.8" }, "funding": [ { @@ -6591,28 +7426,27 @@ "type": "tidelift" } ], - "time": "2022-03-02T12:58:14+00:00" + "time": "2023-03-29T21:42:15+00:00" }, { "name": "symfony/var-exporter", - "version": "v5.4.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "7eacaa588c9b27f2738575adb4a8457a80d9c807" + "reference": "8302bb670204500d492c6b8c595ee9a27da62cd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/7eacaa588c9b27f2738575adb4a8457a80d9c807", - "reference": "7eacaa588c9b27f2738575adb4a8457a80d9c807", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/8302bb670204500d492c6b8c595ee9a27da62cd6", + "reference": "8302bb670204500d492c6b8c595ee9a27da62cd6", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.1" }, "require-dev": { - "symfony/var-dumper": "^4.4.9|^5.0.9|^6.0" + "symfony/var-dumper": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -6645,10 +7479,12 @@ "export", "hydrate", "instantiate", + "lazy-loading", + "proxy", "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v5.4.7" + "source": "https://github.com/symfony/var-exporter/tree/v6.2.8" }, "funding": [ { @@ -6664,24 +7500,24 @@ "type": "tidelift" } ], - "time": "2022-03-31T17:09:19+00:00" + "time": "2023-03-14T15:48:45+00:00" }, { "name": "symfony/yaml", - "version": "v6.0.3", + "version": "v6.2.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e77f3ea0b21141d771d4a5655faa54f692b34af5" + "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e77f3ea0b21141d771d4a5655faa54f692b34af5", - "reference": "e77f3ea0b21141d771d4a5655faa54f692b34af5", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57", + "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -6722,7 +7558,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.0.3" + "source": "https://github.com/symfony/yaml/tree/v6.2.7" }, "funding": [ { @@ -6738,43 +7574,50 @@ "type": "tidelift" } ], - "time": "2022-01-26T17:23:29+00:00" + "time": "2023-02-16T09:57:23+00:00" }, { "name": "thecodingmachine/safe", - "version": "v1.3.3", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", - "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/e788f3d09dcd36f806350aedb77eac348fafadd3", + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3", "shasum": "" }, "require": { - "php": ">=7.2" + "php": "^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12", + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3.2", - "thecodingmachine/phpstan-strict-rules": "^0.12" + "thecodingmachine/phpstan-strict-rules": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.1-dev" + "dev-master": "2.2.x-dev" } }, "autoload": { "files": [ "deprecated/apc.php", + "deprecated/array.php", + "deprecated/datetime.php", "deprecated/libevent.php", + "deprecated/misc.php", + "deprecated/password.php", "deprecated/mssql.php", "deprecated/stats.php", + "deprecated/strings.php", "lib/special_cases.php", + "deprecated/mysqli.php", "generated/apache.php", "generated/apcu.php", "generated/array.php", @@ -6795,6 +7638,7 @@ "generated/fpm.php", "generated/ftp.php", "generated/funchand.php", + "generated/gettext.php", "generated/gmp.php", "generated/gnupg.php", "generated/hash.php", @@ -6804,7 +7648,6 @@ "generated/image.php", "generated/imap.php", "generated/info.php", - "generated/ingres-ii.php", "generated/inotify.php", "generated/json.php", "generated/ldap.php", @@ -6813,20 +7656,14 @@ "generated/mailparse.php", "generated/mbstring.php", "generated/misc.php", - "generated/msql.php", "generated/mysql.php", - "generated/mysqli.php", - "generated/mysqlndMs.php", - "generated/mysqlndQc.php", "generated/network.php", "generated/oci8.php", "generated/opcache.php", "generated/openssl.php", "generated/outcontrol.php", - "generated/password.php", "generated/pcntl.php", "generated/pcre.php", - "generated/pdf.php", "generated/pgsql.php", "generated/posix.php", "generated/ps.php", @@ -6837,7 +7674,6 @@ "generated/sem.php", "generated/session.php", "generated/shmop.php", - "generated/simplexml.php", "generated/sockets.php", "generated/sodium.php", "generated/solr.php", @@ -6860,13 +7696,13 @@ "generated/zip.php", "generated/zlib.php" ], - "psr-4": { - "Safe\\": [ - "lib/", - "deprecated/", - "generated/" - ] - } + "classmap": [ + "lib/DateTime.php", + "lib/DateTimeImmutable.php", + "lib/Exceptions/", + "deprecated/Exceptions/", + "generated/Exceptions/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6875,22 +7711,22 @@ "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v1.3.3" + "source": "https://github.com/thecodingmachine/safe/tree/v2.4.0" }, - "time": "2020-10-28T17:51:34+00:00" + "time": "2022-10-07T14:02:17+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.4", + "version": "2.2.6", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", - "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", "shasum": "" }, "require": { @@ -6928,36 +7764,39 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" }, - "time": "2021-12-08T09:12:39+00:00" + "time": "2023-01-03T09:29:04+00:00" }, { - "name": "ueberdosis/html-to-prosemirror", - "version": "1.5.0", + "name": "ueberdosis/tiptap-php", + "version": "1.1.0", "source": { "type": "git", - "url": "https://github.com/ueberdosis/html-to-prosemirror.git", - "reference": "d2de3dbd7d8d891ed595c3b695b5f80d03697af6" + "url": "https://github.com/ueberdosis/tiptap-php.git", + "reference": "34c0b2472b5be91525718fcb50f8a4d046f97615" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ueberdosis/html-to-prosemirror/zipball/d2de3dbd7d8d891ed595c3b695b5f80d03697af6", - "reference": "d2de3dbd7d8d891ed595c3b695b5f80d03697af6", + "url": "https://api.github.com/repos/ueberdosis/tiptap-php/zipball/34c0b2472b5be91525718fcb50f8a4d046f97615", + "reference": "34c0b2472b5be91525718fcb50f8a4d046f97615", "shasum": "" }, "require": { - "php": "^7.1.3|^8.0" + "php": "^7.4|^8.0", + "scrivo/highlight.php": "v9.18.1.9", + "spatie/shiki-php": "^1.1" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.15", - "league/climate": "^3.5", - "phpunit/phpunit": "^7.0|^8.0|^9.0" + "friendsofphp/php-cs-fixer": "^3.5", + "pestphp/pest": "^1.21", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.3" }, "type": "library", "autoload": { "psr-4": { - "HtmlToProseMirror\\": "src/" + "Tiptap\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -6966,92 +7805,50 @@ ], "authors": [ { - "name": "Hans Pagel" + "name": "Hans Pagel", + "email": "humans@tiptap.dev", + "role": "Developer" } ], - "description": "Takes HTML and outputs ProseMirror compatible JSON.", + "description": "A PHP package to work with Tiptap output", + "homepage": "https://github.com/ueberdosis/tiptap-php", "keywords": [ - "prosemirror" + "prosemirror", + "tiptap", + "ueberdosis" ], "support": { - "issues": "https://github.com/ueberdosis/html-to-prosemirror/issues", - "source": "https://github.com/ueberdosis/html-to-prosemirror/tree/1.5.0" + "issues": "https://github.com/ueberdosis/tiptap-php/issues", + "source": "https://github.com/ueberdosis/tiptap-php/tree/1.1.0" }, "funding": [ { - "url": "https://github.com/sponsors/ueberdosis/", - "type": "github" - } - ], - "abandoned": true, - "time": "2021-01-19T11:34:35+00:00" - }, - { - "name": "ueberdosis/prosemirror-to-html", - "version": "2.7.0", - "source": { - "type": "git", - "url": "https://github.com/ueberdosis/prosemirror-to-html.git", - "reference": "7d22a0d213d3f204322a8814eab47ed4ea817f54" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ueberdosis/prosemirror-to-html/zipball/7d22a0d213d3f204322a8814eab47ed4ea817f54", - "reference": "7d22a0d213d3f204322a8814eab47ed4ea817f54", - "shasum": "" - }, - "require": { - "php": "^7.1.3|^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.15", - "league/climate": "^3.5", - "phpunit/phpunit": "^7.5.20" - }, - "type": "library", - "autoload": { - "psr-4": { - "ProseMirrorToHtml\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Hans Pagel" - } - ], - "description": "Takes HTML and outputs ProseMirror compatible JSON.", - "keywords": [ - "prosemirror" - ], - "support": { - "issues": "https://github.com/ueberdosis/prosemirror-to-html/issues", - "source": "https://github.com/ueberdosis/prosemirror-to-html/tree/2.7.0" - }, - "funding": [ + "url": "https://tiptap.dev/pricing", + "type": "custom" + }, { - "url": "https://github.com/sponsors/ueberdosis/", + "url": "https://github.com/ueberdosis", "type": "github" + }, + { + "url": "https://opencollective.com/y-collective", + "type": "open_collective" } ], - "abandoned": true, - "time": "2021-08-18T08:05:58+00:00" + "time": "2022-02-07T13:37:02+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.4.1", + "version": "v5.5.0", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f" + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f", - "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", "shasum": "" }, "require": { @@ -7066,15 +7863,19 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.4.1", "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" + "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25" }, "suggest": { "ext-filter": "Required to use the boolean validator." }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.5-dev" } }, "autoload": { @@ -7106,7 +7907,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" }, "funding": [ { @@ -7118,7 +7919,7 @@ "type": "tidelift" } ], - "time": "2021-12-12T23:22:04+00:00" + "time": "2022-10-16T01:01:54+00:00" }, { "name": "voku/portable-ascii", @@ -7196,21 +7997,21 @@ }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -7248,22 +8049,22 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" }, { "name": "webonyx/graphql-php", - "version": "v14.11.5", + "version": "v14.11.9", "source": { "type": "git", "url": "https://github.com/webonyx/graphql-php.git", - "reference": "ffa431c0821821839370a68dab3c2597c06bf7f0" + "reference": "ff91c9f3cf241db702e30b2c42bcc0920e70ac70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/ffa431c0821821839370a68dab3c2597c06bf7f0", - "reference": "ffa431c0821821839370a68dab3c2597c06bf7f0", + "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/ff91c9f3cf241db702e30b2c42bcc0920e70ac70", + "reference": "ff91c9f3cf241db702e30b2c42bcc0920e70ac70", "shasum": "" }, "require": { @@ -7308,7 +8109,7 @@ ], "support": { "issues": "https://github.com/webonyx/graphql-php/issues", - "source": "https://github.com/webonyx/graphql-php/tree/v14.11.5" + "source": "https://github.com/webonyx/graphql-php/tree/v14.11.9" }, "funding": [ { @@ -7316,20 +8117,20 @@ "type": "open_collective" } ], - "time": "2022-01-24T11:13:31+00:00" + "time": "2023-01-06T12:12:50+00:00" }, { "name": "wilderborn/partyline", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/wilderborn/partyline.git", - "reference": "32623756e376da900e4554f3150437527c88a2ef" + "reference": "74dcc591b5581c24e8be848e45ef5f59d8376c86" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wilderborn/partyline/zipball/32623756e376da900e4554f3150437527c88a2ef", - "reference": "32623756e376da900e4554f3150437527c88a2ef", + "url": "https://api.github.com/repos/wilderborn/partyline/zipball/74dcc591b5581c24e8be848e45ef5f59d8376c86", + "reference": "74dcc591b5581c24e8be848e45ef5f59d8376c86", "shasum": "" }, "type": "library", @@ -7361,18 +8162,20 @@ "description": "A Laravel 5 package to output to the console from outside of command classes", "support": { "issues": "https://github.com/wilderborn/partyline/issues", - "source": "https://github.com/wilderborn/partyline/tree/1.0.1" + "source": "https://github.com/wilderborn/partyline/tree/1.0.2" }, - "time": "2022-03-15T20:23:29+00:00" + "time": "2022-12-14T18:38:34+00:00" } ], "packages-dev": [], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "statamic/cms": 15 + }, "prefer-stable": false, "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/config/statamic/miniset.php b/config/statamic/miniset.php index f70d1f7..dff0d53 100644 --- a/config/statamic/miniset.php +++ b/config/statamic/miniset.php @@ -13,7 +13,7 @@ 'jit_safe' => [ 'enable' => false, - 'file' => resource_path('css/statamic/miniset_classes.yaml'), + 'file' => resource_path('css/statamic/miniset_classes.yaml'), ], ]; diff --git a/dist/build/assets/addon-8197aa4b.js b/dist/build/assets/addon-8197aa4b.js new file mode 100644 index 0000000..2757c84 --- /dev/null +++ b/dist/build/assets/addon-8197aa4b.js @@ -0,0 +1,46 @@ +var A=Object.defineProperty;var z=(r,e,t)=>e in r?A(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var R=(r,e,t)=>(z(r,typeof e!="symbol"?e+"":e,t),t);const addon="";function normalizeComponent(r,e,t,n,s,l,a,o){var u=typeof r=="function"?r.options:r;e&&(u.render=e,u.staticRenderFns=t,u._compiled=!0),n&&(u.functional=!0),l&&(u._scopeId="data-v-"+l);var h;if(a?(h=function(p){p=p||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!p&&typeof __VUE_SSR_CONTEXT__<"u"&&(p=__VUE_SSR_CONTEXT__),s&&s.call(this,p),p&&p._registeredComponents&&p._registeredComponents.add(a)},u._ssrRegister=h):s&&(h=o?function(){s.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:s),h)if(u.functional){u._injectStyles=h;var d=u.render;u.render=function(c,k){return h.call(k),d(c,k)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,h):[h]}return{exports:r,options:u}}const _sfc_main$3={props:{field:{type:Object,required:!0},meta:{type:Object},value:{required:!0},parentName:{type:String,required:!0},setIndex:{type:Number,required:!0},fieldPath:{type:String},readOnly:Boolean},inject:["storeName"],computed:{fieldtypeComponent(){return`${this.field.component||this.field.type}-fieldtype`},namePrefix(){return`${this.parentName}[${this.setIndex}]`},display(){return this.field.display||this.field.handle[0].toUpperCase()+this.field.handle.slice(1)},instructions(){return this.field.instructions?this.$options.filters.markdown(this.field.instructions):null},storeState(){return this.$store.state.publish[this.storeName]||[]},errors(){return this.storeState.errors[this.fieldPath]||[]},hasError(){return this.errors.length>0},hasNestedError(){const r=`${this.fieldPath}.`;return Object.keys(this.storeState.errors).some(e=>e.startsWith(r))},isReadOnly(){return this.readOnly||this.field.visibility==="read_only"||!1},classes(){return["form-group publish-field",`${this.field.type}-fieldtype`,`${tailwind_width_class(this.field.width)}`,this.isReadOnly?"read-only-field":"",this.field.classes||"",{"has-error":this.hasError||this.hasNestedError}]},showLabel(){return this.showLabelText||this.isReadOnly||this.field.required},showLabelText(){return!this.field.hide_display}}};var _sfc_render$3=function(){var e=this,t=e._self._c;return t("div",{staticClass:"p-4 m-0",class:e.classes},[e.showLabel?t("label",{staticClass:"block"},[e.showLabelText?t("span",[e._v(e._s(e.display))]):e._e(),e.field.required?t("i",{staticClass:"required"},[e._v("*")]):e._e(),e.isReadOnly?t("span",{staticClass:"text-gray-500 font-normal text-2xs mx-1",domProps:{textContent:e._s(e.__("Read Only"))}}):e._e()]):e._e(),e.instructions&&e.field.instructions_position!=="below"?t("div",{staticClass:"help-block",domProps:{innerHTML:e._s(e.instructions)}}):e._e(),t(e.fieldtypeComponent,{tag:"component",attrs:{config:e.field,meta:e.meta,value:e.value,handle:e.field.handle,"name-prefix":e.namePrefix,"field-path-prefix":e.fieldPath,"has-error":e.hasError||e.hasNestedError,"read-only":e.isReadOnly},on:{input:function(n){return e.$emit("updated",n)},"meta-updated":function(n){return e.$emit("meta-updated",n)},focus:function(n){return e.$emit("focus")},blur:function(n){return e.$emit("blur")},"replicator-preview-updated":function(n){return e.$emit("replicator-preview-updated",n)}}}),e.instructions&&e.field.instructions_position==="below"?t("div",{staticClass:"help-block mt-2",domProps:{innerHTML:e._s(e.instructions)}}):e._e(),e.hasError?t("div",e._l(e.errors,function(n,s){return t("small",{key:s,staticClass:"help-block text-red-500 mt-2",domProps:{textContent:e._s(n)}})}),0):e._e()],1)},_sfc_staticRenderFns$3=[],__component__$3=normalizeComponent(_sfc_main$3,_sfc_render$3,_sfc_staticRenderFns$3,!1,null,null,null,null);const SetField=__component__$3.exports;function getAugmentedNamespace(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){if(this instanceof n){var s=[null];s.push.apply(s,arguments);var l=Function.bind.apply(e,s);return new l}return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var s=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:function(){return r[n]}})}),t}function commonjsRequire(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var uniqidExports$1={},uniqid$1={get exports(){return uniqidExports$1},set exports(r){uniqidExports$1=r}};const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1);var pid$1=typeof process<"u"&&process.pid?process.pid.toString(36):"",address$1="";if(typeof __webpack_require__!="function"&&typeof commonjsRequire<"u"){var mac$1="",os$1=require$$0;if(os$1.networkInterfaces)var networkInterfaces$1=os$1.networkInterfaces();if(networkInterfaces$1){e:for(let r in networkInterfaces$1){const e=networkInterfaces$1[r],t=e.length;for(var i$1=0;i$1e?r:e+1}const KEYS=["if","if_any","show_when","show_when_any","unless","unless_any","hide_when","hide_when_any"],OPERATORS=["equals","not","contains","contains_any","===","!==",">",">=","<","<=","custom"],ALIASES={is:"equals","==":"equals",isnt:"not","!=":"not",includes:"contains",includes_any:"contains_any"};var VERSION="1.13.6",root=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},ArrayProto=Array.prototype,ObjProto=Object.prototype,push=ArrayProto.push,slice=ArrayProto.slice,toString=ObjProto.toString,hasOwnProperty=ObjProto.hasOwnProperty,nativeIsArray=Array.isArray,nativeKeys=Object.keys,_isNaN=isNaN,hasEnumBug=!{toString:null}.propertyIsEnumerable("toString"),nonEnumerableProps=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],MAX_ARRAY_INDEX=Math.pow(2,53)-1;function _$1(r){if(r instanceof _$1)return r;if(!(this instanceof _$1))return new _$1(r);this._wrapped=r}_$1.VERSION=VERSION;_$1.prototype.value=function(){return this._wrapped};_$1.prototype.valueOf=_$1.prototype.toJSON=_$1.prototype.value;_$1.prototype.toString=function(){return String(this._wrapped)};function identity(r){return r}function tagTester(r){var e="[object "+r+"]";return function(t){return toString.call(t)===e}}var isFunction=tagTester("Function"),nodelist=root.document&&root.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof nodelist!="function"&&(isFunction=function(r){return typeof r=="function"||!1});const isFunction$1=isFunction;function isObject(r){var e=typeof r;return e==="function"||e==="object"&&!!r}const isArray=nativeIsArray||tagTester("Array");function createAssigner(r,e){return function(t){var n=arguments.length;if(e&&(t=Object(t)),n<2||t==null)return t;for(var s=1;s=0&&t<=MAX_ARRAY_INDEX}}function shallowProperty(r){return function(e){return e==null?void 0:e[r]}}const getLength=shallowProperty("length"),isArrayLike=createSizePropertyCheck(getLength);function map(r,e,t){e=cb(e,t);for(var n=!isArrayLike(r)&&keys(r),s=(n||r).length,l=Array(s),a=0;athis.splitRhs(s,n,t))}toBlueprint(e){let t={};return each(e,n=>{t[n.field]=this.combineRhs(n)}),t}splitRhs(e,t,n=null){return{field:this.getScopedFieldHandle(e,n),operator:this.getOperatorFromRhs(t),value:this.getValueFromRhs(t)}}getScopedFieldHandle(e,t){return e.startsWith("root.")||!t?e:t+e}getOperatorFromRhs(e){let t="==";return chain(this.getOperatorsAndAliases()).filter(n=>new RegExp(`^${n} [^=]`).test(this.normalizeConditionString(e))).each(n=>t=n),this.normalizeOperator(t)}normalizeOperator(e){return ALIASES[e]?ALIASES[e]:e}getValueFromRhs(e){let t=this.normalizeConditionString(e);return chain(this.getOperatorsAndAliases()).filter(n=>new RegExp(`^${n} [^=]`).test(t)).each(n=>t=t.replace(new RegExp(`^${n}[ ]*`),"")),t}combineRhs(e){let t=e.operator?e.operator.trim():"",n=e.value.trim();return`${t} ${n}`.trim()}getOperatorsAndAliases(){return OPERATORS.concat(Object.keys(ALIASES))}normalizeConditionString(e){return e===null?"null":e===""?"empty":e.toString()}}function getDefaults(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let defaults=getDefaults();function changeDefaults(r){defaults=r}const escapeTest=/[&<>"']/,escapeReplace=new RegExp(escapeTest.source,"g"),escapeTestNoEncode=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode=new RegExp(escapeTestNoEncode.source,"g"),escapeReplacements={"&":"&","<":"<",">":">",'"':""","'":"'"},getEscapeReplacement=r=>escapeReplacements[r];function escape(r,e){if(e){if(escapeTest.test(r))return r.replace(escapeReplace,getEscapeReplacement)}else if(escapeTestNoEncode.test(r))return r.replace(escapeReplaceNoEncode,getEscapeReplacement);return r}const unescapeTest=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function unescape(r){return r.replace(unescapeTest,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const caret=/(^|[^\[])\^/g;function edit(r,e){r=typeof r=="string"?r:r.source,e=e||"";const t={replace:(n,s)=>(s=s.source||s,s=s.replace(caret,"$1"),r=r.replace(n,s),t),getRegex:()=>new RegExp(r,e)};return t}const nonWordAndColonTest=/[^\w:]/g,originIndependentUrl=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function cleanUrl(r,e,t){if(r){let n;try{n=decodeURIComponent(unescape(t)).replace(nonWordAndColonTest,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!originIndependentUrl.test(t)&&(t=resolveUrl(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const baseUrls={},justDomain=/^[^:]+:\/*[^/]*$/,protocol=/^([^:]+:)[\s\S]*$/,domain=/^([^:]+:\/*[^/]*)[\s\S]*$/;function resolveUrl(r,e){baseUrls[" "+r]||(justDomain.test(r)?baseUrls[" "+r]=r+"/":baseUrls[" "+r]=rtrim(r,"/",!0)),r=baseUrls[" "+r];const t=r.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:r.replace(protocol,"$1")+e:e.charAt(0)==="/"?t?e:r.replace(domain,"$1")+e:r+e}const noopTest={exec:function(){}};function splitCells(r,e){const t=r.replace(/\|/g,(l,a,o)=>{let u=!1,h=a;for(;--h>=0&&o[h]==="\\";)u=!u;return u?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length1;)e&1&&(t+=r),e>>=1,r+=r;return t+r}function outputLink(r,e,t,n){const s=e.href,l=e.title?escape(e.title):null,a=r[1].replace(/\\([\[\]])/g,"$1");if(r[0].charAt(0)!=="!"){n.state.inLink=!0;const o={type:"link",raw:t,href:s,title:l,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,o}return{type:"image",raw:t,href:s,title:l,text:escape(a)}}function indentCodeCompensation(r,e){const t=r.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(` +`).map(s=>{const l=s.match(/^\s+/);if(l===null)return s;const[a]=l;return a.length>=n.length?s.slice(n.length):s}).join(` +`)}class Tokenizer{constructor(e){this.options=e||defaults}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:rtrim(n,` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=indentCodeCompensation(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=rtrim(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=t[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;const l=this.lexer.blockTokens(n);return this.lexer.state.top=s,{type:"blockquote",raw:t[0],tokens:l,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,s,l,a,o,u,h,d,f,p,c,k,b=t[1].trim();const $=b.length>1,m={type:"list",raw:"",ordered:$,start:$?+b.slice(0,-1):"",loose:!1,items:[]};b=$?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=$?b:"[*+-]");const g=new RegExp(`^( {0,3}${b})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(k=!1,!(!(t=g.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),d=t[2].split(` +`,1)[0].replace(/^\t+/,y=>" ".repeat(3*y.length)),f=e.split(` +`,1)[0],this.options.pedantic?(a=2,c=d.trimLeft()):(a=t[2].search(/[^ ]/),a=a>4?1:a,c=d.slice(a),a+=t[1].length),u=!1,!d&&/^ *$/.test(f)&&(n+=f+` +`,e=e.substring(f.length+1),k=!0),!k){const y=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),w=new RegExp(`^ {0,${Math.min(3,a-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),x=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:\`\`\`|~~~)`),S=new RegExp(`^ {0,${Math.min(3,a-1)}}#`);for(;e&&(p=e.split(` +`,1)[0],f=p,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(x.test(f)||S.test(f)||y.test(f)||w.test(e)));){if(f.search(/[^ ]/)>=a||!f.trim())c+=` +`+f.slice(a);else{if(u||d.search(/[^ ]/)>=4||x.test(d)||S.test(d)||w.test(d))break;c+=` +`+f}!u&&!f.trim()&&(u=!0),n+=p+` +`,e=e.substring(p.length+1),d=f.slice(a)}}m.loose||(h?m.loose=!0:/\n *\n *$/.test(n)&&(h=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(c),s&&(l=s[0]!=="[ ] ",c=c.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:n,task:!!s,checked:l,loose:!1,text:c}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=c.trimRight(),m.raw=m.raw.trimRight();const v=m.items.length;for(o=0;ox.type==="space"),w=y.length>0&&y.some(x=>/\n.*\n/.test(x.raw));m.loose=w}if(m.loose)for(o=0;o$/,"$1").replace(this.rules.inline._escapes,"$1"):"",l=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:l}}}table(e){const t=this.rules.block.table.exec(e);if(t){const n={type:"table",header:splitCells(t[1]).map(s=>({text:s})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` +`):[]};if(n.header.length===n.align.length){n.raw=t[0];let s=n.align.length,l,a,o,u;for(l=0;l({text:h}));for(s=n.header.length,a=0;a/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):escape(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const a=rtrim(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{const a=findClosingBracket(t[2],"()");if(a>-1){const u=(t[0].indexOf("!")===0?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,u).trim(),t[3]=""}}let s=t[2],l="";if(this.options.pedantic){const a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);a&&(s=a[1],l=a[3])}else l=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),outputLink(t,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:l&&l.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(/\s+/g," ");if(s=t[s.toLowerCase()],!s){const l=n[0].charAt(0);return{type:"text",raw:l,text:l}}return outputLink(n,s,n[0],this.lexer)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;const l=s[1]||s[2]||"";if(!l||l&&(n===""||this.rules.inline.punctuation.exec(n))){const a=s[0].length-1;let o,u,h=a,d=0;const f=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+a);(s=f.exec(t))!=null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o)continue;if(u=o.length,s[3]||s[4]){h+=u;continue}else if((s[5]||s[6])&&a%3&&!((a+u)%3)){d+=u;continue}if(h-=u,h>0)continue;u=Math.min(u,u+h+d);const p=e.slice(0,a+s.index+(s[0].length-o.length)+u);if(Math.min(a,u)%2){const k=p.slice(1,-1);return{type:"em",raw:p,text:k,tokens:this.lexer.inlineTokens(k)}}const c=p.slice(2,-2);return{type:"strong",raw:p,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const s=/[^ ]/.test(n),l=/^ /.test(n)&&/ $/.test(n);return s&&l&&(n=n.substring(1,n.length-1)),n=escape(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let s,l;return n[2]==="@"?(s=escape(this.options.mangle?t(n[1]):n[1]),l="mailto:"+s):(s=escape(n[1]),l=s),{type:"link",raw:n[0],text:s,href:l,tokens:[{type:"text",raw:s,text:s}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let s,l;if(n[2]==="@")s=escape(this.options.mangle?t(n[0]):n[0]),l="mailto:"+s;else{let a;do a=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(a!==n[0]);s=escape(n[0]),n[1]==="www."?l="http://"+n[0]:l=n[0]}return{type:"link",raw:n[0],text:s,href:l,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let s;return this.lexer.state.inRawBlock?s=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):escape(n[0]):n[0]:s=escape(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:s}}}}const block={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:noopTest,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};block._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;block._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;block.def=edit(block.def).replace("label",block._label).replace("title",block._title).getRegex();block.bullet=/(?:[*+-]|\d{1,9}[.)])/;block.listItemStart=edit(/^( *)(bull) */).replace("bull",block.bullet).getRegex();block.list=edit(block.list).replace(/bull/g,block.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+block.def.source+")").getRegex();block._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";block._comment=/|$)/;block.html=edit(block.html,"i").replace("comment",block._comment).replace("tag",block._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();block.paragraph=edit(block._paragraph).replace("hr",block.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",block._tag).getRegex();block.blockquote=edit(block.blockquote).replace("paragraph",block.paragraph).getRegex();block.normal={...block};block.gfm={...block.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};block.gfm.table=edit(block.gfm.table).replace("hr",block.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",block._tag).getRegex();block.gfm.paragraph=edit(block._paragraph).replace("hr",block.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",block.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",block._tag).getRegex();block.pedantic={...block.normal,html:edit(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",block._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit(block.normal._paragraph).replace("hr",block.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",block.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const inline={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:noopTest,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:noopTest,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";inline.punctuation=edit(inline.punctuation).replace(/punctuation/g,inline._punctuation).getRegex();inline.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;inline.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;inline._comment=edit(block._comment).replace("(?:-->|$)","-->").getRegex();inline.emStrong.lDelim=edit(inline.emStrong.lDelim).replace(/punct/g,inline._punctuation).getRegex();inline.emStrong.rDelimAst=edit(inline.emStrong.rDelimAst,"g").replace(/punct/g,inline._punctuation).getRegex();inline.emStrong.rDelimUnd=edit(inline.emStrong.rDelimUnd,"g").replace(/punct/g,inline._punctuation).getRegex();inline._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;inline._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;inline._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;inline.autolink=edit(inline.autolink).replace("scheme",inline._scheme).replace("email",inline._email).getRegex();inline._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;inline.tag=edit(inline.tag).replace("comment",inline._comment).replace("attribute",inline._attribute).getRegex();inline._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;inline._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;inline._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;inline.link=edit(inline.link).replace("label",inline._label).replace("href",inline._href).replace("title",inline._title).getRegex();inline.reflink=edit(inline.reflink).replace("label",inline._label).replace("ref",block._label).getRegex();inline.nolink=edit(inline.nolink).replace("ref",block._label).getRegex();inline.reflinkSearch=edit(inline.reflinkSearch,"g").replace("reflink",inline.reflink).replace("nolink",inline.nolink).getRegex();inline.normal={...inline};inline.pedantic={...inline.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:edit(/^!?\[(label)\]\((.*?)\)/).replace("label",inline._label).getRegex(),reflink:edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",inline._label).getRegex()};inline.gfm={...inline.normal,escape:edit(inline.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class Lexer{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||defaults,this.options.tokenizer=this.options.tokenizer||new Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:block.normal,inline:inline.normal};this.options.pedantic?(t.block=block.pedantic,t.inline=inline.pedantic):this.options.gfm&&(t.block=block.gfm,this.options.breaks?t.inline=inline.breaks:t.inline=inline.gfm),this.tokenizer.rules=t}static get rules(){return{block,inline}}static lex(e,t){return new Lexer(t).lex(e)}static lexInline(e,t){return new Lexer(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,` +`),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(o,u,h)=>u+" ".repeat(h.length));let n,s,l,a;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(n=o.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=` +`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=` +`+n.raw,s.text+=` +`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=` +`+n.raw,s.text+=` +`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(l=e,this.options.extensions&&this.options.extensions.startBlock){let o=1/0;const u=e.slice(1);let h;this.options.extensions.startBlock.forEach(function(d){h=d.call({lexer:this},u),typeof h=="number"&&h>=0&&(o=Math.min(o,h))}),o<1/0&&o>=0&&(l=e.substring(0,o+1))}if(this.state.top&&(n=this.tokenizer.paragraph(l))){s=t[t.length-1],a&&s.type==="paragraph"?(s.raw+=` +`+n.raw,s.text+=` +`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n),a=l.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&s.type==="text"?(s.raw+=` +`+n.raw,s.text+=` +`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,s,l,a=e,o,u,h;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)d.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,o.index)+"["+repeatString("a",o[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)a=a.slice(0,o.index)+"["+repeatString("a",o[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.escapedEmSt.exec(a))!=null;)a=a.slice(0,o.index+o[0].length-2)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(u||(h=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(d=>(n=d.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,a,h)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e,mangle)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,mangle))){e=e.substring(n.raw.length),t.push(n);continue}if(l=e,this.options.extensions&&this.options.extensions.startInline){let d=1/0;const f=e.slice(1);let p;this.options.extensions.startInline.forEach(function(c){p=c.call({lexer:this},f),typeof p=="number"&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(l=e.substring(0,d+1))}if(n=this.tokenizer.inlineText(l,smartypants)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(h=n.raw.slice(-1)),u=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){const d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return t}}class Renderer{constructor(e){this.options=e||defaults}code(e,t,n){const s=(t||"").match(/\S*/)[0];if(this.options.highlight){const l=this.options.highlight(e,s);l!=null&&l!==e&&(n=!0,e=l)}return e=e.replace(/\n$/,"")+` +`,s?'
'+(n?e:escape(e,!0))+`
+`:"
"+(n?e:escape(e,!0))+`
+`}blockquote(e){return`
+${e}
+`}html(e){return e}heading(e,t,n,s){if(this.options.headerIds){const l=this.options.headerPrefix+s.slug(n);return`${e} +`}return`${e} +`}hr(){return this.options.xhtml?`
+`:`
+`}list(e,t,n){const s=t?"ol":"ul",l=t&&n!==1?' start="'+n+'"':"";return"<"+s+l+`> +`+e+" +`}listitem(e){return`
  • ${e}
  • +`}checkbox(e){return" "}paragraph(e){return`

    ${e}

    +`}table(e,t){return t&&(t=`${t}`),` + +`+e+` +`+t+`
    +`}tablerow(e){return` +${e} +`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` +`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
    ":"
    "}del(e){return`${e}`}link(e,t,n){if(e=cleanUrl(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s='",s}image(e,t,n){if(e=cleanUrl(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s=`${n}":">",s}text(e){return e}}class TextRenderer{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class Slugger{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,s=0;if(this.seen.hasOwnProperty(n)){s=this.seen[e];do s++,n=e+"-"+s;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=s,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class Parser{constructor(e){this.options=e||defaults,this.options.renderer=this.options.renderer||new Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new TextRenderer,this.slugger=new Slugger}static parse(e,t){return new Parser(t).parse(e)}static parseInline(e,t){return new Parser(t).parseInline(e)}parse(e,t=!0){let n="",s,l,a,o,u,h,d,f,p,c,k,b,$,m,g,v,y,w,x;const S=e.length;for(s=0;s0&&g.tokens[0].type==="paragraph"?(g.tokens[0].text=w+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&g.tokens[0].tokens[0].type==="text"&&(g.tokens[0].tokens[0].text=w+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:w}):m+=w),m+=this.parse(g.tokens,$),p+=this.renderer.listitem(m,y,v);n+=this.renderer.list(p,k,b);continue}case"html":{n+=this.renderer.html(c.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(c.tokens));continue}case"text":{for(p=c.tokens?this.parseInline(c.tokens):c.text;s+1{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,r){const s="

    An error occurred:

    "+escape(n.message+"",!0)+"
    ";if(e)return Promise.resolve(s);if(t){t(null,s);return}return s}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function parseMarkdown(r,e){return(t,n,s)=>{typeof n=="function"&&(s=n,n=null);const l={...n};n={...marked.defaults,...l};const a=onError(n.silent,n.async,s);if(typeof t>"u"||t===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(checkSanitizeDeprecation(n),n.hooks&&(n.hooks.options=n),s){const o=n.highlight;let u;try{n.hooks&&(t=n.hooks.preprocess(t)),u=r(t,n)}catch(f){return a(f)}const h=function(f){let p;if(!f)try{n.walkTokens&&marked.walkTokens(u,n.walkTokens),p=e(u,n),n.hooks&&(p=n.hooks.postprocess(p))}catch(c){f=c}return n.highlight=o,f?a(f):s(null,p)};if(!o||o.length<3||(delete n.highlight,!u.length))return h();let d=0;marked.walkTokens(u,function(f){f.type==="code"&&(d++,setTimeout(()=>{o(f.text,f.lang,function(p,c){if(p)return h(p);c!=null&&c!==f.text&&(f.text=c,f.escaped=!0),d--,d===0&&h()})},0))}),d===0&&h();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(o=>r(o,n)).then(o=>n.walkTokens?Promise.all(marked.walkTokens(o,n.walkTokens)).then(()=>o):o).then(o=>e(o,n)).then(o=>n.hooks?n.hooks.postprocess(o):o).catch(a);try{n.hooks&&(t=n.hooks.preprocess(t));const o=r(t,n);n.walkTokens&&marked.walkTokens(o,n.walkTokens);let u=e(o,n);return n.hooks&&(u=n.hooks.postprocess(u)),u}catch(o){return a(o)}}}function marked(r,e,t){return parseMarkdown(Lexer.lex,Parser.parse)(r,e,t)}marked.options=marked.setOptions=function(r){return marked.defaults={...marked.defaults,...r},changeDefaults(marked.defaults),marked};marked.getDefaults=getDefaults;marked.defaults=defaults;marked.use=function(...r){const e=marked.defaults.extensions||{renderers:{},childTokens:{}};r.forEach(t=>{const n={...t};if(n.async=marked.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if(s.renderer){const l=e.renderers[s.name];l?e.renderers[s.name]=function(...a){let o=s.renderer.apply(this,a);return o===!1&&(o=l.apply(this,a)),o}:e.renderers[s.name]=s.renderer}if(s.tokenizer){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[s.level]?e[s.level].unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),n.extensions=e),t.renderer){const s=marked.defaults.renderer||new Renderer;for(const l in t.renderer){const a=s[l];s[l]=(...o)=>{let u=t.renderer[l].apply(s,o);return u===!1&&(u=a.apply(s,o)),u}}n.renderer=s}if(t.tokenizer){const s=marked.defaults.tokenizer||new Tokenizer;for(const l in t.tokenizer){const a=s[l];s[l]=(...o)=>{let u=t.tokenizer[l].apply(s,o);return u===!1&&(u=a.apply(s,o)),u}}n.tokenizer=s}if(t.hooks){const s=marked.defaults.hooks||new Hooks;for(const l in t.hooks){const a=s[l];Hooks.passThroughHooks.has(l)?s[l]=o=>{if(marked.defaults.async)return Promise.resolve(t.hooks[l].call(s,o)).then(h=>a.call(s,h));const u=t.hooks[l].call(s,o);return a.call(s,u)}:s[l]=(...o)=>{let u=t.hooks[l].apply(s,o);return u===!1&&(u=a.apply(s,o)),u}}n.hooks=s}if(t.walkTokens){const s=marked.defaults.walkTokens;n.walkTokens=function(l){let a=[];return a.push(t.walkTokens.call(this,l)),s&&(a=a.concat(s.call(this,l))),a}}marked.setOptions(n)})};marked.walkTokens=function(r,e){let t=[];for(const n of r)switch(t=t.concat(e.call(marked,n)),n.type){case"table":{for(const s of n.header)t=t.concat(marked.walkTokens(s.tokens,e));for(const s of n.rows)for(const l of s)t=t.concat(marked.walkTokens(l.tokens,e));break}case"list":{t=t.concat(marked.walkTokens(n.items,e));break}default:marked.defaults.extensions&&marked.defaults.extensions.childTokens&&marked.defaults.extensions.childTokens[n.type]?marked.defaults.extensions.childTokens[n.type].forEach(function(s){t=t.concat(marked.walkTokens(n[s],e))}):n.tokens&&(t=t.concat(marked.walkTokens(n.tokens,e)))}return t};marked.parseInline=parseMarkdown(Lexer.lexInline,Parser.parseInline);marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.TextRenderer=TextRenderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.Tokenizer=Tokenizer;marked.Slugger=Slugger;marked.Hooks=Hooks;marked.parse=marked;marked.options;marked.setOptions;marked.use;marked.walkTokens;marked.parseInline;Parser.parse;Lexer.lex;function data_get(r,e,t=null){var n=Array.isArray(e)?e:e.split("."),s=n.reduce((l,a)=>l&&l[a],r);return s!==void 0?s:t}const isString=tagTester("String");var isArguments=tagTester("Arguments");(function(){isArguments(arguments)||(isArguments=function(r){return has(r,"callee")})})();const isArguments$1=isArguments;function isEmpty(r){if(r==null)return!0;var e=getLength(r);return typeof e=="number"&&(isArray(r)||isString(r)||isArguments$1(r))?e===0:getLength(keys(r))===0}function values(r){for(var e=keys(r),t=e.length,n=Array(t),s=0;s0?0:s-1;l>=0&&l0?a=l>=0?l:Math.max(l+o,a):o=l>=0?Math.min(l+1,o):l+o+1;else if(t&&l&&o)return l=t(n,s),n[l]===s?l:-1;if(s!==s)return l=e(slice.call(n,a,o),isNaN$1),l>=0?l+a:-1;for(l=r>0?a:o-1;l>=0&&l=0}function intersection(r){for(var e=[],t=arguments.length,n=0,s=getLength(r);n",">=","<","<="];class Validator{constructor(r,e,t,n){this.field=r,this.values=e,this.rootValues=t?t.state.publish[n].values:!1,this.store=t,this.storeName=n,this.passOnAny=!1,this.showOnPass=!0,this.converter=new Converter}passesConditions(r){let e=r||this.getConditions();if(e===void 0)return!0;if(this.isCustomConditionWithoutTarget(e))return this.passesCustomCondition(this.prepareCondition(e));let t=this.passOnAny?this.passesAnyConditions(e):this.passesAllConditions(e);return this.showOnPass?t:!t}getConditions(){let r=chain(KEYS).filter(t=>this.field[t]).first().value();if(!r)return;r.includes("any")&&(this.passOnAny=!0),(r.includes("unless")||r.includes("hide_when"))&&(this.showOnPass=!1);let e=this.field[r];return this.isCustomConditionWithoutTarget(e)?e:this.converter.fromBlueprint(e,this.field.prefix)}isCustomConditionWithoutTarget(r){return isString(r)}passesAllConditions(r){return chain(r).map(e=>this.prepareCondition(e)).reject(e=>this.passesCondition(e)).isEmpty().value()}passesAnyConditions(r){return!chain(r).map(e=>this.prepareCondition(e)).filter(e=>this.passesCondition(e)).isEmpty().value()}prepareCondition(r){if(isString(r)||r.operator==="custom")return this.prepareCustomCondition(r);let e=this.prepareOperator(r.operator),t=this.prepareLhs(r.field,e),n=this.prepareRhs(r.value,e);return{lhs:t,operator:e,rhs:n}}prepareOperator(r){switch(r){case null:case"":case"is":case"equals":return"==";case"isnt":case"not":case"¯\\_(ツ)_/¯":return"!=";case"includes":case"contains":return"includes";case"includes_any":case"contains_any":return"includes_any"}return r}prepareLhs(r,e){let t=this.getFieldValue(r);return NUMBER_SPECIFIC_COMPARISONS.includes(e)?Number(t):e==="includes"&&!isObject(t)?t?t.toString():"":(isString(t)&&isEmpty(t)&&(t=null),isString(t)?JSON.stringify(t.trim()):t)}prepareRhs(r,e){switch(r){case"null":return null;case"true":return!0;case"false":return!1}return NUMBER_SPECIFIC_COMPARISONS.includes(e)?Number(r):r==="empty"||e==="includes"||e==="includes_any"?r:isString(r)?JSON.stringify(r.trim()):r}prepareCustomCondition(r){let e=this.prepareFunctionName(r.value||r),t=this.prepareParams(r.value||r),n=r.field?this.getFieldValue(r.field):null;return{functionName:e,params:t,target:n}}prepareFunctionName(r){return r.replace(new RegExp("^custom "),"").split(":")[0]}prepareParams(r){let e=r.split(":")[1];return e?e.split(",").map(t=>t.trim()):[]}getFieldValue(r){return r.startsWith("root.")?data_get(this.rootValues,r.replace(new RegExp("^root."),"")):data_get(this.values,r)}passesCondition(condition){return condition.functionName?this.passesCustomCondition(condition):condition.operator==="includes"?this.passesIncludesCondition(condition):condition.operator==="includes_any"?this.passesIncludesAnyCondition(condition):(condition.rhs==="empty"&&(condition.lhs=isEmpty(condition.lhs),condition.rhs=!0),isObject(condition.lhs)?!1:eval(`${condition.lhs} ${condition.operator} ${condition.rhs}`))}passesIncludesCondition(r){return r.lhs.includes(r.rhs)}passesIncludesAnyCondition(r){let e=r.rhs.split(",").map(t=>t.trim());return Array.isArray(r.lhs)?intersection(r.lhs,e).length:new RegExp(e.join("|")).test(r.lhs)}passesCustomCondition(r){let e=data_get(this.store.state.statamic.conditions,r.functionName);if(typeof e!="function")return console.error(`Statamic field condition [${r.functionName}] was not properly defined.`),!1;let t=e({params:r.params,target:r.target,values:this.values,root:this.rootValues,store:this.store,storeName:this.storeName});return this.showOnPass?t:!t}passesNonRevealerConditions(r){let e=this.getConditions();if(this.isCustomConditionWithoutTarget(e))return this.passesConditions(e);let t=data_get(this.store.state.publish[this.storeName],"revealerFields",[]),n=chain(this.getConditions()).reject(s=>t.includes(this.relativeLhsToAbsoluteFieldPath(s.field,r))).value();return this.passesConditions(n)}relativeLhsToAbsoluteFieldPath(r,e){return e?r.startsWith("root.")?r.replace(/^root\./,""):e+"."+r:r}}const ValidatesFieldConditions={inject:{storeName:{default:"base"}},methods:{showField(r,e){let t=e||r.handle,n=e?e.replace(new RegExp("."+r.handle+"$"),""):"";if(r.visibility==="hidden"||this.shouldForceHiddenField(t))return this.$store.commit(`publish/${this.storeName}/setHiddenField`,{dottedKey:t,hidden:"force",omitValue:!1}),!1;let s=new Validator(r,this.values,this.$store,this.storeName),l=s.passesConditions();return r.always_save===!0?(this.$store.commit(`publish/${this.storeName}/setHiddenField`,{dottedKey:t,hidden:!l,omitValue:!1}),l):(this.$nextTick(()=>{this.$store.commit(`publish/${this.storeName}/setHiddenField`,{dottedKey:t,hidden:!l,omitValue:r.type==="revealer"||!s.passesNonRevealerConditions(n)})}),l)},shouldForceHiddenField(r){return data_get(this.$store.state.publish[this.storeName].hiddenFields[r],"hidden")==="force"}}},_sfc_main$2={mixins:[Fieldtype,ValidatesFieldConditions],components:{SetField},data(){return{focused:!1}},computed:{fields(){return this.config.fields}},watch:{focused(r,e){if(r!==e){if(r)return this.$emit("focus");setTimeout(()=>{this.$el.contains(document.activeElement)||this.$emit("blur")},1)}}},methods:{updated(r,e){let t=JSON.parse(JSON.stringify(this.value));t[r]=e,this.update(t)},errorKey(r){return`${this.handle}.${r}`},errors(r){const e=this.$store.state.publish[this.storeName];return e?e.errors[this.errorKey(r)]||[]:[]},blurred(){setTimeout(()=>{this.$el.contains(document.activeElement)||(this.focused=!1)},1)}}};var _sfc_render$2=function r(){var e=this,t=e._self._c;return t("div",{staticClass:"miniset miniset-values"},[t("div",{staticClass:"miniset-groups"},[t("div",{staticClass:"miniset-compact"},[t("publish-fields-container",e._l(e.fields,function(n){return t("set-field",{directives:[{name:"show",rawName:"v-show",value:e.showField(n),expression:"showField(field)"}],key:n.handle,attrs:{field:n,meta:e.meta[n.handle],value:e.value[n.handle],"parent-name":e.name,"set-index":0,errors:e.errors(n.handle),"error-key":e.errorKey(n.handle),"read-only":e.isReadOnly},on:{updated:function(s){return e.updated(n.handle,s)},"meta-updated":function(s){return e.metaUpdated(n.handle,s)},focus:function(s){return e.$emit("focus")},blur:function(s){return e.$emit("blur")}}})}),1)],1)])])},_sfc_staticRenderFns$2=[],__component__$2=normalizeComponent(_sfc_main$2,_sfc_render$2,_sfc_staticRenderFns$2,!1,null,null,null,null);const MinisetFieldtype=__component__$2.exports;var uniqidExports={},uniqid={get exports(){return uniqidExports},set exports(r){uniqidExports=r}},pid=typeof process<"u"&&process.pid?process.pid.toString(36):"",address="";if(typeof __webpack_require__!="function"&&typeof commonjsRequire<"u"){var mac="",os=require$$0;if(os.networkInterfaces)var networkInterfaces=os.networkInterfaces();if(networkInterfaces){e:for(let r in networkInterfaces){const e=networkInterfaces[r],t=e.length;for(var i=0;ie?r:e+1}const _sfc_main$1={mixins:[ValidatesFieldConditions],components:{SetField},inject:["miniset","storeName"],props:{index:{type:Number,required:!0},fields:{type:Array,required:!0},values:{type:Object,required:!0},meta:{type:Object,required:!0},name:{type:String,required:!0},errorKeyPrefix:{type:String}},computed:{errorKeyPrefix(){return this.miniset.errorKeyPrefix||this.miniset.handle}},methods:{updated(r,e){let t=JSON.parse(JSON.stringify(this.values));t[r]=e,this.$emit("updated",this.index,t)},metaUpdated(r,e){let t=clone(this.meta);t[r]=e,this.$emit("meta-updated",t)},errorKey(r){return`${this.errorKeyPrefix}.${this.index}.${r}`},errors(r){const e=this.$store.state.publish[this.storeName];return e?e.errors[this.errorKey(r)]||[]:[]}}};var _sfc_render$1=function r(){var e=this,t=e._self._c;return t("publish-fields-container",e._l(e.fields,function(n){return t("set-field",{directives:[{name:"show",rawName:"v-show",value:e.showField(n),expression:"showField(field)"}],key:n.handle,attrs:{field:n,meta:e.meta[n.handle],value:e.values[n.handle],"parent-name":e.name,"set-index":e.index,errors:e.errors(n.handle),"error-key":e.errorKey(n.handle),"read-only":e.miniset.isReadOnly},on:{updated:function(s){return e.updated(n.handle,s)},"meta-updated":function(s){return e.metaUpdated(n.handle,s)},focus:function(s){return e.$emit("focus")},blur:function(s){return e.$emit("blur")}}})}),1)},_sfc_staticRenderFns$1=[],__component__$1=normalizeComponent(_sfc_main$1,_sfc_render$1,_sfc_staticRenderFns$1,!1,null,null,null,null);const MinisetClassesGroup=__component__$1.exports,_sfc_main={mixins:[Fieldtype],components:{MinisetClassesGroup},data(){return{selected:0,addingGroup:!1,focused:!1}},provide(){return{miniset:{config:this.config,isReadOnly:this.isReadOnly,handle:this.handle,errorKeyPrefix:this.errorKeyPrefix}}},computed:{fields(){return this.config.fields},variants(){return this.config.variants},showTabs(){return Object.keys(this.variants).length>0}},watch:{focused(r,e){if(r!==e){if(r)return this.$emit("focus");setTimeout(()=>{this.$el.contains(document.activeElement)||this.$emit("blur")},1)}}},methods:{selectGroup(r){this.selected=r},addGroup(){this.addingGroup=!0},commitGroup(r){const e=this.value.findIndex(s=>s.variant===r);if(e!==-1){this.addingGroup=!1,this.selected=e;return}const t=uniqidExports(),n=_.chain(this.fields).indexBy("handle").mapObject(s=>this.meta.defaults[s.handle]).value();n._id=t,n.variant=r,this.updateGroupMeta(t,this.meta.new),this.update([...this.value,n]),this.$nextTick(()=>{this.addingGroup=!1,this.selected=this.value.length-1})},removeGroup(r){confirm(__("Are you sure?"))&&(this.update([...this.value.slice(0,r),...this.value.slice(r+1)]),this.$nextTick(()=>{this.selected=Math.min(this.selected,this.value.length-1),document.activeElement.blur()}))},updated(r,e){this.update([...this.value.slice(0,r),e,...this.value.slice(r+1)])},removed(r){confirm(__("Are you sure?"))&&this.update([...this.value.slice(0,r),...this.value.slice(r+1)])},blurred(){setTimeout(()=>{this.$el.contains(document.activeElement)||(this.focused=!1)},1)},groupLabel(r){return r.variant?this.variants[r.variant]||r.variant:__("Default")},updateGroupMeta(r,e){this.updateMeta({...this.meta,existing:{...this.meta.existing,[r]:e}})}}};var _sfc_render=function r(){var e=this,t=e._self._c;return t("div",{staticClass:"miniset miniset-classes"},[e.showTabs?t("div",{staticClass:"miniset-tabs"},[e._l(e.value,function(n,s){return t("div",{staticClass:"miniset-tab",class:{"miniset-tab-active":e.selected===s}},[t("button",{staticClass:"miniset-select",class:{"miniset-select-removeable":s!==0&&s===e.selected},domProps:{textContent:e._s(e.groupLabel(n))},on:{click:function(l){return l.preventDefault(),e.selectGroup(s)}}}),s!==0&&s===e.selected?t("button",{staticClass:"miniset-remove",on:{click:function(l){return e.removeGroup(s)}}},[t("svg",{staticClass:"h-4 w-4 block opacity-25 hover:opacity-100",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"}},[t("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"}})])]):e._e()])}),t("button",{staticClass:"miniset-add",on:{click:function(n){return n.preventDefault(),e.addGroup.apply(null,arguments)}}},[t("svg",{staticClass:"h-4 w-4 block opacity-25 hover:opacity-100",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"}},[t("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4v16m8-8H4"}})])])],2):e._e(),t("div",{staticClass:"miniset-groups"},[t("div",{staticClass:"miniset-compact"},e._l(e.value,function(n,s){return s===e.selected?t("miniset-classes-group",{key:`group-${n._id}`,attrs:{index:s,fields:e.fields,values:n,meta:e.meta.existing[n._id],name:e.name,"error-key-prefix":e.errorKeyPrefix},on:{updated:e.updated,"meta-updated":e.updateGroupMeta,removed:e.removed,focus:function(l){return e.$emit("focus")},blur:function(l){return e.$emit("blur")}}}):e._e()}),1),e.addingGroup?t("div",{staticClass:"miniset-create"},[t("div",{staticClass:"miniset-create-variants"},e._l(e.variants,function(n,s){return t("button",{staticClass:"btn",on:{click:function(l){return l.preventDefault(),e.commitGroup(s)}}},[t("span",{domProps:{textContent:e._s(n||s)}})])}),0)]):e._e()])])},_sfc_staticRenderFns=[],__component__=normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,!1,null,null,null,null);const MinisetClassesFieldtype=__component__.exports;Statamic.booting(()=>{Statamic.$components.register("miniset-fieldtype",MinisetFieldtype),Statamic.$components.register("miniset_classes-fieldtype",MinisetClassesFieldtype)}); diff --git a/dist/build/assets/addon-c20cfa51.css b/dist/build/assets/addon-c20cfa51.css new file mode 100644 index 0000000..020a7e5 --- /dev/null +++ b/dist/build/assets/addon-c20cfa51.css @@ -0,0 +1 @@ +.miniset-tabs{font-size:12px;display:flex;margin-bottom:-1px}.miniset-tab{font-size:12px;border-width:1px;border-color:#dde3e9;border-radius:3px 3px 0 0;background-color:#fff;position:relative;z-index:1}.miniset-tab:not(:first-child){border-left:0}.miniset-tab-active{border-bottom-color:transparent;background-color:#fafcff}.miniset-select{display:block;padding:.25rem .7rem}.miniset-select-removeable{padding-right:calc(6px + 1rem)}.miniset-remove{position:absolute;top:0;right:0;padding:5px 4px 4px 2px}.miniset-add{font-size:12px;border-width:1px 1px 0 1px;border-color:transparent;padding:0 .25rem 2px}.miniset-groups{border-width:1px;border-color:#dde3e9;border-radius:3px;background-color:#fafcff;position:relative}.miniset-tabs+.miniset-groups{border-top-left-radius:0}.miniset-create{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#fafcff;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:3px}.miniset-create-variants{display:flex;gap:.5em}.miniset-compact .publish-fields{padding:.4rem!important}.miniset-compact .publish-field{padding:.3rem!important}.miniset-compact .button_group-fieldtype,.miniset-compact .checkboxes-fieldtype,.miniset-compact .radio-fieldtype,.miniset-compact .range-fieldtype,.miniset-compact .select-fieldtype,.miniset-compact .toggle-fieldtype,.miniset-compact .text-fieldtype,.miniset-compact .textarea-fieldtype{font-size:12px!important}.miniset-compact .button_group-fieldtype *,.miniset-compact .checkboxes-fieldtype *,.miniset-compact .radio-fieldtype *,.miniset-compact .range-fieldtype *,.miniset-compact .select-fieldtype *,.miniset-compact .toggle-fieldtype *,.miniset-compact .text-fieldtype *,.miniset-compact .textarea-fieldtype *{font-size:inherit!important}.miniset-compact .button_group-fieldtype>label,.miniset-compact .checkboxes-fieldtype>label,.miniset-compact .radio-fieldtype>label,.miniset-compact .range-fieldtype>label,.miniset-compact .select-fieldtype>label,.miniset-compact .toggle-fieldtype>label,.miniset-compact .text-fieldtype>label,.miniset-compact .textarea-fieldtype>label{line-height:.8!important;margin-bottom:7px!important}.miniset-compact .button_group-fieldtype .help-block,.miniset-compact .checkboxes-fieldtype .help-block,.miniset-compact .radio-fieldtype .help-block,.miniset-compact .range-fieldtype .help-block,.miniset-compact .select-fieldtype .help-block,.miniset-compact .toggle-fieldtype .help-block,.miniset-compact .text-fieldtype .help-block,.miniset-compact .textarea-fieldtype .help-block{line-height:.8!important;margin-top:7px!important;margin-bottom:7px!important}.miniset-compact .button_group-fieldtype .help-block:last-child,.miniset-compact .checkboxes-fieldtype .help-block:last-child,.miniset-compact .radio-fieldtype .help-block:last-child,.miniset-compact .range-fieldtype .help-block:last-child,.miniset-compact .select-fieldtype .help-block:last-child,.miniset-compact .toggle-fieldtype .help-block:last-child,.miniset-compact .text-fieldtype .help-block:last-child,.miniset-compact .textarea-fieldtype .help-block:last-child{margin-bottom:0!important}.miniset-compact .button_group-fieldtype .help-block p:last-child,.miniset-compact .checkboxes-fieldtype .help-block p:last-child,.miniset-compact .radio-fieldtype .help-block p:last-child,.miniset-compact .range-fieldtype .help-block p:last-child,.miniset-compact .select-fieldtype .help-block p:last-child,.miniset-compact .toggle-fieldtype .help-block p:last-child,.miniset-compact .text-fieldtype .help-block p:last-child,.miniset-compact .textarea-fieldtype .help-block p:last-child{margin-bottom:0!important}.miniset-compact .button_group-fieldtype .btn-group{height:1.625rem!important}.miniset-compact .button_group-fieldtype .btn{padding:3px 6px!important;height:1.625rem!important;box-shadow:none!important}.miniset-compact .checkboxes-fieldtype .option,.miniset-compact .radio-fieldtype .option{margin-top:4px!important;margin-bottom:0!important}.miniset-compact .checkboxes-fieldtype .option:first-child,.miniset-compact .radio-fieldtype .option:first-child{margin-top:0!important}.miniset-compact .range-fieldtype-wrapper{padding:3px 8px!important}.miniset-compact .range-fieldtype-wrapper>div div:first-child,.miniset-compact .range-fieldtype-wrapper>div input+div+div{line-height:16px!important}.miniset-compact .range-fieldtype-wrapper>div input+div{margin:0 0 0 8px!important;padding:1px 4px!important;line-height:14px!important}.miniset-compact .select-fieldtype .vs__dropdown-toggle,.miniset-compact .select-fieldtype .vs__clear{height:1.625rem!important}.miniset-compact .select-fieldtype .vs__open-indicator{height:1.625rem!important;padding-left:4px!important;padding-right:4px!important}.miniset-compact .select-fieldtype .vs__selected-options{padding:4px 6px!important;background-color:#fff!important}.miniset-compact .select-fieldtype .vs__selected-options-outside .vs__selected{margin-top:4px!important;margin-right:4px!important;padding-top:1px!important;padding-left:4px!important;padding-right:4px!important;line-height:16px!important}.miniset-compact .select-fieldtype .vs__selected-options-outside .vs__deselect{margin-top:-1px!important}.miniset-compact .select-fieldtype .vs__dropdown-menu{top:30px!important}.miniset-compact .select-fieldtype .vs__dropdown-option{padding:4px 6px!important}.miniset-compact .toggle-fieldtype .toggle-fieldtype-wrapper,.miniset-compact .text-fieldtype .input-group{height:1.625rem!important}.miniset-compact .text-fieldtype .input-group-prepend,.miniset-compact .text-fieldtype .input-group-append{height:1.625rem!important;line-height:1.375!important;padding:4px 6px!important}.miniset-compact .text-fieldtype .input-text{padding:4px 6px!important;height:1.625rem!important;background-color:#fff!important}.miniset-compact .textarea-fieldtype .input-text{padding:4px 6px!important;background-color:#fff!important}@container (min-width: 20rem){.miniset-compact .publish-field.\@lg\:w-1\/4,.miniset-compact .publish-field.\@lg\:w-1\/2{width:50%!important}}@container (min-width: 30rem){.miniset-compact .publish-field.\@lg\:w-1\/3{width:33.333%!important}}@container (min-width: 40rem){.miniset-compact .publish-field.\@lg\:w-1\/4{width:25%!important}} diff --git a/dist/build/manifest.json b/dist/build/manifest.json new file mode 100644 index 0000000..c204533 --- /dev/null +++ b/dist/build/manifest.json @@ -0,0 +1,14 @@ +{ + "resources/js/addon.css": { + "file": "assets/addon-c20cfa51.css", + "src": "resources/js/addon.css" + }, + "resources/js/addon.js": { + "css": [ + "assets/addon-c20cfa51.css" + ], + "file": "assets/addon-8197aa4b.js", + "isEntry": true, + "src": "resources/js/addon.js" + } +} \ No newline at end of file diff --git a/dist/js/addon.js b/dist/js/addon.js deleted file mode 100644 index 7dac1ec..0000000 --- a/dist/js/addon.js +++ /dev/null @@ -1,8113 +0,0 @@ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Fieldtypes/MinisetClassesFieldtype.vue?vue&type=script&lang=js&": -/*!*****************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Fieldtypes/MinisetClassesFieldtype.vue?vue&type=script&lang=js& ***! - \*****************************************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var uniqid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! uniqid */ "./node_modules/uniqid/index.js"); -/* harmony import */ var uniqid__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(uniqid__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _MinisetClassesGroup_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MinisetClassesGroup.vue */ "./resources/js/components/Fieldtypes/MinisetClassesGroup.vue"); -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } - -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } - -function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } - -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } - -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } - -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - mixins: [Fieldtype], - components: { - MinisetClassesGroup: _MinisetClassesGroup_vue__WEBPACK_IMPORTED_MODULE_1__["default"] - }, - data: function data() { - return { - selected: 0, - addingGroup: false, - focused: false - }; - }, - computed: { - fields: function fields() { - return this.config.fields; - }, - variants: function variants() { - return this.config.variants; - }, - showTabs: function showTabs() { - return Object.keys(this.variants).length > 0; - } - }, - reactiveProvide: { - name: 'miniset', - include: ['config', 'isReadOnly', 'handle', 'errorKeyPrefix'] - }, - watch: { - focused: function focused(_focused, oldFocused) { - var _this = this; - - if (_focused === oldFocused) return; - if (_focused) return this.$emit('focus'); - setTimeout(function () { - if (!_this.$el.contains(document.activeElement)) { - _this.$emit('blur'); - } - }, 1); - } - }, - methods: { - selectGroup: function selectGroup(index) { - this.selected = index; - }, - addGroup: function addGroup() { - this.addingGroup = true; - }, - commitGroup: function commitGroup(variant) { - var _this2 = this; - - var existing = this.value.findIndex(function (group) { - return group.variant === variant; - }); - - if (existing !== -1) { - this.addingGroup = false; - this.selected = existing; - return; - } - - var id = uniqid__WEBPACK_IMPORTED_MODULE_0___default()(); - - var group = _.chain(this.fields).indexBy('handle').mapObject(function (field) { - return _this2.meta.defaults[field.handle]; - }).value(); - - group._id = id; - group.variant = variant; - this.updateGroupMeta(id, this.meta["new"]); - this.update([].concat(_toConsumableArray(this.value), [group])); - this.$nextTick(function () { - _this2.addingGroup = false; - _this2.selected = _this2.value.length - 1; - }); - }, - removeGroup: function removeGroup(index) { - var _this3 = this; - - if (!confirm(__('Are you sure?'))) return; - this.update([].concat(_toConsumableArray(this.value.slice(0, index)), _toConsumableArray(this.value.slice(index + 1)))); - this.$nextTick(function () { - _this3.selected = Math.min(_this3.selected, _this3.value.length - 1); - document.activeElement.blur(); - }); - }, - updated: function updated(index, group) { - this.update([].concat(_toConsumableArray(this.value.slice(0, index)), [group], _toConsumableArray(this.value.slice(index + 1)))); - }, - removed: function removed(index) { - if (!confirm(__('Are you sure?'))) return; - this.update([].concat(_toConsumableArray(this.value.slice(0, index)), _toConsumableArray(this.value.slice(index + 1)))); - }, - blurred: function blurred() { - var _this4 = this; - - setTimeout(function () { - if (!_this4.$el.contains(document.activeElement)) { - _this4.focused = false; - } - }, 1); - }, - groupLabel: function groupLabel(group) { - return group.variant ? this.variants[group.variant] || group.variant : __('Default'); - }, - updateGroupMeta: function updateGroupMeta(group, value) { - this.updateMeta(_objectSpread(_objectSpread({}, this.meta), {}, { - existing: _objectSpread(_objectSpread({}, this.meta.existing), {}, _defineProperty({}, group, value)) - })); - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Fieldtypes/MinisetClassesGroup.vue?vue&type=script&lang=js&": -/*!*************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Fieldtypes/MinisetClassesGroup.vue?vue&type=script&lang=js& ***! - \*************************************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _vendor_statamic_cms_resources_js_components_fieldtypes_replicator_Field_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../vendor/statamic/cms/resources/js/components/fieldtypes/replicator/Field.vue */ "./vendor/statamic/cms/resources/js/components/fieldtypes/replicator/Field.vue"); -/* harmony import */ var _vendor_statamic_cms_resources_js_components_field_conditions_FieldConditions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../vendor/statamic/cms/resources/js/components/field-conditions/FieldConditions.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/FieldConditions.js"); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - mixins: [_vendor_statamic_cms_resources_js_components_field_conditions_FieldConditions_js__WEBPACK_IMPORTED_MODULE_1__.ValidatesFieldConditions], - components: { - SetField: _vendor_statamic_cms_resources_js_components_fieldtypes_replicator_Field_vue__WEBPACK_IMPORTED_MODULE_0__["default"] - }, - inject: ['miniset'], - props: { - index: { - type: Number, - required: true - }, - fields: { - type: Array, - required: true - }, - values: { - type: Object, - required: true - }, - meta: { - type: Object, - required: true - }, - name: { - type: String, - required: true - }, - errorKeyPrefix: { - type: String - } - }, - computed: { - errorKeyPrefix: function errorKeyPrefix() { - return this.miniset.errorKeyPrefix || this.miniset.handle; - } - }, - methods: { - updated: function updated(handle, value) { - var group = JSON.parse(JSON.stringify(this.values)); - group[handle] = value; - this.$emit('updated', this.index, group); - }, - metaUpdated: function metaUpdated(handle, value) { - var meta = clone(this.meta); - meta[handle] = value; - this.$emit('meta-updated', meta); - }, - errorKey: function errorKey(handle) { - return "".concat(this.errorKeyPrefix, ".").concat(this.index, ".").concat(handle); - }, - errors: function errors(handle) { - var state = this.$store.state.publish[this.storeName]; - if (!state) return []; - return state.errors[this.errorKey(handle)] || []; - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Fieldtypes/MinisetFieldtype.vue?vue&type=script&lang=js&": -/*!**********************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Fieldtypes/MinisetFieldtype.vue?vue&type=script&lang=js& ***! - \**********************************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _vendor_statamic_cms_resources_js_components_fieldtypes_replicator_Field_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../vendor/statamic/cms/resources/js/components/fieldtypes/replicator/Field.vue */ "./vendor/statamic/cms/resources/js/components/fieldtypes/replicator/Field.vue"); -/* harmony import */ var _vendor_statamic_cms_resources_js_components_field_conditions_FieldConditions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../vendor/statamic/cms/resources/js/components/field-conditions/FieldConditions.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/FieldConditions.js"); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - mixins: [Fieldtype, _vendor_statamic_cms_resources_js_components_field_conditions_FieldConditions_js__WEBPACK_IMPORTED_MODULE_1__.ValidatesFieldConditions], - components: { - SetField: _vendor_statamic_cms_resources_js_components_fieldtypes_replicator_Field_vue__WEBPACK_IMPORTED_MODULE_0__["default"] - }, - data: function data() { - return { - focused: false - }; - }, - computed: { - fields: function fields() { - return this.config.fields; - } - }, - watch: { - focused: function focused(_focused, oldFocused) { - var _this = this; - - if (_focused === oldFocused) return; - if (_focused) return this.$emit('focus'); - setTimeout(function () { - if (!_this.$el.contains(document.activeElement)) { - _this.$emit('blur'); - } - }, 1); - } - }, - methods: { - updated: function updated(handle, value) { - var group = JSON.parse(JSON.stringify(this.value)); - group[handle] = value; - this.update(group); - }, - errorKey: function errorKey(handle) { - return "".concat(this.handle, ".").concat(handle); - }, - errors: function errors(handle) { - var state = this.$store.state.publish[this.storeName]; - if (!state) return []; - return state.errors[this.errorKey(handle)] || []; - }, - blurred: function blurred() { - var _this2 = this; - - setTimeout(function () { - if (!_this2.$el.contains(document.activeElement)) { - _this2.focused = false; - } - }, 1); - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./vendor/statamic/cms/resources/js/components/field-conditions/Builder.vue?vue&type=script&lang=js&": -/*!***************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./vendor/statamic/cms/resources/js/components/field-conditions/Builder.vue?vue&type=script&lang=js& ***! - \***************************************************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var uniqid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! uniqid */ "./vendor/statamic/cms/node_modules/uniqid/index.js"); -/* harmony import */ var uniqid__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(uniqid__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _fieldtypes_HasInputOptions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fieldtypes/HasInputOptions.js */ "./vendor/statamic/cms/resources/js/components/fieldtypes/HasInputOptions.js"); -/* harmony import */ var _field_conditions_Converter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../field-conditions/Converter.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Converter.js"); -/* harmony import */ var _field_conditions_Constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../field-conditions/Constants.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Constants.js"); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - - - - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - mixins: [_fieldtypes_HasInputOptions_js__WEBPACK_IMPORTED_MODULE_1__["default"]], - props: { - config: { - required: true - }, - suggestableFields: { - required: true - } - }, - data: function data() { - return { - when: 'always', - type: 'all', - customMethod: null, - conditions: [] - }; - }, - computed: { - whenOptions: function whenOptions() { - return this.normalizeInputOptions({ - always: __('Always show'), - "if": __('Show when'), - unless: __('Hide when') - }); - }, - typeOptions: function typeOptions() { - return this.normalizeInputOptions({ - all: __('All of the following conditions pass'), - any: __('Any of the following conditions pass'), - custom: __('Custom method passes') - }); - }, - fieldOptions: function fieldOptions() { - var _this = this; - - return this.normalizeInputOptions(_.reject(this.suggestableFields, function (field) { - return field === _this.config.handle; - })); - }, - operatorOptions: function operatorOptions() { - return this.normalizeInputOptions(_field_conditions_Constants_js__WEBPACK_IMPORTED_MODULE_3__.OPERATORS); - }, - hasConditions: function hasConditions() { - return this.when !== 'always'; - }, - isStandard: function isStandard() { - return this.hasConditions && !this.isCustom; - }, - isCustom: function isCustom() { - return this.type === 'custom'; - }, - saveableConditions: function saveableConditions() { - var conditions = {}; - var key = this.type === 'any' ? "".concat(this.when, "_any") : this.when; - var saveableConditions = this.prepareSaveableConditions(this.conditions); - - if (this.isStandard && !_.isEmpty(saveableConditions)) { - conditions[key] = saveableConditions; - } else if (this.isCustom && this.customMethod) { - conditions[key] = this.customMethod; - } - - return conditions; - } - }, - watch: { - saveableConditions: { - deep: true, - handler: function handler(conditions) { - this.$emit('updated', conditions); - } - } - }, - created: function created() { - this.add(); - this.getInitial(); - }, - methods: { - add: function add() { - this.conditions.push({ - _id: uniqid__WEBPACK_IMPORTED_MODULE_0___default()(), - field: null, - operator: 'equals', - value: null - }); - }, - remove: function remove(index) { - this.conditions.splice(index, 1); - }, - getInitial: function getInitial() { - var _this2 = this; - - var key = _.chain(_field_conditions_Constants_js__WEBPACK_IMPORTED_MODULE_3__.KEYS).filter(function (key) { - return _this2.config[key]; - }).first().value(); - - var conditions = this.config[key]; - - if (!conditions) { - return; - } - - this.when = key.startsWith('unless') || key.startsWith('hide_when') ? 'unless' : 'if'; - this.type = key.endsWith('_any') ? 'any' : 'all'; - - if (typeof conditions === 'string') { - this.type = 'custom'; - this.customMethod = conditions; - return; - } - - this.conditions = this.prepareEditableConditions(conditions); - }, - prepareEditableConditions: function prepareEditableConditions(conditions) { - var _this3 = this; - - return new _field_conditions_Converter_js__WEBPACK_IMPORTED_MODULE_2__["default"]().fromBlueprint(conditions).map(function (condition) { - condition._id = uniqid__WEBPACK_IMPORTED_MODULE_0___default()(); - condition.operator = _this3.prepareEditableOperator(condition.operator); - return condition; - }); - }, - prepareSaveableConditions: function prepareSaveableConditions(conditions) { - conditions = _.reject(conditions, function (condition) { - return !condition.field || !condition.value; - }); - return new _field_conditions_Converter_js__WEBPACK_IMPORTED_MODULE_2__["default"]().toBlueprint(conditions); - }, - prepareEditableOperator: function prepareEditableOperator(operator) { - switch (operator) { - case 'is': - case '==': - return ''; - - case 'isnt': - case '!=': - return 'not'; - } - - return operator; - }, - fieldSelectBlur: function fieldSelectBlur(index) { - var value = this.$refs.fieldSelect[index].$refs.search.value; - if (value) this.conditions[index].field = value; - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./vendor/statamic/cms/resources/js/components/fieldtypes/replicator/Field.vue?vue&type=script&lang=js&": -/*!******************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./vendor/statamic/cms/resources/js/components/fieldtypes/replicator/Field.vue?vue&type=script&lang=js& ***! - \******************************************************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - props: { - field: { - type: Object, - required: true - }, - meta: { - type: Object - }, - value: { - required: true - }, - parentName: { - type: String, - required: true - }, - setIndex: { - type: Number, - required: true - }, - errorKey: { - type: String - }, - readOnly: Boolean - }, - inject: ['storeName'], - computed: { - fieldtypeComponent: function fieldtypeComponent() { - return "".concat(this.field.component || this.field.type, "-fieldtype"); - }, - namePrefix: function namePrefix() { - return "".concat(this.parentName, "[").concat(this.setIndex, "]"); - }, - display: function display() { - return this.field.display || this.field.handle[0].toUpperCase() + this.field.handle.slice(1); - }, - instructions: function instructions() { - return this.field.instructions ? this.$options.filters.markdown(this.field.instructions) : null; - }, - storeState: function storeState() { - return this.$store.state.publish[this.storeName] || []; - }, - errors: function errors() { - return this.storeState.errors[this.errorKey] || []; - }, - hasError: function hasError() { - return this.errors.length > 0; - }, - hasNestedError: function hasNestedError() { - var prefix = "".concat(this.errorKey, "."); - return Object.keys(this.storeState.errors).some(function (handle) { - return handle.startsWith(prefix); - }); - }, - isReadOnly: function isReadOnly() { - return this.readOnly || this.field.read_only || false; - }, - classes: function classes() { - return ['form-group publish-field', "".concat(this.field.type, "-fieldtype"), "field-".concat(tailwind_width_class(this.field.width)), this.isReadOnly ? 'read-only-field' : '', this.field.classes || '', { - 'has-error': this.hasError || this.hasNestedError - }]; - } - } -}); - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/bootstrap/globals.js": -/*!***************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/bootstrap/globals.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "__": () => (/* binding */ __), -/* harmony export */ "__n": () => (/* binding */ __n), -/* harmony export */ "clone": () => (/* binding */ clone), -/* harmony export */ "cp_url": () => (/* binding */ cp_url), -/* harmony export */ "data_get": () => (/* binding */ data_get), -/* harmony export */ "dd": () => (/* binding */ dd), -/* harmony export */ "docs_url": () => (/* binding */ docs_url), -/* harmony export */ "file_icon": () => (/* binding */ file_icon), -/* harmony export */ "markdown": () => (/* binding */ markdown), -/* harmony export */ "relative_url": () => (/* binding */ relative_url), -/* harmony export */ "resource_url": () => (/* binding */ resource_url), -/* harmony export */ "tailwind_width_class": () => (/* binding */ tailwind_width_class), -/* harmony export */ "tidy_url": () => (/* binding */ tidy_url), -/* harmony export */ "utf8btoa": () => (/* binding */ utf8btoa) -/* harmony export */ }); -/* harmony import */ var marked__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! marked */ "./vendor/statamic/cms/node_modules/marked/lib/marked.esm.js"); -/* harmony import */ var _translations_translator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../translations/translator */ "./vendor/statamic/cms/resources/js/translations/translator.js"); - - -function cp_url(url) { - url = Statamic.$config.get('cpUrl') + '/' + url; - return tidy_url(url); -} -; -function docs_url(url) { - return tidy_url('https://statamic.dev/' + url); -} -; -function resource_url(url) { - url = Statamic.$config.get('resourceUrl') + '/' + url; - return tidy_url(url); -} -; -function tidy_url(url) { - return url.replace(/([^:])(\/\/+)/g, '$1/'); -} -function relative_url(url) { - return url.replace(/^(?:\/\/|[^/]+)*\//, '/'); -} -function file_icon(extension) { - return resource_url('img/filetypes/' + extension + '.png'); -} -; -function dd(args) { - console.log(args); -} -; -function data_get(obj, path) { - var fallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - // Source: https://stackoverflow.com/a/22129960 - var properties = Array.isArray(path) ? path : path.split('.'); - var value = properties.reduce(function (prev, curr) { - return prev && prev[curr]; - }, obj); - return value !== undefined ? value : fallback; -} -; -function clone(value) { - if (value === undefined) return undefined; - return JSON.parse(JSON.stringify(value)); -} -function tailwind_width_class(width) { - var widths = { - 25: '1/4', - 33: '1/3', - 50: '1/2', - 66: '2/3', - 75: '3/4', - 100: 'full' - }; - return "w-".concat(widths[width] || 'full'); -} -function markdown(value) { - return (0,marked__WEBPACK_IMPORTED_MODULE_0__.marked)(value); -} -; -function __(string, replacements) { - return (0,_translations_translator__WEBPACK_IMPORTED_MODULE_1__.translate)(string, replacements); -} -function __n(string, number, replacements) { - return (0,_translations_translator__WEBPACK_IMPORTED_MODULE_1__.translateChoice)(string, number, replacements); -} -function utf8btoa(stringToEncode) { - // first we convert it to utf-8 - var utf8String = encodeURIComponent(stringToEncode).replace(/%([0-9A-F]{2})/g, function (_, code) { - return String.fromCharCode("0x".concat(code)); - }); // return base64 encoded string - - return btoa(utf8String); -} - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/components/field-conditions/Constants.js": -/*!***********************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/components/field-conditions/Constants.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ALIASES": () => (/* binding */ ALIASES), -/* harmony export */ "KEYS": () => (/* binding */ KEYS), -/* harmony export */ "OPERATORS": () => (/* binding */ OPERATORS) -/* harmony export */ }); -var KEYS = ['if', 'if_any', 'show_when', 'show_when_any', 'unless', 'unless_any', 'hide_when', 'hide_when_any']; -var OPERATORS = ['equals', 'not', 'contains', 'contains_any', '===', '!==', '>', '>=', '<', '<=', 'custom']; -var ALIASES = { - 'is': 'equals', - '==': 'equals', - 'isnt': 'not', - '!=': 'not', - 'includes': 'contains', - 'includes_any': 'contains_any' -}; - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/components/field-conditions/Converter.js": -/*!***********************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/components/field-conditions/Converter.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _default) -/* harmony export */ }); -/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Constants.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Constants.js"); -/* harmony import */ var underscore_modules_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! underscore/modules/map.js */ "./vendor/statamic/cms/node_modules/underscore/modules/map.js"); -/* harmony import */ var underscore_modules_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! underscore/modules/each.js */ "./vendor/statamic/cms/node_modules/underscore/modules/each.js"); -/* harmony import */ var underscore_modules_filter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! underscore/modules/filter.js */ "./vendor/statamic/cms/node_modules/underscore/modules/filter.js"); -/* harmony import */ var underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! underscore/modules/chain.js */ "./vendor/statamic/cms/node_modules/underscore/modules/chain.js"); -/* harmony import */ var underscore_modules_mixin_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! underscore/modules/mixin.js */ "./vendor/statamic/cms/node_modules/underscore/modules/mixin.js"); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } - - - - - - - -(0,underscore_modules_mixin_js__WEBPACK_IMPORTED_MODULE_5__["default"])({ - chain: underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_4__["default"], - filter: underscore_modules_filter_js__WEBPACK_IMPORTED_MODULE_3__["default"], - each: underscore_modules_each_js__WEBPACK_IMPORTED_MODULE_2__["default"] -}); - -var _default = /*#__PURE__*/function () { - function _default() { - _classCallCheck(this, _default); - } - - _createClass(_default, [{ - key: "fromBlueprint", - value: function fromBlueprint(conditions) { - var _this = this; - - var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return (0,underscore_modules_map_js__WEBPACK_IMPORTED_MODULE_1__["default"])(conditions, function (condition, field) { - return _this.splitRhs(field, condition, prefix); - }); - } - }, { - key: "toBlueprint", - value: function toBlueprint(conditions) { - var _this2 = this; - - var converted = {}; - (0,underscore_modules_each_js__WEBPACK_IMPORTED_MODULE_2__["default"])(conditions, function (condition) { - converted[condition.field] = _this2.combineRhs(condition); - }); - return converted; - } - }, { - key: "splitRhs", - value: function splitRhs(field, condition) { - var prefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - return { - 'field': this.getScopedFieldHandle(field, prefix), - 'operator': this.getOperatorFromRhs(condition), - 'value': this.getValueFromRhs(condition) - }; - } - }, { - key: "getScopedFieldHandle", - value: function getScopedFieldHandle(field, prefix) { - if (field.startsWith('root.') || !prefix) { - return field; - } - - return prefix + field; - } - }, { - key: "getOperatorFromRhs", - value: function getOperatorFromRhs(condition) { - var _this3 = this; - - var operator = '=='; - (0,underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_4__["default"])(this.getOperatorsAndAliases()).filter(function (value) { - return new RegExp("^".concat(value, " [^=]")).test(_this3.normalizeConditionString(condition)); - }).each(function (value) { - return operator = value; - }); - return this.normalizeOperator(operator); - } - }, { - key: "normalizeOperator", - value: function normalizeOperator(operator) { - return _Constants_js__WEBPACK_IMPORTED_MODULE_0__.ALIASES[operator] ? _Constants_js__WEBPACK_IMPORTED_MODULE_0__.ALIASES[operator] : operator; - } - }, { - key: "getValueFromRhs", - value: function getValueFromRhs(condition) { - var rhs = this.normalizeConditionString(condition); - (0,underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_4__["default"])(this.getOperatorsAndAliases()).filter(function (value) { - return new RegExp("^".concat(value, " [^=]")).test(rhs); - }).each(function (value) { - return rhs = rhs.replace(new RegExp("^".concat(value, "[ ]*")), ''); - }); - return rhs; - } - }, { - key: "combineRhs", - value: function combineRhs(condition) { - var operator = condition.operator ? condition.operator.trim() : ''; - var value = condition.value.trim(); - return "".concat(operator, " ").concat(value).trim(); - } - }, { - key: "getOperatorsAndAliases", - value: function getOperatorsAndAliases() { - return _Constants_js__WEBPACK_IMPORTED_MODULE_0__.OPERATORS.concat(Object.keys(_Constants_js__WEBPACK_IMPORTED_MODULE_0__.ALIASES)); - } - }, { - key: "normalizeConditionString", - value: function normalizeConditionString(value) { - // You cannot `null.toString()`, so we'll manually cast it here to prevent error. - if (value === null) return 'null'; // Note: We don't document the use of an '' empty string in the yaml, - // but for the people that manually add this to their yaml, we'll - // treat it as an `empty` check so that it doesn't feel broken. - - if (value === '') return 'empty'; - return value.toString(); - } - }]); - - return _default; -}(); - - - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/components/field-conditions/FieldConditions.js": -/*!*****************************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/components/field-conditions/FieldConditions.js ***! - \*****************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "FIELD_CONDITIONS_ALIASES": () => (/* reexport safe */ _Constants_js__WEBPACK_IMPORTED_MODULE_4__.ALIASES), -/* harmony export */ "FIELD_CONDITIONS_KEYS": () => (/* reexport safe */ _Constants_js__WEBPACK_IMPORTED_MODULE_4__.KEYS), -/* harmony export */ "FIELD_CONDITIONS_OPERATORS": () => (/* reexport safe */ _Constants_js__WEBPACK_IMPORTED_MODULE_4__.OPERATORS), -/* harmony export */ "FieldConditionsBuilder": () => (/* reexport safe */ _Builder_vue__WEBPACK_IMPORTED_MODULE_0__["default"]), -/* harmony export */ "FieldConditionsConverter": () => (/* reexport safe */ _Converter_js__WEBPACK_IMPORTED_MODULE_1__["default"]), -/* harmony export */ "FieldConditionsValidator": () => (/* reexport safe */ _Validator_js__WEBPACK_IMPORTED_MODULE_2__["default"]), -/* harmony export */ "ValidatesFieldConditions": () => (/* reexport safe */ _ValidatorMixin_js__WEBPACK_IMPORTED_MODULE_3__["default"]) -/* harmony export */ }); -/* harmony import */ var _Builder_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Builder.vue */ "./vendor/statamic/cms/resources/js/components/field-conditions/Builder.vue"); -/* harmony import */ var _Converter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Converter.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Converter.js"); -/* harmony import */ var _Validator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Validator.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Validator.js"); -/* harmony import */ var _ValidatorMixin_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ValidatorMixin.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/ValidatorMixin.js"); -/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Constants.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Constants.js"); - - - - - - - - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/components/field-conditions/Validator.js": -/*!***********************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/components/field-conditions/Validator.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ _default) -/* harmony export */ }); -/* harmony import */ var _Converter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Converter.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Converter.js"); -/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Constants.js"); -/* harmony import */ var _bootstrap_globals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../bootstrap/globals.js */ "./vendor/statamic/cms/resources/js/bootstrap/globals.js"); -/* harmony import */ var underscore_modules_isString_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! underscore/modules/isString.js */ "./vendor/statamic/cms/node_modules/underscore/modules/isString.js"); -/* harmony import */ var underscore_modules_isObject_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! underscore/modules/isObject.js */ "./vendor/statamic/cms/node_modules/underscore/modules/isObject.js"); -/* harmony import */ var underscore_modules_isEmpty_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! underscore/modules/isEmpty.js */ "./vendor/statamic/cms/node_modules/underscore/modules/isEmpty.js"); -/* harmony import */ var underscore_modules_intersection_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! underscore/modules/intersection.js */ "./vendor/statamic/cms/node_modules/underscore/modules/intersection.js"); -/* harmony import */ var underscore_modules_map_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! underscore/modules/map.js */ "./vendor/statamic/cms/node_modules/underscore/modules/map.js"); -/* harmony import */ var underscore_modules_each_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! underscore/modules/each.js */ "./vendor/statamic/cms/node_modules/underscore/modules/each.js"); -/* harmony import */ var underscore_modules_filter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! underscore/modules/filter.js */ "./vendor/statamic/cms/node_modules/underscore/modules/filter.js"); -/* harmony import */ var underscore_modules_reject_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! underscore/modules/reject.js */ "./vendor/statamic/cms/node_modules/underscore/modules/reject.js"); -/* harmony import */ var underscore_modules_first_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! underscore/modules/first.js */ "./vendor/statamic/cms/node_modules/underscore/modules/first.js"); -/* harmony import */ var underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! underscore/modules/chain.js */ "./vendor/statamic/cms/node_modules/underscore/modules/chain.js"); -/* harmony import */ var underscore_modules_mixin_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! underscore/modules/mixin.js */ "./vendor/statamic/cms/node_modules/underscore/modules/mixin.js"); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } - - - - - - - - - - - - - - - -(0,underscore_modules_mixin_js__WEBPACK_IMPORTED_MODULE_13__["default"])({ - chain: underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_12__["default"], - map: underscore_modules_map_js__WEBPACK_IMPORTED_MODULE_7__["default"], - each: underscore_modules_each_js__WEBPACK_IMPORTED_MODULE_8__["default"], - filter: underscore_modules_filter_js__WEBPACK_IMPORTED_MODULE_9__["default"], - reject: underscore_modules_reject_js__WEBPACK_IMPORTED_MODULE_10__["default"], - first: underscore_modules_first_js__WEBPACK_IMPORTED_MODULE_11__["default"], - isEmpty: underscore_modules_isEmpty_js__WEBPACK_IMPORTED_MODULE_5__["default"] -}); -var NUMBER_SPECIFIC_COMPARISONS = ['>', '>=', '<', '<=']; - -var _default = /*#__PURE__*/function () { - function _default(field, values, store, storeName) { - _classCallCheck(this, _default); - - this.field = field; - this.values = values; - this.rootValues = store ? store.state.publish[storeName].values : false; - this.store = store; - this.storeName = storeName; - this.passOnAny = false; - this.showOnPass = true; - this.converter = new _Converter_js__WEBPACK_IMPORTED_MODULE_0__["default"](); - } - - _createClass(_default, [{ - key: "passesConditions", - value: function passesConditions() { - var conditions = this.getConditions(); - - if (conditions === undefined) { - return true; - } else if ((0,underscore_modules_isString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(conditions)) { - return this.passesCustomCondition(this.prepareCondition(conditions)); - } - - conditions = this.converter.fromBlueprint(conditions, this.field.prefix); - var passes = this.passOnAny ? this.passesAnyConditions(conditions) : this.passesAllConditions(conditions); - return this.showOnPass ? passes : !passes; - } - }, { - key: "getConditions", - value: function getConditions() { - var _this = this; - - var key = (0,underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_12__["default"])(_Constants_js__WEBPACK_IMPORTED_MODULE_1__.KEYS).filter(function (key) { - return _this.field[key]; - }).first().value(); - - if (!key) { - return undefined; - } - - if (key.includes('any')) { - this.passOnAny = true; - } - - if (key.includes('unless') || key.includes('hide_when')) { - this.showOnPass = false; - } - - return this.field[key]; - } - }, { - key: "passesAllConditions", - value: function passesAllConditions(conditions) { - var _this2 = this; - - return (0,underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_12__["default"])(conditions).map(function (condition) { - return _this2.prepareCondition(condition); - }).reject(function (condition) { - return _this2.passesCondition(condition); - }).isEmpty().value(); - } - }, { - key: "passesAnyConditions", - value: function passesAnyConditions(conditions) { - var _this3 = this; - - return !(0,underscore_modules_chain_js__WEBPACK_IMPORTED_MODULE_12__["default"])(conditions).map(function (condition) { - return _this3.prepareCondition(condition); - }).filter(function (condition) { - return _this3.passesCondition(condition); - }).isEmpty().value(); - } - }, { - key: "prepareCondition", - value: function prepareCondition(condition) { - if ((0,underscore_modules_isString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(condition) || condition.operator === 'custom') { - return this.prepareCustomCondition(condition); - } - - var operator = this.prepareOperator(condition.operator); - var lhs = this.prepareLhs(condition.field, operator); - var rhs = this.prepareRhs(condition.value, operator); - return { - lhs: lhs, - operator: operator, - rhs: rhs - }; - } - }, { - key: "prepareOperator", - value: function prepareOperator(operator) { - switch (operator) { - case null: - case '': - case 'is': - case 'equals': - return '=='; - - case 'isnt': - case 'not': - case '¯\\_(ツ)_/¯': - return '!='; - - case 'includes': - case 'contains': - return 'includes'; - - case 'includes_any': - case 'contains_any': - return 'includes_any'; - } - - return operator; - } - }, { - key: "prepareLhs", - value: function prepareLhs(field, operator) { - var lhs = this.getFieldValue(field); // When performing a number comparison, cast to number. - - if (NUMBER_SPECIFIC_COMPARISONS.includes(operator)) { - return Number(lhs); - } // When performing lhs.includes(), if lhs is not an object or array, cast to string. - - - if (operator === 'includes' && !(0,underscore_modules_isObject_js__WEBPACK_IMPORTED_MODULE_4__["default"])(lhs)) { - return lhs ? lhs.toString() : ''; - } // When lhs is an empty string, cast to null. - - - if ((0,underscore_modules_isString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(lhs) && (0,underscore_modules_isEmpty_js__WEBPACK_IMPORTED_MODULE_5__["default"])(lhs)) { - lhs = null; - } // Prepare for eval() and return. - - - return (0,underscore_modules_isString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(lhs) ? JSON.stringify(lhs.trim()) : lhs; - } - }, { - key: "prepareRhs", - value: function prepareRhs(rhs, operator) { - // When comparing against null, true, false, cast to literals. - switch (rhs) { - case 'null': - return null; - - case 'true': - return true; - - case 'false': - return false; - } // When performing a number comparison, cast to number. - - - if (NUMBER_SPECIFIC_COMPARISONS.includes(operator)) { - return Number(rhs); - } // When performing a comparison that cannot be eval()'d, return rhs as is. - - - if (rhs === 'empty' || operator === 'includes' || operator === 'includes_any') { - return rhs; - } // Prepare for eval() and return. - - - return (0,underscore_modules_isString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(rhs) ? JSON.stringify(rhs.trim()) : rhs; - } - }, { - key: "prepareCustomCondition", - value: function prepareCustomCondition(condition) { - var functionName = this.prepareFunctionName(condition.value || condition); - var params = this.prepareParams(condition.value || condition); - var target = condition.field ? this.getFieldValue(condition.field) : null; - return { - functionName: functionName, - params: params, - target: target - }; - } - }, { - key: "prepareFunctionName", - value: function prepareFunctionName(condition) { - return condition.replace(new RegExp('^custom '), '').split(':')[0]; - } - }, { - key: "prepareParams", - value: function prepareParams(condition) { - var params = condition.split(':')[1]; - return params ? params.split(',').map(function (string) { - return string.trim(); - }) : []; - } - }, { - key: "getFieldValue", - value: function getFieldValue(field) { - return field.startsWith('root.') ? (0,_bootstrap_globals_js__WEBPACK_IMPORTED_MODULE_2__.data_get)(this.rootValues, field.replace(new RegExp('^root.'), '')) : (0,_bootstrap_globals_js__WEBPACK_IMPORTED_MODULE_2__.data_get)(this.values, field); - } - }, { - key: "passesCondition", - value: function passesCondition(condition) { - if (condition.functionName) { - return this.passesCustomCondition(condition); - } - - if (condition.operator === 'includes') { - return this.passesIncludesCondition(condition); - } - - if (condition.operator === 'includes_any') { - return this.passesIncludesAnyCondition(condition); - } - - if (condition.rhs === 'empty') { - condition.lhs = (0,underscore_modules_isEmpty_js__WEBPACK_IMPORTED_MODULE_5__["default"])(condition.lhs); - condition.rhs = true; - } - - if ((0,underscore_modules_isObject_js__WEBPACK_IMPORTED_MODULE_4__["default"])(condition.lhs)) { - return false; - } - - return eval("".concat(condition.lhs, " ").concat(condition.operator, " ").concat(condition.rhs)); - } - }, { - key: "passesIncludesCondition", - value: function passesIncludesCondition(condition) { - return condition.lhs.includes(condition.rhs); - } - }, { - key: "passesIncludesAnyCondition", - value: function passesIncludesAnyCondition(condition) { - var values = condition.rhs.split(',').map(function (string) { - return string.trim(); - }); - - if (Array.isArray(condition.lhs)) { - return (0,underscore_modules_intersection_js__WEBPACK_IMPORTED_MODULE_6__["default"])(condition.lhs, values).length; - } - - return new RegExp(values.join('|')).test(condition.lhs); - } - }, { - key: "passesCustomCondition", - value: function passesCustomCondition(condition) { - var customFunction = (0,_bootstrap_globals_js__WEBPACK_IMPORTED_MODULE_2__.data_get)(this.store.state.statamic.conditions, condition.functionName); - - if (typeof customFunction !== 'function') { - console.error("Statamic field condition [".concat(condition.functionName, "] was not properly defined.")); - return false; - } - - var passes = customFunction({ - params: condition.params, - target: condition.target, - values: this.values, - root: this.rootValues, - store: this.store, - storeName: this.storeName - }); - return this.showOnPass ? passes : !passes; - } - }]); - - return _default; -}(); - - - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/components/field-conditions/ValidatorMixin.js": -/*!****************************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/components/field-conditions/ValidatorMixin.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _Validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Validator.js */ "./vendor/statamic/cms/resources/js/components/field-conditions/Validator.js"); - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - inject: { - storeName: { - "default": 'base' - } - }, - methods: { - showField: function showField(field) { - var passes = new _Validator_js__WEBPACK_IMPORTED_MODULE_0__["default"](field, this.values, this.$store, this.storeName).passesConditions(); - this.$store.commit("publish/".concat(this.storeName, "/setHiddenField"), { - handle: field.handle, - hidden: !passes - }); - return passes; - } - } -}); - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/components/fieldtypes/HasInputOptions.js": -/*!***********************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/components/fieldtypes/HasInputOptions.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - methods: { - normalizeInputOptions: function normalizeInputOptions(options) { - return _.map(options, function (value, key) { - return { - 'value': Array.isArray(options) ? value : key, - 'label': value || key - }; - }); - } - } -}); - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/translations/interval.js": -/*!*******************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/translations/interval.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "anyIntervalRegexp": () => (/* binding */ anyIntervalRegexp), -/* harmony export */ "intervalRegexp": () => (/* binding */ intervalRegexp), -/* harmony export */ "testInterval": () => (/* binding */ testInterval) -/* harmony export */ }); -var intervalRegexp = /^({\s*(\-?\d+(\.\d+)?[\s*,\s*\-?\d+(\.\d+)?]*)\s*})|([\[\]])\s*(-Inf|\*|\-?\d+(\.\d+)?)\s*,\s*(\+?Inf|\*|\-?\d+(\.\d+)?)\s*([\[\]])$/; -var anyIntervalRegexp = /({\s*(\-?\d+(\.\d+)?[\s*,\s*\-?\d+(\.\d+)?]*)\s*})|([\[\]])\s*(-Inf|\*|\-?\d+(\.\d+)?)\s*,\s*(\+?Inf|\*|\-?\d+(\.\d+)?)\s*([\[\]])/; -var testInterval = function testInterval(count, interval) { - /** - * From the Symfony\Component\Translation\Interval Docs - * - * Tests if a given number belongs to a given math interval. - * - * An interval can represent a finite set of numbers: - * - * {1,2,3,4} - * - * An interval can represent numbers between two numbers: - * - * [1, +Inf] - * ]-1,2[ - * - * The left delimiter can be [ (inclusive) or ] (exclusive). - * The right delimiter can be [ (exclusive) or ] (inclusive). - * Beside numbers, you can use -Inf and +Inf for the infinite. - */ - if (typeof interval !== 'string') { - throw 'Invalid interval: should be a string.'; - } - - interval = interval.trim(); - var matches = interval.match(intervalRegexp); - - if (!matches) { - throw 'Invalid interval: ' + interval; - } - - if (matches[2]) { - var items = matches[2].split(','); - - for (var i = 0; i < items.length; i++) { - if (parseInt(items[i], 10) === count) { - return true; - } - } - } else { - // Remove falsy values. - matches = matches.filter(function (match) { - return !!match; - }); - var leftDelimiter = matches[1]; - var leftNumber = convertNumber(matches[2]); - - if (leftNumber === Infinity) { - leftNumber = -Infinity; - } - - var rightNumber = convertNumber(matches[3]); - var rightDelimiter = matches[4]; - return (leftDelimiter === '[' ? count >= leftNumber : count > leftNumber) && (rightDelimiter === ']' ? count <= rightNumber : count < rightNumber); - } - - return false; -}; - -function convertNumber(str) { - if (str === '-Inf') { - return -Infinity; - } else if (str === '+Inf' || str === 'Inf' || str === '*') { - return Infinity; - } - - return parseInt(str, 10); -} - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/translations/message-selector.js": -/*!***************************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/translations/message-selector.js ***! - \***************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ choose) -/* harmony export */ }); -/* harmony import */ var _interval__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval */ "./vendor/statamic/cms/resources/js/translations/interval.js"); - -function choose(message, number, locale) { - // Separate the plural from the singular, if any - var messageParts = message.split('|'); // Get the explicit rules, If any - - var explicitRules = []; - - for (var i = 0; i < messageParts.length; i++) { - messageParts[i] = messageParts[i].trim(); - - if (_interval__WEBPACK_IMPORTED_MODULE_0__.anyIntervalRegexp.test(messageParts[i])) { - var messageSpaceSplit = messageParts[i].split(/\s/); - explicitRules.push(messageSpaceSplit.shift()); - messageParts[i] = messageSpaceSplit.join(' '); - } - } // Check if there's only one message - - - if (messageParts.length === 1) { - // Nothing to do here - return message; - } // Check the explicit rules - - - for (var j = 0; j < explicitRules.length; j++) { - if ((0,_interval__WEBPACK_IMPORTED_MODULE_0__.testInterval)(number, explicitRules[j])) { - return messageParts[j]; - } - } - - var pluralForm = getPluralForm(number, locale); - return messageParts[pluralForm]; -} - -var getPluralForm = function getPluralForm(count, locale) { - // For regional locales with dashes, we just need the main part of the locale - // e.g. For de_CH we just want de. - if (locale.includes('_')) { - locale = locale.substr(0, locale.indexOf('_')); - } - - switch (locale) { - case 'az': - case 'bo': - case 'dz': - case 'id': - case 'ja': - case 'jv': - case 'ka': - case 'km': - case 'kn': - case 'ko': - case 'ms': - case 'th': - case 'tr': - case 'vi': - case 'zh': - return 0; - - case 'af': - case 'bn': - case 'bg': - case 'ca': - case 'da': - case 'de': - case 'el': - case 'en': - case 'eo': - case 'es': - case 'et': - case 'eu': - case 'fa': - case 'fi': - case 'fo': - case 'fur': - case 'fy': - case 'gl': - case 'gu': - case 'ha': - case 'he': - case 'hu': - case 'is': - case 'it': - case 'ku': - case 'lb': - case 'ml': - case 'mn': - case 'mr': - case 'nah': - case 'nb': - case 'ne': - case 'nl': - case 'nn': - case 'no': - case 'om': - case 'or': - case 'pa': - case 'pap': - case 'ps': - case 'pt': - case 'so': - case 'sq': - case 'sv': - case 'sw': - case 'ta': - case 'te': - case 'tk': - case 'ur': - case 'zu': - return count == 1 ? 0 : 1; - - case 'am': - case 'bh': - case 'fil': - case 'fr': - case 'gun': - case 'hi': - case 'hy': - case 'ln': - case 'mg': - case 'nso': - case 'xbr': - case 'ti': - case 'wa': - return count === 0 || count === 1 ? 0 : 1; - - case 'be': - case 'bs': - case 'hr': - case 'ru': - case 'sr': - case 'uk': - return count % 10 == 1 && count % 100 != 11 ? 0 : count % 10 >= 2 && count % 10 <= 4 && (count % 100 < 10 || count % 100 >= 20) ? 1 : 2; - - case 'cs': - case 'sk': - return count == 1 ? 0 : count >= 2 && count <= 4 ? 1 : 2; - - case 'ga': - return count == 1 ? 0 : count == 2 ? 1 : 2; - - case 'lt': - return count % 10 == 1 && count % 100 != 11 ? 0 : count % 10 >= 2 && (count % 100 < 10 || count % 100 >= 20) ? 1 : 2; - - case 'sl': - return count % 100 == 1 ? 0 : count % 100 == 2 ? 1 : count % 100 == 3 || count % 100 == 4 ? 2 : 3; - - case 'mk': - return count % 10 == 1 ? 0 : 1; - - case 'mt': - return count == 1 ? 0 : count === 0 || count % 100 > 1 && count % 100 < 11 ? 1 : count % 100 > 10 && count % 100 < 20 ? 2 : 3; - - case 'lv': - return count === 0 ? 0 : count % 10 == 1 && count % 100 != 11 ? 1 : 2; - - case 'pl': - return count == 1 ? 0 : count % 10 >= 2 && count % 10 <= 4 && (count % 100 < 12 || count % 100 > 14) ? 1 : 2; - - case 'cy': - return count == 1 ? 0 : count == 2 ? 1 : count == 8 || count == 11 ? 2 : 3; - - case 'ro': - return count == 1 ? 0 : count === 0 || count % 100 > 0 && count % 100 < 20 ? 1 : 2; - - case 'ar': - return count === 0 ? 0 : count == 1 ? 1 : count == 2 ? 2 : count % 100 >= 3 && count % 100 <= 10 ? 3 : count % 100 >= 11 && count % 100 <= 99 ? 4 : 5; - - default: - return 0; - } -}; - -/***/ }), - -/***/ "./vendor/statamic/cms/resources/js/translations/translator.js": -/*!*********************************************************************!*\ - !*** ./vendor/statamic/cms/resources/js/translations/translator.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "translate": () => (/* binding */ translate), -/* harmony export */ "translateChoice": () => (/* binding */ translateChoice) -/* harmony export */ }); -/* harmony import */ var _message_selector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./message-selector */ "./vendor/statamic/cms/resources/js/translations/message-selector.js"); - -/** - * Get a translated string - * - * @param {String} key The translation key - * @param {Object} replacements A key/value set of string replacements - * @return String - */ - -var translate = function translate(key, replacements) { - var message = getLine(key); - - for (var replace in replacements) { - message = message.split(':' + replace).join(replacements[replace]); - } - - return message; -}; -/** - * Get a translated string determined by plurality - * - * @param {String} key The translation key - * @param {Integer|Array} count The number of items to determine the plurality. Can also just be an array. - * @param {Object} replacements A key/value set of string replacements - * @return String - */ - -var translateChoice = function translateChoice(key, count, replacements) { - replacements = typeof replacements !== 'undefined' ? replacements : {}; // Add the count to the list of replacements. Allow users to pass an array to - // be counted, which is a nicer syntax supported by Laravel's translator. - - count = Array.isArray(count) ? count.length : count; - replacements.count = count; // Get the full translation. It will include all the piped plural versions, but with all replacements done. - - var message = translate(key, replacements); - return (0,_message_selector__WEBPACK_IMPORTED_MODULE_0__["default"])(message, count, Statamic.$config.get('translationLocale')); -}; -/** - * Get a line from the supplied translation files - * @param {String} key - */ - -var getLine = function getLine(key) { - var translations = Statamic.$config.get('translations'); - return translations["*.".concat(key)] || translations[key] || translations["statamic::".concat(key)] || translations["statamic::messages.".concat(key)] || key; -}; - -/***/ }), - -/***/ "./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[3]!./resources/css/addon.scss": -/*!*************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[3]!./resources/css/addon.scss ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _node_modules_laravel_mix_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js"); -/* harmony import */ var _node_modules_laravel_mix_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_laravel_mix_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__); -// Imports - -var ___CSS_LOADER_EXPORT___ = _node_modules_laravel_mix_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, ".miniset-tabs {\n font-size: 12px;\n display: flex;\n margin-bottom: -1px;\n}\n.miniset-tab {\n font-size: 12px;\n border-width: 1px;\n border-color: #dde3e9;\n border-radius: 3px 3px 0 0;\n background-color: white;\n position: relative;\n z-index: 1;\n}\n.miniset-tab:not(:first-child) {\n border-left: 0;\n}\n.miniset-tab-active {\n border-bottom-color: transparent;\n background-color: #fafcff;\n}\n.miniset-select {\n display: block;\n padding: 0.25rem 0.7rem;\n}\n.miniset-select-removeable {\n padding-right: calc(6px + 1rem);\n}\n.miniset-remove {\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 4px 4px 2px;\n}\n.miniset-add {\n font-size: 12px;\n border-width: 1px 1px 0 1px;\n border-color: transparent;\n padding: 0 0.25rem 2px 0.25rem;\n}\n.miniset-groups {\n border-width: 1px;\n border-color: #dde3e9;\n border-radius: 3px;\n background-color: #fafcff;\n position: relative;\n}\n.miniset-tabs + .miniset-groups {\n border-top-left-radius: 0;\n}\n.miniset-create {\n position: absolute;\n inset: 0;\n background-color: #fafcff;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n border-radius: 3px;\n}\n.miniset-create-variants {\n display: flex;\n gap: 0.5em;\n}\n\n.miniset-compact .publish-fields {\n padding: 0.4rem !important;\n}\n.miniset-compact .publish-fields-narrow .field-w-1\\/4 {\n width: 50% !important;\n}\n.miniset-compact .publish-field {\n padding: 0.3rem !important;\n}\n.miniset-compact .button_group-fieldtype,\n.miniset-compact .checkboxes-fieldtype,\n.miniset-compact .radio-fieldtype,\n.miniset-compact .range-fieldtype,\n.miniset-compact .select-fieldtype,\n.miniset-compact .toggle-fieldtype,\n.miniset-compact .text-fieldtype,\n.miniset-compact .textarea-fieldtype {\n font-size: 12px !important;\n}\n.miniset-compact .button_group-fieldtype *,\n.miniset-compact .checkboxes-fieldtype *,\n.miniset-compact .radio-fieldtype *,\n.miniset-compact .range-fieldtype *,\n.miniset-compact .select-fieldtype *,\n.miniset-compact .toggle-fieldtype *,\n.miniset-compact .text-fieldtype *,\n.miniset-compact .textarea-fieldtype * {\n font-size: inherit !important;\n}\n.miniset-compact .button_group-fieldtype > label,\n.miniset-compact .checkboxes-fieldtype > label,\n.miniset-compact .radio-fieldtype > label,\n.miniset-compact .range-fieldtype > label,\n.miniset-compact .select-fieldtype > label,\n.miniset-compact .toggle-fieldtype > label,\n.miniset-compact .text-fieldtype > label,\n.miniset-compact .textarea-fieldtype > label {\n line-height: 0.8 !important;\n margin-bottom: 7px !important;\n}\n.miniset-compact .button_group-fieldtype .help-block,\n.miniset-compact .checkboxes-fieldtype .help-block,\n.miniset-compact .radio-fieldtype .help-block,\n.miniset-compact .range-fieldtype .help-block,\n.miniset-compact .select-fieldtype .help-block,\n.miniset-compact .toggle-fieldtype .help-block,\n.miniset-compact .text-fieldtype .help-block,\n.miniset-compact .textarea-fieldtype .help-block {\n line-height: 0.8 !important;\n margin-top: 7px !important;\n margin-bottom: 7px !important;\n}\n.miniset-compact .button_group-fieldtype .help-block:last-child,\n.miniset-compact .checkboxes-fieldtype .help-block:last-child,\n.miniset-compact .radio-fieldtype .help-block:last-child,\n.miniset-compact .range-fieldtype .help-block:last-child,\n.miniset-compact .select-fieldtype .help-block:last-child,\n.miniset-compact .toggle-fieldtype .help-block:last-child,\n.miniset-compact .text-fieldtype .help-block:last-child,\n.miniset-compact .textarea-fieldtype .help-block:last-child {\n margin-bottom: 0 !important;\n}\n.miniset-compact .button_group-fieldtype .help-block p:last-child,\n.miniset-compact .checkboxes-fieldtype .help-block p:last-child,\n.miniset-compact .radio-fieldtype .help-block p:last-child,\n.miniset-compact .range-fieldtype .help-block p:last-child,\n.miniset-compact .select-fieldtype .help-block p:last-child,\n.miniset-compact .toggle-fieldtype .help-block p:last-child,\n.miniset-compact .text-fieldtype .help-block p:last-child,\n.miniset-compact .textarea-fieldtype .help-block p:last-child {\n margin-bottom: 0 !important;\n}\n.miniset-compact .button_group-fieldtype .btn-group {\n height: 1.625rem !important;\n}\n.miniset-compact .button_group-fieldtype .btn {\n padding: 3px 6px !important;\n height: 1.625rem !important;\n}\n.miniset-compact .checkboxes-fieldtype .option,\n.miniset-compact .radio-fieldtype .option {\n margin-top: 4px !important;\n margin-bottom: 0 !important;\n}\n.miniset-compact .checkboxes-fieldtype .option:first-child,\n.miniset-compact .radio-fieldtype .option:first-child {\n margin-top: 0 !important;\n}\n.miniset-compact .range-fieldtype-wrapper {\n padding: 3px 8px !important;\n}\n.miniset-compact .range-fieldtype-wrapper > div div:first-child,\n.miniset-compact .range-fieldtype-wrapper > div input + div + div {\n line-height: 16px !important;\n}\n.miniset-compact .range-fieldtype-wrapper > div input + div {\n padding: 1px 4px !important;\n line-height: 14px !important;\n}\n.miniset-compact .select-fieldtype .vs__dropdown-toggle {\n height: 1.625rem !important;\n}\n.miniset-compact .select-fieldtype .vs__clear {\n height: 1.625rem !important;\n}\n.miniset-compact .select-fieldtype .vs__open-indicator {\n height: 1.625rem !important;\n padding-left: 4px !important;\n padding-right: 4px !important;\n}\n.miniset-compact .select-fieldtype .vs__selected-options {\n padding: 4px 6px !important;\n background-color: white !important;\n}\n.miniset-compact .select-fieldtype .vs__selected-options-outside .vs__selected {\n margin-top: 4px !important;\n margin-right: 4px !important;\n padding-top: 1px !important;\n padding-left: 4px !important;\n padding-right: 4px !important;\n line-height: 16px !important;\n}\n.miniset-compact .select-fieldtype .vs__selected-options-outside .vs__deselect {\n margin-top: -1px !important;\n}\n.miniset-compact .select-fieldtype .vs__dropdown-menu {\n top: 32px !important;\n}\n.miniset-compact .select-fieldtype .vs__dropdown-option {\n padding: 4px 6px !important;\n}\n.miniset-compact .toggle-fieldtype .toggle-fieldtype-wrapper {\n height: 1.625rem !important;\n}\n.miniset-compact .text-fieldtype .input-group {\n height: 1.625rem !important;\n}\n.miniset-compact .text-fieldtype .input-group-prepend,\n.miniset-compact .text-fieldtype .input-group-append {\n height: 1.625rem !important;\n line-height: 1.375 !important;\n padding: 4px 6px !important;\n}\n.miniset-compact .text-fieldtype .input-text {\n padding: 4px 6px !important;\n height: 1.625rem !important;\n background-color: white !important;\n}\n.miniset-compact .textarea-fieldtype .input-text {\n padding: 4px 6px !important;\n background-color: white !important;\n}", ""]); -// Exports -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); - - -/***/ }), - -/***/ "./node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js": -/*!******************************************************************************!*\ - !*** ./node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js ***! - \******************************************************************************/ -/***/ ((module) => { - -"use strict"; - - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -// css base code, injected by the css-loader -// eslint-disable-next-line func-names -module.exports = function (cssWithMappingToString) { - var list = []; // return the list of modules as css string - - list.toString = function toString() { - return this.map(function (item) { - var content = cssWithMappingToString(item); - - if (item[2]) { - return "@media ".concat(item[2], " {").concat(content, "}"); - } - - return content; - }).join(""); - }; // import a list of modules into the list - // eslint-disable-next-line func-names - - - list.i = function (modules, mediaQuery, dedupe) { - if (typeof modules === "string") { - // eslint-disable-next-line no-param-reassign - modules = [[null, modules, ""]]; - } - - var alreadyImportedModules = {}; - - if (dedupe) { - for (var i = 0; i < this.length; i++) { - // eslint-disable-next-line prefer-destructuring - var id = this[i][0]; - - if (id != null) { - alreadyImportedModules[id] = true; - } - } - } - - for (var _i = 0; _i < modules.length; _i++) { - var item = [].concat(modules[_i]); - - if (dedupe && alreadyImportedModules[item[0]]) { - // eslint-disable-next-line no-continue - continue; - } - - if (mediaQuery) { - if (!item[2]) { - item[2] = mediaQuery; - } else { - item[2] = "".concat(mediaQuery, " and ").concat(item[2]); - } - } - - list.push(item); - } - }; - - return list; -}; - -/***/ }), - -/***/ "./node_modules/process/browser.js": -/*!*****************************************!*\ - !*** ./node_modules/process/browser.js ***! - \*****************************************/ -/***/ ((module) => { - -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; -process.prependListener = noop; -process.prependOnceListener = noop; - -process.listeners = function (name) { return [] } - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - - -/***/ }), - -/***/ "./resources/css/addon.scss": -/*!**********************************!*\ - !*** ./resources/css/addon.scss ***! - \**********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); -/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _node_modules_laravel_mix_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_3_addon_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[1]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[3]!./addon.scss */ "./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11[0].rules[0].use[3]!./resources/css/addon.scss"); - - - -var options = {}; - -options.insert = "head"; -options.singleton = false; - -var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_laravel_mix_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_3_addon_scss__WEBPACK_IMPORTED_MODULE_1__["default"], options); - - - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_laravel_mix_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_0_rules_0_use_3_addon_scss__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {}); - -/***/ }), - -/***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js": -/*!****************************************************************************!*\ - !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! - \****************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - - -var isOldIE = function isOldIE() { - var memo; - return function memorize() { - if (typeof memo === 'undefined') { - // Test for IE <= 9 as proposed by Browserhacks - // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 - // Tests for existence of standard globals is to allow style-loader - // to operate correctly into non-standard environments - // @see https://github.com/webpack-contrib/style-loader/issues/177 - memo = Boolean(window && document && document.all && !window.atob); - } - - return memo; - }; -}(); - -var getTarget = function getTarget() { - var memo = {}; - return function memorize(target) { - if (typeof memo[target] === 'undefined') { - var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself - - if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) { - try { - // This will throw an exception if access to iframe is blocked - // due to cross-origin restrictions - styleTarget = styleTarget.contentDocument.head; - } catch (e) { - // istanbul ignore next - styleTarget = null; - } - } - - memo[target] = styleTarget; - } - - return memo[target]; - }; -}(); - -var stylesInDom = []; - -function getIndexByIdentifier(identifier) { - var result = -1; - - for (var i = 0; i < stylesInDom.length; i++) { - if (stylesInDom[i].identifier === identifier) { - result = i; - break; - } - } - - return result; -} - -function modulesToDom(list, options) { - var idCountMap = {}; - var identifiers = []; - - for (var i = 0; i < list.length; i++) { - var item = list[i]; - var id = options.base ? item[0] + options.base : item[0]; - var count = idCountMap[id] || 0; - var identifier = "".concat(id, " ").concat(count); - idCountMap[id] = count + 1; - var index = getIndexByIdentifier(identifier); - var obj = { - css: item[1], - media: item[2], - sourceMap: item[3] - }; - - if (index !== -1) { - stylesInDom[index].references++; - stylesInDom[index].updater(obj); - } else { - stylesInDom.push({ - identifier: identifier, - updater: addStyle(obj, options), - references: 1 - }); - } - - identifiers.push(identifier); - } - - return identifiers; -} - -function insertStyleElement(options) { - var style = document.createElement('style'); - var attributes = options.attributes || {}; - - if (typeof attributes.nonce === 'undefined') { - var nonce = true ? __webpack_require__.nc : 0; - - if (nonce) { - attributes.nonce = nonce; - } - } - - Object.keys(attributes).forEach(function (key) { - style.setAttribute(key, attributes[key]); - }); - - if (typeof options.insert === 'function') { - options.insert(style); - } else { - var target = getTarget(options.insert || 'head'); - - if (!target) { - throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."); - } - - target.appendChild(style); - } - - return style; -} - -function removeStyleElement(style) { - // istanbul ignore if - if (style.parentNode === null) { - return false; - } - - style.parentNode.removeChild(style); -} -/* istanbul ignore next */ - - -var replaceText = function replaceText() { - var textStore = []; - return function replace(index, replacement) { - textStore[index] = replacement; - return textStore.filter(Boolean).join('\n'); - }; -}(); - -function applyToSingletonTag(style, index, remove, obj) { - var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE - - /* istanbul ignore if */ - - if (style.styleSheet) { - style.styleSheet.cssText = replaceText(index, css); - } else { - var cssNode = document.createTextNode(css); - var childNodes = style.childNodes; - - if (childNodes[index]) { - style.removeChild(childNodes[index]); - } - - if (childNodes.length) { - style.insertBefore(cssNode, childNodes[index]); - } else { - style.appendChild(cssNode); - } - } -} - -function applyToTag(style, options, obj) { - var css = obj.css; - var media = obj.media; - var sourceMap = obj.sourceMap; - - if (media) { - style.setAttribute('media', media); - } else { - style.removeAttribute('media'); - } - - if (sourceMap && typeof btoa !== 'undefined') { - css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */"); - } // For old IE - - /* istanbul ignore if */ - - - if (style.styleSheet) { - style.styleSheet.cssText = css; - } else { - while (style.firstChild) { - style.removeChild(style.firstChild); - } - - style.appendChild(document.createTextNode(css)); - } -} - -var singleton = null; -var singletonCounter = 0; - -function addStyle(obj, options) { - var style; - var update; - var remove; - - if (options.singleton) { - var styleIndex = singletonCounter++; - style = singleton || (singleton = insertStyleElement(options)); - update = applyToSingletonTag.bind(null, style, styleIndex, false); - remove = applyToSingletonTag.bind(null, style, styleIndex, true); - } else { - style = insertStyleElement(options); - update = applyToTag.bind(null, style, options); - - remove = function remove() { - removeStyleElement(style); - }; - } - - update(obj); - return function updateStyle(newObj) { - if (newObj) { - if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) { - return; - } - - update(obj = newObj); - } else { - remove(); - } - }; -} - -module.exports = function (list, options) { - options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of