diff --git a/.gitignore b/.gitignore index 23f44081..05ad55ac 100755 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,9 @@ web/app/mu-plugins/*/ web/app/themes/twentytwentyfour/ web/app/upgrade web/app/cache/* -web/app/languages/plugins/ +web/app/languages/ web/app/object-cache.php +web/app/themes/haiku-atelier-2024/assets/js/* # WordPress web/wp @@ -59,3 +60,7 @@ containers/conf/angie/modules-available containers/conf/angie/modules-enabled containers/conf/angie/scripts containers/conf/angie/snippets + +# Formateurs +.php-cs-fixer.cache +.twig-cs-fixer.cache diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 6b335101..19bd6c1e 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,8 +1,261 @@ -in(__DIR__)->exclude(['vendor', 'web/vendor', 'web/wp', 'web/app/languages', 'web/app/plugins', 'web/app/mu-plugins']); +$finder = new Finder()->in(__DIR__)->exclude([ + 'vendor', + 'web/vendor', + 'web/wp', + 'web/app/languages', + 'web/app/plugins', + 'web/app/mu-plugins', +]); -return (new Config())->setRules(['@PhpCsFixer' => true])->setFinder($finder); +return new Config() + ->setRiskyAllowed(true) + ->setRules([ + 'array_syntax' => ['syntax' => 'short'], + 'assign_null_coalescing_to_coalesce_equal' => true, + 'attribute_empty_parentheses' => ['use_parentheses' => true], + 'blank_line_after_namespace' => true, + 'blank_lines_before_namespace' => ['min_line_breaks' => 1, 'max_line_breaks' => 2], + 'cast_spaces' => true, + 'class_attributes_separation' => ['elements' => [ + 'case' => 'none', + 'const' => 'none', + 'method' => 'one', + 'property' => 'one', + 'trait_import' => 'none', + ]], + 'class_reference_name_casing' => true, + 'clean_namespace' => true, + 'combine_consecutive_issets' => true, + 'combine_consecutive_unsets' => true, + 'combine_nested_dirname' => true, + 'comment_to_phpdoc' => true, + 'constant_case' => true, + 'date_time_immutable' => true, + 'declare_equal_normalize' => true, + 'declare_parentheses' => true, + 'declare_strict_types' => true, + 'dir_constant' => true, + 'echo_tag_syntax' => true, + 'encoding' => true, + 'ereg_to_preg' => true, + 'error_suppression' => true, + 'explicit_indirect_variable' => true, + 'explicit_string_variable' => true, + 'final_class' => true, + 'final_internal_class' => true, + 'full_opening_tag' => true, + 'fully_qualified_strict_types' => ['import_symbols' => true], + 'function_to_constant' => true, + 'global_namespace_import' => ['import_classes' => true, 'import_constants' => true, 'import_functions' => true], + 'heredoc_to_nowdoc' => true, + 'integer_literal_case' => true, + 'lambda_not_used_import' => true, + 'list_syntax' => true, + 'logical_operators' => true, + 'long_to_shorthand_operator' => true, + 'lowercase_cast' => true, + 'lowercase_keywords' => true, + 'lowercase_static_reference' => true, + 'magic_constant_casing' => true, + 'magic_method_casing' => true, + 'mb_str_functions' => true, + 'modernize_strpos' => ['modernize_stripos' => true], + 'modernize_types_casting' => true, + 'modifier_keywords' => true, + 'multiline_comment_opening_closing' => true, + 'native_constant_invocation' => true, + 'native_function_casing' => true, + 'native_function_invocation' => [ + 'include' => ['@compiler_optimized'], + 'scope' => 'namespaced', + 'strict' => true, + ], + 'native_type_declaration_casing' => true, + 'new_expression_parentheses' => true, + 'no_alias_functions' => ['sets' => ['@all']], + 'no_alias_language_construct_call' => true, + 'no_alternative_syntax' => true, + 'no_binary_string' => true, + 'no_closing_tag' => true, + 'no_empty_comment' => true, + 'no_homoglyph_names' => true, + 'no_leading_import_slash' => true, + 'no_mixed_echo_print' => ['use' => 'echo'], + 'no_multiline_whitespace_around_double_arrow' => true, + 'no_multiple_statements_per_line' => true, + 'no_null_property_initialization' => true, + 'no_php4_constructor' => true, + 'no_short_bool_cast' => true, + 'no_trailing_comma_in_singleline' => true, + 'no_trailing_whitespace_in_comment' => true, + 'no_unneeded_braces' => ['namespaces' => true], + 'no_unneeded_control_parentheses' => ['statements' => [ + 'break', + 'clone', + 'continue', + 'echo_print', + 'negative_instanceof', + 'others', + 'return', + 'switch_case', + 'yield', + 'yield_from', + ]], + 'no_unneeded_final_method' => true, + 'no_unneeded_import_alias' => true, + 'no_unreachable_default_argument_value' => true, + 'no_unset_cast' => true, + 'no_unset_on_property' => true, + 'no_unused_imports' => true, + 'no_useless_concat_operator' => true, + 'no_useless_nullsafe_operator' => true, + 'no_useless_printf' => true, + 'no_useless_return' => true, + 'no_useless_sprintf' => true, + 'no_whitespace_before_comma_in_array' => ['after_heredoc' => true], + 'non_printable_character' => true, + 'normalize_index_brace' => true, + 'nullable_type_declaration' => ['syntax' => 'union'], + 'nullable_type_declaration_for_default_null_value' => true, + 'numeric_literal_separator' => ['override_existing' => true, 'strategy' => 'use_separator'], + 'ordered_attributes' => true, + 'ordered_class_elements' => ['case_sensitive' => false, 'sort_algorithm' => 'alpha'], + 'ordered_imports' => ['case_sensitive' => true], + 'ordered_interfaces' => true, + 'ordered_traits' => true, + 'ordered_types' => ['null_adjustment' => 'always_last'], + 'phpdoc_readonly_class_comment_to_keyword' => true, + 'phpdoc_to_param_type' => true, + 'phpdoc_to_property_type' => true, + 'phpdoc_to_return_type' => true, + 'pow_to_exponentiation' => true, + 'protected_to_private' => true, + 'psr_autoloading' => true, + 'random_api_migration' => ['replacements' => [ + 'getrandmax' => 'mt_getrandmax', + 'rand' => 'mt_rand', + 'srand' => 'mt_srand', + ]], + 'return_assignment' => true, + 'self_accessor' => true, + 'self_static_accessor' => true, + 'set_type_to_cast' => true, + 'short_scalar_cast' => true, + 'simple_to_complex_string_variable' => true, + 'simplified_null_return' => true, + 'single_class_element_per_statement' => true, + 'single_import_per_statement' => true, + 'single_line_after_imports' => true, + 'single_line_comment_spacing' => true, + 'single_line_comment_style' => true, + 'single_line_empty_body' => true, + 'single_trait_insert_per_statement' => true, + 'standardize_not_equals' => true, + 'static_lambda' => true, + 'strict_comparison' => true, + 'strict_param' => true, + 'string_implicit_backslashes' => true, + 'string_length_to_empty' => true, + 'switch_continue_to_break' => true, + 'ternary_to_null_coalescing' => true, + 'trim_array_spaces' => true, + 'use_arrow_functions' => true, + 'void_return' => true, + 'whitespace_after_comma_in_array' => ['ensure_single_space' => true], + // --- + // Each line of multi-line DocComments must have an asterisk [PSR-5] and must be aligned with the first one. + 'align_multiline_comment' => ['comment_type' => 'all_multiline'], + // There should not be blank lines between docblock and the documented element. + 'no_blank_lines_after_phpdoc' => true, + // There should not be empty PHPDoc blocks. + 'no_empty_phpdoc' => true, + // Removes @param, @return and @var tags that don't provide any useful information. + 'no_superfluous_phpdoc_tags' => [ + 'allow_hidden_params' => false, + 'allow_mixed' => false, + 'allow_unused_params' => false, + ], + // PHPDoc should contain @param for all params. + 'phpdoc_add_missing_param_annotation' => ['only_untyped' => false], + // All items of the given PHPDoc tags must be either left-aligned or (by default) aligned vertically. + 'phpdoc_align' => true, + // PHPDoc annotation descriptions should not be a sentence. + 'phpdoc_annotation_without_dot' => true, + // PHPDoc array type must be used instead of T[]. + 'phpdoc_array_type' => true, + // Docblocks should have the same indentation as the documented subject. + 'phpdoc_indent' => true, + // Fixes PHPDoc inline tags. + 'phpdoc_inline_tag_normalizer' => true, + // Changes doc blocks from single to multi line, or reversed. Works for class constants, properties and methods only. + 'phpdoc_line_span' => ['const' => 'single', 'method' => 'multi', 'property' => 'single'], + // PHPDoc list type must be used instead of array without a key. + 'phpdoc_list_type' => false, + // @access annotations must be removed from PHPDoc. + 'phpdoc_no_access' => true, + // No alias PHPDoc tags should be used. + 'phpdoc_no_alias_tag' => true, + // @return void and @return null annotations must be removed from PHPDoc. + 'phpdoc_no_empty_return' => false, + // @package and @subpackage annotations must be removed from PHPDoc. + 'phpdoc_no_package' => true, + // Classy that does not inherit must not have @inheritdoc tags. + 'phpdoc_no_useless_inheritdoc' => true, + // Annotations in PHPDoc should be ordered in defined sequence. + 'phpdoc_order' => true, + // Order PHPDoc tags by value. + 'phpdoc_order_by_value' => true, + // Orders all @param annotations in DocBlocks according to method signature. + 'phpdoc_param_order' => true, + // The type of @return annotations of methods returning a reference to itself must the configured one. + 'phpdoc_return_self_reference' => true, + // Scalar types should always be written in the same form. int not integer, bool not boolean, float not real or double. + 'phpdoc_scalar' => ['types' => [ + 'boolean', + 'callback', + 'double', + 'integer', + 'never-return', + 'never-returns', + 'no-return', + 'real', + 'str', + ]], + // Annotations in PHPDoc should be grouped together so that annotations of the same type immediately follow each other. Annotations of a different type are separated by a single blank line. + 'phpdoc_separation' => [ + 'groups' => [ + ['Annotation', 'NamedArgumentConstructor', 'Target'], + ['author', 'copyright', 'license'], + ['category', 'package', 'subpackage'], + ['property', 'property-read', 'property-write'], + ['deprecated', 'link', 'see', 'since'], + ], + 'skip_unlisted_annotations' => false, + ], + // Single line @var PHPDoc should have proper spacing. + 'phpdoc_single_line_var_spacing' => true, + // PHPDoc summary should end in either a full stop, exclamation mark, or question mark. + 'phpdoc_summary' => true, + // Docblocks should only be used on structural elements. + 'phpdoc_to_comment' => false, + // PHPDoc should start and end with content, excluding the very first and last line of the docblocks. + 'phpdoc_trim' => true, + // Removes extra blank lines after summary and after description in PHPDoc. + 'phpdoc_trim_consecutive_blank_line_separation' => true, + // The correct case must be used for standard PHP types in PHPDoc. + 'phpdoc_types' => true, + // Sorts PHPDoc types. + 'phpdoc_types_order' => ['null_adjustment' => 'always_last'], + // @var and @type annotations must have type and name in the correct order. + 'phpdoc_var_annotation_correct_order' => true, + // @var and @type annotations of classy properties should not contain the name. + 'phpdoc_var_without_name' => true, + ]) + ->setFinder($finder) + ->setParallelConfig(Runner\Parallel\ParallelConfigFactory::detect()); diff --git a/.phpactor.json b/.phpactor.json index eeff9d6e..d952ef73 100755 --- a/.phpactor.json +++ b/.phpactor.json @@ -1,6 +1,19 @@ { - "$schema": "/opt/phpactor/phpactor.schema.json", - "language_server_php_cs_fixer.enabled": false, - "language_server_phpstan.enabled": false, - "php_code_sniffer.enabled": false + "$schema": "./phpactor.schema.json", + "indexer.exclude_patterns": [ + "/vendor/**/Tests/**/*", + "/vendor/**/tests/**/*", + "/var/cache/**/*", + "/vendor/composer/**/*" + ], + "language_server.diagnostic_outsource_timeout": 5, + "language_server.diagnostics_on_update": false, + "language_server.diagnostics_on_save": true, + "language_server_highlight.enabled": true, + "language_server_php_cs_fixer.enabled": true, + "language_server_phpstan.config": "phpstan.neon", + "language_server_phpstan.enabled": true, + "language_server_psalm.enabled": false, + "language_server_reference_finder.soft_timeout": 10, + "language_server_reference_reference_finder.reference_timeout": 10 } diff --git a/.twig-cs-fixer.cache b/.twig-cs-fixer.cache deleted file mode 100644 index 74295b97..00000000 --- a/.twig-cs-fixer.cache +++ /dev/null @@ -1 +0,0 @@ -{"php_version":"8.4.11","fixer_version":"866af065fd09980b6390ee5c69e45b08053101e8","rules":{"TwigCsFixer\\Rules\\Delimiter\\DelimiterSpacingRule":{"skipIfNewLine":true},"TwigCsFixer\\Rules\\Function\\NamedArgumentSeparatorRule":null,"TwigCsFixer\\Rules\\Function\\NamedArgumentSpacingRule":null,"TwigCsFixer\\Rules\\Operator\\OperatorNameSpacingRule":null,"TwigCsFixer\\Rules\\Operator\\OperatorSpacingRule":null,"TwigCsFixer\\Rules\\Punctuation\\PunctuationSpacingRule":{"before":{")":0,"]":0,"}":0,":":0,".":0,",":0,"|":0,"?:":0},"after":{"(":0,"[":0,"{":0,".":0,"|":0,":":1,",":1,"?:":1}},"TwigCsFixer\\Rules\\Whitespace\\BlankEOFRule":null,"TwigCsFixer\\Rules\\Delimiter\\BlockNameSpacingRule":null,"TwigCsFixer\\Rules\\Whitespace\\EmptyLinesRule":null,"TwigCsFixer\\Rules\\Literal\\CompactHashRule":{"compact":false},"TwigCsFixer\\Rules\\Literal\\HashQuoteRule":{"useQuote":false},"TwigCsFixer\\Rules\\Function\\IncludeFunctionRule":null,"TwigCsFixer\\Rules\\Whitespace\\IndentRule":{"spaceRatio":4,"useTab":false},"TwigCsFixer\\Rules\\Literal\\SingleQuoteRule":{"skipStringContainingSingleQuote":true},"TwigCsFixer\\Rules\\Punctuation\\TrailingCommaMultiLineRule":{"comma":true},"TwigCsFixer\\Rules\\Punctuation\\TrailingCommaSingleLineRule":null,"TwigCsFixer\\Rules\\Whitespace\\TrailingSpaceRule":null},"hashes":{"web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/shop\/grille-produits.twig":"ef4ff046636044e452eeb3fe9edefaeb","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/produit\/grille-produits-similaires.twig":"eadf1a78a51084677aaaa56dafb1e708","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/produit\/informations-produit.twig":"4b7c756b4aa0f88942857e6c4969b354","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/produit\/photos-produit.twig":"5654c0382c5ef553a0b96a09194d909a","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/produit\/produits-similaires.twig":"695492c5926dfeeb69c37eb6227e1f18","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/panier\/panneau-informations-client.twig":"095a41b6e4142d7c2d9ebe18e4ac24d0","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pages\/panier\/panneau-panier.twig":"0b84a3113ceceaac82ee96aea753c8aa","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/pied-de-page.twig":"d5f5afaa90db1db6590ea0ed0584c216","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/bandeau.twig":"1164a4e9baafbb15be2a4dc98c32ced1","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/en-tete.twig":"1cf26fa4e64cdc7c6ed29b4e5627841a","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/html-head.twig":"691202d8b7719de34f604e42a74932af","web\/app\/themes\/haiku-atelier-2024\/views\/parts\/menu-categories-produits.twig":"e132a6035820545f704075ab9e89d119","web\/app\/themes\/haiku-atelier-2024\/views\/macros\/images.twig":"4beca7e03e55ef0e46828befcc779677","web\/app\/themes\/haiku-atelier-2024\/views\/404.twig":"75335b023fcc6f5c83197e8c126384e1","web\/app\/themes\/haiku-atelier-2024\/views\/a-propos.twig":"b5bdf0962e089bc93d33f5d23b97f64c","web\/app\/themes\/haiku-atelier-2024\/views\/accueil.twig":"beb4b2270ea3a1bcdbf8cd9e69f83ee7","web\/app\/themes\/haiku-atelier-2024\/views\/base.twig":"3e3ed592fb1c4bc8405be3b52f403725","web\/app\/themes\/haiku-atelier-2024\/views\/boutique.twig":"10449e7c29289282366d754ec3360589","web\/app\/themes\/haiku-atelier-2024\/views\/cgv.twig":"97984ba4344e2dcf8c3237796203c614","web\/app\/themes\/haiku-atelier-2024\/views\/contact.twig":"5d9dcae3e990c671404a8200b6c9815a","web\/app\/themes\/haiku-atelier-2024\/views\/echec-commande.twig":"9cf475c2c19664e9ef92a71e670b2880","web\/app\/themes\/haiku-atelier-2024\/views\/produit.twig":"43bf608a266e8b8652a8f878fbe4580e","web\/app\/themes\/haiku-atelier-2024\/views\/succes-commande.twig":"712e54c1866a66988ccb1a79cbae53d6","web\/app\/themes\/haiku-atelier-2024\/views\/panier.twig":"d008509105bb53253214344429163558","web\/app\/themes\/haiku-atelier-2024\/woocommerce\/emails\/views\/email-commande-envoyee.twig":"e4e3bbc92a40eeae8925085b560dcb0d","web\/app\/themes\/haiku-atelier-2024\/woocommerce\/emails\/views\/email-base.twig":"7ef70033248d96d208f965dc4d885d9f","web\/app\/themes\/haiku-atelier-2024\/woocommerce\/emails\/views\/email-commande-recue.twig":"0b09e4586dd8eb4ca9513b9ae38e307b"}} \ No newline at end of file diff --git a/biome.json b/biome.json index e4547dc9..a8aae965 100755 --- a/biome.json +++ b/biome.json @@ -28,21 +28,21 @@ "options": { "attributes": ["class"], "functions": [""] } } }, + "recommended": true, "style": { - "recommended": true, + "noInferrableTypes": "error", "noNonNullAssertion": "off", "noParameterAssign": "error", + "noUnusedTemplateLiteral": "error", + "noUselessElse": "error", + "recommended": true, "useAsConstAssertion": "error", "useDefaultParameterLast": "error", "useEnumInitializers": "error", - "useSelfClosingElements": "error", - "useSingleVarDeclarator": "error", - "noUnusedTemplateLiteral": "error", "useNumberNamespace": "error", - "noInferrableTypes": "error", - "noUselessElse": "error" - }, - "recommended": true + "useSelfClosingElements": "error", + "useSingleVarDeclarator": "error" + } } } } diff --git a/bun.lock b/bun.lock index db78191f..36d5ffaf 100644 --- a/bun.lock +++ b/bun.lock @@ -44,7 +44,7 @@ "oxlint": "^1.31.0", "picomatch": "^4.0.3", "playwright": "^1.57.0", - "prettier": "^3.7.4", + "prettier": "^4.0.0-alpha.13", "prettier-plugin-pkg": "^0.21.2", "prettier-plugin-sh": "^0.18.0", "sass-embedded": "^1.93.3", @@ -57,9 +57,6 @@ "typescript": "5.9.3", "typescript-eslint": "^8.48.1", "vite": "^7.2.6", - "vite-plugin-compression2": "^2.3.1", - "vite-plugin-manifest-sri": "^0.2.0", - "vite-plugin-node-polyfills": "^0.24.0", "vite-plugin-valibot-env": "^1.0.1", "vite-tsconfig-paths": "^5.1.4", "wp-types": "^4.69.0", @@ -533,10 +530,6 @@ "@reteps/dockerfmt": ["@reteps/dockerfmt@0.3.6", "", {}, "sha512-Tb5wIMvBf/nLejTQ61krK644/CEMB/cpiaIFXqGApfGqO3GwcR3qnI0DbmkFVCl2OyEp8LnLX3EkucoL0+tbFg=="], - "@rollup/plugin-inject": ["@rollup/plugin-inject@5.0.5", "", { "dependencies": { "@rollup/pluginutils": "^5.0.1", "estree-walker": "^2.0.2", "magic-string": "^0.30.3" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "optionalPeers": ["rollup"] }, "sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg=="], - - "@rollup/pluginutils": ["@rollup/pluginutils@5.3.0", "", { "dependencies": { "@types/estree": "^1.0.0", "estree-walker": "^2.0.2", "picomatch": "^4.0.2" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "optionalPeers": ["rollup"] }, "sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q=="], - "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.53.3", "", { "os": "android", "cpu": "arm" }, "sha512-mRSi+4cBjrRLoaal2PnqH82Wqyb+d3HsPUN/W+WslCXsZsyHa9ZeQQX/pQsZaVIWDkPcpV6jJ+3KLbTbgnwv8w=="], "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.53.3", "", { "os": "android", "cpu": "arm64" }, "sha512-CbDGaMpdE9sh7sCmTrTUyllhrg65t6SwhjlMJsLr+J8YjFuPmCEjbBSx4Z/e4SmDyH3aB5hGaJUP2ltV/vcs4w=="], @@ -743,14 +736,8 @@ "array-union": ["array-union@2.1.0", "", {}, "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw=="], - "asn1.js": ["asn1.js@4.10.1", "", { "dependencies": { "bn.js": "^4.0.0", "inherits": "^2.0.1", "minimalistic-assert": "^1.0.0" } }, "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw=="], - - "assert": ["assert@2.1.0", "", { "dependencies": { "call-bind": "^1.0.2", "is-nan": "^1.3.2", "object-is": "^1.1.5", "object.assign": "^4.1.4", "util": "^0.12.5" } }, "sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw=="], - "astral-regex": ["astral-regex@2.0.0", "", {}, "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ=="], - "available-typed-arrays": ["available-typed-arrays@1.0.7", "", { "dependencies": { "possible-typed-array-names": "^1.0.0" } }, "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ=="], - "b4a": ["b4a@1.7.3", "", { "peerDependencies": { "react-native-b4a": "*" }, "optionalPeers": ["react-native-b4a"] }, "sha512-5Q2mfq2WfGuFp3uS//0s6baOJLMoVduPYVeNmDYxu5OUA1/cBfvr2RIS7vi62LdNj/urk1hfmj867I3qt6uZ7Q=="], "babel-plugin-polyfill-corejs2": ["babel-plugin-polyfill-corejs2@0.4.14", "", { "dependencies": { "@babel/compat-data": "^7.27.7", "@babel/helper-define-polyfill-provider": "^0.6.5", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg=="], @@ -773,28 +760,10 @@ "bin-version-check": ["bin-version-check@5.1.0", "", { "dependencies": { "bin-version": "^6.0.0", "semver": "^7.5.3", "semver-truncate": "^3.0.0" } }, "sha512-bYsvMqJ8yNGILLz1KP9zKLzQ6YpljV3ln1gqhuLkUtyfGi3qXKGuK2p+U4NAvjVFzDFiBBtOpCOSFNuYYEGZ5g=="], - "bn.js": ["bn.js@5.2.2", "", {}, "sha512-v2YAxEmKaBLahNwE1mjp4WON6huMNeuDvagFZW+ASCuA/ku0bXR9hSMw0XpiqMoA3+rmnyck/tPRSFQkoC9Cuw=="], - "brace-expansion": ["brace-expansion@2.0.2", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="], "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], - "brorand": ["brorand@1.1.0", "", {}, "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w=="], - - "browser-resolve": ["browser-resolve@2.0.0", "", { "dependencies": { "resolve": "^1.17.0" } }, "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ=="], - - "browserify-aes": ["browserify-aes@1.2.0", "", { "dependencies": { "buffer-xor": "^1.0.3", "cipher-base": "^1.0.0", "create-hash": "^1.1.0", "evp_bytestokey": "^1.0.3", "inherits": "^2.0.1", "safe-buffer": "^5.0.1" } }, "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA=="], - - "browserify-cipher": ["browserify-cipher@1.0.1", "", { "dependencies": { "browserify-aes": "^1.0.4", "browserify-des": "^1.0.0", "evp_bytestokey": "^1.0.0" } }, "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w=="], - - "browserify-des": ["browserify-des@1.0.2", "", { "dependencies": { "cipher-base": "^1.0.1", "des.js": "^1.0.0", "inherits": "^2.0.1", "safe-buffer": "^5.1.2" } }, "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A=="], - - "browserify-rsa": ["browserify-rsa@4.1.1", "", { "dependencies": { "bn.js": "^5.2.1", "randombytes": "^2.1.0", "safe-buffer": "^5.2.1" } }, "sha512-YBjSAiTqM04ZVei6sXighu679a3SqWORA3qZTEqZImnlkDIFtKc6pNutpjyZ8RJTjQtuYfeetkxM11GwoYXMIQ=="], - - "browserify-sign": ["browserify-sign@4.2.5", "", { "dependencies": { "bn.js": "^5.2.2", "browserify-rsa": "^4.1.1", "create-hash": "^1.2.0", "create-hmac": "^1.1.7", "elliptic": "^6.6.1", "inherits": "^2.0.4", "parse-asn1": "^5.1.9", "readable-stream": "^2.3.8", "safe-buffer": "^5.2.1" } }, "sha512-C2AUdAJg6rlM2W5QMp2Q4KGQMVBwR1lIimTsUnutJ8bMpW5B52pGpR2gEnNBNwijumDo5FojQ0L9JrXA8m4YEw=="], - - "browserify-zlib": ["browserify-zlib@0.2.0", "", { "dependencies": { "pako": "~1.0.5" } }, "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA=="], - "browserslist": ["browserslist@4.28.1", "http://localhost:4873/browserslist/-/browserslist-4.28.1.tgz", { "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", "electron-to-chromium": "^1.5.263", "node-releases": "^2.0.27", "update-browserslist-db": "^1.2.0" }, "bin": { "browserslist": "cli.js" } }, "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA=="], "browserslist-to-esbuild": ["browserslist-to-esbuild@2.1.1", "", { "dependencies": { "meow": "^13.0.0" }, "peerDependencies": { "browserslist": "*" }, "bin": { "browserslist-to-esbuild": "cli/index.js" } }, "sha512-KN+mty6C3e9AN8Z5dI1xeN15ExcRNeISoC3g7V0Kax/MMF9MSoYA2G7lkTTcVUFntiEjkpI0HNgqJC1NjdyNUw=="], @@ -807,22 +776,12 @@ "buffer-from": ["buffer-from@1.1.2", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="], - "buffer-xor": ["buffer-xor@1.0.3", "", {}, "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ=="], - - "builtin-status-codes": ["builtin-status-codes@3.0.0", "", {}, "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ=="], - "cacheable": ["cacheable@2.3.0", "", { "dependencies": { "@cacheable/memory": "^2.0.6", "@cacheable/utils": "^2.3.2", "hookified": "^1.13.0", "keyv": "^5.5.4", "qified": "^0.5.2" } }, "sha512-HHiAvOBmlcR2f3SQ7kdlYD8+AUJG+wlFZ/Ze8tl1Vzvz0MdOh8IYA/EFU4ve8t1/sZ0j4MGi7ST5MoTwHessQA=="], "cacheable-lookup": ["cacheable-lookup@7.0.0", "", {}, "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w=="], "cacheable-request": ["cacheable-request@10.2.14", "", { "dependencies": { "@types/http-cache-semantics": "^4.0.2", "get-stream": "^6.0.1", "http-cache-semantics": "^4.1.1", "keyv": "^4.5.3", "mimic-response": "^4.0.0", "normalize-url": "^8.0.0", "responselike": "^3.0.0" } }, "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ=="], - "call-bind": ["call-bind@1.0.8", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.2" } }, "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww=="], - - "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], - - "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="], - "callsites": ["callsites@3.1.0", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="], "caniuse-lite": ["caniuse-lite@1.0.30001759", "", {}, "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw=="], @@ -833,8 +792,6 @@ "chokidar": ["chokidar@4.0.3", "", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="], - "cipher-base": ["cipher-base@1.0.7", "", { "dependencies": { "inherits": "^2.0.4", "safe-buffer": "^5.2.1", "to-buffer": "^1.2.2" } }, "sha512-Mz9QMT5fJe7bKI7MH31UilT5cEK5EHHRCccw/YRFsRY47AuNgaV6HY3rscp0/I4Q+tTW/5zoqpSeRRI54TkDWA=="], - "color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], @@ -847,10 +804,6 @@ "concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="], - "console-browserify": ["console-browserify@1.2.0", "", {}, "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA=="], - - "constants-browserify": ["constants-browserify@1.0.0", "", {}, "sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ=="], - "content-disposition": ["content-disposition@0.5.4", "", { "dependencies": { "safe-buffer": "5.2.1" } }, "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ=="], "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], @@ -859,22 +812,10 @@ "core-js-compat": ["core-js-compat@3.47.0", "", { "dependencies": { "browserslist": "^4.28.0" } }, "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ=="], - "core-util-is": ["core-util-is@1.0.3", "", {}, "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="], - "cosmiconfig": ["cosmiconfig@9.0.0", "", { "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", "parse-json": "^5.2.0" }, "peerDependencies": { "typescript": ">=4.9.5" }, "optionalPeers": ["typescript"] }, "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg=="], - "create-ecdh": ["create-ecdh@4.0.4", "", { "dependencies": { "bn.js": "^4.1.0", "elliptic": "^6.5.3" } }, "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A=="], - - "create-hash": ["create-hash@1.2.0", "", { "dependencies": { "cipher-base": "^1.0.1", "inherits": "^2.0.1", "md5.js": "^1.3.4", "ripemd160": "^2.0.1", "sha.js": "^2.4.0" } }, "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg=="], - - "create-hmac": ["create-hmac@1.1.7", "", { "dependencies": { "cipher-base": "^1.0.3", "create-hash": "^1.1.0", "inherits": "^2.0.1", "ripemd160": "^2.0.0", "safe-buffer": "^5.0.1", "sha.js": "^2.4.8" } }, "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg=="], - - "create-require": ["create-require@1.1.1", "", {}, "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="], - "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], - "crypto-browserify": ["crypto-browserify@3.12.1", "", { "dependencies": { "browserify-cipher": "^1.0.1", "browserify-sign": "^4.2.3", "create-ecdh": "^4.0.4", "create-hash": "^1.2.0", "create-hmac": "^1.1.7", "diffie-hellman": "^5.0.3", "hash-base": "~3.0.4", "inherits": "^2.0.4", "pbkdf2": "^3.1.2", "public-encrypt": "^4.0.3", "randombytes": "^2.1.0", "randomfill": "^1.0.4" } }, "sha512-r4ESw/IlusD17lgQi1O20Fa3qNnsckR126TdUuBgAu7GBYSIPvdNyONd3Zrxh0xCwA4+6w/TDArBPsMvhur+KQ=="], - "css-functions-list": ["css-functions-list@3.2.3", "", {}, "sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA=="], "css-tree": ["css-tree@3.1.0", "", { "dependencies": { "mdn-data": "2.12.2", "source-map-js": "^1.0.1" } }, "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w=="], @@ -891,40 +832,20 @@ "defer-to-connect": ["defer-to-connect@2.0.1", "", {}, "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg=="], - "define-data-property": ["define-data-property@1.1.4", "", { "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "gopd": "^1.0.1" } }, "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A=="], - - "define-properties": ["define-properties@1.2.1", "", { "dependencies": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" } }, "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg=="], - - "des.js": ["des.js@1.1.0", "", { "dependencies": { "inherits": "^2.0.1", "minimalistic-assert": "^1.0.0" } }, "sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg=="], - "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], - "diffie-hellman": ["diffie-hellman@5.0.3", "", { "dependencies": { "bn.js": "^4.1.0", "miller-rabin": "^4.0.0", "randombytes": "^2.0.0" } }, "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg=="], - "dir-glob": ["dir-glob@3.0.1", "", { "dependencies": { "path-type": "^4.0.0" } }, "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA=="], - "domain-browser": ["domain-browser@4.22.0", "", {}, "sha512-IGBwjF7tNk3cwypFNH/7bfzBcgSCbaMOD3GsaY1AU/JRrnHnYgEM0+9kQt52iZxjNsjBtJYtao146V+f8jFZNw=="], - - "dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="], - "effect": ["effect@3.19.9", "http://localhost:4873/effect/-/effect-3.19.9.tgz", { "dependencies": { "@standard-schema/spec": "^1.0.0", "fast-check": "^3.23.1" } }, "sha512-taMXnfG/p+j7AmMOHHQaCHvjqwu9QBO3cxuZqL2dMG/yWcEMw0ZHruHe9B49OxtfKH/vKKDDKRhZ+1GJ2p5R5w=="], "electron-to-chromium": ["electron-to-chromium@1.5.263", "", {}, "sha512-DrqJ11Knd+lo+dv+lltvfMDLU27g14LMdH2b0O3Pio4uk0x+z7OR+JrmyacTPN2M8w3BrZ7/RTwG3R9B7irPlg=="], - "elliptic": ["elliptic@6.6.1", "", { "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", "hash.js": "^1.0.0", "hmac-drbg": "^1.0.1", "inherits": "^2.0.4", "minimalistic-assert": "^1.0.1", "minimalistic-crypto-utils": "^1.0.1" } }, "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g=="], - "emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], "env-paths": ["env-paths@2.2.1", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="], "error-ex": ["error-ex@1.3.4", "", { "dependencies": { "is-arrayish": "^0.2.1" } }, "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ=="], - "es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="], - - "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], - - "es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="], - "esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="], "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], @@ -949,16 +870,10 @@ "estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="], - "estree-walker": ["estree-walker@2.0.2", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="], - "esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], - "events": ["events@3.3.0", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="], - "events-universal": ["events-universal@1.0.1", "", { "dependencies": { "bare-events": "^2.7.0" } }, "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw=="], - "evp_bytestokey": ["evp_bytestokey@1.0.3", "", { "dependencies": { "md5.js": "^1.3.4", "safe-buffer": "^5.1.1" } }, "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA=="], - "execa": ["execa@5.1.1", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="], "ext-list": ["ext-list@2.2.2", "", { "dependencies": { "mime-db": "^1.28.0" } }, "sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA=="], @@ -1009,8 +924,6 @@ "focusable-selectors": ["focusable-selectors@0.8.4", "", {}, "sha512-0XxbkD0KhOnX10qmnfF9U8DkDD8N/e4M77wMYw2Itoi4vdcoRjSkqXLZFIzkrLIOxzmzCGy88fNG1EbeXMD/zw=="], - "for-each": ["for-each@0.3.5", "", { "dependencies": { "is-callable": "^1.2.7" } }, "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg=="], - "form-data-encoder": ["form-data-encoder@2.1.4", "", {}, "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw=="], "formatly": ["formatly@0.3.0", "", { "dependencies": { "fd-package-json": "^2.0.0" }, "bin": { "formatly": "bin/index.mjs" } }, "sha512-9XNj/o4wrRFyhSMJOvsuyMwy8aUfBaZ1VrqHVfohyXf0Sw0e+yfKG+xZaY3arGCOMdwFsqObtzVOc1gU9KiT9w=="], @@ -1019,14 +932,8 @@ "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="], - "generator-function": ["generator-function@2.0.1", "", {}, "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g=="], - "gensync": ["gensync@1.0.0-beta.2", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="], - "get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="], - - "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], - "get-stream": ["get-stream@6.0.1", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="], "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], @@ -1043,8 +950,6 @@ "globrex": ["globrex@0.1.2", "", {}, "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="], - "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="], - "got": ["got@13.0.0", "", { "dependencies": { "@sindresorhus/is": "^5.2.0", "@szmarczak/http-timer": "^5.0.1", "cacheable-lookup": "^7.0.0", "cacheable-request": "^10.2.8", "decompress-response": "^6.0.0", "form-data-encoder": "^2.1.2", "get-stream": "^6.0.1", "http2-wrapper": "^2.1.10", "lowercase-keys": "^3.0.0", "p-cancelable": "^3.0.0", "responselike": "^3.0.0" } }, "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA=="], "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], @@ -1053,22 +958,10 @@ "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], - "has-property-descriptors": ["has-property-descriptors@1.0.2", "", { "dependencies": { "es-define-property": "^1.0.0" } }, "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg=="], - - "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], - - "has-tostringtag": ["has-tostringtag@1.0.2", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="], - - "hash-base": ["hash-base@3.0.5", "", { "dependencies": { "inherits": "^2.0.4", "safe-buffer": "^5.2.1" } }, "sha512-vXm0l45VbcHEVlTCzs8M+s0VeYsB2lnlAaThoLKGXr3bE/VWDOelNUnycUPEhKEaXARL2TEFjBOyUiM6+55KBg=="], - - "hash.js": ["hash.js@1.1.7", "", { "dependencies": { "inherits": "^2.0.3", "minimalistic-assert": "^1.0.1" } }, "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA=="], - "hashery": ["hashery@1.3.0", "", { "dependencies": { "hookified": "^1.13.0" } }, "sha512-fWltioiy5zsSAs9ouEnvhsVJeAXRybGCNNv0lvzpzNOSDbULXRy7ivFWwCCv4I5Am6kSo75hmbsCduOoc2/K4w=="], "hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="], - "hmac-drbg": ["hmac-drbg@1.0.1", "", { "dependencies": { "hash.js": "^1.0.3", "minimalistic-assert": "^1.0.0", "minimalistic-crypto-utils": "^1.0.1" } }, "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg=="], - "hookified": ["hookified@1.13.0", "", {}, "sha512-6sPYUY8olshgM/1LDNW4QZQN0IqgKhtl/1C8koNZBJrKLBk3AZl6chQtNwpNztvfiApHMEwMHek5rv993PRbWw=="], "html-tags": ["html-tags@3.3.1", "", {}, "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ=="], @@ -1077,8 +970,6 @@ "http2-wrapper": ["http2-wrapper@2.2.1", "", { "dependencies": { "quick-lru": "^5.1.1", "resolve-alpn": "^1.2.0" } }, "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ=="], - "https-browserify": ["https-browserify@1.0.0", "", {}, "sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg=="], - "human-signals": ["human-signals@2.1.0", "", {}, "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="], "ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="], @@ -1091,50 +982,32 @@ "imurmurhash": ["imurmurhash@0.1.4", "", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="], - "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="], - "ini": ["ini@1.3.8", "", {}, "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="], "inspect-with-kind": ["inspect-with-kind@1.0.5", "", { "dependencies": { "kind-of": "^6.0.2" } }, "sha512-MAQUJuIo7Xqk8EVNP+6d3CKq9c80hi4tjIbIAT6lmGW9W6WzlHiu9PS8uSuUYU+Do+j1baiFp3H25XEVxDIG2g=="], - "is-arguments": ["is-arguments@1.2.0", "", { "dependencies": { "call-bound": "^1.0.2", "has-tostringtag": "^1.0.2" } }, "sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA=="], - "is-arrayish": ["is-arrayish@0.2.1", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="], - "is-callable": ["is-callable@1.2.7", "", {}, "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA=="], - "is-core-module": ["is-core-module@2.16.1", "", { "dependencies": { "hasown": "^2.0.2" } }, "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w=="], "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="], "is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="], - "is-generator-function": ["is-generator-function@1.1.2", "", { "dependencies": { "call-bound": "^1.0.4", "generator-function": "^2.0.0", "get-proto": "^1.0.1", "has-tostringtag": "^1.0.2", "safe-regex-test": "^1.1.0" } }, "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA=="], - "is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="], - "is-nan": ["is-nan@1.3.2", "", { "dependencies": { "call-bind": "^1.0.0", "define-properties": "^1.1.3" } }, "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w=="], - "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="], "is-plain-obj": ["is-plain-obj@1.1.0", "", {}, "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg=="], "is-plain-object": ["is-plain-object@5.0.0", "", {}, "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="], - "is-regex": ["is-regex@1.2.1", "", { "dependencies": { "call-bound": "^1.0.2", "gopd": "^1.2.0", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g=="], - "is-stream": ["is-stream@2.0.1", "", {}, "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="], - "is-typed-array": ["is-typed-array@1.1.15", "", { "dependencies": { "which-typed-array": "^1.1.16" } }, "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ=="], - "is-unicode-supported": ["is-unicode-supported@2.1.0", "", {}, "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ=="], - "isarray": ["isarray@1.0.0", "", {}, "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="], - "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], - "isomorphic-timers-promises": ["isomorphic-timers-promises@1.0.1", "", {}, "sha512-u4sej9B1LPSxTGKB/HiuzvEQnXH0ECYkSVQU39koSwmFAxhlEAFl9RdTvLv4TOTQUgBS5O3O5fwUxk6byBZ+IQ=="], - "jiti": ["jiti@2.6.1", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="], "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], @@ -1211,12 +1084,8 @@ "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], - "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], - "mathml-tag-names": ["mathml-tag-names@2.1.3", "", {}, "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg=="], - "md5.js": ["md5.js@1.3.5", "", { "dependencies": { "hash-base": "^3.0.0", "inherits": "^2.0.1", "safe-buffer": "^5.1.2" } }, "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg=="], - "mdn-data": ["mdn-data@2.12.2", "", {}, "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA=="], "meow": ["meow@13.2.0", "", {}, "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA=="], @@ -1227,18 +1096,12 @@ "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="], - "miller-rabin": ["miller-rabin@4.0.1", "", { "dependencies": { "bn.js": "^4.0.0", "brorand": "^1.0.1" }, "bin": { "miller-rabin": "bin/miller-rabin" } }, "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA=="], - "mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], "mimic-fn": ["mimic-fn@2.1.0", "", {}, "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="], "mimic-response": ["mimic-response@4.0.0", "", {}, "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg=="], - "minimalistic-assert": ["minimalistic-assert@1.0.1", "", {}, "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="], - - "minimalistic-crypto-utils": ["minimalistic-crypto-utils@1.0.1", "", {}, "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg=="], - "minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], "minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="], @@ -1255,30 +1118,18 @@ "node-releases": ["node-releases@2.0.27", "", {}, "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA=="], - "node-stdlib-browser": ["node-stdlib-browser@1.3.1", "", { "dependencies": { "assert": "^2.0.0", "browser-resolve": "^2.0.0", "browserify-zlib": "^0.2.0", "buffer": "^5.7.1", "console-browserify": "^1.1.0", "constants-browserify": "^1.0.0", "create-require": "^1.1.1", "crypto-browserify": "^3.12.1", "domain-browser": "4.22.0", "events": "^3.0.0", "https-browserify": "^1.0.0", "isomorphic-timers-promises": "^1.0.1", "os-browserify": "^0.3.0", "path-browserify": "^1.0.1", "pkg-dir": "^5.0.0", "process": "^0.11.10", "punycode": "^1.4.1", "querystring-es3": "^0.2.1", "readable-stream": "^3.6.0", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "string_decoder": "^1.0.0", "timers-browserify": "^2.0.4", "tty-browserify": "0.0.1", "url": "^0.11.4", "util": "^0.12.4", "vm-browserify": "^1.0.1" } }, "sha512-X75ZN8DCLftGM5iKwoYLA3rjnrAEs97MkzvSd4q2746Tgpg8b8XWiBGiBG4ZpgcAqBgtgPHTiAc8ZMCvZuikDw=="], - "normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="], "normalize-url": ["normalize-url@8.1.0", "", {}, "sha512-X06Mfd/5aKsRHc0O0J5CUedwnPmnDtLF2+nq+KN9KSDlJHkPuh0JUviWjEWMe0SW/9TDdSLVPuk7L5gGTIA1/w=="], "npm-run-path": ["npm-run-path@4.0.1", "", { "dependencies": { "path-key": "^3.0.0" } }, "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw=="], - "object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="], - - "object-is": ["object-is@1.1.6", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1" } }, "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q=="], - - "object-keys": ["object-keys@1.1.1", "", {}, "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="], - - "object.assign": ["object.assign@4.1.7", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0", "has-symbols": "^1.1.0", "object-keys": "^1.1.1" } }, "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw=="], - "onetime": ["onetime@5.1.2", "", { "dependencies": { "mimic-fn": "^2.1.0" } }, "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg=="], "optics-ts": ["optics-ts@2.4.1", "", {}, "sha512-HaYzMHvC80r7U/LqAd4hQyopDezC60PO2qF5GuIwALut2cl5rK1VWHsqTp0oqoJJWjiv6uXKqsO+Q2OO0C3MmQ=="], "optionator": ["optionator@0.9.4", "", { "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", "word-wrap": "^1.2.5" } }, "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g=="], - "os-browserify": ["os-browserify@0.3.0", "", {}, "sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A=="], - "oxc-resolver": ["oxc-resolver@11.14.2", "", { "optionalDependencies": { "@oxc-resolver/binding-android-arm-eabi": "11.14.2", "@oxc-resolver/binding-android-arm64": "11.14.2", "@oxc-resolver/binding-darwin-arm64": "11.14.2", "@oxc-resolver/binding-darwin-x64": "11.14.2", "@oxc-resolver/binding-freebsd-x64": "11.14.2", "@oxc-resolver/binding-linux-arm-gnueabihf": "11.14.2", "@oxc-resolver/binding-linux-arm-musleabihf": "11.14.2", "@oxc-resolver/binding-linux-arm64-gnu": "11.14.2", "@oxc-resolver/binding-linux-arm64-musl": "11.14.2", "@oxc-resolver/binding-linux-ppc64-gnu": "11.14.2", "@oxc-resolver/binding-linux-riscv64-gnu": "11.14.2", "@oxc-resolver/binding-linux-riscv64-musl": "11.14.2", "@oxc-resolver/binding-linux-s390x-gnu": "11.14.2", "@oxc-resolver/binding-linux-x64-gnu": "11.14.2", "@oxc-resolver/binding-linux-x64-musl": "11.14.2", "@oxc-resolver/binding-openharmony-arm64": "11.14.2", "@oxc-resolver/binding-wasm32-wasi": "11.14.2", "@oxc-resolver/binding-win32-arm64-msvc": "11.14.2", "@oxc-resolver/binding-win32-ia32-msvc": "11.14.2", "@oxc-resolver/binding-win32-x64-msvc": "11.14.2" } }, "sha512-M5fERQKcrCngMZNnk1gRaBbYcqpqXLgMcoqAo7Wpty+KH0I18i03oiy2peUsGJwFaKAEbmo+CtAyhXh08RZ1RA=="], "oxlint": ["oxlint@1.31.0", "", { "optionalDependencies": { "@oxlint/darwin-arm64": "1.31.0", "@oxlint/darwin-x64": "1.31.0", "@oxlint/linux-arm64-gnu": "1.31.0", "@oxlint/linux-arm64-musl": "1.31.0", "@oxlint/linux-x64-gnu": "1.31.0", "@oxlint/linux-x64-musl": "1.31.0", "@oxlint/win32-arm64": "1.31.0", "@oxlint/win32-x64": "1.31.0" }, "peerDependencies": { "oxlint-tsgolint": ">=0.8.1" }, "optionalPeers": ["oxlint-tsgolint"], "bin": { "oxlint": "bin/oxlint", "oxc_language_server": "bin/oxc_language_server" } }, "sha512-U+Z3VShi1zuLF2Hz/pm4vWJUBm5sDHjwSzj340tz4tS2yXg9H5PTipsZv+Yu/alg6Z7EM2cZPKGNBZAvmdfkQg=="], @@ -1289,16 +1140,10 @@ "p-locate": ["p-locate@5.0.0", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="], - "pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="], - "parent-module": ["parent-module@1.0.1", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="], - "parse-asn1": ["parse-asn1@5.1.9", "", { "dependencies": { "asn1.js": "^4.10.1", "browserify-aes": "^1.2.0", "evp_bytestokey": "^1.0.3", "pbkdf2": "^3.1.5", "safe-buffer": "^5.2.1" } }, "sha512-fIYNuZ/HastSb80baGOuPRo1O9cf4baWw5WsAp7dBuUzeTD/BoaG8sVTdlPFksBE2lF21dN+A1AnrpIjSWqHHg=="], - "parse-json": ["parse-json@5.2.0", "", { "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg=="], - "path-browserify": ["path-browserify@1.0.1", "", {}, "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g=="], - "path-exists": ["path-exists@4.0.0", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="], "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], @@ -1307,8 +1152,6 @@ "path-type": ["path-type@4.0.0", "", {}, "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="], - "pbkdf2": ["pbkdf2@3.1.5", "", { "dependencies": { "create-hash": "^1.2.0", "create-hmac": "^1.1.7", "ripemd160": "^2.0.3", "safe-buffer": "^5.2.1", "sha.js": "^2.4.12", "to-buffer": "^1.2.1" } }, "sha512-Q3CG/cYvCO1ye4QKkuH7EXxs3VC/rI1/trd+qX2+PolbaKG0H+bgcZzrTt96mMyRtejk+JMCiLUn3y29W8qmFQ=="], - "pend": ["pend@1.2.0", "", {}, "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg=="], "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], @@ -1317,14 +1160,10 @@ "piscina": ["piscina@4.9.2", "", { "optionalDependencies": { "@napi-rs/nice": "^1.0.1" } }, "sha512-Fq0FERJWFEUpB4eSY59wSNwXD4RYqR+nR/WiEVcZW8IWfVBxJJafcgTEZDQo8k3w0sUarJ8RyVbbUF4GQ2LGbQ=="], - "pkg-dir": ["pkg-dir@5.0.0", "", { "dependencies": { "find-up": "^5.0.0" } }, "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA=="], - "playwright": ["playwright@1.57.0", "", { "dependencies": { "playwright-core": "1.57.0" }, "optionalDependencies": { "fsevents": "2.3.2" }, "bin": { "playwright": "cli.js" } }, "sha512-ilYQj1s8sr2ppEJ2YVadYBN0Mb3mdo9J0wQ+UuDhzYqURwSoW4n1Xs5vs7ORwgDGmyEh33tRMeS8KhdkMoLXQw=="], "playwright-core": ["playwright-core@1.57.0", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-agTcKlMw/mjBWOnD6kFZttAAGHgi/Nw0CZ2o6JqWSbMlI219lAFLZZCyqByTsvVAJq5XA5H8cA6PrvBRpBWEuQ=="], - "possible-typed-array-names": ["possible-typed-array-names@1.1.0", "", {}, "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg=="], - "postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], "postcss-media-query-parser": ["postcss-media-query-parser@0.2.3", "", {}, "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig=="], @@ -1343,19 +1182,13 @@ "prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], - "prettier": ["prettier@3.7.4", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA=="], + "prettier": ["prettier@4.0.0-alpha.13", "http://localhost:4873/prettier/-/prettier-4.0.0-alpha.13.tgz", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-177K/2S5iYDKtvZkDC2ZMqpyXtoiiVQBVQZpcQsRs+ZIIUQxsXomWIjquAlwt2pXpio9riz5IgtaUEnoZH44tg=="], "prettier-plugin-pkg": ["prettier-plugin-pkg@0.21.2", "", { "peerDependencies": { "prettier": "^3.0.3" } }, "sha512-CSlM5+51B7yTKcoRWT4M3ImcdFHD5NUz0Xu2t8J03B761zu6J3BjSo/XleKp2kB0tH49K7oG5Uuqn6ldI5LRLg=="], "prettier-plugin-sh": ["prettier-plugin-sh@0.18.0", "", { "dependencies": { "@reteps/dockerfmt": "^0.3.6", "sh-syntax": "^0.5.8" }, "peerDependencies": { "prettier": "^3.6.0" } }, "sha512-cW1XL27FOJQ/qGHOW6IHwdCiNWQsAgK+feA8V6+xUTaH0cD3Mh+tFAtBvEEWvuY6hTDzRV943Fzeii+qMOh7nQ=="], - "process": ["process@0.11.10", "", {}, "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A=="], - - "process-nextick-args": ["process-nextick-args@2.0.1", "", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="], - - "public-encrypt": ["public-encrypt@4.0.3", "", { "dependencies": { "bn.js": "^4.1.0", "browserify-rsa": "^4.0.0", "create-hash": "^1.1.0", "parse-asn1": "^5.0.0", "randombytes": "^2.0.1", "safe-buffer": "^5.1.2" } }, "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q=="], - - "punycode": ["punycode@1.4.1", "", {}, "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ=="], + "punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], "pure-rand": ["pure-rand@6.1.0", "", {}, "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA=="], @@ -1363,20 +1196,10 @@ "qified": ["qified@0.5.2", "", { "dependencies": { "hookified": "^1.13.0" } }, "sha512-7gJ6mxcQb9vUBOtbKm5mDevbe2uRcOEVp1g4gb/Q+oLntB3HY8eBhOYRxFI2mlDFlY1e4DOSCptzxarXRvzxCA=="], - "qs": ["qs@6.14.0", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w=="], - - "querystring-es3": ["querystring-es3@0.2.1", "", {}, "sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA=="], - "queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="], "quick-lru": ["quick-lru@5.1.1", "", {}, "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA=="], - "randombytes": ["randombytes@2.1.0", "", { "dependencies": { "safe-buffer": "^5.1.0" } }, "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ=="], - - "randomfill": ["randomfill@1.0.4", "", { "dependencies": { "randombytes": "^2.0.5", "safe-buffer": "^5.1.0" } }, "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw=="], - - "readable-stream": ["readable-stream@3.6.2", "", { "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="], - "readdirp": ["readdirp@4.1.2", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="], "regenerate": ["regenerate@1.4.2", "", {}, "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A=="], @@ -1405,8 +1228,6 @@ "reusify": ["reusify@1.1.0", "", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="], - "ripemd160": ["ripemd160@2.0.3", "", { "dependencies": { "hash-base": "^3.1.2", "inherits": "^2.0.4" } }, "sha512-5Di9UC0+8h1L6ZD2d7awM7E/T4uA1fJRlx6zk/NvdCCVEoAnFqvHmCuNeIKoCeIixBX/q8uM+6ycDvF8woqosA=="], - "rollup": ["rollup@4.53.3", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.53.3", "@rollup/rollup-android-arm64": "4.53.3", "@rollup/rollup-darwin-arm64": "4.53.3", "@rollup/rollup-darwin-x64": "4.53.3", "@rollup/rollup-freebsd-arm64": "4.53.3", "@rollup/rollup-freebsd-x64": "4.53.3", "@rollup/rollup-linux-arm-gnueabihf": "4.53.3", "@rollup/rollup-linux-arm-musleabihf": "4.53.3", "@rollup/rollup-linux-arm64-gnu": "4.53.3", "@rollup/rollup-linux-arm64-musl": "4.53.3", "@rollup/rollup-linux-loong64-gnu": "4.53.3", "@rollup/rollup-linux-ppc64-gnu": "4.53.3", "@rollup/rollup-linux-riscv64-gnu": "4.53.3", "@rollup/rollup-linux-riscv64-musl": "4.53.3", "@rollup/rollup-linux-s390x-gnu": "4.53.3", "@rollup/rollup-linux-x64-gnu": "4.53.3", "@rollup/rollup-linux-x64-musl": "4.53.3", "@rollup/rollup-openharmony-arm64": "4.53.3", "@rollup/rollup-win32-arm64-msvc": "4.53.3", "@rollup/rollup-win32-ia32-msvc": "4.53.3", "@rollup/rollup-win32-x64-gnu": "4.53.3", "@rollup/rollup-win32-x64-msvc": "4.53.3", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-w8GmOxZfBmKknvdXU1sdM9NHcoQejwF/4mNgj2JuEEdRaHwwF12K7e9eXn1nLZ07ad+du76mkVsyeb2rKGllsA=="], "run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], @@ -1415,8 +1236,6 @@ "safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="], - "safe-regex-test": ["safe-regex-test@1.1.0", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "is-regex": "^1.2.1" } }, "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw=="], - "sass": ["sass@1.93.3", "", { "dependencies": { "chokidar": "^4.0.0", "immutable": "^5.0.2", "source-map-js": ">=0.6.2 <2.0.0" }, "optionalDependencies": { "@parcel/watcher": "^2.4.1" }, "bin": { "sass": "sass.js" } }, "sha512-elOcIZRTM76dvxNAjqYrucTSI0teAF/L2Lv0s6f6b7FOwcwIuA357bIE871580AjHJuSvLIRUosgV+lIWx6Rgg=="], "sass-embedded": ["sass-embedded@1.93.3", "", { "dependencies": { "@bufbuild/protobuf": "^2.5.0", "buffer-builder": "^0.2.0", "colorjs.io": "^0.5.0", "immutable": "^5.0.2", "rxjs": "^7.4.0", "supports-color": "^8.1.1", "sync-child-process": "^1.0.2", "varint": "^6.0.0" }, "optionalDependencies": { "sass-embedded-all-unknown": "1.93.3", "sass-embedded-android-arm": "1.93.3", "sass-embedded-android-arm64": "1.93.3", "sass-embedded-android-riscv64": "1.93.3", "sass-embedded-android-x64": "1.93.3", "sass-embedded-darwin-arm64": "1.93.3", "sass-embedded-darwin-x64": "1.93.3", "sass-embedded-linux-arm": "1.93.3", "sass-embedded-linux-arm64": "1.93.3", "sass-embedded-linux-musl-arm": "1.93.3", "sass-embedded-linux-musl-arm64": "1.93.3", "sass-embedded-linux-musl-riscv64": "1.93.3", "sass-embedded-linux-musl-x64": "1.93.3", "sass-embedded-linux-riscv64": "1.93.3", "sass-embedded-linux-x64": "1.93.3", "sass-embedded-unknown-all": "1.93.3", "sass-embedded-win32-arm64": "1.93.3", "sass-embedded-win32-x64": "1.93.3" }, "bin": { "sass": "dist/bin/sass.js" } }, "sha512-+VUy01yfDqNmIVMd/LLKl2TTtY0ovZN0rTonh+FhKr65mFwIYgU9WzgIZKS7U9/SPCQvWTsTGx9jyt+qRm/XFw=="], @@ -1465,26 +1284,12 @@ "semver-truncate": ["semver-truncate@3.0.0", "", { "dependencies": { "semver": "^7.3.5" } }, "sha512-LJWA9kSvMolR51oDE6PN3kALBNaUdkxzAGcexw8gjMA8xr5zUqK0JiR3CgARSqanYF3Z1YHvsErb1KDgh+v7Rg=="], - "set-function-length": ["set-function-length@1.2.2", "", { "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2" } }, "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg=="], - - "setimmediate": ["setimmediate@1.0.5", "", {}, "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA=="], - "sh-syntax": ["sh-syntax@0.5.8", "", { "dependencies": { "tslib": "^2.8.1" } }, "sha512-JfVoxf4FxQI5qpsPbkHhZo+n6N9YMJobyl4oGEUBb/31oQYlgTjkXQD8PBiafS2UbWoxrTO0Z5PJUBXEPAG1Zw=="], - "sha.js": ["sha.js@2.4.12", "", { "dependencies": { "inherits": "^2.0.4", "safe-buffer": "^5.2.1", "to-buffer": "^1.2.0" }, "bin": { "sha.js": "bin.js" } }, "sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w=="], - "shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="], "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], - "side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="], - - "side-channel-list": ["side-channel-list@1.0.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3" } }, "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA=="], - - "side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="], - - "side-channel-weakmap": ["side-channel-weakmap@1.0.2", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3", "side-channel-map": "^1.0.1" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="], - "signal-exit": ["signal-exit@4.1.0", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="], "slash": ["slash@3.0.0", "", {}, "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="], @@ -1503,16 +1308,10 @@ "source-map-support": ["source-map-support@0.5.21", "", { "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w=="], - "stream-browserify": ["stream-browserify@3.0.0", "", { "dependencies": { "inherits": "~2.0.4", "readable-stream": "^3.5.0" } }, "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA=="], - - "stream-http": ["stream-http@3.2.0", "", { "dependencies": { "builtin-status-codes": "^3.0.0", "inherits": "^2.0.4", "readable-stream": "^3.6.0", "xtend": "^4.0.2" } }, "sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A=="], - "streamx": ["streamx@2.23.0", "", { "dependencies": { "events-universal": "^1.0.0", "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" } }, "sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg=="], "string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], - "string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="], - "strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], "strip-dirs": ["strip-dirs@3.0.0", "", { "dependencies": { "inspect-with-kind": "^1.0.5", "is-plain-obj": "^1.1.0" } }, "sha512-I0sdgcFTfKQlUPZyAqPJmSG3HLO9rWDFnxonnIbskYNM3DwFOeTNB5KzVq3dA1GdRAc/25b5Y7UO2TQfKWw4aQ=="], @@ -1563,8 +1362,6 @@ "table": ["table@6.9.0", "", { "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", "slice-ansi": "^4.0.0", "string-width": "^4.2.3", "strip-ansi": "^6.0.1" } }, "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A=="], - "tar-mini": ["tar-mini@0.2.0", "", {}, "sha512-+qfUHz700DWnRutdUsxRRVZ38G1Qr27OetwaMYTdg8hcPxf46U0S1Zf76dQMWRBmusOt2ZCK5kbIaiLkoGO7WQ=="], - "tar-stream": ["tar-stream@3.1.7", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="], "terser": ["terser@5.44.1", "", { "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw=="], @@ -1573,12 +1370,8 @@ "through": ["through@2.3.8", "", {}, "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg=="], - "timers-browserify": ["timers-browserify@2.0.12", "", { "dependencies": { "setimmediate": "^1.0.4" } }, "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ=="], - "tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], - "to-buffer": ["to-buffer@1.2.2", "", { "dependencies": { "isarray": "^2.0.5", "safe-buffer": "^5.2.1", "typed-array-buffer": "^1.0.3" } }, "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw=="], - "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="], "token-types": ["token-types@6.1.1", "", { "dependencies": { "@borewit/text-codec": "^0.1.0", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" } }, "sha512-kh9LVIWH5CnL63Ipf0jhlBIy0UsrMj/NJDfpsy1SqOXlLKEVyXXYrnFxFT1yOOYVGBSApeVnjPw/sBz5BfEjAQ=="], @@ -1591,12 +1384,8 @@ "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - "tty-browserify": ["tty-browserify@0.0.1", "", {}, "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw=="], - "type-check": ["type-check@0.4.0", "", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="], - "typed-array-buffer": ["typed-array-buffer@1.0.3", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-typed-array": "^1.1.14" } }, "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw=="], - "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], "typescript-eslint": ["typescript-eslint@8.48.1", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.48.1", "@typescript-eslint/parser": "8.48.1", "@typescript-eslint/typescript-estree": "8.48.1", "@typescript-eslint/utils": "8.48.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-FbOKN1fqNoXp1hIl5KYpObVrp0mCn+CLgn479nmu2IsRMrx2vyv74MmsBLVlhg8qVwNFGbXSp8fh1zp8pEoC2A=="], @@ -1619,10 +1408,6 @@ "uri-js": ["uri-js@4.4.1", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], - "url": ["url@0.11.4", "", { "dependencies": { "punycode": "^1.4.1", "qs": "^6.12.3" } }, "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg=="], - - "util": ["util@0.12.5", "", { "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", "is-generator-function": "^1.0.7", "is-typed-array": "^1.1.3", "which-typed-array": "^1.1.2" } }, "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA=="], - "util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="], "valibot": ["valibot@1.1.0", "", { "peerDependencies": { "typescript": ">=5" }, "optionalPeers": ["typescript"] }, "sha512-Nk8lX30Qhu+9txPYTwM0cFlWLdPFsFr6LblzqIySfbZph9+BFsAHsNvHOymEviUepeIW6KFHzpX8TKhbptBXXw=="], @@ -1631,32 +1416,20 @@ "vite": ["vite@7.2.6", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.15" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-tI2l/nFHC5rLh7+5+o7QjKjSR04ivXDF4jcgV0f/bTQ+OJiITy5S6gaynVsEM+7RqzufMnVbIon6Sr5x1SDYaQ=="], - "vite-plugin-compression2": ["vite-plugin-compression2@2.3.1", "", { "dependencies": { "@rollup/pluginutils": "^5.1.0", "tar-mini": "^0.2.0" } }, "sha512-bnhLTsurtvOiiP6EMISIKVsOMCeTAjE6FJbyqQus3W4mtAxF7pCuC4puUIAiCgNs98tOCpqo6GIXJXTLufzIaw=="], - - "vite-plugin-manifest-sri": ["vite-plugin-manifest-sri@0.2.0", "", {}, "sha512-Zt5jt19xTIJ91LOuQTCtNG7rTFc5OziAjBz2H5NdCGqaOD1nxrWExLhcKW+W4/q8/jOPCg/n5ncYEQmqCxiGQQ=="], - - "vite-plugin-node-polyfills": ["vite-plugin-node-polyfills@0.24.0", "", { "dependencies": { "@rollup/plugin-inject": "^5.0.5", "node-stdlib-browser": "^1.2.0" }, "peerDependencies": { "vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" } }, "sha512-GA9QKLH+vIM8NPaGA+o2t8PDfFUl32J8rUp1zQfMKVJQiNkOX4unE51tR6ppl6iKw5yOrDAdSH7r/UIFLCVhLw=="], - "vite-plugin-valibot-env": ["vite-plugin-valibot-env@1.0.1", "", { "dependencies": { "is-unicode-supported": "^2.1.0" }, "peerDependencies": { "valibot": ">=1.0.0", "vite": "^5.0.0 || ^6.0.0 || >=7.0.0" } }, "sha512-u/X+iHKrvilvJrP1UiQHzaeLYDuDa3pu6i3rJxW22Tj0+LvQMENK4piLfBO6NmcopnVmD4K36Ngk08NNrmIjVw=="], "vite-tsconfig-paths": ["vite-tsconfig-paths@5.1.4", "", { "dependencies": { "debug": "^4.1.1", "globrex": "^0.1.2", "tsconfck": "^3.0.3" }, "peerDependencies": { "vite": "*" }, "optionalPeers": ["vite"] }, "sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w=="], - "vm-browserify": ["vm-browserify@1.1.2", "", {}, "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="], - "walk-up-path": ["walk-up-path@4.0.0", "", {}, "sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A=="], "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], - "which-typed-array": ["which-typed-array@1.1.19", "", { "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.8", "call-bound": "^1.0.4", "for-each": "^0.3.5", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-tostringtag": "^1.0.2" } }, "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw=="], - "word-wrap": ["word-wrap@1.2.5", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="], "wp-types": ["wp-types@4.69.0", "http://localhost:4873/wp-types/-/wp-types-4.69.0.tgz", { "dependencies": { "typescript": ">=4" } }, "sha512-2w0i2ygylpbYpqFskg1NlvH/1DM8thZuhxjihFRHdvjgFkmzJ2cHl2kq9cBnxYWHyLHzRiLI2TupKbq3yl2STQ=="], "write-file-atomic": ["write-file-atomic@5.0.1", "", { "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^4.0.1" } }, "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw=="], - "xtend": ["xtend@4.0.2", "", {}, "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="], - "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="], "yauzl": ["yauzl@3.2.0", "", { "dependencies": { "buffer-crc32": "~0.2.3", "pend": "~1.2.0" } }, "sha512-Ow9nuGZE+qp1u4JIPvg+uCiUr7xGQWdff7JQSk5VGYTAZMDe2q8lxJ10ygv10qmSj031Ty/6FNJpLO4o1Sgc+w=="], @@ -1703,26 +1476,16 @@ "@vitejs/plugin-legacy/browserslist": ["browserslist@4.28.0", "", { "dependencies": { "baseline-browser-mapping": "^2.8.25", "caniuse-lite": "^1.0.30001754", "electron-to-chromium": "^1.5.249", "node-releases": "^2.0.27", "update-browserslist-db": "^1.1.4" }, "bin": { "browserslist": "cli.js" } }, "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ=="], - "asn1.js/bn.js": ["bn.js@4.12.2", "", {}, "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw=="], - "babel-plugin-polyfill-corejs2/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], "brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], - "browserify-sign/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="], - "cacheable/keyv": ["keyv@5.5.4", "", { "dependencies": { "@keyv/serialize": "^1.1.1" } }, "sha512-eohl3hKTiVyD1ilYdw9T0OiB4hnjef89e3dMYKz+mVKDzj+5IteTseASUsOB+EU9Tf6VNTCjDePcP6wkDGmLKQ=="], "core-js-compat/browserslist": ["browserslist@4.28.0", "", { "dependencies": { "baseline-browser-mapping": "^2.8.25", "caniuse-lite": "^1.0.30001754", "electron-to-chromium": "^1.5.249", "node-releases": "^2.0.27", "update-browserslist-db": "^1.1.4" }, "bin": { "browserslist": "cli.js" } }, "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ=="], - "create-ecdh/bn.js": ["bn.js@4.12.2", "", {}, "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw=="], - "decompress-response/mimic-response": ["mimic-response@3.1.0", "", {}, "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="], - "diffie-hellman/bn.js": ["bn.js@4.12.2", "", {}, "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw=="], - - "elliptic/bn.js": ["bn.js@4.12.2", "", {}, "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw=="], - "eslint/chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], "eslint/minimatch": ["minimatch@3.1.2", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="], @@ -1737,12 +1500,6 @@ "micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], - "miller-rabin/bn.js": ["bn.js@4.12.2", "", {}, "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw=="], - - "public-encrypt/bn.js": ["bn.js@4.12.2", "", {}, "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw=="], - - "ripemd160/hash-base": ["hash-base@3.1.2", "", { "dependencies": { "inherits": "^2.0.4", "readable-stream": "^2.3.8", "safe-buffer": "^5.2.1", "to-buffer": "^1.2.1" } }, "sha512-Bb33KbowVTIj5s7Ked1OsqHUeCpz//tPwR+E2zJgJKo9Z5XolZ9b6bdUgjmYlwnWhoOQKoTd1TYToZGn5mAYOg=="], - "rollup/fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], "seek-bzip/commander": ["commander@6.2.1", "", {}, "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA=="], @@ -1763,10 +1520,6 @@ "terser/commander": ["commander@2.20.3", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="], - "to-buffer/isarray": ["isarray@2.0.5", "", {}, "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="], - - "uri-js/punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], - "vite/fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], "@babel/helper-compilation-targets/browserslist/baseline-browser-mapping": ["baseline-browser-mapping@2.8.32", "", { "bin": { "baseline-browser-mapping": "dist/cli.js" } }, "sha512-OPz5aBThlyLFgxyhdwf/s2+8ab3OvT7AdTNvKHBwpXomIYeXqpUUuT8LrdtxZSsWJ4R4CU1un4XGh5Ez3nlTpw=="], @@ -1781,10 +1534,6 @@ "@vitejs/plugin-legacy/browserslist/update-browserslist-db": ["update-browserslist-db@1.1.4", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A=="], - "browserify-sign/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="], - - "browserify-sign/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="], - "core-js-compat/browserslist/baseline-browser-mapping": ["baseline-browser-mapping@2.8.32", "", { "bin": { "baseline-browser-mapping": "dist/cli.js" } }, "sha512-OPz5aBThlyLFgxyhdwf/s2+8ab3OvT7AdTNvKHBwpXomIYeXqpUUuT8LrdtxZSsWJ4R4CU1un4XGh5Ez3nlTpw=="], "core-js-compat/browserslist/update-browserslist-db": ["update-browserslist-db@1.1.4", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A=="], @@ -1793,8 +1542,6 @@ "eslint/minimatch/brace-expansion": ["brace-expansion@1.1.12", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg=="], - "ripemd160/hash-base/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="], - "stylelint/file-entry-cache/flat-cache": ["flat-cache@6.1.19", "", { "dependencies": { "cacheable": "^2.2.0", "flatted": "^3.3.3", "hookified": "^1.13.0" } }, "sha512-l/K33newPTZMTGAnnzaiqSl6NnH7Namh8jBNjrgjprWxGmZUuxx/sJNIRaijOh3n7q7ESbhNZC+pvVZMFdeU4A=="], "table/ajv/json-schema-traverse": ["json-schema-traverse@1.0.0", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="], @@ -1804,9 +1551,5 @@ "@eslint/eslintrc/minimatch/brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], "eslint/minimatch/brace-expansion/balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], - - "ripemd160/hash-base/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="], - - "ripemd160/hash-base/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="], } } diff --git a/compose.yaml b/compose.yaml index 2e19d78b..384bad4c 100755 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,6 @@ name: "haikuatelier.fr" networks: - haiku-network: + haiku-network: null services: db: container_name: "haikuatelier.fr-db" @@ -74,7 +74,7 @@ services: - "./containers/conf/angie:/etc/angie:rw" - "./containers/data/certs:/etc/angie/ssl:ro" - "./containers/data/angie/logs:/var/log/angie:rw" - - "./:/var/www/wordpress:ro" + - "./:/var/www/wordpress:rw" traefik: container_name: "haikuatelier.fr-traefik" env_file: @@ -118,7 +118,7 @@ services: - "CMD-SHELL" - "valkey-cli ping | grep PONG" timeout: "5s" - image: "docker.io/valkey/valkey:8-alpine" + image: "docker.io/valkey/valkey:9-alpine" restart: "unless-stopped" sysctls: - "net.core.somaxconn=512" diff --git a/composer.json b/composer.json index 429b3d7d..8ff1ce4f 100755 --- a/composer.json +++ b/composer.json @@ -1,40 +1,59 @@ { - "name": "roots/bedrock", - "type": "project", - "license": "MIT", - "description": "WordPress boilerplate with Composer, easier configuration, and an improved folder structure", - "homepage": "https://roots.io/bedrock/", + "autoload": { "psr-4": { "HaikuAtelier\\": "web/app/themes/haiku-atelier-2024/src/inc/" } }, "authors": [ - { "name": "Scott Walkinshaw", "email": "scott.walkinshaw@gmail.com", "homepage": "https://github.com/swalkinshaw" }, - { "name": "Ben Word", "email": "ben@benword.com", "homepage": "https://github.com/retlehs" } + { "email": "scott.walkinshaw@gmail.com", "homepage": "https://github.com/swalkinshaw", "name": "Scott Walkinshaw" }, + { "email": "ben@benword.com", "homepage": "https://github.com/retlehs", "name": "Ben Word" } ], - "keywords": ["bedrock", "composer", "roots", "wordpress", "wp", "wp-config"], - "support": { - "issues": "https://github.com/roots/bedrock/issues", - "forum": "https://discourse.roots.io/category/bedrock" + "config": { + "allow-plugins": { + "carthage-software/mago": true, + "composer/installers": true, + "mnsami/composer-custom-directory-installer": true, + "phpstan/extension-installer": true, + "roots/wordpress-core-installer": true + }, + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true }, + "description": "WordPress boilerplate with Composer, easier configuration, and an improved folder structure", + "extra": { + "installer-paths": { + "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"], + "web/app/plugins/{$name}/": ["type:wordpress-plugin"], + "web/app/themes/{$name}/": ["type:wordpress-theme"], + "web/vendor/{$vendor}/{$name}": ["htmlburger/carbon-fields"] + }, + "wordpress-install-dir": "web/wp" + }, + "homepage": "https://roots.io/bedrock/", + "keywords": ["bedrock", "composer", "roots", "wordpress", "wp", "wp-config"], + "license": "MIT", + "minimum-stability": "dev", + "name": "roots/bedrock", + "prefer-stable": true, "repositories": [ - { "type": "composer", "url": "https://wpackagist.org", "only": ["wpackagist-plugin/*", "wpackagist-theme/*"] } + { "only": ["wpackagist-plugin/*", "wpackagist-theme/*"], "type": "composer", "url": "https://wpackagist.org" } ], "require": { - "php": ">=8.4", + "php": ">=8.5", + "azjezz/psl": "^4.2", "composer/installers": "^2.3", "crell/fp": "^1.0", "htmlburger/carbon-fields": "^3.6", - "illuminate/support": "^12.18", + "illuminate/support": "^12.43", "laravel/helpers": "^1.7.1", "log1x/wp-smtp": "^1.0.2", "lstrojny/functional-php": "^1.17", "mnsami/composer-custom-directory-installer": "^2.0", "nesbot/carbon": "^3.8.2", "oscarotero/env": "^2.1.1", - "ramsey/uuid": "^4.7.6", "roots/bedrock-autoloader": "^1.0.4", "roots/bedrock-disallow-indexing": "^2.0", "roots/wordpress": "^6.8.1", "roots/wp-config": "^1.0", "stripe/stripe-php": "^16.3", - "symfony/uid": "^7.2.0", + "symfony/uid": "^8", "timber/timber": "^2.3", "vlucas/phpdotenv": "^5.6.1", "wpackagist-plugin/falcon": "^2.8.4", @@ -51,34 +70,17 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.89", + "php-standard-library/phpstan-extension": "^2.0", "phpstan/extension-installer": "^1.4.3", "phpstan/phpstan": "^2.0.3", + "rector/rector": "^2.2", "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^4.0", "szepeviktor/phpstan-wordpress": "2.x-dev", "vincentlanglet/twig-cs-fixer": "^3.10" }, - "config": { - "optimize-autoloader": true, - "preferred-install": "dist", - "allow-plugins": { - "carthage-software/mago": true, - "composer/installers": true, - "mnsami/composer-custom-directory-installer": true, - "phpstan/extension-installer": true, - "roots/wordpress-core-installer": true - }, - "sort-packages": true + "support": { + "forum": "https://discourse.roots.io/category/bedrock", + "issues": "https://github.com/roots/bedrock/issues" }, - "minimum-stability": "dev", - "prefer-stable": true, - "extra": { - "installer-paths": { - "web/vendor/{$vendor}/{$name}": ["htmlburger/carbon-fields"], - "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"], - "web/app/plugins/{$name}/": ["type:wordpress-plugin"], - "web/app/themes/{$name}/": ["type:wordpress-theme"] - }, - "wordpress-install-dir": "web/wp" - } + "type": "project" } diff --git a/composer.lock b/composer.lock index 4098c903..8fe5604c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,67 +4,83 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "057633bed4b4268abf63c2c0c77d2c40", + "content-hash": "656fefb6a4e896ee0c5f5d87f36db997", "packages": [ { - "name": "brick/math", - "version": "0.14.1", + "name": "azjezz/psl", + "version": "4.2.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "f05858549e5f9d7bb45875a75583240a38a281d0" + "url": "https://github.com/azjezz/psl.git", + "reference": "15153a64c9824335ce11654522e7d88de762d39e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f05858549e5f9d7bb45875a75583240a38a281d0", - "reference": "f05858549e5f9d7bb45875a75583240a38a281d0", + "url": "https://api.github.com/repos/azjezz/psl/zipball/15153a64c9824335ce11654522e7d88de762d39e", + "reference": "15153a64c9824335ce11654522e7d88de762d39e", "shasum": "" }, "require": { - "php": "^8.2" + "ext-bcmath": "*", + "ext-intl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "ext-sodium": "*", + "php": "~8.3.0 || ~8.4.0 || ~8.5.0", + "revolt/event-loop": "^1.0.7" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpstan/phpstan": "2.1.22", - "phpunit/phpunit": "^11.5" + "carthage-software/mago": "^1.0.0-beta.32", + "infection/infection": "^0.31.2", + "php-coveralls/php-coveralls": "^2.7.0", + "phpbench/phpbench": "^1.4.0", + "phpunit/phpunit": "^9.6.22" + }, + "suggest": { + "php-standard-library/phpstan-extension": "PHPStan integration", + "php-standard-library/psalm-plugin": "Psalm integration" }, "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/hhvm/hsl", + "name": "hhvm/hsl" + } + }, "autoload": { + "files": [ + "src/bootstrap.php" + ], "psr-4": { - "Brick\\Math\\": "src/" + "Psl\\": "src/Psl" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "bignumber", - "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" + "authors": [ + { + "name": "azjezz", + "email": "azjezz@protonmail.com" + } ], + "description": "PHP Standard Library", "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.1" + "issues": "https://github.com/azjezz/psl/issues", + "source": "https://github.com/azjezz/psl/tree/4.2.0" }, "funding": [ { - "url": "https://github.com/BenMorel", + "url": "https://github.com/azjezz", + "type": "github" + }, + { + "url": "https://github.com/veewee", "type": "github" } ], - "time": "2025-11-24T14:40:29+00:00" + "time": "2025-10-25T08:31:40+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -645,7 +661,7 @@ }, { "name": "illuminate/collections", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", @@ -704,7 +720,7 @@ }, { "name": "illuminate/conditionable", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", @@ -750,7 +766,7 @@ }, { "name": "illuminate/contracts", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", @@ -798,7 +814,7 @@ }, { "name": "illuminate/macroable", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", @@ -844,7 +860,7 @@ }, { "name": "illuminate/reflection", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/illuminate/reflection.git", @@ -895,16 +911,16 @@ }, { "name": "illuminate/support", - "version": "v12.42.0", + "version": "v12.43.1", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "d35411be5657e0b5560a5885f3c9140e4cbe0be5" + "reference": "20014564c32e2e8c6a57e03d065bcf8706a458e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/d35411be5657e0b5560a5885f3c9140e4cbe0be5", - "reference": "d35411be5657e0b5560a5885f3c9140e4cbe0be5", + "url": "https://api.github.com/repos/illuminate/support/zipball/20014564c32e2e8c6a57e03d065bcf8706a458e7", + "reference": "20014564c32e2e8c6a57e03d065bcf8706a458e7", "shasum": "" }, "require": { @@ -971,7 +987,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-12-09T15:26:52+00:00" + "time": "2025-12-14T15:58:12+00:00" }, { "name": "laravel/helpers", @@ -1665,53 +1681,37 @@ "time": "2021-10-29T13:26:27+00:00" }, { - "name": "ramsey/collection", - "version": "2.1.1", + "name": "revolt/event-loop", + "version": "v1.0.8", "source": { "type": "git", - "url": "https://github.com/ramsey/collection.git", - "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2" + "url": "https://github.com/revoltphp/event-loop.git", + "reference": "b6fc06dce8e9b523c9946138fa5e62181934f91c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/344572933ad0181accbf4ba763e85a0306a8c5e2", - "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2", + "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/b6fc06dce8e9b523c9946138fa5e62181934f91c", + "reference": "b6fc06dce8e9b523c9946138fa5e62181934f91c", "shasum": "" }, "require": { - "php": "^8.1" + "php": ">=8.1" }, "require-dev": { - "captainhook/plugin-composer": "^5.3", - "ergebnis/composer-normalize": "^2.45", - "fakerphp/faker": "^1.24", - "hamcrest/hamcrest-php": "^2.0", - "jangregor/phpstan-prophecy": "^2.1", - "mockery/mockery": "^1.6", - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.4", - "phpspec/prophecy-phpunit": "^2.3", - "phpstan/extension-installer": "^1.4", - "phpstan/phpstan": "^2.1", - "phpstan/phpstan-mockery": "^2.0", - "phpstan/phpstan-phpunit": "^2.0", - "phpunit/phpunit": "^10.5", - "ramsey/coding-standard": "^2.3", - "ramsey/conventional-commits": "^1.6", - "roave/security-advisories": "dev-latest" + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.15" }, "type": "library", "extra": { - "captainhook": { - "force-install": true - }, - "ramsey/conventional-commits": { - "configFile": "conventional-commits.json" + "branch-alias": { + "dev-main": "1.x-dev" } }, "autoload": { "psr-4": { - "Ramsey\\Collection\\": "src/" + "Revolt\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1720,103 +1720,37 @@ ], "authors": [ { - "name": "Ben Ramsey", - "email": "ben@benramsey.com", - "homepage": "https://benramsey.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "ceesjank@gmail.com" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "A PHP library for representing and manipulating collections.", + "description": "Rock-solid event loop for concurrent PHP applications.", "keywords": [ - "array", - "collection", - "hash", - "map", - "queue", - "set" + "async", + "asynchronous", + "concurrency", + "event", + "event-loop", + "non-blocking", + "scheduler" ], "support": { - "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/2.1.1" + "issues": "https://github.com/revoltphp/event-loop/issues", + "source": "https://github.com/revoltphp/event-loop/tree/v1.0.8" }, - "time": "2025-03-22T05:38:12+00:00" - }, - { - "name": "ramsey/uuid", - "version": "4.9.1", - "source": { - "type": "git", - "url": "https://github.com/ramsey/uuid.git", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", - "shasum": "" - }, - "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", - "php": "^8.0", - "ramsey/collection": "^1.2 || ^2.0" - }, - "replace": { - "rhumsaa/uuid": "self.version" - }, - "require-dev": { - "captainhook/captainhook": "^5.25", - "captainhook/plugin-composer": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^1.0", - "ergebnis/composer-normalize": "^2.47", - "mockery/mockery": "^1.6", - "paragonie/random-lib": "^2", - "php-mock/php-mock": "^2.6", - "php-mock/php-mock-mockery": "^1.5", - "php-parallel-lint/php-parallel-lint": "^1.4.0", - "phpbench/phpbench": "^1.2.14", - "phpstan/extension-installer": "^1.4", - "phpstan/phpstan": "^2.1", - "phpstan/phpstan-mockery": "^2.0", - "phpstan/phpstan-phpunit": "^2.0", - "phpunit/phpunit": "^9.6", - "slevomat/coding-standard": "^8.18", - "squizlabs/php_codesniffer": "^3.13" - }, - "suggest": { - "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", - "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", - "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." - }, - "type": "library", - "extra": { - "captainhook": { - "force-install": true - } - }, - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "Ramsey\\Uuid\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", - "keywords": [ - "guid", - "identifier", - "uuid" - ], - "support": { - "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.1" - }, - "time": "2025-09-04T20:59:21+00:00" + "time": "2025-08-27T21:33:23+00:00" }, { "name": "roots/bedrock-autoloader", @@ -3134,24 +3068,24 @@ }, { "name": "symfony/uid", - "version": "v7.4.0", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c" + "reference": "8395a2cc2ed49aa68f602c5c489f60ab853893df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2498e9f81b7baa206f44de583f2f48350b90142c", - "reference": "2498e9f81b7baa206f44de583f2f48350b90142c", + "url": "https://api.github.com/repos/symfony/uid/zipball/8395a2cc2ed49aa68f602c5c489f60ab853893df", + "reference": "8395a2cc2ed49aa68f602c5c489f60ab853893df", "shasum": "" }, "require": { - "php": ">=8.2", + "php": ">=8.4", "symfony/polyfill-uuid": "^1.15" }, "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0" + "symfony/console": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -3188,7 +3122,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v7.4.0" + "source": "https://github.com/symfony/uid/tree/v8.0.0" }, "funding": [ { @@ -3208,7 +3142,7 @@ "type": "tidelift" } ], - "time": "2025-09-25T11:02:55+00:00" + "time": "2025-09-26T07:52:19+00:00" }, { "name": "timber/timber", @@ -3313,16 +3247,16 @@ }, { "name": "twig/twig", - "version": "v3.22.1", + "version": "v3.22.2", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "1de2ec1fc43ab58a4b7e80b214b96bfc895750f3" + "reference": "946ddeafa3c9f4ce279d1f34051af041db0e16f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/1de2ec1fc43ab58a4b7e80b214b96bfc895750f3", - "reference": "1de2ec1fc43ab58a4b7e80b214b96bfc895750f3", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/946ddeafa3c9f4ce279d1f34051af041db0e16f2", + "reference": "946ddeafa3c9f4ce279d1f34051af041db0e16f2", "shasum": "" }, "require": { @@ -3376,7 +3310,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.22.1" + "source": "https://github.com/twigphp/Twig/tree/v3.22.2" }, "funding": [ { @@ -3388,7 +3322,7 @@ "type": "tidelift" } ], - "time": "2025-11-16T16:01:12+00:00" + "time": "2025-12-14T11:28:47+00:00" }, { "name": "vlucas/phpdotenv", @@ -4144,16 +4078,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.92.0", + "version": "v3.92.2", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "5646c2cd99b7cb4b658ff681fe27069ba86c7280" + "reference": "64fab3553dce507ce247f7d1a7d65f74ef658c3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/5646c2cd99b7cb4b658ff681fe27069ba86c7280", - "reference": "5646c2cd99b7cb4b658ff681fe27069ba86c7280", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/64fab3553dce507ce247f7d1a7d65f74ef658c3f", + "reference": "64fab3553dce507ce247f7d1a7d65f74ef658c3f", "shasum": "" }, "require": { @@ -4193,6 +4127,7 @@ "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.6", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.6", "phpunit/phpunit": "^9.6.25 || ^10.5.53 || ^11.5.34", + "symfony/polyfill-php85": "^1.33", "symfony/var-dumper": "^5.4.48 || ^6.4.24 || ^7.3.2 || ^8.0", "symfony/yaml": "^5.4.45 || ^6.4.24 || ^7.3.2 || ^8.0" }, @@ -4235,7 +4170,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.92.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.92.2" }, "funding": [ { @@ -4243,7 +4178,61 @@ "type": "github" } ], - "time": "2025-12-12T10:29:19+00:00" + "time": "2025-12-17T00:04:16+00:00" + }, + { + "name": "php-standard-library/phpstan-extension", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-standard-library/phpstan-extension.git", + "reference": "eaf787ddf91f1b22b3a4da052f42294e0a75836e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-standard-library/phpstan-extension/zipball/eaf787ddf91f1b22b3a4da052f42294e0a75836e", + "reference": "eaf787ddf91f1b22b3a4da052f42294e0a75836e", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "phpstan/phpstan": "^2.0" + }, + "conflict": { + "azjezz/psl": "<1.6||>=5.0" + }, + "require-dev": { + "azjezz/psl": "^1.6||^2.0||^3.0||^4.0", + "composer/semver": "^3.3", + "nikic/php-parser": "^4.14.0", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.6" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Psl\\PHPStan\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan PSL extension", + "support": { + "issues": "https://github.com/php-standard-library/phpstan-extension/issues", + "source": "https://github.com/php-standard-library/phpstan-extension/tree/2.0.2" + }, + "time": "2025-11-30T13:33:52+00:00" }, { "name": "php-stubs/wordpress-stubs", @@ -5023,18 +5012,78 @@ ], "time": "2024-06-11T12:45:25+00:00" }, + { + "name": "rector/rector", + "version": "2.2.14", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "6d56bb0e94d4df4f57a78610550ac76ab403657d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/6d56bb0e94d4df4f57a78610550ac76ab403657d", + "reference": "6d56bb0e94d4df4f57a78610550ac76ab403657d", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "phpstan/phpstan": "^2.1.33" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "suggest": { + "ext-dom": "To manipulate phpunit.xml via the custom-rule command" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "homepage": "https://getrector.com/", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/2.2.14" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2025-12-09T10:57:55+00:00" + }, { "name": "roave/security-advisories", "version": "dev-latest", "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "1553067758ae7f3df13df7c7e232c62d928e1d23" + "reference": "df7a11b7df806e493d3047bf9cf9736645bbdf84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/1553067758ae7f3df13df7c7e232c62d928e1d23", - "reference": "1553067758ae7f3df13df7c7e232c62d928e1d23", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/df7a11b7df806e493d3047bf9cf9736645bbdf84", + "reference": "df7a11b7df806e493d3047bf9cf9736645bbdf84", "shasum": "" }, "conflict": { @@ -5056,6 +5105,7 @@ "alextselegidis/easyappointments": "<1.5.2.0-beta1", "alexusmai/laravel-file-manager": "<=3.3.1", "alt-design/alt-redirect": "<1.6.4", + "altcha-org/altcha": "<1.3.1", "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", "amazing/media2click": ">=1,<1.3.3", "ameos/ameos_tarteaucitron": "<1.2.23", @@ -6025,7 +6075,7 @@ "type": "tidelift" } ], - "time": "2025-12-12T23:06:01+00:00" + "time": "2025-12-16T01:34:46+00:00" }, { "name": "sebastian/diff", @@ -6094,85 +6144,6 @@ ], "time": "2025-02-07T04:55:46+00:00" }, - { - "name": "squizlabs/php_codesniffer", - "version": "4.0.1", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "0525c73950de35ded110cffafb9892946d7771b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0525c73950de35ded110cffafb9892946d7771b5", - "reference": "0525c73950de35ded110cffafb9892946d7771b5", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=7.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31" - }, - "bin": [ - "bin/phpcbf", - "bin/phpcs" - ], - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "Former lead" - }, - { - "name": "Juliette Reinders Folmer", - "role": "Current lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", - "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", - "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" - }, - "funding": [ - { - "url": "https://github.com/PHPCSStandards", - "type": "github" - }, - { - "url": "https://github.com/jrfnl", - "type": "github" - }, - { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" - }, - { - "url": "https://thanks.dev/u/gh/phpcsstandards", - "type": "thanks_dev" - } - ], - "time": "2025-11-10T16:43:36+00:00" - }, { "name": "symfony/console", "version": "v8.0.1", @@ -7397,7 +7368,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=8.4" + "php": ">=8.5" }, "platform-dev": {}, "plugin-api-version": "2.6.0" diff --git a/config/application.php b/config/application.php index ed2c28f7..d563d373 100755 --- a/config/application.php +++ b/config/application.php @@ -11,21 +11,21 @@ declare(strict_types=1); -use Roots\WPConfig\Config; - use function Env\env; +use Roots\WPConfig\Config; + // USE_ENV_ARRAY + CONVERT_* + STRIP_QUOTES Env\Env::$options = 31; -/* +/** * Directory containing all of the site's files. * * @var string */ $root_dir = dirname(__DIR__); -/* +/** * Document Root. * * @var string @@ -59,7 +59,7 @@ if (file_exists($root_dir.'/.env')) { define('WP_ENV', env('WP_ENV') ?: 'production'); // Infer WP_ENVIRONMENT_TYPE based on WP_ENV -if (!env('WP_ENVIRONMENT_TYPE') && in_array(WP_ENV, ['production', 'staging', 'development', 'local'])) { +if (!env('WP_ENVIRONMENT_TYPE') && in_array(WP_ENV, ['production', 'staging', 'development', 'local'], true)) { Config::define('WP_ENVIRONMENT_TYPE', WP_ENV); } @@ -74,7 +74,7 @@ Config::define('WP_CONTENT_URL', Config::get('WP_HOME').Config::get('CONTENT_DIR // DB settings if (env('DB_SSL')) { - Config::define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL); + Config::define('MYSQL_CLIENT_FLAGS', \MYSQLI_CLIENT_SSL); } Config::define('DB_NAME', env('DB_NAME')); @@ -88,9 +88,9 @@ $table_prefix = env('DB_PREFIX') ?: 'wp_'; if (env('DATABASE_URL')) { $dsn = (object) parse_url(env('DATABASE_URL')); - Config::define('DB_NAME', substr($dsn->path, 1)); + Config::define('DB_NAME', mb_substr($dsn->path, 1)); Config::define('DB_USER', $dsn->user); - Config::define('DB_PASSWORD', isset($dsn->pass) ? $dsn->pass : null); + Config::define('DB_PASSWORD', $dsn->pass ?? null); Config::define('DB_HOST', isset($dsn->port) ? "{$dsn->host}:{$dsn->port}" : $dsn->host); } diff --git a/config/environments/development.php b/config/environments/development.php index ef0ba272..c6a272ad 100755 --- a/config/environments/development.php +++ b/config/environments/development.php @@ -6,13 +6,13 @@ declare(strict_types=1); -use Roots\WPConfig\Config; - use function Env\env; +use Roots\WPConfig\Config; + Config::define('SAVEQUERIES', true); Config::define('WP_DEBUG', true); -Config::define('WP_DEBUG_DISPLAY', false); +Config::define('WP_DEBUG_DISPLAY', true); Config::define('WP_DEBUG_LOG', env('WP_DEBUG_LOG') ?? true); Config::define('WP_DISABLE_FATAL_ERROR_HANDLER', true); Config::define('SCRIPT_DEBUG', true); diff --git a/config/environments/production.php b/config/environments/production.php index 93b792c3..249fe661 100755 --- a/config/environments/production.php +++ b/config/environments/production.php @@ -6,10 +6,10 @@ declare(strict_types=1); -use Roots\WPConfig\Config; - use function Env\env; +use Roots\WPConfig\Config; + Config::define('WP_DEBUG', true); Config::define('WP_DEBUG_DISPLAY', false); Config::define('WP_DEBUG_LOG', env('WP_DEBUG_LOG') ?? true); diff --git a/config/environments/staging.php b/config/environments/staging.php index 1651c055..3ae418be 100755 --- a/config/environments/staging.php +++ b/config/environments/staging.php @@ -6,10 +6,10 @@ declare(strict_types=1); -use Roots\WPConfig\Config; - use function Env\env; +use Roots\WPConfig\Config; + Config::define('DISALLOW_INDEXING', true); Config::define('WOOCOMMERCE_API_CONSUMER_KEY', env('WOOCOMMERCE_API_CONSUMER_KEY')); Config::define('WOOCOMMERCE_API_CONSUMER_SECRET', env('WOOCOMMERCE_API_CONSUMER_SECRET')); diff --git a/containers/Dockerfile b/containers/Dockerfile index 94c70f3e..9ce1b86a 100644 --- a/containers/Dockerfile +++ b/containers/Dockerfile @@ -10,7 +10,7 @@ RUN set -eux && apk add --no-cache \ # Récupère les fichiers du site pour la branche « Production ». RUN git clone --branch production --depth 1 http://git.gcch.fr/gcch/haiku-atelier-2024.git "/tmp/repo" -FROM docker.io/library/wordpress:php8.4-fpm-alpine AS php +FROM docker.io/library/wordpress:php8.5-fpm-alpine AS php ENTRYPOINT [] LABEL org.opencontainers.image.title=wordpress-haiku-atelier \ diff --git a/containers/conf/angie/haikuatelier.conf b/containers/conf/angie/haikuatelier.conf index cb1bd818..eacd5c44 100755 --- a/containers/conf/angie/haikuatelier.conf +++ b/containers/conf/angie/haikuatelier.conf @@ -11,6 +11,11 @@ server { # Remove X-Powered-By, which is an information leak fastcgi_hide_header X-Powered-By; + # Pour éviter des erreurs liés à des requêtes trop lourdes. + fastcgi_buffers 16 32k; + fastcgi_buffer_size 64k; + fastcgi_busy_buffers_size 64k; + # Point d'accès pour vérifier la santé du conteneur Angie. location = /health { access_log off; diff --git a/cspell.json b/cspell.json index 0ed8adde..6eca639e 100644 --- a/cspell.json +++ b/cspell.json @@ -1,26 +1,5 @@ { - "dictionaries": [ - "fr-fr", - "en-gb" - ], - "words": [ - "GLITCHTIP", - "Vali", - "fdir", - "mobily", - "oxlint", - "valibot", - "zstandard", - "Eles", - "logtape", - "wpackagist", - "phpdotenv", - "friendsofphp", - "htmlburger", - "Crell", - "wpdb", - "classlike" - ], + "dictionaries": ["fr-fr", "en-gb"], "userWords": [ "lightningcss", "haikuatelier", @@ -44,6 +23,26 @@ "multishipping", "multiformats", "curryfication", - "giftcard" + "giftcard", + "taplo", + "phpactor" + ], + "words": [ + "GLITCHTIP", + "Vali", + "fdir", + "mobily", + "oxlint", + "valibot", + "zstandard", + "Eles", + "logtape", + "wpackagist", + "phpdotenv", + "friendsofphp", + "htmlburger", + "Crell", + "wpdb", + "classlike" ] -} \ No newline at end of file +} diff --git a/dprint.json b/dprint.json index a15ffaa8..7e269f37 100755 --- a/dprint.json +++ b/dprint.json @@ -76,12 +76,12 @@ }, "newLineKind": "lf", "plugins": [ - "https://plugins.dprint.dev/typescript-0.95.12.wasm", + "https://plugins.dprint.dev/typescript-0.95.13.wasm", "https://plugins.dprint.dev/json-0.21.0.wasm", "https://plugins.dprint.dev/markdown-0.20.0.wasm", "https://plugins.dprint.dev/toml-0.7.0.wasm", - "https://plugins.dprint.dev/g-plane/malva-v0.15.0.wasm", - "https://plugins.dprint.dev/g-plane/markup_fmt-v0.24.0.wasm", + "https://plugins.dprint.dev/g-plane/malva-v0.15.1.wasm", + "https://plugins.dprint.dev/g-plane/markup_fmt-v0.25.3.wasm", "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm", "https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364" ], diff --git a/justfile b/justfile index 01cf860c..656f4317 100755 --- a/justfile +++ b/justfile @@ -21,18 +21,21 @@ update: # Formatte avec Prettier et dprint. [group('qualité')] format: - @echo "Formatage de l'ensemble du code avec Prettier et dprint." bun prettier \ --cache \ --cache-location "{{ cacheFolder }}/{{ prettierCacheFile }}" \ --ignore-unknown \ + --parallel-workers 8 \ --write \ . - -dprint fmt + dprint fmt # TwigCsFixher -vendor/bin/twig-cs-fixer fix web/app/themes/haiku-atelier-2024/ # Mago mago fmt + # PhpCsFixer + -vendor/bin/php-cs-fixer fix --allow-risky yes + fish scripts/format-sort-files.fish # Compile, minifie et optimise Sass vers CSS. [group('css')] diff --git a/mago.toml b/mago.toml index a7011c27..983dec9d 100644 --- a/mago.toml +++ b/mago.toml @@ -1,10 +1,12 @@ -php-version = "8.4.0" +php-version = "8.5" +stack-size = 8388608 +threads = 8 [source] excludes = ["web/wp/wp-admin/includes/noop.php"] extensions = ["php"] includes = ["config", "vendor", "web/app/plugins", "web/vendor", "web/wp"] - paths = ["web/app/themes/haiku-atelier-2024/"] + paths = ["web/app/themes/haiku-atelier-2024"] [formatter] # Brace style for classes, traits, etc. diff --git a/package.json b/package.json index c4635b5e..e28dd766 100755 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "oxlint": "^1.31.0", "picomatch": "^4.0.3", "playwright": "^1.57.0", - "prettier": "^3.7.4", + "prettier": "^4.0.0-alpha.13", "prettier-plugin-pkg": "^0.21.2", "prettier-plugin-sh": "^0.18.0", "sass-embedded": "^1.93.3", @@ -61,9 +61,6 @@ "typescript": "5.9.3", "typescript-eslint": "^8.48.1", "vite": "^7.2.6", - "vite-plugin-compression2": "^2.3.1", - "vite-plugin-manifest-sri": "^0.2.0", - "vite-plugin-node-polyfills": "^0.24.0", "vite-plugin-valibot-env": "^1.0.1", "vite-tsconfig-paths": "^5.1.4", "wp-types": "^4.69.0" diff --git a/phpactor.schema.json b/phpactor.schema.json new file mode 100644 index 00000000..1fa4c010 --- /dev/null +++ b/phpactor.schema.json @@ -0,0 +1,492 @@ +{ + "$schema": "https:\/\/json-schema.org\/draft-07\/schema", + "title": "Phpactor Configuration Schema", + "type": "object", + "properties": { + "$schema": { + "description": "Path to JSON schema, which can be used for config autocompletion, use phpactor config:initialize to update", + "default": "" + }, + "console_dumper_default": { + "description": "Name of the \"dumper\" (renderer) to use for some CLI commands", + "default": "indented" + }, + "xdebug_disable": { "description": "If XDebug should be automatically disabled", "default": true }, + "command": { "description": "Internal use only - name of the command which was executed" }, + "core.min_memory_limit": { + "description": "Ensure that PHP has a memory_limit of at least this amount in bytes", + "default": 1610612736 + }, + "class_to_file.project_root": { + "description": "Root path of the project (e.g. where composer.json is)", + "default": "%project_root%" + }, + "class_to_file.brute_force_conversion": { + "description": "If composer not found, fallback to scanning all files (very time consuming depending on project size)", + "default": true + }, + "code_transform.class_new.variants": { + "description": "Variants which should be suggested when class-create is invoked", + "default": [] + }, + "code_transform.template_paths": { + "description": "Paths in which to look for code templates", + "default": ["%project_config%\/templates", "%config%\/templates"] + }, + "code_transform.indentation": { + "description": "Indentation chars to use in code generation and transformation", + "default": " " + }, + "code_transform.refactor.generate_accessor.prefix": { + "description": "Prefix to use for generated accessors", + "default": "" + }, + "code_transform.refactor.generate_accessor.upper_case_first": { + "description": "If the first letter of a generated accessor should be made uppercase", + "default": false + }, + "code_transform.refactor.generate_mutator.prefix": { + "description": "Prefix to use for generated mutators", + "default": "set" + }, + "code_transform.refactor.generate_mutator.upper_case_first": { + "description": "If the first letter of a generated mutator should be made uppercase", + "default": true + }, + "code_transform.refactor.generate_mutator.fluent": { + "description": "If the mutator should be fluent", + "default": false + }, + "code_transform.import_globals": { + "description": "Import functions even if they are in the global namespace", + "default": false + }, + "code_transform.refactor.object_fill.hint": { + "description": "Object fill refactoring: show hint as a comment", + "default": true + }, + "code_transform.refactor.object_fill.named_parameters": { + "description": "Object fill refactoring: use named parameters", + "default": true + }, + "completion_worse.completor.doctrine_annotation.enabled": { + "description": "Enable or disable the ``doctrine_annotation`` completor.\n\nCompletion for annotations provided by the Doctrine annotation library.", + "default": true + }, + "completion_worse.completor.imported_names.enabled": { + "description": "Enable or disable the ``imported_names`` completor.\n\nCompletion for names imported into the current namespace.", + "default": true + }, + "completion_worse.completor.worse_parameter.enabled": { + "description": "Enable or disable the ``worse_parameter`` completor.\n\nCompletion for method or function parameters.", + "default": true + }, + "completion_worse.completor.named_parameter.enabled": { + "description": "Enable or disable the ``named_parameter`` completor.\n\nCompletion for named parameters.", + "default": true + }, + "completion_worse.completor.constructor.enabled": { + "description": "Enable or disable the ``constructor`` completor.\n\nCompletion for constructors.", + "default": true + }, + "completion_worse.completor.class_member.enabled": { + "description": "Enable or disable the ``class_member`` completor.\n\nCompletion for class members.", + "default": true + }, + "completion_worse.completor.scf_class.enabled": { + "description": "Enable or disable the ``scf_class`` completor.\n\nBrute force completion for class names (not recommended).", + "default": true + }, + "completion_worse.completor.local_variable.enabled": { + "description": "Enable or disable the ``local_variable`` completor.\n\nCompletion for local variables.", + "default": true + }, + "completion_worse.completor.subscript.enabled": { + "description": "Enable or disable the ``subscript`` completor.\n\nCompletion for subscript (array access from array shapes).", + "default": true + }, + "completion_worse.completor.declared_function.enabled": { + "description": "Enable or disable the ``declared_function`` completor.\n\nCompletion for functions defined in the Phpactor runtime.", + "default": true + }, + "completion_worse.completor.declared_constant.enabled": { + "description": "Enable or disable the ``declared_constant`` completor.\n\nCompletion for constants defined in the Phpactor runtime.", + "default": true + }, + "completion_worse.completor.declared_class.enabled": { + "description": "Enable or disable the ``declared_class`` completor.\n\nCompletion for classes defined in the Phpactor runtime.", + "default": true + }, + "completion_worse.completor.expression_name_search.enabled": { + "description": "Enable or disable the ``expression_name_search`` completor.\n\nCompletion for class names, constants and functions at expression positions that are located in the index.", + "default": true + }, + "completion_worse.completor.use.enabled": { + "description": "Enable or disable the ``use`` completor.\n\nCompletion for use imports.", + "default": true + }, + "completion_worse.completor.attribute.enabled": { + "description": "Enable or disable the ``attribute`` completor.\n\nCompletion for attribute class names.", + "default": true + }, + "completion_worse.completor.class_like.enabled": { + "description": "Enable or disable the ``class_like`` completor.\n\nCompletion for class like contexts.", + "default": true + }, + "completion_worse.completor.type.enabled": { + "description": "Enable or disable the ``type`` completor.\n\nCompletion for scalar types.", + "default": true + }, + "completion_worse.completor.keyword.enabled": { + "description": "Enable or disable the ``keyword`` completor.\n\nCompletion for keywords (not very accurate).", + "default": true + }, + "completion_worse.completor.docblock.enabled": { + "description": "Enable or disable the ``docblock`` completor.\n\nDocblock completion.", + "default": true + }, + "completion_worse.completor.constant.enabled": { "description": null, "default": false }, + "completion_worse.completor.class.limit": { + "description": "Suggestion limit for the filesystem based SCF class_completor", + "default": 100 + }, + "completion_worse.name_completion_priority": { + "description": "Strategy to use when ordering completion results for classes and functions:\n\n- `proximity`: Classes and functions will be ordered by their proximity to the text document being edited.\n- `none`: No ordering will be applied.", + "default": "proximity" + }, + "completion_worse.snippets": { "description": "Enable or disable completion snippets", "default": true }, + "completion_worse.experimantal": { "description": "Enable experimental functionality", "default": false }, + "completion_worse.debug": { "description": "Include debug info in completion results", "default": false }, + "completion.dedupe": { "description": "If results should be de-duplicated", "default": true }, + "completion.dedupe_match_fqn": { + "description": "If ``completion.dedupe``, consider the class FQN in addition to the completion suggestion", + "default": true + }, + "completion.limit": { "description": "Sets a limit on the number of completion suggestions for any request" }, + "completion.label_formatter": { + "description": "Definition of how to format entries in the completion list", + "default": "helpful", + "enum": ["helpful", "fqn"] + }, + "navigator.destinations": { "description": null, "default": [] }, + "navigator.autocreate": { "description": null, "default": [] }, + "rpc.store_replay": { "description": "Should replays be stored?", "default": false }, + "rpc.replay_path": { "description": "Path where the replays should be stored", "default": "%cache%\/replay.json" }, + "source_code_filesystem.project_root": { "description": null, "default": "%project_root%" }, + "language_server_code_transform.import_globals": { + "description": "Show hints for non-imported global classes and functions", + "default": false + }, + "worse_reflection.enable_cache": { "description": "If reflection caching should be enabled", "default": true }, + "worse_reflection.cache_lifetime": { + "description": "If caching is enabled, limit the amount of time a cache entry can stay alive", + "default": 1 + }, + "worse_reflection.enable_context_location": { + "description": "If source code is passed to a ``Reflector`` then temporarily make it available as a\nsource location. Note this should NOT be enabled if the source code can be\nlocated in another (e.g. when running a Language Server)", + "default": true + }, + "worse_reflection.cache_dir": { + "description": "Cache directory for stubs", + "default": "%cache%\/worse-reflection" + }, + "worse_reflection.stub_dir": { + "description": "Location of the core PHP stubs - these will be scanned and cached on the first request", + "default": "%application_root%\/vendor\/jetbrains\/phpstorm-stubs" + }, + "worse_reflection.diagnostics.undefined_variable.suggestion_levenshtein_disatance": { + "description": "Levenshtein distance to use when suggesting corrections for variable names", + "type": ["integer"], + "default": 4 + }, + "file_path_resolver.project_root": { "description": null, "default": "\/opt\/phpactor" }, + "file_path_resolver.app_name": { "description": null, "default": "phpactor" }, + "file_path_resolver.application_root": { "description": null }, + "file_path_resolver.enable_cache": { "description": null, "default": true }, + "file_path_resolver.enable_logging": { "description": null, "default": true }, + "logging.enabled": { "description": null, "type": ["boolean"], "default": false }, + "logging.fingers_crossed": { "description": null, "type": ["boolean"], "default": false }, + "logging.path": { "description": null, "type": ["string"], "default": "application.log" }, + "logging.level": { + "description": null, + "type": ["string"], + "default": "warning", + "enum": ["emergency", "alert", "critical", "error", "warning", "notice", "info", "debug"] + }, + "logger.name": { "description": null, "type": ["string"], "default": "logger" }, + "logging.formatter": { "description": null }, + "composer.enable": { + "description": "Include of the projects autoloader to facilitate class location. Note that when including an autoloader code _may_ be executed. This option may be disabled when using the indexer", + "default": true + }, + "composer.autoloader_path": { + "description": "Path to project's autoloader, can be an array", + "default": "%project_root%\/vendor\/autoload.php" + }, + "composer.autoload_deregister": { + "description": "Immediately de-register the autoloader once it has been included (prevent conflicts with Phpactor's autoloader). Some platforms may require this to be disabled", + "default": true + }, + "composer.class_maps_only": { + "description": "Register the composer class maps only, do not register the autoloader - RECOMMENDED", + "default": true + }, + "console.verbosity": { "description": "Verbosity level", "default": 32, "enum": [16, 32, 64, 128, 256] }, + "console.decorated": { + "description": "Whether to decorate messages (null for auto-guessing)", + "enum": [true, false, null] + }, + "php.version": { + "description": "Consider this value to be the project\\'s version of PHP (e.g. `7.4`). If omitted\nit will check `composer.json` (by the configured platform then the PHP requirement) before\nfalling back to the PHP version of the current process." + }, + "language_server.catch_errors": { "description": null, "default": true }, + "language_server.enable_workspace": { + "description": "If workspace management \/ text synchronization should be enabled (this isn't required for some language server implementations, e.g. static analyzers)", + "default": true + }, + "language_server.session_parameters": { + "description": "Phpactor parameters (config) that apply only to the language server session", + "default": [] + }, + "language_server.method_alias_map": { + "description": "Allow method names to be re-mapped. Useful for maintaining backwards compatibility", + "default": [] + }, + "language_server.diagnostic_sleep_time": { + "description": "Amount of time to wait before analyzing the code again for diagnostics", + "default": 1000 + }, + "language_server.diagnostics_on_update": { + "description": "Perform diagnostics when the text document is updated", + "default": true + }, + "language_server.diagnostics_on_save": { + "description": "Perform diagnostics when the text document is saved", + "default": true + }, + "language_server.diagnostics_on_open": { + "description": "Perform diagnostics when opening a text document", + "default": true + }, + "language_server.diagnostic_providers": { + "description": "Specify which diagnostic providers should be active (default to all)" + }, + "language_server.diagnostic_outsource": { + "description": "If applicable diagnostics should be \"outsourced\" to a different process", + "default": true + }, + "language_server.diagnostic_exclude_paths": { + "description": "List of paths to exclude from diagnostics, e.g. `vendor\/**\/*`", + "default": [] + }, + "language_server.file_events": { "description": "Register to receive file events", "default": true }, + "language_server.file_event_globs": { "description": null, "default": ["**\/*.php"] }, + "language_server.profile": { "description": "Logs timing information for incoming LSP requests", "default": false }, + "language_server.trace": { + "description": "Log incoming and outgoing messages (needs log formatter to be set to ``json``)", + "default": false + }, + "language_server.shutdown_grace_period": { + "description": "Amount of time (in milliseconds) to wait before responding to a shutdown notification", + "default": 200 + }, + "language_server.phpactor_bin": { + "description": "Internal use only - name path to Phpactor binary", + "default": "\/opt\/phpactor\/lib\/Extension\/LanguageServer\/..\/..\/..\/bin\/phpactor" + }, + "language_server.self_destruct_timeout": { + "description": "Wait this amount of time (in milliseconds) after a shutdown request before self-destructing", + "default": 2500 + }, + "language_server.diagnostic_outsource_timeout": { + "description": "Kill the diagnostics process if it outlives this timeout", + "default": 5 + }, + "language_server_completion.trim_leading_dollar": { + "description": "If the leading dollar should be trimmed for variable completion suggestions", + "default": false + }, + "language_server_reference_reference_finder.reference_timeout": { + "description": "Stop searching for references after this time (in seconds) has expired", + "default": 60 + }, + "language_server_worse_reflection.workspace_index.update_interval": { + "description": "Minimum interval to update the workspace index as documents are updated (in milliseconds)", + "default": 100 + }, + "language_server_worse_reflection.inlay_hints.enable": { + "description": "Enable inlay hints (experimental)", + "default": false + }, + "language_server_worse_reflection.inlay_hints.types": { + "description": "Show inlay type hints for variables", + "default": false + }, + "language_server_worse_reflection.inlay_hints.params": { + "description": "Show inlay hints for parameters", + "default": true + }, + "language_server_worse_reflection.diagnostics.enable": { "description": "Enable diagnostics", "default": true }, + "language_server_indexer.workspace_symbol_search_limit": { "description": null, "default": 250 }, + "language_server_indexer.reindex_timeout": { + "description": "Unconditionally reindex modified files every N seconds", + "default": 300 + }, + "language_server_code_transform.import_name.report_non_existing_names": { + "description": "Show an error if a diagnostic name cannot be resolved - can produce false positives", + "default": true + }, + "language_server_configuration.auto_config": { + "description": "Prompt to enable extensions which apply to your project on language server start", + "type": ["boolean"], + "default": true + }, + "indexer.enabled_watchers": { + "description": "List of allowed watchers. The first watcher that supports the current system will be used", + "type": ["object"], + "default": ["inotify", "watchman", "find", "php"] + }, + "indexer.index_path": { + "description": "Path where the index should be saved", + "type": ["string"], + "default": "%cache%\/index\/%project_id%" + }, + "indexer.include_patterns": { + "description": "Glob patterns to include while indexing", + "type": ["object"], + "default": ["\/**\/*.php", "\/**\/*.phar"] + }, + "indexer.exclude_patterns": { + "description": "Glob patterns to exclude while indexing", + "type": ["object"], + "default": ["\/vendor\/**\/Tests\/**\/*", "\/vendor\/**\/tests\/**\/*", "\/vendor\/composer\/**\/*"] + }, + "indexer.stub_paths": { + "description": "Paths to external folders to index. They will be indexed only once, if you want to take any changes into account you will have to reindex your project manually.", + "type": ["object"], + "default": [] + }, + "indexer.poll_time": { + "description": "For polling indexers only: the time, in milliseconds, between polls (e.g. filesystem scans)", + "type": ["integer"], + "default": 5000 + }, + "indexer.buffer_time": { + "description": "For real-time indexers only: the time, in milliseconds, to buffer the results", + "type": ["integer"], + "default": 500 + }, + "indexer.follow_symlinks": { + "description": "To allow indexer to follow symlinks", + "type": ["boolean"], + "default": false + }, + "indexer.project_root": { + "description": "The root path to use for scanning the index", + "type": ["string"], + "default": "%project_root%" + }, + "indexer.reference_finder.deep": { + "description": "Recurse over class implementations to resolve all references", + "type": ["boolean"], + "default": true + }, + "indexer.implementation_finder.deep": { + "description": "Recurse over class implementations to resolve all class implementations (not just the classes directly implementing the subject)", + "type": ["boolean"], + "default": true + }, + "indexer.supported_extensions": { + "description": "File extensions (e.g. `php`) for files that should be indexed", + "type": ["object"], + "default": ["php", "phar"] + }, + "object_renderer.template_paths.markdown": { + "description": "Paths in which to look for templates for hover information.", + "default": ["%project_config%\/templates\/markdown", "%config%\/templates\/markdown"] + }, + "language_server_phpstan.bin": { + "description": "Path to the PHPStan executable", + "default": "%project_root%\/vendor\/bin\/phpstan" + }, + "language_server_phpstan.level": { "description": "Override the PHPStan level" }, + "language_server_phpstan.config": { "description": "Override the PHPStan configuration file" }, + "language_server_phpstan.mem_limit": { "description": "Override the PHPStan memory limit" }, + "language_server_psalm.bin": { + "description": "Path to psalm if different from vendor\/bin\/psalm", + "type": ["string"], + "default": "%project_root%\/vendor\/bin\/psalm" + }, + "language_server_psalm.show_info": { + "description": "If infos from psalm should be displayed", + "type": ["boolean"], + "default": true + }, + "language_server_psalm.use_cache": { + "description": "If the Psalm cache should be used (see the `--no-cache` option)", + "type": ["boolean"], + "default": true + }, + "language_server_psalm.error_level": { + "description": "Override level at which Psalm should report errors (lower => more errors)" + }, + "language_server_psalm.threads": { + "description": "Set the number of threads Psalm should use. Warning: NULL will use as many as possible and may crash your computer", + "type": ["integer"], + "default": 1 + }, + "language_server_psalm.timeout": { + "description": "Kill the psalm process after this number of seconds", + "type": ["integer"], + "default": 15 + }, + "language_server_php_cs_fixer.bin": { + "description": "Path to the php-cs-fixer executable", + "default": "%project_root%\/vendor\/bin\/php-cs-fixer" + }, + "language_server_php_cs_fixer.env": { + "description": "Environment for PHP CS Fixer (e.g. to set PHP_CS_FIXER_IGNORE_ENV)", + "default": { "XDEBUG_MODE": "off", "PHP_CS_FIXER_IGNORE_ENV": true } + }, + "language_server_php_cs_fixer.show_diagnostics": { + "description": "Whether PHP CS Fixer diagnostics are shown", + "default": true + }, + "language_server_php_cs_fixer.config": { + "description": "Set custom PHP CS config path. Ex., %project_root%\/.php-cs-fixer.php" + }, + "php_code_sniffer.bin": { + "description": "Path to the phpcs executable", + "default": "%project_root%\/vendor\/bin\/phpcs" + }, + "php_code_sniffer.env": { + "description": "Environment for PHP_CodeSniffer (e.g. to set XDEBUG_MODE)", + "default": { "XDEBUG_MODE": "off" } + }, + "php_code_sniffer.show_diagnostics": { + "description": "Whether PHP_CodeSniffer diagnostics are shown", + "default": true + }, + "php_code_sniffer.args": { "description": "Additional arguments to pass to the PHPCS process", "default": [] }, + "php_code_sniffer.cwd": { "description": "Working directory for PHPCS" }, + "behat.config_path": { + "description": "Path to the main behat.yml (including the filename behat.yml)", + "default": "%project_root%\/behat.yml" + }, + "behat.symfony.di_xml_path": { + "description": "If using Symfony, set this path to the XML container dump to find contexts which are defined as services" + }, + "symfony.xml_path": { + "description": "Path to the Symfony container XML dump file", + "default": "%project_root%\/var\/cache\/dev\/App_KernelDevDebugContainer.xml" + }, + "completion_worse.completor.symfony.enabled": { + "description": "Enable\/disable the Symfony completor - depends on Symfony extension being enabled", + "default": true + }, + "public_services_only": { + "description": "Only consider public services when providing analysis for the service locator", + "default": false + } + } +} diff --git a/phpcs.xml b/phpcs.xml deleted file mode 100755 index 61b9a946..00000000 --- a/phpcs.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - Roots Coding Standards - - - . - - - - - - vendor/ - web/app/languages/ - web/app/mu-plugins/ - web/app/plugins/ - web/app/themes/twentytwentyfour/ - web/wp - - - - - - - - - diff --git a/phpstan.neon b/phpstan.neon index 7901b46f..fc243960 100755 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,22 +1,51 @@ -parameters: - parallel: - maximumNumberOfProcesses: 8 - level: 6 - paths: - - web/app/themes/haiku-atelier-2024 - scanDirectories: - - vendor - - web/app - - web/vendor - - web/wp - scanFiles: - - .php-cs-fixer.dist.php - - web/index.php - - web/wp-config.php +# Utilise la version de développement de PHPStan +includes: + - phar://phpstan.phar/conf/bleedingEdge.neon - excludePaths: - analyse: - - web/app/themes/la-fille-davril/vendor - analyseAndScan: - - web/app/themes/twentytwentyfour +parameters: + # When set to true, it reports use of dynamic properties as undefined. + checkDynamicProperties: true + checkExplicitMixedMissingReturn: true + # When set to true, it reports function and method calls with incorrect name case. + checkFunctionNameCase: true + # When set to true, it reports references to built-in classes with incorrect name case. + checkInternalClassCaseSensitivity: true + # When set to true, it reports return typehints that could be narrowed down because some of the listed types are never returned from a public or protected method. + checkTooWideReturnTypesInProtectedAndPublicMethods: true + # When set to true, it reports properties with native types that weren’t initialized in the class constructor. + checkUninitializedProperties: false + reportUnmatchedIgnoredErrors: false + # When set to true, it reports violations of parameter type contravariance and return type covariance. + reportMaybesInMethodSignatures: true + # By default PHPStan reports wrong type in @var tag only for native types on the right side of =. With reportWrongPhpDocTypeInVarTag set to true it will consider PHPDoc types too. + reportWrongPhpDocTypeInVarTag: true + # Setting treatPhpDocTypesAsCertain to false relaxes some of the rules around type-checking. + treatPhpDocTypesAsCertain: true + + parallel: + jobSize: 20 + maximumNumberOfProcesses: 32 + minimumNumberOfJobsPerProcess: 2 + + level: max + + scanDirectories: + - config + - vendor + - web/app + - web/vendor + - web/wp + + scanFiles: + - .php-cs-fixer.dist.php + - web/index.php + - web/wp-config.php + + paths: + - web/app/themes/haiku-atelier-2024 + + excludePaths: + analyseAndScan: + - web/app/db.php (?) - web/app/languages + - web/app/themes/twentytwentyfour diff --git a/rector.php b/rector.php new file mode 100644 index 00000000..6dae3866 --- /dev/null +++ b/rector.php @@ -0,0 +1,24 @@ +withPaths([__DIR__ . '/web/app/themes/haiku-atelier-2024']) + ->withSkip([__DIR__ . '/vendor', __DIR__ . '/node_modules']) + ->withPhpSets(php85: true) + ->withCodeQualityLevel(10) + ->withCodingStyleLevel(10) + ->withDeadCodeLevel(10) + ->withTypeCoverageDocblockLevel(10) + ->withTypeCoverageLevel(10) + ->withImportNames( + importDocBlockNames: true, + importNames: true, + importShortClasses: true, + removeUnusedImports: true, + ) + ->withPreparedSets( + carbon: true, + instanceOf: true, + privatization: true, + ); diff --git a/scripts/format-sort-files.fish b/scripts/format-sort-files.fish new file mode 100644 index 00000000..59dda2ba --- /dev/null +++ b/scripts/format-sort-files.fish @@ -0,0 +1,5 @@ +set -f fichiers_toml (fd --glob "*.toml") + +for toml in $fichiers_toml + taplo format "$toml" +end diff --git a/scripts/remove-scaled-images.php b/scripts/remove-scaled-images.php index 2c7d67c3..c543ca59 100755 --- a/scripts/remove-scaled-images.php +++ b/scripts/remove-scaled-images.php @@ -1,9 +1,9 @@ - = new fdir() .withMaxDepth(0) .crawl(`web/app/themes/${SLUG_THEME}/src/scripts`) .withPromise(); +const PATHS = await SRC_TYPESCRIPT_PATHS; // Voir le fichier vite.env.d.ts. const SCHEMA_ENVIRONNEMENT = v.object({ @@ -27,31 +23,9 @@ const SCHEMA_ENVIRONNEMENT = v.object({ const basePlugins = [ // Permet de valider les variables d'environnements définies à partir d'un schéma Valibot valibot(SCHEMA_ENVIRONNEMENT), - manifestSRI({ algorithms: ["sha512"] }), - nodePolyfills({ - include: [], - protocolImports: true, - }), -]; -// Les extensions activées en production. -const prodPlugins = [ - legacy({ - modernPolyfills: true, - modernTargets: - "chrome >0 and last 3 years, edge >0 and last 3 years, safari >0 and last 3 years, firefox >0 and last 3 years, and_chr >0 and last 3 years, and_ff >0 and last 3 years, ios >0 and last 3 years", - renderLegacyChunks: true, - }), - compression({ - algorithms: [ - "brotliCompress", - "gzip", - "zstandard", - ], - threshold: 1000, - }), ]; -export default defineConfig(async ({ mode }) => { +export default defineConfig(({ mode }) => { const env = loadEnv(mode, process.cwd(), "VITE"); console.debug(env); @@ -59,21 +33,17 @@ export default defineConfig(async ({ mode }) => { base: "/", build: { assetsDir: ".", + cssMinify: "lightningcss", emptyOutDir: true, - // Génère un fichier manifeste dans outDir. manifest: true, minify: env["VITE_MODE"] === "production", - outDir: resolve("./web/app/themes/haiku-atelier-2024/assets/js"), + outDir: "./web/app/themes/haiku-atelier-2024/assets/js", reportCompressedSize: true, rollupOptions: { - input: await SRC_TYPESCRIPT_PATHS, - experimental: { - incrementalBuild: true, - nativeMagicString: true, - }, + input: PATHS, output: { - assetFileNames: "[name].[hash].[extname]", - chunkFileNames: "[name].[hash].js", + assetFileNames: "[hash].[extname]", + chunkFileNames: "[hash].js", entryFileNames: "[name].js", minify: env["VITE_MODE"] === "production", }, @@ -83,7 +53,11 @@ export default defineConfig(async ({ mode }) => { target: "es2020", write: true, }, + css: { + devSourcemap: true, + transformer: "lightningcss", + }, mode: env["VITE_MODE"] ?? "production", - plugins: env["VITE_MODE"] === "production" ? [...basePlugins, ...prodPlugins] : [...basePlugins], + plugins: [...basePlugins], }; }); diff --git a/web/app/db.php b/web/app/db.php deleted file mode 120000 index befa55ec..00000000 --- a/web/app/db.php +++ /dev/null @@ -1 +0,0 @@ -/var/www/wordpress/web/app/plugins/query-monitor/wp-content/db.php \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/archive-product.php b/web/app/themes/haiku-atelier-2024/archive-product.php index 5d15808c..a43153f0 100755 --- a/web/app/themes/haiku-atelier-2024/archive-product.php +++ b/web/app/themes/haiku-atelier-2024/archive-product.php @@ -14,7 +14,7 @@ require_once __DIR__ . '/src/inc/TraitementInformations.php'; $contexte = Timber::context(); $modeles = ['boutique.twig']; -/** @var array $informations_produits Les informations brutes des Produits. */ +/** @var list $informations_produits Les informations brutes des Produits. */ $informations_produits = wc_get_products([ 'limit' => 12, 'order' => 'DESC', @@ -22,9 +22,9 @@ $informations_produits = wc_get_products([ 'status' => 'publish', ]); -/** @var InformationsProduitShop $produits Les informations strictement nécessaires pour la grille des Produits. */ +/** @var mixed $produits Les informations strictement nécessaires pour la grille des Produits. */ $produits = array_map( - callback: 'recupere_informations_produit_shop', + callback: recupere_informations_produit_shop(...), array: $informations_produits, ); $contexte['produits'] = $produits; diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.css b/web/app/themes/haiku-atelier-2024/assets/css/main.css index d54f110e..3b3718d4 100755 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.css +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.css @@ -1168,16 +1168,19 @@ body:has(#menu-mobile:not([aria-hidden=true])) { .resume-produit .selecteur-produit__nom { font-size: var(--resume-police-nom-taille); } -.resume-produit .selecteur-produit__selection-variation { +.resume-produit .selecteur-produit__attribut-variation { + display: flex; + flex-flow: row wrap; + gap: var(--espace-m) var(--espace-l); font-size: var(--resume-police-selecteur-taille); font-weight: var(--resume-police-selecteur-graisse); text-transform: lowercase; /* Texte du sélecteur */ } -.resume-produit .selecteur-produit__selection-variation label { +.resume-produit .selecteur-produit__attribut-variation label { margin-right: var(--espace-s); } -.resume-produit .selecteur-produit__selection-variation select { +.resume-produit .selecteur-produit__attribut-variation select { position: relative; padding: var(--espace-xs) var(--espace-l); border: 1px solid var(--couleur-noir); @@ -1187,25 +1190,25 @@ body:has(#menu-mobile:not([aria-hidden=true])) { background: var(--couleur-fond); } @supports selector(:user-valid) { - .resume-produit .selecteur-produit__selection-variation select:user-valid { + .resume-produit .selecteur-produit__attribut-variation select:user-valid { background: var(--couleur-jaune-fond); } } -.resume-produit .selecteur-produit__selection-variation option { +.resume-produit .selecteur-produit__attribut-variation option { background: var(--couleur-fond); } -.resume-produit .selecteur-produit__selection-variation { +.resume-produit .selecteur-produit__attribut-variation { /* Conteneur des sélecteurs */ } -.resume-produit .selecteur-produit__selection-variation__selecteurs { +.resume-produit .selecteur-produit__attribut-variation__selecteurs { position: relative; /* Icône de flèche descendante */ } -.resume-produit .selecteur-produit__selection-variation__selecteurs::after { +.resume-produit .selecteur-produit__attribut-variation__selecteurs::after { pointer-events: none; content: " "; position: absolute; - top: 10px; + top: 7px; right: 0.4rem; display: inline-block; width: 0.9rem; @@ -1217,13 +1220,13 @@ body:has(#menu-mobile:not([aria-hidden=true])) { transition: opacity 0.2s, visibility 0.2s; } @supports not selector(:user-valid) { - .resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:valid)::after { + .resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:valid)::after { visibility: hidden; opacity: 0; } } @supports selector(:user-valid) { - .resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:user-valid)::after { + .resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:user-valid)::after { visibility: hidden; opacity: 0; } @@ -1246,11 +1249,11 @@ body:has(#menu-mobile:not([aria-hidden=true])) { } } @media (width <= 500px) { - .resume-produit .selecteur-produit__selection-variation { + .resume-produit .selecteur-produit__selection-variation-attribut { flex-flow: column nowrap; row-gap: var(--espace-inter-colonne); } - .resume-produit .selecteur-produit__selection-variation h3 { + .resume-produit .selecteur-produit__selection-variation-attribut h3 { flex-basis: 100%; } } diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.css.map b/web/app/themes/haiku-atelier-2024/assets/css/main.css.map index e6913ef2..d4bddbd1 100755 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.css.map +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../src/sass/base/polices/_lato.scss","../../src/sass/base/polices/_myriad.scss","../../src/sass/abstracts/_variables.scss","../../src/sass/base/_base.scss","../../src/sass/base/_typographie.scss","../../src/sass/base/elements/_boutons.scss","../../src/sass/base/elements/_formulaires.scss","../../src/sass/base/elements/_images.scss","../../src/sass/base/elements/_liens.scss","../../src/sass/base/elements/_listes.scss","../../src/sass/layouts/_bandeau.scss","../../src/sass/layouts/_menu-mobile.scss","../../src/sass/layouts/_en-tete.scss","../../src/sass/layouts/_menu-categories-produits.scss","../../src/sass/layouts/_colonnes-photos.scss","../../src/sass/layouts/_grille-produits.scss","../../src/sass/layouts/_informations-produit.scss","../../src/sass/layouts/_produits-similaires.scss","../../src/sass/layouts/_pied-de-page.scss"],"names":[],"mappings":";AAAA;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;AAmBJ;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;ACjDJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;ACjBJ;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EAGA;EACA;AAAA;AAAA;EAGA;AAAA;AAAA;AAAA;AAKA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACjDF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;IACE;IACA;IACA;;EAGF;IACE;;;AC5FJ;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AC1BA;AAAA;AAAA;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAKN;EACE;EAEA;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAKN;EACE;EACA;;AAIA;EADF;IAEI;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;AAEA;EACE;IACE;IACA;;;;AC9FV;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EAEA;;;AAKF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;;AAQJ;EACE;;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;EACA;EACA;;AAGF;EACE;IACE;;;AAKN;EACE;;AA3BJ;AA8BE;AAAA;AAAA;;AAGA;EACE;EACA;;AAGF;EACE;IACE;;;;AAKN;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMJ;EACE;IACE;;;;AC7HN;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;EACE;EACA;;;ACZF;AAAA;AAAA;AAAA;AAAA;AAKA;AACE;EACA;EAEA;EACA;EACA;EACA,YACE,uIAM4B;EAE9B;AAEA;;AACA;EACE;;AApBJ;AAuBE;;AACA;AACE;EACA;EACA;AAEA;EACA;EAEA;EACA;AAEA;;AACA;EACE;;AAbJ;AAgBE;;AACA;EACE;;AAlBJ;AAqBE;;AACA;EACE;IACE;;;AAhDR;AAqDE;;AACA;EACE;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAjER;AAsEE;;AAEE;EACE;IACE;;;;AC/ER;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAMA;AACE;EACA;AAEA;EACA;AAEA;EACA;;AAEA;EACE;EACA,qLAEkE;;;AC9BxE;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAEA;EACE;;AAKN;EAEI;IACE;;;;AAMR;EACE;IACE;;EAGF;IACE;;;AC/CJ;EACE;EACA;;;AAGF;EAEE;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;;AAOV;EArEF;IAsEI;;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AC5FJ;EAEE;EACA;EAGA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAEA;EACE;EACA;AAEA;EACA;EACA;EACA;EACA;;AAtCN;AA0CE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAbJ;AAgBE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AASA;AACE;EACA;EACA;EACA;AAEA;EACA;;AAGA;EACE;;AAKF;EACE;;AAIF;EACE;EACA,yFAC2C;EAE3C;;AAGF;EACE;IACE;;;AAOJ;EADF;IAEI;;;AAKN;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAKN;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIF;EAbF;IAcI;;;AAIJ;EAvKF;IAwKI;;;;AC1KJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;AACE;EACA;EAGA;EACA;EAIA;EACA;;AAGE;EACE;;AAKF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAIF;EApBF;IAqBI;;;AA9CN;AAkDE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAOA;EACE;EACA,uBACE;EAEF;EACA;AAEA;AAAA;AAAA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;EACA;;AAEA;EACE;IACE;;;AAlBV;AAwBE;AAAA;AAAA;AAAA;AAAA;;AAKA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAMR;EA7DF;IA8DI;IAEA;IACA;IACA;;EAEA;IACE;IACA;;EAEA;IACE;IACA;;;AAMN;EAhFF;IAiFI;IACA;IACA;;EAEA;IACE;IACA;;;;ACtJR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EAEE;EAGA;EACA;AAAA;AAAA;EAGA;EAGA;EAEA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGA;EACE;;AAKF;EACE;EACA;;AAIF;EACE;EACA;;AAMN;EApDF;IAqDI;IACA;AAEA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAGF;IACE;IACA;IACA;;EAEA;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;;EAGF;IACE;;EAEA;IACE;IACA;;EAGF;IACE;;;;AC1GV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA;EAEE;EACA;EACA;EACA;EAEA;EACA;EACA,uBACE;EAEF;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;IACE;;EAEA;IACE;;;;AAMR;EACE;IACE;;;AClJJ;AAAA;AAAA;AAAA;AAIA;EAEE;EAGA;EAGA;EAGA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;AAEA;;AACA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;IACE;;;AAKN;EACE;;AA3BJ;AA8BE;;AACA;EACE;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EAEI;IACE;IACA;;;AAKN;EAEI;IACE;IACA;;;AAOV;EACE;;AAIJ;EAnIF;IAoII;IACA;;;AAGF;EAxIF;IAyII;IACA;IACA;IACA;;;AAGF;EACE;IACE;IACA;;EAEA;IACE;;;;AAMR;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EACA;EAEA;;AAEA;EACE;EACA;EACA;;AAGE;EACE;;AAIF;EACE;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAMJ;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AAOR;EACE;EAEA;EACA;EACA;EACA;;AAGA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIE;EACE;IACE;;;;ACtPZ;EAEE;EACA;EACA;EAEA;EACA;EACA,qBACE;EAEF;EACA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;IACE;;EAEA;IACE;;;;ACjHV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA","file":"main.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../src/sass/base/polices/_lato.scss","../../src/sass/base/polices/_myriad.scss","../../src/sass/abstracts/_variables.scss","../../src/sass/base/_base.scss","../../src/sass/base/_typographie.scss","../../src/sass/base/elements/_boutons.scss","../../src/sass/base/elements/_formulaires.scss","../../src/sass/base/elements/_images.scss","../../src/sass/base/elements/_liens.scss","../../src/sass/base/elements/_listes.scss","../../src/sass/layouts/_bandeau.scss","../../src/sass/layouts/_menu-mobile.scss","../../src/sass/layouts/_en-tete.scss","../../src/sass/layouts/_menu-categories-produits.scss","../../src/sass/layouts/_colonnes-photos.scss","../../src/sass/layouts/_grille-produits.scss","../../src/sass/layouts/_informations-produit.scss","../../src/sass/layouts/_produits-similaires.scss","../../src/sass/layouts/_pied-de-page.scss"],"names":[],"mappings":";AAAA;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;AAmBJ;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;ACjDJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;ACjBJ;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EAGA;EACA;AAAA;AAAA;EAGA;AAAA;AAAA;AAAA;AAKA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACjDF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;IACE;IACA;IACA;;EAGF;IACE;;;AC5FJ;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AC1BA;AAAA;AAAA;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAKN;EACE;EAEA;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAKN;EACE;EACA;;AAIA;EADF;IAEI;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;AAEA;EACE;IACE;IACA;;;;AC9FV;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EAEA;;;AAKF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;;AAQJ;EACE;;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;EACA;EACA;;AAGF;EACE;IACE;;;AAKN;EACE;;AA3BJ;AA8BE;AAAA;AAAA;;AAGA;EACE;EACA;;AAGF;EACE;IACE;;;;AAKN;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMJ;EACE;IACE;;;;AC7HN;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;EACE;EACA;;;ACZF;AAAA;AAAA;AAAA;AAAA;AAKA;AACE;EACA;EAEA;EACA;EACA;EACA,YACE,uIAM4B;EAE9B;AAEA;;AACA;EACE;;AApBJ;AAuBE;;AACA;AACE;EACA;EACA;AAEA;EACA;EAEA;EACA;AAEA;;AACA;EACE;;AAbJ;AAgBE;;AACA;EACE;;AAlBJ;AAqBE;;AACA;EACE;IACE;;;AAhDR;AAqDE;;AACA;EACE;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAjER;AAsEE;;AAEE;EACE;IACE;;;;AC/ER;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAMA;AACE;EACA;AAEA;EACA;AAEA;EACA;;AAEA;EACE;EACA,qLAEkE;;;AC9BxE;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAEA;EACE;;AAKN;EAEI;IACE;;;;AAMR;EACE;IACE;;EAGF;IACE;;;AC/CJ;EACE;EACA;;;AAGF;EAEE;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;;AAOV;EArEF;IAsEI;;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AC5FJ;EAEE;EACA;EAGA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAEA;EACE;EACA;AAEA;EACA;EACA;EACA;EACA;;AAtCN;AA0CE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAbJ;AAgBE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AASA;AACE;EACA;EACA;EACA;AAEA;EACA;;AAGA;EACE;;AAKF;EACE;;AAIF;EACE;EACA,yFAC2C;EAE3C;;AAGF;EACE;IACE;;;AAOJ;EADF;IAEI;;;AAKN;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAKN;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIF;EAbF;IAcI;;;AAIJ;EAvKF;IAwKI;;;;AC1KJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;AACE;EACA;EAGA;EACA;EAIA;EACA;;AAGE;EACE;;AAKF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAIF;EApBF;IAqBI;;;AA9CN;AAkDE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAOA;EACE;EACA,uBACE;EAEF;EACA;AAEA;AAAA;AAAA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;EACA;;AAEA;EACE;IACE;;;AAlBV;AAwBE;AAAA;AAAA;AAAA;AAAA;;AAKA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAMR;EA7DF;IA8DI;IAEA;IACA;IACA;;EAEA;IACE;IACA;;EAEA;IACE;IACA;;;AAMN;EAhFF;IAiFI;IACA;IACA;;EAEA;IACE;IACA;;;;ACtJR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EAEE;EAGA;EACA;AAAA;AAAA;EAGA;EAGA;EAEA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGA;EACE;;AAKF;EACE;EACA;;AAIF;EACE;EACA;;AAMN;EApDF;IAqDI;IACA;AAEA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAGF;IACE;IACA;IACA;;EAEA;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;;EAGF;IACE;;EAEA;IACE;IACA;;EAGF;IACE;;;;AC1GV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA;EAEE;EACA;EACA;EACA;EAEA;EACA;EACA,uBACE;EAEF;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;IACE;;EAEA;IACE;;;;AAMR;EACE;IACE;;;AClJJ;AAAA;AAAA;AAAA;AAIA;EAEE;EAGA;EAGA;EAGA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;AAEA;;AACA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;IACE;;;AAKN;EACE;;AA9BJ;AAiCE;;AACA;EACE;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EAEI;IACE;IACA;;;AAKN;EAEI;IACE;IACA;;;AAOV;EACE;;AAIJ;EAtIF;IAuII;IACA;;;AAGF;EA3IF;IA4II;IACA;IACA;IACA;;;AAGF;EACE;IACE;IACA;;EAEA;IACE;;;;AAMR;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EACA;EAEA;;AAEA;EACE;EACA;EACA;;AAGE;EACE;;AAIF;EACE;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAMJ;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AAOR;EACE;EAEA;EACA;EACA;EACA;;AAGA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIE;EACE;IACE;;;;ACzPZ;EAEE;EACA;EACA;EAEA;EACA;EACA,qBACE;EAEF;EACA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;IACE;;EAEA;IACE;;;;ACjHV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA","file":"main.css"} \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css index a3955273..30b732f5 100755 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css @@ -1 +1 @@ -@font-face{font-family:Lato;font-weight:100 900;font-style:normal;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-weight:100 900;font-style:italic;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Myriad;font-weight:300 900;font-style:normal;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf)format("truetype")}@font-face{font-family:Myriad;font-weight:300 900;font-style:italic;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf)format("truetype")}:root{--couleur-blanc:#fff;--couleur-blanc-fond:#ffffffe6;--couleur-gris:#eceaeb;--couleur-gris-fonce:gray;--couleur-gris-fonce-fond:#808080cc;--couleur-bordeaux:#490918;--couleur-bordeaux-fond:#490918cc;--couleur-jaune:#defdb5;--couleur-jaune-fond:#ebffb8cc;--couleur-noir:#202020;--couleur-fond:#eceaebcc;--police-lato:"Lato",sans-serif;--hauteur-ligne-classique:1.5;--hauteur-ligne-moitie:1.2;--hauteur-ligne-compacte:1.1;--hauteur-ligne-rapprochee:1;--espacement-inter-lettres-rapproche-m:-1px;--espacement-inter-lettres-rapproche-s:-.5px;--espacement-inter-lettres-etendu-s:.5px;--espacement-inter-lettres-etendu-m:1px;--espacement-inter-lettres-etendu-l:1.5px;--espacement-inter-lettres-etendu-xl:2px;--en-tete-hauteur:61px;--menu-categories-produits-hauteur:calc(var(--espace-m)*2 + 1rlh);--pied-de-page-hauteur:calc(.8rem*1.5*3 + var(--espace-s)*2);--contenu-page-hauteur-minimale-sans-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur));--contenu-page-hauteur-minimale-avec-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--menu-categories-produits-hauteur));--espace-2xs:.1rem;--espace-xs:.25rem;--espace-s:.5rem;--espace-m:1rem;--espace-l:1.25rem;--espace-xl:2rem}html{box-sizing:border-box}*,:before,:after{box-sizing:inherit;font:inherit;color:inherit;outline-offset:-2px;outline:2px dashed #0000;margin:0;padding:0}@view-transition{navigation:auto}body{overscroll-behavior:none;accent-color:var(--couleur-jaune);background:var(--couleur-gris)}button,input,select,textarea{font:inherit}::selection{background:var(--couleur-jaune)}[hidden]{display:none!important}:focus-visible{outline-color:var(--couleur-noir);transition:outline-color .2s}.visuellement-cache:not(:focus,:active,:focus-within){white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}[disabled]{cursor:not-allowed}@media (prefers-reduced-motion){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:0s!important}@view-transition{}}html{font:1rem/var(--hauteur-ligne-classique)Lato;font-optical-sizing:auto;font-kerning:normal;font-variant-ligatures:common-ligatures no-discretionary-ligatures no-historical-ligatures contextual;-webkit-font-smoothing:antialiased;color:var(--couleur-noir);text-decoration-skip-ink:auto;text-size-adjust:none;text-rendering:geometricprecision;letter-spacing:var(--espacement-inter-lettres-etendu-s)}strong{font-weight:600}em{font-style:italic}button{all:initial;cursor:pointer;box-sizing:border-box;text-align:center;letter-spacing:inherit;outline-offset:-2px;outline:2px dashed #0000;font-family:Lato;transition:background .2s,color .2s,outline-color .2s}button:not[disabled]:focus-visible{z-index:5;outline-color:var(--couleur-noir)}button:not[disabled]:active{color:var(--couleur-blanc)!important;background:var(--couleur-noir)!important}@media (hover:hover){button:not[disabled]:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}button:disabled,button[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}button.bouton-case-pleine{width:100%;height:100%}button.bouton-case-pleine.bouton-blanc-sur-noir{text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}button.bouton-case-pleine.bouton-blanc-sur-noir:focus-visible{color:var(--couleur-noir);background:var(--couleur-jaune)}button.bouton-blanc-sur-noir{color:var(--couleur-blanc);background:var(--couleur-noir)}@media (hover:hover){button.bouton-fleche{background:initial}}button.bouton-retour-haut{right:var(--espace-xl);bottom:calc(var(--espace-l) + var(--pied-de-page-hauteur));padding:var(--espace-m);border:1px solid var(--couleur-noir);visibility:hidden;opacity:0;background:var(--couleur-fond);box-shadow:initial;border-radius:100%;transition:background .2s,opacity .2s,visibility .2s;position:fixed;transform:rotate(180deg)}button.bouton-retour-haut img{background:0 0;width:1rem;height:1rem}button.bouton-retour-haut[data-actif]{visibility:visible;opacity:.6}@media (hover:hover){button.bouton-retour-haut[data-actif]:hover{opacity:1;background:var(--couleur-jaune-fond)}}fieldset{all:initial;margin-top:var(--espace-l);font:inherit;flex-flow:column;display:flex}input,select,textarea{padding:var(--espace-xs);border:1px solid var(--couleur-noir);accent-color:var(--couleur-jaune);background:var(--couleur-gris);transition:background .2s}input:focus-visible,input:focus-within,input:active,select:focus-visible,select:focus-within,select:active,textarea:focus-visible,textarea:focus-within,textarea:active{z-index:10;outline:2px dashed var(--couleur-noir)}input:disabled,input[disabled],select:disabled,select[disabled],textarea:disabled,textarea[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}input:is([type=email],[type=text],[type=tel])::placeholder,textarea::placeholder{text-transform:lowercase;letter-spacing:var(--espacement-inter-lettres-etendu-s)}input:is([type=email],[type=text],[type=tel])::selection,textarea::selection{color:var(--couleur-blanc);background:var(--couleur-noir)}input:is([type=email],[type=text],[type=tel]):user-valid,textarea:user-valid{background:var(--couleur-jaune)}input:is([type=email],[type=text],[type=tel]):user-invalid,textarea:user-invalid{background:var(--couleur-gris)}input,label,select,textarea{cursor:pointer}input[type=checkbox],input[type=radio]{width:var(--espace-l);height:var(--espace-l);padding:initial;border:1px solid var(--couleur-noir);appearance:none;transition:background .2s}input[type=checkbox]:checked,input[type=radio]:checked{background:var(--couleur-jaune)}input[type=checkbox]:checked:before,input[type=radio]:checked:before{content:"x";position:relative;bottom:.1rem;left:.35rem}@media (hover:hover){input[type=checkbox]:checked:hover,input[type=radio]:checked:hover{color:var(--couleur-noir)}}input[type=checkbox]:not(:checked):user-valid,input[type=radio]:not(:checked):user-valid{background:initial}label:has(~input[type=checkbox],~input[type=radio]),input[type=checkbox]+label,input[type=radio]+label{padding-top:1px;font-size:.9rem}@media (hover:hover){input[type=checkbox]:hover,input[type=radio]:hover{background:var(--couleur-jaune)}}input[type=radio]{appearance:initial;border-radius:100%}input[type=radio]:checked{place-content:center;place-items:center;display:inline-flex}input[type=radio]:checked:before{content:" ";inset:initial;width:calc(var(--espace-l)/2);height:calc(var(--espace-l)/2);background:var(--couleur-noir);border-radius:100%;display:inline-block}@media (hover:hover){textarea:hover{color:var(--couleur-noir)}}img,picture{max-width:100%;display:block}img{object-fit:cover;background:var(--couleur-jaune)}a{--lien-contour-couleur-focus:var(--couleur-noir);text-decoration-skip-ink:auto;text-decoration-skip:edges;text-decoration:underline #0000;transition:background .2s,border-color .2s,color .2s,font-weight .2s,outline-color .2s,letter-spacing .2s,text-decoration-color .2s}a:focus-visible{outline-color:var(--lien-contour-couleur-focus)}a.lien-bouton{--lien-bouton-marges-internes-bloc:var(--espace-xs);--lien-bouton-marges-internes-ligne:var(--espace-m);--lien-bouton-arriere-plan-couleur-survol:var(--couleur-jaune);padding:var(--lien-bouton-marges-internes-bloc)var(--lien-bouton-marges-internes-ligne);border:1px solid var(--couleur-noir)}a.lien-bouton:focus-visible{background:var(--lien-bouton-arriere-plan-couleur-survol)}a.lien-bouton:active{border-color:var(--lien-bouton-arriere-plan-couleur-survol)}@media (hover:hover){a.lien-bouton:hover{background:var(--lien-bouton-arriere-plan-couleur-survol)}}a.lien-lien{text-decoration:underline}a.lien-lien:active{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}@media (hover:hover){a.lien-lien:hover{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}a:not([class]):hover{text-decoration-color:var(--couleur-noir)}}ul{list-style:none}ul.avec-puce-cercle{--liste-puce-cercle-lien-marges-internes-ligne-debut:2ch;--liste-puce-cercle-puce-position-horizontale:1ch;--liste-puce-cercle-puce-taille:1.25ex}ul.avec-puce-cercle a{padding-left:var(--liste-puce-cercle-lien-marges-internes-ligne-debut);background:no-repeat var(--liste-puce-cercle-puce-position-horizontale)center/var(--liste-puce-cercle-puce-taille)url(/app/themes/haiku-atelier-2024/assets/img/icons/dot.svg)}.bandeau{column-gap:var(--espace-m);border-top:1px solid var(--couleur-noir);width:100%;color:var(--couleur-noir);text-transform:uppercase;white-space:nowrap;background:var(--couleur-jaune);font-style:italic;display:flex;overflow:hidden}.bandeau__conteneur{column-gap:var(--espace-m);flex-flow:row;animation:15s linear infinite both marquee;display:flex}.bandeau__conteneur ::selection{color:var(--couleur-jaune);background:var(--couleur-noir)}.bandeau__conteneur p{padding:var(--espace-s)0;display:inline-block}.bandeau__conteneur p strong{font-weight:600}@media (hover:hover){.bandeau:hover .bandeau__conteneur{animation-play-state:paused}}@keyframes marquee{0%{transform:translate(0%)}to{transform:translate(-100%)}}body:has(#menu-mobile:not([aria-hidden=true])){touch-action:none;overflow:hidden}#menu-mobile{--menu-mobile-hauteur:calc(100svh - var(--en-tete-hauteur));z-index:997;inset:var(--en-tete-hauteur)0 0 0;overscroll-behavior:contain;width:100vw;height:var(--menu-mobile-hauteur);transition:display .4s;transition:display .4s allow-discrete;-webkit-overflow-scrolling:none;display:flex;position:fixed;overflow:hidden}#menu-mobile[aria-hidden=true]{animation:.4s both fade-out;display:none}#menu-mobile[aria-hidden=true] .menu-modale__fond{animation:.4s both fade-out}#menu-mobile .menu-modale__fond{z-index:998;inset:var(--en-tete-hauteur)0 0 0;height:var(--menu-mobile-hauteur);opacity:0;background-color:var(--couleur-fond);animation:.4s both fade-in;position:fixed}#menu-mobile .menu-modale__conteneur{z-index:999;width:100%;height:fit-content;padding:var(--espace-xl);border-bottom:1px solid var(--couleur-noir);opacity:0;background-color:var(--couleur-gris);flex-flow:column;animation:.4s .2s both fade-in;display:flex;position:relative}#menu-mobile .menu-modale__conteneur .menu-navigation{grid-template-columns:1fr}#menu-mobile .menu-modale__conteneur .menu-navigation ul{grid-column:initial;flex-flow:column;place-items:center}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span{width:fit-content}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span li a{padding-top:var(--espace-m);padding-bottom:var(--espace-m)}@media (width>1000px){#menu-mobile{display:none}}@keyframes fade-in{to{opacity:1}}@keyframes fade-out{to{opacity:0}}@keyframes slide-in{to{transform:translateY(0)}}#en-tete{--en-tete-marges-internes-ligne:var(--espace-xl);--en-tete-marges-internes-bloc:var(--espace-m);--en-tete-section-hauteur:var(--en-tete-hauteur);--en-tete-logo-longueur:160px;z-index:60;min-width:100vw;max-width:100vw;height:var(--en-tete-hauteur);padding:var(--en-tete-marges-internes-bloc)var(--en-tete-marges-internes-ligne);border-bottom:1px solid var(--couleur-noir);background:var(--couleur-gris);flex-flow:row;justify-content:space-between;place-items:center;display:flex;position:fixed;top:0}#en-tete picture,#en-tete img{background:0 0}#en-tete .logo{width:var(--en-tete-logo-longueur)}#en-tete .logo img{object-fit:contain;width:100%;height:40px;image-rendering:crisp-edges;shape-rendering:geometricprecision;margin-left:-6px}#en-tete .menu-navigation{text-align:center;text-transform:lowercase;flex:1;grid-template-columns:1fr auto 1fr;font-size:1.1rem;display:grid}#en-tete .menu-navigation ul{gap:var(--espace-m);flex-flow:row;grid-column:2;justify-content:space-between;display:flex}#en-tete .menu-navigation__entree{--nav-entree-marges-internes-bloc:var(--espace-xs);--nav-entree-marges-internes-ligne:3rem;--liste-puce-cercle-lien-marges-internes-ligne-debut:calc(var(--espace-m) + 1.5ch);--liste-puce-cercle-puce-position-horizontale:3.5ch}#en-tete .menu-navigation__entree:has(a[aria-current=page]),#en-tete .menu-navigation__entree--courante{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}#en-tete .menu-navigation__entree a{padding:var(--nav-entree-marges-internes-bloc)var(--nav-entree-marges-internes-ligne);text-align:center;display:inline-block}@media (hover:hover){#en-tete .menu-navigation__entree:hover{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}}@media (width<=1000px){#en-tete .menu-navigation#menu-navigation-en-tete{display:none}}#en-tete .compte-panier{text-align:center;flex-flow:row;place-items:center;gap:1rem;display:flex}#en-tete .compte-panier[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px}#en-tete .compte-panier[disabled] a:hover,#en-tete .compte-panier[disabled] a:active,#en-tete .compte-panier[disabled] a:focus-within{border:1px solid var(--couleur-noir);background:initial}#en-tete .compte-panier a{text-transform:lowercase;padding-block:var(--espace-2xs);padding-inline:var(--espace-s)}#en-tete .compte-panier a.lien-compte{border-color:#0000}#en-tete .compte-panier a[data-contient-articles=true]{background:var(--couleur-jaune)}#en-tete .conteneur{column-gap:var(--espace-m);display:flex}#en-tete .bouton-menu-mobile{--hauteur-bouton-menu:22px;align-content:center;display:none}#en-tete .bouton-menu-mobile img{height:var(--hauteur-bouton-menu);object-fit:contain;image-rendering:crisp-edges;shape-rendering:geometricprecision}@media (width<=1000px){#en-tete .bouton-menu-mobile{display:block}}@media (width<=600px){#en-tete{--en-tete-marges-internes-ligne:var(--espace-l)}}#menu-categories-produits{--menu-entree-longueur-minimale:13ch;--menu-section-marges-bloc-debut:var(--en-tete-hauteur);--menu-entree-marges-internes-ligne:var(--espace-m);margin-top:var(--menu-section-marges-bloc-debut);position:relative}#menu-categories-produits[data-entrees-presentes-debut] svg:first-of-type,#menu-categories-produits[data-entrees-presentes-fin] svg:last-of-type{opacity:1}#menu-categories-produits svg{pointer-events:none;opacity:0;mix-blend-mode:exclusion;width:.8rem;height:.8rem;shape-rendering:geometricprecision;transition:opacity .2s;position:absolute;bottom:calc(17.59px - .35rem)}#menu-categories-produits svg:first-of-type{left:var(--espace-xs)}#menu-categories-produits svg:last-of-type{right:var(--espace-xs)}@media (width>600px){#menu-categories-produits svg{visibility:hidden}}#menu-categories-produits ul{grid-template-columns:repeat(auto-fit,minmax(var(--menu-entree-longueur-minimale),1fr));place-items:center;gap:1px;display:grid}#menu-categories-produits ul li{width:100%;color:var(--couleur-gris);text-align:center;text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);background:var(--couleur-noir);font-style:italic;font-weight:450}#menu-categories-produits ul li.categorie-courante a{color:var(--couleur-noir);background:var(--couleur-jaune);font-weight:600}@media (hover:hover){#menu-categories-produits ul li.categorie-courante a:hover{color:var(--couleur-noir)}}#menu-categories-produits ul li a{width:inherit;padding:var(--menu-entree-marges-internes-ligne)0;outline:initial;text-decoration:none;display:inline-block}#menu-categories-produits ul li a:focus-visible{color:var(--couleur-jaune);outline:initial}@media (hover:hover){#menu-categories-produits ul li a:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}@media (width<=1000px){#menu-categories-produits ul{--menu-entree-marges-internes-ligne:var(--espace-s);flex-flow:wrap;font-size:.8rem;display:flex}#menu-categories-produits ul li{flex-grow:1;width:min(140px,100%)}#menu-categories-produits ul li a{border:initial;width:100%}}@media (width<=600px){#menu-categories-produits ul{scrollbar-width:none;flex-flow:row;overflow-x:scroll}#menu-categories-produits ul li{width:initial;min-width:140px}}.photos-produit{--colonne-gauche-position-haut:var(--menu-categories-produits-hauteur);--colonne-gauche-photo-hauteur:calc(100svh - var(--menu-categories-produits-hauteur));--colonne-droite-photo-hauteur-minimale:calc(100svh + var(--en-tete-hauteur) + var(--menu-categories-produits-hauteur));--colonne-photo-longueur-minimale:30rem;--section-marges-externes-bloc-fin:1rem;flex-flow:row;max-width:100%;display:flex;position:relative}.photos-produit .colonne{width:min(var(--colonne-photo-longueur-minimale),100%);flex-flow:column;flex-grow:1;display:flex;position:relative}.photos-produit .colonne.colonne-gauche{top:var(--colonne-gauche-position-haut);height:var(--colonne-gauche-photo-hauteur);position:sticky}.photos-produit .colonne.colonne-gauche figure,.photos-produit .colonne.colonne-gauche picture,.photos-produit .colonne.colonne-gauche img{height:100%}.photos-produit .colonne.colonne-droite img{width:100%;max-height:var(--colonne-droite-photo-hauteur-minimale)}.photos-produit .colonne.colonne-droite figure picture img:only-child{min-height:var(--colonne-droite-photo-hauteur-minimale);max-height:var(--colonne-droite-photo-hauteur-minimale)}@media (width<=60rem){.photos-produit{--colonne-droite-photo-hauteur-minimale:var(--photo-hauteur-maximum);--photo-longueur-maximum:calc(100% - var(--espace-xl));--photo-hauteur-maximum:calc(100svh - var(--en-tete-hauteur) - 87px);scroll-behavior:smooth;scrollbar-width:none;scroll-snap-type:x mandatory;width:fit-content;max-width:initial;flex-flow:row;overflow-x:scroll}.photos-produit::-webkit-scrollbar{display:none}.photos-produit .colonne{scroll-snap-type:x mandatory;width:100%;min-width:100%}.photos-produit .colonne figure{scroll-snap-align:none center}.photos-produit .colonne img{max-height:var(--photo-hauteur-maximum)}.photos-produit .colonne.colonne-gauche{position:initial;min-width:var(--photo-longueur-maximum);height:initial}.photos-produit .colonne.colonne-droite{flex-flow:row}.photos-produit .colonne.colonne-droite figure{min-width:var(--photo-longueur-maximum);flex-grow:1}.photos-produit .colonne.colonne-droite:has(figure:only-child){min-width:var(--photo-longueur-maximum)}}.grille-produits{--grille-produits-hauteur-minimale:var(--contenu-page-hauteur-minimale-avec-categories);--aucun-produit-hauteur:var(--contenu-page-hauteur-minimale-avec-categories);--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));min-height:var(--grille-produits-hauteur-minimale);gap:1px;display:grid}.grille-produits article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.grille-produits article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.grille-produits article figure a{position:relative}@media (hover:hover){.grille-produits article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.grille-produits article figure img{position:inherit;aspect-ratio:9/16;object-fit:cover;background:0 0;width:100%;max-height:70vh}.grille-produits article figure .produit__illustration__principale{display:block}.grille-produits article figure .produit__illustration__principale:before{content:"";z-index:-1;opacity:0;filter:opacity(20%);background-image:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-gris.svg);background-position:50%;background-repeat:no-repeat;background-size:50%;width:100%;height:100%;animation:1.5s linear .5s infinite alternate both test;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__principale img{opacity:0;transition:opacity 1s}.grille-produits article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__survol img{background:var(--couleur-fond)}.grille-produits article figure figcaption{margin-bottom:var(--espace-xl);padding:var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.grille-produits article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.grille-produits article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}.grille-produits__aucun-produit{min-height:var(--aucun-produit-hauteur);text-align:center;grid-column:span 3;align-content:center}.grille-produits__aucun-produit p+p{margin-top:var(--espace-l);font-size:1.25rem}@media (width<=700px){.grille-produits{grid-template-columns:100%}.grille-produits article figure img{max-height:50svh}}@keyframes test{to{opacity:1}}.resume-produit{--resume-position-basse:0%;--section-marges-internes:var(--espace-l);--espace-inter-colonne:var(--espace-xl);--resume-police-graisse:500;--resume-police-style:italic;--resume-police-taille:var(--espace-l);--resume-police-nom-taille:1.33rem;--resume-police-selecteur-graisse:400;--resume-police-selecteur-taille:var(--espace-m);bottom:var(--resume-position-basse);position:sticky}.resume-produit .selecteur-produit{column-gap:var(--espace-inter-colonne);border-block:1px solid var(--couleur-noir);font-size:var(--resume-police-taille);font-weight:var(--resume-police-graisse);font-style:var(--resume-police-style);line-height:var(--hauteur-ligne-compacte);background:var(--couleur-blanc-fond);grid-template-columns:repeat(3,1fr);grid-auto-flow:column;place-items:center;display:grid;position:relative}.resume-produit .selecteur-produit>*{width:100%;height:100%;padding:var(--section-marges-internes);flex-flow:row;place-content:center;place-items:center;display:flex}.resume-produit .selecteur-produit>:nth-child(2){border-inline-start:1px solid var(--couleur-noir);border-inline-end:1px solid var(--couleur-noir)}.resume-produit .selecteur-produit__nom{font-size:var(--resume-police-nom-taille)}.resume-produit .selecteur-produit__selection-variation{font-size:var(--resume-police-selecteur-taille);font-weight:var(--resume-police-selecteur-graisse);text-transform:lowercase}.resume-produit .selecteur-produit__selection-variation label{margin-right:var(--espace-s)}.resume-produit .selecteur-produit__selection-variation select{padding:var(--espace-xs)var(--espace-l);border:1px solid var(--couleur-noir);text-align:center;letter-spacing:initial;appearance:none;background:var(--couleur-fond);position:relative}@supports selector(:user-valid){.resume-produit .selecteur-produit__selection-variation select:user-valid{background:var(--couleur-jaune-fond)}}.resume-produit .selecteur-produit__selection-variation option{background:var(--couleur-fond)}.resume-produit .selecteur-produit__selection-variation__selecteurs{position:relative}.resume-produit .selecteur-produit__selection-variation__selecteurs:after{pointer-events:none;content:" ";text-align:center;visibility:visible;opacity:1;background:url(/app/themes/haiku-atelier-2024/assets/img/icons/arrow.svg) no-repeat;width:.9rem;height:.9rem;transition:opacity .2s,visibility .2s;display:inline-block;position:absolute;top:10px;right:.4rem}@supports not selector(:user-valid){.resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:valid):after{visibility:hidden;opacity:0}}@supports selector(:user-valid){.resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:user-valid):after{visibility:hidden;opacity:0}}.resume-produit .selecteur-produit__prix{font-style:initial}@media (width<=800px){.resume-produit{--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-m)}}@media (width<=700px){.resume-produit{--resume-police-taille:var(--espace-m);--resume-police-nom-taille:var(--espace-m);--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-s)}}@media (width<=500px){.resume-produit .selecteur-produit__selection-variation{row-gap:var(--espace-inter-colonne);flex-flow:column}.resume-produit .selecteur-produit__selection-variation h3{flex-basis:100%}}.details-produit{--bouton-marges-internes-bloc:var(--espace-l);--espace-inter-lignes:var(--espace-l);--espace-inter-texte:var(--espace-m);--section-marges-internes:var(--espace-l);--textuel-marges-internes-ligne:calc(var(--espace-l)*2);background-color:var(--couleur-blanc)}.details-produit__textes{grid-template-columns:1fr;grid-auto-flow:row;display:grid}.details-produit__textes .section-textuelle:not(:last-of-type){border-block-end:1px solid var(--couleur-noir)}.details-produit__textes .section-textuelle:has(button[aria-expanded=false]) .section-textuelle__contenu{display:none}.details-produit__textes .section-textuelle h3{line-height:var(--hauteur-ligne-rapprochee)}.details-produit__textes .section-textuelle h3 button{width:100%;min-block-size:1lh;padding:var(--section-marges-internes);text-align:start;display:inline-block}.details-produit__textes .section-textuelle .section-textuelle__contenu{padding-block-end:var(--section-marges-internes);padding-inline:var(--textuel-marges-internes-ligne)}.details-produit__textes .section-textuelle .section-textuelle__contenu ul{list-style:inside}.details-produit__textes .section-textuelle .section-textuelle__contenu a{text-decoration-color:var(--couleur-noir)}.details-produit__textes .section-textuelle .section-textuelle__contenu>*+*{margin-top:var(--espace-inter-texte)}.details-produit__actions{--section-marges-internes:var(--espace-l);border-block:1px solid var(--couleur-noir);background:var(--couleur-jaune);transition:background .2s;overflow:hidden}.details-produit__actions:has(button[disabled]){background:var(--couleur-fond)}.details-produit__actions button{height:initial;padding:var(--section-marges-internes);text-transform:uppercase;font-style:italic;transition:background .2s,font-weight .2s}@media (hover:hover){.details-produit__actions button:not([disabled]):hover{font-weight:600}}.produits-similaires{--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;--en-tete-flottante-hauteur:calc(1rem + var(--espace-l)*2 + 1px);grid-template-rows:1fr auto;grid-template-columns:repeat(3,1fr);grid-template-areas:"en-tete en-tete en-tete""produits produits produits";place-items:center;display:grid;position:relative}.produits-similaires header{z-index:10;top:var(--en-tete-flottante-hauteur);width:100%;padding:var(--espace-l)0;color:var(--couleur-blanc);text-align:center;background:var(--couleur-noir);grid-area:en-tete;position:sticky}.produits-similaires header h2{font-style:italic;line-height:var(--hauteur-ligne-rapprochee);text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m)}.produits-similaires .grille-produits-similaires{grid-area:produits;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));gap:1px;width:100%;display:grid}.produits-similaires .grille-produits-similaires article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.produits-similaires .grille-produits-similaires article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.produits-similaires .grille-produits-similaires article figure a{position:relative}@media (hover:hover){.produits-similaires .grille-produits-similaires article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.produits-similaires .grille-produits-similaires article figure .produit__illustration__principale{display:block}.produits-similaires .grille-produits-similaires article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.produits-similaires .grille-produits-similaires article figure img{aspect-ratio:9/16;object-fit:cover;width:100%;max-height:70svh}.produits-similaires .grille-produits-similaires article figure figcaption{margin-bottom:var(--espace-xl);padding:0 var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.produits-similaires .grille-produits-similaires article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.produits-similaires .grille-produits-similaires article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}@media (width<=700px){.produits-similaires .grille-produits-similaires{grid-template-columns:100%}.produits-similaires .grille-produits-similaires article figure img{max-height:50svh}}#pied-de-page{max-width:100vw;height:var(--pied-de-page-hauteur);padding:var(--espace-s)var(--espace-m);border-top:1px solid var(--couleur-noir);background:var(--couleur-jaune);grid-template-columns:1fr 1fr;place-items:center;font-size:.8rem;display:grid}#pied-de-page .zone-menu-navigation-secondaire{text-transform:lowercase;justify-self:start;width:100%;height:100%}#pied-de-page .zone-liens-reseaux-sociaux{text-align:right;justify-items:end;width:100%;height:100%} \ No newline at end of file +@font-face{font-family:Lato;font-weight:100 900;font-style:normal;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-weight:100 900;font-style:italic;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Myriad;font-weight:300 900;font-style:normal;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf)format("truetype")}@font-face{font-family:Myriad;font-weight:300 900;font-style:italic;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf)format("truetype")}:root{--couleur-blanc:#fff;--couleur-blanc-fond:#ffffffe6;--couleur-gris:#eceaeb;--couleur-gris-fonce:gray;--couleur-gris-fonce-fond:#808080cc;--couleur-bordeaux:#490918;--couleur-bordeaux-fond:#490918cc;--couleur-jaune:#defdb5;--couleur-jaune-fond:#ebffb8cc;--couleur-noir:#202020;--couleur-fond:#eceaebcc;--police-lato:"Lato",sans-serif;--hauteur-ligne-classique:1.5;--hauteur-ligne-moitie:1.2;--hauteur-ligne-compacte:1.1;--hauteur-ligne-rapprochee:1;--espacement-inter-lettres-rapproche-m:-1px;--espacement-inter-lettres-rapproche-s:-.5px;--espacement-inter-lettres-etendu-s:.5px;--espacement-inter-lettres-etendu-m:1px;--espacement-inter-lettres-etendu-l:1.5px;--espacement-inter-lettres-etendu-xl:2px;--en-tete-hauteur:61px;--menu-categories-produits-hauteur:calc(var(--espace-m)*2 + 1rlh);--pied-de-page-hauteur:calc(.8rem*1.5*3 + var(--espace-s)*2);--contenu-page-hauteur-minimale-sans-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur));--contenu-page-hauteur-minimale-avec-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--menu-categories-produits-hauteur));--espace-2xs:.1rem;--espace-xs:.25rem;--espace-s:.5rem;--espace-m:1rem;--espace-l:1.25rem;--espace-xl:2rem}html{box-sizing:border-box}*,:before,:after{box-sizing:inherit;font:inherit;color:inherit;outline-offset:-2px;outline:2px dashed #0000;margin:0;padding:0}@view-transition{navigation:auto}body{overscroll-behavior:none;accent-color:var(--couleur-jaune);background:var(--couleur-gris)}button,input,select,textarea{font:inherit}::selection{background:var(--couleur-jaune)}[hidden]{display:none!important}:focus-visible{outline-color:var(--couleur-noir);transition:outline-color .2s}.visuellement-cache:not(:focus,:active,:focus-within){white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}[disabled]{cursor:not-allowed}@media (prefers-reduced-motion){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:0s!important}@view-transition{}}html{font:1rem/var(--hauteur-ligne-classique)Lato;font-optical-sizing:auto;font-kerning:normal;font-variant-ligatures:common-ligatures no-discretionary-ligatures no-historical-ligatures contextual;-webkit-font-smoothing:antialiased;color:var(--couleur-noir);text-decoration-skip-ink:auto;text-size-adjust:none;text-rendering:geometricprecision;letter-spacing:var(--espacement-inter-lettres-etendu-s)}strong{font-weight:600}em{font-style:italic}button{all:initial;cursor:pointer;box-sizing:border-box;text-align:center;letter-spacing:inherit;outline-offset:-2px;outline:2px dashed #0000;font-family:Lato;transition:background .2s,color .2s,outline-color .2s}button:not[disabled]:focus-visible{z-index:5;outline-color:var(--couleur-noir)}button:not[disabled]:active{color:var(--couleur-blanc)!important;background:var(--couleur-noir)!important}@media (hover:hover){button:not[disabled]:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}button:disabled,button[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}button.bouton-case-pleine{width:100%;height:100%}button.bouton-case-pleine.bouton-blanc-sur-noir{text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}button.bouton-case-pleine.bouton-blanc-sur-noir:focus-visible{color:var(--couleur-noir);background:var(--couleur-jaune)}button.bouton-blanc-sur-noir{color:var(--couleur-blanc);background:var(--couleur-noir)}@media (hover:hover){button.bouton-fleche{background:initial}}button.bouton-retour-haut{right:var(--espace-xl);bottom:calc(var(--espace-l) + var(--pied-de-page-hauteur));padding:var(--espace-m);border:1px solid var(--couleur-noir);visibility:hidden;opacity:0;background:var(--couleur-fond);box-shadow:initial;border-radius:100%;transition:background .2s,opacity .2s,visibility .2s;position:fixed;transform:rotate(180deg)}button.bouton-retour-haut img{background:0 0;width:1rem;height:1rem}button.bouton-retour-haut[data-actif]{visibility:visible;opacity:.6}@media (hover:hover){button.bouton-retour-haut[data-actif]:hover{opacity:1;background:var(--couleur-jaune-fond)}}fieldset{all:initial;margin-top:var(--espace-l);font:inherit;flex-flow:column;display:flex}input,select,textarea{padding:var(--espace-xs);border:1px solid var(--couleur-noir);accent-color:var(--couleur-jaune);background:var(--couleur-gris);transition:background .2s}input:focus-visible,input:focus-within,input:active,select:focus-visible,select:focus-within,select:active,textarea:focus-visible,textarea:focus-within,textarea:active{z-index:10;outline:2px dashed var(--couleur-noir)}input:disabled,input[disabled],select:disabled,select[disabled],textarea:disabled,textarea[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}input:is([type=email],[type=text],[type=tel])::placeholder,textarea::placeholder{text-transform:lowercase;letter-spacing:var(--espacement-inter-lettres-etendu-s)}input:is([type=email],[type=text],[type=tel])::selection,textarea::selection{color:var(--couleur-blanc);background:var(--couleur-noir)}input:is([type=email],[type=text],[type=tel]):user-valid,textarea:user-valid{background:var(--couleur-jaune)}input:is([type=email],[type=text],[type=tel]):user-invalid,textarea:user-invalid{background:var(--couleur-gris)}input,label,select,textarea{cursor:pointer}input[type=checkbox],input[type=radio]{width:var(--espace-l);height:var(--espace-l);padding:initial;border:1px solid var(--couleur-noir);appearance:none;transition:background .2s}input[type=checkbox]:checked,input[type=radio]:checked{background:var(--couleur-jaune)}input[type=checkbox]:checked:before,input[type=radio]:checked:before{content:"x";position:relative;bottom:.1rem;left:.35rem}@media (hover:hover){input[type=checkbox]:checked:hover,input[type=radio]:checked:hover{color:var(--couleur-noir)}}input[type=checkbox]:not(:checked):user-valid,input[type=radio]:not(:checked):user-valid{background:initial}label:has(~input[type=checkbox],~input[type=radio]),input[type=checkbox]+label,input[type=radio]+label{padding-top:1px;font-size:.9rem}@media (hover:hover){input[type=checkbox]:hover,input[type=radio]:hover{background:var(--couleur-jaune)}}input[type=radio]{appearance:initial;border-radius:100%}input[type=radio]:checked{place-content:center;place-items:center;display:inline-flex}input[type=radio]:checked:before{content:" ";inset:initial;width:calc(var(--espace-l)/2);height:calc(var(--espace-l)/2);background:var(--couleur-noir);border-radius:100%;display:inline-block}@media (hover:hover){textarea:hover{color:var(--couleur-noir)}}img,picture{max-width:100%;display:block}img{object-fit:cover;background:var(--couleur-jaune)}a{--lien-contour-couleur-focus:var(--couleur-noir);text-decoration-skip-ink:auto;text-decoration-skip:edges;text-decoration:underline #0000;transition:background .2s,border-color .2s,color .2s,font-weight .2s,outline-color .2s,letter-spacing .2s,text-decoration-color .2s}a:focus-visible{outline-color:var(--lien-contour-couleur-focus)}a.lien-bouton{--lien-bouton-marges-internes-bloc:var(--espace-xs);--lien-bouton-marges-internes-ligne:var(--espace-m);--lien-bouton-arriere-plan-couleur-survol:var(--couleur-jaune);padding:var(--lien-bouton-marges-internes-bloc)var(--lien-bouton-marges-internes-ligne);border:1px solid var(--couleur-noir)}a.lien-bouton:focus-visible{background:var(--lien-bouton-arriere-plan-couleur-survol)}a.lien-bouton:active{border-color:var(--lien-bouton-arriere-plan-couleur-survol)}@media (hover:hover){a.lien-bouton:hover{background:var(--lien-bouton-arriere-plan-couleur-survol)}}a.lien-lien{text-decoration:underline}a.lien-lien:active{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}@media (hover:hover){a.lien-lien:hover{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}a:not([class]):hover{text-decoration-color:var(--couleur-noir)}}ul{list-style:none}ul.avec-puce-cercle{--liste-puce-cercle-lien-marges-internes-ligne-debut:2ch;--liste-puce-cercle-puce-position-horizontale:1ch;--liste-puce-cercle-puce-taille:1.25ex}ul.avec-puce-cercle a{padding-left:var(--liste-puce-cercle-lien-marges-internes-ligne-debut);background:no-repeat var(--liste-puce-cercle-puce-position-horizontale)center/var(--liste-puce-cercle-puce-taille)url(/app/themes/haiku-atelier-2024/assets/img/icons/dot.svg)}.bandeau{column-gap:var(--espace-m);border-top:1px solid var(--couleur-noir);width:100%;color:var(--couleur-noir);text-transform:uppercase;white-space:nowrap;background:var(--couleur-jaune);font-style:italic;display:flex;overflow:hidden}.bandeau__conteneur{column-gap:var(--espace-m);flex-flow:row;animation:15s linear infinite both marquee;display:flex}.bandeau__conteneur ::selection{color:var(--couleur-jaune);background:var(--couleur-noir)}.bandeau__conteneur p{padding:var(--espace-s)0;display:inline-block}.bandeau__conteneur p strong{font-weight:600}@media (hover:hover){.bandeau:hover .bandeau__conteneur{animation-play-state:paused}}@keyframes marquee{0%{transform:translate(0%)}to{transform:translate(-100%)}}body:has(#menu-mobile:not([aria-hidden=true])){touch-action:none;overflow:hidden}#menu-mobile{--menu-mobile-hauteur:calc(100svh - var(--en-tete-hauteur));z-index:997;inset:var(--en-tete-hauteur)0 0 0;overscroll-behavior:contain;width:100vw;height:var(--menu-mobile-hauteur);transition:display .4s;transition:display .4s allow-discrete;-webkit-overflow-scrolling:none;display:flex;position:fixed;overflow:hidden}#menu-mobile[aria-hidden=true]{animation:.4s both fade-out;display:none}#menu-mobile[aria-hidden=true] .menu-modale__fond{animation:.4s both fade-out}#menu-mobile .menu-modale__fond{z-index:998;inset:var(--en-tete-hauteur)0 0 0;height:var(--menu-mobile-hauteur);opacity:0;background-color:var(--couleur-fond);animation:.4s both fade-in;position:fixed}#menu-mobile .menu-modale__conteneur{z-index:999;width:100%;height:fit-content;padding:var(--espace-xl);border-bottom:1px solid var(--couleur-noir);opacity:0;background-color:var(--couleur-gris);flex-flow:column;animation:.4s .2s both fade-in;display:flex;position:relative}#menu-mobile .menu-modale__conteneur .menu-navigation{grid-template-columns:1fr}#menu-mobile .menu-modale__conteneur .menu-navigation ul{grid-column:initial;flex-flow:column;place-items:center}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span{width:fit-content}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span li a{padding-top:var(--espace-m);padding-bottom:var(--espace-m)}@media (width>1000px){#menu-mobile{display:none}}@keyframes fade-in{to{opacity:1}}@keyframes fade-out{to{opacity:0}}@keyframes slide-in{to{transform:translateY(0)}}#en-tete{--en-tete-marges-internes-ligne:var(--espace-xl);--en-tete-marges-internes-bloc:var(--espace-m);--en-tete-section-hauteur:var(--en-tete-hauteur);--en-tete-logo-longueur:160px;z-index:60;min-width:100vw;max-width:100vw;height:var(--en-tete-hauteur);padding:var(--en-tete-marges-internes-bloc)var(--en-tete-marges-internes-ligne);border-bottom:1px solid var(--couleur-noir);background:var(--couleur-gris);flex-flow:row;justify-content:space-between;place-items:center;display:flex;position:fixed;top:0}#en-tete picture,#en-tete img{background:0 0}#en-tete .logo{width:var(--en-tete-logo-longueur)}#en-tete .logo img{object-fit:contain;width:100%;height:40px;image-rendering:crisp-edges;shape-rendering:geometricprecision;margin-left:-6px}#en-tete .menu-navigation{text-align:center;text-transform:lowercase;flex:1;grid-template-columns:1fr auto 1fr;font-size:1.1rem;display:grid}#en-tete .menu-navigation ul{gap:var(--espace-m);flex-flow:row;grid-column:2;justify-content:space-between;display:flex}#en-tete .menu-navigation__entree{--nav-entree-marges-internes-bloc:var(--espace-xs);--nav-entree-marges-internes-ligne:3rem;--liste-puce-cercle-lien-marges-internes-ligne-debut:calc(var(--espace-m) + 1.5ch);--liste-puce-cercle-puce-position-horizontale:3.5ch}#en-tete .menu-navigation__entree:has(a[aria-current=page]),#en-tete .menu-navigation__entree--courante{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}#en-tete .menu-navigation__entree a{padding:var(--nav-entree-marges-internes-bloc)var(--nav-entree-marges-internes-ligne);text-align:center;display:inline-block}@media (hover:hover){#en-tete .menu-navigation__entree:hover{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}}@media (width<=1000px){#en-tete .menu-navigation#menu-navigation-en-tete{display:none}}#en-tete .compte-panier{text-align:center;flex-flow:row;place-items:center;gap:1rem;display:flex}#en-tete .compte-panier[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px}#en-tete .compte-panier[disabled] a:hover,#en-tete .compte-panier[disabled] a:active,#en-tete .compte-panier[disabled] a:focus-within{border:1px solid var(--couleur-noir);background:initial}#en-tete .compte-panier a{text-transform:lowercase;padding-block:var(--espace-2xs);padding-inline:var(--espace-s)}#en-tete .compte-panier a.lien-compte{border-color:#0000}#en-tete .compte-panier a[data-contient-articles=true]{background:var(--couleur-jaune)}#en-tete .conteneur{column-gap:var(--espace-m);display:flex}#en-tete .bouton-menu-mobile{--hauteur-bouton-menu:22px;align-content:center;display:none}#en-tete .bouton-menu-mobile img{height:var(--hauteur-bouton-menu);object-fit:contain;image-rendering:crisp-edges;shape-rendering:geometricprecision}@media (width<=1000px){#en-tete .bouton-menu-mobile{display:block}}@media (width<=600px){#en-tete{--en-tete-marges-internes-ligne:var(--espace-l)}}#menu-categories-produits{--menu-entree-longueur-minimale:13ch;--menu-section-marges-bloc-debut:var(--en-tete-hauteur);--menu-entree-marges-internes-ligne:var(--espace-m);margin-top:var(--menu-section-marges-bloc-debut);position:relative}#menu-categories-produits[data-entrees-presentes-debut] svg:first-of-type,#menu-categories-produits[data-entrees-presentes-fin] svg:last-of-type{opacity:1}#menu-categories-produits svg{pointer-events:none;opacity:0;mix-blend-mode:exclusion;width:.8rem;height:.8rem;shape-rendering:geometricprecision;transition:opacity .2s;position:absolute;bottom:calc(17.59px - .35rem)}#menu-categories-produits svg:first-of-type{left:var(--espace-xs)}#menu-categories-produits svg:last-of-type{right:var(--espace-xs)}@media (width>600px){#menu-categories-produits svg{visibility:hidden}}#menu-categories-produits ul{grid-template-columns:repeat(auto-fit,minmax(var(--menu-entree-longueur-minimale),1fr));place-items:center;gap:1px;display:grid}#menu-categories-produits ul li{width:100%;color:var(--couleur-gris);text-align:center;text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);background:var(--couleur-noir);font-style:italic;font-weight:450}#menu-categories-produits ul li.categorie-courante a{color:var(--couleur-noir);background:var(--couleur-jaune);font-weight:600}@media (hover:hover){#menu-categories-produits ul li.categorie-courante a:hover{color:var(--couleur-noir)}}#menu-categories-produits ul li a{width:inherit;padding:var(--menu-entree-marges-internes-ligne)0;outline:initial;text-decoration:none;display:inline-block}#menu-categories-produits ul li a:focus-visible{color:var(--couleur-jaune);outline:initial}@media (hover:hover){#menu-categories-produits ul li a:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}@media (width<=1000px){#menu-categories-produits ul{--menu-entree-marges-internes-ligne:var(--espace-s);flex-flow:wrap;font-size:.8rem;display:flex}#menu-categories-produits ul li{flex-grow:1;width:min(140px,100%)}#menu-categories-produits ul li a{border:initial;width:100%}}@media (width<=600px){#menu-categories-produits ul{scrollbar-width:none;flex-flow:row;overflow-x:scroll}#menu-categories-produits ul li{width:initial;min-width:140px}}.photos-produit{--colonne-gauche-position-haut:var(--menu-categories-produits-hauteur);--colonne-gauche-photo-hauteur:calc(100svh - var(--menu-categories-produits-hauteur));--colonne-droite-photo-hauteur-minimale:calc(100svh + var(--en-tete-hauteur) + var(--menu-categories-produits-hauteur));--colonne-photo-longueur-minimale:30rem;--section-marges-externes-bloc-fin:1rem;flex-flow:row;max-width:100%;display:flex;position:relative}.photos-produit .colonne{width:min(var(--colonne-photo-longueur-minimale),100%);flex-flow:column;flex-grow:1;display:flex;position:relative}.photos-produit .colonne.colonne-gauche{top:var(--colonne-gauche-position-haut);height:var(--colonne-gauche-photo-hauteur);position:sticky}.photos-produit .colonne.colonne-gauche figure,.photos-produit .colonne.colonne-gauche picture,.photos-produit .colonne.colonne-gauche img{height:100%}.photos-produit .colonne.colonne-droite img{width:100%;max-height:var(--colonne-droite-photo-hauteur-minimale)}.photos-produit .colonne.colonne-droite figure picture img:only-child{min-height:var(--colonne-droite-photo-hauteur-minimale);max-height:var(--colonne-droite-photo-hauteur-minimale)}@media (width<=60rem){.photos-produit{--colonne-droite-photo-hauteur-minimale:var(--photo-hauteur-maximum);--photo-longueur-maximum:calc(100% - var(--espace-xl));--photo-hauteur-maximum:calc(100svh - var(--en-tete-hauteur) - 87px);scroll-behavior:smooth;scrollbar-width:none;scroll-snap-type:x mandatory;width:fit-content;max-width:initial;flex-flow:row;overflow-x:scroll}.photos-produit::-webkit-scrollbar{display:none}.photos-produit .colonne{scroll-snap-type:x mandatory;width:100%;min-width:100%}.photos-produit .colonne figure{scroll-snap-align:none center}.photos-produit .colonne img{max-height:var(--photo-hauteur-maximum)}.photos-produit .colonne.colonne-gauche{position:initial;min-width:var(--photo-longueur-maximum);height:initial}.photos-produit .colonne.colonne-droite{flex-flow:row}.photos-produit .colonne.colonne-droite figure{min-width:var(--photo-longueur-maximum);flex-grow:1}.photos-produit .colonne.colonne-droite:has(figure:only-child){min-width:var(--photo-longueur-maximum)}}.grille-produits{--grille-produits-hauteur-minimale:var(--contenu-page-hauteur-minimale-avec-categories);--aucun-produit-hauteur:var(--contenu-page-hauteur-minimale-avec-categories);--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));min-height:var(--grille-produits-hauteur-minimale);gap:1px;display:grid}.grille-produits article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.grille-produits article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.grille-produits article figure a{position:relative}@media (hover:hover){.grille-produits article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.grille-produits article figure img{position:inherit;aspect-ratio:9/16;object-fit:cover;background:0 0;width:100%;max-height:70vh}.grille-produits article figure .produit__illustration__principale{display:block}.grille-produits article figure .produit__illustration__principale:before{content:"";z-index:-1;opacity:0;filter:opacity(20%);background-image:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-gris.svg);background-position:50%;background-repeat:no-repeat;background-size:50%;width:100%;height:100%;animation:1.5s linear .5s infinite alternate both test;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__principale img{opacity:0;transition:opacity 1s}.grille-produits article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__survol img{background:var(--couleur-fond)}.grille-produits article figure figcaption{margin-bottom:var(--espace-xl);padding:var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.grille-produits article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.grille-produits article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}.grille-produits__aucun-produit{min-height:var(--aucun-produit-hauteur);text-align:center;grid-column:span 3;align-content:center}.grille-produits__aucun-produit p+p{margin-top:var(--espace-l);font-size:1.25rem}@media (width<=700px){.grille-produits{grid-template-columns:100%}.grille-produits article figure img{max-height:50svh}}@keyframes test{to{opacity:1}}.resume-produit{--resume-position-basse:0%;--section-marges-internes:var(--espace-l);--espace-inter-colonne:var(--espace-xl);--resume-police-graisse:500;--resume-police-style:italic;--resume-police-taille:var(--espace-l);--resume-police-nom-taille:1.33rem;--resume-police-selecteur-graisse:400;--resume-police-selecteur-taille:var(--espace-m);bottom:var(--resume-position-basse);position:sticky}.resume-produit .selecteur-produit{column-gap:var(--espace-inter-colonne);border-block:1px solid var(--couleur-noir);font-size:var(--resume-police-taille);font-weight:var(--resume-police-graisse);font-style:var(--resume-police-style);line-height:var(--hauteur-ligne-compacte);background:var(--couleur-blanc-fond);grid-template-columns:repeat(3,1fr);grid-auto-flow:column;place-items:center;display:grid;position:relative}.resume-produit .selecteur-produit>*{width:100%;height:100%;padding:var(--section-marges-internes);flex-flow:row;place-content:center;place-items:center;display:flex}.resume-produit .selecteur-produit>:nth-child(2){border-inline-start:1px solid var(--couleur-noir);border-inline-end:1px solid var(--couleur-noir)}.resume-produit .selecteur-produit__nom{font-size:var(--resume-police-nom-taille)}.resume-produit .selecteur-produit__attribut-variation{gap:var(--espace-m)var(--espace-l);font-size:var(--resume-police-selecteur-taille);font-weight:var(--resume-police-selecteur-graisse);text-transform:lowercase;flex-flow:wrap;display:flex}.resume-produit .selecteur-produit__attribut-variation label{margin-right:var(--espace-s)}.resume-produit .selecteur-produit__attribut-variation select{padding:var(--espace-xs)var(--espace-l);border:1px solid var(--couleur-noir);text-align:center;letter-spacing:initial;appearance:none;background:var(--couleur-fond);position:relative}@supports selector(:user-valid){.resume-produit .selecteur-produit__attribut-variation select:user-valid{background:var(--couleur-jaune-fond)}}.resume-produit .selecteur-produit__attribut-variation option{background:var(--couleur-fond)}.resume-produit .selecteur-produit__attribut-variation__selecteurs{position:relative}.resume-produit .selecteur-produit__attribut-variation__selecteurs:after{pointer-events:none;content:" ";text-align:center;visibility:visible;opacity:1;background:url(/app/themes/haiku-atelier-2024/assets/img/icons/arrow.svg) no-repeat;width:.9rem;height:.9rem;transition:opacity .2s,visibility .2s;display:inline-block;position:absolute;top:7px;right:.4rem}@supports not selector(:user-valid){.resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:valid):after{visibility:hidden;opacity:0}}@supports selector(:user-valid){.resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:user-valid):after{visibility:hidden;opacity:0}}.resume-produit .selecteur-produit__prix{font-style:initial}@media (width<=800px){.resume-produit{--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-m)}}@media (width<=700px){.resume-produit{--resume-police-taille:var(--espace-m);--resume-police-nom-taille:var(--espace-m);--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-s)}}@media (width<=500px){.resume-produit .selecteur-produit__selection-variation-attribut{row-gap:var(--espace-inter-colonne);flex-flow:column}.resume-produit .selecteur-produit__selection-variation-attribut h3{flex-basis:100%}}.details-produit{--bouton-marges-internes-bloc:var(--espace-l);--espace-inter-lignes:var(--espace-l);--espace-inter-texte:var(--espace-m);--section-marges-internes:var(--espace-l);--textuel-marges-internes-ligne:calc(var(--espace-l)*2);background-color:var(--couleur-blanc)}.details-produit__textes{grid-template-columns:1fr;grid-auto-flow:row;display:grid}.details-produit__textes .section-textuelle:not(:last-of-type){border-block-end:1px solid var(--couleur-noir)}.details-produit__textes .section-textuelle:has(button[aria-expanded=false]) .section-textuelle__contenu{display:none}.details-produit__textes .section-textuelle h3{line-height:var(--hauteur-ligne-rapprochee)}.details-produit__textes .section-textuelle h3 button{width:100%;min-block-size:1lh;padding:var(--section-marges-internes);text-align:start;display:inline-block}.details-produit__textes .section-textuelle .section-textuelle__contenu{padding-block-end:var(--section-marges-internes);padding-inline:var(--textuel-marges-internes-ligne)}.details-produit__textes .section-textuelle .section-textuelle__contenu ul{list-style:inside}.details-produit__textes .section-textuelle .section-textuelle__contenu a{text-decoration-color:var(--couleur-noir)}.details-produit__textes .section-textuelle .section-textuelle__contenu>*+*{margin-top:var(--espace-inter-texte)}.details-produit__actions{--section-marges-internes:var(--espace-l);border-block:1px solid var(--couleur-noir);background:var(--couleur-jaune);transition:background .2s;overflow:hidden}.details-produit__actions:has(button[disabled]){background:var(--couleur-fond)}.details-produit__actions button{height:initial;padding:var(--section-marges-internes);text-transform:uppercase;font-style:italic;transition:background .2s,font-weight .2s}@media (hover:hover){.details-produit__actions button:not([disabled]):hover{font-weight:600}}.produits-similaires{--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;--en-tete-flottante-hauteur:calc(1rem + var(--espace-l)*2 + 1px);grid-template-rows:1fr auto;grid-template-columns:repeat(3,1fr);grid-template-areas:"en-tete en-tete en-tete""produits produits produits";place-items:center;display:grid;position:relative}.produits-similaires header{z-index:10;top:var(--en-tete-flottante-hauteur);width:100%;padding:var(--espace-l)0;color:var(--couleur-blanc);text-align:center;background:var(--couleur-noir);grid-area:en-tete;position:sticky}.produits-similaires header h2{font-style:italic;line-height:var(--hauteur-ligne-rapprochee);text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m)}.produits-similaires .grille-produits-similaires{grid-area:produits;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));gap:1px;width:100%;display:grid}.produits-similaires .grille-produits-similaires article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.produits-similaires .grille-produits-similaires article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.produits-similaires .grille-produits-similaires article figure a{position:relative}@media (hover:hover){.produits-similaires .grille-produits-similaires article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.produits-similaires .grille-produits-similaires article figure .produit__illustration__principale{display:block}.produits-similaires .grille-produits-similaires article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.produits-similaires .grille-produits-similaires article figure img{aspect-ratio:9/16;object-fit:cover;width:100%;max-height:70svh}.produits-similaires .grille-produits-similaires article figure figcaption{margin-bottom:var(--espace-xl);padding:0 var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.produits-similaires .grille-produits-similaires article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.produits-similaires .grille-produits-similaires article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}@media (width<=700px){.produits-similaires .grille-produits-similaires{grid-template-columns:100%}.produits-similaires .grille-produits-similaires article figure img{max-height:50svh}}#pied-de-page{max-width:100vw;height:var(--pied-de-page-hauteur);padding:var(--espace-s)var(--espace-m);border-top:1px solid var(--couleur-noir);background:var(--couleur-jaune);grid-template-columns:1fr 1fr;place-items:center;font-size:.8rem;display:grid}#pied-de-page .zone-menu-navigation-secondaire{text-transform:lowercase;justify-self:start;width:100%;height:100%}#pied-de-page .zone-liens-reseaux-sociaux{text-align:right;justify-items:end;width:100%;height:100%} \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json deleted file mode 100644 index 27582402..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json +++ /dev/null @@ -1,472 +0,0 @@ -{ - "_api-legacy.BVjX3txO.js": { - "file": "api-legacy.BVjX3txO.js", - "name": "api", - "integrity": "sha512-IGngKifPb0uZiSpvJVoB3B9ooJmDWNqht0DJf0ONbl4f4s1kp2jvvpLVapbckkJu+2sWgV69CWoe42dlQTIgrQ==" - }, - "_api.BWtmxolt.js": { - "file": "api.BWtmxolt.js", - "name": "api", - "integrity": "sha512-A5mnWBY5TKhj+Y3nzUyJCS0HERVR3Ix41ykN5F5YMjLeyH5QMjpe4tMNgJOm4oKEWsd79/DISAxSGVn79XpLNw==" - }, - "_dom-legacy.BaBbaRa_.js": { - "file": "dom-legacy.BaBbaRa_.js", - "name": "dom", - "imports": [ - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-XPat7q4Zii0UQyUcY+c/8QA985GjMmWj8/0LoxSrf8NwWgmv6EWb3zh4dYXqMdUawmLIbIuoFVdLjZevUgBXGA==" - }, - "_dom.BBcFv3WT.js": { - "file": "dom.BBcFv3WT.js", - "name": "dom", - "imports": [ - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-zDuLbiIYYX2zraxwzBPuIAEFiUyCgN4rg+q7ZRRiVlk7CUjN6Vc3NPFExnXFIf1EVjvNt6XDoKqpoK9VqgvK/w==" - }, - "_exports-legacy.CUaFfB0_.js": { - "file": "exports-legacy.CUaFfB0_.js", - "name": "exports", - "integrity": "sha512-r71ewNRczzx/OA9oJj1J7++ZXTS2+B5oYfbuSQMMc95sHE6mJIbofXOcXLaVALGFwHK6M7vjOnBJmwjoGWEYUw==" - }, - "_exports.JV8YQBqW.js": { - "file": "exports.JV8YQBqW.js", - "name": "exports", - "integrity": "sha512-eoiwzzBgNxq/xRJ1kK5y7v0ASSx9/eYf4rsPmVR0xH4U7zeggxSVGZdWDtia83aqdJwmfU7SFgLJzWu43y8SMQ==" - }, - "_gardes-legacy.KKtp3xCq.js": { - "file": "gardes-legacy.KKtp3xCq.js", - "name": "gardes", - "imports": [ - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-gYgHwCvLy5XEMsMAa3B9zDGrFMb6Fw4hsp3mr1hvuYc2n5WPmWubZLl5QqU7U6TFfNpJi11CkTdK5lQ/ZhddCw==" - }, - "_gardes.-KvoYkXU.js": { - "file": "gardes.-KvoYkXU.js", - "name": "gardes", - "imports": [ - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-1b3ZolW4nf+yxWFRAFSAhI/7rTc9OYAnCs1cfTO1KbMulC81j95EDfN2zsn7z6elR4kCJrC7fdceP5vR3D6JYQ==" - }, - "_index-c1cc4c86-legacy.C-8fWPTk.js": { - "file": "index-c1cc4c86-legacy.C-8fWPTk.js", - "name": "index-c1cc4c86", - "imports": [ - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-9ligLfS0/mKHVSSBhItHKmTMYyoG5H2jGFF09/o59IbrdOjnFrbZwAw0H8w8FC6F0UH2vtT/q6qhGYXuWcfj1Q==" - }, - "_index-c1cc4c86.DUxuguYh.js": { - "file": "index-c1cc4c86.DUxuguYh.js", - "name": "index-c1cc4c86", - "imports": [ - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-R4lyMOQl9NveICP4AqNyIvzFPO9RdYeAjIFqK5RtGhzT5KRinsonFZ9z6Z2EeSpjlEhm9CLNv9q1l/wx7aG6iA==" - }, - "_index-legacy.BZucyBbQ.js": { - "file": "index-legacy.BZucyBbQ.js", - "name": "index", - "integrity": "sha512-MF2cli38DuubppX0OXCdDhJ8a2fZoRrMwU5wHD4Gi20j6HsH3Q+ysyQYvbPerSYzueuecRq2QhH9qfDAPLuOug==" - }, - "_index.BiLbLflF.js": { - "file": "index.BiLbLflF.js", - "name": "index", - "integrity": "sha512-8Ahn0UQBmspOKB4t6c6vnipgMD6h0aJqIYgM5/ZMcNCV6FPkn325zBxIPTjNWU8bXKMl2Sb2uSFUq4LdUbrSyw==" - }, - "_messages-legacy.PVpnHWo9.js": { - "file": "messages-legacy.PVpnHWo9.js", - "name": "messages", - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_validation-legacy.C-7tMwb9.js", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-GJsoJ9FzSAcpp2wStt8jktxN/kQt6RojkM6ccw5aS/67H5C9ujuo1Ua3Hyvq4RtfScx1+1rICIXZSNm/UCyx7w==" - }, - "_messages.B9cwwdUT.js": { - "file": "messages.B9cwwdUT.js", - "name": "messages", - "imports": [ - "_dom.BBcFv3WT.js", - "_validation.DpnMPnCH.js", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-ggjos3tBMApWbiVuAtKFAjijv8RdM+dJ1hJRdRj4Xl3SiQdZhTtZpkRdyQGjYM3aL6RmV27QXi6pHsCBIffW3A==" - }, - "_nombres-legacy.BZrbZkuk.js": { - "file": "nombres-legacy.BZrbZkuk.js", - "name": "nombres", - "imports": [ - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-5GbnhKTUDYVU3IPaVLgA6ojKSYg8nre/hRRrZbmnDgcPvslW0G1xvZQqpW2N7RH+jBJUNpjYsXCS6+yCvn8i6g==" - }, - "_nombres.C1uiwPb_.js": { - "file": "nombres.C1uiwPb_.js", - "name": "nombres", - "imports": [ - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-Lg+EYkU54Bwvk3ZuI3ZN8LhJzqI+XzSmK1+Likp3pwVTBNVSsD3nuVfAOBeENVZ1c7Hh9xZcZzaBDancMUMjdQ==" - }, - "_reseau-legacy.dBQarsl0.js": { - "file": "reseau-legacy.dBQarsl0.js", - "name": "reseau", - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_api-legacy.BVjX3txO.js", - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-g655rQaBapN+quEZfR98HP4mKKEfNVpSwVVLQr2ub7Z7tsmnWuZzEAQeFBuSBt3Q4D0jr4S352DS9Hf4A5SgHg==" - }, - "_reseau.CUz9kCSO.js": { - "file": "reseau.CUz9kCSO.js", - "name": "reseau", - "imports": [ - "_index.BiLbLflF.js", - "_api.BWtmxolt.js", - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-ySuk73CMIp4O2si8mxym4/QtvabuZiAkp1DCh7oNYgpyflh6Ngb7nhuhKtLiodCjDKAOqC6ZwfZ6wCUJVCakMQ==" - }, - "_validation-legacy.C-7tMwb9.js": { - "file": "validation-legacy.C-7tMwb9.js", - "name": "validation", - "imports": [ - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-DdQPd4wap6BE3b1hpFdg+3BlB6m5VhEheBWEN63q/1bLrjvf0zQzg01RnIvzazRL8NVgXFgu9TSKre95wECEfA==" - }, - "_validation.DpnMPnCH.js": { - "file": "validation.DpnMPnCH.js", - "name": "validation", - "imports": [ - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-5UaIb7Y2zZgPawB8ILWPMjpeqVqeWsZqfnFXFcNynKKl/RmgKx0VOBd/zBMQn8NvN0UguK+sppPp+CUT/MBxNw==" - }, - "vite/legacy-polyfills": { - "file": "polyfills.js", - "name": "polyfills", - "src": "vite/legacy-polyfills", - "isEntry": true, - "integrity": "sha512-BeNLlpp3pU0nt0YFbnNGCXh8owF+1dS+ke2BWu9AthproMkVjFAXiAVtDj9gE4lF+MMvdyi4TI6skGXiiaxQ2Q==" - }, - "vite/legacy-polyfills-legacy": { - "file": "polyfills-legacy.js", - "name": "polyfills", - "src": "vite/legacy-polyfills-legacy", - "isEntry": true, - "integrity": "sha512-lvg6F+ctNaZrzPdIm0/3M5HhEfwm3f2Ocyjiqj0J1KV9kt62QQK4wDvGOvAQxCb72A1ZzrJ5LtRMcRdageRK1Q==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/gaffe-legacy.ts": { - "file": "gaffe-legacy.js", - "name": "gaffe", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/gaffe-legacy.ts", - "isEntry": true, - "imports": [ - "_api-legacy.BVjX3txO.js", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-dMZ0O0f24d66d34PXkUpBbTu4uumVQueRteO80WIsyrUmr/xivOptNMHUIXct27d/ask007AwASdu1tediwiyA==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/gaffe.ts": { - "file": "gaffe.js", - "name": "gaffe", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/gaffe.ts", - "isEntry": true, - "imports": [ - "_api.BWtmxolt.js", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-tsngJXdxKbVt+ts8fjn951dWDkB0NmQKxQu4RG78N5gOXezWvm5GDzJM+fX8TzVJHdE624TRNons6SpQkI8cPw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts": { - "file": "journalisation-legacy.js", - "name": "journalisation", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "isEntry": true, - "integrity": "sha512-hvXEMsmNUY4E2gxiadZkLqHnlVZyIp2cCQ3W84sGJgnt/XPvAVHp/2qW2haSdJCaf8ZPC+JJTUi0oWzGIkSi4g==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts": { - "file": "journalisation.js", - "name": "journalisation", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "isEntry": true, - "integrity": "sha512-re9Hg5+pyFRB+rvb7XyWQ3sRdKYTXD2RagZgFkCCzjVz2ZJyB+cDmpkUx5CVcIUkBKRpEeK+DNDu3P2fop6YCQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier-legacy.ts": { - "file": "scripts-bouton-panier-legacy.js", - "name": "scripts-bouton-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_messages-legacy.PVpnHWo9.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js", - "_validation-legacy.C-7tMwb9.js" - ], - "integrity": "sha512-3D9WifzghTWPibZUi93ZO35JDshhCleeJzKjXZP1eIlcnh+WR47KoQ1h7S5uKMGkS0SS5rhC3gh0hKxpwuJvfw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier.ts": { - "file": "scripts-bouton-panier.js", - "name": "scripts-bouton-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_messages.B9cwwdUT.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js", - "_validation.DpnMPnCH.js" - ], - "integrity": "sha512-3WAdjplY+TOHdPCWbH7g5sowrTVtYUFBKvDlaTCV0NSHF8+o/28U/re0JkofIXdJzKd36P7NXLQAbcPGOJiZUQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet-legacy.ts": { - "file": "scripts-bouton-retour-sommet-legacy.js", - "name": "scripts-bouton-retour-sommet", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-/WgxfGF1Zznd/tpN+0WxQeVuWyBXVUidtmBKeIaXpNrrWpRGa5trbytAuDCNpv2DXLFb7VJ6PyQGXU6pBM6esg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet.ts": { - "file": "scripts-bouton-retour-sommet.js", - "name": "scripts-bouton-retour-sommet", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-OJFhpdBd3Y2UMtCUy7C4dZ0ToHnuHgZu+Ng62No6/40W5VtDLXg/zrLkbMmsf7sloQd7pHGf3ICvselnKrSUkw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories-legacy.ts": { - "file": "scripts-menu-categories-legacy.js", - "name": "scripts-menu-categories", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories-legacy.ts", - "isEntry": true, - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_dom-legacy.BaBbaRa_.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-cmYlB899jHpGBXcBn53JO6OtALmQbTTRtkkyfyJ0nVYTEqgiziPaIU2WKyq+XcZwFQGxRBbagFjdp1E7ThTuOg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories.ts": { - "file": "scripts-menu-categories.js", - "name": "scripts-menu-categories", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories.ts", - "isEntry": true, - "imports": [ - "_index.BiLbLflF.js", - "_dom.BBcFv3WT.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-dLc1VQ4H6gqOg4M3eCLd91O8rOqKz0gg3GxJM+aySpCxivZhdfI6N4RYBLDMNCyqRUjzUHG26ggr8zSysol2gg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile-legacy.ts": { - "file": "scripts-menu-mobile-legacy.js", - "name": "scripts-menu-mobile", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-GAktRyJm40ep0LolsrZUB+qvJH3Z07WbLrlloLgB5u1lyfnxQ0BZfhqlShV/MT2DRj60LcucNuFxXjv70A9gEQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile.ts": { - "file": "scripts-menu-mobile.js", - "name": "scripts-menu-mobile", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-TaPDWkdIuql53kcMCFMyHxGcxPhv4i1wGMfG4wGUdtMpe4rUJbHBZQ4WshPah/u7yDfbzH1Azc7OL70yzafK0w==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos-legacy.ts": { - "file": "scripts-page-a-propos-legacy.js", - "name": "scripts-page-a-propos", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-bXVNIsx2OBGMJvSmmXEoAtq6StKndEuAzUIQsnq+dt5cn3S+q3ib5L3IrpYR5YXjUXaJSDno5k8k+mq2BITlrg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos.ts": { - "file": "scripts-page-a-propos.js", - "name": "scripts-page-a-propos", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-2XP87ci7SeNRMamQWepYkyrVK5bwRgzoMWGIreWqLeUgSOjTxzL43uzhZ0fYn9txnPXBYRlYvzq909HJpv1KCQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil-legacy.ts": { - "file": "scripts-page-accueil-legacy.js", - "name": "scripts-page-accueil", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_nombres-legacy.BZrbZkuk.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js" - ], - "integrity": "sha512-3H7po2qpBPyDKVGNxzLo4tdagwMbJ9guyE9Cxi/GIC4VoR/WJgYW2lgSrTGY0FG+a7nuFlkSGd7pSL1ffvqgyw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil.ts": { - "file": "scripts-page-accueil.js", - "name": "scripts-page-accueil", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_nombres.C1uiwPb_.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js" - ], - "integrity": "sha512-u4/1M991MnAwKGQBu8Q8fdu8J0RUR/WPosSyRhabW5YtryA8wGUyHvZhWXqdZPZ1r+m7IsdHES1X6JfoSEy9Eg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique-legacy.ts": { - "file": "scripts-page-boutique-legacy.js", - "name": "scripts-page-boutique", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique-legacy.ts", - "isEntry": true, - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_dom-legacy.BaBbaRa_.js", - "_api-legacy.BVjX3txO.js", - "_reseau-legacy.dBQarsl0.js", - "_validation-legacy.C-7tMwb9.js", - "_exports-legacy.CUaFfB0_.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-aiIbSdi+RT6r1Brc63/VyJTvQFMJD4Q/bcYG3hriXbpCD9qhcCz0KbqwLIBqrD5mVEy1Obd11eeAyqpC5s7+og==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique.ts": { - "file": "scripts-page-boutique.js", - "name": "scripts-page-boutique", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique.ts", - "isEntry": true, - "imports": [ - "_index.BiLbLflF.js", - "_dom.BBcFv3WT.js", - "_api.BWtmxolt.js", - "_reseau.CUz9kCSO.js", - "_validation.DpnMPnCH.js", - "_exports.JV8YQBqW.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-lOz+Kxd6x035KkLPzL1x0oRDgoD0l4geWvXc08ZU4OBn0CKJZ3B8g8AE2OP2P/LT8SO6BExvrl4VBBTHLwybxA==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier-legacy.ts": { - "file": "scripts-page-panier-legacy.js", - "name": "scripts-page-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_messages-legacy.PVpnHWo9.js", - "_nombres-legacy.BZrbZkuk.js", - "_gardes-legacy.KKtp3xCq.js", - "_index-legacy.BZucyBbQ.js", - "_api-legacy.BVjX3txO.js", - "_reseau-legacy.dBQarsl0.js", - "_validation-legacy.C-7tMwb9.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-NL7i8KSoYi/ewHiHIYKCj3TTuch+pHONjSZngLLXpAeCMHWsyVOKKlugPJ/k6TT0OGVjdBB1xFvFj2+fEwfpmQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier.ts": { - "file": "scripts-page-panier.js", - "name": "scripts-page-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_messages.B9cwwdUT.js", - "_nombres.C1uiwPb_.js", - "_gardes.-KvoYkXU.js", - "_index.BiLbLflF.js", - "_api.BWtmxolt.js", - "_reseau.CUz9kCSO.js", - "_validation.DpnMPnCH.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-KFCGz71TRzoLHNmT7rV1i2JiQMs106nXOyP/RmZ10ON7rKr9QuD3cYXb/7k7yx8veq2UQZA/N69AWt7V7wrBMg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit-legacy.ts": { - "file": "scripts-page-produit-legacy.js", - "name": "scripts-page-produit", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit-legacy.ts", - "isEntry": true, - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_dom-legacy.BaBbaRa_.js", - "_api-legacy.BVjX3txO.js", - "_gardes-legacy.KKtp3xCq.js", - "_messages-legacy.PVpnHWo9.js", - "_reseau-legacy.dBQarsl0.js", - "_validation-legacy.C-7tMwb9.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-DRv/EbN6mJgqkRjwn23Un2XfK4RRbn7HkYl7FC+1D6XGgEYJTW+uplyplKxudmqshNeW1DDxo1DV4A8QSPs69A==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts": { - "file": "scripts-page-produit.js", - "name": "scripts-page-produit", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts", - "isEntry": true, - "imports": [ - "_index.BiLbLflF.js", - "_dom.BBcFv3WT.js", - "_api.BWtmxolt.js", - "_gardes.-KvoYkXU.js", - "_messages.B9cwwdUT.js", - "_reseau.CUz9kCSO.js", - "_validation.DpnMPnCH.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-sWFcNhB7f0e5814FhYFzVR256YIRYYJLj++JbhiiHLbKJlQAH0viM0Hh1HyVLDZH5F8I4W2CP7GnhkY2LV+zMg==" - } -} \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.br b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.br deleted file mode 100644 index b323c4f2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.gz b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.gz deleted file mode 100644 index 8d6f8ff2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.zst b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.zst deleted file mode 100644 index 6d887efa..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/api-legacy.BVjX3txO.js b/web/app/themes/haiku-atelier-2024/assets/js/api-legacy.BVjX3txO.js deleted file mode 100644 index fc7d5bdf..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/api-legacy.BVjX3txO.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(t,e){"use strict";return{execute:function(){const e="wp-json";t("h",`/${e}/wc/store/cart/add-item`),t("d",`/${e}/wc/store/cart/apply-coupon`),t("f",`/${e}/wc/store/cart/update-item`),t("b",`/${e}/wc/store/cart/update-customer`),t("c",`/${e}/wc/v3/orders`),t("R",`/${e}/wc/v3/products`),t("g",`/${e}/wc/store/cart/remove-item`),t("e",`/${e}/wc/store/cart/remove-coupon`),t("i","Nonce"),t("E","retry-after"),t("a","x-sentry-rate-limits")}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/api.BWtmxolt.js b/web/app/themes/haiku-atelier-2024/assets/js/api.BWtmxolt.js deleted file mode 100644 index be18b69a..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/api.BWtmxolt.js +++ /dev/null @@ -1 +0,0 @@ -const E="wp-json",t=`/${E}/wc/store/cart/add-item`,_=`/${E}/wc/store/cart/apply-coupon`,s=`/${E}/wc/store/cart/update-item`,c=`/${E}/wc/store/cart/update-customer`,T=`/${E}/wc/v3/orders`,o=`/${E}/wc/v3/products`,I=`/${E}/wc/store/cart/remove-item`,R=`/${E}/wc/store/cart/remove-coupon`,a="Nonce",e="retry-after",r="x-sentry-rate-limits";export{e as E,o as R,r as a,c as b,T as c,_ as d,R as e,s as f,I as g,t as h,a as i}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js deleted file mode 100644 index ba65b84b..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js"],function(t,n){"use strict";var e,r,u;return{setters:[t=>{e=t.l},t=>{r=t.O,u=t.a9}],execute:function(){function n(t,n){return tn?t:n}t({B:function t(n,e){const r=[];for(const u in n)""+ +u===u&&"string"==typeof n[u]&&Object.is(n[n[u]],+u)||r.push(n[u]);return{kind:"schema",type:"enum",reference:t,expects:$n(r.map(Pn),"|"),async:!1,enum:n,options:r,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){return this.options.includes(t.value)?t.typed=!0:Jn(this,"type",t,n),t}}},E:function t(n){return{kind:"schema",type:"string",reference:t,expects:"string",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return"string"==typeof t.value?t.typed=!0:Jn(this,"type",t,n),t}}},F:function(...t){return{...t[0],pipe:t,get"~standard"(){return Bn(this)},"~run"(n,e){for(const r of t)if("metadata"!==r.kind){if(n.issues&&("schema"===r.kind||"transformation"===r.kind)){n.typed=!1;break}n.issues&&(e.abortEarly||e.abortPipeEarly)||(n=r["~run"](n,e))}return n}}},G:function t(n,e){return{kind:"validation",type:"max_value",reference:t,async:!1,expects:`<=${n instanceof Date?n.toJSON():Pn(n)}`,requirement:n,message:e,"~run"(t,n){return!t.typed||t.value<=this.requirement||Jn(this,"value",t,n,{received:t.value instanceof Date?t.value.toJSON():Pn(t.value)}),t}}},H:function t(n,e){return{kind:"validation",type:"min_value",reference:t,async:!1,expects:`>=${n instanceof Date?n.toJSON():Pn(n)}`,requirement:n,message:e,"~run"(t,n){return!t.typed||t.value>=this.requirement||Jn(this,"value",t,n,{received:t.value instanceof Date?t.value.toJSON():Pn(t.value)}),t}}},I:function t(n){return{kind:"schema",type:"number",reference:t,expects:"number",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return"number"!=typeof t.value||isNaN(t.value)?Jn(this,"type",t,n):t.typed=!0,t}}},J:function t(n){return{kind:"validation",type:"integer",reference:t,async:!1,expects:null,requirement:Number.isInteger,message:n,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&Jn(this,"integer",t,n),t}}},K:function t(n){return{kind:"schema",type:"boolean",reference:t,expects:"boolean",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return"boolean"==typeof t.value?t.typed=!0:Jn(this,"type",t,n),t}}},L:function t(){return{kind:"schema",type:"unknown",reference:t,expects:"unknown",async:!1,get"~standard"(){return Bn(this)},"~run":t=>(t.typed=!0,t)}},M:function t(n,e){return{kind:"schema",type:"union",reference:t,expects:$n(n.map(t=>t.expects),"|"),async:!1,options:n,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){let e,r,u;for(const i of this.options){const o=i["~run"]({value:t.value},n);if(o.typed){if(!o.issues){e=o;break}r?r.push(o):r=[o]}else u?u.push(o):u=[o]}if(e)return e;if(r){if(1===r.length)return r[0];Jn(this,"type",t,n,{issues:Cn(r)}),t.typed=!0}else{if(1===u?.length)return u[0];Jn(this,"type",t,n,{issues:Cn(u)})}return t}}},N:function t(n){return{kind:"schema",type:"null",reference:t,expects:"null",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return null===t.value?t.typed=!0:Jn(this,"type",t,n),t}}},O:function t(n){return{kind:"validation",type:"url",reference:t,async:!1,expects:null,requirement(t){try{return new URL(t),!0}catch{return!1}},message:n,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&Jn(this,"URL",t,n),t}}},a$:j,aA:at,aT:p,aU:l,aV:w,aW:function(t){return null==t?void 0:l(t)},aX:f,aY:_,aZ:function(t){for(var n={},e=t.length,r=0;r=t.value||Jn(this,"value",t,n,{received:t.value instanceof Date?t.value.toJSON():Pn(t.value)}),t}}},ba:function(t,n,e){const r=t["~run"]({value:n},Mn(e));if(r.issues)throw new zn(r.issues);return r.value},h:Q,x:function t(n,e){return{kind:"schema",type:"object",reference:t,expects:"Object",async:!1,entries:n,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){const e=t.value;if(e&&"object"==typeof e){t.typed=!0,t.value={};for(const r in this.entries){const u=this.entries[r];if(r in e||("exact_optional"===u.type||"optional"===u.type||"nullish"===u.type)&&void 0!==u.default){const i=r in e?e[r]:Wn(u),o=u["~run"]({value:i},n);if(o.issues){const u={type:"object",origin:"value",input:e,key:r,value:i};for(const n of o.issues)n.path?n.path.unshift(u):n.path=[u],t.issues?.push(n);if(t.issues||(t.issues=o.issues),n.abortEarly){t.typed=!1;break}}o.typed||(t.typed=!1),t.value[r]=o.value}else if(void 0!==u.fallback)t.value[r]=Vn(u);else if("exact_optional"!==u.type&&"optional"!==u.type&&"nullish"!==u.type&&(Jn(this,"key",t,n,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:e,key:r,value:e[r]}]}),n.abortEarly))break}}else Jn(this,"type",t,n);return t}}},y:function t(n,e){return{kind:"schema",type:"array",reference:t,expects:"Array",async:!1,item:n,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){const e=t.value;if(Array.isArray(e)){t.typed=!0,t.value=[];for(let r=0;r0){var u=e.contents;return void 0!==u&&n>=u?void 0:void(e.contents=n)}},o=[t,n,r],c=[n,t,e];a(t,function(t){return u(o,t)}),a(n,function(t){return u(c,t)});var f=e.contents,l=r.contents;return void 0!==f?void 0!==l?i(f,l):-1:void 0!==l?1:0}function f(t,n){if(t===n)return!0;var e=typeof t;if("string"===e||"number"===e||"boolean"===e||"undefined"===e||null===t)return!1;var r=typeof n;if("function"===e||"function"===r)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if("number"===r||"undefined"===r||null===n)return!1;var u=0|t.TAG,i=0|n.TAG;if(248===u)return t[1]===n[1];if(251===u)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(u!==i)return!1;var o=0|t.length;if(o!==(0|n.length))return!1;if(!Array.isArray(t)){if(t instanceof Date&&n instanceof Date)return!(t>n||t2147483647?2147483647:t<-2147483648?-2147483648:Math.floor(t)}(Math.random()*(n-t|0))+t|0}function d(t,n){if(n>=0&&nr?e-r|0:0,i=new Array(u),a=0;a=0;--o)e[o+r|0]=t[o+n|0]}function x(t,n){for(var e=0,r=t.length;e=c)return E(r,_,o,v+1|0,f-_|0);y=v+1|0,p=t[x],l=x}else{o[v]=g;var N=_+1|0;if(N>=f)return E(t,b,o,v+1|0,c-b|0);y=v+1|0,d=r[N],h=N}}}function T(t,n,e,r,u,i){for(var o=0;o=r&&i(e[s],a)>0;)e[s+1|0]=e[s],s=s-1|0;e[s+1|0]=a}}function I(t,n,e,r,u,i){if(u<=5)return T(t,n,e,r,u,i);var o=u/2|0,a=u-o|0;I(t,n+o|0,e,r+o|0,a,i),I(t,n,t,n+a|0,o,i),q(t,n+a|0,o,e,r+o|0,a,e,r,i)}function R(t,n){var e=t.slice(0);return function(t,n){var e=t.length;if(e<=5)return T(t,0,t,0,e,n);var r=e/2|0,u=e-r|0,i=new Array(u);I(t,r,i,0,u,n),I(t,0,t,u,r,n),q(t,u,r,i,0,u,t,0,n)}(e,n),e}function j(t,n){if(n in t)return l(t[n])}t("b3",function(t,n){delete t[n]});var M=function(t,n){if(t<=0)return[];for(var e=new Array(t),r=0;rt.length?void 0:m(t,0,n)}function et(t,n){for(var e=0,r=!1,u=[];et.length?void 0:b(t,n)}function it(t,n){return w(t,[],function(t,e){return n(e)||t.push(e),t})}function ot(t,n){return N(t,n)}function at(){if(1===arguments.length){const t=arguments;return function(n){return ot(n,t[0])}}return ot(arguments[0],arguments[1])}var st=O;function ct(t,n){for(var e=0,r=[];e=0;--u)r=e(r,t[u]);return r},_t=k;function mt(t,n){return n<0||n>t.length?void 0:[m(t,0,n),b(t,n)]}function bt(){if(1===arguments.length){const t=arguments;return function(n){return mt(n,t[0])}}return mt(arguments[0],arguments[1])}function Et(t,n){if(n<1||t.length<=n)return[t];for(var e=0,r=[];en.length?[t,n]:[n,t],r=e[1];return $t(ft(e[0],function(t){return Ut(r,t)}),function(t){return t})}function pn(t,n){return Qt(N(t,n))}var hn=t("R",{__proto__:null,placeholder:function(t){},makeEmpty:function(t){return[]},makeWithIndex:function(){if(1===arguments.length){const t=arguments;return function(n){return M(n,t[0])}}return M(arguments[0],arguments[1])},make:function(){if(1===arguments.length){const t=arguments;return function(n){return P(n,t[0])}}return P(arguments[0],arguments[1])},repeat:function(){if(1===arguments.length){const t=arguments;return function(n){return J(n,t[0])}}return J(arguments[0],arguments[1])},length:function(t){return t.length},isEmpty:function(t){return 0===t.length},isNotEmpty:function(t){return 0!==t.length},reverse:function(t){for(var n=t.length,e=new Array(n),r=0;rt instanceof Promise,isArray:function(t){return Array.isArray(t)},isObject:function(t){return!(!t||Array.isArray(t))&&"object"==typeof t},isFunction:function(t){return"function"==typeof t},isError:t=>t instanceof Error,isDate:t=>t instanceof Date,isNullable:function(t){return null==t},isNotNullable:function(t){return!(null==t)},isNull:t=>null===t,isUndefined:t=>void 0===t,isNot:function(){if(1===arguments.length){const t=arguments;return function(n){return yn(n,t[0])}}return yn(arguments[0],arguments[1])}};t("b","data-actif"),t("aQ","aria-controls"),t("aR","aria-expanded"),t("d","aria-hidden"),t("w","data-caché");const gn=t("V","data-chargement"),_n=(t("aB","data-cle-panier"),t("aw","data-code-promo-present"),t("A","data-contient-articles"),t("U","disabled")),mn=(t("p","data-ensemble-epingle-boite-actif"),t("v","hidden"),t("S","data-id-categorie-produits"),t("o","data-id-ensemble-epingle-boite"),t("ap","data-livraison-validee"),t("j","data-menu-mobile-active"),t("T","data-page"),t("aS","data-prix"),t("c","tabindex"),t("a","#bouton-menu-mobile"),t("D",".compte-panier a[rel='cart']"),t("g","#menu-categories-produits ul li a"),t("e","#menu-categories-produits"),t("i","#menu-mobile"),t("ak","#panneau-informations-client .panneau__pied-de-page button"),t("aC","button.detail-produit__actions__addition"),t("aj","#panneau-panier #bouton-code-promo"),t("ai","#separation-adresses"),t("aD","button.detail-produit__actions__soustraction"),t("aE","button.detail-produit__actions__suppression"),t("ah","#panneau-panier #champ-code-promo"),t("aG","input"),t("ag","#panneau-panier #choix-methode-livraison"),t("ae","#panneau-panier #ensemble-code-promo"),t("ad","article"),t("ab","#panneau-informations-client .panneau__formulaires__facturation"),t("aa","#panneau-informations-client form"),t("a9","#panneau-panier #instructions-client"),t("a7","#panneau-panier .panneau__instructions-code-promo__code-promo__message"),t("a8","#panneau-informations-client #message-formulaire-adresses"),t("aH",".detail-produit__nom-prix span"),t("a6","#panneau-panier #sous-total-livraison strong"),t("a5","#panneau-panier #sous-total-produits strong"),t("a4","#panneau-panier .panneau__pied-de-page p span"),t("a3","#panneau-panier #sous-total-reduction"),t("a2","#panneau-panier #sous-total-reduction strong"),t("t",".storytelling__animation"),t("r",".storytelling"),t("u","no-js"),t("s",".storytelling__image"),t("Q","#page-boutique #bouton-plus-de-produits"),t("P","#page-boutique .grille-produits"),t("C","boite-texte__bouton-fermeture"),t("q","epingle")),bn=(t("n",".boite-texte"),t("k",".storytelling__conteneur"),t("l",`.${mn}`),t("aP","#bouton-ajout-panier"),t("af","#page-panier"),t("aM",".selecteur-produit__prix"),t("aL","#selecteur-variation"),t("aO",".section-textuelle button"),t("aN",".section-textuelle__contenu"),t("a0",{of:t=>Nn(t),empty:()=>An,zero:()=>An,fromNullable:t=>null==t?An:Nn(t),fromFalsy:t=>t?Nn(t):An,fromPredicate(t,n){return 1===arguments.length?n=>bn.fromPredicate(t,n):t(n)?Nn(n):An},mapMaybe(t,n){return 1===arguments.length?n=>bn.mapMaybe(t,n):bn.catMaybes(n.map(t))},catMaybes(t){let n=[];for(const e of t)e.isJust()&&n.push(e.extract());return n},encase(t){try{return Nn(t())}catch{return An}},isMaybe:t=>t instanceof En||t instanceof xn,sequence(t){let n=[];for(const e of t){if(!e.isJust())return An;n.push(e.extract())}return Nn(n)},"fantasy-land/of"(t){return this.of(t)},"fantasy-land/empty"(){return this.empty()},"fantasy-land/zero"(){return this.zero()}}));class En{constructor(t){this.__value=t}isJust(){return!0}isNothing(){return!1}inspect(){return`Just(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](t,n,e){return`Just(${e(this.__value,n)})`}toString(){return this.inspect()}toJSON(){const t=this.__value;return t instanceof Date?t.toJSON():t}equals(t){return this.extract()===t.extract()}map(t){return Nn(t(this.__value))}ap(t){return t.isJust()?this.map(t.extract()):An}alt(t){return this}altLazy(t){return this}chain(t){return t(this.__value)}chainNullable(t){return bn.fromNullable(t(this.__value))}join(){return this.__value}reduce(t,n){return t(n,this.__value)}extend(t){return Nn(t(this))}unsafeCoerce(){return this.__value}caseOf(t){return"_"in t?t._():t.Just(this.__value)}orDefault(t){return this.__value}orDefaultLazy(t){return this.__value}toList(){return[this.__value]}mapOrDefault(t,n){return t(this.__value)}extract(){return this.__value}extractNullable(){return this.__value}toEither(t){return Dn(this.__value)}ifJust(t){return t(this.__value),this}ifNothing(t){return this}filter(t){return t(this.__value)?Nn(this.__value):An}}En.prototype["fantasy-land/equals"]=En.prototype.equals,En.prototype["fantasy-land/map"]=En.prototype.map,En.prototype["fantasy-land/ap"]=En.prototype.ap,En.prototype["fantasy-land/alt"]=En.prototype.alt,En.prototype["fantasy-land/chain"]=En.prototype.chain,En.prototype["fantasy-land/reduce"]=En.prototype.reduce,En.prototype["fantasy-land/extend"]=En.prototype.extend,En.prototype["fantasy-land/filter"]=En.prototype.filter,En.prototype.constructor=bn;class xn{isJust(){return!1}isNothing(){return!0}inspect(){return"Nothing"}[Symbol.for("nodejs.util.inspect.custom")](){return"Nothing"}toString(){return this.inspect()}toJSON(){return this.__value}equals(t){return this.extract()===t.extract()}map(t){return An}ap(t){return An}alt(t){return t}altLazy(t){return t()}chain(t){return An}chainNullable(t){return An}join(){return An}reduce(t,n){return n}extend(t){return An}unsafeCoerce(){throw new Error("Maybe#unsafeCoerce was ran on a Nothing")}caseOf(t){return"_"in t?t._():t.Nothing()}orDefault(t){return t}orDefaultLazy(t){return t()}toList(){return[]}mapOrDefault(t,n){return n}extract(){}extractNullable(){return null}toEither(t){return kn(t)}ifJust(t){return this}ifNothing(t){return t(),this}filter(t){return An}}xn.prototype["fantasy-land/equals"]=xn.prototype.equals,xn.prototype["fantasy-land/map"]=xn.prototype.map,xn.prototype["fantasy-land/ap"]=xn.prototype.ap,xn.prototype["fantasy-land/alt"]=xn.prototype.alt,xn.prototype["fantasy-land/chain"]=xn.prototype.chain,xn.prototype["fantasy-land/reduce"]=xn.prototype.reduce,xn.prototype["fantasy-land/extend"]=xn.prototype.extend,xn.prototype["fantasy-land/filter"]=xn.prototype.filter,xn.prototype.constructor=bn;const Nn=t("be",t=>new En(t)),An=t("bd",new xn),Sn=t("al",{of:t=>Dn(t),lefts(t){let n=[];for(const e of t)e.isLeft()&&n.push(e.extract());return n},rights(t){let n=[];for(const e of t)e.isRight()&&n.push(e.extract());return n},encase(t){try{return Dn(t())}catch(n){return kn(n)}},sequence(t){let n=[];for(const e of t){if(e.isLeft())return e;n.push(e.extract())}return Dn(n)},isEither:t=>t instanceof wn||t instanceof On,"fantasy-land/of":t=>Sn.of(t)});class On{constructor(t){this.__value=t,this._="R"}isLeft(){return!1}isRight(){return!0}toJSON(){return this.__value}inspect(){return`Right(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](t,n,e){return`Right(${e(this.__value,n)})`}toString(){return this.inspect()}bimap(t,n){return Dn(n(this.__value))}map(t){return Dn(t(this.__value))}mapLeft(t){return this}ap(t){return t.isRight()?this.map(t.extract()):t}equals(t){return!!t.isRight()&&this.__value===t.extract()}chain(t){return t(this.__value)}chainLeft(t){return this}join(){return this.__value}alt(t){return this}altLazy(t){return this}reduce(t,n){return t(n,this.__value)}extend(t){return Dn(t(this))}unsafeCoerce(){return this.__value}caseOf(t){return"_"in t?t._():t.Right(this.__value)}leftOrDefault(t){return t}orDefault(t){return this.__value}orDefaultLazy(t){return this.__value}leftOrDefaultLazy(t){return t()}ifLeft(t){return this}ifRight(t){return t(this.__value),this}toMaybe(){return Nn(this.__value)}leftToMaybe(){return An}extract(){return this.__value}swap(){return kn(this.__value)}}On.prototype["fantasy-land/bimap"]=On.prototype.bimap,On.prototype["fantasy-land/map"]=On.prototype.map,On.prototype["fantasy-land/ap"]=On.prototype.ap,On.prototype["fantasy-land/equals"]=On.prototype.equals,On.prototype["fantasy-land/chain"]=On.prototype.chain,On.prototype["fantasy-land/alt"]=On.prototype.alt,On.prototype["fantasy-land/reduce"]=On.prototype.reduce,On.prototype["fantasy-land/extend"]=On.prototype.extend,On.prototype.constructor=Sn;class wn{constructor(t){this.__value=t,this._="L"}isLeft(){return!0}isRight(){return!1}toJSON(){return this.__value}inspect(){return`Left(${JSON.stringify(this.__value)})`}[Symbol.for("nodejs.util.inspect.custom")](t,n,e){return`Left(${e(this.__value,n)})`}toString(){return this.inspect()}bimap(t,n){return kn(t(this.__value))}map(t){return this}mapLeft(t){return kn(t(this.__value))}ap(t){return t.isLeft()?t:this}equals(t){return!!t.isLeft()&&t.extract()===this.__value}chain(t){return this}chainLeft(t){return t(this.__value)}join(){return this}alt(t){return t}altLazy(t){return t()}reduce(t,n){return n}extend(t){return this}unsafeCoerce(){if(this.__value instanceof Error)throw this.__value;throw new Error("Either#unsafeCoerce was ran on a Left")}caseOf(t){return"_"in t?t._():t.Left(this.__value)}leftOrDefault(t){return this.__value}orDefault(t){return t}orDefaultLazy(t){return t()}leftOrDefaultLazy(t){return this.__value}ifLeft(t){return t(this.__value),this}ifRight(t){return this}toMaybe(){return An}leftToMaybe(){return Nn(this.__value)}extract(){return this.__value}swap(){return Dn(this.__value)}}wn.prototype["fantasy-land/bimap"]=wn.prototype.bimap,wn.prototype["fantasy-land/map"]=wn.prototype.map,wn.prototype["fantasy-land/ap"]=wn.prototype.ap,wn.prototype["fantasy-land/equals"]=wn.prototype.equals,wn.prototype["fantasy-land/chain"]=wn.prototype.chain,wn.prototype["fantasy-land/alt"]=wn.prototype.alt,wn.prototype["fantasy-land/reduce"]=wn.prototype.reduce,wn.prototype["fantasy-land/extend"]=wn.prototype.extend,wn.prototype.constructor=Sn;const kn=t("bc",t=>new wn(t)),Dn=t("bb",t=>new On(t)),Ln=t("ax",t=>t),qn=t("W",(t,n)=>{const e=(t=>{const n={callback:()=>{t.element.hasAttribute(t.attribut)?(t.element.textContent=n.etapes.at(n.index)??"Loading...",n.index=n.index+1>n.etapes.length-1?0:n.index+1):clearInterval(n.interval)},etapes:t.etapes,index:0,interval:setInterval(()=>{},2147483647)};return n})({attribut:gn,element:t,etapes:["Loading","Loading.","Loading..","Loading..."]});e.callback(),e.interval=setInterval(e.callback,n)});var Tn,In,Rn,jn;function Mn(t){return{lang:t?.lang??Tn?.lang,message:t?.message,abortEarly:t?.abortEarly??Tn?.abortEarly,abortPipeEarly:t?.abortPipeEarly??Tn?.abortPipeEarly}}function Pn(t){const n=typeof t;return"string"===n?`"${t}"`:"number"===n||"bigint"===n||"boolean"===n?`${t}`:"object"===n||"function"===n?(t&&Object.getPrototypeOf(t)?.constructor?.name)??"null":n}function Jn(t,n,e,r,u){const i=u&&"input"in u?u.input:e.value,o=u?.expected??t.expects??null,a=u?.received??Pn(i),s={kind:t.kind,type:t.type,input:i,expected:o,received:a,message:`Invalid ${n}: ${o?`Expected ${o} but r`:"R"}eceived ${a}`,requirement:t.requirement,path:u?.path,issues:u?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},c="schema"===t.kind,f=u?.message??t.message??(l=t.reference,p=s.lang,jn?.get(l)?.get(p))??(c?function(t){return Rn?.get(t)}(s.lang):null)??r.message??function(t){return In?.get(t)}(s.lang);var l,p;void 0!==f&&(s.message="function"==typeof f?f(s):f),c&&(e.typed=!1),e.issues?e.issues.push(s):e.issues=[s]}function Bn(t){return{version:1,vendor:"valibot",validate:n=>t["~run"]({value:n},Mn())}}function $n(t,n){const e=[...new Set(t)];return e.length>1?`(${e.join(` ${n} `)})`:e[0]??"never"}var zn=t("_",class extends Error{constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}});function Vn(t,n,e){return"function"==typeof t.fallback?t.fallback(n,e):t.fallback}function Wn(t,n,e){return"function"==typeof t.default?t.default(n,e):t.default}function Cn(t){let n;if(t)for(const e of t)n?n.push(...e.issues):n=e.issues;return n}class Fn extends Error{problemes;constructor(t){super("Le ou les adresses fournies sont invalides."),this.name="ErreurAdresseInvalide",this.problemes=t}}t("ar",Fn);const Un=t=>`Le selecteur "${t}" est invalide`,Xn=t=>`La requête "${t}" n'a retourné aucun Élément.`,Gn=t=>new SyntaxError(t);class Hn extends Error{constructor(t="400 BadRequestError"){super(t),this.name="BadRequestError"}}t("Y",Hn);class Kn extends Error{constructor(t){super(JSON.stringify(t)),this.name="CleNonTrouveError"}}t("a1",Kn);class Qn extends Error{constructor(t="403 ForbiddenError"){super(t),this.name="ForbiddenError"}}t("bg",Qn);class Yn extends Error{constructor(t){super(JSON.stringify(t)),this.name="NonExistingKeyError"}}class Zn extends Error{constructor(t="404 NotFoundError"){super(t),this.name="NotFoundError"}}t("bh",Zn);class te extends Error{constructor(t="500 ServerError"){super(t),this.name="ServerError"}}t("X",te);class ne extends Error{constructor(t="401 UnauthorizedError"){super(t),this.name="UnauthorizedError"}}t("bf",ne),t("an",t=>new Yn(t));const ee=t("$",t=>r(t)),re=t=>{throw ee(t),t},ue=(t("ao",t=>{ee(t),console.error(t),t instanceof zn&&console.error(t.issues),t instanceof Fn&&console.error(t.problemes)}),t("aI",t=>n=>Sn.encase(()=>t.querySelector(n)).mapLeft(t=>Gn(Un(n))).chain(t=>vn.isNotNullable(t)?Dn(t):kn(Gn(Xn(n)))))),ie=t("ay",t=>n=>Sn.encase(()=>u(t.querySelectorAll(n),Array.from)).mapLeft(t=>Gn(Un(n))).chain(t=>hn.isEmpty(t)?kn(Gn(Xn(n))):Dn(t))),oe=t("aJ",t=>t.caseOf({Left:re,Right:Ln})),ae=t=>t.caseOf({Left:re,Right:Ln}),se=(t("Z",(t,...n)=>u(document.createElement("template"),e=>{return(r=e,t=>(r.innerHTML=t,r))(n.reduce((n,e,r)=>n+e+t[r+1],t[0]));var r},t=>t.content)),t("am",t=>Sn.encase(()=>JSON.parse(t))),t("av",(t,n)=>null!==t&&t.matches(n)),t("ac",ie(document))),ce=t("aK",ue(document));t("m",t=>u(ce(t),oe)),t("aF",t=>n=>u(ue(t)(n),oe)),t("f",t=>u(se(t),ae)),t("aq",(t,n)=>{e.debug("majEtatChargementBouton",t,n),n?(t.setAttribute(_n,""),t.setAttribute(gn,""),qn(t,500)):(t.removeAttribute(gn),t.removeAttribute(_n))}),t("at",t=>t instanceof Hn||t instanceof Qn||t instanceof Zn||t instanceof te||t instanceof ne),t("au",t=>t instanceof DOMException||t instanceof TypeError||t instanceof Error)}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.br b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.br deleted file mode 100644 index afe16c4d..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.gz deleted file mode 100644 index 0f03a7f5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.zst deleted file mode 100644 index 40cf9db5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js deleted file mode 100644 index b1b1b16d..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js +++ /dev/null @@ -1 +0,0 @@ -import{l as et}from"./journalisation.js";import{O as tt,a9 as P}from"./exports.JV8YQBqW.js";function sn(n,e){return ne?n:e}var j=function(n,e){for(var t in n)e(t)};function w(n,e){if(n===e)return 0;var t=typeof n,r=typeof e;switch(t){case"boolean":if(r==="boolean")return rt(n,e);break;case"function":if(r==="function")throw{RE_EXN_ID:"Invalid_argument",_1:"compare: functional value",Error:new Error};break;case"number":if(r==="number")return sn(n,e);break;case"string":return r==="string"?Se(n,e):1;case"undefined":return-1}switch(r){case"string":return-1;case"undefined":return 1;default:if(t==="boolean")return 1;if(r==="boolean")return-1;if(t==="function")return 1;if(r==="function")return-1;if(t==="number")return e===null||e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?1:-1;if(r==="number")return n===null||n.BS_PRIVATE_NESTED_SOME_NONE!==void 0?-1:1;if(n===null)return e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?1:-1;if(e===null)return n.BS_PRIVATE_NESTED_SOME_NONE!==void 0?-1:1;if(n.BS_PRIVATE_NESTED_SOME_NONE!==void 0)return e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?on(n,e):-1;var u=0|n.TAG,a=0|e.TAG;if(u===248)return sn(n[1],e[1]);if(u===251)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(u!==a)return u0))){var A=N.contents;if(!(A!==void 0&&c>=A)){N.contents=c;return}}},a=[n,e,r],s=[e,n,t];j(n,(function(f){return u(a,f)})),j(e,(function(f){return u(s,f)}));var i=t.contents,o=r.contents;return i!==void 0?o!==void 0?Se(i,o):-1:o!==void 0?1:0}function k(n,e){if(n===e)return!0;var t=typeof n;if(t==="string"||t==="number"||t==="boolean"||t==="undefined"||n===null)return!1;var r=typeof e;if(t==="function"||r==="function")throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if(r==="number"||r==="undefined"||e===null)return!1;var u=0|n.TAG,a=0|e.TAG;if(u===248)return n[1]===e[1];if(u===251)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(u!==a)return!1;var s=0|n.length;if(s===(0|e.length))if(Array.isArray(n))for(var i=0;;){var o=i;if(o===s)return!0;if(!k(n[o],e[o]))return!1;i=o+1|0}else{if(n instanceof Date&&e instanceof Date)return!(n>e||n2147483647?2147483647:n<-2147483648?-2147483648:Math.floor(n)}function De(n,e){return at(Math.random()*(e-n|0))+n|0}function D(n,e){if(e>=0&&er?t-r|0:0,a=new Array(u),s=0;s=0;--s)t[s+r|0]=n[s+e|0]}function nn(n,e){for(var t=0,r=n.length;t=0;--u)r=t(r,n[u]);return r}function en(n,e,t){for(var r=e,u=0,a=n.length;u=f)return fn(r,V,s,T+1|0,c-V|0);I=T+1|0,E=n[H],N=H;continue}s[T]=un;var Q=V+1|0;if(Q>=c)return fn(n,X,s,T+1|0,f-X|0);I=T+1|0,B=r[Q],A=Q}}function ke(n,e,t,r,u,a){for(var s=0;s=r&&a(t[o],i)>0;)t[o+1|0]=t[o],o=o-1|0;t[o+1|0]=i}}function $(n,e,t,r,u,a){if(u<=5)return ke(n,e,t,r,u,a);var s=u/2|0,i=u-s|0;$(n,e+s|0,t,r+s|0,i,a),$(n,e,n,e+i|0,s,a),we(n,e+i|0,s,t,r+s|0,i,t,r,a)}function Pe(n,e){var t=n.slice(0);return(function(u,a){var s=u.length;if(s<=5)return ke(u,0,u,0,s,a);var i=s/2|0,o=s-i|0,f=new Array(o);$(u,i,f,0,o,a),$(u,0,u,o,i,a),we(u,o,i,f,0,o,u,0,a)})(t,e),t}function Tt(n,e){if(e in n)return J(n[e])}var ua=function(n,e){delete n[e]};function aa(n){for(var e=Object.keys(n),t=e.length,r=new Array(t),u=0;un.length))return x(n,0,e)}function Vt(){if(arguments.length===1){const n=arguments;return function(t){return An(t,n[0])}}return An(arguments[0],arguments[1])}function In(n,e){for(var t=0,r=!1,u=[];tn.length))return M(n,e)}function Qt(){if(arguments.length===1){const n=arguments;return function(t){return Sn(t,n[0])}}return Sn(arguments[0],arguments[1])}function Rn(n,e){return U(n,[],(function(t,r){return e(r)||t.push(r),t}))}function Yt(){if(arguments.length===1){const n=arguments;return function(t){return Rn(t,n[0])}}return Rn(arguments[0],arguments[1])}function Kt(n){if(n.length!==0)return[st(n,0),M(n,1)]}function Dn(n,e){return Me(n,e)}function Zt(){if(arguments.length===1){const n=arguments;return function(t){return Dn(t,n[0])}}return Dn(arguments[0],arguments[1])}var xn=G;function nr(){if(arguments.length===1){const n=arguments;return function(t){return xn(t,n[0])}}return xn(arguments[0],arguments[1])}function Mn(n,e){for(var t=0,r=[];tn.length))return[x(n,0,e),M(n,e)]}function qe(){if(arguments.length===1){const n=arguments;return function(t){return Cn(t,n[0])}}return Cn(arguments[0],arguments[1])}function jn(n,e){if(e<1||n.length<=e)return[n];for(var t=0,r=[];te.length?[n,e]:[e,n],r=t[1];return C(F(t[0],(function(u){return tn(r,u)})),(function(u){return u}))}function Xr(){if(arguments.length===1){const n=arguments;return function(t){return Oe(t,n[0])}}return Oe(arguments[0],arguments[1])}function Hr(n){return n[De(0,n.length-1|0)]}function Te(n,e){return Je(Me(n,e))}function Qr(){if(arguments.length===1){const n=arguments;return function(t){return Te(t,n[0])}}return Te(arguments[0],arguments[1])}var Yr={__proto__:null,placeholder:Nt,makeEmpty:At,makeWithIndex:It,make:bt,repeat:St,length:Rt,isEmpty:Dt,isNotEmpty:xt,reverse:Mt,append:Ut,prepend:Lt,prependToAll:Bt,intersperse:wt,get:kt,at:Pt,getUnsafe:Ct,getUndefined:jt,getBy:$t,find:qt,head:Jt,last:Gt,tail:Ce,tailOrEmpty:zt,init:je,initOrEmpty:Ft,take:Wt,takeExactly:Vt,takeWhile:Xt,drop:Ht,dropExactly:Qt,dropWhile:Yt,uncons:Kt,map:Zt,mapWithIndex:nr,filter:F,keep:er,filterWithIndex:W,keepWithIndex:tr,reject:$e,rejectWithIndex:rr,reduce:ur,reduceReverse:ar,reduceWithIndex:sr,splitAt:qe,splitEvery:ir,shuffle:or,partition:fr,concat:cr,concatMany:lr,every:pr,some:gr,slice:mr,sliceToEnd:hr,eq:_r,range:vr,rangeBy:yr,copy:Er,zip:dr,zipWith:Or,unzip:Tr,replaceAt:Nr,insertAt:Ar,updateAt:Ir,swapAt:br,removeAt:Sr,uniqBy:C,uniq:Rr,forEach:Dr,forEachWithIndex:xr,getIndexBy:Mr,includes:tn,join:Ur,sort:Lr,sortBy:Br,groupBy:wr,flat:Je,flatten:rn,deepFlat:kr,toTuple:Pr,tap:Cr,flip:jr,filterMap:$r,keepMap:qr,removeFirstBy:Ge,removeFirst:Jr,zipWithIndex:Gr,all:zr,any:Fr,difference:Wr,union:Vr,intersection:Xr,sample:Hr,flatMap:Qr};function Ne(n,e){return typeof n===e}function Kr(){if(arguments.length===1){const n=arguments;return function(t){return Ne(t,n[0])}}return Ne(arguments[0],arguments[1])}function Zr(n){return typeof n=="string"}function nu(n){return typeof n=="number"?!Number.isNaN(n):!1}function eu(n){return typeof n=="boolean"}var tu=n=>n instanceof Promise;function ru(n){return Array.isArray(n)}function uu(n){return n&&!Array.isArray(n)?typeof n=="object":!1}function au(n){return typeof n=="function"}var su=n=>n instanceof Error,iu=n=>n instanceof Date;function ou(n){return n==null}function fu(n){return n!=null}var cu=n=>n===null,lu=n=>n===void 0;function Ae(n,e){return!e(n)}function pu(){if(arguments.length===1){const n=arguments;return function(t){return Ae(t,n[0])}}return Ae(arguments[0],arguments[1])}var gu={__proto__:null,is:Kr,isString:Zr,isNumber:nu,isBoolean:eu,isPromise:tu,isArray:ru,isObject:uu,isFunction:au,isError:su,isDate:iu,isNullable:ou,isNotNullable:fu,isNull:cu,isUndefined:lu,isNot:pu};const ia="data-actif",oa="aria-controls",fa="aria-expanded",ca="aria-hidden",la="data-caché",Z="data-chargement",pa="data-cle-panier",ga="data-code-promo-present",ma="data-contient-articles",Ie="disabled",ha="data-ensemble-epingle-boite-actif",_a="hidden",va="data-id-categorie-produits",ya="data-id-ensemble-epingle-boite",Ea="data-livraison-validee",da="data-menu-mobile-active",Oa="data-page",Ta="data-prix",Na="tabindex",Aa="#bouton-menu-mobile",Ia=".compte-panier a[rel='cart']",ba="#menu-categories-produits ul li a",Sa="#menu-categories-produits",Ra="#menu-mobile",Da="#panneau-informations-client .panneau__pied-de-page button",xa="button.detail-produit__actions__addition",Ma="#panneau-panier #bouton-code-promo",Ua="#separation-adresses",La="button.detail-produit__actions__soustraction",Ba="button.detail-produit__actions__suppression",wa="#panneau-panier #champ-code-promo",ka="input",Pa="#panneau-panier #choix-methode-livraison",Ca="#panneau-panier #ensemble-code-promo",ja="article",$a="#panneau-informations-client .panneau__formulaires__facturation",qa="#panneau-informations-client form",Ja="#panneau-panier #instructions-client",Ga="#panneau-panier .panneau__instructions-code-promo__code-promo__message",za="#panneau-informations-client #message-formulaire-adresses",Fa=".detail-produit__nom-prix span",Wa="#panneau-panier #sous-total-livraison strong",Va="#panneau-panier #sous-total-produits strong",Xa="#panneau-panier .panneau__pied-de-page p span",Ha="#panneau-panier #sous-total-reduction",Qa="#panneau-panier #sous-total-reduction strong",Ya=".storytelling__animation",Ka=".storytelling",Za="no-js",ns=".storytelling__image",es="#page-boutique #bouton-plus-de-produits",ts="#page-boutique .grille-produits",mu="boite-texte",rs="boite-texte__bouton-fermeture",hu="epingle",us=`.${mu}`,as=".storytelling__conteneur",ss=`.${hu}`,is="#bouton-ajout-panier",os="#page-panier",fs=".selecteur-produit__prix",cs="#selecteur-variation",ls=".section-textuelle button",ps=".section-textuelle__contenu",R={of(n){return y(n)},empty(){return h},zero(){return h},fromNullable(n){return n==null?h:y(n)},fromFalsy(n){return n?y(n):h},fromPredicate(n,e){switch(arguments.length){case 1:return t=>R.fromPredicate(n,t);default:return n(e)?y(e):h}},mapMaybe(n,e){switch(arguments.length){case 1:return t=>R.mapMaybe(n,t);default:return R.catMaybes(e.map(n))}},catMaybes(n){let e=[];for(const t of n)t.isJust()&&e.push(t.extract());return e},encase(n){try{return y(n())}catch{return h}},isMaybe(n){return n instanceof l||n instanceof p},sequence(n){let e=[];for(const t of n)if(t.isJust())e.push(t.extract());else return h;return y(e)},"fantasy-land/of"(n){return this.of(n)},"fantasy-land/empty"(){return this.empty()},"fantasy-land/zero"(){return this.zero()}};class l{constructor(e){this.__value=e}isJust(){return!0}isNothing(){return!1}inspect(){return`Just(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return`Just(${r(this.__value,t)})`}toString(){return this.inspect()}toJSON(){const e=this.__value;return e instanceof Date?e.toJSON():e}equals(e){return this.extract()===e.extract()}map(e){return y(e(this.__value))}ap(e){return e.isJust()?this.map(e.extract()):h}alt(e){return this}altLazy(e){return this}chain(e){return e(this.__value)}chainNullable(e){return R.fromNullable(e(this.__value))}join(){return this.__value}reduce(e,t){return e(t,this.__value)}extend(e){return y(e(this))}unsafeCoerce(){return this.__value}caseOf(e){return"_"in e?e._():e.Just(this.__value)}orDefault(e){return this.__value}orDefaultLazy(e){return this.__value}toList(){return[this.__value]}mapOrDefault(e,t){return e(this.__value)}extract(){return this.__value}extractNullable(){return this.__value}toEither(e){return d(this.__value)}ifJust(e){return e(this.__value),this}ifNothing(e){return this}filter(e){return e(this.__value)?y(this.__value):h}}l.prototype["fantasy-land/equals"]=l.prototype.equals;l.prototype["fantasy-land/map"]=l.prototype.map;l.prototype["fantasy-land/ap"]=l.prototype.ap;l.prototype["fantasy-land/alt"]=l.prototype.alt;l.prototype["fantasy-land/chain"]=l.prototype.chain;l.prototype["fantasy-land/reduce"]=l.prototype.reduce;l.prototype["fantasy-land/extend"]=l.prototype.extend;l.prototype["fantasy-land/filter"]=l.prototype.filter;l.prototype.constructor=R;class p{isJust(){return!1}isNothing(){return!0}inspect(){return"Nothing"}[Symbol.for("nodejs.util.inspect.custom")](){return"Nothing"}toString(){return this.inspect()}toJSON(){return this.__value}equals(e){return this.extract()===e.extract()}map(e){return h}ap(e){return h}alt(e){return e}altLazy(e){return e()}chain(e){return h}chainNullable(e){return h}join(){return h}reduce(e,t){return t}extend(e){return h}unsafeCoerce(){throw new Error("Maybe#unsafeCoerce was ran on a Nothing")}caseOf(e){return"_"in e?e._():e.Nothing()}orDefault(e){return e}orDefaultLazy(e){return e()}toList(){return[]}mapOrDefault(e,t){return t}extract(){}extractNullable(){return null}toEither(e){return S(e)}ifJust(e){return this}ifNothing(e){return e(),this}filter(e){return h}}p.prototype["fantasy-land/equals"]=p.prototype.equals;p.prototype["fantasy-land/map"]=p.prototype.map;p.prototype["fantasy-land/ap"]=p.prototype.ap;p.prototype["fantasy-land/alt"]=p.prototype.alt;p.prototype["fantasy-land/chain"]=p.prototype.chain;p.prototype["fantasy-land/reduce"]=p.prototype.reduce;p.prototype["fantasy-land/extend"]=p.prototype.extend;p.prototype["fantasy-land/filter"]=p.prototype.filter;p.prototype.constructor=R;const y=n=>new l(n),h=new p,L={of(n){return d(n)},lefts(n){let e=[];for(const t of n)t.isLeft()&&e.push(t.extract());return e},rights(n){let e=[];for(const t of n)t.isRight()&&e.push(t.extract());return e},encase(n){try{return d(n())}catch(e){return S(e)}},sequence(n){let e=[];for(const t of n){if(t.isLeft())return t;e.push(t.extract())}return d(e)},isEither(n){return n instanceof m||n instanceof g},"fantasy-land/of"(n){return L.of(n)}};class g{constructor(e){this.__value=e,this._="R"}isLeft(){return!1}isRight(){return!0}toJSON(){return this.__value}inspect(){return`Right(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return`Right(${r(this.__value,t)})`}toString(){return this.inspect()}bimap(e,t){return d(t(this.__value))}map(e){return d(e(this.__value))}mapLeft(e){return this}ap(e){return e.isRight()?this.map(e.extract()):e}equals(e){return e.isRight()?this.__value===e.extract():!1}chain(e){return e(this.__value)}chainLeft(e){return this}join(){return this.__value}alt(e){return this}altLazy(e){return this}reduce(e,t){return e(t,this.__value)}extend(e){return d(e(this))}unsafeCoerce(){return this.__value}caseOf(e){return"_"in e?e._():e.Right(this.__value)}leftOrDefault(e){return e}orDefault(e){return this.__value}orDefaultLazy(e){return this.__value}leftOrDefaultLazy(e){return e()}ifLeft(e){return this}ifRight(e){return e(this.__value),this}toMaybe(){return y(this.__value)}leftToMaybe(){return h}extract(){return this.__value}swap(){return S(this.__value)}}g.prototype["fantasy-land/bimap"]=g.prototype.bimap;g.prototype["fantasy-land/map"]=g.prototype.map;g.prototype["fantasy-land/ap"]=g.prototype.ap;g.prototype["fantasy-land/equals"]=g.prototype.equals;g.prototype["fantasy-land/chain"]=g.prototype.chain;g.prototype["fantasy-land/alt"]=g.prototype.alt;g.prototype["fantasy-land/reduce"]=g.prototype.reduce;g.prototype["fantasy-land/extend"]=g.prototype.extend;g.prototype.constructor=L;class m{constructor(e){this.__value=e,this._="L"}isLeft(){return!0}isRight(){return!1}toJSON(){return this.__value}inspect(){return`Left(${JSON.stringify(this.__value)})`}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return`Left(${r(this.__value,t)})`}toString(){return this.inspect()}bimap(e,t){return S(e(this.__value))}map(e){return this}mapLeft(e){return S(e(this.__value))}ap(e){return e.isLeft()?e:this}equals(e){return e.isLeft()?e.extract()===this.__value:!1}chain(e){return this}chainLeft(e){return e(this.__value)}join(){return this}alt(e){return e}altLazy(e){return e()}reduce(e,t){return t}extend(e){return this}unsafeCoerce(){throw this.__value instanceof Error?this.__value:new Error("Either#unsafeCoerce was ran on a Left")}caseOf(e){return"_"in e?e._():e.Left(this.__value)}leftOrDefault(e){return this.__value}orDefault(e){return e}orDefaultLazy(e){return e()}leftOrDefaultLazy(e){return this.__value}ifLeft(e){return e(this.__value),this}ifRight(e){return this}toMaybe(){return h}leftToMaybe(){return y(this.__value)}extract(){return this.__value}swap(){return d(this.__value)}}m.prototype["fantasy-land/bimap"]=m.prototype.bimap;m.prototype["fantasy-land/map"]=m.prototype.map;m.prototype["fantasy-land/ap"]=m.prototype.ap;m.prototype["fantasy-land/equals"]=m.prototype.equals;m.prototype["fantasy-land/chain"]=m.prototype.chain;m.prototype["fantasy-land/alt"]=m.prototype.alt;m.prototype["fantasy-land/reduce"]=m.prototype.reduce;m.prototype["fantasy-land/extend"]=m.prototype.extend;m.prototype.constructor=L;const S=n=>new m(n),d=n=>new g(n),ze=n=>n,_u=n=>{const e={callback:()=>{if(!n.element.hasAttribute(n.attribut)){clearInterval(e.interval);return}n.element.textContent=e.etapes.at(e.index)??"Loading...",e.index=e.index+1>e.etapes.length-1?0:e.index+1},etapes:n.etapes,index:0,interval:setInterval(()=>{},2147483647)};return e},vu=(n,e)=>{const t=_u({attribut:Z,element:n,etapes:["Loading","Loading.","Loading..","Loading..."]});t.callback(),t.interval=setInterval(t.callback,e)};var Y;function Fe(n){return{lang:n?.lang??Y?.lang,message:n?.message,abortEarly:n?.abortEarly??Y?.abortEarly,abortPipeEarly:n?.abortPipeEarly??Y?.abortPipeEarly}}var yu;function Eu(n){return yu?.get(n)}var du;function Ou(n){return du?.get(n)}var Tu;function Nu(n,e){return Tu?.get(n)?.get(e)}function O(n){const e=typeof n;return e==="string"?`"${n}"`:e==="number"||e==="bigint"||e==="boolean"?`${n}`:e==="object"||e==="function"?(n&&Object.getPrototypeOf(n)?.constructor?.name)??"null":e}function _(n,e,t,r,u){const a=u&&"input"in u?u.input:t.value,s=u?.expected??n.expects??null,i=u?.received??O(a),o={kind:n.kind,type:n.type,input:a,expected:s,received:i,message:`Invalid ${e}: ${s?`Expected ${s} but r`:"R"}eceived ${i}`,requirement:n.requirement,path:u?.path,issues:u?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},f=n.kind==="schema",c=u?.message??n.message??Nu(n.reference,o.lang)??(f?Ou(o.lang):null)??r.message??Eu(o.lang);c!==void 0&&(o.message=typeof c=="function"?c(o):c),f&&(t.typed=!1),t.issues?t.issues.push(o):t.issues=[o]}function v(n){return{version:1,vendor:"valibot",validate(e){return n["~run"]({value:e},Fe())}}}function We(n,e){const t=[...new Set(n)];return t.length>1?`(${t.join(` ${e} `)})`:t[0]??"never"}var Ve=class extends Error{constructor(n){super(n[0].message),this.name="ValiError",this.issues=n}};function Au(n,e){const t=O(n);return{kind:"validation",type:"includes",reference:Au,async:!1,expects:t,requirement:n,message:e,"~run"(r,u){return r.typed&&!r.value.includes(this.requirement)&&_(this,"content",r,u,{received:`!${t}`}),r}}}function Iu(n){return{kind:"validation",type:"integer",reference:Iu,async:!1,expects:null,requirement:Number.isInteger,message:n,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&_(this,"integer",e,t),e}}}function bu(n,e){return{kind:"validation",type:"max_value",reference:bu,async:!1,expects:`<=${n instanceof Date?n.toJSON():O(n)}`,requirement:n,message:e,"~run"(t,r){return t.typed&&!(t.value<=this.requirement)&&_(this,"value",t,r,{received:t.value instanceof Date?t.value.toJSON():O(t.value)}),t}}}function Su(n,e){return{kind:"validation",type:"min_value",reference:Su,async:!1,expects:`>=${n instanceof Date?n.toJSON():O(n)}`,requirement:n,message:e,"~run"(t,r){return t.typed&&!(t.value>=this.requirement)&&_(this,"value",t,r,{received:t.value instanceof Date?t.value.toJSON():O(t.value)}),t}}}function Ru(n){return{kind:"transformation",type:"transform",reference:Ru,async:!1,operation:n,"~run"(e){return e.value=this.operation(e.value),e}}}function Du(n){return{kind:"validation",type:"url",reference:Du,async:!1,expects:null,requirement(e){try{return new URL(e),!0}catch{return!1}},message:n,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&_(this,"URL",e,t),e}}}function xu(n,e){return{kind:"validation",type:"value",reference:xu,async:!1,expects:n instanceof Date?n.toJSON():O(n),requirement:n,message:e,"~run"(t,r){return t.typed&&!(this.requirement<=t.value&&this.requirement>=t.value)&&_(this,"value",t,r,{received:t.value instanceof Date?t.value.toJSON():O(t.value)}),t}}}function Mu(n,e,t){return typeof n.fallback=="function"?n.fallback(e,t):n.fallback}function Xe(n,e,t){return typeof n.default=="function"?n.default(e,t):n.default}function gs(n,e){return!n["~run"]({value:e},{abortEarly:!0}).issues}function Uu(n,e){return{kind:"schema",type:"array",reference:Uu,expects:"Array",async:!1,item:n,message:e,get"~standard"(){return v(this)},"~run"(t,r){const u=t.value;if(Array.isArray(u)){t.typed=!0,t.value=[];for(let a=0;at.expects),"|"),async:!1,options:n,message:e,get"~standard"(){return v(this)},"~run"(t,r){let u,a,s;for(const i of this.options){const o=i["~run"]({value:t.value},r);if(o.typed)if(o.issues)a?a.push(o):a=[o];else{u=o;break}else s?s.push(o):s=[o]}if(u)return u;if(a){if(a.length===1)return a[0];_(this,"type",t,r,{issues:be(a)}),t.typed=!0}else{if(s?.length===1)return s[0];_(this,"type",t,r,{issues:be(s)})}return t}}}function Ju(){return{kind:"schema",type:"unknown",reference:Ju,expects:"unknown",async:!1,get"~standard"(){return v(this)},"~run"(n){return n.typed=!0,n}}}function ms(n,e){const t={...n.entries};for(const r of e)delete t[r];return{...n,entries:t,get"~standard"(){return v(this)}}}function hs(n,e,t){const r=n["~run"]({value:e},Fe(t));if(r.issues)throw new Ve(r.issues);return r.value}function _s(...n){return{...n[0],pipe:n,get"~standard"(){return v(this)},"~run"(e,t){for(const r of n)if(r.kind!=="metadata"){if(e.issues&&(r.kind==="schema"||r.kind==="transformation")){e.typed=!1;break}(!e.issues||!t.abortEarly&&!t.abortPipeEarly)&&(e=r["~run"](e,t))}return e}}}class Gu extends Error{problemes;constructor(e){super("Le ou les adresses fournies sont invalides."),this.name="ErreurAdresseInvalide",this.problemes=e}}const He=n=>`Le selecteur "${n}" est invalide`,Qe=n=>`La requête "${n}" n'a retourné aucun Élément.`,q=n=>new SyntaxError(n);class zu extends Error{constructor(e="400 BadRequestError"){super(e),this.name="BadRequestError"}}class vs extends Error{constructor(e){super(JSON.stringify(e)),this.name="CleNonTrouveError"}}class Fu extends Error{constructor(e="403 ForbiddenError"){super(e),this.name="ForbiddenError"}}class Wu extends Error{constructor(e){super(JSON.stringify(e)),this.name="NonExistingKeyError"}}class Vu extends Error{constructor(e="404 NotFoundError"){super(e),this.name="NotFoundError"}}class Xu extends Error{constructor(e="500 ServerError"){super(e),this.name="ServerError"}}class Hu extends Error{constructor(e="401 UnauthorizedError"){super(e),this.name="UnauthorizedError"}}const ys=n=>new Wu(n),Ye=n=>tt(n),Ke=n=>{throw Ye(n),n},Es=n=>{Ye(n),console.error(n),n instanceof Ve&&console.error(n.issues),n instanceof Gu&&console.error(n.problemes)},Ze=n=>e=>L.encase(()=>n.querySelector(e)).mapLeft(t=>q(He(e))).chain(t=>gu.isNotNullable(t)?d(t):S(q(Qe(e)))),Qu=n=>e=>L.encase(()=>P(n.querySelectorAll(e),Array.from)).mapLeft(t=>q(He(e))).chain(t=>Yr.isEmpty(t)?S(q(Qe(e))):d(t)),nt=n=>n.caseOf({Left:Ke,Right:ze}),Yu=n=>n.caseOf({Left:Ke,Right:ze}),Ku=n=>e=>(n.innerHTML=e,n),ds=(n,...e)=>P(document.createElement("template"),t=>Ku(t)(e.reduce((r,u,a)=>r+u+n[a+1],n[0])),t=>t.content),Os=n=>L.encase(()=>JSON.parse(n)),Ts=(n,e)=>n!==null&&n.matches(e),Zu=Qu(document),na=Ze(document),Ns=n=>P(na(n),nt),As=n=>e=>P(Ze(n)(e),nt),Is=n=>P(Zu(n),Yu),bs=(n,e)=>{et.debug("majEtatChargementBouton",n,e),e?(n.setAttribute(Ie,""),n.setAttribute(Z,""),vu(n,500)):(n.removeAttribute(Z),n.removeAttribute(Ie))},Ss=n=>n instanceof zu||n instanceof Fu||n instanceof Vu||n instanceof Xu||n instanceof Hu,Rs=n=>n instanceof DOMException||n instanceof TypeError||n instanceof Error;export{Ye as $,ma as A,Bu as B,rs as C,Ia as D,$u as E,_s as F,bu as G,Su as H,Pu as I,Iu as J,Lu as K,Ju as L,qu as M,ku as N,Du as O,ts as P,es as Q,Yr as R,va as S,Oa as T,Ie as U,Z as V,vu as W,Xu as X,zu as Y,ds as Z,Ve as _,Aa as a,Tt as a$,R as a0,vs as a1,Qa as a2,Ha as a3,Xa as a4,Va as a5,Wa as a6,Ga as a7,za as a8,Ja as a9,Zt as aA,pa as aB,xa as aC,La as aD,Ba as aE,As as aF,ka as aG,Fa as aH,Ze as aI,nt as aJ,na as aK,cs as aL,fs as aM,ps as aN,ls as aO,is as aP,oa as aQ,fa as aR,Ta as aS,K as aT,J as aU,U as aV,ra as aW,k as aX,b as aY,sa as aZ,aa as a_,qa as aa,$a as ab,Zu as ac,ja as ad,Ca as ae,os as af,Pa as ag,wa as ah,Ua as ai,Ma as aj,Da as ak,L as al,Os as am,ys as an,Es as ao,Ea as ap,bs as aq,Gu as ar,qt as as,Ss as at,Rs as au,Ts as av,ga as aw,ze as ax,Qu as ay,Dr as az,ia as b,Ut as b0,Me as b1,nn as b2,ua as b3,gs as b4,wu as b5,Au as b6,ms as b7,Ru as b8,xu as b9,hs as ba,d as bb,S as bc,h as bd,y as be,Hu as bf,Fu as bg,Vu as bh,Na as c,ca as d,Sa as e,Is as f,ba as g,Jt as h,Ra as i,da as j,as as k,ss as l,Ns as m,us as n,ya as o,ha as p,hu as q,Ka as r,ns as s,Ya as t,Za as u,_a as v,la as w,Cu as x,Uu as y,ju as z}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.br b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.br deleted file mode 100644 index a027129f..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.gz deleted file mode 100644 index 9b01d154..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.zst deleted file mode 100644 index ef3f6937..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js deleted file mode 100644 index fddadf7a..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(t,e){"use strict";return{execute:function(){t({$:j,A:I,C:pt,E:c,F:function(t){return t.__sentry_original__},H:O,J:function(t,n,r){if(!(n in t))return;const s=t[n];if("function"!=typeof s)return;const i=r(s);"function"==typeof i&&M(i,s);try{t[n]=i}catch{e&&f.log(`Failed to replace method "${n}" in object`,t)}},L:function(...t){const e=ct(s());if(2===t.length){const[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])},M:B,N:function(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rre.includes(t))}(t)?{captureContext:t}:t}(e))},P:function(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{return}}},Q:J,R:S,T:L,U:function(t){return"undefined"!=typeof Request&&O(t,Request)},V:function(){try{return $.document.location.href}catch{return""}},W:M,X:function(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")},Y:function(t){return E(t,"ErrorEvent")},Z:function(t){return E(t,"DOMError")},_:function(t){return E(t,"DOMException")},a:function(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${o}`},a0:function t(e,n=3,r=102400){const s=Yt(e,n);return i=s,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(i))>r?t(e,n-1,r):s;var i},a1:function(t){const e=Object.keys(T(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},a2:k,a3:function(...t){const e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{const s=[],i=t.split("\n");for(let o=n;o1024&&(t=t.slice(0,1024));const n=_.test(t)?t.replace(_,"$1"):t;if(!n.match(/\S*Error: /)){for(const t of e){const e=t(n);if(e){s.push(e);break}}if(s.length>=h+r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(m(e).function||"")&&e.pop(),e.reverse(),g.test(m(e).function||"")&&(e.pop(),g.test(m(e).function||"")&&e.pop()),e.slice(0,h).map(t=>({...t,filename:t.filename||m(e).filename,function:t.function||d}))}(s.slice(r))}},a5:function(t){const{message:e,event_id:n}=t;if(e)return e;const r=H(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""},a6:A,a7:function(t){if(!$.HTMLElement)return null;let e=t;for(let n=0;n<5;n++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null},a8:function(t,e){return ut().captureEvent(t,e)},a9:function(){let t=arguments[0];for(let e=1,n=arguments.length;e{console.error(`Invalid Sentry Dsn: ${t}`)});const[n,r,s="",i="",o="",a=""]=e.slice(1);let u="",p=a;const l=p.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),p=l.pop()),p){const t=p.match(/^\d+/);t&&(p=t[0])}return Ct({host:i,pass:s,path:u,projectId:p,port:o,protocol:n,publicKey:r})}(t):Ct(t);if(n&&function(t){if(!e)return!0;const{port:n,projectId:r,protocol:s}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(f.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(r.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?!n||!isNaN(parseInt(n,10))||(f.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):(f.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(f.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(n))return n},n:Yt,o:function(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||X()};return r&&(i.parent_span_id=r),i},p:function(t,e,r,s,i,a){const{normalizeDepth:c=3,normalizeMaxBreadth:u=1e3}=t,p={...e,event_id:e.event_id||r.event_id||F(),timestamp:e.timestamp||K()},l=r.integrations||t.integrations.map(t=>t.name);(function(t,e){const{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||Vt,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;o?.url&&i&&(o.url=V(o.url,i)),i&&t.exception?.values?.forEach(t=>{t.value&&(t.value=V(t.value,i))})})(p,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(p,l),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const r=function(t){const e=n._sentryDebugIds,r=n._debugIds;if(!e&&!r)return{};const s=e?Object.keys(e):[],i=r?Object.keys(r):[];if(ne&&s.length===te&&i.length===ee)return ne;te=s.length,ee=i.length,ne={},Zt||(Zt={});const o=(e,n)=>{for(const r of e){const e=n[r],s=Zt?.[r];if(s&&ne&&e)ne[s[0]]=e,Zt&&(Zt[r]=[s[0],e]);else if(e){const n=t(r);for(let t=n.length-1;t>=0;t--){const s=n[t],i=s?.filename;if(i&&ne&&Zt){ne[i]=e,Zt[r]=[i,e];break}}}}};return e&&o(s,e),r&&o(i,r),ne}(e);t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=r[t.filename])})})}(p,t.stackParser);const f=function(t,e){if(!e)return t;const n=t?t.clone():new nt;return n.update(e),n}(s,r.captureContext);r.mechanism&&B(p,r.mechanism);const h=i?i.getEventProcessors():[],d=o("globalScope",()=>new nt).getScopeData();a&&Qt(d,a.getScopeData()),f&&Qt(d,f.getScopeData());const _=[...r.attachments||[],...d.attachments];_.length&&(r.attachments=_),function(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;(function(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),a&&"transaction"!==t.type&&(t.transaction=a)})(t,e),r&&function(t,e){t.contexts={trace:Nt(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Ht(e),...t.sdkProcessingMetadata};const n=Ut(e),r=Mt(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),function(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,i)}(p,d);const g=[...h,...d.eventProcessors];return function(t,e,n,r=0){try{const s=qt(e,n,t,r);return C(s)?s:Gt(s)}catch(s){return Jt(s)}}(g,p,r).then(t=>(t&&function(t){const e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof c&&c>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:Yt(t.data,e,n)}}))},...t.user&&{user:Yt(t.user,e,n)},...t.contexts&&{contexts:Yt(t.contexts,e,n)},...t.extra&&{extra:Yt(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Yt(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:Yt(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=Yt(t.contexts.flags,3,n)),r}(t,c,u):t))},q:function(t,e){const n=e.getPropagationContext();return n.dsc||Ft(n.traceId,t)},r:Gt,s:ut,t:function(){const t=s();return ct(t).getIsolationScope()},u:F,v:w,w:function(t){return null===t||w(t)||"object"!=typeof t&&"function"!=typeof t},x:function(){$t||(c(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),$t=!0)},y:q,z:C});const e=t("D","undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__),n=t("G",globalThis),r=t("B","10.28.0");function s(){return i(n),n}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r,e[r]=e[r]||{}}function o(t,e,s=n){const i=s.__SENTRY__=s.__SENTRY__||{},o=i[r]=i[r]||{};return o[t]||(o[t]=e())}t("I",["debug","info","warn","error","log","assert","trace"]);const a=t("K",{});function c(t){if(!("console"in n))return t();const e=n.console,r={},s=Object.keys(a);s.forEach(t=>{const n=a[t];r[t]=e[t],e[t]=n});try{return t()}finally{s.forEach(t=>{e[t]=r[t]})}}function u(){return l().enabled}function p(t,...r){e&&u()&&c(()=>{n.console[t](`Sentry Logger [${t}]:`,...r)})}function l(){return e?o("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const f=t("d",{enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:u,log:function(...t){p("log",...t)},warn:function(...t){p("warn",...t)},error:function(...t){p("error",...t)}}),h=50,d=t("a4","?"),_=/\(error: (.*)\)/,g=/captureMessage|captureException/;function m(t){return t[t.length-1]||{}}const y="";function b(t){try{return t&&"function"==typeof t&&t.name||y}catch{return y}}function v(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const x=Object.prototype.toString;function S(t){switch(x.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return O(t,Error)}}function E(t,e){return x.call(t)===`[object ${e}]`}function k(t){return E(t,"String")}function w(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function I(t){return E(t,"Object")}function j(t){return"undefined"!=typeof Event&&O(t,Event)}function C(t){return Boolean(t?.then&&"function"==typeof t.then)}function O(t,e){try{return t instanceof e}catch{return!1}}function P(t){return!("object"!=typeof t||null===t||!(t.__isVue||t._isVue||t.__v_isVNode))}const $=n,N=80;function A(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const p=Array.isArray(e)?e:e.keyAttrs,l=!Array.isArray(e)&&e.maxStringLength||N;for(;n&&i++1&&o+s.length*c+u.length>=l));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function D(t,e){const n=t,r=[];if(!n?.tagName)return"";if($.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e?.length?e.filter(t=>n.getAttribute(t)).map(t=>[t,n.getAttribute(t)]):null;if(s?.length)s.forEach(t=>{r.push(`[${t[0]}="${t[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const t=n.className;if(t&&k(t)){const e=t.split(/\s+/);for(const t of e)r.push(`.${t}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const t=n.getAttribute(o);t&&r.push(`[${o}="${t}"]`)}return r.join("")}function L(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e&&f.log(`Failed to add non-enumerable property "${n}" to object`,t)}}function M(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,L(t,"__sentry_original__",e)}catch{}}function T(t){if(S(t))return{message:t.message,name:t.name,stack:t.stack,...U(t)};if(j(t)){const e={type:t.type,target:R(t.target),currentTarget:R(t.currentTarget),...U(t)};return"undefined"!=typeof CustomEvent&&O(t,CustomEvent)&&(e.detail=t.detail),e}return t}function R(t){try{return e=t,"undefined"!=typeof Element&&O(e,Element)?A(t):Object.prototype.toString.call(t)}catch{return""}var e}function U(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function V(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}let z;function F(t=function(){const t=n;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return t.randomUUID().replace(/-/g,"")}catch{}return z||(z=[1e7]+1e3+4e3+8e3+1e11),z.replace(/[018]/g,t=>(t^(16*Math.random()&15)>>t/4).toString(16))}function H(t){return t.exception?.values?.[0]}function B(t,e){const n=H(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r?.data,...e.data};n.mechanism.data=t}}const Y=1e3;function K(){return Date.now()/Y}let G;function J(){return(G??(G=function(){const{performance:t}=n;if(!t?.now||!t.timeOrigin)return K;const e=t.timeOrigin;return()=>(e+t.now())/Y}()))()}function W(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||J(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:F()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function q(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=q(r[s],e[s],n-1));return r}function Q(){return F()}function X(){return F().substring(16)}const Z="_sentrySpan";function tt(t,e){e?L(t,Z,e):delete t[Z]}function et(t){return t[Z]}class nt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Q(),sampleRand:Math.random()}}clone(){const t=new nt;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,tt(t,et(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&W(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,n=e instanceof nt?e.getScopeData():I(e)?t:void 0,{tags:r,attributes:s,extra:i,user:o,contexts:a,level:c,fingerprint:u=[],propagationContext:p}=n||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),u.length&&(this._fingerprint=u),p&&(this._propagationContext=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,tt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Q(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:K(),...t,message:t.message?V(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:et(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=q(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||F();if(!this._client)return e&&f.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r?.event_id||F();if(!this._client)return e&&f.warn("No client configured on scope - will not capture message!"),s;const i=r?.syntheticException??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=n?.event_id||F();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(e&&f.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}class rt{constructor(t,e){let n,r;n=t||new nt,r=e||new nt,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return C(n)?n.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function st(){const t=i(s());return t.stack=t.stack||new rt(o("defaultCurrentScope",()=>new nt),o("defaultIsolationScope",()=>new nt))}function it(t){return st().withScope(t)}function ot(t,e){const n=st();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function at(t){return st().withScope(()=>t(st().getIsolationScope()))}function ct(t){const e=i(t);return e.acs?e.acs:{withIsolationScope:at,withScope:it,withSetScope:ot,withSetIsolationScope:(t,e)=>at(e),getCurrentScope:()=>st().getScope(),getIsolationScope:()=>st().getIsolationScope()}}function ut(){return ct(s()).getCurrentScope()}function pt(){return ut().getClient()}const lt="sentry.source",ft="sentry.sample_rate",ht="sentry.previous_trace_sample_rate",dt="sentry.op",_t="sentry.origin",gt=(t("h","sentry.profile_id"),t("S","sentry.exclusive_time"),0),mt=1,yt="_sentryScope",bt="_sentryIsolationScope";function vt(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}function xt(t){const e=t;return{scope:e[yt],isolationScope:vt(e[bt])}}const St="sentry-",Et=/^sentry-/;function kt(t){const e=function(t){if(t&&(k(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>{const n=wt(e);return Object.entries(n).forEach(([e,n])=>{t[e]=n}),t},{}):wt(t)}(t);if(!e)return;const n=Object.entries(e).reduce((t,[e,n])=>(e.match(Et)&&(t[e.slice(St.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function wt(t){return t.split(",").map(t=>{const e=t.indexOf("=");return-1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}const It=/^o(\d+)\./,jt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Ct(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Ot(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=function(t){const e=t.match(It);return e?.[1]}(n)),r}const Pt=1;let $t=!1;function Nt(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:Mt(t).parent_span_id,i=xt(t).scope;return{parent_span_id:s,span_id:r?i?.getPropagationContext().propagationSpanId||X():e,trace_id:n}}function At(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:s})=>({span_id:t,trace_id:e,sampled:n===Pt,attributes:s,...r})):void 0}function Dt(t){return"number"==typeof t?Lt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Lt(t.getTime()):J()}function Lt(t){return t>9999999999?t/1e3:t}function Mt(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:Dt(s),timestamp:Dt(o)||void 0,status:Tt(a),op:r[dt],origin:r[_t],links:At(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Tt(t){if(t&&t.code!==gt)return t.code===mt?"ok":t.message||"internal_error"}const Rt="_sentryRootSpan";function Ut(t){return t[Rt]||t}const Vt=t("l","production"),zt="_frozenDsc";function Ft(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||Vt,release:n.release,public_key:r,trace_id:t,org_id:Ot(e)};return e.emit("createDsc",s),s}function Ht(t){const e=pt();if(!e)return{};const n=Ut(t),r=Mt(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[ft]??s[ht];function a(t){return"number"!=typeof o&&"string"!=typeof o||(t.sample_rate=`${o}`),t}const c=n[zt];if(c)return a(c);const u=i?.get("sentry.dsc"),p=u&&kt(u);if(p)return a(p);const l=Ft(t.spanContext().traceId,e),f=s[lt],h=r.description;return"url"!==f&&h&&(l.transaction=h),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=pt()?.getOptions();return!(!t||null==t.tracesSampleRate&&!t.tracesSampler)}()&&(l.sampled=String(function(t){const{traceFlags:e}=t.spanContext();return e===Pt}(n)),l.sample_rand=i?.get("sentry.sample_rand")??xt(n).scope?.getPropagationContext().sampleRand.toString()),a(l),e.emit("createDsc",l,n),l}const Bt=globalThis||self;function Yt(t,e=100,n=1/0){try{return Kt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Kt(t,e,n=1/0,r=1/0,s=function(){const t=new WeakSet;function e(e){return!!t.has(e)||(t.add(e),!1)}function n(e){t.delete(e)}return[e,n]}()){const[i,o]=s;if(null==e||["boolean","string"].includes(typeof e)||"number"==typeof e&&Number.isFinite(e))return e;const a=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(void 0!==Bt&&e===Bt)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(P(e))return v(e);if(I(n=e)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${b(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const r=function(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}var n}(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===c)return a.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&"function"==typeof u.toJSON)try{return Kt("",u.toJSON(),c-1,r,s)}catch{}const p=Array.isArray(e)?[]:{};let l=0;const f=T(e);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(l>=r){p[h]="[MaxProperties ~]";break}const t=f[h];p[h]=Kt(h,t,c-1,r,s),l++}return o(e),p}function Gt(t){return new Wt(e=>{e(t)})}function Jt(t){return new Wt((e,n)=>{n(t)})}class Wt{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new Wt((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(s){r(s)}else n(e)},t=>{if(e)try{n(e(t))}catch(s){r(s)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new Wt((e,n)=>{let r,s;return this.then(e=>{s=!1,r=e,t&&t()},e=>{s=!0,r=e,t&&t()}).then(()=>{s?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;const t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){const e=(t,e)=>{0===this._state&&(C(e)?e.then(n,r):(this._state=t,this._value=e,this._executeHandlers()))},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(s){r(s)}}}function qt(t,n,r,s){const i=r[s];if(!t||!i)return t;const o=i({...t},n);return e&&null===o&&f.log(`Event processor "${i.id||"?"}" dropped event`),C(o)?o.then(t=>qt(t,n,r,s+1)):qt(o,n,r,s+1)}function Qt(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:p,attachments:l,propagationContext:f,transactionName:h,span:d}=e;Xt(t,"extra",n),Xt(t,"tags",r),Xt(t,"user",s),Xt(t,"contexts",i),t.sdkProcessingMetadata=q(t.sdkProcessingMetadata,a,2),o&&(t.level=o),h&&(t.transactionName=h),d&&(t.span=d),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),l.length&&(t.attachments=[...t.attachments,...l]),t.propagationContext={...t.propagationContext,...f}}function Xt(t,e,n){t[e]=q(t[e],n,1)}let Zt,te,ee,ne;const re=["user","level","extra","contexts","tags","fingerprint","propagationContext"]}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.br b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.br deleted file mode 100644 index 4836f626..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.gz deleted file mode 100644 index c30d55b5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.zst deleted file mode 100644 index 76d09abc..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js deleted file mode 100644 index 34cab6b8..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js +++ /dev/null @@ -1,2 +0,0 @@ -function bn(){let t=arguments[0];for(let e=1,n=arguments.length;e"u"||__SENTRY_DEBUG__,h=globalThis,A="10.28.0";function P(){return B(h),h}function B(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||A,e[A]=e[A]||{}}function M(t,e,n=h){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[A]=r[A]||{};return s[t]||(s[t]=e())}const In=["debug","info","warn","error","log","assert","trace"],jt="Sentry Logger ",Q={};function z(t){if(!("console"in h))return t();const e=h.console,n={},r=Object.keys(Q);r.forEach(s=>{const i=Q[s];n[s]=e[s],e[s]=i});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function $t(){Y().enabled=!0}function Ut(){Y().enabled=!1}function yt(){return Y().enabled}function Gt(...t){K("log",...t)}function Vt(...t){K("warn",...t)}function vt(...t){K("error",...t)}function K(t,...e){y&&yt()&&z(()=>{h.console[t](`${jt}[${t}]:`,...e)})}function Y(){return y?M("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const m={enable:$t,disable:Ut,isEnabled:yt,log:Gt,warn:Vt,error:vt},Et=50,Bt="?",tt=/\(error: (.*)\)/,et=/captureMessage|captureException/;function Tn(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` -`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=tt.test(c)?c.replace(tt,"$1"):c;if(!u.match(/\S*Error: /)){for(const p of e){const f=p(u);if(f){i.push(f);break}}if(i.length>=Et+s)break}}return zt(i.slice(s))}}function zt(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(O(e).function||"")&&e.pop(),e.reverse(),et.test(O(e).function||"")&&(e.pop(),et.test(O(e).function||"")&&e.pop()),e.slice(0,Et).map(n=>({...n,filename:n.filename||O(e).filename,function:n.function||Bt}))}function O(t){return t[t.length-1]||{}}const F="";function Kt(t){try{return!t||typeof t!="function"?F:t.name||F}catch{return F}}function xn(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function bt(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const It=Object.prototype.toString;function Yt(t){switch(It.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return D(t,Error)}}function C(t,e){return It.call(t)===`[object ${e}]`}function Cn(t){return C(t,"ErrorEvent")}function An(t){return C(t,"DOMError")}function Nn(t){return C(t,"DOMException")}function k(t){return C(t,"String")}function Ht(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Dn(t){return t===null||Ht(t)||typeof t!="object"&&typeof t!="function"}function Tt(t){return C(t,"Object")}function Wt(t){return typeof Event<"u"&&D(t,Event)}function Xt(t){return typeof Element<"u"&&D(t,Element)}function Jt(t){return C(t,"RegExp")}function L(t){return!!(t?.then&&typeof t.then=="function")}function qt(t){return Tt(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function D(t,e){try{return t instanceof e}catch{return!1}}function xt(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue||t.__v_isVNode))}function On(t){return typeof Request<"u"&&D(t,Request)}const H=h,Zt=80;function Qt(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const p=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||Zt;for(;n&&i++1&&o+s.length*c+u.length>=f));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function te(t,e){const n=t,r=[];if(!n?.tagName)return"";if(H.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e?.length?e.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s?.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&k(o)){const a=o.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function Rn(){try{return H.document.location.href}catch{return""}}function kn(t){if(!H.HTMLElement)return null;let e=t;const n=5;for(let r=0;r"}}function rt(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function Ln(t){const e=Object.keys(Ct(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}function U(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function wn(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;r(e^(re()&15)>>e/4).toString(16))}function At(t){return t.exception?.values?.[0]}function jn(t){const{message:e,event_id:n}=t;if(e)return e;const r=At(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function $n(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")}function se(t,e){const n=At(t);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...e},e&&"data"in e){const i={...s?.data,...e.data};n.mechanism.data=i}}function Un(t){if(ie(t))return!0;try{W(t,"__sentry_captured__",!0)}catch{}return!1}function ie(t){try{return t.__sentry_captured__}catch{}}const Nt=1e3;function X(){return Date.now()/Nt}function oe(){const{performance:t}=h;if(!t?.now||!t.timeOrigin)return X;const e=t.timeOrigin;return()=>(e+t.now())/Nt}let st;function Dt(){return(st??(st=oe()))()}function ae(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Dt(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:T()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function w(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=w(r[s],e[s],n-1));return r}function it(){return T()}function Ot(){return T().substring(16)}const G="_sentrySpan";function ot(t,e){e?W(t,G,e):delete t[G]}function at(t){return t[G]}const ce=100;class S{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:it(),sampleRand:Math.random()}}clone(){const e=new S;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,ot(e,at(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ae(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,r=n instanceof S?n.getScopeData():Tt(n)?e:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:c,level:u,fingerprint:p=[],propagationContext:f}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),p.length&&(this._fingerprint=p),f&&(this._propagationContext=f),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,ot(this,void 0),this._attachments=[],this.setPropagationContext({traceId:it(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:ce;if(r<=0)return this;const s={timestamp:X(),...e,message:e.message?U(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:at(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=w(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=n?.event_id||T();if(!this._client)return y&&m.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=r?.event_id||T();if(!this._client)return y&&m.warn("No client configured on scope - will not capture message!"),s;const i=r?.syntheticException??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...r,event_id:s},this),s}captureEvent(e,n){const r=n?.event_id||T();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(y&&m.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function ue(){return M("defaultCurrentScope",()=>new S)}function fe(){return M("defaultIsolationScope",()=>new S)}class pe{constructor(e,n){let r;e?r=e:r=new S;let s;n?s=n:s=new S,this._stack=[{scope:r}],this._isolationScope=s}withScope(e){const n=this._pushScope();let r;try{r=e(n)}catch(s){throw this._popScope(),s}return L(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function x(){const t=P(),e=B(t);return e.stack=e.stack||new pe(ue(),fe())}function le(t){return x().withScope(t)}function de(t,e){const n=x();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function ct(t){return x().withScope(()=>t(x().getIsolationScope()))}function _e(){return{withIsolationScope:ct,withScope:le,withSetScope:de,withSetIsolationScope:(t,e)=>ct(e),getCurrentScope:()=>x().getScope(),getIsolationScope:()=>x().getIsolationScope()}}function J(t){const e=B(t);return e.acs?e.acs:_e()}function q(){const t=P();return J(t).getCurrentScope()}function Gn(){const t=P();return J(t).getIsolationScope()}function he(){return M("globalScope",()=>new S)}function Vn(...t){const e=P(),n=J(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function Rt(){return q().getClient()}function vn(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||Ot()};return r&&(i.parent_span_id=r),i}const ge="sentry.source",me="sentry.sample_rate",Se="sentry.previous_trace_sample_rate",ye="sentry.op",Ee="sentry.origin",Bn="sentry.profile_id",zn="sentry.exclusive_time",be=0,Ie=1,Te="_sentryScope",xe="_sentryIsolationScope";function Ce(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}function kt(t){const e=t;return{scope:e[Te],isolationScope:Ce(e[xe])}}const Ae="sentry-",Ne=/^sentry-/;function De(t){const e=Oe(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,i])=>{if(s.match(Ne)){const o=s.slice(Ae.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function Oe(t){if(!(!t||!k(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=ut(n);return Object.entries(r).forEach(([s,i])=>{e[s]=i}),e},{}):ut(t)}function ut(t){return t.split(",").map(e=>{const n=e.indexOf("=");if(n===-1)return[];const r=e.slice(0,n),s=e.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const Re=/^o(\d+)\./,ke=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Pe(t){return t==="http"||t==="https"}function Kn(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function Me(t){const e=ke.exec(t);if(!e){z(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",i="",o="",a=""]=e.slice(1);let c="",u=a;const p=u.split("/");if(p.length>1&&(c=p.slice(0,-1).join("/"),u=p.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return Pt({host:i,pass:s,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function Pt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Le(t){if(!y)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(o=>t[o]?!1:(m.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?Pe(r)?e&&isNaN(parseInt(e,10))?(m.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(m.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(m.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function we(t){return t.match(Re)?.[1]}function Fe(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=we(n)),r}function Yn(t){const e=typeof t=="string"?Me(t):Pt(t);if(!(!e||!Le(e)))return e}const Mt=1;let ft=!1;function je(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:Z(t).parent_span_id,i=kt(t).scope,o=r?i?.getPropagationContext().propagationSpanId||Ot():e;return{parent_span_id:s,span_id:o,trace_id:n}}function $e(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:e,trace_id:n,sampled:r===Mt,attributes:i,...s}))}function pt(t){return typeof t=="number"?lt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?lt(t.getTime()):Dt()}function lt(t){return t>9999999999?t/1e3:t}function Z(t){if(Ge(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(Ue(t)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=t,u="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:u,start_timestamp:pt(s),timestamp:pt(o)||void 0,status:ve(a),op:r[ye],origin:r[Ee],links:$e(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Ue(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function Ge(t){return typeof t.getSpanJSON=="function"}function Ve(t){const{traceFlags:e}=t.spanContext();return e===Mt}function ve(t){if(!(!t||t.code===be))return t.code===Ie?"ok":t.message||"internal_error"}const Be="_sentryRootSpan";function Lt(t){return t[Be]||t}function Hn(){ft||(z(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ft=!0)}function ze(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=Rt()?.getOptions();return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}const wt="production",Ke="_frozenDsc";function Ft(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||wt,release:n.release,public_key:r,trace_id:t,org_id:Fe(e)};return e.emit("createDsc",s),s}function Wn(t,e){const n=e.getPropagationContext();return n.dsc||Ft(n.traceId,t)}function Ye(t){const e=Rt();if(!e)return{};const n=Lt(t),r=Z(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[me]??s[Se];function a(_){return(typeof o=="number"||typeof o=="string")&&(_.sample_rate=`${o}`),_}const c=n[Ke];if(c)return a(c);const u=i?.get("sentry.dsc"),p=u&&De(u);if(p)return a(p);const f=Ft(t.spanContext().traceId,e),l=s[ge],d=r.description;return l!=="url"&&d&&(f.transaction=d),ze()&&(f.sampled=String(Ve(n)),f.sample_rand=i?.get("sentry.sample_rand")??kt(n).scope?.getPropagationContext().sampleRand.toString()),a(f),e.emit("createDsc",f,n),f}const dt=globalThis||void 0||self;function b(t,e=100,n=1/0){try{return V("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function He(t,e=3,n=100*1024){const r=b(t,e);return qe(r)>n?He(t,e-1,n):r}function V(t,e,n=1/0,r=1/0,s=Ze()){const[i,o]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=We(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const d=u.toJSON();return V("",d,c-1,r,s)}catch{}const p=Array.isArray(e)?[]:{};let f=0;const l=Ct(e);for(const d in l){if(!Object.prototype.hasOwnProperty.call(l,d))continue;if(f>=r){p[d]="[MaxProperties ~]";break}const _=l[d];p[d]=V(d,_,c-1,r,s),f++}return o(e),p}function We(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof dt<"u"&&e===dt)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(xt(e))return bt(e);if(qt(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${Kt(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=Xe(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Xe(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}function Je(t){return~-encodeURI(t).split(/%..|./).length}function qe(t){return Je(JSON.stringify(t))}function Ze(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}const $=0,_t=1,ht=2;function Qe(t){return new N(e=>{e(t)})}function tn(t){return new N((e,n)=>{n(t)})}class N{constructor(e){this._state=$,this._handlers=[],this._runExecutor(e)}then(e,n){return new N((r,s)=>{this._handlers.push([!1,i=>{if(!e)r(i);else try{r(e(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new N((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,e&&e()},o=>{i=!0,s=o,e&&e()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===$)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===_t&&n[1](this._value),this._state===ht&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(i,o)=>{if(this._state===$){if(L(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(_t,i)},s=i=>{n(ht,i)};try{e(r,s)}catch(i){s(i)}}}function en(t,e,n,r=0){try{const s=v(e,n,t,r);return L(s)?s:Qe(s)}catch(s){return tn(s)}}function v(t,e,n,r){const s=n[r];if(!t||!s)return t;const i=s({...t},e);return y&&i===null&&m.log(`Event processor "${s.id||"?"}" dropped event`),L(i)?i.then(o=>v(o,e,n,r+1)):v(i,e,n,r+1)}function nn(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;rn(t,e),r&&an(t,r),cn(t,n),sn(t,s),on(t,i)}function gt(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:p,attachments:f,propagationContext:l,transactionName:d,span:_}=e;R(t,"extra",n),R(t,"tags",r),R(t,"user",s),R(t,"contexts",i),t.sdkProcessingMetadata=w(t.sdkProcessingMetadata,a,2),o&&(t.level=o),d&&(t.transactionName=d),_&&(t.span=_),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),f.length&&(t.attachments=[...t.attachments,...f]),t.propagationContext={...t.propagationContext,...l}}function R(t,e,n){t[e]=w(t[e],n,1)}function rn(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),a&&t.type!=="transaction"&&(t.transaction=a)}function sn(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function on(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function an(t,e){t.contexts={trace:je(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Ye(e),...t.sdkProcessingMetadata};const n=Lt(e),r=Z(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function cn(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}let I,mt,St,E;function un(t){const e=h._sentryDebugIds,n=h._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(E&&r.length===mt&&s.length===St)return E;mt=r.length,St=s.length,E={},I||(I={});const i=(o,a)=>{for(const c of o){const u=a[c],p=I?.[c];if(p&&E&&u)E[p[0]]=u,I&&(I[c]=[p[0],u]);else if(u){const f=t(c);for(let l=f.length-1;l>=0;l--){const _=f[l]?.filename;if(_&&E&&I){E[_]=u,I[c]=[_,u];break}}}}};return e&&i(r,e),n&&i(s,n),E}function Xn(t,e,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||T(),timestamp:e.timestamp||X()},u=n.integrations||t.integrations.map(g=>g.name);fn(c,t),dn(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&pn(c,t.stackParser);const p=hn(r,n.captureContext);n.mechanism&&se(c,n.mechanism);const f=s?s.getEventProcessors():[],l=he().getScopeData();if(i){const g=i.getScopeData();gt(l,g)}if(p){const g=p.getScopeData();gt(l,g)}const d=[...n.attachments||[],...l.attachments];d.length&&(n.attachments=d),nn(c,l);const _=[...f,...l.eventProcessors];return en(_,c,n).then(g=>(g&&ln(g),typeof o=="number"&&o>0?_n(g,o,a):g))}function fn(t,e){const{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||wt,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;o?.url&&i&&(o.url=U(o.url,i)),i&&t.exception?.values?.forEach(a=>{a.value&&(a.value=U(a.value,i))})}function pn(t,e){const n=un(e);t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function ln(t){const e={};if(t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?e[s.abs_path]=s.debug_id:s.filename&&(e[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function dn(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function _n(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(s=>({...s,...s.data&&{data:b(s.data,e,n)}}))},...t.user&&{user:b(t.user,e,n)},...t.contexts&&{contexts:b(t.contexts,e,n)},...t.extra&&{extra:b(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=b(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(s=>({...s,...s.data&&{data:b(s.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=b(t.contexts.flags,3,n)),r}function hn(t,e){if(!e)return t;const n=t?t.clone():new S;return n.update(e),n}function gn(t){if(t)return mn(t)?{captureContext:t}:yn(t)?{captureContext:t}:t}function mn(t){return t instanceof S||typeof t=="function"}const Sn=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function yn(t){return Object.keys(t).some(e=>Sn.includes(e))}function Jn(t,e){return q().captureException(t,gn(e))}function qn(t,e){return q().captureEvent(t,e)}export{Wt as $,Tt as A,A as B,Rt as C,y as D,z as E,Mn as F,h as G,D as H,In as I,Pn as J,Q as K,Vn as L,se as M,wn as N,Jn as O,xn as P,Dt as Q,Yt as R,zn as S,W as T,On as U,Rn as V,ee as W,$n as X,Cn as Y,An as Z,Nn as _,Kn as a,He as a0,Ln as a1,k as a2,Tn as a3,Bt as a4,jn as a5,Qt as a6,kn as a7,qn as a8,bn as a9,B as b,M as c,m as d,tn as e,X as f,Kt as g,Bn as h,Fn as i,Un as j,ae as k,wt as l,Yn as m,b as n,vn as o,Xn as p,Wn as q,Qe as r,q as s,Gn as t,T as u,Ht as v,Dn as w,Hn as x,w as y,L as z}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.br b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.br deleted file mode 100644 index 3a0f7aea..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.gz deleted file mode 100644 index 41ea7934..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.zst deleted file mode 100644 index f5b54c5b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js deleted file mode 100644 index 4a070780..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./api-legacy.BVjX3txO.js","./exports-legacy.CUaFfB0_.js"],function(e,t){"use strict";var n,r,s,o,i,a,c,u,p,d,l,f,h,m,g,_,y,v,E,b,w,k,x,S,T,$,R,O,P,C,L,D,M,q,N,j,A,H,I,U,B,F,W,z,X,G,Y,J,K,V,Q,Z,ee,te,ne,re,se,oe,ie,ae,ce,ue,pe,de,le,fe;return{setters:[e=>{n=e.E,r=e.a},e=>{s=e.D,o=e.d,i=e.g,a=e.G,c=e.i,u=e.a,p=e.b,d=e.n,l=e.c,f=e.r,h=e.e,m=e.f,g=e.S,_=e.h,y=e.m,v=e.u,E=e.j,b=e.k,w=e.l,k=e.p,x=e.o,S=e.q,T=e.s,$=e.t,R=e.v,O=e.w,P=e.x,C=e.y,L=e.z,D=e.A,M=e.B,q=e.C,N=e.E,j=e.F,A=e.H,H=e.I,I=e.J,U=e.K,B=e.L,F=e.M,W=e.N,z=e.O,X=e.P,G=e.Q,Y=e.R,J=e.T,K=e.U,V=e.V,Q=e.W,Z=e.X,ee=e.Y,te=e.Z,ne=e._,re=e.$,se=e.a0,oe=e.a1,ie=e.a2,ae=e.a3,ce=e.a4,ue=e.a5,pe=e.a6,de=e.a7,le=e.a8,fe=e.a9}],execute:function(){const e={},t={};function he(t,n){e[t]=e[t]||[],e[t].push(n)}function me(e,n){if(!t[e]){t[e]=!0;try{n()}catch(r){s&&o.error(`Error while instrumenting ${e}`,r)}}}function ge(t,n){const r=t&&e[t];if(r)for(const e of r)try{e(n)}catch(a){s&&o.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${i(e)}\nError:`,a)}}let _e=null;function ye(){_e=a.onerror,a.onerror=function(e,t,n,r,s){return ge("error",{column:r,error:s,line:n,msg:e,url:t}),!!_e&&_e.apply(this,arguments)},a.onerror.__SENTRY_INSTRUMENTED__=!0}let ve=null;function Ee(){ve=a.onunhandledrejection,a.onunhandledrejection=function(e){return ge("unhandledrejection",e),!ve||ve.apply(this,arguments)},a.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function be(e){o.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function we(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(xe(n)){if(c(e.description,n))return s&&be(e),!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||c(e.description,n.name),r=!n.op||e.op&&c(e.op,n.op);if(t&&r)return s&&be(e),!0}return!1}function ke(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function xe(e){return"string"==typeof e||e instanceof RegExp}function Se(e,t=[]){return[e,t]}function Te(e,t){const[n,r]=e;return[n,[...r,t]]}function $e(e,t){const n=e[1];for(const r of n)if(t(r,r[0].type))return!0;return!1}function Re(e){const t=p(a);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function Oe(e){const[t,n]=e;let r=JSON.stringify(t);function s(e){"string"==typeof r?r="string"==typeof e?r+e:[Re(r),e]:r.push("string"==typeof e?Re(e):e)}for(const o of n){const[e,t]=o;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)s(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(d(t))}s(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}(r)}function Pe(e){const t="string"==typeof e.data?Re(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Ce={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Le(e){return Ce[e]}function De(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Me(e,t,n,r){const s=De(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const i=function(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:u(r)},...s&&{trace:s}}}(e,s,r,t);return delete e.sdkProcessingMetadata,Se(i,[[{type:o},e]])}function qe(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}const Ne=[];function je(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Ae(e,t,n){if(n[t.name])s&&o.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,Ne.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),Ne.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}s&&o.log(`Integration installed: ${t.name}`)}}function He(e,t){const n=t??function(e){return Ie().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),s=function(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=u(r)),Se(s,[(o=e,[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());Ie().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function Ie(){return l("clientToLogBufferMap",()=>new WeakMap)}function Ue(e,t){const n=t??function(e){return Be().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),s=function(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=u(r)),Se(s,[(o=e,[{type:"trace_metric",item_count:o.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());Be().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function Be(){return l("clientToMetricBufferMap",()=>new WeakMap)}const Fe=Symbol.for("SentryBufferFullError");function We(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(r){if(!(t.sizen(s),()=>n(s)),s},drain:function(e){if(!t.size)return f(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const r=[n,new Promise(t=>setTimeout(()=>t(!1),e))];return Promise.race(r)}}}function ze(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const a of o.trim().split(",")){const[e,t,,,n]=a.split(":",5),o=parseInt(e,10),i=1e3*(isNaN(o)?60:o);if(t)for(const a of t.split(";"))"metric_bucket"===a&&n&&!n.split(";").includes("custom")||(s[a]=r+i);else s.all=r+i}else i?s.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(i,r):429===t&&(s.all=r+6e4);return s}function Xe(e,t,n=We(e.bufferSize||64)){let r={};return{send:function(i){const a=[];if($e(i,(t,n)=>{const s=Le(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,s)?a.push(t):e.recordDroppedEvent("ratelimit_backoff",s)}),0===a.length)return Promise.resolve({});const c=Se(i[0],a),u=t=>{$e(c,(n,r)=>{e.recordDroppedEvent(t,Le(r))})};return n.add(()=>t({body:Oe(c)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&s&&o.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=ze(r,e),e),e=>{throw u("network_error"),s&&o.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===Fe)return s&&o.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}const Ge="Not capturing exception because it's already been captured.",Ye="Discarded session because of missing or non-string release",Je=Symbol.for("SentryInternalError"),Ke=Symbol.for("SentryDoNotSendEventError");function Ve(e){return{message:e,[Je]:!0}}function Qe(e){return{message:e,[Ke]:!0}}function Ze(e){return!!e&&"object"==typeof e&&Je in e}function et(e){return!!e&&"object"==typeof e&&Ke in e}function tt(e,t,n,r,s){let o,i=0,a=!1;e.on(n,()=>{i=0,clearTimeout(o),a=!1}),e.on(t,t=>{i+=r(t),i>=8e5?s(e):a||(a=!0,o=setTimeout(()=>{s(e)},5e3))}),e.on("flush",()=>{s(e)})}class nt{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=We(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=y(e.dsn):s&&o.warn("No DSN provided, client will not send events."),this._dsn){const t=qe(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&tt(this,"afterCaptureLog","flushLogs",at,He),(this._options.enableMetrics??this._options._experiments?.enableMetrics??1)&&tt(this,"afterCaptureMetric","flushMetrics",it,Ue)}captureException(e,t,n){const r=v();if(E(e))return s&&o.log(Ge),r;const i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),"error"),i.event_id}captureMessage(e,t,n,r){const s={event_id:v(),...n},o=R(e)?e:String(e),i=O(e),a=i?this.eventFromMessage(o,t,s):this.eventFromException(e,s);return this._process(()=>a.then(e=>this._captureEvent(e,s,r)),i?"unknown":"error"),s.event_id}captureEvent(e,t,n){const r=v();if(t?.originalException&&E(t.originalException))return s&&o.log(Ge),r;const i={event_id:r,...t},a=e.sdkProcessingMetadata||{},c=a.capturedSpanScope,u=a.capturedSpanIsolationScope,p=rt(e.type);return this._process(()=>this._captureEvent(e,i,c||n,u),p),i.event_id}captureSession(e){this.sendSession(e),b(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];Ae(this,e,this._integrations),t||je(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Me(e,this._dsn,this._options._metadata,this._options.tunnel);for(const r of t.attachments||[])n=Te(n,Pe(r));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=w}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(s&&o.warn(Ye));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(s&&o.warn(Ye));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const s=De(n);return Se({sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:u(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;s&&o.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return s&&o.error("Error while sending envelope:",t),{}}return s&&o.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&Ae(e,t,n)}),n}(this,e),je(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const s=t.exception?.values;if(s){r=!0,n=!1;for(const e of s)if(!1===e.mechanism?.handled){n=!0;break}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(b(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||tsetTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const s=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),k(s,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:x(n),...e.contexts};const r=S(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=T(),r=$()){return s&&st(e)&&o.log(`Captured error event \`${function(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}(e)[0]||""}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{s&&(et(e)?o.log(e.message):Ze(e)?o.warn(e.message):o.warn(e))})}_processEvent(e,t,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=ot(e),a=st(e),c=`before send for type \`${e.type||"error"}\``,u=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}(o);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),h(Qe(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const p=rt(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",p),Qe("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:a}=t;let c=n;if(st(c)&&s)return s(c,r);if(ot(c)){if(i||a){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:s,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:i?.[_],exclusive_time:i?.[g],measurements:e.measurements,is_segment:!0}}(c);if(a?.length&&we(t,a))return null;if(i){const e=i(t);e?c=C(n,{type:"transaction",timestamp:(u=e).timestamp,start_timestamp:u.start_timestamp,transaction:u.description,contexts:{trace:{trace_id:u.trace_id,span_id:u.span_id,parent_span_id:u.parent_span_id,op:u.op,status:u.status,origin:u.origin,data:{...u.data,...u.profile_id&&{[_]:u.profile_id},...u.exclusive_time&&{[g]:u.exclusive_time}}}},measurements:u.measurements}):P()}if(c.spans){const t=[],n=c.spans;for(const e of n)if(a?.length&&we(e,a))ke(n,e);else if(i){const n=i(e);n?t.push(n):(P(),t.push(e))}else t.push(e);const r=c.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),c.spans=t}}if(o){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(c,r)}}var u;return c}(this,s,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(L(e))return e.then(e=>{if(!D(e)&&null!==e)throw Ve(n);return e},e=>{throw Ve(`${t} rejected with ${e}`)});if(!D(e)&&null!==e)throw Ve(n);return e}(n,c)}).then(s=>{if(null===s){if(this.recordDroppedEvent("before_send",p),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw Qe(`${c} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(a&&o&&this._updateSessionFromEvent(o,s),i){const e=(s.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(s.spans?s.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const u=s.transaction_info;if(i&&u&&s.transaction!==e.transaction){const e="custom";s.transaction_info={...u,source:e}}return this.sendEvent(s,t),s}).then(null,e=>{if(et(e)||Ze(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),Ve(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Fe&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){s&&o.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(s&&o.log("No outcomes to send"));if(!this._dsn)return void(s&&o.log("No dsn provided, will not send outcomes"));s&&o.log("Sending outcomes:",e);const t=(n=e,Se((r=this._options.tunnel&&u(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:m(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function rt(e){return"replay_event"===e?"replay":e||"error"}function st(e){return void 0===e.type}function ot(e){return"transaction"===e.type}function it(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+ct(e.attributes)}function at(e){let t=0;return e.message&&(t+=2*e.message.length),t+ct(e.attributes)}function ct(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*ut(e[0]):O(e)?t+=ut(e):t+=100}),t}function ut(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function pt(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function dt(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){const n=function(e){const t=e.indexOf("://")<=0&&0!==e.indexOf("//"),n=t?"thismessage:/":void 0;try{if("canParse"in URL&&!URL.canParse(e,n))return;const r=new URL(e,n);return t?{isRelative:t,pathname:r.pathname,search:r.search,hash:r.hash}:r}catch{}}(e);return!(!n||function(e){return"isRelative"in e}(n))&&(!!t&&n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search))}(e,n)||function(e,t){return!!t&<(e)===lt(t)}(e,r)}function lt(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function ft(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}const ht=100;function mt(e,t){const n=q(),r=$();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=ht}=n.getOptions();if(o<=0)return;const i={timestamp:m(),...e},a=s?N(()=>s(i,t)):i;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,o))}let gt;const _t=new WeakMap,yt=()=>({name:"FunctionToString",setupOnce(){gt=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=j(this),n=_t.has(q())&&void 0!==t?t:this;return gt.apply(n,e)}}catch{}},setup(e){_t.set(e,!0)}});function vt(e,t,n,r,s,o){if(!s.exception?.values||!o||!A(o.originalException,Error))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Et(e,t,r,o.originalException,n,s.exception.values,i,0))}function Et(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(A(r[s],Error)){bt(i,a);const o=e(t,r[s]),u=c.length;wt(o,s,u,a),c=Et(e,t,n,r[s],s,[o,...c],o,u)}return Array.isArray(r.errors)&&r.errors.forEach((r,o)=>{if(A(r,Error)){bt(i,a);const u=e(t,r),p=c.length;wt(u,`errors[${o}]`,p,a),c=Et(e,t,n,r,s,[u,...c],u,p)}}),c}function bt(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function wt(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function kt(e){const t="console";he(t,e),me(t,xt)}function xt(){"console"in a&&H.forEach(function(e){e in a.console&&I(a.console,e,function(t){return U[e]=t,function(...t){ge("console",{args:t,level:e});const n=U[e];n?.apply(a.console,t)}})})}function St(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const Tt=(e={})=>{const t=e.levels||H,n=e.handled??!0;return{name:"CaptureConsole",setup(e){"console"in a&&kt(({args:r,level:s})=>{q()===e&&t.includes(s)&&function(e,t,n){const r=St(t),s=new Error,o={level:St(t),extra:{arguments:e}};B(i=>{if(i.addEventProcessor(e=>(e.logger="console",F(e,{handled:n,type:"auto.core.capture_console"}),e)),"assert"===t){if(!e[0]){const t=`Assertion failed: ${W(e.slice(1)," ")||"console.assert"}`;i.setExtra("arguments",e.slice(1)),i.captureMessage(t,r,{captureContext:o,syntheticException:s})}return}const a=e.find(e=>e instanceof Error);if(a)return void z(a,o);const c=W(e," ");i.captureMessage(c,r,{captureContext:o,syntheticException:s})})}(r,s,n)})}}},$t=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ot(e,t)&&!!Rt(e,t))))}(e,t)||!!function(e,t){const n=Pt(t),r=Pt(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ot(e,t)&&!!Rt(e,t)))}(e,t))}(t,e))return s&&o.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function Rt(e,t){let n=X(e),r=X(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let s=0;s=400&&e<500?"warning":e>=500?"error":void 0}const Lt=a;function Dt(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Mt(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in Lt))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(Dt(Lt.fetch))return!0;let e=!1;const t=Lt.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Dt(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){s&&o.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function qt(e,t){const n="fetch";he(n,e),me(n,()=>function(e,t=!1){t&&!Mt()||I(a,"fetch",function(e){return function(...t){const n=new Error,{method:r,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:jt(t),method:Nt(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:jt(t),method:Nt(t,"method")?String(t.method).toUpperCase():"GET"}}(t),o={args:t,fetchData:{method:r,url:s},startTimestamp:1e3*G(),virtualError:n,headers:At(t)};return ge("fetch",{...o}),e.apply(a,t).then(async e=>(ge("fetch",{...o,endTimestamp:1e3*G(),response:e}),e),e=>{if(ge("fetch",{...o,endTimestamp:1e3*G(),error:e}),Y(e)&&void 0===e.stack&&(e.stack=n.stack,J(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(o.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}(0,t))}function Nt(e,t){return!!e&&"object"==typeof e&&!!e[t]}function jt(e){return"string"==typeof e?e:e?Nt(e,"url")?e.url:e.toString?e.toString():"":""}function At(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(K(t))return new Headers(t.headers)}catch{}}const Ht=a;let It=0;function Ut(){return It>0}function Bt(e,t={}){if(!function(e){return"function"==typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(j(e))return e}catch{return e}const n=function(...n){try{const r=n.map(e=>Bt(e,t));return e.apply(this,r)}catch(r){throw It++,setTimeout(()=>{It--}),B(e=>{e.addEventProcessor(e=>(t.mechanism&&(Z(e,void 0),F(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),z(r)}),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}Q(n,e),J(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function Ft(e,t){const n=Xt(e,t),r={type:Jt(t),value:Kt(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Wt(e,t,n,r){const s=q(),o=s?.getOptions().normalizeDepth,i=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),a={__serialized__:se(t,o)};if(i)return{exception:{values:[Ft(e,i)]},extra:a};const c={exception:{values:[{type:re(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Zt(t,{isUnhandledRejection:r})}]},extra:a};if(n){const t=Xt(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function zt(e,t){return{exception:{values:[Ft(e,t)]}}}function Xt(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Gt.test(e.message)?1:0}(t),s=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,s)}catch{}return[]}const Gt=/Minified React error #\d+;/i;function Yt(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function Jt(e){const t=e?.name;return!t&&Yt(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function Kt(e){const t=e?.message;return Yt(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Vt(e,t,n,r,s){let o;if(ee(t)&&t.error)return zt(e,t.error);if(te(t)||ne(t)){const s=t;if("stack"in t)o=zt(e,t);else{const t=s.name||(te(s)?"DOMError":"DOMException"),i=s.message?`${t}: ${s.message}`:t;o=Qt(e,i,n,r),Z(o,i)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}return Y(t)?zt(e,t):D(t)||re(t)?(o=Wt(e,t,n,s),F(o,{synthetic:!0}),o):(o=Qt(e,t,n,r),Z(o,`${t}`),F(o,{synthetic:!0}),o)}function Qt(e,t,n,r){const s={};if(r&&n){const r=Xt(e,n);r.length&&(s.exception={values:[{value:t,stacktrace:{frames:r}}]}),F(s,{synthetic:!0})}if(R(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return s.logentry={message:e,params:n},s}return s.message=t,s}function Zt(e,{isUnhandledRejection:t}){const n=oe(e),r=t?"promise rejection":"exception";return ee(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:re(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const en=a;let tn,nn,rn,sn;function on(){if(!en.document)return;const e=ge.bind(null,"dom"),t=an(e,!0);en.document.addEventListener("click",t,!1),en.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=en,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(I(r,"addEventListener",function(t){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=an(e);o.handler=r,t.call(this,n,r,s)}o.refCount++}catch{}return t.call(this,n,r,s)}}),I(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},s=n[t];s&&(s.refCount--,s.refCount<=0&&(e.call(this,t,s.handler,r),s.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function an(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;J(n,"_sentryCaptured",!0),r&&!r._sentryId&&J(r,"_sentryId",v());const s="keypress"===n.type?"input":n.type;(function(e){if(e.type!==nn)return!1;try{if(!e.target||e.target._sentryId!==rn)return!1}catch{}return!0})(n)||(e({event:n,name:s,global:t}),nn=n.type,rn=r?r._sentryId:void 0),clearTimeout(tn),tn=en.setTimeout(()=>{rn=void 0,nn=void 0},1e3)}}function cn(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const r=sn,s=function(e){try{return new URL(e,en.location.origin).toString()}catch{return e}}(String(n));if(sn=s,r===s)return e.apply(this,t);ge("history",{from:r,to:s})}return e.apply(this,t)}}en.addEventListener("popstate",()=>{const e=en.location.href,t=sn;sn=e,t!==e&&ge("history",{from:t,to:e})}),"history"in Lt&&Lt.history&&(I(en.history,"pushState",e),I(en.history,"replaceState",e))}const un="__sentry_xhr_v3__";function pn(e){he("xhr",e),me("xhr",dn)}function dn(){if(!en.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=new Error,s=1e3*G(),o=ie(n[0])?n[0].toUpperCase():void 0,i=function(e){if(ie(e))return e;try{return e.toString()}catch{}}(n[1]);if(!o||!i)return e.apply(t,n);t[un]={method:o,url:i,request_headers:{}},"POST"===o&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const a=()=>{const e=t[un];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}ge("xhr",{endTimestamp:1e3*G(),startTimestamp:s,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,s]=n,o=t[un];return o&&ie(r)&&ie(s)&&(o.request_headers[r.toLowerCase()]=s),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[un];return r?(void 0!==n[0]&&(r.body=n[0]),ge("xhr",{startTimestamp:1e3*G(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}const ln="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function fn(e,t,n,r){const s={filename:e,function:""===t?ce:t,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const hn=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,mn=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gn=/\((\S*)(?::(\d+))(?::(\d+))\)/,_n=/at (.+?) ?\(data:(.+?),/,yn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,vn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,En=ae([30,e=>{const t=e.match(_n);if(t)return{filename:``,function:t[1]};const n=hn.exec(e);if(n){const[,e,t,r]=n;return fn(e,ce,+t,+r)}const r=mn.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){const e=gn.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=bn(r[1]||ce,r[2]);return fn(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=yn.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=vn.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||ce;return[n,e]=bn(n,e),fn(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),bn=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:ce,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},wn=1024,kn=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&kt(function(e){return function(t){if(q()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:St(t.level),message:W(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${W(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}mt(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(q()!==e)return;let r,s,i="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>wn&&(ln&&o.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=wn),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=pe(t,{keyAttrs:i,maxStringLength:a}),s=de(t)}catch{r=""}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};s&&(c.data={"ui.component_name":s}),mt(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),he("dom",n),me("dom",on)),t.xhr&&pn(function(e){return function(t){if(q()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,s=t.xhr[un];if(!n||!r||!s)return;const{method:o,url:i,status_code:a,body:c}=s,u={method:o,url:i,status_code:a},p={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:u,type:"http",level:Ct(a)};e.emit("beforeOutgoingRequestBreadcrumb",d,p),mt(d,p)}}(e)),t.fetch&&qt(function(e){return function(t){if(q()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const s=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:s,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,o),mt(i,o)}else{const s=t.response,o={...t.fetchData,status_code:s?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const i={input:t.args,response:s,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:o,type:"http",level:Ct(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",a,i),mt(a,i)}}}(e)),t.history&&function(e){const t="history";he(t,e),me(t,cn)}(function(e){return function(t){if(q()!==e)return;let n=t.from,r=t.to;const s=pt(Ht.location.href);let o=n?pt(n):void 0;const i=pt(r);o?.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),s.protocol===o.protocol&&s.host===o.host&&(n=o.relative),mt({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){q()===e&&mt({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:ue(t)},{event:t})}}(e))}}},xn=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Sn=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&I(Ht,"setTimeout",Tn),t.setInterval&&I(Ht,"setInterval",Tn),t.requestAnimationFrame&&I(Ht,"requestAnimationFrame",$n),t.XMLHttpRequest&&"XMLHttpRequest"in Ht&&I(XMLHttpRequest.prototype,"send",Rn);const e=t.eventTarget;e&&(Array.isArray(e)?e:xn).forEach(e=>function(e,t){const n=Ht,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(I(r,"addEventListener",function(n){return function(r,s,o){try{"function"==typeof s.handleEvent&&(s.handleEvent=Bt(s.handleEvent,{mechanism:{data:{handler:i(s),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,s),n.apply(this,[r,Bt(s,{mechanism:{data:{handler:i(s),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),I(r,"removeEventListener",function(e){return function(t,n,r){try{const s=n.__sentry_wrapped__;s&&e.call(this,t,s,r)}catch{}return e.call(this,t,n,r)}}))}(e,t))}}};function Tn(e){return function(...t){const n=t[0];return t[0]=Bt(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${i(e)}`}}),e.apply(this,t)}}function $n(e){return function(t){return e.apply(this,[Bt(t,{mechanism:{data:{handler:i(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Rn(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&I(n,e,function(t){const n={mechanism:{data:{handler:i(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=j(t);return r&&(n.mechanism.data.handler=i(r)),Bt(t,n)})}),e.apply(this,t)}}const On=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){!function(e){const t="error";he(t,e),me(t,ye)}(t=>{const{stackParser:n,attachStacktrace:r}=Cn();if(q()!==e||Ut())return;const{msg:s,url:o,line:i,column:a,error:c}=t,u=function(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,p=n,d=function(e){if(ie(e)&&0!==e.length){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/);return``}return e}}(t)??V();return 0===c.length&&c.push({colno:u,filename:d,function:ce,in_app:!0,lineno:p}),e}(Vt(n,c||s,void 0,r,!1),o,i,a);u.level="error",le(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),Pn("onerror")),t.onunhandledrejection&&(function(e){!function(e){const t="unhandledrejection";he(t,e),me(t,Ee)}(t=>{const{stackParser:n,attachStacktrace:r}=Cn();if(q()!==e||Ut())return;const s=function(e){if(O(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),o=O(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:Vt(n,s,void 0,r,!0);o.level="error",le(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),Pn("onunhandledrejection"))}}};function Pn(e){ln&&o.log(`Global Handler attached: ${e}`)}function Cn(){const e=q();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Ln=()=>({name:"HttpContext",preprocessEvent(e){if(!Ht.navigator&&!Ht.location&&!Ht.document)return;const t=function(){const e=V(),{referrer:t}=Ht.document||{},{userAgent:n}=Ht.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),Dn=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,s){vt(Ft,s.getOptions().stackParser,n,t,e,r)}}},Mn=(e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){!function(e,t){Mt()&&qt(n=>{if(q()!==e)return;const{response:r,args:s,error:o,virtualError:i}=n,[a,c]=s;r&&function(e,t,n,r,s){if(An(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}(t,r);let o,i,a,c;In()&&([o,a]=qn("Cookie",e),[i,c]=qn("Set-Cookie",n));const u=Hn({url:e.url,method:e.method,status:n.status,requestHeaders:o,responseHeaders:i,requestCookies:a,responseCookies:c,error:s,type:"fetch"});le(u)}}(t,a,r,c,o||i)},!1)}(e,t),function(e,t){"XMLHttpRequest"in a&&pn(n=>{if(q()!==e)return;const{error:r,virtualError:s}=n,i=n.xhr,a=i[un];if(!a)return;const{method:c,request_headers:u}=a;try{!function(e,t,n,r,s){if(An(e,t.status,t.responseURL)){let e,o,i;if(In()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(o=jn(e))}catch{}try{i=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}(t)}catch{}e=r}const a=Hn({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:i,responseCookies:o,error:s,type:"xhr"});le(a)}}(t,i,c,u,r||s)}catch(p){ln&&o.warn("Error while extracting response event form XHR response",p)}})}(e,t)}}};function qn(e,t){const n=function(e){const t={};return e.forEach((e,n)=>{t[n]=e}),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=jn(t))}catch{}return[n,r]}function Nn(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function jn(e){return e.split("; ").reduce((e,t)=>{const[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function An(e,t,n){return function(e,t){return e.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,s=n,r.some(e=>"string"==typeof e?s.includes(e):e.test(s)))&&!dt(n,q());var r,s}function Hn(e){const t=q(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,s=`HTTP Client Error with status code: ${e.status}`,o={message:s,exception:{values:[{type:"Error",value:s,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:Nn(e.responseHeaders)}}};return F(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function In(){const e=q();return!!e&&Boolean(e.getOptions().sendDefaultPii)}const Un=new class extends nt{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Ht.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;!function(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:M})),version:M}),e._metadata=s}(t,"browser",["browser"],Ht.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:s,enableLogs:o,_experiments:i,enableMetrics:a}=this._options,c=a??i?.enableMetrics??!0;Ht.document&&(s||o||c)&&Ht.document.addEventListener("visibilitychange",()=>{"hidden"===Ht.document.visibilityState&&(s&&this._flushOutcomes(),o&&He(this),c&&Ue(this))}),r&&this.on("beforeSendSession",ft)}eventFromException(e,t){return function(e,t,n,r){const s=Vt(e,t,n?.syntheticException||void 0,r);return F(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),f(s)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,s){const o=Qt(e,t,r?.syntheticException||void 0,s);return o.level=n,r?.event_id&&(o.event_id=r.event_id),f(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}({dsn:"https://14362801769747a4b7c1e04eb0c7a3cc@collie.haikuatelier.com/1",environment:"production",integrations:[kn(),Sn(),Tt({levels:["warn","error"]}),$t(),yt(),On(),Mn({failedRequestStatusCodes:[[400,599]]}),Ln(),Dn()],sendDefaultPii:!0,stackParser:En,tracesSampleRate:1,transport:e=>Xe(e,async t=>{const s={body:t.body,headers:e.headers??{},method:"POST",mode:"no-cors",referrerPolicy:"no-referrer",...e.fetchOptions};return fe(await fetch(e.url,s),e=>({headers:{[r]:e.headers.get(r),[n]:e.headers.get(n)},statusCode:e.status}))})});T().setClient(Un),Un.init()}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.br deleted file mode 100644 index e896dfa8..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.gz deleted file mode 100644 index f5bfae33..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.zst deleted file mode 100644 index c3ff4762..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js deleted file mode 100644 index e6677f9b..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js +++ /dev/null @@ -1,8 +0,0 @@ -import{E as Se,a as Te}from"./api.BWtmxolt.js";import{D as m,d as p,g as T,G as g,i as Y,a as P,b as Xt,n as zt,c as st,r as pe,e as ot,f as it,S as at,h as ct,m as Yt,u as B,j as Re,k as ke,l as Kt,p as Vt,o as Jt,q as Zt,s as ut,t as ft,v as lt,w as G,x as Ie,y as Qt,z as en,A as ee,B as we,C as _,E as tn,F as me,H as te,I as dt,J as E,K as Oe,L as pt,M as R,N as q,O as mt,P as Ne,Q as N,R as ht,T as W,U as nn,V as gt,W as rn,X as ne,Y as _t,Z as Le,_ as sn,$ as he,a0 as on,a1 as an,a2 as D,a3 as cn,a4 as L,a5 as un,a6 as fn,a7 as ln,a8 as X,a9 as dn}from"./exports.JV8YQBqW.js";function mo(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const U={},Ce={};function I(e,t){U[e]=U[e]||[],U[e].push(t)}function w(e,t){if(!Ce[e]){Ce[e]=!0;try{t()}catch(n){m&&p.error(`Error while instrumenting ${e}`,n)}}}function b(e,t){const n=e&&U[e];if(n)for(const r of n)try{r(t)}catch(s){m&&p.error(`Error while triggering instrumentation handler. -Type: ${e} -Name: ${T(r)} -Error:`,s)}}let K=null;function pn(e){const t="error";I(t,e),w(t,mn)}function mn(){K=g.onerror,g.onerror=function(e,t,n,r,s){return b("error",{column:r,error:s,line:n,msg:e,url:t}),K?K.apply(this,arguments):!1},g.onerror.__SENTRY_INSTRUMENTED__=!0}let V=null;function hn(e){const t="unhandledrejection";I(t,e),w(t,gn)}function gn(){V=g.onunhandledrejection,g.onunhandledrejection=function(e){return b("unhandledrejection",e),V?V.apply(this,arguments):!0},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function _n(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}function Me(e){p.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function De(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(En(n)){if(Y(e.description,n))return m&&Me(e),!0;continue}if(!n.name&&!n.op)continue;const r=n.name?Y(e.description,n.name):!0,s=n.op?e.op&&Y(e.op,n.op):!0;if(r&&s)return m&&Me(e),!0}return!1}function yn(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function En(e){return typeof e=="string"||e instanceof RegExp}function M(e,t=[]){return[e,t]}function vn(e,t){const[n,r]=e;return[n,[...r,t]]}function Fe(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function re(e){const t=Xt(g);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function bn(e){const[t,n]=e;let r=JSON.stringify(t);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[re(r),o]:r.push(typeof o=="string"?re(o):o)}for(const o of n){const[i,a]=o;if(s(` -${JSON.stringify(i)} -`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(zt(a))}s(c)}}return typeof r=="string"?r:Sn(r)}function Sn(e){const t=e.reduce((s,o)=>s+o.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function Tn(e){const t=typeof e.data=="string"?re(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Rn={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Pe(e){return Rn[e]}function yt(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function kn(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:P(r)},...s&&{trace:s}}}function In(e,t){if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function wn(e,t,n,r){const s=yt(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:P(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return M(o,[i])}function On(e,t,n,r){const s=yt(n),o=e.type&&e.type!=="replay_event"?e.type:"event";In(e,n?.sdk);const i=kn(e,s,r,t);return delete e.sdkProcessingMetadata,M(i,[[{type:o},e]])}const Nn="7";function Ln(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Cn(e){return`${Ln(e)}${e.projectId}/envelope/`}function Mn(e,t){const n={sentry_version:Nn};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Dn(e,t,n){return t||`${Cn(e)}?${Mn(e,n)}`}const xe=[];function Fn(e,t){const n={};return t.forEach(r=>{r&&Et(e,r,n)}),n}function Ae(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Et(e,t,n){if(n[t.name]){m&&p.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!xe.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),xe.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}m&&p.log(`Integration installed: ${t.name}`)}function Pn(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function xn(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=P(r)),M(s,[Pn(e)])}function vt(e,t){const n=t??An(e)??[];if(n.length===0)return;const r=e.getOptions(),s=xn(n,r._metadata,r.tunnel,e.getDsn());bt().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function An(e){return bt().get(e)}function bt(){return st("clientToLogBufferMap",()=>new WeakMap)}function Hn(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function $n(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=P(r)),M(s,[Hn(e)])}function St(e,t){const n=t??Bn(e)??[];if(n.length===0)return;const r=e.getOptions(),s=$n(n,r._metadata,r.tunnel,e.getDsn());Tt().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function Bn(e){return Tt().get(e)}function Tt(){return st("clientToMetricBufferMap",()=>new WeakMap)}const ge=Symbol.for("SentryBufferFullError");function Rt(e=100){const t=new Set;function n(){return t.sizer(a),()=>r(a)),a}function o(i){if(!t.size)return pe(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>setTimeout(()=>u(!1),i))];return Promise.race(c)}return{get $(){return Array.from(t)},add:s,drain:o}}const Un=60*1e3;function jn(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?Un:r-t}function qn(e,t){return e[t]||e.all||0}function Wn(e,t,n=Date.now()){return qn(e,t)>n}function Gn(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const a of o.trim().split(",")){const[c,u,,,f]=a.split(":",5),l=parseInt(c,10),h=(isNaN(l)?60:l)*1e3;if(!u)s.all=r+h;else for(const d of u.split(";"))d==="metric_bucket"?(!f||f.split(";").includes("custom"))&&(s[d]=r+h):s[d]=r+h}else i?s.all=r+jn(i,r):t===429&&(s.all=r+60*1e3);return s}const kt=64;function Xn(e,t,n=Rt(e.bufferSize||kt)){let r={};const s=i=>n.drain(i);function o(i){const a=[];if(Fe(i,(l,h)=>{const d=Pe(h);Wn(r,d)?e.recordDroppedEvent("ratelimit_backoff",d):a.push(l)}),a.length===0)return Promise.resolve({});const c=M(i[0],a),u=l=>{Fe(c,(h,d)=>{e.recordDroppedEvent(l,Pe(d))})},f=()=>t({body:bn(c)}).then(l=>(l.statusCode!==void 0&&(l.statusCode<200||l.statusCode>=300)&&m&&p.warn(`Sentry responded with status code ${l.statusCode} to sent event.`),r=Gn(r,l),l),l=>{throw u("network_error"),m&&p.error("Encountered error running transport request:",l),l});return n.add(f).then(l=>l,l=>{if(l===ge)return m&&p.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw l})}return{send:o,flush:s}}function zn(e,t,n){const r=[{type:"client_report"},{timestamp:it(),discarded_events:e}];return M(t?{dsn:t}:{},[r])}function Yn(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function Kn(e){const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:s,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:i?.[ct],exclusive_time:i?.[at],measurements:e.measurements,is_segment:!0}}function Vn(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[ct]:e.profile_id},...e.exclusive_time&&{[at]:e.exclusive_time}}}},measurements:e.measurements}}const He="Not capturing exception because it's already been captured.",$e="Discarded session because of missing or non-string release",It=Symbol.for("SentryInternalError"),wt=Symbol.for("SentryDoNotSendEventError"),Jn=5e3;function j(e){return{message:e,[It]:!0}}function J(e){return{message:e,[wt]:!0}}function Be(e){return!!e&&typeof e=="object"&&It in e}function Ue(e){return!!e&&typeof e=="object"&&wt in e}function je(e,t,n,r,s){let o=0,i,a=!1;e.on(n,()=>{o=0,clearTimeout(i),a=!1}),e.on(t,c=>{o+=r(c),o>=8e5?s(e):a||(a=!0,i=setTimeout(()=>{s(e)},Jn))}),e.on("flush",()=>{s(e)})}class Zn{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Rt(t.transportOptions?.bufferSize??kt),t.dsn?this._dsn=Yt(t.dsn):m&&p.warn("No DSN provided, client will not send events."),this._dsn){const r=Dn(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&je(this,"afterCaptureLog","flushLogs",nr,vt),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&je(this,"afterCaptureMetric","flushMetrics",tr,St)}captureException(t,n,r){const s=B();if(Re(t))return m&&p.log(He),s;const o={event_id:s,...n};return this._process(()=>this.eventFromException(t,o).then(i=>this._captureEvent(i,o,r)).then(i=>i),"error"),o.event_id}captureMessage(t,n,r,s){const o={event_id:B(),...r},i=lt(t)?t:String(t),a=G(t),c=a?this.eventFromMessage(i,n,o):this.eventFromException(t,o);return this._process(()=>c.then(u=>this._captureEvent(u,o,s)),a?"unknown":"error"),o.event_id}captureEvent(t,n,r){const s=B();if(n?.originalException&&Re(n.originalException))return m&&p.log(He),s;const o={event_id:s,...n},i=t.sdkProcessingMetadata||{},a=i.capturedSpanScope,c=i.capturedSpanIsolationScope,u=qe(t.type);return this._process(()=>this._captureEvent(t,o,a||r,c),u),o.event_id}captureSession(t){this.sendSession(t),ke(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(!n)return!0;this.emit("flush");const r=await this._isClientDoneProcessing(t),s=await n.flush(t);return r&&s}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];Et(this,t,this._integrations),n||Ae(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=On(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=vn(r,Tn(s));this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:n,environment:r=Kt}=this._options;if("aggregates"in t){const o=t.attrs||{};if(!o.release&&!n){m&&p.warn($e);return}o.release=o.release||n,o.environment=o.environment||r,t.attrs=o}else{if(!t.release&&!n){m&&p.warn($e);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const s=wn(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const s=`${t}:${n}`;m&&p.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,s=(...o)=>n(...o);return r.add(s),()=>{r.delete(s)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return m&&p.error("Error while sending envelope:",n),{}}return m&&p.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=Fn(this,t),Ae(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",s=!1;const o=n.exception?.values;if(o){s=!0,r=!1;for(const c of o)if(c.mechanism?.handled===!1){r=!0;break}}const i=t.status==="ok";(i&&t.errors===0||i&&r)&&(ke(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||nsetTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,s){const o=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&i?.length&&(n.integrations=i),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),Vt(o,t,n,r,this,s).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:Jt(r),...a.contexts};const c=Zt(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=ut(),s=ft()){return m&&se(t)&&p.log(`Captured error event \`${Yn(t)[0]||""}\``),this._processEvent(t,n,r,s).then(o=>o.event_id,o=>{m&&(Ue(o)?p.log(o.message):Be(o)?p.warn(o.message):p.warn(o))})}_processEvent(t,n,r,s){const o=this.getOptions(),{sampleRate:i}=o,a=Ot(t),c=se(t),f=`before send for type \`${t.type||"error"}\``,l=typeof i>"u"?void 0:_n(i);if(c&&typeof l=="number"&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error"),ot(J(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const h=qe(t.type);return this._prepareEvent(t,n,r,s).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",h),J("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return d;const x=er(this,o,d,n);return Qn(x,f)}).then(d=>{if(d===null){if(this.recordDroppedEvent("before_send",h),a){const z=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",z)}throw J(`${f} returned \`null\`, will not send event.`)}const S=r.getSession()||s.getSession();if(c&&S&&this._updateSessionFromEvent(S,d),a){const A=d.sdkProcessingMetadata?.spanCountBeforeProcessing||0,z=d.spans?d.spans.length:0,be=A-z;be>0&&this.recordDroppedEvent("before_send","span",be)}const x=d.transaction_info;if(a&&x&&d.transaction!==t.transaction){const A="custom";d.transaction_info={...x,source:A}}return this.sendEvent(d,n),d}).then(null,d=>{throw Ue(d)||Be(d)?d:(this.captureException(d,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:d}),j(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. -Reason: ${d}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===ge&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[s,o]=n.split(":");return{reason:s,category:o,quantity:r}})}_flushOutcomes(){m&&p.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){m&&p.log("No outcomes to send");return}if(!this._dsn){m&&p.log("No dsn provided, will not send outcomes");return}m&&p.log("Sending outcomes:",t);const n=zn(t,this._options.tunnel&&P(this._dsn));this.sendEnvelope(n)}}function qe(e){return e==="replay_event"?"replay":e||"error"}function Qn(e,t){const n=`${t} must return \`null\` or a valid event.`;if(en(e))return e.then(r=>{if(!ee(r)&&r!==null)throw j(n);return r},r=>{throw j(`${t} rejected with ${r}`)});if(!ee(e)&&e!==null)throw j(n);return e}function er(e,t,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:a}=t;let c=n;if(se(c)&&s)return s(c,r);if(Ot(c)){if(i||a){const u=Kn(c);if(a?.length&&De(u,a))return null;if(i){const f=i(u);f?c=Qt(n,Vn(f)):Ie()}if(c.spans){const f=[],l=c.spans;for(const d of l){if(a?.length&&De(d,a)){yn(l,d);continue}if(i){const S=i(d);S?f.push(S):(Ie(),f.push(d))}else f.push(d)}const h=c.spans.length-f.length;h&&e.recordDroppedEvent("before_send","span",h),c.spans=f}}if(o){if(c.spans){const u=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:u}}return o(c,r)}}return c}function se(e){return e.type===void 0}function Ot(e){return e.type==="transaction"}function tr(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Nt(e.attributes)}function nr(e){let t=0;return e.message&&(t+=e.message.length*2),t+Nt(e.attributes)}function Nt(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*We(n[0]):G(n)?t+=We(n):t+=100}),t}function We(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}const rr="thismessage:/";function sr(e){return"isRelative"in e}function or(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?rr:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const s=new URL(e,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function Z(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ir(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return cr(e,n)||ar(e,r)}function ar(e,t){return t?Ge(e)===Ge(t):!1}function cr(e,t){const n=or(e);return!n||sr(n)?!1:t?n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search):!1}function Ge(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function ur(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function fr(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:we})),version:we}),e._metadata=s}const lr=100;function k(e,t){const n=_(),r=ft();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=lr}=n.getOptions();if(o<=0)return;const a={timestamp:it(),...e},c=s?tn(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,o))}let Xe;const dr="FunctionToString",ze=new WeakMap,pr=(()=>({name:dr,setupOnce(){Xe=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=me(this),n=ze.has(_())&&t!==void 0?t:this;return Xe.apply(n,e)}}catch{}},setup(e){ze.set(e,!0)}})),mr=pr;function hr(e,t,n,r,s,o){if(!s.exception?.values||!o||!te(o.originalException,Error))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=oe(e,t,r,o.originalException,n,s.exception.values,i,0))}function oe(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(te(r[s],Error)){Ye(i,a);const u=e(t,r[s]),f=c.length;Ke(u,s,f,a),c=oe(e,t,n,r[s],s,[u,...c],u,f)}return Array.isArray(r.errors)&&r.errors.forEach((u,f)=>{if(te(u,Error)){Ye(i,a);const l=e(t,u),h=c.length;Ke(l,`errors[${f}]`,h,a),c=oe(e,t,n,u,s,[l,...c],l,h)}}),c}function Ye(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Ke(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Lt(e){const t="console";I(t,e),w(t,gr)}function gr(){"console"in g&&dt.forEach(function(e){e in g.console&&E(g.console,e,function(t){return Oe[e]=t,function(...n){b("console",{args:n,level:e}),Oe[e]?.apply(g.console,n)}})})}function ie(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const _r="CaptureConsole",yr=((e={})=>{const t=e.levels||dt,n=e.handled??!0;return{name:_r,setup(r){"console"in g&&Lt(({args:s,level:o})=>{_()!==r||!t.includes(o)||vr(s,o,n)})}}}),Er=yr;function vr(e,t,n){const r=ie(t),s=new Error,o={level:ie(t),extra:{arguments:e}};pt(i=>{if(i.addEventProcessor(u=>(u.logger="console",R(u,{handled:n,type:"auto.core.capture_console"}),u)),t==="assert"){if(!e[0]){const u=`Assertion failed: ${q(e.slice(1)," ")||"console.assert"}`;i.setExtra("arguments",e.slice(1)),i.captureMessage(u,r,{captureContext:o,syntheticException:s})}return}const a=e.find(u=>u instanceof Error);if(a){mt(a,o);return}const c=q(e," ");i.captureMessage(c,r,{captureContext:o,syntheticException:s})})}const br="Dedupe",Sr=(()=>{let e;return{name:br,processEvent(t){if(t.type)return t;try{if(Rr(t,e))return m&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),Tr=Sr;function Rr(e,t){return t?!!(kr(e,t)||Ir(e,t)):!1}function kr(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Mt(e,t)||!Ct(e,t))}function Ir(e,t){const n=Ve(t),r=Ve(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Mt(e,t)||!Ct(e,t))}function Ct(e,t){let n=Ne(e),r=Ne(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s=400&&e<500?"warning":e>=500?"error":void 0}const F=g;function wr(){return"history"in F&&!!F.history}function Or(){if(!("fetch"in F))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Je(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ft(){if(typeof EdgeRuntime=="string")return!0;if(!Or())return!1;if(Je(F.fetch))return!0;let e=!1;const t=F.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Je(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){m&&p.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Pt(e,t){const n="fetch";I(n,e),w(n,()=>Nr(void 0,t))}function Nr(e,t=!1){t&&!Ft()||E(g,"fetch",function(n){return function(...r){const s=new Error,{method:o,url:i}=Lr(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:N()*1e3,virtualError:s,headers:Cr(r)};return b("fetch",{...a}),n.apply(g,r).then(async c=>(b("fetch",{...a,endTimestamp:N()*1e3,response:c}),c),c=>{if(b("fetch",{...a,endTimestamp:N()*1e3,error:c}),ht(c)&&c.stack===void 0&&(c.stack=s.stack,W(c,"framesToPop",1)),c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const u=new URL(a.fetchData.url);c.message=`${c.message} (${u.host})`}catch{}throw c})}})}function ae(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Ze(e){return typeof e=="string"?e:e?ae(e,"url")?e.url:e.toString?e.toString():"":""}function Lr(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Ze(n),method:ae(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Ze(t),method:ae(t,"method")?String(t.method).toUpperCase():"GET"}}function Cr(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(nn(t))return new Headers(t.headers)}catch{}}function Mr(){return"npm"}const y=g;let ce=0;function xt(){return ce>0}function Dr(){ce++,setTimeout(()=>{ce--})}function C(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(me(e))return e}catch{return e}const r=function(...s){try{const o=s.map(i=>C(i,t));return e.apply(this,o)}catch(o){throw Dr(),pt(i=>{i.addEventProcessor(a=>(t.mechanism&&(ne(a,void 0),R(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),mt(o)}),o}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}rn(r,e),W(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Fr(){const e=gt(),{referrer:t}=y.document||{},{userAgent:n}=y.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function _e(e,t){const n=ye(e,t),r={type:$r(t),value:Br(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Pr(e,t,n,r){const o=_()?.getOptions().normalizeDepth,i=Gr(t),a={__serialized__:on(t,o)};if(i)return{exception:{values:[_e(e,i)]},extra:a};const c={exception:{values:[{type:he(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:qr(t,{isUnhandledRejection:r})}]},extra:a};if(n){const u=ye(e,n);u.length&&(c.exception.values[0].stacktrace={frames:u})}return c}function Q(e,t){return{exception:{values:[_e(e,t)]}}}function ye(e,t){const n=t.stacktrace||t.stack||"",r=Ar(t),s=Hr(t);try{return e(n,r,s)}catch{}return[]}const xr=/Minified React error #\d+;/i;function Ar(e){return e&&xr.test(e.message)?1:0}function Hr(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function At(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function $r(e){const t=e?.name;return!t&&At(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Br(e){const t=e?.message;return At(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Ur(e,t,n,r){const s=n?.syntheticException||void 0,o=Ee(e,t,s,r);return R(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),pe(o)}function jr(e,t,n="info",r,s){const o=r?.syntheticException||void 0,i=ue(e,t,o,s);return i.level=n,r?.event_id&&(i.event_id=r.event_id),pe(i)}function Ee(e,t,n,r,s){let o;if(_t(t)&&t.error)return Q(e,t.error);if(Le(t)||sn(t)){const i=t;if("stack"in t)o=Q(e,t);else{const a=i.name||(Le(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;o=ue(e,c,n,r),ne(o,c)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return ht(t)?Q(e,t):ee(t)||he(t)?(o=Pr(e,t,n,s),R(o,{synthetic:!0}),o):(o=ue(e,t,n,r),ne(o,`${t}`),R(o,{synthetic:!0}),o)}function ue(e,t,n,r){const s={};if(r&&n){const o=ye(e,n);o.length&&(s.exception={values:[{value:t,stacktrace:{frames:o}}]}),R(s,{synthetic:!0})}if(lt(t)){const{__sentry_template_string__:o,__sentry_template_values__:i}=t;return s.logentry={message:o,params:i},s}return s.message=t,s}function qr(e,{isUnhandledRejection:t}){const n=an(e),r=t?"promise rejection":"exception";return _t(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:he(e)?`Event \`${Wr(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Wr(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Gr(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class Xr extends Zn{constructor(t){const n=zr(t),r=y.SENTRY_SDK_SOURCE||Mr();fr(n,"browser",["browser"],r),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:s,sendClientReports:o,enableLogs:i,_experiments:a,enableMetrics:c}=this._options,u=c??a?.enableMetrics??!0;y.document&&(o||i||u)&&y.document.addEventListener("visibilitychange",()=>{y.document.visibilityState==="hidden"&&(o&&this._flushOutcomes(),i&&vt(this),u&&St(this))}),s&&this.on("beforeSendSession",ur)}eventFromException(t,n){return Ur(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return jr(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,s){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,s)}}function zr(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:y.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const v=g,Yr=1e3;let Qe,fe,le;function Kr(e){I("dom",e),w("dom",Vr)}function Vr(){if(!v.document)return;const e=b.bind(null,"dom"),t=et(e,!0);v.document.addEventListener("click",t,!1),v.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=v[n]?.prototype;s?.hasOwnProperty?.("addEventListener")&&(E(s,"addEventListener",function(o){return function(i,a,c){if(i==="click"||i=="keypress")try{const u=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},f=u[i]=u[i]||{refCount:0};if(!f.handler){const l=et(e);f.handler=l,o.call(this,i,l,c)}f.refCount++}catch{}return o.call(this,i,a,c)}}),E(s,"removeEventListener",function(o){return function(i,a,c){if(i==="click"||i=="keypress")try{const u=this.__sentry_instrumentation_handlers__||{},f=u[i];f&&(f.refCount--,f.refCount<=0&&(o.call(this,i,f.handler,c),f.handler=void 0,delete u[i]),Object.keys(u).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return o.call(this,i,a,c)}}))})}function Jr(e){if(e.type!==fe)return!1;try{if(!e.target||e.target._sentryId!==le)return!1}catch{}return!0}function Zr(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function et(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Qr(n);if(Zr(n.type,r))return;W(n,"_sentryCaptured",!0),r&&!r._sentryId&&W(r,"_sentryId",B());const s=n.type==="keypress"?"input":n.type;Jr(n)||(e({event:n,name:s,global:t}),fe=n.type,le=r?r._sentryId:void 0),clearTimeout(Qe),Qe=v.setTimeout(()=>{le=void 0,fe=void 0},Yr)}}function Qr(e){try{return e.target}catch{return null}}let H;function es(e){const t="history";I(t,e),w(t,ts)}function ts(){if(v.addEventListener("popstate",()=>{const t=v.location.href,n=H;if(H=t,n===t)return;b("history",{from:n,to:t})}),!wr())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=H,o=ns(String(r));if(H=o,s===o)return t.apply(this,n);b("history",{from:s,to:o})}return t.apply(this,n)}}E(v.history,"pushState",e),E(v.history,"replaceState",e)}function ns(e){try{return new URL(e,v.location.origin).toString()}catch{return e}}const O="__sentry_xhr_v3__";function Ht(e){I("xhr",e),w("xhr",rs)}function rs(){if(!v.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,o=N()*1e3,i=D(r[0])?r[0].toUpperCase():void 0,a=ss(r[1]);if(!i||!a)return t.apply(n,r);n[O]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[O];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:N()*1e3,startTimestamp:o,xhr:n,virtualError:s};b("xhr",f)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,l){return c(),u.apply(f,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,l){const[h,d]=l,S=f[O];return S&&D(h)&&D(d)&&(S.request_headers[h.toLowerCase()]=d),u.apply(f,l)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[O];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:N()*1e3,xhr:n};return b("xhr",o),t.apply(n,r)}})}function ss(e){if(D(e))return e;try{return e.toString()}catch{}}const ve=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,os=30,is=50;function de(e,t,n,r){const s={filename:e,function:t===""?L:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const as=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,cs=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,us=/\((\S*)(?::(\d+))(?::(\d+))\)/,fs=/at (.+?) ?\(data:(.+?),/,ls=e=>{const t=e.match(fs);if(t)return{filename:``,function:t[1]};const n=as.exec(e);if(n){const[,s,o,i]=n;return de(s,L,+o,+i)}const r=cs.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const a=us.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,i]=$t(r[1]||L,r[2]);return de(i,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},ds=[os,ls],ps=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ms=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,hs=e=>{const t=ps.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=ms.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],s=t[1]||L;return[s,r]=$t(s,r),de(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},gs=[is,hs],_s=[ds,gs],ys=cn(..._s),$t=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:L,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},$=1024,Es="Breadcrumbs",vs=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Es,setup(n){t.console&&Lt(Rs(n)),t.dom&&Kr(Ts(n,t.dom)),t.xhr&&Ht(ks(n)),t.fetch&&Pt(Is(n)),t.history&&es(ws(n)),t.sentry&&n.on("beforeSendEvent",Ss(n))}}}),bs=vs;function Ss(e){return function(n){_()===e&&k({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:un(n)},{event:n})}}function Ts(e,t){return function(r){if(_()!==e)return;let s,o,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>$&&(ve&&p.warn(`\`dom.maxStringLength\` cannot exceed ${$}, but a value of ${a} was configured. Sentry will use ${$} instead.`),a=$),typeof i=="string"&&(i=[i]);try{const u=r.event,f=Os(u)?u.target:u;s=fn(f,{keyAttrs:i,maxStringLength:a}),o=ln(f)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),k(c,{event:r.event,name:r.name,global:r.global})}}function Rs(e){return function(n){if(_()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:ie(n.level),message:q(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${q(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;k(r,{input:n.args,level:n.level})}}function ks(e){return function(n){if(_()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[O];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,f={method:i,url:a,status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},h={category:"xhr",data:f,type:"http",level:Dt(c)};e.emit("beforeOutgoingRequestBreadcrumb",h,l),k(h,l)}}function Is(e){return function(n){if(_()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},a={category:"fetch",data:o,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,i),k(a,i)}else{const o=n.response,i={...n.fetchData,status_code:o?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,o?.status;const a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:Dt(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),k(c,a)}}}function ws(e){return function(n){if(_()!==e)return;let r=n.from,s=n.to;const o=Z(y.location.href);let i=r?Z(r):void 0;const a=Z(s);i?.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),k({category:"navigation",data:{from:r,to:s}})}}function Os(e){return!!e&&!!e.target}const Ns=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Ls="BrowserApiErrors",Cs=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Ls,setupOnce(){t.setTimeout&&E(y,"setTimeout",tt),t.setInterval&&E(y,"setInterval",tt),t.requestAnimationFrame&&E(y,"requestAnimationFrame",Ds),t.XMLHttpRequest&&"XMLHttpRequest"in y&&E(XMLHttpRequest.prototype,"send",Fs);const n=t.eventTarget;n&&(Array.isArray(n)?n:Ns).forEach(s=>Ps(s,t))}}}),Ms=Cs;function tt(e){return function(...t){const n=t[0];return t[0]=C(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${T(e)}`}}),e.apply(this,t)}}function Ds(e){return function(t){return e.apply(this,[C(t,{mechanism:{data:{handler:T(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Fs(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&E(n,s,function(o){const i={mechanism:{data:{handler:T(o)},handled:!1,type:`auto.browser.browserapierrors.xhr.${s}`}},a=me(o);return a&&(i.mechanism.data.handler=T(a)),C(o,i)})}),e.apply(this,t)}}function Ps(e,t){const r=y[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(E(r,"addEventListener",function(s){return function(o,i,a){try{xs(i)&&(i.handleEvent=C(i.handleEvent,{mechanism:{data:{handler:T(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&As(this,o,i),s.apply(this,[o,C(i,{mechanism:{data:{handler:T(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),E(r,"removeEventListener",function(s){return function(o,i,a){try{const c=i.__sentry_wrapped__;c&&s.call(this,o,c,a)}catch{}return s.call(this,o,i,a)}}))}function xs(e){return typeof e.handleEvent=="function"}function As(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const Hs="GlobalHandlers",$s=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Hs,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Us(n),nt("onerror")),t.onunhandledrejection&&(js(n),nt("onunhandledrejection"))}}}),Bs=$s;function Us(e){pn(t=>{const{stackParser:n,attachStacktrace:r}=Bt();if(_()!==e||xt())return;const{msg:s,url:o,line:i,column:a,error:c}=t,u=Gs(Ee(n,c||s,void 0,r,!1),o,i,a);u.level="error",X(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function js(e){hn(t=>{const{stackParser:n,attachStacktrace:r}=Bt();if(_()!==e||xt())return;const s=qs(t),o=G(s)?Ws(s):Ee(n,s,void 0,r,!0);o.level="error",X(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function qs(e){if(G(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function Ws(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Gs(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,f=n,l=Xs(t)??gt();return c.length===0&&c.push({colno:u,filename:l,function:L,in_app:!0,lineno:f}),e}function nt(e){ve&&p.log(`Global Handler attached: ${e}`)}function Bt(){return _()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Xs(e){if(!(!D(e)||e.length===0)){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/),n=t?t[1]:"text/javascript",r=e.includes("base64,");return``}return e}}const zs=()=>({name:"HttpContext",preprocessEvent(e){if(!y.navigator&&!y.location&&!y.document)return;const t=Fr(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),Ys="cause",Ks=5,Vs="LinkedErrors",Js=((e={})=>{const t=e.limit||Ks,n=e.key||Ys;return{name:Vs,preprocessEvent(r,s,o){const i=o.getOptions();hr(_e,i.stackParser,n,t,r,s)}}}),Zs=Js,Qs="HttpClient",eo=((e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:Qs,setup(n){uo(n,t),fo(n,t)}}}),to=eo;function no(e,t,n,r,s){if(jt(e,n.status,n.url)){const o=lo(t,r);let i,a,c,u;Wt()&&([i,c]=rt("Cookie",o),[a,u]=rt("Set-Cookie",n));const f=qt({url:o.url,method:o.method,status:n.status,requestHeaders:i,responseHeaders:a,requestCookies:c,responseCookies:u,error:s,type:"fetch"});X(f)}}function rt(e,t){const n=oo(t.headers);let r;try{const s=n[e]||n[e.toLowerCase()]||void 0;s&&(r=Ut(s))}catch{}return[n,r]}function ro(e,t,n,r,s){if(jt(e,t.status,t.responseURL)){let o,i,a;if(Wt()){try{const u=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;u&&(i=Ut(u))}catch{}try{a=io(t)}catch{}o=r}const c=qt({url:t.responseURL,method:n,status:t.status,requestHeaders:o,responseHeaders:a,responseCookies:i,error:s,type:"xhr"});X(c)}}function so(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function Ut(e){return e.split("; ").reduce((t,n)=>{const[r,s]=n.split("=");return r&&s&&(t[r]=s),t},{})}function oo(e){const t={};return e.forEach((n,r)=>{t[r]=n}),t}function io(e){const t=e.getAllResponseHeaders();return t?t.split(`\r -`).reduce((n,r)=>{const[s,o]=r.split(": ");return s&&o&&(n[s]=o),n},{}):{}}function ao(e,t){return e.some(n=>typeof n=="string"?t.includes(n):n.test(t))}function co(e,t){return e.some(n=>typeof n=="number"?n===t:t>=n[0]&&t<=n[1])}function uo(e,t){Ft()&&Pt(n=>{if(_()!==e)return;const{response:r,args:s,error:o,virtualError:i}=n,[a,c]=s;r&&no(t,a,r,c,o||i)},!1)}function fo(e,t){"XMLHttpRequest"in g&&Ht(n=>{if(_()!==e)return;const{error:r,virtualError:s}=n,o=n.xhr,i=o[O];if(!i)return;const{method:a,request_headers:c}=i;try{ro(t,o,a,c,r||s)}catch(u){ve&&p.warn("Error while extracting response event form XHR response",u)}})}function jt(e,t,n){return co(e.failedRequestStatusCodes,t)&&ao(e.failedRequestTargets,n)&&!ir(n,_())}function qt(e){const t=_(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,s=`HTTP Client Error with status code: ${e.status}`,o={message:s,exception:{values:[{type:"Error",value:s,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:so(e.responseHeaders)}}};return R(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function lo(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}function Wt(){const e=_();return e?!!e.getOptions().sendDefaultPii:!1}const po=e=>Xn(e,async n=>{const r={body:n.body,headers:e.headers??{},method:"POST",mode:"no-cors",referrerPolicy:"no-referrer",...e.fetchOptions};return dn(await fetch(e.url,r),s=>({headers:{[Te]:s.headers.get(Te),[Se]:s.headers.get(Se)},statusCode:s.status}))}),Gt=new Xr({dsn:"https://14362801769747a4b7c1e04eb0c7a3cc@collie.haikuatelier.com/1",environment:"production",integrations:[bs(),Ms(),Er({levels:["warn","error"]}),Tr(),mr(),Bs(),to({failedRequestStatusCodes:[[400,599]]}),zs(),Zs()],sendDefaultPii:!0,stackParser:ys,tracesSampleRate:1,transport:po});ut().setClient(Gt);Gt.init();export{mo as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.br deleted file mode 100644 index 4f154ee6..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.gz deleted file mode 100644 index 6db958af..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.zst deleted file mode 100644 index 3bc92147..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js deleted file mode 100644 index 6f5e1ad6..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js"],function(n,t){"use strict";var r,e,u,c,i,o,f,s,l;return{setters:[n=>{r=n.aZ,e=n.a_,u=n.aX,c=n.a$,i=n.aV,o=n.b0,f=n.b1,s=n.b2,l=n.b3}],execute:function(){function t(n,t){return n[t]}n({g:g,m:E});var a=c;function g(){if(1===arguments.length){const n=arguments;return function(t){return a(t,n[0])}}return a(arguments[0],arguments[1])}function h(n,t){return n[t]}var y,b=n("a",e);function m(n,t){return Object.assign({},n,t)}function p(){if(1===arguments.length){const n=arguments;return function(t){return m(t,n[0])}}return m(arguments[0],arguments[1])}function j(n,t,r){var e=p({},n);return e[t]=r,e}function v(){if(2===arguments.length){const n=arguments;return function(t){return j(t,n[0],n[1])}}return j(arguments[0],arguments[1],arguments[2])}function d(n,t,r){return v(n,t,r(c(n,t)))}function k(n,t,r){return v(n,t,r(n[t]))}function O(n,t){var r=p({},n);return l(r,t),r}function K(n,t){var r=p({},n);return s(t,function(n){l(r,n)}),r}function _(n,t){return r(f(Object.keys(n),function(r){return[r,t(n[r])]}))}function E(){if(1===arguments.length){const n=arguments;return function(t){return _(t,n[0])}}return _(arguments[0],arguments[1])}function W(n,t){return r(f(Object.keys(n),function(r){return[r,t(r,n[r])]}))}function P(n,t){return r(i(Object.keys(n),[],function(r,e){var u=n[e];return t(u)?o(r,[e,u]):r}))}function S(){if(1===arguments.length){const n=arguments;return function(t){return P(t,n[0])}}return P(arguments[0],arguments[1])}function U(n,t){return r(i(Object.keys(n),[],function(r,e){var u=n[e];return t(e,u)?o(r,[e,u]):r}))}function x(){if(1===arguments.length){const n=arguments;return function(t){return U(t,n[0])}}return U(arguments[0],arguments[1])}function H(n,t){return S(n,function(n){return!t(n)})}function L(n,t){return x(n,function(n,r){return!t(n,r)})}function M(n,t){return x(n,function(n,r){return function(n,t){return t.includes(n)}(n,t)})}n("y",{__proto__:null,placeholder:function(n){},makeEmpty:function(n){return{}},getUnsafe:function(){if(1===arguments.length){const n=arguments;return function(r){return t(r,n[0])}}return t(arguments[0],arguments[1])},get:g,prop:function(){if(1===arguments.length){const n=arguments;return function(t){return h(t,n[0])}}return h(arguments[0],arguments[1])},toPairs:function(n){return Object.entries(n)},values:b,keys:function(n){return Object.keys(n)},fromPairs:r,merge:p,set:v,update:function(){if(2===arguments.length){const n=arguments;return function(t){return d(t,n[0],n[1])}}return d(arguments[0],arguments[1],arguments[2])},updateUnsafe:function(){if(2===arguments.length){const n=arguments;return function(t){return k(t,n[0],n[1])}}return k(arguments[0],arguments[1],arguments[2])},deleteKey:function(){if(1===arguments.length){const n=arguments;return function(t){return O(t,n[0])}}return O(arguments[0],arguments[1])},deleteKeys:function(){if(1===arguments.length){const n=arguments;return function(t){return K(t,n[0])}}return K(arguments[0],arguments[1])},map:E,mapWithKey:function(){if(1===arguments.length){const n=arguments;return function(t){return W(t,n[0])}}return W(arguments[0],arguments[1])},filter:S,filterWithKey:x,reject:function(){if(1===arguments.length){const n=arguments;return function(t){return H(t,n[0])}}return H(arguments[0],arguments[1])},rejectWithKey:function(){if(1===arguments.length){const n=arguments;return function(t){return L(t,n[0])}}return L(arguments[0],arguments[1])},selectKeys:function(){if(1===arguments.length){const n=arguments;return function(t){return M(t,n[0])}}return M(arguments[0],arguments[1])},isEmpty:function(n){return u(n,{})},isNotEmpty:function(n){return!u(n,{})}}),n("b",(y=HTMLSelectElement,n=>n instanceof y)),n("e",n=>500===n.status)}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.br deleted file mode 100644 index 14dcf2b0..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.gz deleted file mode 100644 index 1663e87f..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.zst deleted file mode 100644 index 6217d564..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js deleted file mode 100644 index cb79d767..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js +++ /dev/null @@ -1 +0,0 @@ -import{aZ as s,a_ as $,aX as O,a$ as U,aV as W,b0 as H,b1 as L,b2 as q,b3 as M}from"./dom.BBcFv3WT.js";function x(n){}function A(n){return{}}function i(n,e){return n[e]}function D(){if(arguments.length===1){const n=arguments;return function(t){return i(t,n[0])}}return i(arguments[0],arguments[1])}var o=U;function N(){if(arguments.length===1){const n=arguments;return function(t){return o(t,n[0])}}return o(arguments[0],arguments[1])}function g(n,e){return n[e]}function R(){if(arguments.length===1){const n=arguments;return function(t){return g(t,n[0])}}return g(arguments[0],arguments[1])}function V(n){return Object.entries(n)}var X=$;function Z(n){return Object.keys(n)}var w=s;function m(n,e){return Object.assign({},n,e)}function a(){if(arguments.length===1){const n=arguments;return function(t){return m(t,n[0])}}return m(arguments[0],arguments[1])}function l(n,e,t){var r=a({},n);return r[e]=t,r}function f(){if(arguments.length===2){const n=arguments;return function(t){return l(t,n[0],n[1])}}return l(arguments[0],arguments[1],arguments[2])}function h(n,e,t){return f(n,e,t(U(n,e)))}function z(){if(arguments.length===2){const n=arguments;return function(t){return h(t,n[0],n[1])}}return h(arguments[0],arguments[1],arguments[2])}function y(n,e,t){return f(n,e,t(n[e]))}function B(){if(arguments.length===2){const n=arguments;return function(t){return y(t,n[0],n[1])}}return y(arguments[0],arguments[1],arguments[2])}function p(n,e){var t=a({},n);return M(t,e),t}function C(){if(arguments.length===1){const n=arguments;return function(t){return p(t,n[0])}}return p(arguments[0],arguments[1])}function _(n,e){var t=a({},n);return q(e,(function(r){M(t,r)})),t}function F(){if(arguments.length===1){const n=arguments;return function(t){return _(t,n[0])}}return _(arguments[0],arguments[1])}function d(n,e){return s(L(Object.keys(n),(function(t){return[t,e(n[t])]})))}function G(){if(arguments.length===1){const n=arguments;return function(t){return d(t,n[0])}}return d(arguments[0],arguments[1])}function K(n,e){return s(L(Object.keys(n),(function(t){return[t,e(t,n[t])]})))}function I(){if(arguments.length===1){const n=arguments;return function(t){return K(t,n[0])}}return K(arguments[0],arguments[1])}function b(n,e){return s(W(Object.keys(n),[],(function(t,r){var u=n[r];return e(u)?H(t,[r,u]):t})))}function P(){if(arguments.length===1){const n=arguments;return function(t){return b(t,n[0])}}return b(arguments[0],arguments[1])}function j(n,e){return s(W(Object.keys(n),[],(function(t,r){var u=n[r];return e(r,u)?H(t,[r,u]):t})))}function c(){if(arguments.length===1){const n=arguments;return function(t){return j(t,n[0])}}return j(arguments[0],arguments[1])}function v(n,e){return P(n,(function(t){return!e(t)}))}function J(){if(arguments.length===1){const n=arguments;return function(t){return v(t,n[0])}}return v(arguments[0],arguments[1])}function k(n,e){return c(n,(function(t,r){return!e(t,r)}))}function Q(){if(arguments.length===1){const n=arguments;return function(t){return k(t,n[0])}}return k(arguments[0],arguments[1])}function E(n,e){return c(n,(function(t,r){return(function(S,T){return T.includes(S)})(t,e)}))}function Y(){if(arguments.length===1){const n=arguments;return function(t){return E(t,n[0])}}return E(arguments[0],arguments[1])}function nn(n){return O(n,{})}function tn(n){return!O(n,{})}var un={__proto__:null,placeholder:x,makeEmpty:A,getUnsafe:D,get:N,prop:R,toPairs:V,values:X,keys:Z,fromPairs:w,merge:a,set:f,update:z,updateUnsafe:B,deleteKey:C,deleteKeys:F,map:G,mapWithKey:I,filter:P,filterWithKey:c,reject:J,rejectWithKey:Q,selectKeys:Y,isEmpty:nn,isNotEmpty:tn};const en=n=>e=>e instanceof n,sn=en(HTMLSelectElement),an=n=>n.status===500;export{X as a,sn as b,an as e,N as g,G as m,un as y}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.br deleted file mode 100644 index 166e8359..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.gz deleted file mode 100644 index 2e9ac5a1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.zst deleted file mode 100644 index b73af5b2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js deleted file mode 100644 index 9a6132a7..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js"],function(n,t){"use strict";var r,u,e,o,i,f;return{setters:[n=>{r=n.aT,u=n.aU,e=n.aV,o=n.aW,i=n.aX,f=n.aY}],execute:function(){function t(n,t,r){for(var u=new Array(r),e=0,o=t;e=0)return function(n,t){return function(r){return c(n,t.concat([r]))}}(e,u);r=t(u,i,0|-f),n=e.apply(null,t(u,0,i))}}function l(n,t){var r=n.length;if(1===r)return n(t);switch(r){case 1:return n(t);case 2:return function(r){return n(t,r)};case 3:return function(r,u){return n(t,r,u)};case 4:return function(r,u,e){return n(t,r,u,e)};case 5:return function(r,u,e,o){return n(t,r,u,e,o)};case 6:return function(r,u,e,o,i){return n(t,r,u,e,o,i)};case 7:return function(r,u,e,o,i,f){return n(t,r,u,e,o,i,f)};default:return c(n,[t])}}n("t",A);var a={contents:0};function s(n,t,u){return void 0!==n?u(r(n)):t}function v(n,t){if(void 0!==n)return t(r(n))}function d(n,t){return v(n,function(n){return 1===n.length?n:function(t){return l(n,t)}}(t))}function h(n,t){return void 0!==n?r(n):t}var g,m=(g="Promise.JsError",a.contents=a.contents+1|0,g+"/"+a.contents);function p(n,t){return n.catch(function(n){return l(t,function(n){return null!=n&&"string"==typeof n.RE_EXN_ID}(n)?n:{RE_EXN_ID:m,_1:n})})}function _(n,t){return d(null==n?void 0:u(n),function(n){if(t(n))return u(n)})}var E=function(n,t){if(void 0!==n)return u(t(r(n)))},N=v,y=s;function D(n,t){if(void 0!==n)return o(t(r(n)))}function P(n,t){return v(n,function(n){if(t(n))return u(n)})}var w=h,R=function(n){if(void 0!==n)return r(n);throw{RE_EXN_ID:"Not_found",Error:new Error}};function S(n,t){return void 0!==n?{TAG:0,_0:r(n)}:{TAG:1,_0:t}}function W(n,t,u){return void 0!==n?t(r(n)):u(void 0)}var X=function(n){return void 0===n},b=function(n){return void 0!==n};function x(n,t){return void 0!==n?(t(r(n)),n):n}function A(){if(1===arguments.length){const n=arguments;return function(t){return x(t,n[0])}}return x(arguments[0],arguments[1])}function I(n,t){return s(n,!1,function(n){return i(n,t)})}function T(n,t){if(void 0!==n&&void 0!==t)return[r(n),r(t)]}function k(n,t,e){if(void 0!==n&&void 0!==t)return u(e(r(n),r(t)))}function z(n,t,u){return void 0!==n?t(r(n)):u(void 0)}n("P",{__proto__:null,Some:n=>n,None:void 0,placeholder:function(n){},makeSome:function(n){return u(n)},makeNone:function(n){},fromNullable:function(n){return null==n?void 0:u(n)},fromFalsy:function(n){if(n)return n},fromPredicate:function(){if(1===arguments.length){const n=arguments;return function(t){return _(t,n[0])}}return _(arguments[0],arguments[1])},fromExecution:function(n){try{return u(n(void 0))}catch(n){return}},fromPromise:function(n){return p(n.then(function(n){return u(n)}),function(n){return Promise.resolve(void 0)})},map:function(){if(1===arguments.length){const n=arguments;return function(t){return E(t,n[0])}}return E(arguments[0],arguments[1])},flatMap:function(){if(1===arguments.length){const n=arguments;return function(t){return N(t,n[0])}}return N(arguments[0],arguments[1])},mapWithDefault:function(){if(2===arguments.length){const n=arguments;return function(t){return y(t,n[0],n[1])}}return y(arguments[0],arguments[1],arguments[2])},mapNullable:function(){if(1===arguments.length){const n=arguments;return function(t){return D(t,n[0])}}return D(arguments[0],arguments[1])},filter:function(){if(1===arguments.length){const n=arguments;return function(t){return P(t,n[0])}}return P(arguments[0],arguments[1])},getWithDefault:function(){if(1===arguments.length){const n=arguments;return function(t){return w(t,n[0])}}return w(arguments[0],arguments[1])},getExn:R,toNullable:function(n){return h(n,null)},toUndefined:function(n){return h(n,void 0)},toResult:function(){if(1===arguments.length){const n=arguments;return function(t){return S(t,n[0])}}return S(arguments[0],arguments[1])},match:function(){if(2===arguments.length){const n=arguments;return function(t){return W(t,n[0],n[1])}}return W(arguments[0],arguments[1],arguments[2])},isNone:X,isSome:b,tap:A,contains:function(){if(1===arguments.length){const n=arguments;return function(t){return I(t,n[0])}}return I(arguments[0],arguments[1])},zip:function(){if(1===arguments.length){const n=arguments;return function(t){return T(t,n[0])}}return T(arguments[0],arguments[1])},zipWith:function(){if(2===arguments.length){const n=arguments;return function(t){return k(t,n[0],n[1])}}return k(arguments[0],arguments[1],arguments[2])},fold:function(){if(2===arguments.length){const n=arguments;return function(t){return z(t,n[0],n[1])}}return z(arguments[0],arguments[1],arguments[2])},all:function(n){return e(n,[],function(n,t){return v(n,function(n){if(void 0!==t)return f(n,[r(t)])})})}})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.br deleted file mode 100644 index 25e58b9d..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.gz deleted file mode 100644 index 221e0932..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.zst deleted file mode 100644 index 2f9e3638..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js deleted file mode 100644 index 70fa3b12..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js +++ /dev/null @@ -1 +0,0 @@ -import{aT as o,aU as a,aV as $,aW as A,aX as I,aY as M}from"./dom.BBcFv3WT.js";function v(n,t,r){for(var e=new Array(r),u=0,i=t;u=0)return(function(c,m){return function(X){return z(c,m.concat([X]))}})(e,r);t=v(r,i,0|-f),n=e.apply(null,v(r,0,i))}}function R(n,t){var r=n.length;if(r===1)return n(t);switch(r){case 1:return n(t);case 2:return function(e){return n(t,e)};case 3:return function(e,u){return n(t,e,u)};case 4:return function(e,u,i){return n(t,e,u,i)};case 5:return function(e,u,i,f){return n(t,e,u,i,f)};case 6:return function(e,u,i,f,c){return n(t,e,u,i,f,c)};case 7:return function(e,u,i,f,c,m){return n(t,e,u,i,f,c,m)};default:return z(n,[t])}}function T(n){return n.length===1?n:function(t){return R(n,t)}}var l={contents:0};function k(n){return l.contents=l.contents+1|0,n+"/"+l.contents}function F(n){return n==null?!1:typeof n.RE_EXN_ID=="string"}function G(n){if(n!==void 0)return o(n);throw{RE_EXN_ID:"Not_found",Error:new Error}}function S(n,t,r){return n!==void 0?r(o(n)):t}function q(n,t){if(n!==void 0)return a(t(o(n)))}function s(n,t){if(n!==void 0)return t(o(n))}function J(n,t){return s(n,T(t))}function g(n,t){return n!==void 0?o(n):t}function O(n){return n!==void 0}function V(n){return n===void 0}var Y=k("Promise.JsError");function j(n,t){return n.catch((function(r){return R(t,F(r)?r:{RE_EXN_ID:Y,_1:r})}))}function B(n){}function C(n){return a(n)}function H(n){}function K(n){if(n!=null)return a(n)}function L(n){if(n)return n}function h(n,t){return J(n==null?void 0:a(n),(function(r){if(t(r))return a(r)}))}function Q(){if(arguments.length===1){const n=arguments;return function(r){return h(r,n[0])}}return h(arguments[0],arguments[1])}function Z(n){try{return a(n(void 0))}catch{return}}function nn(n){return j(n.then((function(t){return a(t)})),(function(t){return Promise.resolve(void 0)}))}var d=q;function tn(){if(arguments.length===1){const n=arguments;return function(r){return d(r,n[0])}}return d(arguments[0],arguments[1])}var _=s;function rn(){if(arguments.length===1){const n=arguments;return function(r){return _(r,n[0])}}return _(arguments[0],arguments[1])}var p=S;function en(){if(arguments.length===2){const n=arguments;return function(r){return p(r,n[0],n[1])}}return p(arguments[0],arguments[1],arguments[2])}function N(n,t){if(n!==void 0)return A(t(o(n)))}function un(){if(arguments.length===1){const n=arguments;return function(r){return N(r,n[0])}}return N(arguments[0],arguments[1])}function E(n,t){return s(n,(function(r){if(t(r))return a(r)}))}function on(){if(arguments.length===1){const n=arguments;return function(r){return E(r,n[0])}}return E(arguments[0],arguments[1])}var b=g;function fn(){if(arguments.length===1){const n=arguments;return function(r){return b(r,n[0])}}return b(arguments[0],arguments[1])}var an=G;function cn(n){return g(n,null)}function sn(n){return g(n,void 0)}function D(n,t){return n!==void 0?{TAG:0,_0:o(n)}:{TAG:1,_0:t}}function mn(){if(arguments.length===1){const n=arguments;return function(r){return D(r,n[0])}}return D(arguments[0],arguments[1])}function W(n,t,r){return n!==void 0?t(o(n)):r(void 0)}function ln(){if(arguments.length===2){const n=arguments;return function(r){return W(r,n[0],n[1])}}return W(arguments[0],arguments[1],arguments[2])}var gn=V,vn=O;function w(n,t){return n!==void 0&&t(o(n)),n}function hn(){if(arguments.length===1){const n=arguments;return function(r){return w(r,n[0])}}return w(arguments[0],arguments[1])}function y(n,t){return S(n,!1,(function(r){return I(r,t)}))}function dn(){if(arguments.length===1){const n=arguments;return function(r){return y(r,n[0])}}return y(arguments[0],arguments[1])}function P(n,t){if(n!==void 0&&t!==void 0)return[o(n),o(t)]}function _n(){if(arguments.length===1){const n=arguments;return function(r){return P(r,n[0])}}return P(arguments[0],arguments[1])}function U(n,t,r){if(n!==void 0&&t!==void 0)return a(r(o(n),o(t)))}function pn(){if(arguments.length===2){const n=arguments;return function(r){return U(r,n[0],n[1])}}return U(arguments[0],arguments[1],arguments[2])}function x(n,t,r){return n!==void 0?t(o(n)):r(void 0)}function Nn(){if(arguments.length===2){const n=arguments;return function(r){return x(r,n[0],n[1])}}return x(arguments[0],arguments[1],arguments[2])}function En(n){return $(n,[],(function(t,r){return s(t,(function(e){if(r!==void 0)return M(e,[o(r)])}))}))}const bn=n=>n;var Wn={__proto__:null,Some:bn,None:void 0,placeholder:B,makeSome:C,makeNone:H,fromNullable:K,fromFalsy:L,fromPredicate:Q,fromExecution:Z,fromPromise:nn,map:tn,flatMap:rn,mapWithDefault:en,mapNullable:un,filter:on,getWithDefault:fn,getExn:an,toNullable:cn,toUndefined:sn,toResult:mn,match:ln,isNone:gn,isSome:vn,tap:hn,contains:dn,zip:_n,zipWith:pn,fold:Nn,all:En};export{Wn as P,hn as t}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.br deleted file mode 100644 index a442cf9d..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.br +++ /dev/null @@ -1,10 +0,0 @@ - ¶19Ȃ<$Wj_Ej8Jm#10|^ Ԓ5.+k^U*w \G:Y͔(3i=3}b">ʇ,3b ^фb( wx2e?+K) ,.UItG,{Q,XXy3˅BrA, U- -GSB&.M8#HM -c{`[Y8>g!0 -Y2rXB|l)Sx$j5C(5w)xSh`A78atqeVơn߾#2׌w@NĹw0X -߯\BcU_hX ~hќL=r)I:!gTP[*g/'N.y:gM,&OT\ -|<GPϮL:qM> >wZ&~!o5By-gq0d?ZȠ?thh>$Y~Uצ:%7M -a4c lX(35DS3; sh ?""Pg6(OŲg0.'z+N^!*Ui \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.gz deleted file mode 100644 index 8504d474..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.zst deleted file mode 100644 index 2b8e62c2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js deleted file mode 100644 index 658e776d..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(t,e){"use strict";return{execute:function(){t("M",function(t){return new L(t,M)});const e=Symbol.for("@ts-pattern/matcher"),n=Symbol.for("@ts-pattern/isVariadic"),r="@ts-pattern/anonymous-select-key",i=t=>Boolean(t&&"object"==typeof t),o=t=>t&&!!t[e],s=(t,r,c)=>{if(o(t)){const n=t[e](),{matched:i,selections:o}=n.match(r);return i&&o&&Object.keys(o).forEach(t=>c(t,o[t])),i}if(i(t)){if(!i(r))return!1;if(Array.isArray(t)){if(!Array.isArray(r))return!1;let e=[],i=[],u=[];for(const r of t.keys()){const s=t[r];o(s)&&s[n]?u.push(s):u.length?i.push(s):e.push(s)}if(u.length){if(u.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(r.lengths(e,t[n],c))&&i.every((t,e)=>s(t,n[e],c))&&(0===u.length||s(u[0],o,c))}return t.length===r.length&&t.every((t,e)=>s(t,r[e],c))}return Reflect.ownKeys(t).every(n=>{const i=t[n];return(n in r||o(u=i)&&"optional"===u[e]().matcherType)&&s(i,r[n],c);var u})}return Object.is(r,t)},c=t=>{var n,r,s;return i(t)?o(t)?null!=(n=null==(r=(s=t[e]()).getSelectionKeys)?void 0:r.call(s))?n:[]:Array.isArray(t)?u(t,c):u(Object.values(t),c):[]},u=(t,e)=>t.reduce((t,n)=>t.concat(e(n)),[]);function a(t){return Object.assign(t,{optional:()=>h(t),and:e=>d(t,e),or:e=>y(t,e),select:e=>void 0===e?v(t):v(e,t)})}function l(t){return Object.assign((t=>Object.assign(t,{[Symbol.iterator](){let e=0;const r=[{value:Object.assign(t,{[n]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var t;return null!=(t=r[e++])?t:r.at(-1)}}}}))(t),{optional:()=>l(h(t)),select:e=>l(void 0===e?v(t):v(e,t))})}function h(t){return a({[e]:()=>({match:e=>{let n={};const r=(t,e)=>{n[t]=e};return void 0===e?(c(t).forEach(t=>r(t,void 0)),{matched:!0,selections:n}):{matched:s(t,e,r),selections:n}},getSelectionKeys:()=>c(t),matcherType:"optional"})})}const f=(t,e)=>{for(const n of t)if(!e(n))return!1;return!0},g=(t,e)=>{for(const[n,r]of t.entries())if(!e(r,n))return!1;return!0},m=(t,e)=>{const n=Reflect.ownKeys(t);for(const r of n)if(!e(r,t[r]))return!1;return!0};function d(...t){return a({[e]:()=>({match:e=>{let n={};const r=(t,e)=>{n[t]=e};return{matched:t.every(t=>s(t,e,r)),selections:n}},getSelectionKeys:()=>u(t,c),matcherType:"and"})})}function y(...t){return a({[e]:()=>({match:e=>{let n={};const r=(t,e)=>{n[t]=e};return u(t,c).forEach(t=>r(t,void 0)),{matched:t.some(t=>s(t,e,r)),selections:n}},getSelectionKeys:()=>u(t,c),matcherType:"or"})})}function p(t){return{[e]:()=>({match:e=>({matched:Boolean(t(e))})})}}function v(...t){const n="string"==typeof t[0]?t[0]:void 0,i=2===t.length?t[1]:"string"==typeof t[0]?void 0:t[0];return a({[e]:()=>({match:t=>{let e={[null!=n?n:r]:t};return{matched:void 0===i||s(i,t,(t,n)=>{e[t]=n}),selections:e}},getSelectionKeys:()=>[null!=n?n:r].concat(void 0===i?[]:c(i))})})}function b(t){return!0}function w(t){return"number"==typeof t}function S(t){return"string"==typeof t}function j(t){return"bigint"==typeof t}const K=a(p(b)),O=a(p(b)),E=K,x=t=>Object.assign(a(t),{startsWith:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.startsWith(n)))));var n},endsWith:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.endsWith(n)))));var n},minLength:e=>x(d(t,(t=>p(e=>S(e)&&e.length>=t))(e))),length:e=>x(d(t,(t=>p(e=>S(e)&&e.length===t))(e))),maxLength:e=>x(d(t,(t=>p(e=>S(e)&&e.length<=t))(e))),includes:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.includes(n)))));var n},regex:e=>{return x(d(t,(n=e,p(t=>S(t)&&Boolean(t.match(n))))));var n}}),A=x(p(S)),N=t=>Object.assign(a(t),{between:(e,n)=>N(d(t,((t,e)=>p(n=>w(n)&&t<=n&&e>=n))(e,n))),lt:e=>N(d(t,(t=>p(e=>w(e)&&eN(d(t,(t=>p(e=>w(e)&&e>t))(e))),lte:e=>N(d(t,(t=>p(e=>w(e)&&e<=t))(e))),gte:e=>N(d(t,(t=>p(e=>w(e)&&e>=t))(e))),int:()=>N(d(t,p(t=>w(t)&&Number.isInteger(t)))),finite:()=>N(d(t,p(t=>w(t)&&Number.isFinite(t)))),positive:()=>N(d(t,p(t=>w(t)&&t>0))),negative:()=>N(d(t,p(t=>w(t)&&t<0)))}),k=N(p(w)),T=t=>Object.assign(a(t),{between:(e,n)=>T(d(t,((t,e)=>p(n=>j(n)&&t<=n&&e>=n))(e,n))),lt:e=>T(d(t,(t=>p(e=>j(e)&&eT(d(t,(t=>p(e=>j(e)&&e>t))(e))),lte:e=>T(d(t,(t=>p(e=>j(e)&&e<=t))(e))),gte:e=>T(d(t,(t=>p(e=>j(e)&&e>=t))(e))),positive:()=>T(d(t,p(t=>j(t)&&t>0))),negative:()=>T(d(t,p(t=>j(t)&&t<0)))}),B=T(p(j)),P=a(p(function(t){return"boolean"==typeof t})),_=a(p(function(t){return"symbol"==typeof t})),W=a(p(function(t){return null==t})),$=a(p(function(t){return null!=t}));t("z",{__proto__:null,matcher:e,optional:h,array:function(...t){return l({[e]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(0===t.length)return{matched:!0};const n=t[0];let r={};if(0===e.length)return c(n).forEach(t=>{r[t]=[]}),{matched:!0,selections:r};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e])};return{matched:e.every(t=>s(n,t,i)),selections:r}},getSelectionKeys:()=>0===t.length?[]:c(t[0])})})},set:function(...t){return a({[e]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let n={};if(0===e.size)return{matched:!0,selections:n};if(0===t.length)return{matched:!0};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e])},i=t[0];return{matched:f(e,t=>s(i,t,r)),selections:n}},getSelectionKeys:()=>0===t.length?[]:c(t[0])})})},map:function(...t){return a({[e]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let n={};if(0===e.size)return{matched:!0,selections:n};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e])};if(0===t.length)return{matched:!0};var i;if(1===t.length)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${null==(i=t[0])?void 0:i.toString()}`);const[o,c]=t;return{matched:g(e,(t,e)=>{const n=s(o,e,r),i=s(c,t,r);return n&&i}),selections:n}},getSelectionKeys:()=>0===t.length?[]:[...c(t[0]),...c(t[1])]})})},record:function(...t){return a({[e]:()=>({match:e=>{if(null===e||"object"!=typeof e||Array.isArray(e))return{matched:!1};var n;if(0===t.length)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${null==(n=t[0])?void 0:n.toString()}`);let r={};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e])},[o,c]=1===t.length?[A,t[0]]:t;return{matched:m(e,(t,e)=>{const n="string"!=typeof t||Number.isNaN(Number(t))?null:Number(t),r=null!==n&&s(o,n,i),u=s(o,t,i),a=s(c,e,i);return(u||r)&&a}),selections:r}},getSelectionKeys:()=>0===t.length?[]:[...c(t[0]),...c(t[1])]})})},intersection:d,union:y,not:function(t){return a({[e]:()=>({match:e=>({matched:!s(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:p,select:v,any:K,unknown:O,_:E,string:A,number:k,bigint:B,boolean:P,symbol:_,nullish:W,nonNullable:$,instanceOf:function(t){return a(p(function(t){return e=>e instanceof t}(t)))},shape:function(t){return a(p(function(...t){if(1===t.length){const[e]=t;return t=>s(e,t,()=>{})}if(2===t.length){const[e,n]=t;return s(e,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}(t)))}});class z extends Error{constructor(t){let e;try{e=JSON.stringify(t)}catch(r){e=t}super(`Pattern matching error: no pattern matches value ${e}`),this.input=void 0,this.input=t}}const M={matched:!1,value:void 0};class L{constructor(t,e){this.input=void 0,this.state=void 0,this.input=t,this.state=e}with(...t){if(this.state.matched)return this;const e=t[t.length-1],n=[t[0]];let i;3===t.length&&"function"==typeof t[1]?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let o=!1,c={};const u=(t,e)=>{o=!0,c[t]=e},a=!n.some(t=>s(t,this.input,u))||i&&!Boolean(i(this.input))?M:{matched:!0,value:e(o?r in c?c[r]:c:this.input,this.input)};return new L(this.input,a)}when(t,e){if(this.state.matched)return this;const n=Boolean(t(this.input));return new L(this.input,n?{matched:!0,value:e(this.input,this.input)}:M)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(t=R){return this.state.matched?this.state.value:t(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function R(t){throw new z(t)}}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.br deleted file mode 100644 index 2019e604..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.gz deleted file mode 100644 index ca7923d5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.zst deleted file mode 100644 index e4209865..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js deleted file mode 100644 index a57b4267..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js +++ /dev/null @@ -1 +0,0 @@ -const g=Symbol.for("@ts-pattern/matcher"),W=Symbol.for("@ts-pattern/isVariadic"),x="@ts-pattern/anonymous-select-key",N=e=>!!(e&&typeof e=="object"),E=e=>e&&!!e[g],l=(e,t,r)=>{if(E(e)){const n=e[g](),{matched:i,selections:o}=n.match(t);return i&&o&&Object.keys(o).forEach(a=>r(a,o[a])),i}if(N(e)){if(!N(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let n=[],i=[],o=[];for(const a of e.keys()){const c=e[a];E(c)&&c[W]?o.push(c):o.length?i.push(c):n.push(c)}if(o.length){if(o.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.lengthl(m,a[v],r))&&i.every((m,v)=>l(m,c[v],r))&&(o.length===0||l(o[0],d,r))}return e.length===t.length&&e.every((a,c)=>l(a,t[c],r))}return Reflect.ownKeys(e).every(n=>{const i=e[n];return(n in t||E(o=i)&&o[g]().matcherType==="optional")&&l(i,t[n],r);var o})}return Object.is(t,e)},f=e=>{var t,r,n;return N(e)?E(e)?(t=(r=(n=e[g]()).getSelectionKeys)==null?void 0:r.call(n))!=null?t:[]:Array.isArray(e)?K(e,f):K(Object.values(e),f):[]},K=(e,t)=>e.reduce((r,n)=>r.concat(t(n)),[]);function M(...e){if(e.length===1){const[t]=e;return r=>l(t,r,()=>{})}if(e.length===2){const[t,r]=e;return l(t,r,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${e.length}.`)}function h(e){return Object.assign(e,{optional:()=>B(e),and:t=>u(e,t),or:t=>$(e,t),select:t=>t===void 0?O(e):O(t,e)})}function k(e){return Object.assign((t=>Object.assign(t,{[Symbol.iterator](){let r=0;const n=[{value:Object.assign(t,{[W]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var i;return(i=n[r++])!=null?i:n.at(-1)}}}}))(e),{optional:()=>k(B(e)),select:t=>k(t===void 0?O(e):O(t,e))})}function B(e){return h({[g]:()=>({match:t=>{let r={};const n=(i,o)=>{r[i]=o};return t===void 0?(f(e).forEach(i=>n(i,void 0)),{matched:!0,selections:r}):{matched:l(e,t,n),selections:r}},getSelectionKeys:()=>f(e),matcherType:"optional"})})}const F=(e,t)=>{for(const r of e)if(!t(r))return!1;return!0},J=(e,t)=>{for(const[r,n]of e.entries())if(!t(n,r))return!1;return!0},R=(e,t)=>{const r=Reflect.ownKeys(e);for(const n of r)if(!t(n,e[n]))return!1;return!0};function u(...e){return h({[g]:()=>({match:t=>{let r={};const n=(i,o)=>{r[i]=o};return{matched:e.every(i=>l(i,t,n)),selections:r}},getSelectionKeys:()=>K(e,f),matcherType:"and"})})}function $(...e){return h({[g]:()=>({match:t=>{let r={};const n=(i,o)=>{r[i]=o};return K(e,f).forEach(i=>n(i,void 0)),{matched:e.some(i=>l(i,t,n)),selections:r}},getSelectionKeys:()=>K(e,f),matcherType:"or"})})}function s(e){return{[g]:()=>({match:t=>({matched:!!e(t)})})}}function O(...e){const t=typeof e[0]=="string"?e[0]:void 0,r=e.length===2?e[1]:typeof e[0]=="string"?void 0:e[0];return h({[g]:()=>({match:n=>{let i={[t??x]:n};return{matched:r===void 0||l(r,n,(o,a)=>{i[o]=a}),selections:i}},getSelectionKeys:()=>[t??x].concat(r===void 0?[]:f(r))})})}function _(e){return!0}function y(e){return typeof e=="number"}function b(e){return typeof e=="string"}function w(e){return typeof e=="bigint"}const z=h(s(_)),U=h(s(_)),V=z,S=e=>Object.assign(h(e),{startsWith:t=>{return S(u(e,(r=t,s(n=>b(n)&&n.startsWith(r)))));var r},endsWith:t=>{return S(u(e,(r=t,s(n=>b(n)&&n.endsWith(r)))));var r},minLength:t=>S(u(e,(r=>s(n=>b(n)&&n.length>=r))(t))),length:t=>S(u(e,(r=>s(n=>b(n)&&n.length===r))(t))),maxLength:t=>S(u(e,(r=>s(n=>b(n)&&n.length<=r))(t))),includes:t=>{return S(u(e,(r=t,s(n=>b(n)&&n.includes(r)))));var r},regex:t=>{return S(u(e,(r=t,s(n=>b(n)&&!!n.match(r)))));var r}}),P=S(s(b)),p=e=>Object.assign(h(e),{between:(t,r)=>p(u(e,((n,i)=>s(o=>y(o)&&n<=o&&i>=o))(t,r))),lt:t=>p(u(e,(r=>s(n=>y(n)&&np(u(e,(r=>s(n=>y(n)&&n>r))(t))),lte:t=>p(u(e,(r=>s(n=>y(n)&&n<=r))(t))),gte:t=>p(u(e,(r=>s(n=>y(n)&&n>=r))(t))),int:()=>p(u(e,s(t=>y(t)&&Number.isInteger(t)))),finite:()=>p(u(e,s(t=>y(t)&&Number.isFinite(t)))),positive:()=>p(u(e,s(t=>y(t)&&t>0))),negative:()=>p(u(e,s(t=>y(t)&&t<0)))}),q=p(s(y)),j=e=>Object.assign(h(e),{between:(t,r)=>j(u(e,((n,i)=>s(o=>w(o)&&n<=o&&i>=o))(t,r))),lt:t=>j(u(e,(r=>s(n=>w(n)&&nj(u(e,(r=>s(n=>w(n)&&n>r))(t))),lte:t=>j(u(e,(r=>s(n=>w(n)&&n<=r))(t))),gte:t=>j(u(e,(r=>s(n=>w(n)&&n>=r))(t))),positive:()=>j(u(e,s(t=>w(t)&&t>0))),negative:()=>j(u(e,s(t=>w(t)&&t<0)))}),C=j(s(w)),D=h(s(function(e){return typeof e=="boolean"})),G=h(s(function(e){return typeof e=="symbol"})),H=h(s(function(e){return e==null})),Q=h(s(function(e){return e!=null}));var Z={__proto__:null,matcher:g,optional:B,array:function(...e){return k({[g]:()=>({match:t=>{if(!Array.isArray(t))return{matched:!1};if(e.length===0)return{matched:!0};const r=e[0];let n={};if(t.length===0)return f(r).forEach(o=>{n[o]=[]}),{matched:!0,selections:n};const i=(o,a)=>{n[o]=(n[o]||[]).concat([a])};return{matched:t.every(o=>l(r,o,i)),selections:n}},getSelectionKeys:()=>e.length===0?[]:f(e[0])})})},set:function(...e){return h({[g]:()=>({match:t=>{if(!(t instanceof Set))return{matched:!1};let r={};if(t.size===0)return{matched:!0,selections:r};if(e.length===0)return{matched:!0};const n=(o,a)=>{r[o]=(r[o]||[]).concat([a])},i=e[0];return{matched:F(t,o=>l(i,o,n)),selections:r}},getSelectionKeys:()=>e.length===0?[]:f(e[0])})})},map:function(...e){return h({[g]:()=>({match:t=>{if(!(t instanceof Map))return{matched:!1};let r={};if(t.size===0)return{matched:!0,selections:r};const n=(c,d)=>{r[c]=(r[c]||[]).concat([d])};if(e.length===0)return{matched:!0};var i;if(e.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(i=e[0])==null?void 0:i.toString()}`);const[o,a]=e;return{matched:J(t,(c,d)=>{const m=l(o,d,n),v=l(a,c,n);return m&&v}),selections:r}},getSelectionKeys:()=>e.length===0?[]:[...f(e[0]),...f(e[1])]})})},record:function(...e){return h({[g]:()=>({match:t=>{if(t===null||typeof t!="object"||Array.isArray(t))return{matched:!1};var r;if(e.length===0)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(r=e[0])==null?void 0:r.toString()}`);let n={};const i=(c,d)=>{n[c]=(n[c]||[]).concat([d])},[o,a]=e.length===1?[P,e[0]]:e;return{matched:R(t,(c,d)=>{const m=typeof c!="string"||Number.isNaN(Number(c))?null:Number(c),v=m!==null&&l(o,m,i),I=l(o,c,i),L=l(a,d,i);return(I||v)&&L}),selections:n}},getSelectionKeys:()=>e.length===0?[]:[...f(e[0]),...f(e[1])]})})},intersection:u,union:$,not:function(e){return h({[g]:()=>({match:t=>({matched:!l(e,t,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:s,select:O,any:z,unknown:U,_:V,string:P,number:q,bigint:C,boolean:D,symbol:G,nullish:H,nonNullable:Q,instanceOf:function(e){return h(s((function(t){return r=>r instanceof t})(e)))},shape:function(e){return h(s(M(e)))}};class X extends Error{constructor(t){let r;try{r=JSON.stringify(t)}catch{r=t}super(`Pattern matching error: no pattern matches value ${r}`),this.input=void 0,this.input=t}}const T={matched:!1,value:void 0};function ee(e){return new A(e,T)}class A{constructor(t,r){this.input=void 0,this.state=void 0,this.input=t,this.state=r}with(...t){if(this.state.matched)return this;const r=t[t.length-1],n=[t[0]];let i;t.length===3&&typeof t[1]=="function"?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let o=!1,a={};const c=(m,v)=>{o=!0,a[m]=v},d=!n.some(m=>l(m,this.input,c))||i&&!i(this.input)?T:{matched:!0,value:r(o?x in a?a[x]:a:this.input,this.input)};return new A(this.input,d)}when(t,r){if(this.state.matched)return this;const n=!!t(this.input);return new A(this.input,n?{matched:!0,value:r(this.input,this.input)}:T)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(t=Y){return this.state.matched?this.state.value:t(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function Y(e){throw new X(e)}export{ee as M,Z as z}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.br deleted file mode 100644 index 0c98803a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.gz deleted file mode 100644 index d63e525b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.zst deleted file mode 100644 index 370e90b7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js deleted file mode 100644 index fde61fed..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(e,t){"use strict";return{execute:function(){function t(e){return"function"==typeof e?e:function(e){if(null==e)return()=>!1;if("fatal"===e)return e=>"fatal"===e.level;if("error"===e)return e=>"fatal"===e.level||"error"===e.level;if("warning"===e)return e=>"fatal"===e.level||"error"===e.level||"warning"===e.level;if("info"===e)return e=>"fatal"===e.level||"error"===e.level||"warning"===e.level||"info"===e.level;if("debug"===e)return e=>"fatal"===e.level||"error"===e.level||"warning"===e.level||"info"===e.level||"debug"===e.level;if("trace"===e)return()=>!0;throw new TypeError(`Invalid log level: ${e}.`)}(e)}const r=["trace","debug","info","warning","error","fatal"];function o(e,t){const o=r.indexOf(e);if(o<0)throw new TypeError(`Invalid log level: ${JSON.stringify(e)}.`);const n=r.indexOf(t);if(n<0)throw new TypeError(`Invalid log level: ${JSON.stringify(t)}.`);return o-n}const n=Symbol.for("logtape.rootLogger");var i=class e{parent;children;category;sinks;parentSinks="inherit";filters;lowestLevel="trace";contextLocalStorage;static getLogger(t=[]){let r=n in globalThis?globalThis[n]??null:null;return null==r&&(r=new e(null,[]),globalThis[n]=r),"string"==typeof t?r.getChild(t):0===t.length?r:r.getChild(t)}constructor(e,t){this.parent=e,this.children={},this.category=t,this.sinks=[],this.filters=[]}getChild(t){const r="string"==typeof t?t:t[0],o=this.children[r];let n=o instanceof e?o:o?.deref();return null==n&&(n=new e(this,[...this.category,r]),this.children[r]="WeakRef"in globalThis?new WeakRef(n):n),"string"==typeof t||1===t.length?n:n.getChild(t.slice(1))}reset(){for(;this.sinks.length>0;)this.sinks.shift();for(this.parentSinks="inherit";this.filters.length>0;)this.filters.shift();this.lowestLevel="trace"}resetDescendants(){for(const t of Object.values(this.children)){const r=t instanceof e?t:t.deref();null!=r&&r.resetDescendants()}this.reset()}with(e){return new l(this,{...e})}filter(e){for(const t of this.filters)if(!t(e))return!1;return!(this.filters.length<1)||(this.parent?.filter(e)??!0)}*getSinks(e){if(!(null===this.lowestLevel||o(e,this.lowestLevel)<0)){if(null!=this.parent&&"inherit"===this.parentSinks)for(const t of this.parent.getSinks(e))yield t;for(const e of this.sinks)yield e}}emit(e,t){const r="category"in e?e:{...e,category:this.category};if(!(null===this.lowestLevel||o(r.level,this.lowestLevel)<0)&&this.filter(r))for(const o of this.getSinks(r.level))if(!t?.has(o))try{o(r)}catch(n){const e=new Set(t);e.add(o),s.log("fatal","Failed to emit a log record to sink {sink}: {error}",{sink:o,error:n,record:r},e)}}log(t,r,o,n){const i=e.getLogger().contextLocalStorage?.getStore()??{};let l;const s="function"==typeof o?{category:this.category,level:t,timestamp:Date.now(),get message(){return u(r,this.properties)},rawMessage:r,get properties(){return null==l&&(l={...i,...o()}),l}}:{category:this.category,level:t,timestamp:Date.now(),message:u(r,{...i,...o}),rawMessage:r,properties:{...i,...o}};this.emit(s,n)}logLazily(t,r,o={}){const n=e.getLogger().contextLocalStorage?.getStore()??{};let i,l;function s(){if((null==l||null==i)&&(l=r((e,...t)=>(i=e,p(e,t))),null==i))throw new TypeError("No log record was made.");return[l,i]}this.emit({category:this.category,level:t,get message(){return s()[0]},get rawMessage(){return s()[1]},timestamp:Date.now(),properties:{...n,...o}})}logTemplate(t,r,o,n={}){const i=e.getLogger().contextLocalStorage?.getStore()??{};this.emit({category:this.category,level:t,message:p(r,o),rawMessage:r,timestamp:Date.now(),properties:{...i,...n}})}trace(e,...t){"string"==typeof e?this.log("trace",e,t[0]??{}):"function"==typeof e?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,t):this.log("trace","{*}",e)}debug(e,...t){"string"==typeof e?this.log("debug",e,t[0]??{}):"function"==typeof e?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,t):this.log("debug","{*}",e)}info(e,...t){"string"==typeof e?this.log("info",e,t[0]??{}):"function"==typeof e?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,t):this.log("info","{*}",e)}warn(e,...t){"string"==typeof e?this.log("warning",e,t[0]??{}):"function"==typeof e?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,t):this.log("warning","{*}",e)}warning(e,...t){this.warn(e,...t)}error(e,...t){"string"==typeof e?this.log("error",e,t[0]??{}):"function"==typeof e?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,t):this.log("error","{*}",e)}fatal(e,...t){"string"==typeof e?this.log("fatal",e,t[0]??{}):"function"==typeof e?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,t):this.log("fatal","{*}",e)}},l=class e{logger;properties;constructor(e,t){this.logger=e,this.properties=t}get category(){return this.logger.category}get parent(){return this.logger.parent}getChild(e){return this.logger.getChild(e).with(this.properties)}with(t){return new e(this.logger,{...this.properties,...t})}log(e,t,r,o){this.logger.log(e,t,"function"==typeof r?()=>({...this.properties,...r()}):{...this.properties,...r},o)}logLazily(e,t){this.logger.logLazily(e,t,this.properties)}logTemplate(e,t,r){this.logger.logTemplate(e,t,r,this.properties)}emit(e){const t={...e,properties:{...this.properties,...e.properties}};this.logger.emit(t)}trace(e,...t){"string"==typeof e?this.log("trace",e,t[0]??{}):"function"==typeof e?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,t):this.log("trace","{*}",e)}debug(e,...t){"string"==typeof e?this.log("debug",e,t[0]??{}):"function"==typeof e?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,t):this.log("debug","{*}",e)}info(e,...t){"string"==typeof e?this.log("info",e,t[0]??{}):"function"==typeof e?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,t):this.log("info","{*}",e)}warn(e,...t){"string"==typeof e?this.log("warning",e,t[0]??{}):"function"==typeof e?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,t):this.log("warning","{*}",e)}warning(e,...t){this.warn(e,...t)}error(e,...t){"string"==typeof e?this.log("error",e,t[0]??{}):"function"==typeof e?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,t):this.log("error","{*}",e)}fatal(e,...t){"string"==typeof e?this.log("fatal",e,t[0]??{}):"function"==typeof e?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,t):this.log("fatal","{*}",e)}};const s=i.getLogger(["logtape","meta"]);function a(e){return e.includes(".")||e.includes("[")||e.includes("?.")}function g(e,t){const r=e.length;let o,n=t;if(n>=r)return null;if("["===e[n]){if(n++,n>=r)return null;if('"'===e[n]||"'"===e[n]){const t=e[n];n++;let i="";for(;n=r)return null;o=i,n++}else{const t=n;for(;n=r)return null;const i=e.slice(t,n);if(0===i.length)return null;const l=Number(i);o=Number.isNaN(l)?i:l}for(;n=0&&tJSON.stringify(e):"Deno"in globalThis&&"inspect"in globalThis.Deno&&"function"==typeof globalThis.Deno.inspect?(e,t)=>globalThis.Deno.inspect(e,{strAbbreviateSize:1/0,iterableLimit:1/0,...t}):null!=y?(e,t)=>h(e,{...t}):e=>JSON.stringify(e);function b(e){return e<10?`0${e}`:`${e}`}function v(e){return e<10?`00${e}`:e<100?`0${e}`:`${e}`}const w={"date-time-timezone":e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())} ${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00:00`},"date-time-tz":e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())} ${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00`},"date-time":e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())} ${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())}`},"time-timezone":e=>{const t=new Date(e);return`${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00:00`},"time-tz":e=>{const t=new Date(e);return`${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00`},time:e=>{const t=new Date(e);return`${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())}`},date:e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())}`},rfc3339:e=>new Date(e).toISOString(),none:()=>null},T={ABBR:d,abbr:{trace:"trc",debug:"dbg",info:"inf",warning:"wrn",error:"err",fatal:"ftl"},FULL:{trace:"TRACE",debug:"DEBUG",info:"INFO",warning:"WARNING",error:"ERROR",fatal:"FATAL"},full:{trace:"trace",debug:"debug",info:"info",warning:"warning",error:"error",fatal:"fatal"},L:{trace:"T",debug:"D",info:"I",warning:"W",error:"E",fatal:"F"},l:{trace:"t",debug:"d",info:"i",warning:"w",error:"e",fatal:"f"}};function S(e={}){const t=(()=>{const t=e.timestamp;return null==t?w["date-time-timezone"]:"disabled"===t?w.none:"string"==typeof t&&t in w?w[t]:t})(),r=e.category??"·",o=e.value?t=>e.value(t,m):m,n=(()=>{const t=e.level;return null==t||"ABBR"===t?e=>T.ABBR[e]:"abbr"===t?e=>T.abbr[e]:"FULL"===t?e=>T.FULL[e]:"full"===t?e=>T.full[e]:"L"===t?e=>T.L[e]:"l"===t?e=>T.l[e]:t})(),i=e.format??(({timestamp:e,level:t,category:r,message:o})=>`${e?`${e} `:""}[${t}] ${r}: ${o}`);return e=>{const l=e.message,s=l.length;let a;if(1===s)a=l[0];else if(s<=6){a="";for(let e=0;et(e,{colors:!0}),...e,format({timestamp:e,level:r,category:o,message:a,record:g}){const u=s[g.level];return e=`${n}${e}${i}`,r=`${null==l?"":L[l]}${null==u?"":C[u]}${r}${null==l&&null==u?"":$}`,null==t?`${e} ${r} ${c}${o}:${f} ${a}`:t({timestamp:e,level:r,category:`${c}${o}${f}`,message:a,record:g})}})}(),function(e={}){if(!e.categorySeparator&&!e.message&&!e.properties)return e=>{if(3===e.message.length)return JSON.stringify({"@timestamp":new Date(e.timestamp).toISOString(),level:"warning"===e.level?"WARN":e.level.toUpperCase(),message:e.message[0]+JSON.stringify(e.message[1])+e.message[2],logger:e.category.join("."),properties:e.properties})+"\n";if(1===e.message.length)return JSON.stringify({"@timestamp":new Date(e.timestamp).toISOString(),level:"warning"===e.level?"WARN":e.level.toUpperCase(),message:e.message[0],logger:e.category.join("."),properties:e.properties})+"\n";let t=e.message[0];for(let r=1;re.join(t)}if("flatten"===r)n=e=>e;else if(r.startsWith("prepend:")){const e=r.substring(8);if(""===e)throw new TypeError(`Invalid properties option: ${JSON.stringify(r)}. It must be of the form "prepend:" where is a non-empty string.`);n=t=>{const r={};for(const o in t)r[`${e}${o}`]=t[o];return r}}else{if(!r.startsWith("nest:"))throw new TypeError(`Invalid properties option: ${JSON.stringify(r)}. It must be "flatten", "prepend:", or "nest:".`);{const e=r.substring(5);n=t=>({[e]:t})}}i=t?e=>{if("string"==typeof e.rawMessage)return e.rawMessage;let t="";for(let r=0;r{const t=e.message.length;if(1===t)return e.message[0];let r="";for(let o=0;o{const n=t(e),i=r[e.level];if(void 0===i)throw new TypeError(`Invalid log level: ${e.level}.`);if("string"==typeof n){const e=n.replace(/\r?\n$/,"");o[i](e)}else o[i](...n)};if(!e.nonBlocking)return n;const i=!0===e.nonBlocking?{}:e.nonBlocking,l=i.bufferSize??100,s=i.flushInterval??100,a=[];let g=null,c=!1,f=!1;const u=2*l;function p(){if(0===a.length)return;const e=a.splice(0);for(const t of e)try{n(t)}catch{}}const h=e=>{c||(a.length>=u&&a.shift(),a.push(e),a.length>=l?f||(f=!0,setTimeout(()=>{f=!1,p()},0)):null===g&&(null!==g||c||(g=setInterval(()=>{p()},s))))};return h[Symbol.dispose]=()=>{c=!0,null!==g&&(clearInterval(g),g=null),p()},h}let x=null;const N=new Set,M=new Set,D=new Set;function R(e){return 0===e.category.length||1===e.category.length&&"logtape"===e.category[0]||2===e.category.length&&"logtape"===e.category[0]&&"meta"===e.category[1]}function E(){I(),function(){const e=i.getLogger([]);e.resetDescendants(),delete e.contextLocalStorage,N.clear(),x=null}()}function I(){for(const e of M)e[Symbol.dispose]();M.clear()}var j=class extends Error{constructor(e){super(e),this.name="ConfigureError"}};const B=(e=0)=>t=>`[${t+e}m`,F=(e=0)=>t=>`[${38+e};5;${t}m`,z=(e=0)=>(t,r,o)=>`[${38+e};2;${t};${r};${o}m`,J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(J.modifier),Object.keys(J.color),Object.keys(J.bgColor);const P=function(){const e=new Map;for(const[t,r]of Object.entries(J)){for(const[t,o]of Object.entries(r))J[t]={open:`[${o[0]}m`,close:`[${o[1]}m`},r[t]=J[t],e.set(o[0],o[1]);Object.defineProperty(J,t,{value:r,enumerable:!1})}return Object.defineProperty(J,"codes",{value:e,enumerable:!1}),J.color.close="",J.bgColor.close="",J.color.ansi=B(),J.color.ansi256=F(),J.color.ansi16m=z(),J.bgColor.ansi=B(10),J.bgColor.ansi256=F(10),J.bgColor.ansi16m=z(10),Object.defineProperties(J,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;3===r.length&&(r=[...r].map(e=>e+e).join(""));const o=Number.parseInt(r,16);return[o>>16&255,o>>8&255,255&o]},enumerable:!1},hexToAnsi256:{value:e=>J.rgbToAnsi256(...J.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,r,o;if(e>=232)t=(10*(e-232)+8)/255,r=t,o=t;else{const n=(e-=16)%36;t=Math.floor(e/36)/5,r=Math.floor(n/6)/5,o=n%6/5}const n=2*Math.max(t,r,o);if(0===n)return 30;let i=30+(Math.round(o)<<2|Math.round(r)<<1|Math.round(t));return 2===n&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,t,r)=>J.ansi256ToAnsi(J.rgbToAnsi256(e,t,r)),enumerable:!1},hexToAnsi:{value:e=>J.ansi256ToAnsi(J.hexToAnsi256(e)),enumerable:!1}}),J}(),W=(()=>{if(!("navigator"in globalThis))return 0;if(globalThis.navigator.userAgentData){const e=navigator.userAgentData.brands.find(({brand:e})=>"Chromium"===e);if(e&&e.version>93)return 3}return/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)?1:0})(),G=0!==W&&{level:W},_={stdout:G,stderr:G};function Y(e,t,r){let o=e.indexOf(t);if(-1===o)return e;const n=t.length;let i=0,l="";do{l+=e.slice(i,o)+t+r,i=o+n,o=e.indexOf(t,i)}while(-1!==o);return l+=e.slice(i),l}const{stdout:H,stderr:q}=_,K=Symbol("GENERATOR"),Q=Symbol("STYLER"),V=Symbol("IS_EMPTY"),X=["ansi","ansi","ansi256","ansi16m"],Z=Object.create(null),ee=e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=H?H.level:0;e.level=void 0===t.level?r:t.level})(t,e),Object.setPrototypeOf(t,te.prototype),t};function te(e){return ee(e)}Object.setPrototypeOf(te.prototype,Function.prototype);for(const[e,$e]of Object.entries(P))Z[e]={get(){const t=le(this,ie($e.open,$e.close,this[Q]),this[V]);return Object.defineProperty(this,e,{value:t}),t}};Z.visible={get(){const e=le(this,this[Q],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const re=(e,t,r,...o)=>"rgb"===e?"ansi16m"===t?P[r].ansi16m(...o):"ansi256"===t?P[r].ansi256(P.rgbToAnsi256(...o)):P[r].ansi(P.rgbToAnsi(...o)):"hex"===e?re("rgb",t,r,...P.hexToRgb(...o)):P[r][e](...o),oe=["rgb","hex","ansi256"];for(const e of oe)Z[e]={get(){const{level:t}=this;return function(...r){const o=ie(re(e,X[t],"color",...r),P.color.close,this[Q]);return le(this,o,this[V])}}},Z["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const o=ie(re(e,X[t],"bgColor",...r),P.bgColor.close,this[Q]);return le(this,o,this[V])}}};const ne=Object.defineProperties(()=>{},{...Z,level:{enumerable:!0,get(){return this[K].level},set(e){this[K].level=e}}}),ie=(e,t,r)=>{let o,n;return void 0===r?(o=e,n=t):(o=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:o,closeAll:n,parent:r}},le=(e,t,r)=>{const o=(...e)=>se(o,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(o,ne),o[K]=e,o[Q]=t,o[V]=r,o},se=(e,t)=>{if(e.level<=0||!t)return e[V]?"":t;let r=e[Q];if(void 0===r)return t;const{openAll:o,closeAll:n}=r;if(t.includes(""))for(;void 0!==r;)t=Y(t,r.close,r.open),r=r.parent;const i=t.indexOf("\n");return-1!==i&&(t=function(e,t,r,o){let n=0,i="";do{const l="\r"===e[o-1];i+=e.slice(n,l?o-1:o)+t+(l?"\r\n":"\n")+r,n=o+1,o=e.indexOf("\n",n)}while(-1!==o);return i+=e.slice(n),i}(t,n,o,i)),o+t+n};Object.defineProperties(te.prototype,Z);const ae=te();function ge(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}te({level:q?q.level:0});var ce,fe={exports:{}},ue=fe.exports,pe=(ce||(ce=1,function(e){var t,r;t=ue,r=function(){var e=function(){},t="undefined",r=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),o=["trace","debug","info","warn","error"],n={},i=null;function l(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(o){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(){for(var r=this.getLevel(),n=0;n=0&&t<=f.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?u+=":"+e:"symbol"==typeof e&&(u=void 0),f.name=e,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=g?g:null!=s?s:l},f.setLevel=function(e,r){return g=h(e),!1!==r&&function(e){var r=(o[e]||"silent").toUpperCase();if(typeof window!==t&&u){try{return void(window.localStorage[u]=r)}catch(n){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(n){}}}(g),a.call(f)},f.setDefaultLevel=function(e){s=h(e),p()||f.setLevel(e,!1)},f.resetLevel=function(){g=null,function(){if(typeof window!==t&&u){try{window.localStorage.removeItem(u)}catch(e){}try{window.document.cookie=encodeURIComponent(u)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),a.call(f)},f.enableAll=function(e){f.setLevel(f.levels.TRACE,e)},f.disableAll=function(e){f.setLevel(f.levels.SILENT,e)},f.rebuild=function(){if(i!==f&&(l=h(i.getLevel())),a.call(f),i===f)for(var e in n)n[e].rebuild()},l=h(i?i.getLevel():"WARN");var y=p();null!=y&&(g=h(y)),a.call(f)}(i=new f).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=n[e];return t||(t=n[e]=new f(e,i.methodFactory)),t};var u=typeof window!==t?window.log:void 0;return i.noConflict=function(){return typeof window!==t&&window.log===i&&(window.log=u),i},i.getLoggers=function(){return n},i.default=i,i},e.exports?e.exports=r():t.log=r()}(fe)),fe.exports);const he=ge(pe);var ye,de={exports:{}},me=de.exports,be=(ye||(ye=1,function(e){var t,r;t=me,r=function(e){var t,r,o={template:"[%t] %l:",levelFormatter:function(e){return e.toUpperCase()},nameFormatter:function(e){return e||"root"},timestampFormatter:function(e){return e.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")},format:void 0},n={},i={reg:function(e){if(!e||!e.getLogger)throw new TypeError("Argument is not a root logger");t=e},apply:function(e,r){if(!e||!e.setLevel)throw new TypeError("Argument is not a logger");var i=e.methodFactory,l=e.name||"",s=n[l]||n[""]||o;return n[l]||(e.methodFactory=function(e,t,r){var o=i(e,t,r),s=n[r]||n[""],a=-1!==s.template.indexOf("%t"),g=-1!==s.template.indexOf("%l"),c=-1!==s.template.indexOf("%n");return function(){for(var t="",i=arguments.length,f=Array(i),u=0;u`${ae.gray(`[${r}]`)} ${we[e.toUpperCase()](e)}`});const Se="haiku-atelier";!function(e){if(null!=x&&!e.reset)throw new j("Already configured; if you want to reset, turn on the reset flag.");if(D.size>0)throw new j("Previously configured async disposables are still active. Use configure() instead or explicitly dispose them using dispose().");E();try{!function(e){x=e;let r=!1;const o=new Set;for(const l of e.loggers){R(l)&&(r=!0);const n=Array.isArray(l.category)?JSON.stringify(l.category):JSON.stringify([l.category]);if(o.has(n))throw new j(`Duplicate logger configuration for category: ${n}. Each category can only be configured once.`);o.add(n);const s=i.getLogger(l.category);for(const t of l.sinks??[]){const r=e.sinks[t];if(!r)throw new j(`Sink not found: ${t}.`);s.sinks.push(r)}s.parentSinks=l.parentSinks??"inherit",void 0!==l.lowestLevel&&(s.lowestLevel=l.lowestLevel);for(const r of l.filters??[]){const o=e.filters?.[r];if(void 0===o)throw new j(`Filter not found: ${r}.`);s.filters.push(t(o))}N.add(s)}i.getLogger().contextLocalStorage=e.contextLocalStorage;for(const t of Object.values(e.sinks)){if(Symbol.asyncDispose in t)throw new j("Async disposables cannot be used with configureSync().");Symbol.dispose in t&&M.add(t)}for(const t of Object.values(e.filters??{}))if(null!=t&&"string"!=typeof t){if(Symbol.asyncDispose in t)throw new j("Async disposables cannot be used with configureSync().");Symbol.dispose in t&&M.add(t)}if("string"!=typeof globalThis.EdgeRuntime&&"process"in globalThis&&!("Deno"in globalThis)){const e=globalThis.process,t=e?.on;"function"==typeof t&&t.call(e,"exit",I)}else addEventListener("unload",I);const n=i.getLogger(["logtape","meta"]);r||n.sinks.push(U()),n.info("LogTape loggers are configured. Note that LogTape itself uses the meta logger, which has category {metaLoggerCategory}. The meta logger purposes to log internal errors such as sink exceptions. If you are seeing this message, the meta logger is automatically configured. It's recommended to configure the meta logger with a separate sink so that you can easily notice if logging itself fails or is misconfigured. To turn off this message, configure the meta logger with higher log levels than {dismissLevel}. See also .",{metaLoggerCategory:["logtape","meta"],dismissLevel:"info"})}(e)}catch(r){throw r instanceof j&&E(),r}}({loggers:[{category:Se,lowestLevel:"warning",sinks:["console"]}],sinks:{console:U()}}),e("n",function(e=[]){return i.getLogger(e)}(Se))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.br deleted file mode 100644 index 6fe5276b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.gz deleted file mode 100644 index 2e7c9e26..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.zst deleted file mode 100644 index d166d287..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation.js b/web/app/themes/haiku-atelier-2024/assets/js/journalisation.js deleted file mode 100644 index 37f2dbb1..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/journalisation.js +++ /dev/null @@ -1,11 +0,0 @@ -function mt(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}function Ue(t){return typeof t=="function"?t:Be(t)}function Be(t){if(t==null)return()=>!1;if(t==="fatal")return e=>e.level==="fatal";if(t==="error")return e=>e.level==="fatal"||e.level==="error";if(t==="warning")return e=>e.level==="fatal"||e.level==="error"||e.level==="warning";if(t==="info")return e=>e.level==="fatal"||e.level==="error"||e.level==="warning"||e.level==="info";if(t==="debug")return e=>e.level==="fatal"||e.level==="error"||e.level==="warning"||e.level==="info"||e.level==="debug";if(t==="trace")return()=>!0;throw new TypeError(`Invalid log level: ${t}.`)}const se=["trace","debug","info","warning","error","fatal"];function ae(t,e){const n=se.indexOf(t);if(n<0)throw new TypeError(`Invalid log level: ${JSON.stringify(t)}.`);const r=se.indexOf(e);if(r<0)throw new TypeError(`Invalid log level: ${JSON.stringify(e)}.`);return n-r}function Me(t=[]){return F.getLogger(t)}const V=Symbol.for("logtape.rootLogger");var F=class I{parent;children;category;sinks;parentSinks="inherit";filters;lowestLevel="trace";contextLocalStorage;static getLogger(e=[]){let n=V in globalThis?globalThis[V]??null:null;return n==null&&(n=new I(null,[]),globalThis[V]=n),typeof e=="string"?n.getChild(e):e.length===0?n:n.getChild(e)}constructor(e,n){this.parent=e,this.children={},this.category=n,this.sinks=[],this.filters=[]}getChild(e){const n=typeof e=="string"?e:e[0],r=this.children[n];let l=r instanceof I?r:r?.deref();return l==null&&(l=new I(this,[...this.category,n]),this.children[n]="WeakRef"in globalThis?new WeakRef(l):l),typeof e=="string"||e.length===1?l:l.getChild(e.slice(1))}reset(){for(;this.sinks.length>0;)this.sinks.shift();for(this.parentSinks="inherit";this.filters.length>0;)this.filters.shift();this.lowestLevel="trace"}resetDescendants(){for(const e of Object.values(this.children)){const n=e instanceof I?e:e.deref();n?.resetDescendants()}this.reset()}with(e){return new Ee(this,{...e})}filter(e){for(const n of this.filters)if(!n(e))return!1;return this.filters.length<1?this.parent?.filter(e)??!0:!0}*getSinks(e){if(!(this.lowestLevel===null||ae(e,this.lowestLevel)<0)){if(this.parent!=null&&this.parentSinks==="inherit")for(const n of this.parent.getSinks(e))yield n;for(const n of this.sinks)yield n}}emit(e,n){const r="category"in e?e:{...e,category:this.category};if(!(this.lowestLevel===null||ae(r.level,this.lowestLevel)<0||!this.filter(r))){for(const l of this.getSinks(r.level))if(!n?.has(l))try{l(r)}catch(i){const o=new Set(n);o.add(l),Fe.log("fatal","Failed to emit a log record to sink {sink}: {error}",{sink:l,error:i,record:r},o)}}}log(e,n,r,l){const i=I.getLogger().contextLocalStorage?.getStore()??{};let o;const s=typeof r=="function"?{category:this.category,level:e,timestamp:Date.now(),get message(){return fe(n,this.properties)},rawMessage:n,get properties(){return o==null&&(o={...i,...r()}),o}}:{category:this.category,level:e,timestamp:Date.now(),message:fe(n,{...i,...r}),rawMessage:n,properties:{...i,...r}};this.emit(s,l)}logLazily(e,n,r={}){const l=I.getLogger().contextLocalStorage?.getStore()??{};let i,o;function s(){if((o==null||i==null)&&(o=n((a,...c)=>(i=a,ce(a,c))),i==null))throw new TypeError("No log record was made.");return[o,i]}this.emit({category:this.category,level:e,get message(){return s()[0]},get rawMessage(){return s()[1]},timestamp:Date.now(),properties:{...l,...r}})}logTemplate(e,n,r,l={}){const i=I.getLogger().contextLocalStorage?.getStore()??{};this.emit({category:this.category,level:e,message:ce(n,r),rawMessage:n,timestamp:Date.now(),properties:{...i,...l}})}trace(e,...n){typeof e=="string"?this.log("trace",e,n[0]??{}):typeof e=="function"?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,n):this.log("trace","{*}",e)}debug(e,...n){typeof e=="string"?this.log("debug",e,n[0]??{}):typeof e=="function"?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,n):this.log("debug","{*}",e)}info(e,...n){typeof e=="string"?this.log("info",e,n[0]??{}):typeof e=="function"?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,n):this.log("info","{*}",e)}warn(e,...n){typeof e=="string"?this.log("warning",e,n[0]??{}):typeof e=="function"?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,n):this.log("warning","{*}",e)}warning(e,...n){this.warn(e,...n)}error(e,...n){typeof e=="string"?this.log("error",e,n[0]??{}):typeof e=="function"?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,n):this.log("error","{*}",e)}fatal(e,...n){typeof e=="string"?this.log("fatal",e,n[0]??{}):typeof e=="function"?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,n):this.log("fatal","{*}",e)}},Ee=class Le{logger;properties;constructor(e,n){this.logger=e,this.properties=n}get category(){return this.logger.category}get parent(){return this.logger.parent}getChild(e){return this.logger.getChild(e).with(this.properties)}with(e){return new Le(this.logger,{...this.properties,...e})}log(e,n,r,l){this.logger.log(e,n,typeof r=="function"?()=>({...this.properties,...r()}):{...this.properties,...r},l)}logLazily(e,n){this.logger.logLazily(e,n,this.properties)}logTemplate(e,n,r){this.logger.logTemplate(e,n,r,this.properties)}emit(e){const n={...e,properties:{...this.properties,...e.properties}};this.logger.emit(n)}trace(e,...n){typeof e=="string"?this.log("trace",e,n[0]??{}):typeof e=="function"?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,n):this.log("trace","{*}",e)}debug(e,...n){typeof e=="string"?this.log("debug",e,n[0]??{}):typeof e=="function"?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,n):this.log("debug","{*}",e)}info(e,...n){typeof e=="string"?this.log("info",e,n[0]??{}):typeof e=="function"?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,n):this.log("info","{*}",e)}warn(e,...n){typeof e=="string"?this.log("warning",e,n[0]??{}):typeof e=="function"?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,n):this.log("warning","{*}",e)}warning(e,...n){this.warn(e,...n)}error(e,...n){typeof e=="string"?this.log("error",e,n[0]??{}):typeof e=="function"?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,n):this.log("error","{*}",e)}fatal(e,...n){typeof e=="string"?this.log("fatal",e,n[0]??{}):typeof e=="function"?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,n):this.log("fatal","{*}",e)}};const Fe=F.getLogger(["logtape","meta"]);function Ne(t){return t.includes(".")||t.includes("[")||t.includes("?.")}function De(t,e){if(!(e==="__proto__"||e==="prototype"||e==="constructor")&&(typeof t=="object"||typeof t=="function")&&t!==null)return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0}function Pe(t,e){const n=t.length;let r=e;if(r>=n)return null;let l;if(t[r]==="["){if(r++,r>=n)return null;if(t[r]==='"'||t[r]==="'"){const i=t[r];r++;let o="";for(;r=n)return null;l=o,r++}else{const i=r;for(;r=n)return null;const o=t.slice(i,r);if(o.length===0)return null;const s=Number(o);l=Number.isNaN(s)?o:s}for(;r=0&&eJSON.stringify(t):"Deno"in globalThis&&"inspect"in globalThis.Deno&&typeof globalThis.Deno.inspect=="function"?(t,e)=>globalThis.Deno.inspect(t,{strAbbreviateSize:1/0,iterableLimit:1/0,...e}):We!=null&&typeof te=="function"?(t,e)=>te(t,{...e}):t=>JSON.stringify(t);function d(t){return t<10?`0${t}`:`${t}`}function B(t){return t<10?`00${t}`:t<100?`0${t}`:`${t}`}const J={"date-time-timezone":t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate()),i=d(e.getUTCHours()),o=d(e.getUTCMinutes()),s=d(e.getUTCSeconds()),a=B(e.getUTCMilliseconds());return`${n}-${r}-${l} ${i}:${o}:${s}.${a} +00:00`},"date-time-tz":t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate()),i=d(e.getUTCHours()),o=d(e.getUTCMinutes()),s=d(e.getUTCSeconds()),a=B(e.getUTCMilliseconds());return`${n}-${r}-${l} ${i}:${o}:${s}.${a} +00`},"date-time":t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate()),i=d(e.getUTCHours()),o=d(e.getUTCMinutes()),s=d(e.getUTCSeconds()),a=B(e.getUTCMilliseconds());return`${n}-${r}-${l} ${i}:${o}:${s}.${a}`},"time-timezone":t=>{const e=new Date(t),n=d(e.getUTCHours()),r=d(e.getUTCMinutes()),l=d(e.getUTCSeconds()),i=B(e.getUTCMilliseconds());return`${n}:${r}:${l}.${i} +00:00`},"time-tz":t=>{const e=new Date(t),n=d(e.getUTCHours()),r=d(e.getUTCMinutes()),l=d(e.getUTCSeconds()),i=B(e.getUTCMilliseconds());return`${n}:${r}:${l}.${i} +00`},time:t=>{const e=new Date(t),n=d(e.getUTCHours()),r=d(e.getUTCMinutes()),l=d(e.getUTCSeconds()),i=B(e.getUTCMilliseconds());return`${n}:${r}:${l}.${i}`},date:t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate());return`${n}-${r}-${l}`},rfc3339:t=>new Date(t).toISOString(),none:()=>null},M={ABBR:Ce,abbr:{trace:"trc",debug:"dbg",info:"inf",warning:"wrn",error:"err",fatal:"ftl"},FULL:{trace:"TRACE",debug:"DEBUG",info:"INFO",warning:"WARNING",error:"ERROR",fatal:"FATAL"},full:{trace:"trace",debug:"debug",info:"info",warning:"warning",error:"error",fatal:"fatal"},L:{trace:"T",debug:"D",info:"I",warning:"W",error:"E",fatal:"F"},l:{trace:"t",debug:"d",info:"i",warning:"w",error:"e",fatal:"f"}};function xe(t={}){const e=(()=>{const o=t.timestamp;return o==null?J["date-time-timezone"]:o==="disabled"?J.none:typeof o=="string"&&o in J?J[o]:o})(),n=t.category??"·",r=t.value?o=>t.value(o,ge):ge,l=(()=>{const o=t.level;return o==null||o==="ABBR"?s=>M.ABBR[s]:o==="abbr"?s=>M.abbr[s]:o==="FULL"?s=>M.FULL[s]:o==="full"?s=>M.full[s]:o==="L"?s=>M.L[s]:o==="l"?s=>M.l[s]:o})(),i=t.format??(({timestamp:o,level:s,category:a,message:c})=>`${o?`${o} `:""}[${s}] ${a}: ${c}`);return o=>{const s=o.message,a=s.length;let c;if(a===1)c=s[0];else if(a<=6){c="";for(let T=0;T"u"?"dim":t.timestampStyle,r=t.timestampColor??null,l=`${n==null?"":X[n]}${r==null?"":Q[r]}`,i=n==null&&r==null?"":Z,o=typeof t.levelStyle>"u"?"bold":t.levelStyle,s=t.levelColors??Je,a=typeof t.categoryStyle>"u"?"dim":t.categoryStyle,c=t.categoryColor??null,g=`${a==null?"":X[a]}${c==null?"":Q[c]}`,h=a==null&&c==null?"":Z;return xe({timestamp:"date-time-tz",value(b,p){return p(b,{colors:!0})},...t,format({timestamp:b,level:p,category:T,message:u,record:v}){const f=s[v.level];return b=`${l}${b}${i}`,p=`${o==null?"":X[o]}${f==null?"":Q[f]}${p}${o==null&&f==null?"":Z}`,e==null?`${b} ${p} ${g}${T}:${h} ${u}`:e({timestamp:b,level:p,category:`${g}${T}${h}`,message:u,record:v})}})}Ge();function Ye(t={}){if(!t.categorySeparator&&!t.message&&!t.properties)return o=>{if(o.message.length===3)return JSON.stringify({"@timestamp":new Date(o.timestamp).toISOString(),level:o.level==="warning"?"WARN":o.level.toUpperCase(),message:o.message[0]+JSON.stringify(o.message[1])+o.message[2],logger:o.category.join("."),properties:o.properties})+` -`;if(o.message.length===1)return JSON.stringify({"@timestamp":new Date(o.timestamp).toISOString(),level:o.level==="warning"?"WARN":o.level.toUpperCase(),message:o.message[0],logger:o.category.join("."),properties:o.properties})+` -`;let s=o.message[0];for(let a=1;as.join(o)}let l;if(n==="flatten")l=o=>o;else if(n.startsWith("prepend:")){const o=n.substring(8);if(o==="")throw new TypeError(`Invalid properties option: ${JSON.stringify(n)}. It must be of the form "prepend:" where is a non-empty string.`);l=s=>{const a={};for(const c in s)a[`${o}${c}`]=s[c];return a}}else if(n.startsWith("nest:")){const o=n.substring(5);l=s=>({[o]:s})}else throw new TypeError(`Invalid properties option: ${JSON.stringify(n)}. It must be "flatten", "prepend:", or "nest:".`);let i;return e?i=o=>{if(typeof o.rawMessage=="string")return o.rawMessage;let s="";for(let a=0;a{const s=o.message.length;if(s===1)return o.message[0];let a="";for(let c=0;cJSON.stringify({"@timestamp":new Date(o.timestamp).toISOString(),level:o.level==="warning"?"WARN":o.level.toUpperCase(),message:i(o),logger:r(o.category),...l(o.properties)})+` -`}Ye();const _e={trace:"background-color: gray; color: white;",debug:"background-color: gray; color: white;",info:"background-color: white; color: black;",warning:"background-color: orange; color: black;",error:"background-color: red; color: white;",fatal:"background-color: maroon; color: white;"};function He(t){let e="";const n=[];for(let i=0;i{const L=e(f),O=n[f.level];if(O===void 0)throw new TypeError(`Invalid log level: ${f.level}.`);if(typeof L=="string"){const S=L.replace(/\r?\n$/,"");r[O](S)}else r[O](...L)};if(!t.nonBlocking)return l;const i=t.nonBlocking===!0?{}:t.nonBlocking,o=i.bufferSize??100,s=i.flushInterval??100,a=[];let c=null,g=!1,h=!1;const b=o*2;function p(){if(a.length===0)return;const f=a.splice(0);for(const L of f)try{l(L)}catch{}}function T(){h||(h=!0,setTimeout(()=>{h=!1,p()},0))}function u(){c!==null||g||(c=setInterval(()=>{p()},s))}const v=f=>{g||(a.length>=b&&a.shift(),a.push(f),a.length>=o?T():c===null&&u())};return v[Symbol.dispose]=()=>{g=!0,c!==null&&(clearInterval(c),c=null),p()},v}let le=null;const Ae=new Set,_=new Set,qe=new Set;function Ke(t){return t.category.length===0||t.category.length===1&&t.category[0]==="logtape"||t.category.length===2&&t.category[0]==="logtape"&&t.category[1]==="meta"}function Ve(t){if(le!=null&&!t.reset)throw new R("Already configured; if you want to reset, turn on the reset flag.");if(qe.size>0)throw new R("Previously configured async disposables are still active. Use configure() instead or explicitly dispose them using dispose().");ue();try{Ze(t,!1)}catch(e){throw e instanceof R&&ue(),e}}function Ze(t,e){le=t;let n=!1;const r=new Set;for(const i of t.loggers){Ke(i)&&(n=!0);const o=Array.isArray(i.category)?JSON.stringify(i.category):JSON.stringify([i.category]);if(r.has(o))throw new R(`Duplicate logger configuration for category: ${o}. Each category can only be configured once.`);r.add(o);const s=F.getLogger(i.category);for(const a of i.sinks??[]){const c=t.sinks[a];if(!c)throw new R(`Sink not found: ${a}.`);s.sinks.push(c)}s.parentSinks=i.parentSinks??"inherit",i.lowestLevel!==void 0&&(s.lowestLevel=i.lowestLevel);for(const a of i.filters??[]){const c=t.filters?.[a];if(c===void 0)throw new R(`Filter not found: ${a}.`);s.filters.push(Ue(c))}Ae.add(s)}F.getLogger().contextLocalStorage=t.contextLocalStorage;for(const i of Object.values(t.sinks)){if(Symbol.asyncDispose in i)throw new R("Async disposables cannot be used with configureSync().");Symbol.dispose in i&&_.add(i)}for(const i of Object.values(t.filters??{}))if(!(i==null||typeof i=="string")){if(Symbol.asyncDispose in i)throw new R("Async disposables cannot be used with configureSync().");Symbol.dispose in i&&_.add(i)}if(typeof globalThis.EdgeRuntime!="string"&&"process"in globalThis&&!("Deno"in globalThis)){const i=globalThis.process,o=i?.on;typeof o=="function"&&o.call(i,"exit",ne)}else addEventListener("unload",ne);const l=F.getLogger(["logtape","meta"]);n||l.sinks.push($e()),l.info("LogTape loggers are configured. Note that LogTape itself uses the meta logger, which has category {metaLoggerCategory}. The meta logger purposes to log internal errors such as sink exceptions. If you are seeing this message, the meta logger is automatically configured. It's recommended to configure the meta logger with a separate sink so that you can easily notice if logging itself fails or is misconfigured. To turn off this message, configure the meta logger with higher log levels than {dismissLevel}. See also .",{metaLoggerCategory:["logtape","meta"],dismissLevel:"info"})}function ue(){ne(),Qe()}function Qe(){const t=F.getLogger([]);t.resetDescendants(),delete t.contextLocalStorage,Ae.clear(),le=null}function ne(){for(const t of _)t[Symbol.dispose]();_.clear()}var R=class extends Error{constructor(t){super(t),this.name="ConfigureError"}};const ee=10,he=(t=0)=>e=>`\x1B[${e+t}m`,pe=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,ye=(t=0)=>(e,n,r)=>`\x1B[${38+t};2;${e};${n};${r}m`,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(m.modifier);const Xe=Object.keys(m.color),et=Object.keys(m.bgColor);[...Xe,...et];function tt(){const t=new Map;for(const[e,n]of Object.entries(m)){for(const[r,l]of Object.entries(n))m[r]={open:`\x1B[${l[0]}m`,close:`\x1B[${l[1]}m`},n[r]=m[r],t.set(l[0],l[1]);Object.defineProperty(m,e,{value:n,enumerable:!1})}return Object.defineProperty(m,"codes",{value:t,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",m.color.ansi=he(),m.color.ansi256=pe(),m.color.ansi16m=ye(),m.bgColor.ansi=he(ee),m.bgColor.ansi256=pe(ee),m.bgColor.ansi16m=ye(ee),Object.defineProperties(m,{rgbToAnsi256:{value(e,n,r){return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(e){const n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!n)return[0,0,0];let[r]=n;r.length===3&&(r=[...r].map(i=>i+i).join(""));const l=Number.parseInt(r,16);return[l>>16&255,l>>8&255,l&255]},enumerable:!1},hexToAnsi256:{value:e=>m.rgbToAnsi256(...m.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let n,r,l;if(e>=232)n=((e-232)*10+8)/255,r=n,l=n;else{e-=16;const s=e%36;n=Math.floor(e/36)/5,r=Math.floor(s/6)/5,l=s%6/5}const i=Math.max(n,r,l)*2;if(i===0)return 30;let o=30+(Math.round(l)<<2|Math.round(r)<<1|Math.round(n));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,n,r)=>m.ansi256ToAnsi(m.rgbToAnsi256(e,n,r)),enumerable:!1},hexToAnsi:{value:e=>m.ansi256ToAnsi(m.hexToAnsi256(e)),enumerable:!1}}),m}const A=tt(),de=(()=>{if(!("navigator"in globalThis))return 0;if(globalThis.navigator.userAgentData){const t=navigator.userAgentData.brands.find(({brand:e})=>e==="Chromium");if(t&&t.version>93)return 3}return/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)?1:0})(),ve=de!==0&&{level:de},nt={stdout:ve,stderr:ve};function rt(t,e,n){let r=t.indexOf(e);if(r===-1)return t;const l=e.length;let i=0,o="";do o+=t.slice(i,r)+e+n,i=r+l,r=t.indexOf(e,i);while(r!==-1);return o+=t.slice(i),o}function ot(t,e,n,r){let l=0,i="";do{const o=t[r-1]==="\r";i+=t.slice(l,o?r-1:r)+e+(o?`\r -`:` -`)+n,l=r+1,r=t.indexOf(` -`,l)}while(r!==-1);return i+=t.slice(l),i}const{stdout:me,stderr:be}=nt,re=Symbol("GENERATOR"),N=Symbol("STYLER"),z=Symbol("IS_EMPTY"),we=["ansi","ansi","ansi256","ansi16m"],D=Object.create(null),it=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=me?me.level:0;t.level=e.level===void 0?n:e.level},lt=t=>{const e=(...n)=>n.join(" ");return it(e,t),Object.setPrototypeOf(e,j.prototype),e};function j(t){return lt(t)}Object.setPrototypeOf(j.prototype,Function.prototype);for(const[t,e]of Object.entries(A))D[t]={get(){const n=H(this,ie(e.open,e.close,this[N]),this[z]);return Object.defineProperty(this,t,{value:n}),n}};D.visible={get(){const t=H(this,this[N],!0);return Object.defineProperty(this,"visible",{value:t}),t}};const oe=(t,e,n,...r)=>t==="rgb"?e==="ansi16m"?A[n].ansi16m(...r):e==="ansi256"?A[n].ansi256(A.rgbToAnsi256(...r)):A[n].ansi(A.rgbToAnsi(...r)):t==="hex"?oe("rgb",e,n,...A.hexToRgb(...r)):A[n][t](...r),st=["rgb","hex","ansi256"];for(const t of st){D[t]={get(){const{level:n}=this;return function(...r){const l=ie(oe(t,we[n],"color",...r),A.color.close,this[N]);return H(this,l,this[z])}}};const e="bg"+t[0].toUpperCase()+t.slice(1);D[e]={get(){const{level:n}=this;return function(...r){const l=ie(oe(t,we[n],"bgColor",...r),A.bgColor.close,this[N]);return H(this,l,this[z])}}}}const at=Object.defineProperties(()=>{},{...D,level:{enumerable:!0,get(){return this[re].level},set(t){this[re].level=t}}}),ie=(t,e,n)=>{let r,l;return n===void 0?(r=t,l=e):(r=n.openAll+t,l=e+n.closeAll),{open:t,close:e,openAll:r,closeAll:l,parent:n}},H=(t,e,n)=>{const r=(...l)=>ft(r,l.length===1?""+l[0]:l.join(" "));return Object.setPrototypeOf(r,at),r[re]=t,r[N]=e,r[z]=n,r},ft=(t,e)=>{if(t.level<=0||!e)return t[z]?"":e;let n=t[N];if(n===void 0)return e;const{openAll:r,closeAll:l}=n;if(e.includes("\x1B"))for(;n!==void 0;)e=rt(e,n.close,n.open),n=n.parent;const i=e.indexOf(` -`);return i!==-1&&(e=ot(e,l,r,i)),r+e+l};Object.defineProperties(j.prototype,D);const E=j();j({level:be?be.level:0});function Oe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var G={exports:{}},ct=G.exports,Se;function gt(){return Se||(Se=1,(function(t){(function(e,n){t.exports?t.exports=n():e.log=n()})(ct,function(){var e=function(){},n="undefined",r=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent),l=["trace","debug","info","warn","error"],i={},o=null;function s(u,v){var f=u[v];if(typeof f.bind=="function")return f.bind(u);try{return Function.prototype.bind.call(f,u)}catch{return function(){return Function.prototype.apply.apply(f,[u,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(u){return u==="debug"&&(u="log"),typeof console===n?!1:u==="trace"&&r?a:console[u]!==void 0?s(console,u):console.log!==void 0?s(console,"log"):e}function g(){for(var u=this.getLevel(),v=0;v=0&&w<=f.levels.SILENT)return w;throw new TypeError("log.setLevel() called with invalid level: "+y)}f.name=u,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=v||b,f.getLevel=function(){return S??O??L},f.setLevel=function(y,w){return S=k(y),w!==!1&&K(S),g.call(f)},f.setDefaultLevel=function(y){O=k(y),W()||f.setLevel(y,!1)},f.resetLevel=function(){S=null,x(),g.call(f)},f.enableAll=function(y){f.setLevel(f.levels.TRACE,y)},f.disableAll=function(y){f.setLevel(f.levels.SILENT,y)},f.rebuild=function(){if(o!==f&&(L=k(o.getLevel())),g.call(f),o===f)for(var y in i)i[y].rebuild()},L=k(o?o.getLevel():"WARN");var $=W();$!=null&&(S=k($)),g.call(f)}o=new p,o.getLogger=function(v){if(typeof v!="symbol"&&typeof v!="string"||v==="")throw new TypeError("You must supply a name when creating a logger.");var f=i[v];return f||(f=i[v]=new p(v,o.methodFactory)),f};var T=typeof window!==n?window.log:void 0;return o.noConflict=function(){return typeof window!==n&&window.log===o&&(window.log=T),o},o.getLoggers=function(){return i},o.default=o,o})})(G)),G.exports}var ut=gt();const ht=Oe(ut);var Y={exports:{}},pt=Y.exports,Te;function yt(){return Te||(Te=1,(function(t){(function(e,n){t.exports?t.exports=n():e.prefix=n(e)})(pt,function(e){var n=function(g){for(var h=1,b=arguments.length,p;h{a=e.b4,s=e.x,n=e.I,r=e.E,i=e.F,o=e.b5,c=e.b6,_=e.z,d=e.M,u=e.N,l=e.J,p=e.y,y=e.b7,m=e.K,b=e.b8,g=e.L,f=e.B,h=e.O,x=e.b9,v=e.al,k=e.ba,P=e.$},e=>{N=e.s},e=>{q=e.a9}],execute:function(){const t=e("N","bouton_panier"),w=e("j","contenu_panier"),I=(e("f","revalidation_livraison"),"maj_bouton_panier"),j="maj_contenu_panier",B=s({code:r(),data:s({status:n()}),message:r()}),T=s({body:B,status:n()}),L=s({code:o("rest_invalid_param"),data:s({details:s({billing:_(s({code:r(),data:d([u(),r()]),message:r()})),shipping:_(s({code:r(),data:d([u(),r()]),message:r()}))}),params:s({billing:_(r()),shipping:_(r())}),status:o(400)}),message:i(r(),c("Invalid parameter(s):"),c("_address"))}),M=(e("e",e=>a(L,e)),e("a",s({address_1:r(),address_2:r(),city:r(),company:r(),country:r(),email:r(),first_name:r(),last_name:r(),phone:r(),postcode:r(),state:r()}))),C=e("W",s({address_1:r(),address_2:r(),city:r(),company:r(),country:r(),first_name:r(),last_name:r(),phone:r(),postcode:r(),state:r()})),E=s({code:r(),discount_type:r(),totals:s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:i(n(),l()),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),total_discount:r(),total_discount_tax:r()})}),R=s({key:r(),name:r(),quantity:n()}),S=s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:n(),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),delivery_time:r(),description:r(),instance_id:n(),meta_data:p(g()),method_id:r(),name:r(),price:i(d([r(),n()]),b(Number)),rate_id:r(),selected:m(),taxes:r()}),V=e("b",p(S)),z=s({destination:y(C,["company","first_name","last_name","phone"]),items:p(R),name:r(),package_id:n(),shipping_rates:V}),D=s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:n(),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),line_subtotal:r(),line_subtotal_tax:r(),line_total:r(),line_total_tax:r()}),F=s({backorders_allowed:m(),catalog_visibility:f({INVISIBLE:"invisible",VISIBLE:"visible"}),description:r(),extensions:g(),id:n(),images:p(g()),item_data:p(g()),key:r(),low_stock_remaining:d([u()]),name:r(),permalink:i(r(),h()),prices:g(),quantity:n(),quantity_limits:g(),short_description:r(),show_backorder_badge:m(),sku:r(),sold_individually:m(),totals:D,type:r(),variation:p(g())}),J=e("g",s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:n(),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),tax_lines:p(g()),total_discount:i(d([r(),n()]),b(Number)),total_discount_tax:r(),total_fees:r(),total_fees_tax:r(),total_items:i(d([r(),n()]),b(Number)),total_items_tax:r(),total_price:i(d([r(),n()]),b(Number)),total_shipping:i(d([r(),n(),u()]),b(e=>e?Number(e):0)),total_shipping_tax:d([r(),u()]),total_tax:r()})),K=(e("c",s({billing_address:M,coupons:p(E),cross_sells:g(),errors:g(),extensions:g(),fees:g(),has_calculated_shipping:m(),items:p(F),items_count:i(n(),l()),items_weight:i(n(),l()),needs_payment:m(),needs_shipping:m(),payment_methods:g(),payment_requirements:g(),shipping_address:C,shipping_rates:p(z),totals:J})),s({quantiteProduits:n()})),O=s({donnees:K,type:i(r(),x(I))}),W=s({produits:p(F),sousTotalProduits:n(),sousTotalReduction:n(),totalPanier:n()}),$=s({donnees:W,type:i(r(),x(j))});e("h",e=>{const a=new BroadcastChannel(t);a.postMessage({donnees:{quantiteProduits:e.quantiteProduits},type:I}),a.close()}),e("i",e=>{const t=new BroadcastChannel(w);t.postMessage({donnees:{produits:e.produits,sousTotalProduits:e.sousTotalProduits,sousTotalReduction:e.sousTotalReduction,totalPanier:e.totalPanier},type:j}),t.close()}),e("d",(e,t)=>q(new BroadcastChannel(e),e=>((e,t)=>(e.postMessage(t),e))(e,t),e=>e.close())),e("v",e=>v.of(k(O,e.data)).ifLeft(e=>P(e))),e("k",e=>v.of(k($,e.data)).ifLeft(e=>P(e))),e("r",(e,t)=>N(e,T).map(e=>e.body.code===t).orDefault(!1))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.br b/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.br deleted file mode 100644 index e7ab7d6b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.gz deleted file mode 100644 index ed55dd79..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.zst deleted file mode 100644 index 76cb950e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js deleted file mode 100644 index a2b33e85..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js +++ /dev/null @@ -1 +0,0 @@ -import{b4 as x,x as a,I as s,E as e,F as r,b5 as h,b6 as S,z as p,M as c,N as l,J as y,y as i,b7 as I,K as _,b8 as d,L as o,B as N,O as E,b9 as g,al as C,ba as b,$ as f}from"./dom.BBcFv3WT.js";import{s as j}from"./validation.DpnMPnCH.js";import{a9 as A}from"./exports.JV8YQBqW.js";const B="bouton_panier",W="contenu_panier",X="revalidation_livraison",m={MajBoutonPanier:"maj_bouton_panier",MajContenuPanier:"maj_contenu_panier"},v=a({code:e(),data:a({status:s()}),message:e()}),T=a({body:v,status:s()}),R=a({code:h("rest_invalid_param"),data:a({details:a({billing:p(a({code:e(),data:c([l(),e()]),message:e()})),shipping:p(a({code:e(),data:c([l(),e()]),message:e()}))}),params:a({billing:p(e()),shipping:p(e())}),status:h(400)}),message:r(e(),S("Invalid parameter(s):"),S("_address"))}),Z=t=>x(R,t),L={INVISIBLE:"invisible",VISIBLE:"visible"},k=a({address_1:e(),address_2:e(),city:e(),company:e(),country:e(),email:e(),first_name:e(),last_name:e(),phone:e(),postcode:e(),state:e()}),M=a({address_1:e(),address_2:e(),city:e(),company:e(),country:e(),first_name:e(),last_name:e(),phone:e(),postcode:e(),state:e()}),O=a({code:e(),discount_type:e(),totals:a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:r(s(),y()),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),total_discount:e(),total_discount_tax:e()})}),q=a({key:e(),name:e(),quantity:s()}),w=a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:s(),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),delivery_time:e(),description:e(),instance_id:s(),meta_data:i(o()),method_id:e(),name:e(),price:r(c([e(),s()]),d(Number)),rate_id:e(),selected:_(),taxes:e()}),V=i(w),D=a({destination:I(M,["company","first_name","last_name","phone"]),items:i(q),name:e(),package_id:s(),shipping_rates:V}),U=a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:s(),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),line_subtotal:e(),line_subtotal_tax:e(),line_total:e(),line_total_tax:e()}),P=a({backorders_allowed:_(),catalog_visibility:N(L),description:e(),extensions:o(),id:s(),images:i(o()),item_data:i(o()),key:e(),low_stock_remaining:c([l()]),name:e(),permalink:r(e(),E()),prices:o(),quantity:s(),quantity_limits:o(),short_description:e(),show_backorder_badge:_(),sku:e(),sold_individually:_(),totals:U,type:e(),variation:i(o())}),G=a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:s(),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),tax_lines:i(o()),total_discount:r(c([e(),s()]),d(Number)),total_discount_tax:e(),total_fees:e(),total_fees_tax:e(),total_items:r(c([e(),s()]),d(Number)),total_items_tax:e(),total_price:r(c([e(),s()]),d(Number)),total_shipping:r(c([e(),s(),l()]),d(t=>t?Number(t):0)),total_shipping_tax:c([e(),l()]),total_tax:e()}),ee=a({billing_address:k,coupons:i(O),cross_sells:o(),errors:o(),extensions:o(),fees:o(),has_calculated_shipping:_(),items:i(P),items_count:r(s(),y()),items_weight:r(s(),y()),needs_payment:_(),needs_shipping:_(),payment_methods:o(),payment_requirements:o(),shipping_address:M,shipping_rates:i(D),totals:G}),$=a({quantiteProduits:s()}),z=a({donnees:$,type:r(e(),g(m.MajBoutonPanier))}),F=a({produits:i(P),sousTotalProduits:s(),sousTotalReduction:s(),totalPanier:s()}),J=a({donnees:F,type:r(e(),g(m.MajContenuPanier))}),K=(t,n)=>(t.postMessage(n),t),ae=t=>{const n=new BroadcastChannel(B);n.postMessage({donnees:{quantiteProduits:t.quantiteProduits},type:m.MajBoutonPanier}),n.close()},te=t=>{const n=new BroadcastChannel(W);n.postMessage({donnees:{produits:t.produits,sousTotalProduits:t.sousTotalProduits,sousTotalReduction:t.sousTotalReduction,totalPanier:t.totalPanier},type:m.MajContenuPanier}),n.close()},se=(t,n)=>A(new BroadcastChannel(t),u=>K(u,n),u=>u.close()),ne=t=>C.of(b(z,t.data)).ifLeft(n=>f(n)),oe=t=>C.of(b(J,t.data)).ifLeft(n=>f(n)),re=(t,n)=>j(t,T).map(u=>u.body.code===n).orDefault(!1);export{B as N,M as W,k as a,V as b,ee as c,se as d,Z as e,X as f,G as g,ae as h,te as i,W as j,oe as k,re as r,ne as v}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.br b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.br deleted file mode 100644 index ae9b48ec..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.gz deleted file mode 100644 index a45093d8..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.zst deleted file mode 100644 index 0f7272d4..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js deleted file mode 100644 index 3df968d3..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./exports-legacy.CUaFfB0_.js"],function(n,t){"use strict";var r;return{setters:[n=>{r=n.a9}],execute:function(){function t(n,t){if(0===t)throw{RE_EXN_ID:"Division_by_zero",Error:new Error};return n%t}function u(n,t){return n+t}function e(n,t){return n-t}function i(n,t){return n*t}function o(n,t){return n/t}var c=t;function f(n,r){return[n/r,t(0|n,0|r)]}function l(n,t){return n>t}function s(n,t){return n>=t}function g(n,t){return nd.gte(n,t)&&d.lt(n,r)),n("d",n=>Number(n)/100),n("a",n=>r(Number(n),n=>n.toFixed(2))),n("i",n=>-1*Number(n)),n("f",n=>`${String(n)}€`)}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.br b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.br deleted file mode 100644 index 8bba586c..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.gz deleted file mode 100644 index b63fe3f1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.zst deleted file mode 100644 index 443d3218..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js deleted file mode 100644 index 04116808..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js +++ /dev/null @@ -1 +0,0 @@ -import{a9 as h}from"./exports.JV8YQBqW.js";function _(n,t){if(t===0)throw{RE_EXN_ID:"Division_by_zero",Error:new Error};return n%t}function p(n){}function v(n){return n-1|0}function b(n){return n+1|0}function u(n,t){return n+t}function E(){if(arguments.length===1){const n=arguments;return function(r){return u(r,n[0])}}return u(arguments[0],arguments[1])}function e(n,t){return n-t}function N(){if(arguments.length===1){const n=arguments;return function(r){return e(r,n[0])}}return e(arguments[0],arguments[1])}function s(n,t){return n*t}function x(){if(arguments.length===1){const n=arguments;return function(r){return s(r,n[0])}}return s(arguments[0],arguments[1])}function o(n,t){return n/t}function D(){if(arguments.length===1){const n=arguments;return function(r){return o(r,n[0])}}return o(arguments[0],arguments[1])}var i=_;function M(){if(arguments.length===1){const n=arguments;return function(r){return i(r,n[0])}}return i(arguments[0],arguments[1])}function a(n,t){return[n/t,_(0|n,0|t)]}function y(){if(arguments.length===1){const n=arguments;return function(r){return a(r,n[0])}}return a(arguments[0],arguments[1])}function f(n,t){return n>t}function w(){if(arguments.length===1){const n=arguments;return function(r){return f(r,n[0])}}return f(arguments[0],arguments[1])}function g(n,t){return n>=t}function W(){if(arguments.length===1){const n=arguments;return function(r){return g(r,n[0])}}return g(arguments[0],arguments[1])}function m(n,t){return nd.gte(n,t)&&d.lt(n,r),P=n=>Number(n)/100,R=n=>h(Number(n),t=>t.toFixed(2)),S=n=>Number(n)*-1,X=n=>`${String(n)}€`;export{R as a,P as d,I as e,X as f,S as i}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.br b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.br deleted file mode 100644 index 85f7c6d6..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.gz deleted file mode 100644 index ae5e593b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.zst deleted file mode 100644 index 2e0c3707..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/polyfills-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/polyfills-legacy.js deleted file mode 100644 index 0616cace..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/polyfills-legacy.js +++ /dev/null @@ -1,4 +0,0 @@ -!function(){"use strict";var r,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function i(){if(t)return r;t=1;var e=function(r){return r&&r.Math===Math&&r};return r=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}var o,u,a,f,c,s,v,h,l={};function p(){return u?o:(u=1,o=function(r){try{return!!r()}catch(t){return!0}})}function d(){if(f)return a;f=1;var r=p();return a=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function y(){if(s)return c;s=1;var r=p();return c=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function g(){if(h)return v;h=1;var r=y(),t=Function.prototype.call;return v=r?t.bind(t):function(){return t.apply(t,arguments)},v}var w,m,b,E,S,O,R,A,I,T,x,j,_,P,D,C,N,U,k,L,M,F,B,z,H,W,J,V,Y,$,G,q,X,Q,Z,K,rr,tr,nr,er,ir,or={};function ur(){return b?m:(b=1,m=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function ar(){if(S)return E;S=1;var r=y(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return E=r?e:function(r){return function(){return n.apply(r,arguments)}},E}function fr(){if(R)return O;R=1;var r=ar(),t=r({}.toString),n=r("".slice);return O=function(r){return n(t(r),8,-1)}}function cr(){return x?T:(x=1,T=function(r){return null==r})}function sr(){if(_)return j;_=1;var r=cr(),t=TypeError;return j=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function vr(){if(D)return P;D=1;var r=function(){if(I)return A;I=1;var r=ar(),t=p(),n=fr(),e=Object,i=r("".split);return A=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}(),t=sr();return P=function(n){return r(t(n))}}function hr(){if(N)return C;N=1;var r="object"==typeof document&&document.all;return C=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function lr(){if(k)return U;k=1;var r=hr();return U=function(t){return"object"==typeof t?null!==t:r(t)}}function pr(){if(M)return L;M=1;var r=i(),t=hr();return L=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},L}function dr(){if(B)return F;B=1;var r=ar();return F=r({}.isPrototypeOf)}function yr(){if(H)return z;H=1;var r=i().navigator,t=r&&r.userAgent;return z=t?String(t):""}function gr(){if(J)return W;J=1;var r,t,n=i(),e=yr(),o=n.process,u=n.Deno,a=o&&o.versions||u&&u.version,f=a&&a.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),W=t}function wr(){if(Y)return V;Y=1;var r=gr(),t=p(),n=i().String;return V=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function mr(){if(G)return $;G=1;var r=wr();return $=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function br(){if(X)return q;X=1;var r=pr(),t=hr(),n=dr(),e=mr(),i=Object;return q=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Er(){if(Z)return Q;Z=1;var r=String;return Q=function(t){try{return r(t)}catch(n){return"Object"}}}function Sr(){if(rr)return K;rr=1;var r=hr(),t=Er(),n=TypeError;return K=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Or(){if(nr)return tr;nr=1;var r=Sr(),t=cr();return tr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Rr(){if(ir)return er;ir=1;var r=g(),t=hr(),n=lr(),e=TypeError;return er=function(i,o){var u,a;if("string"===o&&t(u=i.toString)&&!n(a=r(u,i)))return a;if(t(u=i.valueOf)&&!n(a=r(u,i)))return a;if("string"!==o&&t(u=i.toString)&&!n(a=r(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Ar,Ir,Tr,xr,jr,_r,Pr,Dr,Cr,Nr,Ur,kr,Lr,Mr,Fr,Br,zr,Hr,Wr,Jr,Vr,Yr,$r,Gr,qr={exports:{}};function Xr(){return Ir?Ar:(Ir=1,Ar=!1)}function Qr(){if(xr)return Tr;xr=1;var r=i(),t=Object.defineProperty;return Tr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(i){r[n]=e}return e}}function Zr(){if(jr)return qr.exports;jr=1;var r=Xr(),t=i(),n=Qr(),e="__core-js_shared__",o=qr.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),qr.exports}function Kr(){if(Pr)return _r;Pr=1;var r=Zr();return _r=function(t,n){return r[t]||(r[t]=n||{})}}function rt(){if(Cr)return Dr;Cr=1;var r=sr(),t=Object;return Dr=function(n){return t(r(n))}}function tt(){if(Ur)return Nr;Ur=1;var r=ar(),t=rt(),n=r({}.hasOwnProperty);return Nr=Object.hasOwn||function(r,e){return n(t(r),e)}}function nt(){if(Lr)return kr;Lr=1;var r=ar(),t=0,n=Math.random(),e=r(1.1.toString);return kr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function et(){if(Fr)return Mr;Fr=1;var r=i(),t=Kr(),n=tt(),e=nt(),o=wr(),u=mr(),a=r.Symbol,f=t("wks"),c=u?a.for||a:a&&a.withoutSetter||e;return Mr=function(r){return n(f,r)||(f[r]=o&&n(a,r)?a[r]:c("Symbol."+r)),f[r]}}function it(){if(zr)return Br;zr=1;var r=g(),t=lr(),n=br(),e=Or(),i=Rr(),o=et(),u=TypeError,a=o("toPrimitive");return Br=function(o,f){if(!t(o)||n(o))return o;var c,s=e(o,a);if(s){if(void 0===f&&(f="default"),c=r(s,o,f),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===f&&(f="number"),i(o,f)}}function ot(){if(Wr)return Hr;Wr=1;var r=it(),t=br();return Hr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ut(){if(Vr)return Jr;Vr=1;var r=i(),t=lr(),n=r.document,e=t(n)&&t(n.createElement);return Jr=function(r){return e?n.createElement(r):{}}}function at(){if($r)return Yr;$r=1;var r=d(),t=p(),n=ut();return Yr=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ft(){if(Gr)return l;Gr=1;var r=d(),t=g(),n=function(){if(w)return or;w=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return or.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,or}(),e=ur(),i=vr(),o=ot(),u=tt(),a=at(),f=Object.getOwnPropertyDescriptor;return l.f=r?f:function(r,c){if(r=i(r),c=o(c),a)try{return f(r,c)}catch(s){}if(u(r,c))return e(!t(n.f,r,c),r[c])},l}var ct,st,vt,ht,lt,pt,dt,yt={};function gt(){if(st)return ct;st=1;var r=d(),t=p();return ct=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function wt(){if(ht)return vt;ht=1;var r=lr(),t=String,n=TypeError;return vt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function mt(){if(lt)return yt;lt=1;var r=d(),t=at(),n=gt(),e=wt(),i=ot(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",s="writable";return yt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&s in n&&!n[s]){var o=a(r,t);o&&o[s]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:f in n?n[f]:o[f],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=i(n),e(a),t)try{return u(r,n,a)}catch(f){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(r[n]=a.value),r},yt}function bt(){if(dt)return pt;dt=1;var r=d(),t=mt(),n=ur();return pt=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var Et,St,Ot,Rt,At,It,Tt,xt,jt,_t,Pt,Dt,Ct,Nt,Ut,kt={exports:{}};function Lt(){if(Rt)return Ot;Rt=1;var r=ar(),t=hr(),n=Zr(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),Ot=n.inspectSource}function Mt(){if(xt)return Tt;xt=1;var r=Kr(),t=nt(),n=r("keys");return Tt=function(r){return n[r]||(n[r]=t(r))}}function Ft(){return _t?jt:(_t=1,jt={})}function Bt(){if(Dt)return Pt;Dt=1;var r,t,n,e=function(){if(It)return At;It=1;var r=i(),t=hr(),n=r.WeakMap;return At=t(n)&&/native code/.test(String(n))}(),o=i(),u=lr(),a=bt(),f=tt(),c=Zr(),s=Mt(),v=Ft(),h="Object already initialized",l=o.TypeError,p=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new l(h);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var y=s("state");v[y]=!0,r=function(r,t){if(f(r,y))throw new l(h);return t.facade=r,a(r,y,t),t},t=function(r){return f(r,y)?r[y]:{}},n=function(r){return f(r,y)}}return Pt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!u(n)||(e=t(n)).type!==r)throw new l("Incompatible receiver, "+r+" required");return e}}}}function zt(){if(Ct)return kt.exports;Ct=1;var r=ar(),t=p(),n=hr(),e=tt(),i=d(),o=function(){if(St)return Et;St=1;var r=d(),t=tt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return Et={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Lt(),a=Bt(),f=a.enforce,c=a.get,s=String,v=Object.defineProperty,h=r("".slice),l=r("".replace),y=r([].join),g=i&&!t(function(){return 8!==v(function(){},"length",{value:8}).length}),w=String(String).split("String"),m=kt.exports=function(r,t,n){"Symbol("===h(s(t),0,7)&&(t="["+l(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?v(r,"name",{value:t,configurable:!0}):r.name=t),g&&n&&e(n,"arity")&&r.length!==n.arity&&v(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&v(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(a){}var u=f(r);return e(u,"source")||(u.source=y(w,"string"==typeof t?t:"")),r};return Function.prototype.toString=m(function(){return n(this)&&c(this).source||u(this)},"toString"),kt.exports}function Ht(){if(Ut)return Nt;Ut=1;var r=hr(),t=mt(),n=zt(),e=Qr();return Nt=function(i,o,u,a){a||(a={});var f=a.enumerable,c=void 0!==a.name?a.name:o;if(r(u)&&n(u,c,a),a.global)f?i[o]=u:e(o,u);else{try{a.unsafe?i[o]&&(f=!0):delete i[o]}catch(s){}f?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i}}var Wt,Jt,Vt,Yt,$t,Gt,qt,Xt,Qt,Zt,Kt,rn,tn,nn,en,on,un,an={};function fn(){if(Yt)return Vt;Yt=1;var r=function(){if(Jt)return Wt;Jt=1;var r=Math.ceil,t=Math.floor;return Wt=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return Vt=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function cn(){if(Gt)return $t;Gt=1;var r=fn(),t=Math.max,n=Math.min;return $t=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function sn(){if(Xt)return qt;Xt=1;var r=fn(),t=Math.min;return qt=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function vn(){if(Zt)return Qt;Zt=1;var r=sn();return Qt=function(t){return r(t.length)}}function hn(){if(nn)return tn;nn=1;var r=ar(),t=tt(),n=vr(),e=function(){if(rn)return Kt;rn=1;var r=vr(),t=cn(),n=vn(),e=function(e){return function(i,o,u){var a=r(i),f=n(a);if(0===f)return!e&&-1;var c,s=t(u,f);if(e&&o!=o){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((e||s in a)&&a[s]===o)return e||s||0;return!e&&-1}};return Kt={includes:e(!0),indexOf:e(!1)}}().indexOf,i=Ft(),o=r([].push);return tn=function(r,u){var a,f=n(r),c=0,s=[];for(a in f)!t(i,a)&&t(f,a)&&o(s,a);for(;u.length>c;)t(f,a=u[c++])&&(~e(s,a)||o(s,a));return s}}function ln(){return on?en:(on=1,en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var pn,dn,yn,gn,wn,mn,bn,En,Sn,On,Rn,An,In,Tn,xn,jn,_n={};function Pn(){if(yn)return dn;yn=1;var r=pr(),t=ar(),n=function(){if(un)return an;un=1;var r=hn(),t=ln().concat("length","prototype");return an.f=Object.getOwnPropertyNames||function(n){return r(n,t)},an}(),e=(pn||(pn=1,_n.f=Object.getOwnPropertySymbols),_n),i=wt(),o=t([].concat);return dn=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function Dn(){if(wn)return gn;wn=1;var r=tt(),t=Pn(),n=ft(),e=mt();return gn=function(i,o,u){for(var a=t(o),f=e.f,c=n.f,s=0;s9007199254740991)throw r("Maximum allowed index exceeded");return t}}!function(){if(jn)return e;jn=1;var r=Cn(),t=rt(),n=vn(),i=function(){if(In)return An;In=1;var r=d(),t=Nn(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return An=i?function(r,i){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=i}:function(r,t){return r.length=t}}(),o=Un();r({target:"Array",proto:!0,arity:1,forced:p()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),u=n(e),a=arguments.length;o(u+a);for(var f=0;f92||"NODE"===e&&n>94||"BROWSER"===e&&n>97)return!1;var r=new ArrayBuffer(8),t=o(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}function Se(){if(he)return ve;he=1;var r,t,n,e,o=i(),u=be(),a=Ee(),f=o.structuredClone,c=o.ArrayBuffer,s=o.MessageChannel,v=!1;if(a)v=function(r){f(r,{transfer:[r]})};else if(c)try{s||(r=u("worker_threads"))&&(s=r.MessageChannel),s&&(t=new s,n=new c(2),e=function(r){t.port1.postMessage(null,[r])},2===n.byteLength&&(e(n),0===n.byteLength&&(v=e)))}catch(h){}return ve=v}function Oe(){if(pe)return le;pe=1;var r=i(),t=ar(),n=Xn(),e=ge(),o=we(),u=Qn(),a=Se(),f=Ee(),c=r.structuredClone,s=r.ArrayBuffer,v=r.DataView,h=Math.min,l=s.prototype,p=v.prototype,d=t(l.slice),y=n(l,"resizable","get"),g=n(l,"maxByteLength","get"),w=t(p.getInt8),m=t(p.setInt8);return le=(f||a)&&function(r,t,n){var i,l=u(r),p=void 0===t?l:e(t),b=!y||!y(r);if(o(r),f&&(r=c(r,{transfer:[r]}),l===p&&(n||b)))return r;if(l>=p&&(!n||b))i=d(r,0,p);else{var E=n&&!b&&g?{maxByteLength:g(r)}:void 0;i=new s(p,E);for(var S=new v(r),O=new v(i),R=h(p,l),A=0;As;)n.f(r,u=f[s++],a[u]);return r},Ge}(),e=ln(),i=Ft(),o=Xe(),u=ut(),a=Mt(),f="prototype",c="script",s=a("IE_PROTO"),v=function(){},h=function(r){return"<"+c+">"+r+""},l=function(r){r.write(h("")),r.close();var t=r.parentWindow.Object;return r=null,t},p=function(){try{r=new ActiveXObject("htmlfile")}catch(s){}var t,n,i;p="undefined"!=typeof document?document.domain&&r?l(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):l(r);for(var a=e.length;a--;)delete p[f][e[a]];return p()};return i[s]=!0,We=Object.create||function(r,e){var i;return null!==r?(v[f]=t(r),i=new v,v[f]=null,i[s]=r):i=p(),void 0===e?i:n.f(i,e)}}function Ze(){if(Ye)return Ve;Ye=1;var r,t,n,e=p(),i=hr(),o=lr(),u=Qe(),a=ke(),f=Ht(),c=et(),s=Xr(),v=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(t=a(a(n)))!==Object.prototype&&(r=t):h=!0),!o(r)||e(function(){var t={};return r[v].call(t)!==t})?r={}:s&&(r=u(r)),i(r[v])||f(r,v,function(){return this}),Ve={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}}!function(){if($e)return Ne;$e=1;var r=Cn(),t=i(),n=Ue(),e=wt(),o=hr(),u=ke(),a=Gn(),f=Le(),c=p(),s=tt(),v=et(),h=Ze().IteratorPrototype,l=d(),y=Xr(),g="constructor",w="Iterator",m=v("toStringTag"),b=TypeError,E=t[w],S=y||!o(E)||E.prototype!==h||!c(function(){E({})}),O=function(){if(n(this,h),u(this)===h)throw new b("Abstract class Iterator not directly constructable")},R=function(r,t){l?a(h,r,{configurable:!0,get:function(){return t},set:function(t){if(e(this),this===h)throw new b("You can't redefine this property");s(this,r)?this[r]=t:f(this,r,t)}}):h[r]=t};s(h,m)||R(m,w),!S&&s(h,g)&&h[g]!==Object||R(g,O),O.prototype=h,r({global:!0,constructor:!0,forced:S},{Iterator:O})}();var Ke,ri,ti,ni,ei,ii,oi,ui,ai,fi,ci,si,vi,hi,li,pi,di,yi,gi,wi,mi,bi,Ei,Si,Oi,Ri={};function Ai(){if(ni)return ti;ni=1;var r=function(){if(ri)return Ke;ri=1;var r=fr(),t=ar();return Ke=function(n){if("Function"===r(n))return t(n)}}(),t=Sr(),n=y(),e=r(r.bind);return ti=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},ti}function Ii(){return ii?ei:(ii=1,ei={})}function Ti(){if(ui)return oi;ui=1;var r=et(),t=Ii(),n=r("iterator"),e=Array.prototype;return oi=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function xi(){if(si)return ci;si=1;var r=function(){if(fi)return ai;fi=1;var r={};return r[et()("toStringTag")]="z",ai="[object z]"===String(r)}(),t=hr(),n=fr(),e=et()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return ci=r?n:function(r){var u,a,f;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(n){}}(u=i(r),e))?a:o?n(u):"Object"===(f=n(u))&&t(u.callee)?"Arguments":f}}function ji(){if(hi)return vi;hi=1;var r=xi(),t=Or(),n=cr(),e=Ii(),i=et()("iterator");return vi=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function _i(){if(pi)return li;pi=1;var r=g(),t=Sr(),n=wt(),e=Er(),i=ji(),o=TypeError;return li=function(u,a){var f=arguments.length<2?i(u):a;if(t(f))return n(r(f,u));throw new o(e(u)+" is not iterable")},li}function Pi(){if(yi)return di;yi=1;var r=g(),t=wt(),n=Or();return di=function(e,i,o){var u,a;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(f){a=!0,u=f}if("throw"===i)throw o;if(a)throw u;return t(u),o}}function Di(){if(wi)return gi;wi=1;var r=Ai(),t=g(),n=wt(),e=Er(),i=Ti(),o=vn(),u=dr(),a=_i(),f=ji(),c=Pi(),s=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;return gi=function(l,p,d){var y,g,w,m,b,E,S,O=d&&d.that,R=!(!d||!d.AS_ENTRIES),A=!(!d||!d.IS_RECORD),I=!(!d||!d.IS_ITERATOR),T=!(!d||!d.INTERRUPTED),x=r(p,O),j=function(r){return y&&c(y,"normal"),new v(!0,r)},_=function(r){return R?(n(r),T?x(r[0],r[1],j):x(r[0],r[1])):T?x(r,j):x(r)};if(A)y=l.iterator;else if(I)y=l;else{if(!(g=f(l)))throw new s(e(l)+" is not iterable");if(i(g)){for(w=0,m=o(l);m>w;w++)if((b=_(l[w]))&&u(h,b))return b;return new v(!1)}y=a(l,g)}for(E=A?l.next:y.next;!(S=t(E,y)).done;){try{b=_(S.value)}catch(P){c(y,"throw",P)}if("object"==typeof b&&b&&u(h,b))return b}return new v(!1)}}function Ci(){return bi?mi:(bi=1,mi=function(r){return{iterator:r,next:r.next,done:!1}})}function Ni(){if(Si)return Ei;Si=1;var r=i();return Ei=function(t,n){var e=r.Iterator,i=e&&e.prototype,o=i&&i[t],u=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){u=!0}},-1)}catch(a){a instanceof n||(u=!1)}if(!u)return o}}!function(){if(Oi)return Ri;Oi=1;var r=Cn(),t=g(),n=Di(),e=Sr(),i=wt(),o=Ci(),u=Pi(),a=Ni()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{find:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var Ui,ki={};!function(){if(Ui)return ki;Ui=1;var r=Cn(),t=g(),n=Di(),e=Sr(),i=wt(),o=Ci(),u=Pi(),a=Ni()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{forEach:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;n(f,function(t){r(t,c++)},{IS_RECORD:!0})}})}();var Li,Mi,Fi,Bi,zi,Hi,Wi,Ji,Vi,Yi,$i,Gi,qi,Xi={};function Qi(){if(Mi)return Li;Mi=1;var r=Ht();return Li=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}function Zi(){return Bi?Fi:(Bi=1,Fi=function(r,t){return{value:r,done:t}})}function Ki(){if(Hi)return zi;Hi=1;var r=Pi();return zi=function(t,n,e){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{e=r(t[i].iterator,n,e)}catch(o){n="throw",e=o}if("throw"===n)throw e;return e}}function ro(){if(Ji)return Wi;Ji=1;var r=g(),t=Qe(),n=bt(),e=Qi(),i=et(),o=Bt(),u=Or(),a=Ze().IteratorPrototype,f=Zi(),c=Pi(),s=Ki(),v=i("toStringTag"),h="IteratorHelper",l="WrapForValidIterator",p="normal",d="throw",y=o.set,w=function(n){var i=o.getterFor(n?l:h);return e(t(a),{next:function(){var r=i(this);if(n)return r.nextHandler();if(r.done)return f(void 0,!0);try{var t=r.nextHandler();return r.returnHandlerResult?t:f(t,r.done)}catch(e){throw r.done=!0,e}},return:function(){var t=i(this),e=t.iterator;if(t.done=!0,n){var o=u(e,"return");return o?r(o,e):f(void 0,!0)}if(t.inner)try{c(t.inner.iterator,p)}catch(a){return c(e,d,a)}if(t.openIters)try{s(t.openIters,p)}catch(a){return c(e,d,a)}return e&&c(e,p),f(void 0,!0)}})},m=w(!0),b=w(!1);return n(b,v,"Iterator Helper"),Wi=function(r,t,n){var e=function(e,i){i?(i.iterator=e.iterator,i.next=e.next):i=e,i.type=t?l:h,i.returnHandlerResult=!!n,i.nextHandler=r,i.counter=0,i.done=!1,y(this,i)};return e.prototype=t?m:b,e}}function to(){if(Yi)return Vi;Yi=1;var r=wt(),t=Pi();return Vi=function(n,e,i,o){try{return o?e(r(i)[0],i[1]):e(i)}catch(u){t(n,"throw",u)}}}function no(){return Gi?$i:(Gi=1,$i=function(r,t){var n="function"==typeof Iterator&&Iterator.prototype[r];if(n)try{n.call({next:null},t).next()}catch(e){return!0}})}!function(){if(qi)return Xi;qi=1;var r=Cn(),t=g(),n=Sr(),e=wt(),i=Ci(),o=ro(),u=to(),a=Pi(),f=no(),c=Ni(),s=Xr(),v=!s&&!f("map",function(){}),h=!s&&!v&&c("map",TypeError),l=s||v||h,p=o(function(){var r=this.iterator,n=e(t(this.next,r));if(!(this.done=!!n.done))return u(r,this.mapper,[n.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:l},{map:function(r){e(this);try{n(r)}catch(o){a(this,"throw",o)}return h?t(h,this,r):new p(i(this),{mapper:r})}})}();var eo,io,oo,uo={};function ao(){if(io)return eo;io=1;var r=y(),t=Function.prototype,n=t.apply,e=t.call;return eo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),eo}!function(){if(oo)return uo;oo=1;var r=Cn(),t=Di(),n=Sr(),e=wt(),i=Ci(),o=Pi(),u=Ni(),a=ao(),f=p(),c=TypeError,s=f(function(){[].keys().reduce(function(){},void 0)}),v=!s&&u("reduce",c);r({target:"Iterator",proto:!0,real:!0,forced:s||v},{reduce:function(r){e(this);try{n(r)}catch(l){o(this,"throw",l)}var u=arguments.length<2,f=u?void 0:arguments[1];if(v)return a(v,this,u?[r]:[r,f]);var s=i(this),h=0;if(t(s,function(t){u?(u=!1,f=t):f=r(f,t,h),h++},{IS_RECORD:!0}),u)throw new c("Reduce of empty iterator with no initial value");return f}})}();var fo,co={};!function(){if(fo)return co;fo=1;var r=Cn(),t=g(),n=Di(),e=Sr(),i=wt(),o=Ci(),u=Pi(),a=Ni()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{some:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();var so,vo,ho,lo,po,yo,go,wo,mo,bo,Eo,So={};function Oo(){if(lo)return ho;lo=1;var r=xi(),t=String;return ho=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ro(){if(yo)return po;yo=1;var r=ar();return po=r([].slice)}function Ao(){if(wo)return go;wo=1;var r=ar(),t=tt(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=r("".charAt),u=r("".slice),a=r(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,s=/^[\u0000-\u001F]$/;return go=function(r,v){for(var h=!0,l="";v1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}();var ru,tu,nu,eu={};!function(){if(nu)return eu;nu=1;var r=Cn(),t=p(),n=function(){if(tu)return ru;tu=1;var r=$o(),t=Yo(),n=Qo(),e=Zo(),i=qo(),o=Go(),u=t.Set,a=t.add,f=t.has;return ru=function(t){var c=r(this),s=e(t),v=new u;return n(c)>s.size?o(s.getIterator(),function(r){f(c,r)&&a(v,r)}):i(c,function(r){s.includes(r)&&a(v,r)}),v}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}();var iu,ou,uu,au={};!function(){if(uu)return au;uu=1;var r=Cn(),t=function(){if(ou)return iu;ou=1;var r=$o(),t=Yo().has,n=Qo(),e=Zo(),i=qo(),o=Go(),u=Pi();return iu=function(a){var f=r(this),c=e(a);if(n(f)<=c.size)return!1!==i(f,function(r){if(c.includes(r))return!1},!0);var s=c.getIterator();return!1!==o(s,function(r){if(t(f,r))return u(s,"normal",!1)})}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}();var fu,cu,su,vu={};!function(){if(su)return vu;su=1;var r=Cn(),t=function(){if(cu)return fu;cu=1;var r=$o(),t=Qo(),n=qo(),e=Zo();return fu=function(i){var o=r(this),u=e(i);return!(t(o)>u.size)&&!1!==n(o,function(r){if(!u.includes(r))return!1},!0)}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}();var hu,lu,pu,du={};!function(){if(pu)return du;pu=1;var r=Cn(),t=function(){if(lu)return hu;lu=1;var r=$o(),t=Yo().has,n=Qo(),e=Zo(),i=Go(),o=Pi();return hu=function(u){var a=r(this),f=e(u);if(n(a)2?e:r(n),u=new t(o);o>i;)u[i]=n[i++];return u},Ju}!function(){if(Yu)return $u;Yu=1;var r=Wu(),t=ar(),n=Sr(),e=Gu(),i=r.aTypedArray,o=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,a=t(r.TypedArrayPrototype.sort);u("toSorted",function(r){void 0!==r&&n(r);var t=i(this),u=e(o(t),t);return a(u,r)})}();var qu,Xu,Qu,Zu,Ku,ra,ta,na={};function ea(){if(Xu)return qu;Xu=1;var r=vn(),t=fn(),n=RangeError;return qu=function(e,i,o,u){var a=r(e),f=t(o),c=f<0?a+f:f;if(c>=a||c<0)throw new n("Incorrect index");for(var s=new i(a),v=0;v>16&255,i>>8&255,255&i];if(2===e){if(n&&0!==o[1])throw new v("Extra bits");return[o[0]]}if(3===e){if(n&&0!==o[2])throw new v("Extra bits");return[o[0],o[1]]}return o},y=function(r,t,n){for(var e=t.length,i=0;i0){if("stop-before-partial"===w)break;if("loose"!==w)throw new v("Missing padding");if(1===O.length)throw new v("Malformed padding: exactly one additional character");E=y(b,d(O,g,!1),E)}S=m;break}var A=l(r,R);if(++R,"="===A){if(O.length<2)throw new v("Padding is too early");if(R=p(r,R),2===O.length){if(R===m){if("stop-before-partial"===w)break;throw new v("Malformed padding: only one =")}"="===l(r,R)&&(++R,R=p(r,R))}if(R1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}}),ba}ma||(ma=1,Ia());var Ta,xa,ja,_a,Pa={};function Da(){if(ja)return Pa;ja=1;var r=Cn(),t=i(),n=Sa(),e=Aa(),o=we(),u=function(){if(xa)return Ta;xa=1;var r=i(),t=ar(),n=r.Uint8Array,e=r.SyntaxError,o=r.parseInt,u=Math.min,a=/[^\da-f]/i,f=t(a.exec),c=t("".slice);return Ta=function(r,t){var i=r.length;if(i%2!=0)throw new e("String should be an even number of characters");for(var s=t?u(t.length,i/2):i/2,v=t||new n(s),h=0,l=0;l>6*r&63)};l+2n.length&&"/"!==e[e.length-1]))return e+r.slice(n.length);f("W2",n,e)}}function f(t,n,e){console.warn(r(t,[e,n].join(", ")))}function c(r,t,n){for(var e=r.scopes,i=n&&u(n,e);i;){var o=a(t,e[i]);if(o)return o;i=u(i.slice(0,i.lastIndexOf("/")),e)}return a(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[I]={}}function v(t,n,e,i){var o=t[I][n];if(o)return o;var u=[],a=Object.create(null);A&&Object.defineProperty(a,A,{value:"Module"});var f=Promise.resolve().then(function(){return t.instantiate(n,e,i)}).then(function(e){if(!e)throw Error(r(2,n));var i=e[1](function(r,t){o.h=!0;var n=!1;if("string"==typeof r)r in a&&a[r]===t||(a[r]=t,n=!0);else{for(var e in r)t=r[e],e in a&&a[e]===t||(a[e]=t,n=!0);r&&r.__esModule&&(a.__esModule=r.__esModule)}if(n)for(var i=0;i-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(r)})}else if("systemjs-importmap"===t.type){t.sp=!0;var n=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,priority:t.fetchPriority,passThrough:!0}).then(function(r){if(!r.ok)throw Error(r.status);return r.text()}).catch(function(n){return n.message=r("W4",t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"}):t.innerHTML;P=P.then(function(){return n}).then(function(n){!function(t,n,e){var i={};try{i=JSON.parse(n)}catch(a){console.warn(Error(r("W5")))}o(i,e,t)}(D,n,t.src||y)})}})}var y,g="undefined"!=typeof Symbol,w="undefined"!=typeof self,m="undefined"!=typeof document,b=w?self:n;if(m){var E=document.querySelector("base[href]");E&&(y=E.href)}if(!y&&"undefined"!=typeof location){var S=(y=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==S&&(y=y.slice(0,S+1))}var O,R=/\\/g,A=g&&Symbol.toStringTag,I=g?Symbol():"@",T=s.prototype;T.import=function(r,t,n){var e=this;return t&&"object"==typeof t&&(n=t,t=void 0),Promise.resolve(e.prepareImport()).then(function(){return e.resolve(r,t,n)}).then(function(r){var t=v(e,r,void 0,n);return t.C||l(e,t)})},T.createContext=function(r){var t=this;return{url:r,resolve:function(n,e){return Promise.resolve(t.resolve(n,e||r))}}},T.register=function(r,t,n){O=[r,t,n]},T.getRegister=function(){var r=O;return O=void 0,r};var x=Object.freeze(Object.create(null));b.System=new s;var j,_,P=Promise.resolve(),D={imports:{},scopes:{},depcache:{},integrity:{}},C=m;if(T.prepareImport=function(r){return(C||r)&&(d(),C=!1),P},T.getImportMap=function(){return JSON.parse(JSON.stringify(D))},m&&(d(),window.addEventListener("DOMContentLoaded",d)),T.addImportMap=function(r,t){o(r,t||y,D)},m){window.addEventListener("error",function(r){U=r.filename,k=r.error});var N=location.origin}T.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(N+"/")&&(t.crossOrigin="anonymous");var n=D.integrity[r];return n&&(t.integrity=n),t.src=r,t};var U,k,L={},M=T.register;T.register=function(r,t){if(m&&"loading"===document.readyState&&"string"!=typeof r){var n=document.querySelectorAll("script[src]"),e=n[n.length-1];if(e){j=r;var i=this;_=setTimeout(function(){L[e.src]=[r,t],i.import(e.src)})}}else j=void 0;return M.call(this,r,t)},T.instantiate=function(t,n){var e=L[t];if(e)return delete L[t],e;var i=this;return Promise.resolve(T.createScript(t)).then(function(e){return new Promise(function(o,u){e.addEventListener("error",function(){u(Error(r(3,[t,n].join(", "))))}),e.addEventListener("load",function(){if(document.head.removeChild(e),U===t)u(k);else{var r=i.getRegister(t);r&&r[0]===j&&clearTimeout(_),o(r)}}),document.head.appendChild(e)})})},T.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(T.fetch=fetch);var F=T.instantiate,B=/^(text|application)\/(x-)?javascript(;|$)/;T.instantiate=function(t,n,e){var i=this;return this.shouldFetch(t,n,e)?this.fetch(t,{credentials:"same-origin",integrity:D.integrity[t],meta:e}).then(function(e){if(!e.ok)throw Error(r(7,[e.status,e.statusText,t,n].join(", ")));var o=e.headers.get("content-type");if(!o||!B.test(o))throw Error(r(4,o));return e.text().then(function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),i.getRegister(t)})}):F.apply(this,arguments)},T.resolve=function(n,e){return c(D,t(n,e=e||y)||n,e)||function(t,n){throw Error(r(8,[t,n].join(", ")))}(n,e)};var z=T.instantiate;T.instantiate=function(r,t,n){var e=D.depcache[r];if(e)for(var i=0;i1),async function*(){}().next()}var r,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function i(){if(t)return r;t=1;var e=function(r){return r&&r.Math===Math&&r};return r=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}var o,u,a,f,c,s,v,h,l={};function p(){return u?o:(u=1,o=function(r){try{return!!r()}catch(t){return!0}})}function y(){if(f)return a;f=1;var r=p();return a=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function d(){if(s)return c;s=1;var r=p();return c=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function g(){if(h)return v;h=1;var r=d(),t=Function.prototype.call;return v=r?t.bind(t):function(){return t.apply(t,arguments)},v}var w,b,m,E,S,O,A,R,T,I,x,_,D,j,N,P,U,k,C,F,M,L,B,z,H,V,W,Y,J,G,$,X,q,Q,Z,K,rr,tr,nr,er,ir,or={};function ur(){return m?b:(m=1,b=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function ar(){if(S)return E;S=1;var r=d(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return E=r?e:function(r){return function(){return n.apply(r,arguments)}},E}function fr(){if(A)return O;A=1;var r=ar(),t=r({}.toString),n=r("".slice);return O=function(r){return n(t(r),8,-1)}}function cr(){return x?I:(x=1,I=function(r){return null==r})}function sr(){if(D)return _;D=1;var r=cr(),t=TypeError;return _=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function vr(){if(N)return j;N=1;var r=function(){if(T)return R;T=1;var r=ar(),t=p(),n=fr(),e=Object,i=r("".split);return R=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}(),t=sr();return j=function(n){return r(t(n))}}function hr(){if(U)return P;U=1;var r="object"==typeof document&&document.all;return P=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function lr(){if(C)return k;C=1;var r=hr();return k=function(t){return"object"==typeof t?null!==t:r(t)}}function pr(){if(M)return F;M=1;var r=i(),t=hr();return F=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},F}function yr(){if(B)return L;B=1;var r=ar();return L=r({}.isPrototypeOf)}function dr(){if(H)return z;H=1;var r=i().navigator,t=r&&r.userAgent;return z=t?String(t):""}function gr(){if(W)return V;W=1;var r,t,n=i(),e=dr(),o=n.process,u=n.Deno,a=o&&o.versions||u&&u.version,f=a&&a.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),V=t}function wr(){if(J)return Y;J=1;var r=gr(),t=p(),n=i().String;return Y=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function br(){if($)return G;$=1;var r=wr();return G=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function mr(){if(q)return X;q=1;var r=pr(),t=hr(),n=yr(),e=br(),i=Object;return X=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Er(){if(Z)return Q;Z=1;var r=String;return Q=function(t){try{return r(t)}catch(n){return"Object"}}}function Sr(){if(rr)return K;rr=1;var r=hr(),t=Er(),n=TypeError;return K=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Or(){if(nr)return tr;nr=1;var r=Sr(),t=cr();return tr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Ar(){if(ir)return er;ir=1;var r=g(),t=hr(),n=lr(),e=TypeError;return er=function(i,o){var u,a;if("string"===o&&t(u=i.toString)&&!n(a=r(u,i)))return a;if(t(u=i.valueOf)&&!n(a=r(u,i)))return a;if("string"!==o&&t(u=i.toString)&&!n(a=r(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Rr,Tr,Ir,xr,_r,Dr,jr,Nr,Pr,Ur,kr,Cr,Fr,Mr,Lr,Br,zr,Hr,Vr,Wr,Yr,Jr,Gr,$r,Xr={exports:{}};function qr(){return Tr?Rr:(Tr=1,Rr=!1)}function Qr(){if(xr)return Ir;xr=1;var r=i(),t=Object.defineProperty;return Ir=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(i){r[n]=e}return e}}function Zr(){if(_r)return Xr.exports;_r=1;var r=qr(),t=i(),n=Qr(),e="__core-js_shared__",o=Xr.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Xr.exports}function Kr(){if(jr)return Dr;jr=1;var r=Zr();return Dr=function(t,n){return r[t]||(r[t]=n||{})}}function rt(){if(Pr)return Nr;Pr=1;var r=sr(),t=Object;return Nr=function(n){return t(r(n))}}function tt(){if(kr)return Ur;kr=1;var r=ar(),t=rt(),n=r({}.hasOwnProperty);return Ur=Object.hasOwn||function(r,e){return n(t(r),e)}}function nt(){if(Fr)return Cr;Fr=1;var r=ar(),t=0,n=Math.random(),e=r(1.1.toString);return Cr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function et(){if(Lr)return Mr;Lr=1;var r=i(),t=Kr(),n=tt(),e=nt(),o=wr(),u=br(),a=r.Symbol,f=t("wks"),c=u?a.for||a:a&&a.withoutSetter||e;return Mr=function(r){return n(f,r)||(f[r]=o&&n(a,r)?a[r]:c("Symbol."+r)),f[r]}}function it(){if(zr)return Br;zr=1;var r=g(),t=lr(),n=mr(),e=Or(),i=Ar(),o=et(),u=TypeError,a=o("toPrimitive");return Br=function(o,f){if(!t(o)||n(o))return o;var c,s=e(o,a);if(s){if(void 0===f&&(f="default"),c=r(s,o,f),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===f&&(f="number"),i(o,f)}}function ot(){if(Vr)return Hr;Vr=1;var r=it(),t=mr();return Hr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ut(){if(Yr)return Wr;Yr=1;var r=i(),t=lr(),n=r.document,e=t(n)&&t(n.createElement);return Wr=function(r){return e?n.createElement(r):{}}}function at(){if(Gr)return Jr;Gr=1;var r=y(),t=p(),n=ut();return Jr=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ft(){if($r)return l;$r=1;var r=y(),t=g(),n=function(){if(w)return or;w=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return or.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,or}(),e=ur(),i=vr(),o=ot(),u=tt(),a=at(),f=Object.getOwnPropertyDescriptor;return l.f=r?f:function(r,c){if(r=i(r),c=o(c),a)try{return f(r,c)}catch(s){}if(u(r,c))return e(!t(n.f,r,c),r[c])},l}var ct,st,vt,ht,lt,pt,yt,dt={};function gt(){if(st)return ct;st=1;var r=y(),t=p();return ct=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function wt(){if(ht)return vt;ht=1;var r=lr(),t=String,n=TypeError;return vt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function bt(){if(lt)return dt;lt=1;var r=y(),t=at(),n=gt(),e=wt(),i=ot(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",s="writable";return dt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&s in n&&!n[s]){var o=a(r,t);o&&o[s]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:f in n?n[f]:o[f],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=i(n),e(a),t)try{return u(r,n,a)}catch(f){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(r[n]=a.value),r},dt}function mt(){if(yt)return pt;yt=1;var r=y(),t=bt(),n=ur();return pt=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var Et,St,Ot,At,Rt,Tt,It,xt,_t,Dt,jt,Nt,Pt,Ut,kt,Ct={exports:{}};function Ft(){if(At)return Ot;At=1;var r=ar(),t=hr(),n=Zr(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),Ot=n.inspectSource}function Mt(){if(xt)return It;xt=1;var r=Kr(),t=nt(),n=r("keys");return It=function(r){return n[r]||(n[r]=t(r))}}function Lt(){return Dt?_t:(Dt=1,_t={})}function Bt(){if(Nt)return jt;Nt=1;var r,t,n,e=function(){if(Tt)return Rt;Tt=1;var r=i(),t=hr(),n=r.WeakMap;return Rt=t(n)&&/native code/.test(String(n))}(),o=i(),u=lr(),a=mt(),f=tt(),c=Zr(),s=Mt(),v=Lt(),h="Object already initialized",l=o.TypeError,p=o.WeakMap;if(e||c.state){var y=c.state||(c.state=new p);y.get=y.get,y.has=y.has,y.set=y.set,r=function(r,t){if(y.has(r))throw new l(h);return t.facade=r,y.set(r,t),t},t=function(r){return y.get(r)||{}},n=function(r){return y.has(r)}}else{var d=s("state");v[d]=!0,r=function(r,t){if(f(r,d))throw new l(h);return t.facade=r,a(r,d,t),t},t=function(r){return f(r,d)?r[d]:{}},n=function(r){return f(r,d)}}return jt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!u(n)||(e=t(n)).type!==r)throw new l("Incompatible receiver, "+r+" required");return e}}}}function zt(){if(Pt)return Ct.exports;Pt=1;var r=ar(),t=p(),n=hr(),e=tt(),i=y(),o=function(){if(St)return Et;St=1;var r=y(),t=tt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return Et={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Ft(),a=Bt(),f=a.enforce,c=a.get,s=String,v=Object.defineProperty,h=r("".slice),l=r("".replace),d=r([].join),g=i&&!t(function(){return 8!==v(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=Ct.exports=function(r,t,n){"Symbol("===h(s(t),0,7)&&(t="["+l(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?v(r,"name",{value:t,configurable:!0}):r.name=t),g&&n&&e(n,"arity")&&r.length!==n.arity&&v(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&v(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(a){}var u=f(r);return e(u,"source")||(u.source=d(w,"string"==typeof t?t:"")),r};return Function.prototype.toString=b(function(){return n(this)&&c(this).source||u(this)},"toString"),Ct.exports}function Ht(){if(kt)return Ut;kt=1;var r=hr(),t=bt(),n=zt(),e=Qr();return Ut=function(i,o,u,a){a||(a={});var f=a.enumerable,c=void 0!==a.name?a.name:o;if(r(u)&&n(u,c,a),a.global)f?i[o]=u:e(o,u);else{try{a.unsafe?i[o]&&(f=!0):delete i[o]}catch(s){}f?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i}}var Vt,Wt,Yt,Jt,Gt,$t,Xt,qt,Qt,Zt,Kt,rn,tn,nn,en,on,un,an={};function fn(){if(Jt)return Yt;Jt=1;var r=function(){if(Wt)return Vt;Wt=1;var r=Math.ceil,t=Math.floor;return Vt=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return Yt=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function cn(){if($t)return Gt;$t=1;var r=fn(),t=Math.max,n=Math.min;return Gt=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function sn(){if(qt)return Xt;qt=1;var r=fn(),t=Math.min;return Xt=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function vn(){if(Zt)return Qt;Zt=1;var r=sn();return Qt=function(t){return r(t.length)}}function hn(){if(nn)return tn;nn=1;var r=ar(),t=tt(),n=vr(),e=function(){if(rn)return Kt;rn=1;var r=vr(),t=cn(),n=vn(),e=function(e){return function(i,o,u){var a=r(i),f=n(a);if(0===f)return!e&&-1;var c,s=t(u,f);if(e&&o!=o){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((e||s in a)&&a[s]===o)return e||s||0;return!e&&-1}};return Kt={includes:e(!0),indexOf:e(!1)}}().indexOf,i=Lt(),o=r([].push);return tn=function(r,u){var a,f=n(r),c=0,s=[];for(a in f)!t(i,a)&&t(f,a)&&o(s,a);for(;u.length>c;)t(f,a=u[c++])&&(~e(s,a)||o(s,a));return s}}function ln(){return on?en:(on=1,en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var pn,yn,dn,gn,wn,bn,mn,En,Sn,On,An,Rn,Tn,In,xn,_n,Dn={};function jn(){if(dn)return yn;dn=1;var r=pr(),t=ar(),n=function(){if(un)return an;un=1;var r=hn(),t=ln().concat("length","prototype");return an.f=Object.getOwnPropertyNames||function(n){return r(n,t)},an}(),e=(pn||(pn=1,Dn.f=Object.getOwnPropertySymbols),Dn),i=wt(),o=t([].concat);return yn=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function Nn(){if(wn)return gn;wn=1;var r=tt(),t=jn(),n=ft(),e=bt();return gn=function(i,o,u){for(var a=t(o),f=e.f,c=n.f,s=0;s9007199254740991)throw r("Maximum allowed index exceeded");return t}}!function(){if(_n)return e;_n=1;var r=Pn(),t=rt(),n=vn(),i=function(){if(Tn)return Rn;Tn=1;var r=y(),t=Un(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Rn=i?function(r,i){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=i}:function(r,t){return r.length=t}}(),o=kn();r({target:"Array",proto:!0,arity:1,forced:p()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),u=n(e),a=arguments.length;o(u+a);for(var f=0;f92||"NODE"===e&&n>94||"BROWSER"===e&&n>97)return!1;var r=new ArrayBuffer(8),t=o(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}function Se(){if(he)return ve;he=1;var r,t,n,e,o=i(),u=me(),a=Ee(),f=o.structuredClone,c=o.ArrayBuffer,s=o.MessageChannel,v=!1;if(a)v=function(r){f(r,{transfer:[r]})};else if(c)try{s||(r=u("worker_threads"))&&(s=r.MessageChannel),s&&(t=new s,n=new c(2),e=function(r){t.port1.postMessage(null,[r])},2===n.byteLength&&(e(n),0===n.byteLength&&(v=e)))}catch(h){}return ve=v}function Oe(){if(pe)return le;pe=1;var r=i(),t=ar(),n=qn(),e=ge(),o=we(),u=Qn(),a=Se(),f=Ee(),c=r.structuredClone,s=r.ArrayBuffer,v=r.DataView,h=Math.min,l=s.prototype,p=v.prototype,y=t(l.slice),d=n(l,"resizable","get"),g=n(l,"maxByteLength","get"),w=t(p.getInt8),b=t(p.setInt8);return le=(f||a)&&function(r,t,n){var i,l=u(r),p=void 0===t?l:e(t),m=!d||!d(r);if(o(r),f&&(r=c(r,{transfer:[r]}),l===p&&(n||m)))return r;if(l>=p&&(!n||m))i=y(r,0,p);else{var E=n&&!m&&g?{maxByteLength:g(r)}:void 0;i=new s(p,E);for(var S=new v(r),O=new v(i),A=h(p,l),R=0;Rs;)n.f(r,u=f[s++],a[u]);return r},$e}(),e=ln(),i=Lt(),o=qe(),u=ut(),a=Mt(),f="prototype",c="script",s=a("IE_PROTO"),v=function(){},h=function(r){return"<"+c+">"+r+""},l=function(r){r.write(h("")),r.close();var t=r.parentWindow.Object;return r=null,t},p=function(){try{r=new ActiveXObject("htmlfile")}catch(s){}var t,n,i;p="undefined"!=typeof document?document.domain&&r?l(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):l(r);for(var a=e.length;a--;)delete p[f][e[a]];return p()};return i[s]=!0,Ve=Object.create||function(r,e){var i;return null!==r?(v[f]=t(r),i=new v,v[f]=null,i[s]=r):i=p(),void 0===e?i:n.f(i,e)}}function Ze(){if(Je)return Ye;Je=1;var r,t,n,e=p(),i=hr(),o=lr(),u=Qe(),a=Ce(),f=Ht(),c=et(),s=qr(),v=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(t=a(a(n)))!==Object.prototype&&(r=t):h=!0),!o(r)||e(function(){var t={};return r[v].call(t)!==t})?r={}:s&&(r=u(r)),i(r[v])||f(r,v,function(){return this}),Ye={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}}!function(){if(Ge)return Ue;Ge=1;var r=Pn(),t=i(),n=ke(),e=wt(),o=hr(),u=Ce(),a=$n(),f=Fe(),c=p(),s=tt(),v=et(),h=Ze().IteratorPrototype,l=y(),d=qr(),g="constructor",w="Iterator",b=v("toStringTag"),m=TypeError,E=t[w],S=d||!o(E)||E.prototype!==h||!c(function(){E({})}),O=function(){if(n(this,h),u(this)===h)throw new m("Abstract class Iterator not directly constructable")},A=function(r,t){l?a(h,r,{configurable:!0,get:function(){return t},set:function(t){if(e(this),this===h)throw new m("You can't redefine this property");s(this,r)?this[r]=t:f(this,r,t)}}):h[r]=t};s(h,b)||A(b,w),!S&&s(h,g)&&h[g]!==Object||A(g,O),O.prototype=h,r({global:!0,constructor:!0,forced:S},{Iterator:O})}();var Ke,ri,ti,ni,ei,ii,oi,ui,ai,fi,ci,si,vi,hi,li,pi,yi,di,gi,wi,bi,mi,Ei,Si,Oi,Ai={};function Ri(){if(ni)return ti;ni=1;var r=function(){if(ri)return Ke;ri=1;var r=fr(),t=ar();return Ke=function(n){if("Function"===r(n))return t(n)}}(),t=Sr(),n=d(),e=r(r.bind);return ti=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},ti}function Ti(){return ii?ei:(ii=1,ei={})}function Ii(){if(ui)return oi;ui=1;var r=et(),t=Ti(),n=r("iterator"),e=Array.prototype;return oi=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function xi(){if(si)return ci;si=1;var r=function(){if(fi)return ai;fi=1;var r={};return r[et()("toStringTag")]="z",ai="[object z]"===String(r)}(),t=hr(),n=fr(),e=et()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return ci=r?n:function(r){var u,a,f;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(n){}}(u=i(r),e))?a:o?n(u):"Object"===(f=n(u))&&t(u.callee)?"Arguments":f}}function _i(){if(hi)return vi;hi=1;var r=xi(),t=Or(),n=cr(),e=Ti(),i=et()("iterator");return vi=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function Di(){if(pi)return li;pi=1;var r=g(),t=Sr(),n=wt(),e=Er(),i=_i(),o=TypeError;return li=function(u,a){var f=arguments.length<2?i(u):a;if(t(f))return n(r(f,u));throw new o(e(u)+" is not iterable")},li}function ji(){if(di)return yi;di=1;var r=g(),t=wt(),n=Or();return yi=function(e,i,o){var u,a;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(f){a=!0,u=f}if("throw"===i)throw o;if(a)throw u;return t(u),o}}function Ni(){if(wi)return gi;wi=1;var r=Ri(),t=g(),n=wt(),e=Er(),i=Ii(),o=vn(),u=yr(),a=Di(),f=_i(),c=ji(),s=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;return gi=function(l,p,y){var d,g,w,b,m,E,S,O=y&&y.that,A=!(!y||!y.AS_ENTRIES),R=!(!y||!y.IS_RECORD),T=!(!y||!y.IS_ITERATOR),I=!(!y||!y.INTERRUPTED),x=r(p,O),_=function(r){return d&&c(d,"normal"),new v(!0,r)},D=function(r){return A?(n(r),I?x(r[0],r[1],_):x(r[0],r[1])):I?x(r,_):x(r)};if(R)d=l.iterator;else if(T)d=l;else{if(!(g=f(l)))throw new s(e(l)+" is not iterable");if(i(g)){for(w=0,b=o(l);b>w;w++)if((m=D(l[w]))&&u(h,m))return m;return new v(!1)}d=a(l,g)}for(E=R?l.next:d.next;!(S=t(E,d)).done;){try{m=D(S.value)}catch(j){c(d,"throw",j)}if("object"==typeof m&&m&&u(h,m))return m}return new v(!1)}}function Pi(){return mi?bi:(mi=1,bi=function(r){return{iterator:r,next:r.next,done:!1}})}function Ui(){if(Si)return Ei;Si=1;var r=i();return Ei=function(t,n){var e=r.Iterator,i=e&&e.prototype,o=i&&i[t],u=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){u=!0}},-1)}catch(a){a instanceof n||(u=!1)}if(!u)return o}}!function(){if(Oi)return Ai;Oi=1;var r=Pn(),t=g(),n=Ni(),e=Sr(),i=wt(),o=Pi(),u=ji(),a=Ui()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{find:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var ki,Ci={};!function(){if(ki)return Ci;ki=1;var r=Pn(),t=g(),n=Ni(),e=Sr(),i=wt(),o=Pi(),u=ji(),a=Ui()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{forEach:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;n(f,function(t){r(t,c++)},{IS_RECORD:!0})}})}();var Fi,Mi,Li,Bi,zi,Hi,Vi,Wi,Yi,Ji,Gi,$i,Xi,qi={};function Qi(){if(Mi)return Fi;Mi=1;var r=Ht();return Fi=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}function Zi(){return Bi?Li:(Bi=1,Li=function(r,t){return{value:r,done:t}})}function Ki(){if(Hi)return zi;Hi=1;var r=ji();return zi=function(t,n,e){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{e=r(t[i].iterator,n,e)}catch(o){n="throw",e=o}if("throw"===n)throw e;return e}}function ro(){if(Wi)return Vi;Wi=1;var r=g(),t=Qe(),n=mt(),e=Qi(),i=et(),o=Bt(),u=Or(),a=Ze().IteratorPrototype,f=Zi(),c=ji(),s=Ki(),v=i("toStringTag"),h="IteratorHelper",l="WrapForValidIterator",p="normal",y="throw",d=o.set,w=function(n){var i=o.getterFor(n?l:h);return e(t(a),{next:function(){var r=i(this);if(n)return r.nextHandler();if(r.done)return f(void 0,!0);try{var t=r.nextHandler();return r.returnHandlerResult?t:f(t,r.done)}catch(e){throw r.done=!0,e}},return:function(){var t=i(this),e=t.iterator;if(t.done=!0,n){var o=u(e,"return");return o?r(o,e):f(void 0,!0)}if(t.inner)try{c(t.inner.iterator,p)}catch(a){return c(e,y,a)}if(t.openIters)try{s(t.openIters,p)}catch(a){return c(e,y,a)}return e&&c(e,p),f(void 0,!0)}})},b=w(!0),m=w(!1);return n(m,v,"Iterator Helper"),Vi=function(r,t,n){var e=function(e,i){i?(i.iterator=e.iterator,i.next=e.next):i=e,i.type=t?l:h,i.returnHandlerResult=!!n,i.nextHandler=r,i.counter=0,i.done=!1,d(this,i)};return e.prototype=t?b:m,e}}function to(){if(Ji)return Yi;Ji=1;var r=wt(),t=ji();return Yi=function(n,e,i,o){try{return o?e(r(i)[0],i[1]):e(i)}catch(u){t(n,"throw",u)}}}function no(){return $i?Gi:($i=1,Gi=function(r,t){var n="function"==typeof Iterator&&Iterator.prototype[r];if(n)try{n.call({next:null},t).next()}catch(e){return!0}})}!function(){if(Xi)return qi;Xi=1;var r=Pn(),t=g(),n=Sr(),e=wt(),i=Pi(),o=ro(),u=to(),a=ji(),f=no(),c=Ui(),s=qr(),v=!s&&!f("map",function(){}),h=!s&&!v&&c("map",TypeError),l=s||v||h,p=o(function(){var r=this.iterator,n=e(t(this.next,r));if(!(this.done=!!n.done))return u(r,this.mapper,[n.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:l},{map:function(r){e(this);try{n(r)}catch(o){a(this,"throw",o)}return h?t(h,this,r):new p(i(this),{mapper:r})}})}();var eo,io,oo,uo={};function ao(){if(io)return eo;io=1;var r=d(),t=Function.prototype,n=t.apply,e=t.call;return eo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),eo}!function(){if(oo)return uo;oo=1;var r=Pn(),t=Ni(),n=Sr(),e=wt(),i=Pi(),o=ji(),u=Ui(),a=ao(),f=p(),c=TypeError,s=f(function(){[].keys().reduce(function(){},void 0)}),v=!s&&u("reduce",c);r({target:"Iterator",proto:!0,real:!0,forced:s||v},{reduce:function(r){e(this);try{n(r)}catch(l){o(this,"throw",l)}var u=arguments.length<2,f=u?void 0:arguments[1];if(v)return a(v,this,u?[r]:[r,f]);var s=i(this),h=0;if(t(s,function(t){u?(u=!1,f=t):f=r(f,t,h),h++},{IS_RECORD:!0}),u)throw new c("Reduce of empty iterator with no initial value");return f}})}();var fo,co={};!function(){if(fo)return co;fo=1;var r=Pn(),t=g(),n=Ni(),e=Sr(),i=wt(),o=Pi(),u=ji(),a=Ui()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{some:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();var so,vo,ho,lo,po,yo,go,wo,bo,mo,Eo,So={};function Oo(){if(lo)return ho;lo=1;var r=xi(),t=String;return ho=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ao(){if(yo)return po;yo=1;var r=ar();return po=r([].slice)}function Ro(){if(wo)return go;wo=1;var r=ar(),t=tt(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=r("".charAt),u=r("".slice),a=r(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,s=/^[\u0000-\u001F]$/;return go=function(r,v){for(var h=!0,l="";v1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}();var ru,tu,nu,eu={};!function(){if(nu)return eu;nu=1;var r=Pn(),t=p(),n=function(){if(tu)return ru;tu=1;var r=Go(),t=Jo(),n=Qo(),e=Zo(),i=Xo(),o=$o(),u=t.Set,a=t.add,f=t.has;return ru=function(t){var c=r(this),s=e(t),v=new u;return n(c)>s.size?o(s.getIterator(),function(r){f(c,r)&&a(v,r)}):i(c,function(r){s.includes(r)&&a(v,r)}),v}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}();var iu,ou,uu,au={};!function(){if(uu)return au;uu=1;var r=Pn(),t=function(){if(ou)return iu;ou=1;var r=Go(),t=Jo().has,n=Qo(),e=Zo(),i=Xo(),o=$o(),u=ji();return iu=function(a){var f=r(this),c=e(a);if(n(f)<=c.size)return!1!==i(f,function(r){if(c.includes(r))return!1},!0);var s=c.getIterator();return!1!==o(s,function(r){if(t(f,r))return u(s,"normal",!1)})}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}();var fu,cu,su,vu={};!function(){if(su)return vu;su=1;var r=Pn(),t=function(){if(cu)return fu;cu=1;var r=Go(),t=Qo(),n=Xo(),e=Zo();return fu=function(i){var o=r(this),u=e(i);return!(t(o)>u.size)&&!1!==n(o,function(r){if(!u.includes(r))return!1},!0)}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}();var hu,lu,pu,yu={};!function(){if(pu)return yu;pu=1;var r=Pn(),t=function(){if(lu)return hu;lu=1;var r=Go(),t=Jo().has,n=Qo(),e=Zo(),i=$o(),o=ji();return hu=function(u){var a=r(this),f=e(u);if(n(a)2?e:r(n),u=new t(o);o>i;)u[i]=n[i++];return u},Wu}!function(){if(Ju)return Gu;Ju=1;var r=Vu(),t=ar(),n=Sr(),e=$u(),i=r.aTypedArray,o=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,a=t(r.TypedArrayPrototype.sort);u("toSorted",function(r){void 0!==r&&n(r);var t=i(this),u=e(o(t),t);return a(u,r)})}();var Xu,qu,Qu,Zu,Ku,ra,ta,na={};function ea(){if(qu)return Xu;qu=1;var r=vn(),t=fn(),n=RangeError;return Xu=function(e,i,o,u){var a=r(e),f=t(o),c=f<0?a+f:f;if(c>=a||c<0)throw new n("Incorrect index");for(var s=new i(a),v=0;v>16&255,i>>8&255,255&i];if(2===e){if(n&&0!==o[1])throw new v("Extra bits");return[o[0]]}if(3===e){if(n&&0!==o[2])throw new v("Extra bits");return[o[0],o[1]]}return o},d=function(r,t,n){for(var e=t.length,i=0;i0){if("stop-before-partial"===w)break;if("loose"!==w)throw new v("Missing padding");if(1===O.length)throw new v("Malformed padding: exactly one additional character");E=d(m,y(O,g,!1),E)}S=b;break}var R=l(r,A);if(++A,"="===R){if(O.length<2)throw new v("Padding is too early");if(A=p(r,A),2===O.length){if(A===b){if("stop-before-partial"===w)break;throw new v("Malformed padding: only one =")}"="===l(r,A)&&(++A,A=p(r,A))}if(A1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}}),ma}ba||(ba=1,Ta());var Ia,xa,_a,Da,ja={};function Na(){if(_a)return ja;_a=1;var r=Pn(),t=i(),n=Sa(),e=Ra(),o=we(),u=function(){if(xa)return Ia;xa=1;var r=i(),t=ar(),n=r.Uint8Array,e=r.SyntaxError,o=r.parseInt,u=Math.min,a=/[^\da-f]/i,f=t(a.exec),c=t("".slice);return Ia=function(r,t){var i=r.length;if(i%2!=0)throw new e("String should be an even number of characters");for(var s=t?u(t.length,i/2):i/2,v=t||new n(s),h=0,l=0;l>6*r&63)};l+2{e=t.M},t=>{i=t.i},t=>{n=t.al,a=t.bb,s=t.bc,o=t.a0,u=t.bd,c=t.be,h=t.Y,f=t.bf,l=t.bg,y=t.bh,m=t.X}],execute:function(){var r;const p={liftEither(t){if(t.isRight())return Promise.resolve(t.extract());throw t.extract()},fromPromise:t=>t.then(p.liftEither),throwE(t){throw t}};class w{constructor(t){this.runPromise=t,this[r]="EitherAsync",this.then=(t,r)=>this.run().then(t,r)}leftOrDefault(t){return this.run().then(r=>r.leftOrDefault(t))}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return g(async t=>{const r=await(this);if(r.isRight()){const e=await r.extract();return t.liftEither(e)}return t.liftEither(r)})}ap(t){return g(async r=>{const e=await t;if(e.isRight()){const t=await this.run();return t.isRight()?e.extract()(t.extract()):r.liftEither(t)}return r.liftEither(e)})}alt(t){return g(async r=>{const e=await this.run();if(e.isRight())return e.extract();{const e=await t;return r.liftEither(e)}})}extend(t){return g(async r=>{const e=await this.run();if(e.isRight()){const i=g.liftEither(e);return r.liftEither(a(t(i)))}return r.liftEither(e)})}async run(){try{return a(await this.runPromise(p))}catch(t){return s(t)}}bimap(t,r){return g(async e=>{const i=await this.run();try{return await e.liftEither(i.bimap(t,r))}catch(n){throw await n}})}map(t){return g(r=>this.runPromise(r).then(t))}mapLeft(t){return g(async r=>{try{return await this.runPromise(r)}catch(e){throw await t(e)}})}chain(t){return g(async r=>{const e=await this.runPromise(r);return r.fromPromise(t(e))})}chainLeft(t){return g(async r=>{try{return await this.runPromise(r)}catch(e){return r.fromPromise(t(e))}})}toMaybeAsync(){return E(async({liftMaybe:t})=>t((await this.run()).toMaybe()))}swap(){return g(async t=>{const r=await this.run();return r.isRight()&&t.throwE(r.extract()),t.liftEither(a(r.extract()))})}ifLeft(t){return g(async r=>{const e=await this.run();return e.ifLeft(t),r.liftEither(e)})}ifRight(t){return g(async r=>{const e=await this.run();return e.ifRight(t),r.liftEither(e)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return g(({fromPromise:r})=>r(this.run().finally(t)))}}r=Symbol.toStringTag,w.prototype["fantasy-land/chain"]=w.prototype.chain,w.prototype["fantasy-land/alt"]=w.prototype.alt;const g=t("E",Object.assign(t=>new w(t),{fromPromise:t=>g(({fromPromise:r})=>r(t())),liftEither:t=>g(({liftEither:r})=>r(t)),lefts:t=>Promise.all(t.map(t=>t.run())).then(n.lefts),rights:t=>Promise.all(t.map(t=>t.run())).then(n.rights),sequence:t=>g(async r=>{let e=[];for await(const i of t){if(i.isLeft())return r.liftEither(i);e.push(i.extract())}return r.liftEither(a(e))}),all:t=>g.fromPromise(async()=>Promise.all(t).then(n.sequence))}));var b;w.prototype.constructor=g;const P={liftMaybe(t){if(t.isJust())return Promise.resolve(t.extract());throw u},fromPromise:t=>t.then(P.liftMaybe)};class d{constructor(t){this.runPromise=t,this[b]="MaybeAsync"}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return E(async t=>{const r=await this.run();if(r.isJust()){const e=await r.extract();return t.liftMaybe(e)}return t.liftMaybe(u)})}ap(t){return E(async r=>{const e=await t;if(e.isJust()){const t=await this.run();return t.isJust()?e.extract()(t.extract()):r.liftMaybe(u)}return r.liftMaybe(u)})}alt(t){return E(async r=>{const e=await this.run();if(e.isJust())return e.extract();{const e=await t;return r.liftMaybe(e)}})}extend(t){return E(async r=>{const e=await this.run();if(e.isJust()){const i=E.liftMaybe(e);return r.liftMaybe(c(t(i)))}return r.liftMaybe(u)})}filter(t){return E(async r=>{const e=await this.run();return r.liftMaybe(e.filter(t))})}async run(){try{return c(await this.runPromise(P))}catch{return u}}map(t){return E(r=>this.runPromise(r).then(t))}chain(t){return E(async r=>{const e=await this.runPromise(r);return r.fromPromise(t(e))})}toEitherAsync(t){return g(async({liftEither:r})=>r((await this.run()).toEither(t)))}ifJust(t){return E(async r=>{const e=await this.run();return e.ifJust(t),r.liftMaybe(e)})}ifNothing(t){return E(async r=>{const e=await this.run();return e.ifNothing(t),r.liftMaybe(e)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return E(({fromPromise:r})=>r(this.run().finally(t)))}then(t,r){return this.run().then(t,r)}}b=Symbol.toStringTag,d.prototype["fantasy-land/chain"]=d.prototype.chain,d.prototype["fantasy-land/filter"]=d.prototype.filter,d.prototype["fantasy-land/alt"]=d.prototype.alt;const E=Object.assign(t=>new d(t),{catMaybes:t=>Promise.all(t).then(o.catMaybes),fromPromise:t=>E(({fromPromise:r})=>r(t())),liftMaybe:t=>E(({liftMaybe:r})=>r(t))});d.prototype.constructor=E,t("g",t=>fetch(`${t.route}?${t.searchParams}`,{credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[i]:t.nonce,...t.authString&&{Authorization:`Basic ${t.authString}`}},method:"GET",mode:"same-origin",signal:AbortSignal.timeout(5e3)})),t("a",t=>fetch(t.route,{body:t.corps,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[i]:t.nonce,...t.authString&&{Authorization:`Basic ${t.authString}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)})),t("p",(t,r)=>(e,n,a)=>fetch(e,{body:n,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[i]:t,...r&&a&&{Authorization:`Basic ${r}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)})),t("s",t=>g(async()=>await t)),t("n",async t=>({body:await t.json(),status:t.status})),t("t",t=>e(t).with({status:400},()=>new h).with({status:401},()=>new f).with({status:403},()=>new l).with({status:404},()=>new y).with({status:500},()=>new m).otherwise(t=>new Error(String(t.status))))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.br b/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.br deleted file mode 100644 index a5394115..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.gz deleted file mode 100644 index e76be74f..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.zst deleted file mode 100644 index 81b312b7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js deleted file mode 100644 index d3fb78f0..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js +++ /dev/null @@ -1 +0,0 @@ -import{M as d}from"./index.BiLbLflF.js";import{i as f}from"./api.BWtmxolt.js";import{al as l,bb as h,bc as g,a0 as P,bd as u,be as y,Y as M,bf as A,bg as x,bh as S,X as v}from"./dom.BBcFv3WT.js";var m;const w={liftEither(e){if(e.isRight())return Promise.resolve(e.extract());throw e.extract()},fromPromise(e){return e.then(w.liftEither)},throwE(e){throw e}};class c{constructor(t){this.runPromise=t,this[m]="EitherAsync",this.then=(r,n)=>this.run().then(r,n)}leftOrDefault(t){return this.run().then(r=>r.leftOrDefault(t))}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return i(async t=>{const r=await this;if(r.isRight()){const n=await r.extract();return t.liftEither(n)}return t.liftEither(r)})}ap(t){return i(async r=>{const n=await t;if(n.isRight()){const a=await this.run();return a.isRight()?n.extract()(a.extract()):r.liftEither(a)}return r.liftEither(n)})}alt(t){return i(async r=>{const n=await this.run();if(n.isRight())return n.extract();{const a=await t;return r.liftEither(a)}})}extend(t){return i(async r=>{const n=await this.run();if(n.isRight()){const a=i.liftEither(n);return r.liftEither(h(t(a)))}return r.liftEither(n)})}async run(){try{return h(await this.runPromise(w))}catch(t){return g(t)}}bimap(t,r){return i(async n=>{const a=await this.run();try{return await n.liftEither(a.bimap(t,r))}catch(E){throw await E}})}map(t){return i(r=>this.runPromise(r).then(t))}mapLeft(t){return i(async r=>{try{return await this.runPromise(r)}catch(n){throw await t(n)}})}chain(t){return i(async r=>{const n=await this.runPromise(r);return r.fromPromise(t(n))})}chainLeft(t){return i(async r=>{try{return await this.runPromise(r)}catch(n){return r.fromPromise(t(n))}})}toMaybeAsync(){return s(async({liftMaybe:t})=>{const r=await this.run();return t(r.toMaybe())})}swap(){return i(async t=>{const r=await this.run();return r.isRight()&&t.throwE(r.extract()),t.liftEither(h(r.extract()))})}ifLeft(t){return i(async r=>{const n=await this.run();return n.ifLeft(t),r.liftEither(n)})}ifRight(t){return i(async r=>{const n=await this.run();return n.ifRight(t),r.liftEither(n)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return i(({fromPromise:r})=>r(this.run().finally(t)))}}m=Symbol.toStringTag;c.prototype["fantasy-land/chain"]=c.prototype.chain;c.prototype["fantasy-land/alt"]=c.prototype.alt;const i=Object.assign(e=>new c(e),{fromPromise:e=>i(({fromPromise:t})=>t(e())),liftEither:e=>i(({liftEither:t})=>t(e)),lefts:e=>Promise.all(e.map(t=>t.run())).then(l.lefts),rights:e=>Promise.all(e.map(t=>t.run())).then(l.rights),sequence:e=>i(async t=>{let r=[];for await(const n of e){if(n.isLeft())return t.liftEither(n);r.push(n.extract())}return t.liftEither(h(r))}),all:e=>i.fromPromise(async()=>Promise.all(e).then(l.sequence))});c.prototype.constructor=i;var p;const b={liftMaybe(e){if(e.isJust())return Promise.resolve(e.extract());throw u},fromPromise(e){return e.then(b.liftMaybe)}};class o{constructor(t){this.runPromise=t,this[p]="MaybeAsync"}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return s(async t=>{const r=await this.run();if(r.isJust()){const n=await r.extract();return t.liftMaybe(n)}return t.liftMaybe(u)})}ap(t){return s(async r=>{const n=await t;if(n.isJust()){const a=await this.run();return a.isJust()?n.extract()(a.extract()):r.liftMaybe(u)}return r.liftMaybe(u)})}alt(t){return s(async r=>{const n=await this.run();if(n.isJust())return n.extract();{const a=await t;return r.liftMaybe(a)}})}extend(t){return s(async r=>{const n=await this.run();if(n.isJust()){const a=s.liftMaybe(n);return r.liftMaybe(y(t(a)))}return r.liftMaybe(u)})}filter(t){return s(async r=>{const n=await this.run();return r.liftMaybe(n.filter(t))})}async run(){try{return y(await this.runPromise(b))}catch{return u}}map(t){return s(r=>this.runPromise(r).then(t))}chain(t){return s(async r=>{const n=await this.runPromise(r);return r.fromPromise(t(n))})}toEitherAsync(t){return i(async({liftEither:r})=>{const n=await this.run();return r(n.toEither(t))})}ifJust(t){return s(async r=>{const n=await this.run();return n.ifJust(t),r.liftMaybe(n)})}ifNothing(t){return s(async r=>{const n=await this.run();return n.ifNothing(t),r.liftMaybe(n)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return s(({fromPromise:r})=>r(this.run().finally(t)))}then(t,r){return this.run().then(t,r)}}p=Symbol.toStringTag;o.prototype["fantasy-land/chain"]=o.prototype.chain;o.prototype["fantasy-land/filter"]=o.prototype.filter;o.prototype["fantasy-land/alt"]=o.prototype.alt;const s=Object.assign(e=>new o(e),{catMaybes:e=>Promise.all(e).then(P.catMaybes),fromPromise:e=>s(({fromPromise:t})=>t(e())),liftMaybe:e=>s(({liftMaybe:t})=>t(e))});o.prototype.constructor=s;const T=e=>fetch(`${e.route}?${e.searchParams}`,{credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[f]:e.nonce,...e.authString&&{Authorization:`Basic ${e.authString}`}},method:"GET",mode:"same-origin",signal:AbortSignal.timeout(5e3)}),B=e=>fetch(e.route,{body:e.corps,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[f]:e.nonce,...e.authString&&{Authorization:`Basic ${e.authString}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)}),J=(e,t)=>(r,n,a)=>fetch(r,{body:n,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[f]:e,...t&&a&&{Authorization:`Basic ${t}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)}),V=e=>i(async()=>await e),$=async e=>({body:await e.json(),status:e.status}),C=e=>d(e).with({status:400},()=>new M).with({status:401},()=>new A).with({status:403},()=>new x).with({status:404},()=>new S).with({status:500},()=>new v).otherwise(t=>new Error(String(t.status)));export{i as E,B as a,T as g,$ as n,J as p,V as s,C as t}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.br b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.br deleted file mode 100644 index 4657e583..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.gz deleted file mode 100644 index 90984971..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.zst deleted file mode 100644 index 5075bf95..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier-legacy.js deleted file mode 100644 index 2b38ecc6..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./messages-legacy.PVpnHWo9.js","./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js","./validation-legacy.C-7tMwb9.js"],function(e,t){"use strict";var n,s,i,a,o;return{setters:[e=>{n=e.m,s=e.A,i=e.D},e=>{a=e.N,o=e.v},null,null,null],execute:function(){document.addEventListener("DOMContentLoaded",()=>{(()=>{const e=n(i),t=new BroadcastChannel(a);t.onmessage=t=>{o(t).ifRight(t=>{e.textContent=`cart (${String(t.donnees.quantiteProduits)})`,e.setAttribute(s,String(t.donnees.quantiteProduits>0))})},document.addEventListener("visibilitychange",()=>{t.close()})})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier.js deleted file mode 100644 index 47026246..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier.js +++ /dev/null @@ -1 +0,0 @@ -import{m as o,A as a,D as r}from"./dom.BBcFv3WT.js";import{N as s,v as c}from"./messages.B9cwwdUT.js";import"./journalisation.js";import"./exports.JV8YQBqW.js";import"./validation.DpnMPnCH.js";function m(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const d=()=>{const t=o(r),n=new BroadcastChannel(s);n.onmessage=i=>{c(i).ifRight(e=>{t.textContent=`cart (${String(e.donnees.quantiteProduits)})`,t.setAttribute(a,String(e.donnees.quantiteProduits>0))})},document.addEventListener("visibilitychange",()=>{n.close()})};document.addEventListener("DOMContentLoaded",()=>{d()});export{m as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js deleted file mode 100644 index 681836f5..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(e,t){"use strict";var n,i,o,O,r,s,T,c;return{setters:[e=>{n=e.m,i=e.a,o=e.h,O=e.b,r=e.c,s=e.d},e=>{T=e.a9},e=>{c=e.t},null],execute:function(){const e={BOUTON_MENU_MOBILE:n(i),BOUTON_RETOUR_SOMMET:n("#bouton-retour-haut"),CORPS_HTML:n("body"),IMAGE_BOUTON:n("#bouton-retour-haut img")};let t=e.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,u=window.scrollY,M=!1;const d=()=>window.scrollY,l=t=>{t?(e.BOUTON_RETOUR_SOMMET.setAttribute(O,""),e.BOUTON_RETOUR_SOMMET.setAttribute(r,"99"),e.IMAGE_BOUTON.setAttribute(s,"false")):(e.BOUTON_RETOUR_SOMMET.removeAttribute(O),e.BOUTON_RETOUR_SOMMET.setAttribute(r,"-2"),e.IMAGE_BOUTON.setAttribute(s,"true")),M=!1};document.addEventListener("DOMContentLoaded",()=>{e.BOUTON_RETOUR_SOMMET.addEventListener("click",t=>{t.preventDefault(),window.scrollTo({behavior:"smooth",top:0}),e.BOUTON_MENU_MOBILE.focus({preventScroll:!0})}),window.addEventListener("scroll",()=>{u=d(),t<3||M||(M=!0,requestAnimationFrame(()=>l(u>3*window.innerHeight)))}),new ResizeObserver(n=>{T(o(n),c(n=>{t=e.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,u=d()}))}).observe(e.CORPS_HTML),l(u>3*window.innerHeight)})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.br deleted file mode 100644 index 2dded1ea..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.gz deleted file mode 100644 index ce41a18d..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.zst deleted file mode 100644 index f45e6f78..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js deleted file mode 100644 index 1890d480..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js +++ /dev/null @@ -1 +0,0 @@ -import{m as i,a as E,h as l,b as O,c as s,d as T}from"./dom.BBcFv3WT.js";import{a9 as M}from"./exports.JV8YQBqW.js";import{t as R}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function d(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const t={BOUTON_MENU_MOBILE:i(E),BOUTON_RETOUR_SOMMET:i("#bouton-retour-haut"),CORPS_HTML:i("body"),IMAGE_BOUTON:i("#bouton-retour-haut img")},o=3;let _=t.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,n=window.scrollY,r=!1;const a=()=>window.scrollY,u=e=>{e?(t.BOUTON_RETOUR_SOMMET.setAttribute(O,""),t.BOUTON_RETOUR_SOMMET.setAttribute(s,"99"),t.IMAGE_BOUTON.setAttribute(T,"false")):(t.BOUTON_RETOUR_SOMMET.removeAttribute(O),t.BOUTON_RETOUR_SOMMET.setAttribute(s,"-2"),t.IMAGE_BOUTON.setAttribute(T,"true")),r=!1},c=()=>{window.addEventListener("scroll",()=>{n=a(),!(_u(n>window.innerHeight*o))))}),new ResizeObserver(e=>{M(l(e),R(U=>{_=t.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,n=a()}))}).observe(t.CORPS_HTML),u(n>window.innerHeight*o)},m=()=>{t.BOUTON_RETOUR_SOMMET.addEventListener("click",e=>{e.preventDefault(),window.scrollTo({behavior:"smooth",top:0}),t.BOUTON_MENU_MOBILE.focus({preventScroll:!0})})};document.addEventListener("DOMContentLoaded",()=>{m(),c()});export{d as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.br deleted file mode 100644 index 9f749cfd..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.gz deleted file mode 100644 index 1230833e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.zst deleted file mode 100644 index fbaace44..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories-legacy.js deleted file mode 100644 index f8ba8363..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy.BZucyBbQ.js","./dom-legacy.BaBbaRa_.js","./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js"],function(e,t){"use strict";var n,r,s,i,a,o;return{setters:[e=>{n=e.M},e=>{r=e.m,s=e.e,i=e.f,a=e.R,o=e.g},null,null],execute:function(){document.addEventListener("DOMContentLoaded",()=>{const e=r(s),t=i(o);a.forEachWithIndex([t.at(0),t.at(-1)],(t,r)=>{r&&new IntersectionObserver(a.forEach(r=>{r.boundingClientRect.top<=0||n([r.isIntersecting,t]).with([!0,0],()=>e.removeAttribute("data-entrees-presentes-debut")).with([!0,1],()=>e.removeAttribute("data-entrees-presentes-fin")).with([!1,0],()=>e.setAttribute("data-entrees-presentes-debut","")).with([!1,1],()=>e.setAttribute("data-entrees-presentes-fin","")).run()}),{root:null,threshold:.9}).observe(r)})})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories.js deleted file mode 100644 index 38f4c6bc..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories.js +++ /dev/null @@ -1 +0,0 @@ -import{M as i}from"./index.BiLbLflF.js";import{m as a,e as E,f as u,R as s,g as m}from"./dom.BBcFv3WT.js";import"./journalisation.js";import"./exports.JV8YQBqW.js";function c(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}document.addEventListener("DOMContentLoaded",()=>{const t=a(E),e=u(m);s.forEachWithIndex([e.at(0),e.at(-1)],(o,r)=>{r&&new IntersectionObserver(s.forEach(n=>{n.boundingClientRect.top<=0||i([n.isIntersecting,o]).with([!0,0],()=>t.removeAttribute("data-entrees-presentes-debut")).with([!0,1],()=>t.removeAttribute("data-entrees-presentes-fin")).with([!1,0],()=>t.setAttribute("data-entrees-presentes-debut","")).with([!1,1],()=>t.setAttribute("data-entrees-presentes-fin","")).run()}),{root:null,threshold:.9}).observe(r)})});export{c as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js deleted file mode 100644 index f34901bb..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(e,t){"use strict";var i,s,n,o,r,d,a;return{setters:[e=>{i=e.m,s=e.i,n=e.a,o=e.R,r=e.j},e=>{d=e.a9},e=>{a=e.P},null],execute:function(){const e=":not([inert]):not([inert] *)",t=':not([tabindex^="-"])',h=":not(:disabled)";var l=[`a[href]${e}${t}`,`area[href]${e}${t}`,`input:not([type="hidden"]):not([type="radio"])${e}${t}${h}`,`input[type="radio"]${e}${t}${h}`,`select${e}${t}${h}`,`textarea${e}${t}${h}`,`button${e}${t}${h}`,`details${e} > summary:first-of-type${t}`,`iframe${e}${t}`,`audio[controls]${e}${t}`,`video[controls]${e}${t}`,`[contenteditable]${e}${t}`,`[tabindex]${e}${t}`];function u(e){(e.querySelector("[autofocus]")||e).focus()}function c(e,t){if(t&&m(e))return e;if(function(e){return!(e.shadowRoot&&"-1"===e.getAttribute("tabindex")||e.matches(":disabled,[hidden],[inert]"))}(e))if(e.shadowRoot){let i=f(e.shadowRoot,t);for(;i;){const e=c(i,t);if(e)return e;i=$(i,t)}}else if("slot"===e.localName){const i=e.assignedElements({flatten:!0});t||i.reverse();for(const e of i){const i=c(e,t);if(i)return i}}else{let i=f(e,t);for(;i;){const e=c(i,t);if(e)return e;i=$(i,t)}}return!t&&m(e)?e:null}function f(e,t){return t?e.firstElementChild:e.lastElementChild}function $(e,t){return t?e.nextElementSibling:e.previousElementSibling}const m=e=>!e.shadowRoot?.delegatesFocus&&e.matches(l.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e);function v(e=document){const t=e.activeElement;return t?t.shadowRoot?v(t.shadowRoot)||document.activeElement:t:null}function y(e,t){const[i,s]=function(e){const t=c(e,!0);return[t,t?c(e,!1)||t:null]}(e);if(!i)return t.preventDefault();const n=v();t.shiftKey&&n===i?(s.focus(),t.preventDefault()):t.shiftKey||n!==s||(i.focus(),t.preventDefault())}function p(e,t){return function t(i){if(!i||i===document||i===window)return null;const s=b(i);return s&&(i=s),i.closest(e)||t(i.getRootNode().host)}(t)}function b(e){return e.assignedSlot||(e.parentNode?b(e.parentNode):null)}const g="data-a11y-dialog";class E{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(g)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){return this.shown||this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=v(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():u(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){return this.shown?(this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this):this}on(e,t,i){return this.$el.addEventListener(e,t,i),this}off(e,t,i){return this.$el.removeEventListener(e,t,i),this}fire(e,t){const i=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(i),i}handleTriggerClicks(e){const t=e.composedPath()[0],i=p(`[${g}-show="${this.id}"]`,t),s=p(`[${g}-hide="${this.id}"]`,t),n=p(`[${g}-hide]`,t)&&p('[aria-modal="true"]',t)===this.$el;i&&this.show(e),(s||n)&&this.hide(e)}bindKeypress(e){if(p('[aria-modal="true"]',v())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&y(this.$el,e)}maintainFocus(){const e=v();p(`[aria-modal="true"], [${g}-ignore-focus-trap]`,e)||u(this.$el)}}function w(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new E(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",w):w());const O={BOUTON_MENU_MOBILE:i(n),CORPS_HTML:i("body"),MENU_MOBILE:i(s)};document.addEventListener("DOMContentLoaded",()=>{(()=>{const e=new E(O.MENU_MOBILE);new ResizeObserver(t=>d(o.head(t),a.filter(e=>e.borderBoxSize[0].inlineSize>1e3),a.tap(t=>e.hide()))).observe(O.CORPS_HTML),O.BOUTON_MENU_MOBILE.addEventListener("click",()=>{window.innerWidth>1e3?window.location.href="/":O.BOUTON_MENU_MOBILE.hasAttribute(r)?e.hide():e.show()}),e.on("show",()=>{O.BOUTON_MENU_MOBILE.setAttribute(r,"")}),e.on("hide",()=>{O.BOUTON_MENU_MOBILE.removeAttribute(r)})})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.br deleted file mode 100644 index 7915ec38..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.gz deleted file mode 100644 index af84b7b0..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.zst deleted file mode 100644 index 962149c4..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js deleted file mode 100644 index fb767433..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js +++ /dev/null @@ -1 +0,0 @@ -import{m as h,i as T,a as O,R as M,j as c}from"./dom.BBcFv3WT.js";import{a9 as x}from"./exports.JV8YQBqW.js";import{P as f}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function A(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const n={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var w=[`a[href]${n.inert}${n.negTabIndex}`,`area[href]${n.inert}${n.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${n.inert}${n.negTabIndex}${n.disabled}`,`input[type="radio"]${n.inert}${n.negTabIndex}${n.disabled}`,`select${n.inert}${n.negTabIndex}${n.disabled}`,`textarea${n.inert}${n.negTabIndex}${n.disabled}`,`button${n.inert}${n.negTabIndex}${n.disabled}`,`details${n.inert} > summary:first-of-type${n.negTabIndex}`,`iframe${n.inert}${n.negTabIndex}`,`audio[controls]${n.inert}${n.negTabIndex}`,`video[controls]${n.inert}${n.negTabIndex}`,`[contenteditable]${n.inert}${n.negTabIndex}`,`[tabindex]${n.inert}${n.negTabIndex}`];function b(t){(t.querySelector("[autofocus]")||t).focus()}function I(t){const e=u(t,!0),i=e?u(t,!1)||e:null;return[e,i]}function u(t,e){if(e&&$(t))return t;if(L(t))if(t.shadowRoot){let i=m(t.shadowRoot,e);for(;i;){const s=u(i,e);if(s)return s;i=E(i,e)}}else if(t.localName==="slot"){const i=t.assignedElements({flatten:!0});e||i.reverse();for(const s of i){const o=u(s,e);if(o)return o}}else{let i=m(t,e);for(;i;){const s=u(i,e);if(s)return s;i=E(i,e)}}return!e&&$(t)?t:null}function m(t,e){return e?t.firstElementChild:t.lastElementChild}function E(t,e){return e?t.nextElementSibling:t.previousElementSibling}const _=t=>t.matches("details:not([open]) *")&&!t.matches("details>summary:first-of-type")?!0:!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),$=t=>t.shadowRoot?.delegatesFocus?!1:t.matches(w.join(","))&&!_(t);function L(t){return t.shadowRoot&&t.getAttribute("tabindex")==="-1"?!1:!t.matches(":disabled,[hidden],[inert]")}function l(t=document){const e=t.activeElement;return e?e.shadowRoot?l(e.shadowRoot)||document.activeElement:e:null}function N(t,e){const[i,s]=I(t);if(!i)return e.preventDefault();const o=l();e.shiftKey&&o===i?(s.focus(),e.preventDefault()):!e.shiftKey&&o===s&&(i.focus(),e.preventDefault())}function r(t,e){function i(s){if(!s||s===document||s===window)return null;const o=p(s);return o&&(s=o),s.closest(t)||i(s.getRootNode().host)}return i(e)}function p(t){return t.assignedSlot||(t.parentNode?p(t.parentNode):null)}const d="data-a11y-dialog";class y{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(d)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented?this:(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this)}show(e){return this.shown?this:this.fire("show",e).defaultPrevented?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=l(),this.previouslyFocused?.tagName==="BODY"&&e?.target&&(this.previouslyFocused=e.target),e?.type==="focus"?this.maintainFocus():b(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this)}hide(e){return this.shown?this.fire("hide",e).defaultPrevented?this:(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.(),this):this}on(e,i,s){return this.$el.addEventListener(e,i,s),this}off(e,i,s){return this.$el.removeEventListener(e,i,s),this}fire(e,i){const s=new CustomEvent(e,{detail:i,cancelable:!0});return this.$el.dispatchEvent(s),s}handleTriggerClicks(e){const i=e.composedPath()[0],s=r(`[${d}-show="${this.id}"]`,i),o=r(`[${d}-hide="${this.id}"]`,i),v=r(`[${d}-hide]`,i)&&r('[aria-modal="true"]',i)===this.$el;s&&this.show(e),(o||v)&&this.hide(e)}bindKeypress(e){if(r('[aria-modal="true"]',l())!==this.$el)return;let i=!1;try{i=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}e.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!i&&(e.preventDefault(),this.hide(e)),e.key==="Tab"&&N(this.$el,e)}maintainFocus(){const e=l();r(`[aria-modal="true"], [${d}-ignore-focus-trap]`,e)||b(this.$el)}}function g(){for(const t of document.querySelectorAll("[data-a11y-dialog]"))new y(t)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",g):g());const a={BOUTON_MENU_MOBILE:h(O),CORPS_HTML:h("body"),MENU_MOBILE:h(T)},B=()=>{const t=new y(a.MENU_MOBILE);new ResizeObserver(e=>x(M.head(e),f.filter(i=>i.borderBoxSize[0].inlineSize>1e3),f.tap(i=>t.hide()))).observe(a.CORPS_HTML),a.BOUTON_MENU_MOBILE.addEventListener("click",()=>{if(window.innerWidth>1e3){window.location.href="/";return}if(a.BOUTON_MENU_MOBILE.hasAttribute(c)){t.hide();return}t.show()}),t.on("show",()=>{a.BOUTON_MENU_MOBILE.setAttribute(c,"")}),t.on("hide",()=>{a.BOUTON_MENU_MOBILE.removeAttribute(c)})};document.addEventListener("DOMContentLoaded",()=>{B()});export{A as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.br deleted file mode 100644 index 6547a658..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.gz deleted file mode 100644 index 889a3d39..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.zst deleted file mode 100644 index 5a0ddd8b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js deleted file mode 100644 index 61633403..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(t,e){"use strict";var a,r,l,o,c,n,s,i,u,f,m,g;return{setters:[t=>{a=t.m,r=t.k,l=t.f,o=t.l,c=t.n,n=t.R,s=t.o,i=t.p,u=t.C,f=t.q},t=>{m=t.a9},t=>{g=t.P},null],execute:function(){const t=a(r),e=l(o),p=l(c),b=new Map;n.forEachWithIndex(e,(t,e)=>{m(e,g.flatMap(t=>t.getAttribute(s)),g.tap(a=>{b.set(a,[e,p[t]])}))}),document.addEventListener("DOMContentLoaded",()=>{t.addEventListener("click",t=>{const e=t.target;m(e,g.fromPredicate(t=>t.className===u),g.mapNullable(t=>t.parentElement),g.flatMap(t=>t.getAttribute(s)),g.tap(t=>{m(g.fromNullable(b.get(t)),g.tap(n.forEach(t=>t.removeAttribute(i))))})),m(e,g.fromPredicate(t=>t.className===f),g.flatMap(t=>t.getAttribute(s)),g.tap(t=>{e.hasAttribute(i)?m(g.fromNullable(b.get(t)),g.tap(n.forEach(t=>t.removeAttribute(i)))):(m(Array.from(b.values()),n.flat,n.forEach(t=>t.removeAttribute(i))),m(g.fromNullable(b.get(t)),g.tap(n.forEach(t=>t.toggleAttribute(i)))))}))})})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.br deleted file mode 100644 index 2fbe17f3..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.br +++ /dev/null @@ -1 +0,0 @@ -.@Tզ5Dg[SPvKdďDCT h$JXhEv؅ 5 LO:g{g?𯝧 3#q|֘r_~z:2F#!!듌ƙPXeD,£A =j6$Q>Mvjk>-Ԡ$j1=#W¯;?]cTomGIG꘢%yW]fa.~sm[A, JR7׻1Aiu/ MtmVS+a-}>Xl"N$Rbl(әg&s#ƾ# MUکR'KV0z3W(W[q"Fn  |2Y.-!h \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.gz deleted file mode 100644 index b6b99449..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.zst deleted file mode 100644 index e349a5e7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js deleted file mode 100644 index d1f87c07..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js +++ /dev/null @@ -1 +0,0 @@ -import{m as n,k as c,f as l,l as i,n as u,R as o,o as _,p as m,C as f,q as N}from"./dom.BBcFv3WT.js";import{a9 as E}from"./exports.JV8YQBqW.js";import{P as e}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function O(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const p=n(c),I=l(i),L=l(u),s=new Map;o.forEachWithIndex(I,(T,r)=>{E(r,e.flatMap(t=>t.getAttribute(_)),e.tap(t=>{s.set(t,[r,L[T]])}))});document.addEventListener("DOMContentLoaded",()=>{p.addEventListener("click",T=>{const r=T.target;E(r,e.fromPredicate(t=>t.className===f),e.mapNullable(t=>t.parentElement),e.flatMap(t=>t.getAttribute(_)),e.tap(t=>{E(e.fromNullable(s.get(t)),e.tap(o.forEach(a=>a.removeAttribute(m))))})),E(r,e.fromPredicate(t=>t.className===N),e.flatMap(t=>t.getAttribute(_)),e.tap(t=>{if(r.hasAttribute(m)){E(e.fromNullable(s.get(t)),e.tap(o.forEach(a=>a.removeAttribute(m))));return}E(Array.from(s.values()),o.flat,o.forEach(a=>a.removeAttribute(m))),E(e.fromNullable(s.get(t)),e.tap(o.forEach(a=>a.toggleAttribute(m))))}))})});export{O as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.br deleted file mode 100644 index 5c864947..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.gz deleted file mode 100644 index 89d80acf..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.zst deleted file mode 100644 index 15361877..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js deleted file mode 100644 index 1798e6c2..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./journalisation-legacy.js","./nombres-legacy.BZrbZkuk.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js"],function(e,t){"use strict";var i,n,s,o,r,T,g,E,N,h,a,I,c;return{setters:[e=>{i=e.m,n=e.r,s=e.f,o=e.s,r=e.t,T=e.u,g=e.R,E=e.v,N=e.w},e=>{h=e.n},e=>{a=e.e},e=>{I=e.a9},e=>{c=e.P}],execute:function(){const e={CONTENEUR_ANIMATION:i(r),CONTENEUR_STORYTELLING:i(".storytelling__conteneur"),IMAGES_STORYTELLING:s(o),STORYTELLING:i(n)},t=()=>{let t={height:e.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().height??0,width:e.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().width??0},i=0;h.debug`initStorytellingScroll | dimensionsImages ${t.height}`;const n=()=>{i=e.STORYTELLING.scrollTop,e.IMAGES_STORYTELLING.forEach((e,n)=>{const s=t.height*n,o=t.height*(n+1);((e,t)=>{e.toggleAttribute(N,t)})(e,!a(i,s,o))})};new ResizeObserver(()=>{(()=>{t=I(g.getBy(e.IMAGES_STORYTELLING,e=>!e.hasAttribute(N)),c.map(e=>({height:e.getBoundingClientRect().height,width:e.getBoundingClientRect().width})),c.getWithDefault({height:0,width:0})),h.debug`majDimensions | dimensionsImage ${t}`,e.CONTENEUR_ANIMATION.style.width=`${String(t.width)}px`;const i=`${String(t.height*e.IMAGES_STORYTELLING.length+61)}px`;e.CONTENEUR_STORYTELLING.style.minHeight=i,e.CONTENEUR_STORYTELLING.style.maxHeight=i,h.debug`majDimensions | nouvelleHauteurMax ${i}`})(),n()}).observe(e.STORYTELLING),e.STORYTELLING.addEventListener("scroll",()=>n())};document.addEventListener("DOMContentLoaded",()=>{e.CONTENEUR_ANIMATION.classList.remove(T),t(),I(g.at(e.IMAGES_STORYTELLING,0),c.tap(t=>{new IntersectionObserver(t=>{g.forEach(t,t=>{t.intersectionRatio>=.9?e.CONTENEUR_ANIMATION.removeAttribute(E):e.CONTENEUR_ANIMATION.setAttribute(E,""),h.debug`initGestionAnimation | estCache ${t.intersectionRatio>=.9} | ${t}`})},{root:null,rootMargin:"0px",threshold:0}).observe(t)}))})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.br deleted file mode 100644 index 6338631e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.gz deleted file mode 100644 index 24f2b188..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.zst deleted file mode 100644 index 1fff191b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js deleted file mode 100644 index e67606b5..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js +++ /dev/null @@ -1 +0,0 @@ -import{m as E,r as R,f as u,s as L,t as h,u as _,R as N,v as l,w as g}from"./dom.BBcFv3WT.js";import{n as a}from"./journalisation.js";import{e as S}from"./nombres.C1uiwPb_.js";import{a9 as m}from"./exports.JV8YQBqW.js";import{P as I}from"./index-c1cc4c86.DUxuguYh.js";function M(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const t={CONTENEUR_ANIMATION:E(h),CONTENEUR_STORYTELLING:E(".storytelling__conteneur"),IMAGES_STORYTELLING:u(L),STORYTELLING:E(R)},A=()=>{t.CONTENEUR_ANIMATION.classList.remove(_)},G=()=>{let e={height:t.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().height??0,width:t.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().width??0},s=0;a.debug`initStorytellingScroll | dimensionsImages ${e.height}`;const r=(n,i)=>{n.toggleAttribute(g,i)},T=()=>{e=m(N.getBy(t.IMAGES_STORYTELLING,i=>!i.hasAttribute(g)),I.map(i=>({height:i.getBoundingClientRect().height,width:i.getBoundingClientRect().width})),I.getWithDefault({height:0,width:0})),a.debug`majDimensions | dimensionsImage ${e}`,t.CONTENEUR_ANIMATION.style.width=`${String(e.width)}px`;const n=`${String(e.height*t.IMAGES_STORYTELLING.length+61)}px`;t.CONTENEUR_STORYTELLING.style.minHeight=n,t.CONTENEUR_STORYTELLING.style.maxHeight=n,a.debug`majDimensions | nouvelleHauteurMax ${n}`},o=()=>{s=t.STORYTELLING.scrollTop,t.IMAGES_STORYTELLING.forEach((n,i)=>{const O=e.height*i,c=e.height*(i+1);r(n,!S(s,O,c))})};new ResizeObserver(()=>{T(),o()}).observe(t.STORYTELLING),t.STORYTELLING.addEventListener("scroll",()=>o())},d=()=>{m(N.at(t.IMAGES_STORYTELLING,0),I.tap(e=>{const s={root:null,rootMargin:"0px",threshold:0},r=T=>{N.forEach(T,o=>{o.intersectionRatio>=.9?t.CONTENEUR_ANIMATION.removeAttribute(l):t.CONTENEUR_ANIMATION.setAttribute(l,""),a.debug`initGestionAnimation | estCache ${o.intersectionRatio>=.9} | ${o}`})};new IntersectionObserver(r,s).observe(e)}))};document.addEventListener("DOMContentLoaded",()=>{A(),G(),d()});export{M as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.br deleted file mode 100644 index e8fffcc7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.gz deleted file mode 100644 index a289d368..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.zst deleted file mode 100644 index bc46a297..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js deleted file mode 100644 index c9f65d41..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js +++ /dev/null @@ -1,24 +0,0 @@ -System.register(["./index-legacy.BZucyBbQ.js","./dom-legacy.BaBbaRa_.js","./api-legacy.BVjX3txO.js","./reseau-legacy.dBQarsl0.js","./validation-legacy.C-7tMwb9.js","./exports-legacy.CUaFfB0_.js","./journalisation-legacy.js"],function(t,e){"use strict";var i,a,r,_,s,o,n,d,l,u,c,p,g,m,O,E,I,T,D,h,S,U,f,N,P,R,L,b,A,y,x,v,w,k,B,C,G;return{setters:[t=>{i=t.M,a=t.z},t=>{r=t.x,_=t.y,s=t.z,o=t.B,n=t.E,d=t.F,l=t.G,u=t.H,c=t.I,p=t.J,g=t.K,m=t.L,O=t.M,E=t.N,I=t.O,T=t.m,D=t.P,h=t.Q,S=t.S,U=t.T,f=t.U,N=t.V,P=t.W,R=t.X,L=t.Y,b=t.v,A=t.Z,y=t._,x=t.$},t=>{v=t.R},t=>{w=t.E,k=t.g,B=t.n},t=>{C=t.s},t=>{G=t.a9},null],execute:function(){function t(t,e){return e(t),t}function e(){if(1===arguments.length){const e=arguments;return function(i){return t(i,e[0])}}return t(arguments[0],arguments[1])}const M={EXTERNAL:"external",GROUPED:"grouped",SIMPLE:"simple",VARIABLE:"variable"},F={IN_STOCK:"instock",ON_BACK_ORDER:"onbackorder",OUT_OF_STOCK:"outofstock"},j={ANY:"any",CATALOG:"catalog",HIDDEN:"hidden",SEARCH:"search",VISIBLE:"visible"},H={ANY:"any",DRAFT:"draft",FUTURE:"future",PENDING:"pending",PRIVATE:"private",PUBLISH:"publish",TRASH:"trash"},$=r({after:s(n()),attribute:s(n()),attribute_relation:s(o({AND:"and",IN:"in"})),attribute_term:s(n()),attributes:s(_(m())),before:s(n()),catalog_visibility:s(o(j)),category:s(n()),category_operator:s(o({AND:"and",IN:"in",NOT_IN:"not_in"})),context:s(o({EDIT:"edit",VIEW:"view"})),date_column:s(o({DATE:"date",DATE_GMT:"date_gmt",MODIFIED:"modified",MODIFIED_GMT:"modified_gmt"})),dates_are_gmt:s(g()),exclude:s(_(d(c(),p()))),exclude_meta:s(_(n())),featured:s(g()),include:s(_(d(c(),p()))),include_meta:s(_(n())),max_price:s(n()),min_price:s(n()),modified_after:s(n()),modified_before:s(n()),offset:s(d(c(),p())),on_sale:s(g()),order:s(o({ASC:"asc",DESC:"desc"})),orderby:s(o({COMMENT_COUNT:"comment_count",DATE:"date",ID:"id",INCLUDE:"include",MENU_ORDER:"menu_order",MODIFIED:"modified",POPULARITY:"popularity",PRICE:"price",RATING:"rating",SLUG:"slug",TITLE:"title"})),page:s(d(c(),u(1))),parent:s(_(d(c(),p()))),parent_exclude:s(_(d(c(),p()))),per_page:s(d(c(),u(0),l(100))),rating:s(_(o({1:1,2:2,3:3,4:4,5:5}))),search:s(n()),search_sku:s(n()),shipping_class:s(n()),sku:s(n()),slug:s(n()),status:s(o(H)),stock_status:s(_(o(F))),tag:s(n()),tag_operator:s(o({AND:"and",IN:"in",NOT_IN:"not_in"})),type:s(o(M))}),V=r({file:n(),id:n(),name:n()}),Y=r({height:n(),length:n(),width:n()}),K=r({id:d(c(),p()),name:n(),slug:n()}),q=r({id:d(c(),p()),name:n(),slug:n()}),X=r({alt:n(),date_created:n(),date_created_gmt:n(),date_modified:n(),date_modified_gmt:n(),id:d(c(),p()),name:n(),src:n()}),z=r({id:d(c(),p()),name:n(),options:_(n()),position:d(c(),p()),variation:g(),visible:g()}),W=r({id:d(c(),p()),name:n(),option:n()}),J=r({id:d(c(),p()),key:n(),option:s(m())}),Q=r({attributes:_(z),average_rating:n(),backordered:g(),backorders:o({NO:"no",NOTIFY:"notify",YES:"yes"}),backorders_allowed:g(),button_text:n(),catalog_visibility:o(j),categories:_(K),cross_sell_ids:_(d(c(),p())),date_created:n(),date_created_gmt:n(),date_modified:n(),date_modified_gmt:n(),date_on_sale_from:O([n(),E()]),date_on_sale_from_gmt:O([n(),E()]),date_on_sale_to:O([n(),E()]),date_on_sale_to_gmt:O([n(),E()]),default_attributes:_(W),description:n(),dimensions:Y,download_expiry:c(),download_limit:c(),downloadable:g(),downloads:_(V),external_url:n(),featured:g(),generated_slug:s(n()),global_unique_id:n(),grouped_products:_(d(c(),p())),has_options:g(),id:d(c(),p()),image_repos:O([n(),E()]),image_survol:O([n(),E()]),images:_(X),low_stock_amount:O([c(),E()]),manage_stock:g(),menu_order:d(c(),p()),meta_data:_(J),name:n(),on_sale:g(),parent_id:d(c(),p()),permalink:d(n(),I()),permalink_template:s(n()),post_password:n(),price:n(),price_html:n(),prix_maximal:n(),purchasable:g(),purchase_note:n(),rating_count:d(c(),p()),regular_price:n(),related_ids:_(d(c(),p())),reviews_allowed:g(),sale_price:n(),shipping_class:n(),shipping_class_id:d(c(),p()),shipping_required:g(),shipping_taxable:g(),short_description:n(),sku:n(),slug:n(),sold_individually:g(),status:o(H),stock_quantity:O([c(),E()]),stock_status:o(F),tags:_(q),tax_class:n(),tax_status:o({NONE:"none",SHIPPING:"shipping",TAXABLE:"taxable"}),total_sales:d(c(),p()),type:o(M),upsell_ids:_(d(c(),p())),variations:_(d(c(),p())),virtual:g(),weight:n()}),Z=_(Q),tt=_etats,et={BOUTON_PLUS_DE_PRODUITS:T(h),GRILLE_PRODUITS:T(D)};document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=et.GRILLE_PRODUITS.getAttribute(S);et.BOUTON_PLUS_DE_PRODUITS.addEventListener("click",()=>{const r=Number(et.GRILLE_PRODUITS.getAttribute(U))+1,_={page:r,per_page:12,status:H.PUBLISH,...t&&{category:t}};w.liftEither(C(_,$)).ifRight(()=>{et.BOUTON_PLUS_DE_PRODUITS.setAttribute(f,""),et.BOUTON_PLUS_DE_PRODUITS.setAttribute(N,""),P(et.BOUTON_PLUS_DE_PRODUITS,500)}).chain(t=>w(()=>k({authString:tt.authString,nonce:tt.nonce,route:v,searchParams:new URLSearchParams(t).toString()}))).chain(t=>w(async({throwE:e})=>i(await B(t)).with({status:500},()=>e(new R("500 Server Error"))).with({status:400},()=>e(new L("400 Server Error"))).with({status:200},t=>t.body).run())).chain(t=>w.liftEither(C(t,Z))).ifRight(t=>{t.length<12&&et.BOUTON_PLUS_DE_PRODUITS.toggleAttribute(b);const i=document.createDocumentFragment();for(const a of t.slice(0,12))G(A` - - `,e(t=>i.appendChild(t)));et.GRILLE_PRODUITS.appendChild(i),et.GRILLE_PRODUITS.setAttribute(U,String(r)),et.BOUTON_PLUS_DE_PRODUITS.textContent="Show more"}).ifLeft(t=>{i(t).with(a.instanceOf(y),t=>{x(t),console.error("ValiError",t.issues)}).otherwise(t=>{x(t),console.error("Erreur",t)}),et.BOUTON_PLUS_DE_PRODUITS.textContent="Error, try again?"}).finally(()=>{et.BOUTON_PLUS_DE_PRODUITS.removeAttribute(N),et.BOUTON_PLUS_DE_PRODUITS.removeAttribute(f)}).run()})})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.br deleted file mode 100644 index adb2793b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.gz deleted file mode 100644 index eb2692ce..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.zst deleted file mode 100644 index 50015881..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js deleted file mode 100644 index fa181d0c..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js +++ /dev/null @@ -1,24 +0,0 @@ -import{M as U,z as G}from"./index.BiLbLflF.js";import{x as d,y as i,z as e,B as n,E as t,F as r,G as V,H as D,I as a,J as o,K as s,L as b,M as m,N as T,O as w,m as P,P as k,Q as M,S as W,T as R,U as A,V as h,W as F,X as H,Y,v as $,Z as K,_ as q,$ as f}from"./dom.BBcFv3WT.js";import{R as X}from"./api.BWtmxolt.js";import{E as g,g as z,n as j}from"./reseau.CUz9kCSO.js";import{s as L}from"./validation.DpnMPnCH.js";import{a9 as J}from"./exports.JV8YQBqW.js";import"./journalisation.js";function Ut(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}function N(p,E){return E(p),p}function Q(){if(arguments.length===1){const p=arguments;return function(S){return N(S,p[0])}}return N(arguments[0],arguments[1])}const Z={EDIT:"edit",VIEW:"view"},tt={DATE:"date",DATE_GMT:"date_gmt",MODIFIED:"modified",MODIFIED_GMT:"modified_gmt"},et={ASC:"asc",DESC:"desc"},at={COMMENT_COUNT:"comment_count",DATE:"date",ID:"id",INCLUDE:"include",MENU_ORDER:"menu_order",MODIFIED:"modified",POPULARITY:"popularity",PRICE:"price",RATING:"rating",SLUG:"slug",TITLE:"title"},B={EXTERNAL:"external",GROUPED:"grouped",SIMPLE:"simple",VARIABLE:"variable"},rt={AND:"and",IN:"in",NOT_IN:"not_in"},it={AND:"and",IN:"in",NOT_IN:"not_in"},v={IN_STOCK:"instock",ON_BACK_ORDER:"onbackorder",OUT_OF_STOCK:"outofstock"},ot={AND:"and",IN:"in"},y={ANY:"any",CATALOG:"catalog",HIDDEN:"hidden",SEARCH:"search",VISIBLE:"visible"},st={1:1,2:2,3:3,4:4,5:5},I={ANY:"any",DRAFT:"draft",FUTURE:"future",PENDING:"pending",PRIVATE:"private",PUBLISH:"publish",TRASH:"trash"},nt={NONE:"none",SHIPPING:"shipping",TAXABLE:"taxable"},_t={NO:"no",NOTIFY:"notify",YES:"yes"},ct=d({after:e(t()),attribute:e(t()),attribute_relation:e(n(ot)),attribute_term:e(t()),attributes:e(i(b())),before:e(t()),catalog_visibility:e(n(y)),category:e(t()),category_operator:e(n(rt)),context:e(n(Z)),date_column:e(n(tt)),dates_are_gmt:e(s()),exclude:e(i(r(a(),o()))),exclude_meta:e(i(t())),featured:e(s()),include:e(i(r(a(),o()))),include_meta:e(i(t())),max_price:e(t()),min_price:e(t()),modified_after:e(t()),modified_before:e(t()),offset:e(r(a(),o())),on_sale:e(s()),order:e(n(et)),orderby:e(n(at)),page:e(r(a(),D(1))),parent:e(i(r(a(),o()))),parent_exclude:e(i(r(a(),o()))),per_page:e(r(a(),D(0),V(100))),rating:e(i(n(st))),search:e(t()),search_sku:e(t()),shipping_class:e(t()),sku:e(t()),slug:e(t()),status:e(n(I)),stock_status:e(i(n(v))),tag:e(t()),tag_operator:e(n(it)),type:e(n(B))}),ut=d({file:t(),id:t(),name:t()}),dt=d({height:t(),length:t(),width:t()}),lt=d({id:r(a(),o()),name:t(),slug:t()}),mt=d({id:r(a(),o()),name:t(),slug:t()}),Tt=d({alt:t(),date_created:t(),date_created_gmt:t(),date_modified:t(),date_modified_gmt:t(),id:r(a(),o()),name:t(),src:t()}),pt=d({id:r(a(),o()),name:t(),options:i(t()),position:r(a(),o()),variation:s(),visible:s()}),Et=d({id:r(a(),o()),name:t(),option:t()}),gt=d({id:r(a(),o()),key:t(),option:e(b())}),St=d({attributes:i(pt),average_rating:t(),backordered:s(),backorders:n(_t),backorders_allowed:s(),button_text:t(),catalog_visibility:n(y),categories:i(lt),cross_sell_ids:i(r(a(),o())),date_created:t(),date_created_gmt:t(),date_modified:t(),date_modified_gmt:t(),date_on_sale_from:m([t(),T()]),date_on_sale_from_gmt:m([t(),T()]),date_on_sale_to:m([t(),T()]),date_on_sale_to_gmt:m([t(),T()]),default_attributes:i(Et),description:t(),dimensions:dt,download_expiry:a(),download_limit:a(),downloadable:s(),downloads:i(ut),external_url:t(),featured:s(),generated_slug:e(t()),global_unique_id:t(),grouped_products:i(r(a(),o())),has_options:s(),id:r(a(),o()),image_repos:m([t(),T()]),image_survol:m([t(),T()]),images:i(Tt),low_stock_amount:m([a(),T()]),manage_stock:s(),menu_order:r(a(),o()),meta_data:i(gt),name:t(),on_sale:s(),parent_id:r(a(),o()),permalink:r(t(),w()),permalink_template:e(t()),post_password:t(),price:t(),price_html:t(),prix_maximal:t(),purchasable:s(),purchase_note:t(),rating_count:r(a(),o()),regular_price:t(),related_ids:i(r(a(),o())),reviews_allowed:s(),sale_price:t(),shipping_class:t(),shipping_class_id:r(a(),o()),shipping_required:s(),shipping_taxable:s(),short_description:t(),sku:t(),slug:t(),sold_individually:s(),status:n(I),stock_quantity:m([a(),T()]),stock_status:n(v),tags:i(mt),tax_class:t(),tax_status:n(nt),total_sales:r(a(),o()),type:n(B),upsell_ids:i(r(a(),o())),variations:i(r(a(),o())),virtual:s(),weight:t()}),Ot=i(St),C=_etats,O=12,_={BOUTON_PLUS_DE_PRODUITS:P(M),GRILLE_PRODUITS:P(k)},It=()=>{const p=_.GRILLE_PRODUITS.getAttribute(W);_.BOUTON_PLUS_DE_PRODUITS.addEventListener("click",()=>{const E=Number(_.GRILLE_PRODUITS.getAttribute(R))+1,S={page:E,per_page:O,status:I.PUBLISH,...p&&{category:p}};g.liftEither(L(S,ct)).ifRight(()=>{_.BOUTON_PLUS_DE_PRODUITS.setAttribute(A,""),_.BOUTON_PLUS_DE_PRODUITS.setAttribute(h,""),F(_.BOUTON_PLUS_DE_PRODUITS,500)}).chain(u=>g(()=>z({authString:C.authString,nonce:C.nonce,route:X,searchParams:new URLSearchParams(u).toString()}))).chain(u=>g(async({throwE:c})=>U(await j(u)).with({status:500},()=>c(new H("500 Server Error"))).with({status:400},()=>c(new Y("400 Server Error"))).with({status:200},l=>l.body).run())).chain(u=>g.liftEither(L(u,Ot))).ifRight(u=>{u.length -
- - - ${l.image_repos??""} - - - - ${l.image_survol??""} - - - -
-

- ${l.name} -

-

- ${l.prix_maximal}€ -

-
-
- - `,Q(x=>c.appendChild(x)));_.GRILLE_PRODUITS.appendChild(c),_.GRILLE_PRODUITS.setAttribute(R,String(E)),_.BOUTON_PLUS_DE_PRODUITS.textContent="Show more"}).ifLeft(u=>{U(u).with(G.instanceOf(q),c=>{f(c),console.error("ValiError",c.issues)}).otherwise(c=>{f(c),console.error("Erreur",c)}),_.BOUTON_PLUS_DE_PRODUITS.textContent="Error, try again?"}).finally(()=>{_.BOUTON_PLUS_DE_PRODUITS.removeAttribute(h),_.BOUTON_PLUS_DE_PRODUITS.removeAttribute(A)}).run()})};document.addEventListener("DOMContentLoaded",()=>{It()});export{Ut as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.br deleted file mode 100644 index b635caf5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.gz deleted file mode 100644 index 84a6821c..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.zst deleted file mode 100644 index 453b28ac..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js deleted file mode 100644 index 3430af96..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js +++ /dev/null @@ -1,11 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./messages-legacy.PVpnHWo9.js","./nombres-legacy.BZrbZkuk.js","./gardes-legacy.KKtp3xCq.js","./index-legacy.BZucyBbQ.js","./api-legacy.BVjX3txO.js","./reseau-legacy.dBQarsl0.js","./validation-legacy.C-7tMwb9.js","./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js"],function(t,e){"use strict";var i,n,o,s,a,r,l,d,u,c,_,h,E,A,O,p,S,m,g,f,R,N,T,v,C,y,b,w,I,$,U,L,M,D,P,x,B,F,H,k,j,V,G,J,q,W,z,K,Q,X,Z,Y,tt,et,it,nt,ot,st,at,rt,lt,dt,ut,ct,_t,ht,Et,At,Ot,pt,St,mt,gt,ft,Rt,Nt,Tt,vt,Ct,yt,bt,wt,It,$t,Ut,Lt,Mt,Dt,Pt,xt,Bt,Ft,Ht,kt,jt,Vt,Gt,Jt,qt,Wt,zt,Kt,Qt,Xt,Zt,Yt,te,ee,ie,ne;return{setters:[t=>{i=t.a0,n=t.a1,o=t.x,s=t.z,a=t.E,r=t.y,l=t.B,d=t.K,u=t.F,c=t.L,_=t.M,h=t.J,E=t.I,A=t.N,O=t.m,p=t.a2,S=t.a3,m=t.a4,g=t.a5,f=t.a6,R=t.a7,N=t.a8,T=t.a9,v=t.aa,C=t.ab,y=t.ac,b=t.ad,w=t.ae,I=t.af,$=t.ag,U=t.ah,L=t.ai,M=t.aj,D=t.ak,P=t.al,x=t.am,B=t.an,F=t.ao,H=t.ap,k=t.aq,j=t.ar,V=t._,G=t.as,J=t.at,q=t.au,W=t.V,z=t.av,K=t.U,Q=t.W,X=t.X,Z=t.aw,Y=t.v,tt=t.$,et=t.ax,it=t.ay,nt=t.az,ot=t.aA,st=t.H,at=t.aB,rt=t.aC,lt=t.Y,dt=t.aD,ut=t.aE,ct=t.aF,_t=t.aG,ht=t.A,Et=t.aH,At=t.aI,Ot=t.aJ},t=>{pt=t.W,St=t.a,mt=t.b,gt=t.e,ft=t.c,Rt=t.d,Nt=t.f,Tt=t.r,vt=t.g,Ct=t.h,yt=t.i,bt=t.N,wt=t.v,It=t.j,$t=t.k},t=>{Ut=t.d,Lt=t.a,Mt=t.f,Dt=t.i},t=>{Pt=t.y,xt=t.m,Bt=t.a,Ft=t.e},t=>{Ht=t.M,kt=t.z},t=>{jt=t.b,Vt=t.c,Gt=t.d,Jt=t.e,qt=t.f,Wt=t.g},t=>{zt=t.p,Kt=t.E,Qt=t.s,Xt=t.n,Zt=t.t,Yt=t.a},t=>{te=t.a,ee=t.s},t=>{ie=t.l},t=>{ne=t.a9}],execute:function(){function t(t){return t.trim()}const e="Something seems to be wrong with your network. Please verify your connection, refresh and try again?",oe="Something went wrong while submitting the addresses. Please refresh your page and try again?",se="adressesMaj",ae="codePromoMaj",re="shippingRatesUpdated",le="totalsUpdated",de=new CustomEvent(se,{}),ue=new CustomEvent(ae,{}),ce=(t,e)=>new CustomEvent(re,{detail:{refresh_methods:e,shipping_rates:t}}),_e=t=>new CustomEvent(le,{detail:{totals:t}}),he=t=>i.fromNullable(t.at(0)),Ee=t=>e=>i.fromNullable(e.find(t)),Ae=o({billing_address:s(St),shipping_address:s(pt)}),Oe={AUTO_DRAFT:"auto-draft",CANCELLED:"cancelled",CHECKOUT_DRAFT:"checkout-draft",COMPLETED:"completed",FAILED:"failed",ON_HOLD:"on-hold",PENDING:"pending",PROCESSING:"processing",REFUNDED:"refuneded"},pe=o({id:u(E(),h()),key:a(),value:c()}),Se=o({code:a(),discount:a(),discount_tax:a(),discount_type:a(),free_shipping:d(),id:u(E(),h()),meta_data:r(pe),nominal_amount:E()}),me=o({id:u(E(),h()),key:a(),value:c()}),ge=o({id:u(E(),h()),subtotal:a(),total:a()}),fe=o({id:u(E(),h()),meta_data:r(me),name:a(),tax_class:a(),tax_status:l({NONE:"none",TAXABLE:"taxable"}),taxes:r(ge),total:a(),total_tax:a()}),Re=o({id:u(E(),h()),key:a(),value:c()}),Ne=o({id:u(E(),h()),total:a()}),Te=o({id:s(u(E(),h())),meta_data:s(r(Re)),method_id:s(a()),method_title:s(a()),taxes:s(r(Ne)),total:s(a()),total_tax:s(a())}),ve=o({id:_([a(),u(E(),h())]),src:a()}),Ce=o({display_key:a(),display_value:a(),id:u(E(),h()),key:a(),value:c()}),ye=o({id:u(E(),h()),subtotal:a(),total:a()}),be=o({id:s(u(E(),h())),image:s(ve),meta_data:s(r(Ce)),name:s(a()),parent_name:s(_([a(),A()])),price:s(E()),product_id:s(u(E(),h())),quantity:s(u(E(),h())),sku:s(a()),subtotal:s(a()),subtotal_tax:s(a()),tax_class:s(a()),taxes:s(r(ye)),total:s(a()),total_tax:s(a()),variation_id:s(u(E(),h()))}),we=o({billing:s(St),coupon_lines:s(r(Se)),currency:s(a()),customer_id:s(u(E(),h())),customer_note:s(a()),fee_lines:s(r(fe)),line_items:s(r(be)),manual_update:s(d()),parent_id:s(u(E(),h())),payment_method:s(a()),payment_method_title:s(a()),set_paid:s(d()),shipping:s(pt),shipping_lines:s(r(Te)),status:s(l(Oe)),transaction_id:s(a())}),Ie=o({billing:St,cart_hash:a(),cart_tax:a(),coupon_lines:r(Se),created_via:a(),currency:a(),currency_symbol:a(),customer_id:u(E(),h()),customer_ip_address:a(),customer_note:a(),customer_user_agent:a(),date_completed:_([a(),A()]),date_completed_gmt:_([a(),A()]),date_created:a(),date_created_gmt:a(),date_modified:a(),date_modified_gmt:a(),date_paid:_([a(),A()]),date_paid_gmt:_([a(),A()]),discount_tax:a(),discount_total:a(),fee_lines:r(fe),id:u(E(),h()),is_editable:d(),line_items:r(be),meta_data:c(),needs_payment:d(),needs_processing:d(),number:a(),order_key:a(),parent_id:u(E(),h()),payment_method:a(),payment_method_title:a(),payment_url:a(),prices_include_tax:d(),refunds:r(c()),shipping:pt,shipping_lines:r(Te),shipping_tax:a(),shipping_total:a(),status:l(Oe),tax_lines:r(c()),total:a(),total_tax:a(),transaction_id:a(),version:a()}),$e={BOUTON_ACTIONS_FORMULAIRE:O(D),BOUTON_CODE_PROMO:O(M),BOUTON_SEPARATION_ADRESSES:O(L),CHAMP_CODE_PROMO:O(U),CONTENEUR_METHODES_LIVRAISON:O($),CONTENEUR_PANIER:O(I),ENSEMBLE_CODE_PROMO:O(w),ENTREES_PANIER:y(b),FORMULAIRE_FACTURATION:O(C),FORMULAIRE_PANIER:O(v),INSTRUCTIONS_CLIENT:O(T),MESSAGE_ADRESSES:O(N),MESSAGE_CODE_PROMO:O(R),SOUS_TOTAL_LIVRAISON_VALEUR:O(f),SOUS_TOTAL_PRODUITS:O(g),SOUS_TOTAL_PRODUITS_VALEUR:O(g),SOUS_TOTAL_REDUCTION:O(p),SOUS_TOTAL_REDUCTION_VALEUR:O(p),TOTAL_PANIER:O(m),TOTAL_PANIER_VALEUR:O(m),TOTAL_REDUCTION_LIGNE:O(S),TOTAL_REDUCTION_VALEUR:O(p)},Ue=(t,e)=>P.encase(()=>{const i=JSON.stringify(e)||"";return sessionStorage.setItem(t,i),e}),Le=(t,e)=>{return(n=t,i.fromNullable(sessionStorage.getItem(n)).toEither(B(`Clé ${n} absente dans le stockage de session.`))).chain(x).chain(te(e));var n},Me=()=>Le("shipping_rates",mt).ifLeft(F).toMaybe(),De=_etats,Pe=zt(De.nonce,De.authString),xe=(t,e)=>(ie.debug("ADDRESSES","getAddressesFromForm"),{billing_address:{address_1:t["facturation-adresse"]??t["livraison-adresse"]??"",address_2:"",city:t["facturation-ville"]??t["livraison-ville"]??"",company:"",country:e?t["facturation-pays"]??"":t["livraison-pays"]??"",email:t["facturation-email"]??t["livraison-email"]??"",first_name:t["facturation-prenom"]??t["livraison-prenom"]??"",last_name:t["facturation-nom"]??t["livraison-nom"]??"",phone:t["facturation-telephone"]??t["livraison-telephone"]??"",postcode:t["facturation-code-postal"]??t["livraison-code-postal"]??"",state:t["facturation-region-etat"]??t["livraison-region-etat"]??""},shipping_address:{address_1:t["livraison-adresse"]??"",address_2:"",city:t["livraison-ville"]??"",company:"",country:t["livraison-pays"]??"",first_name:t["livraison-prenom"]??"",last_name:t["livraison-nom"]??"",phone:t["livraison-telephone"]??"",postcode:t["livraison-code-postal"]??"",state:t["livraison-region-etat"]??""}});class Be extends Error{constructor(t){super(`Code promo « ${t} » invalide.`),this.name="ErreurCodePromoInvalide"}}const Fe=o({code:s(a())}),He=o({code:s(a())}),ke=_etats,je=globalThis,Ve=je.trustedTypes,Ge=Ve?Ve.createPolicy("lit-html",{createHTML:t=>t}):void 0,Je="$lit$",qe=`lit$${Math.random().toFixed(9).slice(2)}$`,We="?"+qe,ze=`<${We}>`,Ke=document,Qe=()=>Ke.createComment(""),Xe=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ze=Array.isArray,Ye="[ \t\n\f\r]",ti=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ei=/-->/g,ii=/>/g,ni=RegExp(`>|${Ye}(?:([^\\s"'>=/]+)(${Ye}*=${Ye}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oi=/'/g,si=/"/g,ai=/^(?:script|style|textarea|title)$/i,ri=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),li=Symbol.for("lit-noChange"),di=Symbol.for("lit-nothing"),ui=new WeakMap,ci=Ke.createTreeWalker(Ke,129);function _i(t,e){if(!Ze(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ge?Ge.createHTML(e):e}const hi=(t,e)=>{const i=t.length-1,n=[];let o,s=2===e?"":3===e?"":"",a=ti;for(let r=0;r"===l[0]?(a=o??ti,d=-1):void 0===l[1]?d=-2:(d=a.lastIndex-l[2].length,i=l[1],a=void 0===l[3]?ni:'"'===l[3]?si:oi):a===si||a===oi?a=ni:a===ei||a===ii?a=ti:(a=ni,o=void 0);const c=a===ni&&t[r+1].startsWith("/>")?" ":"";s+=a===ti?e+ze:d>=0?(n.push(i),e.slice(0,d)+Je+e.slice(d)+qe+c):e+qe+(-2===d?r:c)}return[_i(t,s+(t[i]||"")+(2===e?"":3===e?"":"")),n]};class Ei{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let o=0,s=0;const a=t.length-1,r=this.parts,[l,d]=hi(t,e);if(this.el=Ei.createElement(l,i),ci.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=ci.nextNode())&&r.length0){n.textContent=Ve?Ve.emptyScript:"";for(let i=0;iZe(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==di&&Xe(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ke.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Ei.createElement(_i(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new Oi(n,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=ui.get(t.strings);return void 0===e&&ui.set(t.strings,e=new Ei(t)),e}k(t){Ze(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const o of t)n===e.length?e.push(i=new pi(this.O(Qe()),this.O(Qe()),this,this.options)):i=e[n],i._$AI(o),n++;n2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=di}_$AI(t,e=this,i,n){const o=this.strings;let s=!1;if(void 0===o)t=Ai(this,t,e,0),s=!Xe(t)||t!==this._$AH&&t!==li,s&&(this._$AH=t);else{const n=t;let a,r;for(t=o[0],a=0;a{var t;ie.debug("METHODES_LIVRAISON","initShippingRatesChoicesActions"),it($e.CONTENEUR_METHODES_LIVRAISON)("input").ifRight((t=t=>t.addEventListener("click",t=>{var e;ie.info("METHODES_LIVRAISON","Clic sur un choix de méthode de livraison"),Me().map((e=e=>(e.selected=e.method_id===t.target.value,e),t=>(t.map(e),t))).ifJust(t=>{window.dispatchEvent(ce(t,!1))}).chain(Ee(t=>t.selected)).ifJust(t=>{Le("totals",vt).ifLeft(F).map(e=>(e.total_shipping=t.price,e.total_price=e.total_items-e.total_discount+t.price,e)).ifRight(t=>{window.dispatchEvent(_e(t))})})}),e=>{e.forEach(t)}))},vi=(t,e)=>{if(0===e.length)return void t.setAttribute(Y,"");it(t)("div[data-methode-initiale]").ifRight(nt(t=>t.remove()));const i=e.find(t=>t.selected)?.method_id??"",n=ot(e,t=>ri` -
- - -
`);t.removeAttribute(Y),((t,e)=>{const i=e;let n=i._$litPart$;if(void 0===n){const t=null;i._$litPart$=n=new pi(e.insertBefore(Qe(),t),t,void 0,{})}n._$AI(t)})(n,t),Ti()},Ci=()=>{$e.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(H),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Calculate shipping"},yi=o({key:a()}),bi=o({key:a(),quantity:u(E(),st(1))}),wi=_etats,Ii=t=>{const e=ct(t);return{additionButton:e(rt),deletionButton:e(ut),quantityInput:e(_t),substractionButton:e(dt)}},$i=t=>e=>nt(e,e=>{t?(1===Number(e.quantityInput.value)?e.substractionButton.setAttribute(K,""):e.substractionButton.removeAttribute(K),e.additionButton.removeAttribute(K),e.deletionButton.removeAttribute(K),e.deletionButton.textContent="Remove"):(e.substractionButton.setAttribute(K,""),e.additionButton.setAttribute(K,""),e.deletionButton.setAttribute(K,""),e.deletionButton.textContent="Loading")});_etats;const Ui=t=>e=>ne(At(t)(e),Ot),Li=t=>t.forEach(t=>{const e=Ui(t),i={boutonAddition:e(rt),boutonSoustraction:e(dt),boutonSuppression:e(ut),champQuantite:e(_t)};1===Number(i.champQuantite?.value)?i.boutonSoustraction.setAttribute(K,""):i.boutonSoustraction.removeAttribute(K),i.boutonAddition.removeAttribute(K),i.boutonSuppression.removeAttribute(K),i.boutonSuppression.textContent="Remove"}),Mi=()=>{new BroadcastChannel(It).onmessage=t=>{var e;$t(t).chain((e="donnees",t=>i.fromNullable(Pt.getUnsafe(t,e)).toEither(new n(`La clé « ${String(e)} » n'a pas été trouvé dans l'objet.`)))).ifRight(t=>{t.produits.forEach(e=>{$e.ENTREES_PANIER.ifRight(n=>{i.fromNullable(n.find(t=>t.getAttribute(at)===e.key)).ifJust(t=>{const i=Ui(t),o=i(Et),s=i(_t);t.setAttribute("data-quantite",String(e.quantity)),o.textContent=ne(Ut(e.totals.line_subtotal),Mt),s.setAttribute("value",String(e.quantity)),Li(n)}),$e.SOUS_TOTAL_PRODUITS.textContent=Mt(t.sousTotalProduits),$e.SOUS_TOTAL_REDUCTION.textContent=ne(Dt(t.sousTotalReduction),Lt,Mt),$e.TOTAL_PANIER.textContent=ne(Lt(t.totalPanier),Mt)})})}).ifLeft(t=>{tt(t),$e.ENTREES_PANIER.ifRight(t=>Li(t))})}};document.addEventListener("DOMContentLoaded",()=>{ie.debug("ADRESSES","initCartFormEventEmitters"),$e.FORMULAIRE_PANIER.addEventListener("change",()=>{ie.info("ADRESSES","Changement du Formulaire Panier"),i.fromFalsy($e.FORMULAIRE_PANIER.checkValidity()).ifJust(()=>window.dispatchEvent(de))}),window.addEventListener(se,()=>{Ci()}),window.addEventListener(ae,()=>{Ci()}),window.addEventListener(re,t=>{P.encase(()=>t.detail).ifRight(t=>{ie.info("ShippingRatesUpdatedEvent","shipping_rates",t),t.refresh_methods&&vi($e.CONTENEUR_METHODES_LIVRAISON,t.shipping_rates)}).chain(t=>Ue("shipping_rates",t.shipping_rates)).ifLeft(F)}),window.addEventListener(le,t=>{P.encase(()=>t.detail.totals).chain(t=>Ue("totals",t)).ifLeft(F).ifRight(t=>{$e.SOUS_TOTAL_LIVRAISON_VALEUR.textContent=Mt(t.total_shipping),$e.SOUS_TOTAL_PRODUITS_VALEUR.textContent=Mt(t.total_items),$e.SOUS_TOTAL_REDUCTION_VALEUR.textContent=Mt(-1*t.total_discount),$e.TOTAL_PANIER_VALEUR.textContent=Mt(t.total_price)})}),$e.ENTREES_PANIER.ifRight(t=>nt(t,e=>{const n=i.fromNullable(e.getAttribute(at)).ifNothing(()=>e.remove()).orDefault("CLE_PANIER_INEXISTANTE"),o=Ii(e);e.addEventListener("click",s=>{Ht(s.target).with(kt.nullish,()=>console.error(s.target)).when(t=>t.matches(rt),()=>{Kt.liftEither(i.fromNullable(o.quantityInput.valueAsNumber).toEither(new Error("Quantité manquante pour cette ligne du Panier !"))).chain(t=>Kt.liftEither(ee({key:n,quantity:t+1},bi))).ifRight(()=>ne(t,ot(Ii),$i(!1))).chain(t=>Qt(Yt({corps:JSON.stringify(t),nonce:wi.nonce,route:qt}))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:200},t=>t.body).otherwise(t=>e(Zt(t))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{Ct({quantiteProduits:t.items_count}),yt({produits:t.items,sousTotalProduits:Ut(t.totals.total_items),sousTotalReduction:Ut(t.totals.total_discount),totalPanier:Ut(t.totals.total_price)}),Rt(Nt,!0)}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error(t.issues)}).with(kt.instanceOf(X),kt.instanceOf(lt),t=>{tt(t),console.error(t)}).with(kt.instanceOf(DOMException),kt.instanceOf(TypeError),kt.instanceOf(Error),t=>{tt(t),console.error(t)}).exhaustive()}).finally(()=>{ne(t,ot(Ii),$i(!0))}).run()}).when(t=>t.matches(dt),()=>{i.fromNullable(o.quantityInput.valueAsNumber).filter(t=>t>1).ifJust(e=>{Kt.liftEither(ee({key:n,quantity:e-1},bi)).ifRight(()=>ne(t,ot(Ii),$i(!1))).chain(t=>Qt(Yt({corps:JSON.stringify(t),nonce:wi.nonce,route:qt}))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:500},()=>e(new X("500 Server Error"))).with({status:400},()=>e(new lt("400 Bad Request Error"))).with({status:200},t=>t.body).otherwise(t=>e(new Error(`Erreur inconnue ${String(t.status)}`))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{Ct({quantiteProduits:t.items_count}),yt({produits:t.items,sousTotalProduits:Ut(t.totals.total_items),sousTotalReduction:Ut(t.totals.total_discount),totalPanier:Ut(t.totals.total_price)}),Rt(Nt,!0)}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error(t.issues)}).with(kt.instanceOf(X),kt.instanceOf(lt),t=>{tt(t),console.error(t)}).with(kt.instanceOf(DOMException),kt.instanceOf(TypeError),kt.instanceOf(Error),t=>{tt(t),console.error(t)}).exhaustive()}).finally(()=>{ne(t,ot(Ii),$i(!0))}).run()})}).when(t=>t.matches(ut),()=>{i.fromNullable(o.quantityInput.valueAsNumber).ifJust(()=>{Kt.liftEither(ee({key:n},yi)).ifRight(()=>ne(t,ot(Ii),$i(!1))).chain(t=>Qt(Yt({corps:JSON.stringify(t),nonce:wi.nonce,route:Wt}))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:500},()=>e(new X("500 Server Error"))).with({status:400},()=>e(new lt("400 Bad Request Error"))).with({status:200},t=>t.body).otherwise(t=>e(new Error(`Erreur inconnue ${String(t.status)}`))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{Ct({quantiteProduits:t.items_count}),yt({produits:t.items,sousTotalProduits:Ut(t.totals.total_items),sousTotalReduction:Ut(t.totals.total_discount),totalPanier:Ut(t.totals.total_price)}),Rt(Nt,!0),e.remove()}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error(t.issues)}).with(kt.instanceOf(X),kt.instanceOf(lt),t=>{tt(t),console.error(t)}).with(kt.instanceOf(DOMException),kt.instanceOf(TypeError),kt.instanceOf(Error),t=>{tt(t),console.error(t)}).exhaustive()}).finally(()=>{ne(t,ot(Ii),$i(!0))}).run()})}).otherwise(t=>{})})})),Ti(),new BroadcastChannel(bt).onmessage=t=>{wt(t).map(Pt.getUnsafe("donnees")).ifRight(t=>{$e.CONTENEUR_PANIER.setAttribute(ht,String(0!==t.quantiteProduits))})},Mi(),$e.BOUTON_SEPARATION_ADRESSES.addEventListener("click",()=>{i.fromFalsy($e.BOUTON_SEPARATION_ADRESSES.checked).ifJust(()=>{$e.FORMULAIRE_FACTURATION.removeAttribute(Y),it($e.FORMULAIRE_FACTURATION)("input, select").ifRight(nt(t=>t.removeAttribute(K)))}).ifNothing(()=>{$e.FORMULAIRE_FACTURATION.setAttribute(Y,""),it($e.FORMULAIRE_FACTURATION)("input, select").ifRight(nt(t=>{t.setAttribute(K,""),t.value=""}))})}),ie.debug("ADRESSES","initShippingCalculationButton"),$e.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",n=>{ie.info("ADRESSES","Demande de calcul des frais de livraison de la commande"),i.fromFalsy($e.FORMULAIRE_PANIER.checkValidity()).chainNullable(()=>!$e.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(H)||void 0).ifJust(()=>{n.preventDefault();const i=ne(Object.fromEntries(new FormData($e.FORMULAIRE_PANIER)),e=>xt(e,t),t=>xe(t,$e.BOUTON_SEPARATION_ADRESSES.checked));ie.debug("ADRESSES","initShippingCalculationButton","formArgs",i),Kt.liftEither(ee(i,Ae)).ifRight(()=>k($e.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(t=>(ie.debug("ADRESSES","args",t),Qt(Pe(jt,JSON.stringify(t),!1)))).chain(t=>(ie.debug("ADRESSES","initShippingCalculationButton","rs",t),Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:200},t=>t.body).with({body:kt.when(t=>gt(t)),status:400},t=>e(new j(t.body.data.params))).otherwise(t=>e(Zt(t)))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{ie.debug("ADRESSES","initShippingCalculationButton","cart",t);const e=Me().chain(Ee(t=>t.selected)).ifJust(t=>ie.debug("ADRESSES","initShippingCalculationButton","oldSelectedRateLS",t)),i=he(t.shipping_rates).chainNullable(t=>t.shipping_rates).map(t=>t.map((t,i)=>(e.caseOf({Just:e=>{t.selected=t.method_id===e.method_id},Nothing:()=>{t.selected=0===i}}),t.price=Ut(t.price),t))).orDefault([]);ie.debug("ADRESSES","initShippingCalculationButton","updatedRates",i),window.dispatchEvent(ce(i,!0));const n=i.find(t=>t.selected)?.price??0,o={...t.totals,total_discount:Ut(t.totals.total_discount),total_items:Ut(t.totals.total_items),total_price:Ut(t.totals.total_items)-Ut(t.totals.total_discount)+n,total_shipping:n};ie.debug("ADRESSES","initShippingCalculationButton","newTotals",o),window.dispatchEvent(_e(o)),$e.MESSAGE_ADRESSES.textContent=" ",$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Check-out",$e.BOUTON_ACTIONS_FORMULAIRE.setAttribute(H,"")}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{F(t),console.error(t.issues),$e.MESSAGE_ADRESSES.textContent=oe}).with(kt.instanceOf(j),t=>{F(t),Ht(t.problemes).when(t=>ne(Bt(t),G(t=>"The provided postcode is not valid"===t)),()=>{$e.MESSAGE_ADRESSES.textContent="Please verify your postcode: it should not contain region/state indicators."}).otherwise(()=>{$e.MESSAGE_ADRESSES.textContent=oe})}).when(J,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=oe}).when(q,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=e}).exhaustive(),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Submit your addresses"}).finally(()=>k($e.BOUTON_ACTIONS_FORMULAIRE,!1)).run()}).ifNothing(()=>{n.preventDefault(),$e.MESSAGE_ADRESSES.textContent="Something is wrong in the information you filled. Please check and try again?"})}),ie.debug("ADRESSES","initOrderCreationButton"),$e.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",n=>{ie.info("ADRESSES","Demande de création de commande"),i.fromFalsy($e.FORMULAIRE_PANIER.checkValidity()&&$e.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(H)).ifJust(()=>{n.preventDefault();const o=ne(Object.fromEntries(new FormData($e.FORMULAIRE_PANIER)),xt(t)),s=Me().ifNothing(()=>{throw $e.MESSAGE_ADRESSES.textContent=oe,Rt(Nt,!0),new Error("SessionStorage indisponible.")}).chain(he).orDefault({});ie.debug("ADRESSES","initOrderCreationButton","selectedRateLS",s);const a=$e.ENTREES_PANIER.orDefault([]).map(t=>({product_id:Number(t.getAttribute("data-id-produit")),quantity:Number(t.getAttribute("data-quantite")),...t.getAttribute("data-id-variation")&&{variation_id:Number(t.getAttribute("data-id-variation"))}}));ie.debug("ADRESSES","initOrderCreationButton","cartProducts",a);const r=xe(o,$e.BOUTON_SEPARATION_ADRESSES.checked),l={billing:r.billing_address,currency:s.currency_code,customer_note:$e.INSTRUCTIONS_CLIENT.value,line_items:a,shipping:r.shipping_address,shipping_lines:[{method_id:s.method_id,method_title:s.name,total:String(s.price)}]};ie.debug("ADRESSES","initOrderCreationButton","formArgs",l),l.shipping_lines=l.shipping_lines.filter(t=>void 0!==t.method_id),Kt.liftEither(ee(l,we)).ifRight(()=>k($e.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(t=>(ie.debug("ADRESSES","args commande",t),Qt(Pe(Vt,JSON.stringify(t),!0)))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:201},t=>t.body).otherwise(t=>e(Zt(t))))).chain(t=>Kt.liftEither(ee(t,Ie))).ifRight(t=>{$e.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(W),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="OK!",$e.MESSAGE_ADRESSES.textContent=" ",n.preventDefault(),i.fromNullable(new URL(`https://${window.location.host}/checkout`)).ifJust(e=>e.searchParams.append("order_key",t.order_key)).ifJust(e=>e.searchParams.append("order_id",String(t.id))).ifJust(t=>location.assign(t))}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{F(t),console.error(t.issues),$e.MESSAGE_ADRESSES.textContent="Something went wrong while creating your order. Please refresh your page and try again?"}).when(J,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=oe}).when(q,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=e}).exhaustive(),k($e.BOUTON_ACTIONS_FORMULAIRE,!1),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Checkout"}).run()}).ifNothing(()=>n.preventDefault())}),(()=>{const t=()=>i.fromFalsy($e.CHAMP_CODE_PROMO.value.trim()).extractNullable();$e.ENSEMBLE_CODE_PROMO.addEventListener("click",e=>Ht({cible:e.target,codePromoPresent:$e.ENSEMBLE_CODE_PROMO.hasAttribute(Z),valeurCodePromo:t()}).with({cible:kt.when(t=>z(t,M)),codePromoPresent:!1,valeurCodePromo:kt.string},({valeurCodePromo:e})=>{Kt.liftEither(ee({code:e},Fe)).ifRight(()=>{$e.BOUTON_CODE_PROMO.setAttribute(K,""),$e.BOUTON_CODE_PROMO.setAttribute(W,""),$e.MESSAGE_CODE_PROMO.textContent="",Q($e.BOUTON_CODE_PROMO,500)}).map(t=>Yt({corps:JSON.stringify(t),nonce:ke.nonce,route:Gt})).chain(e=>Kt(async({throwE:i})=>{const n={body:await e.json(),status:e.status};return Ht(n).with({status:500},()=>i(new X("500 Server Error"))).with({body:kt.when(()=>Tt(n,"woocommerce_rest_cart_coupon_error")),status:400},()=>i(new Be(t()??""))).with({status:200},()=>n.body).run()})).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{$e.ENSEMBLE_CODE_PROMO.toggleAttribute(Z),$e.CHAMP_CODE_PROMO.toggleAttribute(K),$e.CHAMP_CODE_PROMO.value=t.coupons[0]?.code??"",$e.BOUTON_CODE_PROMO.textContent="Remove",$e.TOTAL_PANIER.textContent=ne(Ut(t.totals.total_price),Lt,Mt),$e.TOTAL_REDUCTION_LIGNE.toggleAttribute(Y),$e.TOTAL_REDUCTION_VALEUR.textContent=ne(Ut(t.totals.total_discount),Dt,Lt,Mt),window.dispatchEvent(ue)}).ifLeft(t=>{$e.BOUTON_CODE_PROMO.textContent="Apply",Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error("ValiError",t.issues)}).with(kt.instanceOf(Be),t=>{$e.MESSAGE_CODE_PROMO.textContent="This promo code does not exist.",tt(t),console.error(t)}).with(kt.instanceOf(X),t=>{$e.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",tt(t),console.error(t)}).with(kt.instanceOf(TypeError),t=>{$e.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",tt(t),console.error(t)}).exhaustive()}).finally(()=>{$e.BOUTON_CODE_PROMO.removeAttribute(W),$e.BOUTON_CODE_PROMO.removeAttribute(K)}).run()}).with({cible:kt.when(t=>z(t,M)),codePromoPresent:!0,valeurCodePromo:kt.string},({valeurCodePromo:t})=>{Kt.liftEither(ee({code:t},He)).ifRight(()=>{$e.BOUTON_CODE_PROMO.setAttribute(K,""),$e.BOUTON_CODE_PROMO.setAttribute(W,""),Q($e.BOUTON_CODE_PROMO,500)}).map(t=>Yt({corps:JSON.stringify(t),nonce:ke.nonce,route:Jt})).chain(t=>Kt(async({throwE:e})=>(Ft(t)&&e(new X("500 server Error")),await t.json()))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{$e.ENSEMBLE_CODE_PROMO.toggleAttribute(Z),$e.ENSEMBLE_CODE_PROMO.reset(),$e.CHAMP_CODE_PROMO.toggleAttribute(K),$e.CHAMP_CODE_PROMO.textContent="",$e.BOUTON_CODE_PROMO.textContent="Apply",$e.TOTAL_PANIER.textContent=ne(Ut(t.totals.total_price),Lt,Mt),$e.TOTAL_REDUCTION_LIGNE.toggleAttribute(Y),$e.TOTAL_REDUCTION_VALEUR.textContent="-0€",Rt(Nt,!0)}).ifLeft(t=>Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error("retour ajout code promo",t.issues)}).with(kt.instanceOf(X),t=>{tt(t),console.error("retour ajout code promo",t)}).with(kt.instanceOf(TypeError),t=>{tt(t),console.error("retour ajout code promo",t)}).exhaustive()).finally(()=>{$e.BOUTON_CODE_PROMO.removeAttribute(W),$e.BOUTON_CODE_PROMO.removeAttribute(K)}).run()}).with(kt._,et))})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.br deleted file mode 100644 index 7ee6569a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.gz deleted file mode 100644 index 9fce8d1a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.zst deleted file mode 100644 index c152e86a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js deleted file mode 100644 index 1ae97ba8..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js +++ /dev/null @@ -1,13 +0,0 @@ -import{a0 as D,a1 as be,x as g,z as u,E as _,y as v,B as Mt,K as k,F as p,L as G,M as q,J as m,I as h,N as Y,m as O,a2 as mt,a3 as $e,a4 as Vt,a5 as Ht,a6 as we,a7 as xe,a8 as Be,a9 as Ve,aa as He,ab as ke,ac as Fe,ad as Ge,ae as We,af as Je,ag as je,ah as qe,ai as Qe,aj as It,ak as ze,al as vt,am as Ke,an as Xe,ao as y,ap as At,aq as Ot,ar as kt,_ as W,as as Ze,at as se,au as oe,V as tt,av as Ft,U as T,W as Gt,X as $,aw as Tt,v as z,$ as I,ax as Ye,ay as St,az as _t,aA as H,H as ti,aB as ae,aC as Ut,Y as X,aD as Dt,aE as Pt,aF as ei,aG as Lt,A as ii,aH as ni,aI as si,aJ as oi}from"./dom.BBcFv3WT.js";import{W as yt,a as bt,b as ai,e as ri,c as Q,d as et,f as it,r as _i,g as ci,h as gt,i as Nt,N as li,v as ui,j as Ei,k as di}from"./messages.B9cwwdUT.js";import{d as f,a as nt,f as L,i as re}from"./nombres.C1uiwPb_.js";import{y as _e,m as ce,a as hi,e as Ai}from"./gardes.-KvoYkXU.js";import{M,z as E}from"./index.BiLbLflF.js";import{b as Oi,c as Si,d as pi,e as Ri,f as Wt,g as mi}from"./api.BWtmxolt.js";import{p as Ti,E as A,s as st,n as ot,t as $t,a as at}from"./reseau.CUz9kCSO.js";import{a as gi,s as P}from"./validation.DpnMPnCH.js";import{l as S}from"./journalisation.js";import{a9 as U}from"./exports.JV8YQBqW.js";function Sn(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}function le(e){return e.trim()}const Ni=e=>t=>D.fromNullable(_e.getUnsafe(t,e)).toEither(new be(`La clé « ${String(e)} » n'a pas été trouvé dans l'objet.`)),ue="Something seems to be wrong with your network. Please verify your connection, refresh and try again?",rt="Something went wrong while submitting the addresses. Please refresh your page and try again?",fi="Something went wrong while creating your order. Please refresh your page and try again?",Ci="Something is wrong in the information you filled. Please check and try again?",Ii="Please verify your postcode: it should not contain region/state indicators.",Ee="adressesMaj",de="codePromoMaj",he="shippingRatesUpdated",Ae="totalsUpdated",vi=new CustomEvent(Ee,{}),Mi=new CustomEvent(de,{}),Oe=(e,t)=>new CustomEvent(he,{detail:{refresh_methods:t,shipping_rates:e}}),Se=e=>new CustomEvent(Ae,{detail:{totals:e}}),pe=e=>D.fromNullable(e.at(0)),Re=e=>t=>D.fromNullable(t.find(e)),Ui=g({billing_address:u(bt),shipping_address:u(yt)}),me={AUTO_DRAFT:"auto-draft",CANCELLED:"cancelled",CHECKOUT_DRAFT:"checkout-draft",COMPLETED:"completed",FAILED:"failed",ON_HOLD:"on-hold",PENDING:"pending",PROCESSING:"processing",REFUNDED:"refuneded"},Di={NONE:"none",TAXABLE:"taxable"},Pi=g({id:p(h(),m()),key:_(),value:G()}),Te=g({code:_(),discount:_(),discount_tax:_(),discount_type:_(),free_shipping:k(),id:p(h(),m()),meta_data:v(Pi),nominal_amount:h()}),Li=g({id:p(h(),m()),key:_(),value:G()}),yi=g({id:p(h(),m()),subtotal:_(),total:_()}),ge=g({id:p(h(),m()),meta_data:v(Li),name:_(),tax_class:_(),tax_status:Mt(Di),taxes:v(yi),total:_(),total_tax:_()}),bi=g({id:p(h(),m()),key:_(),value:G()}),$i=g({id:p(h(),m()),total:_()}),Ne=g({id:u(p(h(),m())),meta_data:u(v(bi)),method_id:u(_()),method_title:u(_()),taxes:u(v($i)),total:u(_()),total_tax:u(_())}),wi=g({id:q([_(),p(h(),m())]),src:_()}),xi=g({display_key:_(),display_value:_(),id:p(h(),m()),key:_(),value:G()}),Bi=g({id:p(h(),m()),subtotal:_(),total:_()}),fe=g({id:u(p(h(),m())),image:u(wi),meta_data:u(v(xi)),name:u(_()),parent_name:u(q([_(),Y()])),price:u(h()),product_id:u(p(h(),m())),quantity:u(p(h(),m())),sku:u(_()),subtotal:u(_()),subtotal_tax:u(_()),tax_class:u(_()),taxes:u(v(Bi)),total:u(_()),total_tax:u(_()),variation_id:u(p(h(),m()))}),Vi=g({billing:u(bt),coupon_lines:u(v(Te)),currency:u(_()),customer_id:u(p(h(),m())),customer_note:u(_()),fee_lines:u(v(ge)),line_items:u(v(fe)),manual_update:u(k()),parent_id:u(p(h(),m())),payment_method:u(_()),payment_method_title:u(_()),set_paid:u(k()),shipping:u(yt),shipping_lines:u(v(Ne)),status:u(Mt(me)),transaction_id:u(_())}),Hi=g({billing:bt,cart_hash:_(),cart_tax:_(),coupon_lines:v(Te),created_via:_(),currency:_(),currency_symbol:_(),customer_id:p(h(),m()),customer_ip_address:_(),customer_note:_(),customer_user_agent:_(),date_completed:q([_(),Y()]),date_completed_gmt:q([_(),Y()]),date_created:_(),date_created_gmt:_(),date_modified:_(),date_modified_gmt:_(),date_paid:q([_(),Y()]),date_paid_gmt:q([_(),Y()]),discount_tax:_(),discount_total:_(),fee_lines:v(ge),id:p(h(),m()),is_editable:k(),line_items:v(fe),meta_data:G(),needs_payment:k(),needs_processing:k(),number:_(),order_key:_(),parent_id:p(h(),m()),payment_method:_(),payment_method_title:_(),payment_url:_(),prices_include_tax:k(),refunds:v(G()),shipping:yt,shipping_lines:v(Ne),shipping_tax:_(),shipping_total:_(),status:Mt(me),tax_lines:v(G()),total:_(),total_tax:_(),transaction_id:_(),version:_()}),r={BOUTON_ACTIONS_FORMULAIRE:O(ze),BOUTON_CODE_PROMO:O(It),BOUTON_SEPARATION_ADRESSES:O(Qe),CHAMP_CODE_PROMO:O(qe),CONTENEUR_METHODES_LIVRAISON:O(je),CONTENEUR_PANIER:O(Je),ENSEMBLE_CODE_PROMO:O(We),ENTREES_PANIER:Fe(Ge),FORMULAIRE_FACTURATION:O(ke),FORMULAIRE_PANIER:O(He),INSTRUCTIONS_CLIENT:O(Ve),MESSAGE_ADRESSES:O(Be),MESSAGE_CODE_PROMO:O(xe),SOUS_TOTAL_LIVRAISON_VALEUR:O(we),SOUS_TOTAL_PRODUITS:O(Ht),SOUS_TOTAL_PRODUITS_VALEUR:O(Ht),SOUS_TOTAL_REDUCTION:O(mt),SOUS_TOTAL_REDUCTION_VALEUR:O(mt),TOTAL_PANIER:O(Vt),TOTAL_PANIER_VALEUR:O(Vt),TOTAL_REDUCTION_LIGNE:O($e),TOTAL_REDUCTION_VALEUR:O(mt)},ki=e=>D.fromNullable(sessionStorage.getItem(e)).toEither(Xe(`Clé ${e} absente dans le stockage de session.`)),Jt=(e,t)=>vt.encase(()=>{const i=JSON.stringify(t)||"";return sessionStorage.setItem(e,i),t}),Ce=(e,t)=>ki(e).chain(Ke).chain(gi(t)),wt=()=>Ce("shipping_rates",ai).ifLeft(y).toMaybe(),jt=_etats,Ie=Ti(jt.nonce,jt.authString),Fi=()=>{S.debug("ADRESSES","initCartFormEventEmitters"),r.FORMULAIRE_PANIER.addEventListener("change",()=>{S.info("ADRESSES","Changement du Formulaire Panier"),D.fromFalsy(r.FORMULAIRE_PANIER.checkValidity()).ifJust(()=>window.dispatchEvent(vi))})},ve=(e,t)=>(S.debug("ADDRESSES","getAddressesFromForm"),{billing_address:{address_1:e["facturation-adresse"]??e["livraison-adresse"]??"",address_2:"",city:e["facturation-ville"]??e["livraison-ville"]??"",company:"",country:t?e["facturation-pays"]??"":e["livraison-pays"]??"",email:e["facturation-email"]??e["livraison-email"]??"",first_name:e["facturation-prenom"]??e["livraison-prenom"]??"",last_name:e["facturation-nom"]??e["livraison-nom"]??"",phone:e["facturation-telephone"]??e["livraison-telephone"]??"",postcode:e["facturation-code-postal"]??e["livraison-code-postal"]??"",state:e["facturation-region-etat"]??e["livraison-region-etat"]??""},shipping_address:{address_1:e["livraison-adresse"]??"",address_2:"",city:e["livraison-ville"]??"",company:"",country:e["livraison-pays"]??"",first_name:e["livraison-prenom"]??"",last_name:e["livraison-nom"]??"",phone:e["livraison-telephone"]??"",postcode:e["livraison-code-postal"]??"",state:e["livraison-region-etat"]??""}}),Gi=()=>{S.debug("ADRESSES","initShippingCalculationButton"),r.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",e=>{S.info("ADRESSES","Demande de calcul des frais de livraison de la commande"),D.fromFalsy(r.FORMULAIRE_PANIER.checkValidity()).chainNullable(()=>r.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(At)?void 0:!0).ifJust(()=>{e.preventDefault();const t=U(Object.fromEntries(new FormData(r.FORMULAIRE_PANIER)),i=>ce(i,le),i=>ve(i,r.BOUTON_SEPARATION_ADRESSES.checked));S.debug("ADRESSES","initShippingCalculationButton","formArgs",t),A.liftEither(P(t,Ui)).ifRight(()=>Ot(r.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(i=>(S.debug("ADRESSES","args",i),st(Ie(Oi,JSON.stringify(i),!1)))).chain(i=>(S.debug("ADRESSES","initShippingCalculationButton","rs",i),A(async({throwE:o})=>M(await ot(i)).with({status:200},n=>n.body).with({body:E.when(n=>ri(n)),status:400},n=>o(new kt(n.body.data.params))).otherwise(n=>o($t(n)))))).chain(i=>A.liftEither(P(i,Q))).ifRight(i=>{S.debug("ADRESSES","initShippingCalculationButton","cart",i);const o=wt().chain(Re(c=>c.selected)).ifJust(c=>S.debug("ADRESSES","initShippingCalculationButton","oldSelectedRateLS",c)),n=pe(i.shipping_rates).chainNullable(c=>c.shipping_rates).map(c=>c.map((l,R)=>(o.caseOf({Just:N=>{l.selected=l.method_id===N.method_id},Nothing:()=>{l.selected=R===0}}),l.price=f(l.price),l))).orDefault([]);S.debug("ADRESSES","initShippingCalculationButton","updatedRates",n),window.dispatchEvent(Oe(n,!0));const s=n.find(c=>c.selected)?.price??0,a={...i.totals,total_discount:f(i.totals.total_discount),total_items:f(i.totals.total_items),total_price:f(i.totals.total_items)-f(i.totals.total_discount)+s,total_shipping:s};S.debug("ADRESSES","initShippingCalculationButton","newTotals",a),window.dispatchEvent(Se(a)),r.MESSAGE_ADRESSES.textContent=" ",r.BOUTON_ACTIONS_FORMULAIRE.textContent="Check-out",r.BOUTON_ACTIONS_FORMULAIRE.setAttribute(At,"")}).ifLeft(i=>{M(i).with(E.instanceOf(W),o=>{y(o),console.error(o.issues),r.MESSAGE_ADRESSES.textContent=rt}).with(E.instanceOf(kt),o=>{y(o),M(o.problemes).when(n=>U(hi(n),Ze(s=>s==="The provided postcode is not valid")),()=>{r.MESSAGE_ADRESSES.textContent=Ii}).otherwise(()=>{r.MESSAGE_ADRESSES.textContent=rt})}).when(se,o=>{y(o),r.MESSAGE_ADRESSES.textContent=rt}).when(oe,o=>{y(o),r.MESSAGE_ADRESSES.textContent=ue}).exhaustive(),r.BOUTON_ACTIONS_FORMULAIRE.textContent="Submit your addresses"}).finally(()=>Ot(r.BOUTON_ACTIONS_FORMULAIRE,!1)).run()}).ifNothing(()=>{e.preventDefault(),r.MESSAGE_ADRESSES.textContent=Ci})})},Wi=()=>{S.debug("ADRESSES","initOrderCreationButton"),r.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",e=>{S.info("ADRESSES","Demande de création de commande"),D.fromFalsy(r.FORMULAIRE_PANIER.checkValidity()&&r.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(At)).ifJust(()=>{e.preventDefault();const t=U(Object.fromEntries(new FormData(r.FORMULAIRE_PANIER)),ce(le)),i=wt().ifNothing(()=>{throw r.MESSAGE_ADRESSES.textContent=rt,et(it,!0),new Error("SessionStorage indisponible.")}).chain(pe).orDefault({});S.debug("ADRESSES","initOrderCreationButton","selectedRateLS",i);const o=r.ENTREES_PANIER.orDefault([]).map(a=>({product_id:Number(a.getAttribute("data-id-produit")),quantity:Number(a.getAttribute("data-quantite")),...a.getAttribute("data-id-variation")&&{variation_id:Number(a.getAttribute("data-id-variation"))}}));S.debug("ADRESSES","initOrderCreationButton","cartProducts",o);const n=ve(t,r.BOUTON_SEPARATION_ADRESSES.checked),s={billing:n.billing_address,currency:i.currency_code,customer_note:r.INSTRUCTIONS_CLIENT.value,line_items:o,shipping:n.shipping_address,shipping_lines:[{method_id:i.method_id,method_title:i.name,total:String(i.price)}]};S.debug("ADRESSES","initOrderCreationButton","formArgs",s),s.shipping_lines=s.shipping_lines.filter(a=>a.method_id!==void 0),A.liftEither(P(s,Vi)).ifRight(()=>Ot(r.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(a=>(S.debug("ADRESSES","args commande",a),st(Ie(Si,JSON.stringify(a),!0)))).chain(a=>A(async({throwE:c})=>M(await ot(a)).with({status:201},l=>l.body).otherwise(l=>c($t(l))))).chain(a=>A.liftEither(P(a,Hi))).ifRight(a=>{r.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(tt),r.BOUTON_ACTIONS_FORMULAIRE.textContent="OK!",r.MESSAGE_ADRESSES.textContent=" ",e.preventDefault(),D.fromNullable(new URL(`https://${window.location.host}/checkout`)).ifJust(c=>c.searchParams.append("order_key",a.order_key)).ifJust(c=>c.searchParams.append("order_id",String(a.id))).ifJust(c=>location.assign(c))}).ifLeft(a=>{M(a).with(E.instanceOf(W),c=>{y(c),console.error(c.issues),r.MESSAGE_ADRESSES.textContent=fi}).when(se,c=>{y(c),r.MESSAGE_ADRESSES.textContent=rt}).when(oe,c=>{y(c),r.MESSAGE_ADRESSES.textContent=ue}).exhaustive(),Ot(r.BOUTON_ACTIONS_FORMULAIRE,!1),r.BOUTON_ACTIONS_FORMULAIRE.textContent="Checkout"}).run()}).ifNothing(()=>e.preventDefault())})},Ji="woocommerce_rest_cart_coupon_error";class qt extends Error{constructor(t){super(`Code promo « ${t} » invalide.`),this.name="ErreurCodePromoInvalide"}}const ji=g({code:u(_())}),qi=g({code:u(_())}),Qt=_etats,Qi=()=>{const e=()=>D.fromFalsy(r.CHAMP_CODE_PROMO.value.trim()).extractNullable(),t=()=>r.ENSEMBLE_CODE_PROMO.hasAttribute(Tt);r.ENSEMBLE_CODE_PROMO.addEventListener("click",i=>M({cible:i.target,codePromoPresent:t(),valeurCodePromo:e()}).with({cible:E.when(o=>Ft(o,It)),codePromoPresent:!1,valeurCodePromo:E.string},({valeurCodePromo:o})=>void A.liftEither(P({code:o},ji)).ifRight(()=>{r.BOUTON_CODE_PROMO.setAttribute(T,""),r.BOUTON_CODE_PROMO.setAttribute(tt,""),r.MESSAGE_CODE_PROMO.textContent="",Gt(r.BOUTON_CODE_PROMO,500)}).map(n=>at({corps:JSON.stringify(n),nonce:Qt.nonce,route:pi})).chain(n=>A(async({throwE:s})=>{const a={body:await n.json(),status:n.status};return M(a).with({status:500},()=>s(new $("500 Server Error"))).with({body:E.when(()=>_i(a,Ji)),status:400},()=>s(new qt(e()??""))).with({status:200},()=>a.body).run()})).chain(n=>A.liftEither(P(n,Q))).ifRight(n=>{r.ENSEMBLE_CODE_PROMO.toggleAttribute(Tt),r.CHAMP_CODE_PROMO.toggleAttribute(T),r.CHAMP_CODE_PROMO.value=n.coupons[0]?.code??"",r.BOUTON_CODE_PROMO.textContent="Remove",r.TOTAL_PANIER.textContent=U(f(n.totals.total_price),nt,L),r.TOTAL_REDUCTION_LIGNE.toggleAttribute(z),r.TOTAL_REDUCTION_VALEUR.textContent=U(f(n.totals.total_discount),re,nt,L),window.dispatchEvent(Mi)}).ifLeft(n=>{r.BOUTON_CODE_PROMO.textContent="Apply",M(n).with(E.instanceOf(W),s=>{I(s),console.error("ValiError",s.issues)}).with(E.instanceOf(qt),s=>{r.MESSAGE_CODE_PROMO.textContent="This promo code does not exist.",I(s),console.error(s)}).with(E.instanceOf($),s=>{r.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",I(s),console.error(s)}).with(E.instanceOf(TypeError),s=>{r.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",I(s),console.error(s)}).exhaustive()}).finally(()=>{r.BOUTON_CODE_PROMO.removeAttribute(tt),r.BOUTON_CODE_PROMO.removeAttribute(T)}).run()).with({cible:E.when(o=>Ft(o,It)),codePromoPresent:!0,valeurCodePromo:E.string},({valeurCodePromo:o})=>void A.liftEither(P({code:o},qi)).ifRight(()=>{r.BOUTON_CODE_PROMO.setAttribute(T,""),r.BOUTON_CODE_PROMO.setAttribute(tt,""),Gt(r.BOUTON_CODE_PROMO,500)}).map(n=>at({corps:JSON.stringify(n),nonce:Qt.nonce,route:Ri})).chain(n=>A(async({throwE:s})=>(Ai(n)&&s(new $("500 server Error")),await n.json()))).chain(n=>A.liftEither(P(n,Q))).ifRight(n=>{r.ENSEMBLE_CODE_PROMO.toggleAttribute(Tt),r.ENSEMBLE_CODE_PROMO.reset(),r.CHAMP_CODE_PROMO.toggleAttribute(T),r.CHAMP_CODE_PROMO.textContent="",r.BOUTON_CODE_PROMO.textContent="Apply",r.TOTAL_PANIER.textContent=U(f(n.totals.total_price),nt,L),r.TOTAL_REDUCTION_LIGNE.toggleAttribute(z),r.TOTAL_REDUCTION_VALEUR.textContent="-0€",et(it,!0)}).ifLeft(n=>M(n).with(E.instanceOf(W),s=>{I(s),console.error("retour ajout code promo",s.issues)}).with(E.instanceOf($),s=>{I(s),console.error("retour ajout code promo",s)}).with(E.instanceOf(TypeError),s=>{I(s),console.error("retour ajout code promo",s)}).exhaustive()).finally(()=>{r.BOUTON_CODE_PROMO.removeAttribute(tt),r.BOUTON_CODE_PROMO.removeAttribute(T)}).run()).with(E._,Ye))};const xt=globalThis,pt=xt.trustedTypes,zt=pt?pt.createPolicy("lit-html",{createHTML:e=>e}):void 0,Me="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Ue="?"+x,zi=`<${Ue}>`,J=document,ct=()=>J.createComment(""),lt=e=>e===null||typeof e!="object"&&typeof e!="function",Bt=Array.isArray,Ki=e=>Bt(e)||typeof e?.[Symbol.iterator]=="function",ft=`[ -\f\r]`,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Xt=/>/g,B=RegExp(`>|${ft}(?:([^\\s"'>=/]+)(${ft}*=${ft}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),Zt=/'/g,Yt=/"/g,De=/^(?:script|style|textarea|title)$/i,Xi=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),Zi=Xi(1),ut=Symbol.for("lit-noChange"),C=Symbol.for("lit-nothing"),te=new WeakMap,F=J.createTreeWalker(J,129);function Pe(e,t){if(!Bt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}const Yi=(e,t)=>{const i=e.length-1,o=[];let n,s=t===2?"":t===3?"":"",a=Z;for(let c=0;c"?(a=n??Z,d=-1):N[1]===void 0?d=-2:(d=a.lastIndex-N[2].length,R=N[1],a=N[3]===void 0?B:N[3]==='"'?Yt:Zt):a===Yt||a===Zt?a=B:a===Kt||a===Xt?a=Z:(a=B,n=void 0);const w=a===B&&e[c+1].startsWith("/>")?" ":"";s+=a===Z?l+zi:d>=0?(o.push(R),l.slice(0,d)+Me+l.slice(d)+x+w):l+x+(d===-2?c:w)}return[Pe(e,s+(e[i]||"")+(t===2?"":t===3?"":"")),o]};class Et{constructor({strings:t,_$litType$:i},o){let n;this.parts=[];let s=0,a=0;const c=t.length-1,l=this.parts,[R,N]=Yi(t,i);if(this.el=Et.createElement(R,o),F.currentNode=this.el.content,i===2||i===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(n=F.nextNode())!==null&&l.length0){n.textContent=pt?pt.emptyScript:"";for(let w=0;w2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=C}_$AI(t,i=this,o,n){const s=this.strings;let a=!1;if(s===void 0)t=K(this,t,i,0),a=!lt(t)||t!==this._$AH&&t!==ut,a&&(this._$AH=t);else{const c=t;let l,R;for(t=s[0],l=0;l{const o=t;let n=o._$litPart$;return n===void 0&&(o._$litPart$=n=new dt(t.insertBefore(ct(),null),null,void 0,{})),n._$AI(e),n},_n=e=>t=>{t.forEach(e)},cn=e=>t=>(t.map(e),t),Le=()=>{S.debug("METHODES_LIVRAISON","initShippingRatesChoicesActions"),St(r.CONTENEUR_METHODES_LIVRAISON)("input").ifRight(_n(e=>e.addEventListener("click",t=>{S.info("METHODES_LIVRAISON","Clic sur un choix de méthode de livraison"),wt().map(cn(i=>(i.selected=i.method_id===t.target.value,i))).ifJust(i=>{window.dispatchEvent(Oe(i,!1))}).chain(Re(i=>i.selected)).ifJust(i=>{Ce("totals",ci).ifLeft(y).map(o=>(o.total_shipping=i.price,o.total_price=o.total_items-o.total_discount+i.price,o)).ifRight(o=>{window.dispatchEvent(Se(o))})})})))},ln=(e,t)=>{if(t.length===0){e.setAttribute(z,"");return}St(e)("div[data-methode-initiale]").ifRight(_t(n=>n.remove()));const i=t.find(n=>n.selected)?.method_id??"",o=H(t,n=>Zi` -
- - -
`);e.removeAttribute(z),rn(o,e),Le()},ee=()=>{r.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(At),r.BOUTON_ACTIONS_FORMULAIRE.textContent="Calculate shipping"},un=()=>{window.addEventListener(Ee,()=>{ee()}),window.addEventListener(de,()=>{ee()}),window.addEventListener(he,e=>{vt.encase(()=>e.detail).ifRight(t=>{S.info("ShippingRatesUpdatedEvent","shipping_rates",t),t.refresh_methods&&ln(r.CONTENEUR_METHODES_LIVRAISON,t.shipping_rates)}).chain(t=>Jt("shipping_rates",t.shipping_rates)).ifLeft(y)}),window.addEventListener(Ae,e=>{vt.encase(()=>e.detail.totals).chain(t=>Jt("totals",t)).ifLeft(y).ifRight(t=>{r.SOUS_TOTAL_LIVRAISON_VALEUR.textContent=L(t.total_shipping),r.SOUS_TOTAL_PRODUITS_VALEUR.textContent=L(t.total_items),r.SOUS_TOTAL_REDUCTION_VALEUR.textContent=L(t.total_discount*-1),r.TOTAL_PANIER_VALEUR.textContent=L(t.total_price)})})},En=g({key:_()}),ie=g({key:_(),quantity:p(h(),ti(1))}),Ct=_etats,V=e=>{const t=ei(e);return{additionButton:t(Ut),deletionButton:t(Pt),quantityInput:t(Lt),substractionButton:t(Dt)}},j=e=>t=>_t(t,i=>{e?(Number(i.quantityInput.value)===1?i.substractionButton.setAttribute(T,""):i.substractionButton.removeAttribute(T),i.additionButton.removeAttribute(T),i.deletionButton.removeAttribute(T),i.deletionButton.textContent="Remove"):(i.substractionButton.setAttribute(T,""),i.additionButton.setAttribute(T,""),i.deletionButton.setAttribute(T,""),i.deletionButton.textContent="Loading")}),dn=()=>{r.ENTREES_PANIER.ifRight(e=>_t(e,t=>{const i=D.fromNullable(t.getAttribute(ae)).ifNothing(()=>t.remove()).orDefault("CLE_PANIER_INEXISTANTE"),o=V(t);t.addEventListener("click",n=>{M(n.target).with(E.nullish,()=>console.error(n.target)).when(s=>s.matches(Ut),()=>{A.liftEither(D.fromNullable(o.quantityInput.valueAsNumber).toEither(new Error("Quantité manquante pour cette ligne du Panier !"))).chain(s=>A.liftEither(P({key:i,quantity:s+1},ie))).ifRight(()=>U(e,H(V),j(!1))).chain(s=>st(at({corps:JSON.stringify(s),nonce:Ct.nonce,route:Wt}))).chain(s=>A(async({throwE:a})=>M(await ot(s)).with({status:200},c=>c.body).otherwise(c=>a($t(c))))).chain(s=>A.liftEither(P(s,Q))).ifRight(s=>{gt({quantiteProduits:s.items_count}),Nt({produits:s.items,sousTotalProduits:f(s.totals.total_items),sousTotalReduction:f(s.totals.total_discount),totalPanier:f(s.totals.total_price)}),et(it,!0)}).ifLeft(s=>{M(s).with(E.instanceOf(W),a=>{I(a),console.error(a.issues)}).with(E.instanceOf($),E.instanceOf(X),a=>{I(a),console.error(a)}).with(E.instanceOf(DOMException),E.instanceOf(TypeError),E.instanceOf(Error),a=>{I(a),console.error(a)}).exhaustive()}).finally(()=>{U(e,H(V),j(!0))}).run()}).when(s=>s.matches(Dt),()=>{D.fromNullable(o.quantityInput.valueAsNumber).filter(s=>s>1).ifJust(s=>{A.liftEither(P({key:i,quantity:s-1},ie)).ifRight(()=>U(e,H(V),j(!1))).chain(a=>st(at({corps:JSON.stringify(a),nonce:Ct.nonce,route:Wt}))).chain(a=>A(async({throwE:c})=>M(await ot(a)).with({status:500},()=>c(new $("500 Server Error"))).with({status:400},()=>c(new X("400 Bad Request Error"))).with({status:200},l=>l.body).otherwise(l=>c(new Error(`Erreur inconnue ${String(l.status)}`))))).chain(a=>A.liftEither(P(a,Q))).ifRight(a=>{gt({quantiteProduits:a.items_count}),Nt({produits:a.items,sousTotalProduits:f(a.totals.total_items),sousTotalReduction:f(a.totals.total_discount),totalPanier:f(a.totals.total_price)}),et(it,!0)}).ifLeft(a=>{M(a).with(E.instanceOf(W),c=>{I(c),console.error(c.issues)}).with(E.instanceOf($),E.instanceOf(X),c=>{I(c),console.error(c)}).with(E.instanceOf(DOMException),E.instanceOf(TypeError),E.instanceOf(Error),c=>{I(c),console.error(c)}).exhaustive()}).finally(()=>{U(e,H(V),j(!0))}).run()})}).when(s=>s.matches(Pt),()=>{D.fromNullable(o.quantityInput.valueAsNumber).ifJust(()=>{A.liftEither(P({key:i},En)).ifRight(()=>U(e,H(V),j(!1))).chain(s=>st(at({corps:JSON.stringify(s),nonce:Ct.nonce,route:mi}))).chain(s=>A(async({throwE:a})=>M(await ot(s)).with({status:500},()=>a(new $("500 Server Error"))).with({status:400},()=>a(new X("400 Bad Request Error"))).with({status:200},c=>c.body).otherwise(c=>a(new Error(`Erreur inconnue ${String(c.status)}`))))).chain(s=>A.liftEither(P(s,Q))).ifRight(s=>{gt({quantiteProduits:s.items_count}),Nt({produits:s.items,sousTotalProduits:f(s.totals.total_items),sousTotalReduction:f(s.totals.total_discount),totalPanier:f(s.totals.total_price)}),et(it,!0),t.remove()}).ifLeft(s=>{M(s).with(E.instanceOf(W),a=>{I(a),console.error(a.issues)}).with(E.instanceOf($),E.instanceOf(X),a=>{I(a),console.error(a)}).with(E.instanceOf(DOMException),E.instanceOf(TypeError),E.instanceOf(Error),a=>{I(a),console.error(a)}).exhaustive()}).finally(()=>{U(e,H(V),j(!0))}).run()})}).otherwise(s=>{})})}))};_etats;const ye=e=>t=>U(si(e)(t),oi),ne=e=>e.forEach(t=>{const i=ye(t),o={boutonAddition:i(Ut),boutonSoustraction:i(Dt),boutonSuppression:i(Pt),champQuantite:i(Lt)};Number(o.champQuantite?.value)===1?o.boutonSoustraction.setAttribute(T,""):o.boutonSoustraction.removeAttribute(T),o.boutonAddition.removeAttribute(T),o.boutonSuppression.removeAttribute(T),o.boutonSuppression.textContent="Remove"}),hn=()=>{new BroadcastChannel(li).onmessage=e=>{ui(e).map(_e.getUnsafe("donnees")).ifRight(t=>{r.CONTENEUR_PANIER.setAttribute(ii,String(t.quantiteProduits!==0))})}},An=()=>{new BroadcastChannel(Ei).onmessage=e=>{di(e).chain(Ni("donnees")).ifRight(t=>{t.produits.forEach(i=>{r.ENTREES_PANIER.ifRight(o=>{D.fromNullable(o.find(n=>n.getAttribute(ae)===i.key)).ifJust(n=>{const s=ye(n),a=s(ni),c=s(Lt);n.setAttribute("data-quantite",String(i.quantity)),a.textContent=U(f(i.totals.line_subtotal),L),c.setAttribute("value",String(i.quantity)),ne(o)}),r.SOUS_TOTAL_PRODUITS.textContent=L(t.sousTotalProduits),r.SOUS_TOTAL_REDUCTION.textContent=U(re(t.sousTotalReduction),nt,L),r.TOTAL_PANIER.textContent=U(nt(t.totalPanier),L)})})}).ifLeft(t=>{I(t),r.ENTREES_PANIER.ifRight(i=>ne(i))})}},On=()=>{r.BOUTON_SEPARATION_ADRESSES.addEventListener("click",()=>{D.fromFalsy(r.BOUTON_SEPARATION_ADRESSES.checked).ifJust(()=>{r.FORMULAIRE_FACTURATION.removeAttribute(z),St(r.FORMULAIRE_FACTURATION)("input, select").ifRight(_t(e=>e.removeAttribute(T)))}).ifNothing(()=>{r.FORMULAIRE_FACTURATION.setAttribute(z,""),St(r.FORMULAIRE_FACTURATION)("input, select").ifRight(_t(e=>{e.setAttribute(T,""),e.value=""}))})})};document.addEventListener("DOMContentLoaded",()=>{Fi(),un(),dn(),Le(),hn(),An(),On(),Gi(),Wi(),Qi()});export{Sn as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.br deleted file mode 100644 index e194fbd1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.gz deleted file mode 100644 index da65fd64..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.zst deleted file mode 100644 index c0ee10cf..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js deleted file mode 100644 index 47416f9c..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy.BZucyBbQ.js","./dom-legacy.BaBbaRa_.js","./api-legacy.BVjX3txO.js","./gardes-legacy.KKtp3xCq.js","./messages-legacy.PVpnHWo9.js","./reseau-legacy.dBQarsl0.js","./validation-legacy.C-7tMwb9.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(t,e){"use strict";var r,i,a,n,s,o,O,c,u,l,A,N,d,E,f,_,T,U,g,R,h,I,b,y,v,w,P,m,p,J,C,D,B,j,x,L,S,M,q,V;return{setters:[t=>{r=t.M,i=t.z},t=>{a=t.x,n=t.z,s=t.y,o=t.I,O=t.E,c=t.aK,u=t.aL,l=t.m,A=t.aM,N=t.f,d=t.aN,E=t.aO,f=t.aP,_=t.aQ,T=t.aR,U=t.az,g=t.v,R=t.a0,h=t.U,I=t.aS,b=t.V,y=t.W,v=t.X,w=t.Y,P=t._,m=t.$},t=>{p=t.h},t=>{J=t.b,C=t.g},t=>{D=t.c,B=t.h},t=>{j=t.E,x=t.s,L=t.a,S=t.n},t=>{M=t.s},t=>{q=t.a9},t=>{V=t.t},null],execute:function(){const t=a({attribute:O(),value:O()}),e=a({id:n(o()),quantity:n(o()),variation:n(s(t))}),z=_etats,X=t=>U(t,t=>{R.fromNullable(t.at(0)).ifJust(t=>t.setAttribute(T,"false")),R.fromNullable(t.at(1)).ifJust(t=>t.setAttribute(g,"true"))}),$={BOUTON_AJOUT_PANIER:l(f),BOUTONS_ACCORDEON:N(E),CONTENUS_ACCORDEON:N(d),PRIX_PRODUIT:l(A),DOM_VARIATION:c(u)},k=()=>{const t={id:$.DOM_VARIATION.map(t=>Number(t.value)).orDefault(z.idProduit),quantity:1};j.liftEither(M(t,e)).ifRight(()=>{$.BOUTON_AJOUT_PANIER.setAttribute(h,""),$.BOUTON_AJOUT_PANIER.setAttribute(b,""),y($.BOUTON_AJOUT_PANIER,500)}).chain(t=>x(L({corps:JSON.stringify(t),nonce:z.nonce,route:p}))).chain(t=>j(async({throwE:e})=>r(await S(t)).with({status:500},()=>e(new v("500 Server Error"))).with({status:400},()=>e(new w("400 Bad Request Error"))).with({status:201},t=>t.body).otherwise(t=>e(new Error(`Erreur inconnue ${String(t.status)}`))))).chain(t=>j.liftEither(M(t,D))).ifRight(t=>q(C(t,"items_count"),V(t=>{$.BOUTON_AJOUT_PANIER.textContent="Added to cart!",B({quantiteProduits:t})}))).ifLeft(t=>{r(t).with(i.instanceOf(P),t=>{m(t),console.error(t.issues)}).with(i.instanceOf(v),i.instanceOf(w),t=>{m(t),console.error(t)}).with(i.instanceOf(DOMException),i.instanceOf(TypeError),i.instanceOf(Error),t=>{m(t),console.error(t)}).exhaustive(),$.BOUTON_AJOUT_PANIER.textContent="Add to cart"}).finally(()=>{$.BOUTON_AJOUT_PANIER.removeAttribute(b),$.BOUTON_AJOUT_PANIER.removeAttribute(h)}).run()};document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=new Map;$.BOUTONS_ACCORDEON.forEach((e,r)=>{const i=e.getAttribute(_),a=$.CONTENUS_ACCORDEON[r];if(!i)throw new Error("Le lien ne dispose pas d'ID !");if(!a)throw new Error("Le lien ne dispose pas de section correspondante !");t.set(i,[e,a]),e.addEventListener("click",r=>{r.preventDefault();const i="true"===e.getAttribute(T);q(t.values(),Array.from,X),i||(e.setAttribute(T,"true"),a.removeAttribute(g))})}),$.DOM_VARIATION.ifRight(t=>t.addEventListener("change",t=>{const e=R.fromNullable(t.target).filter(J);e.map(t=>t.validity.valid).ifJust(t=>$.BOUTON_AJOUT_PANIER.toggleAttribute(h,!t)),e.chainNullable(t=>t.selectedOptions[0]).chainNullable(t=>t.getAttribute(I)).ifJust(t=>{$.PRIX_PRODUIT.textContent=`${t}€`})})),$.BOUTON_AJOUT_PANIER.addEventListener("click",()=>k())})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.br deleted file mode 100644 index f7441a3e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.gz deleted file mode 100644 index f080a1b1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.zst deleted file mode 100644 index f1b58afb..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js deleted file mode 100644 index e41c54bc..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js +++ /dev/null @@ -1 +0,0 @@ -import{M as E,z as n}from"./index.BiLbLflF.js";import{x as p,z as o,y as B,I as _,E as N,aK as S,aL as g,m as l,aM as b,f as m,aN as v,aO as M,aP as J,aQ as y,aR as c,az as w,v as C,a0 as u,U as T,aS as L,V as R,W as x,X as d,Y as f,_ as q,$ as O}from"./dom.BBcFv3WT.js";import{h as V}from"./api.BWtmxolt.js";import{b as X,g as G}from"./gardes.-KvoYkXU.js";import{c as W,h as j}from"./messages.B9cwwdUT.js";import{E as A,s as k,a as z,n as H}from"./reseau.CUz9kCSO.js";import{s as I}from"./validation.DpnMPnCH.js";import{a9 as D}from"./exports.JV8YQBqW.js";import{t as $}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function tt(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const Q=p({attribute:N(),value:N()}),F=p({id:o(_()),quantity:o(_()),variation:o(B(Q))}),U=_etats,K=i=>w(i,t=>{u.fromNullable(t.at(0)).ifJust(e=>e.setAttribute(c,"false")),u.fromNullable(t.at(1)).ifJust(e=>e.setAttribute(C,"true"))}),r={BOUTON_AJOUT_PANIER:l(J),BOUTONS_ACCORDEON:m(M),CONTENUS_ACCORDEON:m(v),PRIX_PRODUIT:l(b),DOM_VARIATION:S(g)},Y=()=>{const i=new Map;r.BOUTONS_ACCORDEON.forEach((t,e)=>{const s=t.getAttribute(y),a=r.CONTENUS_ACCORDEON[e];if(!s)throw new Error("Le lien ne dispose pas d'ID !");if(!a)throw new Error("Le lien ne dispose pas de section correspondante !");i.set(s,[t,a]),t.addEventListener("click",h=>{h.preventDefault();const P=t.getAttribute(c)==="true";D(i.values(),Array.from,K),!P&&(t.setAttribute(c,"true"),a.removeAttribute(C))})}),r.DOM_VARIATION.ifRight(t=>t.addEventListener("change",e=>{const s=u.fromNullable(e.target).filter(X);s.map(a=>a.validity.valid).ifJust(a=>r.BOUTON_AJOUT_PANIER.toggleAttribute(T,!a)),s.chainNullable(a=>a.selectedOptions[0]).chainNullable(a=>a.getAttribute(L)).ifJust(a=>{r.PRIX_PRODUIT.textContent=`${a}€`})})),r.BOUTON_AJOUT_PANIER.addEventListener("click",()=>Z())},Z=()=>{const i={id:r.DOM_VARIATION.map(t=>Number(t.value)).orDefault(U.idProduit),quantity:1};A.liftEither(I(i,F)).ifRight(()=>{r.BOUTON_AJOUT_PANIER.setAttribute(T,""),r.BOUTON_AJOUT_PANIER.setAttribute(R,""),x(r.BOUTON_AJOUT_PANIER,500)}).chain(t=>k(z({corps:JSON.stringify(t),nonce:U.nonce,route:V}))).chain(t=>A(async({throwE:e})=>E(await H(t)).with({status:500},()=>e(new d("500 Server Error"))).with({status:400},()=>e(new f("400 Bad Request Error"))).with({status:201},s=>s.body).otherwise(s=>e(new Error(`Erreur inconnue ${String(s.status)}`))))).chain(t=>A.liftEither(I(t,W))).ifRight(t=>D(G(t,"items_count"),$(e=>{r.BOUTON_AJOUT_PANIER.textContent="Added to cart!",j({quantiteProduits:e})}))).ifLeft(t=>{E(t).with(n.instanceOf(q),e=>{O(e),console.error(e.issues)}).with(n.instanceOf(d),n.instanceOf(f),e=>{O(e),console.error(e)}).with(n.instanceOf(DOMException),n.instanceOf(TypeError),n.instanceOf(Error),e=>{O(e),console.error(e)}).exhaustive(),r.BOUTON_AJOUT_PANIER.textContent="Add to cart"}).finally(()=>{r.BOUTON_AJOUT_PANIER.removeAttribute(R),r.BOUTON_AJOUT_PANIER.removeAttribute(T)}).run()};document.addEventListener("DOMContentLoaded",()=>{Y()});export{tt as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.br deleted file mode 100644 index bc2413a0..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.gz deleted file mode 100644 index bb02056b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.zst deleted file mode 100644 index 0c8ab44b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/validation-legacy.C-7tMwb9.js b/web/app/themes/haiku-atelier-2024/assets/js/validation-legacy.C-7tMwb9.js deleted file mode 100644 index 4854f1ed..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/validation-legacy.C-7tMwb9.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js"],function(e,s){"use strict";var t,a;return{setters:[e=>{t=e.al,a=e.ba}],execute:function(){e("s",(e,s)=>t.encase(()=>a(s,e))),e("a",e=>s=>t.encase(()=>a(e,s)))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/validation.DpnMPnCH.js b/web/app/themes/haiku-atelier-2024/assets/js/validation.DpnMPnCH.js deleted file mode 100644 index cb484450..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/validation.DpnMPnCH.js +++ /dev/null @@ -1 +0,0 @@ -import{al as s,ba as r}from"./dom.BBcFv3WT.js";const o=(a,e)=>s.encase(()=>r(e,a)),t=a=>e=>s.encase(()=>r(a,e));export{t as a,o as s}; diff --git a/web/app/themes/haiku-atelier-2024/front-page.php b/web/app/themes/haiku-atelier-2024/front-page.php index e93290ae..fca0104b 100755 --- a/web/app/themes/haiku-atelier-2024/front-page.php +++ b/web/app/themes/haiku-atelier-2024/front-page.php @@ -1,11 +1,9 @@ -add_section('liens_reseaux_sociaux', [ 'title' => __('Liens des réseaux sociaux'), @@ -149,15 +147,15 @@ function enregistre_personnalisations_theme($wp_customize) { add_action('customize_register', 'enregistre_personnalisations_theme'); function retire_tailles_image_par_defaut(mixed $sizes): mixed { - error_log(print_r($sizes, true)); - - /** @var array */ + /** @var list */ $targets = ['full', 'thumbnail']; foreach ($sizes as $size_index => $size) { - if (!in_array($size, $targets, true)) { - unset($sizes[$size_index]); + if (in_array($size, $targets, true)) { + continue; } + + unset($sizes[$size_index]); } return $sizes; @@ -171,7 +169,7 @@ add_filter('async_update_translation', '__return_false'); add_filter('auto_update_translation', '__return_false'); // Block Patterns -add_action('after_setup_theme', function () { +add_action('after_setup_theme', static function (): void { remove_theme_support('core-block-patterns'); }); add_filter('should_load_remote_block_patterns', '__return_false'); diff --git a/web/app/themes/haiku-atelier-2024/page-cart.php b/web/app/themes/haiku-atelier-2024/page-cart.php index f8ffeb76..cdfaaac8 100755 --- a/web/app/themes/haiku-atelier-2024/page-cart.php +++ b/web/app/themes/haiku-atelier-2024/page-cart.php @@ -1,15 +1,13 @@ -cart->get_subtotal(); -/** @var null|string $code_promo Le code promo appliqué au Panier s'il existe. */ +/** @var string|null $code_promo Le code promo appliqué au Panier s'il existe. */ $code_promo = collect(WC()->cart->get_applied_coupons())->first(); /** @var int $sous_total_reduction Le total du montant de la Réduction appliquée au Panier */ $sous_total_reduction = Number::format(WC()->cart->get_totals()['discount_total'], maxPrecision: 2); /** @var float $total_panier Le total de la Commande dans le Panier. */ -$total_panier = Number::format(floatval(WC()->cart->get_totals()['total']), maxPrecision: 2); +$total_panier = Number::format((float) WC()->cart->get_totals()['total'], maxPrecision: 2); foreach (WC()->cart->get_cart() as $cle_panier => $article_panier) { $panier[$cle_panier] = [ - 'attributs' => $article_panier['data']?->get_type() == 'variation' + 'attributs' => $article_panier['data']?->get_type() === 'variation' ? recupere_et_formate_attributs_produit($article_panier['data']?->get_attributes()) : [], 'cle' => $cle_panier, 'id_produit' => $article_panier['product_id'], 'id_variation' => $article_panier['variation_id'], - 'image' => pipe($article_panier['data']?->get_image_id(), fn($id) => genere_balise_img_multiformats( - id: $id, + 'image' => pipe($article_panier['data']?->get_image_id(), static fn($id): string => genere_balise_img_multiformats( + id: (string) $id, lazy: true, )), 'prix' => $article_panier['data']?->get_price(), @@ -127,15 +125,15 @@ foreach (WC()->cart->get_cart() as $cle_panier => $article_panier) { $email = WC()->customer->get_billing_email(); $adresse_livraison = WC()->customer->get_shipping(); $adresse_facturation = WC()->customer->get_billing(); -$adresse_renseignee = $adresse_livraison['city'] != ''; +$adresse_renseignee = $adresse_livraison['city'] !== ''; $pays_livraison = collect(WC()->countries->get_countries())->only($pays_acceptes)->toArray(); -$total_livraison = Number::format(floatval(WC()->cart->get_totals()['shipping_total']), precision: 0); +$total_livraison = Number::format((float) WC()->cart->get_totals()['shipping_total'], precision: 0); $methodes_livraison = collect(WC()->session->get('shipping_for_package_0')['rates']) ->values() - ->map(fn(WC_Shipping_Rate $methode) => [ + ->map(static fn(WC_Shipping_Rate $methode): array => [ 'id' => $methode->get_method_id(), - 'prix' => Number::format(intval($methode->get_cost()), maxPrecision: 2), - 'selectionnee' => collect(WC()->session->get('chosen_shipping_methods'))->first() == $methode->get_id(), + 'prix' => Number::format((int) $methode->get_cost(), maxPrecision: 2), + 'selectionnee' => collect(WC()->session->get('chosen_shipping_methods'))->first() === $methode->get_id(), 'titre' => $methode->get_label(), ]); @@ -152,14 +150,6 @@ $contexte['pays_livraison'] = $pays_livraison; $contexte['sous_total_livraison'] = $total_livraison; $contexte['methodes_livraison'] = $methodes_livraison; -// echo "
";
-// print_r($adresse_livraison);
-// print_r($adresse_facturation);
-// print_r($adresse_renseignee);
-// print_r($methodes_livraison);
-// print_r(WC()->session->get("chosen_shipping_methods"));
-// echo "
"; - // Charge les scripts et styles de la page function charge_scripts_styles_page_panier(): void { wp_enqueue_style( @@ -179,6 +169,9 @@ function charge_scripts_styles_page_panier(): void { add_action('wp_enqueue_scripts', 'charge_scripts_styles_page_panier'); +$lal = wp_json_encode($contexte); +echo ""; + // Rendu Timber::render( filenames: $modeles, diff --git a/web/app/themes/haiku-atelier-2024/page-checkout.php b/web/app/themes/haiku-atelier-2024/page-checkout.php index ce0cab56..1a1f4c58 100755 --- a/web/app/themes/haiku-atelier-2024/page-checkout.php +++ b/web/app/themes/haiku-atelier-2024/page-checkout.php @@ -6,12 +6,12 @@ declare(strict_types=1); -use Ramsey\Uuid\Uuid; use Roots\WPConfig\Config; use Stripe\BillingPortal\Session; use Stripe\Coupon; use Stripe\Product; use Stripe\Stripe; +use Symfony\Component\Uid\Uuid; header('Content-Type: application/json; charset=utf-8'); @@ -61,13 +61,13 @@ $panier = WC()->cart; /** @var string $email_client */ $email_client = WC()->session->get('customer')['email']; -/** @var array $articles */ +/** @var list $articles */ $articles = collect($panier->get_cart()) - ->map(function ($article_panier) { - $titre_produit = match ('variable' == $article_panier['data']?->get_type()) { + ->map(static function ($article_panier) { + $titre_produit = match ('variable' === $article_panier['data']?->get_type()) { true => $article_panier['data']?->get_title() . ' (' - . explode(': ', $article_panier['data']?->get_attribute_summary())[1] + . explode(': ', (string) $article_panier['data']?->get_attribute_summary())[1] . ')', false => $article_panier['data']?->get_title(), }; @@ -91,7 +91,6 @@ $articles = collect($panier->get_cart()) /** @var WC_Order $commande */ $commande = wc_get_order($order_id); -/** @var mixed $methode_livraison */ $methode_livraison = ['nom' => $commande->get_shipping_method(), 'cout' => $commande->get_shipping_total() * 100]; // Le nom de la méthode de livraison ne peut être une chaîne vide. @@ -105,19 +104,19 @@ Stripe::setApiKey(Config::get('STRIPE_API_SECRET')); // Met à jour les Codes promos $coupons_stripe = collect(Coupon::all()->data); $coupons_wc = collect(WC()->cart->get_coupons()) - ->map(fn(WC_Coupon $coupon) => [ + ->map(static fn(WC_Coupon $coupon): array => [ 'duration' => 'forever', 'id' => $coupon->get_code(), 'name' => $coupon->get_code(), 'fixed_cart' === $coupon->get_discount_type() ? 'amount_off' : 'percent_off' => $coupon->get_amount(), ]) - ->each(function (array $item) use ($coupons_stripe) { + ->each(static function (array $item) use ($coupons_stripe): void { // Si le code promo n'existe, le créer if (!$coupons_stripe->contains('name', $item['name'])) { Coupon::create($item); } }); -$reductions_stripe = $coupons_wc->map(fn($coupon) => ['coupon' => $coupon['name']])->values()->toArray(); +$reductions_stripe = $coupons_wc->map(static fn($coupon): array => ['coupon' => $coupon['name']])->values()->toArray(); /** @var Session $session_checkout_stripe */ $session_checkout_stripe = \Stripe\Checkout\Session::create([ @@ -134,9 +133,9 @@ $session_checkout_stripe = \Stripe\Checkout\Session::create([ 'tax_behavior' => 'inclusive', 'type' => 'fixed_amount', ]]], -], ['idempotency_key' => Uuid::uuid4()]); +], ['idempotency_key' => Uuid::v4()]); // echo json_encode($session_checkout_stripe); header('HTTP/1.1 303 See Other'); header('Location: ' . $session_checkout_stripe->url); -exit(); +exit; diff --git a/web/app/themes/haiku-atelier-2024/page-contact.php b/web/app/themes/haiku-atelier-2024/page-contact.php index c0d34ae4..c13037e7 100755 --- a/web/app/themes/haiku-atelier-2024/page-contact.php +++ b/web/app/themes/haiku-atelier-2024/page-contact.php @@ -1,11 +1,9 @@ -get_items())->map(function (WC_Order_Item $produit_commande) { + $produits = collect($commande->get_items())->map(static function (WC_Order_Item $produit_commande) { /** @var string $id_produit L'ID du Produit. */ $id_produit = $produit_commande['product_id']; @@ -72,7 +72,7 @@ try { // Récupère le nom et la valeur de l'attribut du Produit $attribut = $produit->is_type('variable') - ? collect($produit->get_attributes())->mapWithKeys(function ($_atr, $cle) use ($produit_commande) { + ? collect($produit->get_attributes())->mapWithKeys(static function ($_atr, $cle) use ($produit_commande) { $nom_attribut = wc_attribute_label($cle, $produit_commande->get_product()); $valeur_attribut = $produit_commande->get_product()->get_attribute($cle); @@ -83,7 +83,7 @@ try { return [ 'attribut' => $attribut, 'id_produit' => $id_produit, - 'image' => pipe($produit->get_image_id(), fn($id) => genere_balise_img_multiformats( + 'image' => pipe($produit->get_image_id(), static fn($id): string => genere_balise_img_multiformats( id: $id, lazy: true, )), @@ -114,7 +114,7 @@ try { filenames: $modeles, data: $contexte, ); -} catch (Error $e) { +} catch (Error $error) { http_response_code(500); - echo json_encode(['error' => esc_html($e->getMessage())]); + echo json_encode(['error' => esc_html($error->getMessage())]); } diff --git a/web/app/themes/haiku-atelier-2024/page-terms-and-conditions.php b/web/app/themes/haiku-atelier-2024/page-terms-and-conditions.php index ef557e4a..c33034d2 100755 --- a/web/app/themes/haiku-atelier-2024/page-terms-and-conditions.php +++ b/web/app/themes/haiku-atelier-2024/page-terms-and-conditions.php @@ -1,11 +1,9 @@ -get_type(); +// $donnees_produit = recupere_informations_produit_page_produit($product); +$donnees_produit = Product::new($product); -/** @var array $variations_produit Un tableau des informations d'affichage de chaque Variation du Produit */ +// Un tableau des informations d'affichage de chaque Variation du Produit $variations_produit = pipe( - // Récupère les IDs des Enfants (Variations) - wc_get_product()->get_children(), + $product->get_children(), // Récupère les Variations - fn($enfants) => array_map( + static fn(/** @var list */ $enfants): array => array_map( callback: wc_get_product(...), array: $enfants, ), - // Ne conserve que les Informations souhaitées - fn($variations) => array_map( - callback: fn($variation) => [ + // Ne conserve que les Informations souhaitées. + static fn(/** @var list */ $variations): array => array_map( + callback: static fn(WC_Product $variation): array => [ 'id' => $variation->get_id(), - // Ne récupère que le titre de l'Attribut unique de la Variation + // Ne récupère que le titre de l'Attribut unique de la Variation. 'titre' => match (true) { '' !== $variation->get_attribute('pa_side') => $variation->get_attribute('pa_side'), '' !== $variation->get_attribute('pa_stone') => $variation->get_attribute('pa_stone'), @@ -60,14 +57,14 @@ $variations_produit = pipe( $prix_maximal = collect($variations_produit)->max('prix'); $produits_meme_collection = array_map( - callback: 'recupere_informations_produit_page_produit', - array: recupere_produits_meme_collection($donnees_produit['collection'])($donnees_produit['id']), + callback: recupere_informations_produit_page_produit(...), + array: recupere_produits_meme_collection($donnees_produit->collection)($donnees_produit->id), ); -$contexte['produit'] = $donnees_produit; -$contexte['prix_maximal'] = $prix_maximal; -$contexte['variations_produit'] = $variations_produit; -$contexte['produits_meme_collection'] = $produits_meme_collection; +$context['produit'] = $donnees_produit; +$context['prix_maximal'] = $prix_maximal; +$context['variations_produit'] = $variations_produit; +$context['produits_meme_collection'] = $produits_meme_collection; /** * Charge les Scripts nécessaires pour la page Produit. @@ -89,11 +86,15 @@ function charge_scripts_page_produit(): void { add_action('wp_enqueue_scripts', 'charge_scripts_page_produit'); -// $lal = wp_json_encode($contexte); -// echo ""; +$lal = wp_json_encode($context); +echo ""; + +$lol = wc_get_product()->get_children(); +$lol = wp_json_encode($lol); +echo ""; // Rendu Timber::render( - filenames: $modeles, - data: $contexte, + filenames: $templates, + data: $context, ); diff --git a/web/app/themes/haiku-atelier-2024/src/StarterSite.php b/web/app/themes/haiku-atelier-2024/src/StarterSite.php index a944e861..5f9dc34d 100755 --- a/web/app/themes/haiku-atelier-2024/src/StarterSite.php +++ b/web/app/themes/haiku-atelier-2024/src/StarterSite.php @@ -4,16 +4,17 @@ declare(strict_types=1); namespace HaikuAtelier; +use function Crell\fp\pipe; +use function Env\env; use Roots\WPConfig\Config; + use Timber\Site; use Timber\URLHelper; - +use function WC; use function add_action; use function add_theme_support; use function array_map; use function base64_encode; -use function Crell\fp\pipe; -use function Env\env; use function esc_url; use function get_categories; use function get_option; @@ -23,24 +24,24 @@ use function get_privacy_policy_url; use function get_theme_mod; use function get_theme_mods; use function preg_match; -use function WC; use function wp_create_nonce; use function wp_get_attachment_image_src; use function wpautop; -class StarterSite extends Site { +final class StarterSite extends Site { public function __construct() { - add_action('after_setup_theme', [$this, 'defini_fonctionnalites_theme']); + add_action('after_setup_theme', $this->defini_fonctionnalites_theme(...)); add_action('after_setup_theme', [$this, 'charge_traductions_theme']); - add_action('timber/context', [$this, 'ajoute_au_contexte_twig']); - add_action('timber/twig/environment/options', [$this, 'maj_environnement_twig']); + add_action('timber/context', $this->ajoute_au_contexte_twig(...)); + add_action('timber/twig/environment/options', $this->maj_environnement_twig(...)); parent::__construct(); } /** - * @param array $context + * @param array $context + * * @return array */ public function ajoute_au_contexte_twig(array $context): array { @@ -65,13 +66,13 @@ class StarterSite extends Site { $context['descriptions_produits'] = $descriptions_produits; // Logo personnalisée - $context['logo'] = pipe(get_theme_mod('custom_logo'), fn($id) => wp_get_attachment_image_src( + $context['logo'] = pipe(get_theme_mod('custom_logo'), static fn($id) => wp_get_attachment_image_src( attachment_id: $id, size: 'full', )); // Informations des Pages - $recupere_informations_page = function ($slug) { + $recupere_informations_page = static function ($slug) { $page = get_page_by_path($slug); return (object) ['nom' => $page->post_title ?? '', 'lien' => get_page_link($page?->ID)]; @@ -118,18 +119,18 @@ class StarterSite extends Site { $context['base_categorie_produit'] = get_option('woocommerce_permalinks')['category_base'] ?? ''; // Récupère les Catégories de Produits - $cree_entree_menu = fn($categorie) => [ + $cree_entree_menu = static fn($categorie): array => [ 'nom' => $categorie->name, 'slug' => $categorie->slug, // Détermine si l'URL courante est celle de la Page d'Archive d'une Catégorie de Produits 'courante' => preg_match( pattern: "/(\\b{$categorie->slug}\\b)/", - subject: pipe(URLHelper::get_current_url(), URLHelper::get_rel_url(...)), + subject: (string) pipe(URLHelper::get_current_url(), URLHelper::get_rel_url(...)), ), ]; $entrees_menu_categories = pipe( get_categories(['hide_empty' => false, 'orderby' => 'menu_order', 'taxonomy' => 'product_cat']), - fn($categories) => array_map( + static fn($categories): array => array_map( callback: $cree_entree_menu, array: $categories, ), @@ -178,7 +179,7 @@ class StarterSite extends Site { /** * Met à jour l'environnement de Twig. * - * @param array $options un tableau avec les options d'environnement + * @param array $options un tableau avec les options d'environnement */ public function maj_environnement_twig(array $options): array { return $options; diff --git a/web/app/themes/haiku-atelier-2024/src/inc/ControlesPersonnalises.php b/web/app/themes/haiku-atelier-2024/src/inc/ControlesPersonnalises.php index 8d32b79b..3c17134c 100755 --- a/web/app/themes/haiku-atelier-2024/src/inc/ControlesPersonnalises.php +++ b/web/app/themes/haiku-atelier-2024/src/inc/ControlesPersonnalises.php @@ -1,4 +1,5 @@ +
+ label); ?> + description)) { ?> + description); ?> + + +
+ -
- label); ?> - description)) { ?> - description); ?> - - -
- $options + */ + public function __construct( + public string $name, + public string $slug, + public array $options, + ) {} + + public static function new(WC_Product_Attribute $attribute): self { + $name = wc_attribute_label($attribute->get_name()); + $slug = $attribute->get_name(); + /** @var list */ + $terms = $attribute->get_terms() ?? []; + /** @var list */ + $options = Arr::map($terms, static fn(WP_Term $term): AttributeOption => AttributeOption::new($term)); + + return new self( + name: $name, + slug: $slug, + options: $options, + ); + } +} diff --git a/web/app/themes/haiku-atelier-2024/src/inc/Data/AttributeOption.php b/web/app/themes/haiku-atelier-2024/src/inc/Data/AttributeOption.php new file mode 100644 index 00000000..3189eb28 --- /dev/null +++ b/web/app/themes/haiku-atelier-2024/src/inc/Data/AttributeOption.php @@ -0,0 +1,25 @@ +term_taxonomy_id; + $name = $term->name; + $slug = $term->slug; + + return new self( + id: $id, + name: $name, + slug: $slug, + ); + } +} diff --git a/web/app/themes/haiku-atelier-2024/src/inc/Data/Product.php b/web/app/themes/haiku-atelier-2024/src/inc/Data/Product.php new file mode 100644 index 00000000..1575eb8d --- /dev/null +++ b/web/app/themes/haiku-atelier-2024/src/inc/Data/Product.php @@ -0,0 +1,103 @@ + $attributes + * @param list $left_column_photos + * @param list $right_column_photos + * @param list $variation_ids + */ + private function __construct( + public array $attributes, + public string $category, + public string $collection, + public string $details, + public int $id, + public string $name, + public string $price, + public array $left_column_photos, + public array $right_column_photos, + public string $default_photo, + public string $hover_photo, + public string $slug, + public int $stock, + public array $variation_ids, + public string $url, + ) {} + + /** + * @return list + */ + public static function get_attributes_for_product(WC_Product $product): array { + /** @var list */ + return $product->get_attributes() + |> (static fn($attributes) => Arr::map($attributes, static fn(WC_Product_Attribute $attribute): Attribute => Attribute::new( + $attribute, + ))); + } + + public static function new(WC_Product $product): self { + /** @var list */ + $attributes = self::get_attributes_for_product($product); + /** @var lowercase-string */ + $category = $product->get_id() |> wc_get_product_category_list(...) |> strtolower(...); + + /** @var Option\Option> */ + $collection = Term::get_terms($product->get_id(), 'collection'); + /** @var Option\Option */ + $collection = $collection->andThen( + static fn(array $terms): Option\Option => head($terms) |> from_nullable(...), + ); + /** @var Option\Option */ + $collection = $collection->map(static fn(WP_Term $term) => $term->slug); + /** @var string */ + $collection = $collection->unwrapOr(''); + + /** @var string */ + $details = $product->get_description() |> wpautop(...); + $id = $product->get_id(); + $name = $product->get_name(); + $price = $product->get_price(); + /** @var list */ + $left_column_photos = HaikuProduct::get_left_column_photos($id); + /** @var list */ + $right_column_photos = HaikuProduct::get_right_column_photos($id); + $default_photo = $left_column_photos[0] ?? genere_balise_img_multiformats('-1'); + $hover_photo = $right_column_photos[0] ?? genere_balise_img_multiformats('-1', true); + $slug = $product->get_slug(); + $stock = $product->get_stock_quantity() ?? 1; + /** @var list */ + $variation_ids = $product->get_children(); + $url = $product->get_permalink(); + + return new self( + attributes: $attributes, + category: $category, + collection: $collection, + details: $details, + id: $id, + name: $name, + price: $price, + left_column_photos: $left_column_photos, + right_column_photos: $right_column_photos, + default_photo: $default_photo, + hover_photo: $hover_photo, + slug: $slug, + stock: $stock, + variation_ids: $variation_ids, + url: $url, + ); + } +} diff --git a/web/app/themes/haiku-atelier-2024/src/inc/Fonctionnalites.php b/web/app/themes/haiku-atelier-2024/src/inc/Fonctionnalites.php index 1f3530cd..e6cb31cc 100755 --- a/web/app/themes/haiku-atelier-2024/src/inc/Fonctionnalites.php +++ b/web/app/themes/haiku-atelier-2024/src/inc/Fonctionnalites.php @@ -14,7 +14,8 @@ function desactive_wpautop(): void { /** * Désactive divers transformations du contenu par TinyMCE. * - * @param array $configuration un tableau associatif de la configuration TinyMCE + * @param array $configuration un tableau associatif de la configuration TinyMCE + * * @return array le même tableau avec des configurations en plus */ function desactive_transformation_contenu_tinymce(array $configuration): array { @@ -32,7 +33,8 @@ function desactive_transformation_contenu_tinymce(array $configuration): array { /** * Autorise les imports en SVG dans la médiathèque. * - * @param array $file_types un tableau des types de fichiers autorisés dans la médiathèque + * @param array $file_types un tableau des types de fichiers autorisés dans la médiathèque + * * @return array le même tableau avec SVG en plus */ function autorise_import_svg_mediatheque(array $file_types): array { diff --git a/web/app/themes/haiku-atelier-2024/src/inc/FonctionnalitesWooCommerce.php b/web/app/themes/haiku-atelier-2024/src/inc/FonctionnalitesWooCommerce.php index ebbf1ff5..0f76b740 100755 --- a/web/app/themes/haiku-atelier-2024/src/inc/FonctionnalitesWooCommerce.php +++ b/web/app/themes/haiku-atelier-2024/src/inc/FonctionnalitesWooCommerce.php @@ -112,7 +112,7 @@ function retire_script_galerie(): void { remove_action('wp_head', 'wc_gallery_noscript'); } -function retire_merdes_wc() { +function retire_merdes_wc(): void { // remove WC generator tag remove_filter('get_the_generator_html', 'wc_generator_tag', 10, 2); remove_filter('get_the_generator_xhtml', 'wc_generator_tag', 10, 2); @@ -128,11 +128,11 @@ function retire_merdes_wc() { * Modifie la réponse REST pour un Produit en y ajoutant des balises pour chaque image d'intérêt. * * @param WP_REST_Response $response the response object - * @param WC_Data $product object data - * - * @return WP_REST_Response */ -function genere_balises_img_dans_produit_dans_reponse_rest($response, $_product) { +function genere_balises_img_dans_produit_dans_reponse_rest( + WP_REST_Response $response, + mixed $_product, +): WP_REST_Response { // Vérifie que la Réponse a des données if (empty($response->data)) { return $response; @@ -141,35 +141,35 @@ function genere_balises_img_dans_produit_dans_reponse_rest($response, $_product) // Génère la balise pour l'image au repos $response->data['image_repos'] = pipe( $response->data['meta_data'], - fn($metadata) => array_filter( + static fn($metadata): array => array_filter( array: $metadata, - callback: fn($entree) => '_photos_colonne_gauche|||0|value' === $entree->key, + callback: static fn($entree): bool => '_photos_colonne_gauche|||0|value' === $entree->key, ), - fn($metadata) => array_map( + static fn($metadata): array => array_map( array: $metadata, - callback: fn($entree) => genere_balise_img_multiformats( + callback: static fn($entree): string => genere_balise_img_multiformats( id: $entree?->value, lazy: true, ), ), - fn($image) => array_values(array: $image)[0], + static fn($image) => array_values(array: $image)[0], ); // Génère la balise pour l'image au survol $response->data['image_survol'] = pipe( $response->data['meta_data'], - fn($metadata) => array_filter( + static fn($metadata): array => array_filter( array: $metadata, - callback: fn($entree) => '_photos_colonne_droite|||0|value' === $entree->key, + callback: static fn($entree): bool => '_photos_colonne_droite|||0|value' === $entree->key, ), - fn($metadata) => array_map( + static fn($metadata): array => array_map( array: $metadata, - callback: fn($entree) => genere_balise_img_multiformats( + callback: static fn($entree): string => genere_balise_img_multiformats( id: $entree?->value, lazy: true, ), ), - fn($image) => array_values(array: $image)[0], + static fn($image) => array_values(array: $image)[0], ); return $response; @@ -179,20 +179,18 @@ add_filter('woocommerce_rest_prepare_product_object', 'genere_balises_img_dans_p /** * TODO. - * - * @param WP_REST_Response $reponse - * @param WC_Data $_produit - * - * @return WP_REST_Response */ -function genere_prix_maximal_produit_variable_dans_reponse_rest($reponse, $_produit) { +function genere_prix_maximal_produit_variable_dans_reponse_rest( + WP_REST_Response $reponse, + WC_Data $_produit, +): WP_REST_Response { // Vérifie que la Réponse a des données if (empty($reponse->data)) { return $reponse; } // Si le Produit n'est pas Variable, assigner le prix du Produit comme prix maximal - if ('variable' != $reponse->data['type']) { + if ('variable' !== $reponse->data['type']) { $reponse->data['prix_maximal'] = $reponse->data['regular_price']; return $reponse; @@ -200,7 +198,7 @@ function genere_prix_maximal_produit_variable_dans_reponse_rest($reponse, $_prod // Assigne le prix de la Variation la plus chère dans la Réponse $reponse->data['prix_maximal'] = collect($reponse->data['variations'])->map(wc_get_product(...))->map( - fn($p) => $p->get_price(), + static fn($p) => $p->get_price(), )->max(); return $reponse; diff --git a/web/app/themes/haiku-atelier-2024/src/inc/HTML.php b/web/app/themes/haiku-atelier-2024/src/inc/HTML.php index 236161d0..ec4ceba1 100755 --- a/web/app/themes/haiku-atelier-2024/src/inc/HTML.php +++ b/web/app/themes/haiku-atelier-2024/src/inc/HTML.php @@ -8,11 +8,8 @@ declare(strict_types=1); /** * Génère la balise `` d'un Média attaché à un Produit selon son ID. - * - * @param int $id_image - * @return string */ -function genere_balise_img($id_image) { +function genere_balise_img(int $id_image): string { return wp_get_attachment_image( attachment_id: $id_image, size: 'full', diff --git a/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php b/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php index d9d706d6..f256591f 100755 --- a/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php +++ b/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php @@ -6,25 +6,30 @@ declare(strict_types=1); use function Crell\fp\pipe; +use HaikuAtelier\Data\Attribute; + +use HaikuAtelier\Data\Product; // Page Shop /** * TODO. * - * @param int $id TODO - * @param bool $lazy TODO + * @param string $id TODO + * @param bool $lazy TODO * * @return string TODO */ -function genere_balise_img_multiformats($id, $lazy = false) { +function genere_balise_img_multiformats(string $id, bool $lazy = false): string { + $int_id = (int) $id; + if (-1 === $id) { return ''; } - $url = wp_get_attachment_image_url($id, 'full'); - $chemin = realpath(get_attached_file($id)) ?: realpath(get_attached_file($id)); - $alt = get_post_meta($id, '_wp_attachment_image_alt', true); + $url = wp_get_attachment_image_url($int_id, 'full'); + $chemin = realpath(get_attached_file($int_id)) ?: realpath(get_attached_file($int_id)); + $alt = get_post_meta($int_id, '_wp_attachment_image_alt', true); $dimensions = $chemin ? getimagesize($chemin) : ['', '']; $avif = $chemin ? realpath(pathinfo($chemin)['dirname'] . '/' . pathinfo($chemin)['filename'] . '.avif') : false; @@ -34,27 +39,26 @@ function genere_balise_img_multiformats($id, $lazy = false) { // Génère un tableau avec les différents formats valides $formats = pipe( [$avif, $jxl, $webp], - fn($tableau) => array_filter( + static fn($tableau): array => array_filter( array: $tableau, - callback: fn($chemin_format) => false !== $chemin_format, + callback: static fn($chemin_format): bool => false !== $chemin_format, ), - fn($tableau) => array_map( + static fn($tableau): array => array_map( array: $tableau, - callback: fn($chemin_format) => [ - 'format' => pathinfo($chemin_format)['extension'], + callback: static fn($chemin_format): array => [ + 'format' => pathinfo((string) $chemin_format)['extension'], 'taille' => filesize($chemin_format), - 'url' => - pathinfo($url)['dirname'] + 'url' => pathinfo($url)['dirname'] . '/' . pathinfo($url)['filename'] . '.' - . pathinfo($chemin_format)['extension'], + . pathinfo((string) $chemin_format)['extension'], ], ), ); usort( array: $formats, - callback: fn($a, $b) => $a['taille'] <=> $b['taille'], + callback: static fn($a, $b): int => $a['taille'] <=> $b['taille'], ); // Construis les balises avec les formats valides @@ -84,47 +88,36 @@ function genere_balise_img_multiformats($id, $lazy = false) { /** * TODO. - * - * @param WC_Product $a - * @param WC_Product $b - * - * @return int */ -function tri_variations_par_prix_descendant($a, $b) { - if ($a->get_price() === $b->get_price()) { - return 0; - } - - return $a->get_price() < $b->get_price() ? 1 : -1; +function tri_variations_par_prix_descendant(WC_Product $a, WC_Product $b): int { + return $b->get_price() <=> $a->get_price(); } /** * Récupère les informations utilisées pour la grille des Produits et les retourne sous forme * de tableau associatif. * - * @param WC_Product $produit - * * @return mixed un tableau avec uniquement les informations pour la Grille de Produits */ -function recupere_informations_produit_shop($produit) { +function recupere_informations_produit_shop(WC_Product $produit): mixed { /** @var int $prix_maximal Le prix maximal du Produit. */ $prix_maximal = pipe( // Récupère les Variations $produit->get_children(), // Récupère les informations de chaque Variation - fn($enfants) => array_map( + static fn($enfants): array => array_map( callback: wc_get_product(...), array: $enfants, ), // Trie les Variations par prix descendant - fn($variations) => array_map( - callback: fn($variation) => $variation->get_price(), + static fn($variations): array => array_map( + callback: static fn($variation) => $variation->get_price(), array: $variations, ), // Récupère le Prix de la Variation la plus chère - fn($prix) => collect($prix)->max(), + static fn($prix) => collect($prix)->max(), // Récupère le Prix pour la Variation la plus chère OU le prix du Produit simple - fn($prix_variation_maximale) => $prix_variation_maximale ?? $produit->get_price(), + static fn($prix_variation_maximale) => $prix_variation_maximale ?? $produit->get_price(), ); // TEMP: Cas de la Carte Cadeau où aucun prix ne doit être affiché. Idéalement utiliser un système d'étiquettes pour ces cas là. @@ -158,49 +151,50 @@ function recupere_informations_produit_shop($produit) { /** * Retourne un tableau associatif des informations affichées sur la page Produit depuis les données brutes d'un Produit. - * - * @param WC_Product $donnees_produit */ -function recupere_informations_produit_page_produit($donnees_produit): mixed { +function recupere_informations_produit_page_produit(WC_Product $product): mixed { + /** @var list */ + $attributs = Product::get_attributes_for_product($product); + return [ // Attributs du Produit - 'attributs' => wc_get_product()->get_attributes(), + 'attributs' => $attributs, // Catégorie du Produit - 'categorie' => pipe($donnees_produit->get_id(), wc_get_product_category_list(...), strtolower(...)), + 'categorie' => pipe($product->get_id(), wc_get_product_category_list(...), strtolower(...)), // Slug de la Collection - Peut ne pas avoir été défini - 'collection' => get_the_terms($donnees_produit->get_id(), 'collection')[0]->slug ?? '', + 'collection' => get_the_terms($product->get_id(), 'collection')[0]->slug ?? '', // Détails (Description) du Produit - 'details' => wpautop($donnees_produit->get_description()), + 'details' => wpautop($product->get_description()), // Identifiant du Produit - 'id' => $donnees_produit->get_id(), + 'id' => $product->get_id(), // Nom affiché du Produit - 'nom' => $donnees_produit->get_name(), + 'nom' => $product->get_name(), // Prix affiché du Produit - 'prix' => $donnees_produit->get_price(), + 'prix' => $product->get_price(), 'photos_colonne_gauche' => array_map( - callback: 'genere_balise_img_multiformats', - array: get_post_meta($post_id = $donnees_produit->get_id(), $key = '_photos_colonne_gauche|||0|value'), + callback: genere_balise_img_multiformats(...), + array: get_post_meta($post_id = $product->get_id(), $key = '_photos_colonne_gauche|||0|value'), ), 'photos_colonne_droite' => array_map( - callback: 'genere_balise_img_multiformats', + callback: genere_balise_img_multiformats(...), array: carbon_get_the_post_meta('photos_colonne_droite'), ), 'photo_repos' => genere_balise_img_multiformats( - get_post_meta($post_id = $donnees_produit->get_id(), $key = '_photos_colonne_gauche|||0|value')[0] ?? -1, + get_post_meta($post_id = $product->get_id(), $key = '_photos_colonne_gauche|||0|value')[0] ?? -1, false, ), 'photo_survol' => genere_balise_img_multiformats( - get_post_meta($post_id = $donnees_produit->get_id(), $key = '_photos_colonne_droite|||0|value')[0] ?? -1, + get_post_meta($post_id = $product->get_id(), $key = '_photos_colonne_droite|||0|value')[0] ?? -1, true, ), // Slug du Produit - 'slug' => $donnees_produit->get_slug(), + 'slug' => $product->get_slug(), // Quantité de Produit en stock - 'stock' => $donnees_produit->get_stock_quantity() ?? 1, + 'stock' => $product->get_stock_quantity() ?? 1, // Variations du Produit - 'variations_ids' => $donnees_produit->get_children(), + 'variations_ids' => $product->get_children(), // URL du Produit - 'url' => $donnees_produit->get_permalink(), + 'url' => $product->get_permalink(), ]; } @@ -209,14 +203,10 @@ function recupere_informations_produit_page_produit($donnees_produit): mixed { * collection) et les retourne sous forme de tableau associatif. * * Pour faciliter l'usage avec `array_map`, utilise une fonction avec curryfication. - * - * @param string $slug_collection - * - * @return mixed */ -function recupere_produits_meme_collection($slug_collection) { +function recupere_produits_meme_collection(string $slug_collection): mixed { // @param int $id_produit - return fn($id_produit) => wc_get_products([ + return static fn($id_produit) => wc_get_products([ 'exclude' => [$id_produit], 'limit' => 4, 'order' => 'DESC', @@ -228,12 +218,7 @@ function recupere_produits_meme_collection($slug_collection) { // Page Panier -/** - * @param mixed $attributs_produit - * - * @return mixed - */ -function recupere_et_formate_attributs_produit($attributs_produit) { +function recupere_et_formate_attributs_produit(mixed $attributs_produit): mixed { return [ 'taille' => ['nom' => 'Size', 'valeur' => $attributs_produit['pa_size'] ?? false], 'pierre' => ['nom' => 'Stone', 'valeur' => $attributs_produit['pa_stone'] ?? false], diff --git a/web/app/themes/haiku-atelier-2024/src/inc/WP/HaikuProduct.php b/web/app/themes/haiku-atelier-2024/src/inc/WP/HaikuProduct.php new file mode 100644 index 00000000..2ebd384f --- /dev/null +++ b/web/app/themes/haiku-atelier-2024/src/inc/WP/HaikuProduct.php @@ -0,0 +1,35 @@ + + */ + public static function get_left_column_photos(int $post_id): array { + /** @var list */ + return Post::get_post_meta_array($post_id, '_photos_colonne_gauche|||0|value')->unwrapOr([]) + |> (static fn(array $meta) => Arr::where($meta, static fn($meta): bool => is_string($meta))) + |> (static fn(array $array) => Arr::map($array, genere_balise_img_multiformats(...))); + } + + /** + * @return list + */ + public static function get_right_column_photos(int $post_id): array { + $meta = carbon_get_post_meta($post_id, 'photos_colonne_droite'); + + if (is_array($meta)) { + /** @var list */ + return Arr::where($meta, static fn($meta): bool => is_string($meta)) + |> (static fn(array $array) => Arr::map($array, genere_balise_img_multiformats(...))); + } + + return []; + } +} diff --git a/web/app/themes/haiku-atelier-2024/src/inc/WP/Post.php b/web/app/themes/haiku-atelier-2024/src/inc/WP/Post.php new file mode 100644 index 00000000..78f12116 --- /dev/null +++ b/web/app/themes/haiku-atelier-2024/src/inc/WP/Post.php @@ -0,0 +1,55 @@ + + */ + public static function get_post_meta(int $post_id, string $key): Option\Option { + /** @var false|mixed|string */ + $value = get_post_meta($post_id, $key, true); + + if ($value === false) { + return none(); + } + + return some($value); + } + + /** + * @return Option\Option> + */ + public static function get_post_meta_array(int $post_id, string $key): Option\Option { + /** @var array|false */ + $value = get_post_meta($post_id, $key, false); + + if (is_array($value)) { + return some($value); + } + + return none(); + } + + /** + * @return Option\Option> + */ + public static function get_terms(int $post_id, string $taxonomy_name): Option\Option { + /** @var false|list|WP_Error */ + $terms = get_the_terms($post_id, $taxonomy_name); + + if (is_array($terms)) { + return some($terms); + } + + return none(); + } +} diff --git a/web/app/themes/haiku-atelier-2024/src/inc/WP/Term.php b/web/app/themes/haiku-atelier-2024/src/inc/WP/Term.php new file mode 100644 index 00000000..2a9d014e --- /dev/null +++ b/web/app/themes/haiku-atelier-2024/src/inc/WP/Term.php @@ -0,0 +1,26 @@ +> + */ + public static function get_terms(int $post_id, string $taxonomy_name): Option\Option { + $terms = get_the_terms($post_id, $taxonomy_name); + + if (is_array($terms)) { + /** @var Option\Option> */ + return some($terms); + } + + return none(); + } +} diff --git a/web/app/themes/haiku-atelier-2024/src/sass/layouts/_informations-produit.scss b/web/app/themes/haiku-atelier-2024/src/sass/layouts/_informations-produit.scss index 5231ae8a..327ba3ef 100755 --- a/web/app/themes/haiku-atelier-2024/src/sass/layouts/_informations-produit.scss +++ b/web/app/themes/haiku-atelier-2024/src/sass/layouts/_informations-produit.scss @@ -59,7 +59,10 @@ font-size: var(--resume-police-nom-taille); } - &__selection-variation { + &__attribut-variation { + display: flex; + flex-flow: row wrap; + gap: var(--espace-m) var(--espace-l); font-size: var(--resume-police-selecteur-taille); font-weight: var(--resume-police-selecteur-graisse); text-transform: lowercase; @@ -98,7 +101,7 @@ pointer-events: none; content: " "; position: absolute; - top: 10px; + top: 7px; right: 0.4rem; display: inline-block; width: 0.9rem; @@ -148,7 +151,7 @@ } @media (width <= 500px) { - .selecteur-produit__selection-variation { + .selecteur-produit__selection-variation-attribut { flex-flow: column nowrap; row-gap: var(--espace-inter-colonne); diff --git a/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts b/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts index 54f8bf0d..12a39cdc 100755 --- a/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts +++ b/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts @@ -28,7 +28,7 @@ export const WCStoreCartItemSchema = v.object({ images: v.array(v.unknown()), item_data: v.array(v.unknown()), key: v.string(), - low_stock_remaining: v.union([v.null()]), + low_stock_remaining: v.union([v.number(), v.null()]), name: v.string(), permalink: v.pipe(v.string(), v.url()), prices: v.unknown(), diff --git a/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/products.ts b/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/products.ts index 90ccad60..6192888c 100755 --- a/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/products.ts +++ b/web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/products.ts @@ -82,7 +82,7 @@ export const WCProductSchema = v.object({ is_in_stock: v.boolean(), is_on_backorder: v.boolean(), is_purchasable: v.boolean(), - low_stock_remaining: v.union([v.string(), v.null()]), + low_stock_remaining: v.union([v.number(), v.null()]), name: v.string(), on_sale: v.boolean(), parent: v.number(), diff --git a/web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts b/web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts index 54a938b5..e718c9ea 100755 --- a/web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts +++ b/web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts @@ -4,12 +4,13 @@ import { pipe } from "@mobily/ts-belt"; import { forEach as arrayForEach } from "@mobily/ts-belt/Array"; import { get as dictGet } from "@mobily/ts-belt/Dict"; import { tap as optionTap } from "@mobily/ts-belt/Option"; +import { pipe as epipe } from "effect"; import { EitherAsync, Maybe } from "purify-ts"; import { match, P } from "ts-pattern"; import { type AnySchema, ValiError } from "valibot"; import type { WCStoreCart } from "./lib/types/api/cart"; -import type { WCStoreCartAddItemArgs } from "./lib/types/api/cart-add-item.ts"; +import type { WCStoreCartAddItemArgs, WCStoreCartAddItemArgsItems } from "./lib/types/api/cart-add-item.ts"; import type { FetchErrors } from "./lib/types/reseau.ts"; import { ROUTE_API_AJOUTE_ARTICLE_PANIER } from "./constantes/api.ts"; @@ -23,8 +24,8 @@ import { DOM_BOUTON_AJOUT_PANIER, DOM_BOUTONS_ACCORDEON, DOM_CONTENUS_ACCORDEON, - DOM_PRIX_PRODUIT, DOM_DOM_QUANTITE, + DOM_PRIX_PRODUIT, } from "./constantes/dom.ts"; import { lanceAnimationCycleLoading } from "./lib/animations.ts"; import { mustGetEleInDocument, mustGetElesInDocument, recupereElementDocumentEither } from "./lib/dom.ts"; @@ -64,8 +65,9 @@ const E = { BOUTON_AJOUT_PANIER: mustGetEleInDocument(DOM_BOUTON_AJOUT_PANIER), BOUTONS_ACCORDEON: mustGetElesInDocument(DOM_BOUTONS_ACCORDEON), CONTENUS_ACCORDEON: mustGetElesInDocument(DOM_CONTENUS_ACCORDEON), - PRIX_PRODUIT: mustGetEleInDocument(DOM_PRIX_PRODUIT), DOM_VARIATION: recupereElementDocumentEither(DOM_DOM_QUANTITE), + PRIX_PRODUIT: mustGetEleInDocument(DOM_PRIX_PRODUIT), + VARIATION_CHOICE_FORM: mustGetEleInDocument("#variation-choice"), }; const gereAccordeonDetailsProduit = (): void => { @@ -119,17 +121,39 @@ const gereAccordeonDetailsProduit = (): void => { }); }) ); - E.BOUTON_AJOUT_PANIER.addEventListener("click", (): void => ajouteProduitAuPanier()); + E.BOUTON_AJOUT_PANIER.addEventListener("click", (event: MouseEvent): void => ajouteProduitAuPanier(event)); }; -const ajouteProduitAuPanier = (): void => { +const getAttributeValuesFromDom = () => { + const selectElements = epipe( + document.querySelectorAll(".selecteur-produit select"), + Array.from, + ); + if (selectElements.length === 0) return []; + + const attributeValues = selectElements.map(select => { + return { + attribute: select.id.replace("selecteur-attribut-", ""), + value: select.value, + } satisfies WCStoreCartAddItemArgsItems; + }); + + return attributeValues; +}; + +const ajouteProduitAuPanier = (event: MouseEvent): void => { + event.preventDefault(); + console.debug("getAttributeValuesFromDom", getAttributeValuesFromDom()); + // Construis les arguments de la requête au backend const argsRequete: WCStoreCartAddItemArgs = { - id: E.DOM_VARIATION - .map((selecteur: HTMLSelectElement): number => Number(selecteur.value)) - // Récupère l'ID du Produit de la Page pour les Produits simples - .orDefault(ETATS_PAGE.idProduit), + // id: E.DOM_VARIATION + // .map((selecteur: HTMLSelectElement): number => Number(selecteur.value)) + // // Récupère l'ID du Produit de la Page pour les Produits simples + // .orDefault(ETATS_PAGE.idProduit), + id: ETATS_PAGE.idProduit, quantity: 1, + variation: getAttributeValuesFromDom(), }; // Réalise la Requête et traite sa Réponse @@ -209,6 +233,28 @@ const ajouteProduitAuPanier = (): void => { .run(); }; +const initAddToCartButtonActivationOnUserChoice = (): void => { + const selectElements: ReadonlyArray = epipe( + document.querySelectorAll(".selecteur-produit select"), + Array.from, + ); + // S'il n'y a pas de sélecteur de variation, activer le bouton. + if (selectElements.length === 0) { + E.BOUTON_AJOUT_PANIER.removeAttribute(ATTRIBUT_DESACTIVE); + } + + E.VARIATION_CHOICE_FORM.addEventListener("change", (): void => { + const formValidity = E.VARIATION_CHOICE_FORM.checkValidity(); + + if (formValidity) { + E.BOUTON_AJOUT_PANIER.removeAttribute(ATTRIBUT_DESACTIVE); + } else { + E.BOUTON_AJOUT_PANIER.setAttribute(ATTRIBUT_DESACTIVE, ""); + } + }); +}; + document.addEventListener("DOMContentLoaded", (): void => { gereAccordeonDetailsProduit(); + initAddToCartButtonActivationOnUserChoice(); }); diff --git a/web/app/themes/haiku-atelier-2024/taxonomy-product_cat.php b/web/app/themes/haiku-atelier-2024/taxonomy-product_cat.php index 0feb6962..6599f153 100755 --- a/web/app/themes/haiku-atelier-2024/taxonomy-product_cat.php +++ b/web/app/themes/haiku-atelier-2024/taxonomy-product_cat.php @@ -14,7 +14,7 @@ require_once __DIR__ . '/src/inc/TraitementInformations.php'; $contexte = Timber::context(); $modeles = ['boutique.twig']; -/** @var array $informations_produits Les informations brutes des Produits. */ +/** @var list $informations_produits Les informations brutes des Produits. */ $informations_produits = wc_get_products([ 'category' => [get_queried_object()?->slug], 'limit' => 12, @@ -25,7 +25,7 @@ $informations_produits = wc_get_products([ /** @var InformationsProduitShop $produits Les informations strictement nécessaires pour la grille des Produits. */ $produits = array_map( - callback: 'recupere_informations_produit_shop', + callback: recupere_informations_produit_shop(...), array: $informations_produits, ); $contexte['produits'] = $produits; diff --git a/web/app/themes/haiku-atelier-2024/views/macros/images.twig b/web/app/themes/haiku-atelier-2024/views/macros/images.twig index e151ceb2..26045ebb 100755 --- a/web/app/themes/haiku-atelier-2024/views/macros/images.twig +++ b/web/app/themes/haiku-atelier-2024/views/macros/images.twig @@ -24,7 +24,7 @@ loading="eager" src="{{ rel_url }}.jpg" width="{{ width }}" - onload="this.style.opacity=1" + onload="this.style.opacity = 1" > {% endmacro %} diff --git a/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig b/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig index 78013053..d8ab3e4b 100755 --- a/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig +++ b/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig @@ -1,49 +1,63 @@ -{# Barre flottante avec le nom du Produit, le sélectgeur de variation et de quantité pour le Panier. #} +{# Barre flottante avec le nom du Produit, le sélecteur de variation et de quantité pour le Panier. #}