wagtail 6.2.3__py3-none-any.whl → 6.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wagtail/__init__.py +1 -1
- wagtail/actions/copy_for_translation.py +6 -0
- wagtail/actions/publish_revision.py +3 -3
- wagtail/admin/action_menu.py +5 -3
- wagtail/admin/forms/account.py +1 -1
- wagtail/admin/icons.py +2 -6
- wagtail/admin/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ar/LC_MESSAGES/django.po +16 -35
- wagtail/admin/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/be/LC_MESSAGES/django.po +16 -26
- wagtail/admin/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/bg/LC_MESSAGES/django.po +7 -11
- wagtail/admin/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ca/LC_MESSAGES/django.po +87 -109
- wagtail/admin/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cs/LC_MESSAGES/django.po +35 -68
- wagtail/admin/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cy/LC_MESSAGES/django.po +45 -16
- wagtail/admin/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/da/LC_MESSAGES/django.po +6 -16
- wagtail/admin/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/de/LC_MESSAGES/django.po +91 -113
- wagtail/admin/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/dv/LC_MESSAGES/django.po +72 -86
- wagtail/admin/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/el/LC_MESSAGES/django.po +21 -37
- wagtail/admin/locale/en/LC_MESSAGES/django.po +451 -485
- wagtail/admin/locale/en/LC_MESSAGES/djangojs.po +7 -7
- wagtail/admin/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/es/LC_MESSAGES/django.po +41 -83
- wagtail/admin/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/es_419/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/et/LC_MESSAGES/django.po +28 -55
- wagtail/admin/locale/eu/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/eu/LC_MESSAGES/django.po +7 -11
- wagtail/admin/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fa/LC_MESSAGES/django.po +33 -64
- wagtail/admin/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fi/LC_MESSAGES/django.po +109 -93
- wagtail/admin/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/django.po +94 -117
- wagtail/admin/locale/fr/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/djangojs.po +3 -3
- wagtail/admin/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/gl/LC_MESSAGES/django.po +87 -109
- wagtail/admin/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/he_IL/LC_MESSAGES/django.po +7 -17
- wagtail/admin/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/hr_HR/LC_MESSAGES/django.po +28 -55
- wagtail/admin/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/hu/LC_MESSAGES/django.po +55 -120
- wagtail/admin/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/id_ID/LC_MESSAGES/django.po +10 -27
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.po +213 -111
- wagtail/admin/locale/is_IS/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/djangojs.po +7 -2
- wagtail/admin/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/it/LC_MESSAGES/django.po +53 -122
- wagtail/admin/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ja/LC_MESSAGES/django.po +19 -45
- wagtail/admin/locale/ka/LC_MESSAGES/django.po +6 -6
- wagtail/admin/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ko/LC_MESSAGES/django.po +42 -75
- wagtail/admin/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/lt/LC_MESSAGES/django.po +22 -38
- wagtail/admin/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/lv/LC_MESSAGES/django.po +13 -23
- wagtail/admin/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/mi/LC_MESSAGES/django.po +13 -17
- wagtail/admin/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/mn/LC_MESSAGES/django.po +10 -34
- wagtail/admin/locale/my/LC_MESSAGES/django.po +4 -4
- wagtail/admin/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/nb/LC_MESSAGES/django.po +10 -39
- wagtail/admin/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/nl/LC_MESSAGES/django.po +92 -111
- wagtail/admin/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pl/LC_MESSAGES/django.po +346 -92
- wagtail/admin/locale/pl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/pl/LC_MESSAGES/djangojs.po +9 -2
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.po +53 -122
- wagtail/admin/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_PT/LC_MESSAGES/django.po +38 -71
- wagtail/admin/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ro/LC_MESSAGES/django.po +43 -95
- wagtail/admin/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ru/LC_MESSAGES/django.po +91 -115
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/django.po +200 -102
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.po +9 -2
- wagtail/admin/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sv/LC_MESSAGES/django.po +44 -96
- wagtail/admin/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tet/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/th/LC_MESSAGES/django.po +13 -32
- wagtail/admin/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tr/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tr_TR/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ug/LC_MESSAGES/django.po +3224 -193
- wagtail/admin/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/uk/LC_MESSAGES/django.po +40 -73
- wagtail/admin/locale/vi/LC_MESSAGES/django.po +7 -7
- wagtail/admin/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh/LC_MESSAGES/django.po +7 -11
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.po +41 -92
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.po +38 -64
- wagtail/admin/localization.py +12 -2
- wagtail/admin/mail.py +2 -2
- wagtail/admin/panels/model_utils.py +1 -1
- wagtail/admin/site_summary.py +0 -2
- wagtail/admin/static/wagtailadmin/css/core.css +1 -1
- wagtail/admin/static/wagtailadmin/css/panels/draftail.css +1 -1
- wagtail/admin/static/wagtailadmin/images/email-header.jpg +0 -0
- wagtail/admin/static/wagtailadmin/js/bulk-actions.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js.LICENSE.txt +12 -0
- wagtail/admin/static/wagtailadmin/js/draftail.js +1 -1
- wagtail/admin/static/wagtailadmin/js/sidebar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/telepath.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/widgets.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js.LICENSE.txt +1 -1
- wagtail/admin/static/wagtailadmin/js/vendor.js +1 -1
- wagtail/admin/static/wagtailadmin/js/wagtailadmin.js +1 -1
- wagtail/admin/static/wagtailadmin/js/workflow-action.js +1 -1
- wagtail/admin/staticfiles.py +6 -4
- wagtail/admin/templates/wagtailadmin/account/account.html +42 -59
- wagtail/admin/templates/wagtailadmin/admin_base.html +0 -28
- wagtail/admin/templates/wagtailadmin/bulk_actions/footer.html +1 -1
- wagtail/admin/templates/wagtailadmin/chooser/_search_results.html +7 -5
- wagtail/admin/templates/wagtailadmin/chooser/tables/page_navigate_to_children_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/generic/chooser/results.html +7 -5
- wagtail/admin/templates/wagtailadmin/generic/edit.html +0 -8
- wagtail/admin/templates/wagtailadmin/generic/form.html +60 -17
- wagtail/admin/templates/wagtailadmin/generic/index.html +17 -0
- wagtail/admin/templates/wagtailadmin/generic/index_results.html +9 -35
- wagtail/admin/templates/wagtailadmin/generic/inspect.html +2 -21
- wagtail/admin/templates/wagtailadmin/generic/listing.html +11 -17
- wagtail/admin/templates/wagtailadmin/generic/listing_results.html +19 -1
- wagtail/admin/templates/wagtailadmin/home/account_summary.html +26 -0
- wagtail/admin/templates/wagtailadmin/home/locked_pages.html +28 -18
- wagtail/admin/templates/wagtailadmin/home/recent_edits.html +28 -17
- wagtail/admin/templates/wagtailadmin/home/site_summary_pages.html +2 -2
- wagtail/admin/templates/wagtailadmin/home/upgrade_notification.html +35 -13
- wagtail/admin/templates/wagtailadmin/home/user_objects_in_workflow_moderation.html +28 -18
- wagtail/admin/templates/wagtailadmin/home/workflow_objects_to_moderate.html +43 -32
- wagtail/admin/templates/wagtailadmin/home.html +22 -5
- wagtail/admin/templates/wagtailadmin/pages/_editor_js.html +0 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu.html +1 -11
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu_item.html +1 -6
- wagtail/admin/templates/wagtailadmin/pages/action_menu/page_locked.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/publish.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/save_draft.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_delete.html +12 -6
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_move.html +12 -7
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_publish.html +17 -11
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_unpublish.html +15 -9
- wagtail/admin/templates/wagtailadmin/pages/confirm_delete.html +9 -9
- wagtail/admin/templates/wagtailadmin/pages/confirm_move.html +2 -2
- wagtail/admin/templates/wagtailadmin/pages/confirm_unpublish.html +4 -4
- wagtail/admin/templates/wagtailadmin/pages/create.html +15 -34
- wagtail/admin/templates/wagtailadmin/pages/edit.html +15 -30
- wagtail/admin/templates/wagtailadmin/pages/explorable_index.html +6 -0
- wagtail/admin/templates/wagtailadmin/pages/explorable_index_results.html +60 -0
- wagtail/admin/templates/wagtailadmin/pages/index.html +1 -36
- wagtail/admin/templates/wagtailadmin/pages/index_results.html +2 -50
- wagtail/admin/templates/wagtailadmin/pages/listing/_locked_indicator.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_ordering_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_page_header_buttons.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_page_title_column_header.html +3 -3
- wagtail/admin/templates/wagtailadmin/pages/listing/_pagination.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing.html +24 -0
- wagtail/admin/templates/wagtailadmin/pages/search.html +1 -20
- wagtail/admin/templates/wagtailadmin/pages/search_results.html +27 -25
- wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html +0 -1
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_report.html +2 -2
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_types_usage.html +6 -6
- wagtail/admin/templates/wagtailadmin/reports/workflow_tasks_results.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/action_menu/menu.html +14 -0
- wagtail/admin/templates/wagtailadmin/shared/action_menu/menu_item.html +6 -0
- wagtail/admin/templates/wagtailadmin/shared/avatar.html +13 -3
- wagtail/admin/templates/wagtailadmin/shared/header.html +0 -5
- wagtail/admin/templates/wagtailadmin/shared/headers/slim_header.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/page_status_tag_new.html +4 -1
- wagtail/admin/templates/wagtailadmin/shared/pagination_nav.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panel_toggle.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/locale.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/usage.html +2 -2
- wagtail/admin/templates/wagtailadmin/shared/side_panels/preview.html +94 -52
- wagtail/admin/templates/wagtailadmin/{pages/_unsaved_changes_warning.html → shared/unsaved_changes_warning.html} +4 -4
- wagtail/admin/templates/wagtailadmin/shared/usage_summary.html +2 -2
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/detail.html +1 -7
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/listing.html +1 -0
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/{list.html → listing_results.html} +33 -35
- wagtail/admin/templates/wagtailadmin/tables/references_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/workflows/create.html +11 -36
- wagtail/admin/templates/wagtailadmin/workflows/create_task.html +0 -38
- wagtail/admin/templates/wagtailadmin/workflows/edit.html +44 -74
- wagtail/admin/templates/wagtailadmin/workflows/edit_task.html +27 -66
- wagtail/admin/templates/wagtailadmin/workflows/includes/task_usage_cell.html +4 -2
- wagtail/admin/templates/wagtailadmin/workflows/includes/workflow_tasks_cell.html +4 -4
- wagtail/admin/templates/wagtailadmin/workflows/includes/workflow_used_by_cell.html +15 -11
- wagtail/admin/templates/wagtailadmin/workflows/task_chooser/includes/results.html +7 -5
- wagtail/admin/templatetags/wagtailadmin_tags.py +51 -22
- wagtail/admin/tests/pages/test_content_type_use_view.py +82 -2
- wagtail/admin/tests/pages/test_edit_page.py +70 -0
- wagtail/admin/tests/pages/test_explorer_view.py +65 -4
- wagtail/admin/tests/pages/test_page_search.py +8 -7
- wagtail/admin/tests/pages/test_page_usage.py +3 -1
- wagtail/admin/tests/pages/test_preview.py +208 -63
- wagtail/admin/tests/pages/test_reorder_page.py +91 -1
- wagtail/admin/tests/pages/test_view_draft.py +32 -1
- wagtail/admin/tests/pages/test_workflow_history.py +288 -7
- wagtail/admin/tests/test_account_management.py +23 -3
- wagtail/admin/tests/test_audit_log.py +2 -2
- wagtail/admin/tests/test_collections_views.py +17 -5
- wagtail/admin/tests/test_dashboard.py +1 -1
- wagtail/admin/tests/test_edit_handlers.py +3 -2
- wagtail/admin/tests/test_icon_sprite.py +4 -0
- wagtail/admin/tests/test_privacy.py +5 -19
- wagtail/admin/tests/test_reports_views.py +1 -1
- wagtail/admin/tests/test_site_summary.py +3 -3
- wagtail/admin/tests/test_templatetags.py +27 -3
- wagtail/admin/tests/test_upgrade_notification.py +71 -18
- wagtail/admin/tests/test_views.py +2 -2
- wagtail/admin/tests/test_views_generic.py +13 -0
- wagtail/admin/tests/test_widgets.py +3 -3
- wagtail/admin/tests/test_workflows.py +145 -27
- wagtail/admin/tests/tests.py +1 -1
- wagtail/admin/tests/viewsets/test_model_viewset.py +55 -3
- wagtail/admin/ui/side_panels.py +19 -0
- wagtail/admin/ui/sidebar.py +4 -3
- wagtail/admin/ui/tables/__init__.py +14 -1
- wagtail/admin/ui/tables/pages.py +6 -1
- wagtail/admin/urls/pages.py +10 -1
- wagtail/admin/urls/workflows.py +6 -1
- wagtail/admin/views/account.py +5 -1
- wagtail/admin/views/collections.py +0 -2
- wagtail/admin/views/generic/base.py +118 -1
- wagtail/admin/views/generic/history.py +157 -26
- wagtail/admin/views/generic/models.py +113 -99
- wagtail/admin/views/home.py +24 -9
- wagtail/admin/views/page_privacy.py +54 -30
- wagtail/admin/views/pages/history.py +11 -4
- wagtail/admin/views/pages/listing.py +76 -89
- wagtail/admin/views/pages/preview.py +1 -1
- wagtail/admin/views/pages/search.py +27 -71
- wagtail/admin/views/pages/usage.py +63 -24
- wagtail/admin/views/pages/utils.py +4 -3
- wagtail/admin/views/reports/base.py +0 -6
- wagtail/admin/views/workflows.py +65 -19
- wagtail/admin/viewsets/model.py +4 -3
- wagtail/admin/widgets/chooser.py +2 -1
- wagtail/api/v2/tests/test_pages.py +15 -2
- wagtail/blocks/field_block.py +15 -3
- wagtail/blocks/static_block.py +3 -0
- wagtail/contrib/forms/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ca/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.po +30 -2
- wagtail/contrib/forms/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/de/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/dv/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/en/LC_MESSAGES/django.po +15 -11
- wagtail/contrib/forms/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/fi/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/fr/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/gl/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/hu/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/is_IS/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/it/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/nl/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/pl/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ro/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ru/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/sl/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/sv/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ug/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/templates/wagtailforms/confirm_delete.html +1 -0
- wagtail/contrib/forms/templates/wagtailforms/index.html +1 -1
- wagtail/contrib/forms/templates/wagtailforms/index_results.html +1 -1
- wagtail/contrib/forms/templates/wagtailforms/list_submissions.html +2 -1
- wagtail/contrib/forms/templates/wagtailforms/panels/form_responses_panel.html +2 -2
- wagtail/contrib/forms/tests/test_views.py +234 -35
- wagtail/contrib/forms/utils.py +8 -14
- wagtail/contrib/forms/views.py +72 -27
- wagtail/contrib/frontend_cache/backends/azure.py +1 -1
- wagtail/contrib/frontend_cache/backends/cloudfront.py +2 -2
- wagtail/contrib/frontend_cache/backends/dummy.py +11 -0
- wagtail/contrib/frontend_cache/tests.py +31 -37
- wagtail/contrib/frontend_cache/utils.py +12 -5
- wagtail/contrib/redirects/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ar/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/az_AZ/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/be/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/bg/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/bn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ca/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/cs/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.po +17 -5
- wagtail/contrib/redirects/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/da/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/de/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/dv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/el/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/en/LC_MESSAGES/django.po +20 -24
- wagtail/contrib/redirects/locale/en_IN/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/en_IN/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/es/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/es_419/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/es_VE/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/es_VE/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/et/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/gl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/he_IL/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/hi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/hr_HR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ht/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/hu/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/id_ID/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/is_IS/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ja/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ko/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/lt/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/lv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/mi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/mn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/my/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/nb/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/nl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/pl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/pt_PT/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ro/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ru/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/sk_SK/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/sl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ta/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ta/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/tet/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/th/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/tr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/tr_TR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ug/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/uk/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/vi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/zh/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/zh_Hant/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/models.py +16 -1
- wagtail/contrib/redirects/signal_handlers.py +18 -3
- wagtail/contrib/redirects/templates/wagtailredirects/add.html +5 -16
- wagtail/contrib/redirects/templates/wagtailredirects/import_summary.html +1 -1
- wagtail/contrib/redirects/tests/test_redirects.py +49 -6
- wagtail/contrib/redirects/tests/test_signal_handlers.py +42 -1
- wagtail/contrib/redirects/views.py +27 -3
- wagtail/contrib/search_promotions/locale/af/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/af/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ar/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/az_AZ/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/be/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/bg/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/bn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ca/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/cs/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.po +60 -4
- wagtail/contrib/search_promotions/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/da/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/de/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/dv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/el/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/en/LC_MESSAGES/django.po +12 -18
- wagtail/contrib/search_promotions/locale/en_IN/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/en_IN/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/es/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/es_419/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/et/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fa/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/gl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/he_IL/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/hi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/hi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/hr_HR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ht/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/hu/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/id_ID/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ja/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ko/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/lt/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/lv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/mi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/mn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/my/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/nb/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/nl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/pl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/pt_BR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/pt_PT/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ro/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ru/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sk_SK/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/tet/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/th/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/tr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/tr_TR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ug/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/uk/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/vi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/zh/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/zh_Hans/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/zh_Hant/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/add.html +5 -8
- wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/edit.html +15 -10
- wagtail/contrib/search_promotions/tests.py +13 -2
- wagtail/contrib/search_promotions/views.py +15 -3
- wagtail/contrib/settings/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ar/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/az_AZ/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/be/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/bn/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ca/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/cs/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.po +7 -8
- wagtail/contrib/settings/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/da/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/de/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/dv/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/el/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po +2 -10
- wagtail/contrib/settings/locale/en_IN/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/en_IN/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/es/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/es_VE/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/es_VE/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/et/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/fa/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/fi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/fr/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/gl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/he_IL/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/hr_HR/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ht/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/hu/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/id_ID/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/is_IS/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/it/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ja/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/settings/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ko/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/lt/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/lv/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/mi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/mn/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/my/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/nb/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/nl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/pl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/pt_BR/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/pt_PT/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ro/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ru/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/sr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ta/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ta/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/tet/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/th/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/tr/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/tr_TR/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ug/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/uk/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/vi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/zh/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/zh_Hans/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/zh_Hant/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/templates/wagtailsettings/edit.html +12 -45
- wagtail/contrib/simple_translation/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.po +14 -2
- wagtail/contrib/simple_translation/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/simple_translation/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/en/LC_MESSAGES/django.po +4 -4
- wagtail/contrib/simple_translation/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/is_IS/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/simple_translation/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/pl/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/simple_translation/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.po +6 -3
- wagtail/contrib/simple_translation/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ug/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/tests/test_views.py +51 -0
- wagtail/contrib/simple_translation/wagtail_hooks.py +16 -11
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.po +5 -1
- wagtail/contrib/styleguide/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.po +27 -1
- wagtail/contrib/table_block/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/pl/LC_MESSAGES/django.po +9 -2
- wagtail/contrib/typed_table_block/blocks.py +25 -0
- wagtail/contrib/typed_table_block/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/cy/LC_MESSAGES/django.po +13 -2
- wagtail/contrib/typed_table_block/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/en/LC_MESSAGES/django.po +10 -10
- wagtail/contrib/typed_table_block/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/pl/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/typed_table_block/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ug/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/tests.py +24 -1
- wagtail/coreutils.py +5 -11
- wagtail/documents/admin_urls.py +2 -2
- wagtail/documents/locale/af/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/af/LC_MESSAGES/django.po +1 -4
- wagtail/documents/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ar/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/az_AZ/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/be/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/bg/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/bn/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ca/LC_MESSAGES/django.po +15 -29
- wagtail/documents/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/cs/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/cy/LC_MESSAGES/django.po +11 -11
- wagtail/documents/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/da/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/de/LC_MESSAGES/django.po +17 -29
- wagtail/documents/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/dv/LC_MESSAGES/django.po +1 -11
- wagtail/documents/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/el/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/en/LC_MESSAGES/django.po +61 -76
- wagtail/documents/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/es/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/et/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fa/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fi/LC_MESSAGES/django.po +15 -27
- wagtail/documents/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fr/LC_MESSAGES/django.po +16 -30
- wagtail/documents/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/gl/LC_MESSAGES/django.po +15 -28
- wagtail/documents/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/he_IL/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/hr_HR/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ht/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/hu/LC_MESSAGES/django.po +7 -34
- wagtail/documents/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/id_ID/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.po +16 -31
- wagtail/documents/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/it/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ja/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/documents/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ko/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/lt/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/lv/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/mi/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/mn/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/my/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/nb/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/nl/LC_MESSAGES/django.po +16 -28
- wagtail/documents/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/pl/LC_MESSAGES/django.po +12 -21
- wagtail/documents/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/pt_BR/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/pt_PT/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ro/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ru/LC_MESSAGES/django.po +18 -32
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sl/LC_MESSAGES/django.po +7 -40
- wagtail/documents/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sv/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/tet/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/th/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/tr/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/tr_TR/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ug/LC_MESSAGES/django.po +16 -30
- wagtail/documents/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/uk/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/vi/LC_MESSAGES/django.po +4 -10
- wagtail/documents/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh_Hant/LC_MESSAGES/django.po +7 -20
- wagtail/documents/migrations/0014_alter_document_file_size.py +18 -0
- wagtail/documents/models.py +1 -1
- wagtail/documents/rich_text/__init__.py +1 -3
- wagtail/documents/static/wagtaildocs/js/add-multiple.js +1 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_add_tags.html +5 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_add_to_collection.html +5 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_delete.html +11 -5
- wagtail/documents/templates/wagtaildocs/documents/add.html +13 -41
- wagtail/documents/templates/wagtaildocs/documents/edit.html +28 -56
- wagtail/documents/templates/wagtaildocs/documents/index.html +1 -4
- wagtail/documents/templates/wagtaildocs/homepage/site_summary_documents.html +2 -2
- wagtail/documents/templates/wagtaildocs/multiple/add.html +36 -41
- wagtail/documents/tests/test_admin_views.py +64 -6
- wagtail/documents/tests/test_site_summary.py +3 -3
- wagtail/documents/views/documents.py +103 -113
- wagtail/documents/views/multiple.py +19 -1
- wagtail/embeds/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/oembed_providers.py +9 -19
- wagtail/fields.py +43 -27
- wagtail/images/admin_urls.py +2 -2
- wagtail/images/blocks.py +227 -2
- wagtail/images/fields.py +17 -29
- wagtail/images/image_operations.py +1 -1
- wagtail/images/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ar/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/az_AZ/LC_MESSAGES/django.po +1 -7
- wagtail/images/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/be/LC_MESSAGES/django.po +17 -23
- wagtail/images/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/bg/LC_MESSAGES/django.po +11 -24
- wagtail/images/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/bn/LC_MESSAGES/django.po +1 -7
- wagtail/images/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ca/LC_MESSAGES/django.po +42 -49
- wagtail/images/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/cs/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/cy/LC_MESSAGES/django.po +134 -40
- wagtail/images/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/da/LC_MESSAGES/django.po +5 -11
- wagtail/images/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/de/LC_MESSAGES/django.po +46 -53
- wagtail/images/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/dv/LC_MESSAGES/django.po +11 -17
- wagtail/images/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/el/LC_MESSAGES/django.po +19 -32
- wagtail/images/locale/en/LC_MESSAGES/django.po +119 -129
- wagtail/images/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/es/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/images/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/et/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fa/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fi/LC_MESSAGES/django.po +45 -50
- wagtail/images/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fr/LC_MESSAGES/django.po +45 -52
- wagtail/images/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/gl/LC_MESSAGES/django.po +43 -50
- wagtail/images/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/he_IL/LC_MESSAGES/django.po +14 -26
- wagtail/images/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/hr_HR/LC_MESSAGES/django.po +29 -42
- wagtail/images/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ht/LC_MESSAGES/django.po +3 -9
- wagtail/images/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/hu/LC_MESSAGES/django.po +30 -57
- wagtail/images/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/id_ID/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/is_IS/LC_MESSAGES/django.po +46 -53
- wagtail/images/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/it/LC_MESSAGES/django.po +29 -59
- wagtail/images/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ja/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ka/LC_MESSAGES/django.po +7 -13
- wagtail/images/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ko/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/lt/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/lv/LC_MESSAGES/django.po +16 -32
- wagtail/images/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/mi/LC_MESSAGES/django.po +19 -29
- wagtail/images/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/mn/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/my/LC_MESSAGES/django.po +4 -10
- wagtail/images/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/nb/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/nl/LC_MESSAGES/django.po +44 -49
- wagtail/images/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/pl/LC_MESSAGES/django.po +51 -44
- wagtail/images/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/pt_BR/LC_MESSAGES/django.po +29 -59
- wagtail/images/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/pt_PT/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ro/LC_MESSAGES/django.po +28 -58
- wagtail/images/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ru/LC_MESSAGES/django.po +49 -54
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.po +19 -32
- wagtail/images/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sl/LC_MESSAGES/django.po +30 -63
- wagtail/images/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sv/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/tet/LC_MESSAGES/django.po +10 -16
- wagtail/images/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/th/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/tr/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/tr_TR/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ug/LC_MESSAGES/django.po +45 -51
- wagtail/images/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/uk/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/vi/LC_MESSAGES/django.po +8 -14
- wagtail/images/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh/LC_MESSAGES/django.po +13 -26
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.po +28 -41
- wagtail/images/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh_Hant/LC_MESSAGES/django.po +22 -35
- wagtail/images/migrations/0025_alter_image_file_alter_rendition_file.py +36 -43
- wagtail/images/migrations/0027_image_description.py +20 -0
- wagtail/images/models.py +120 -45
- wagtail/images/rich_text/__init__.py +1 -3
- wagtail/images/static/wagtailimages/js/add-multiple.js +1 -1
- wagtail/images/static/wagtailimages/js/image-block.js +1 -0
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_add_tags.html +5 -1
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_add_to_collection.html +5 -1
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_delete.html +11 -5
- wagtail/images/templates/wagtailimages/chooser/results.html +2 -2
- wagtail/images/templates/wagtailimages/homepage/site_summary_images.html +2 -2
- wagtail/images/templates/wagtailimages/images/_file_field.html +2 -2
- wagtail/images/templates/wagtailimages/images/add.html +13 -31
- wagtail/images/templates/wagtailimages/images/edit.html +53 -82
- wagtail/images/templates/wagtailimages/images/index.html +1 -4
- wagtail/images/templates/wagtailimages/images/url_generator.html +1 -1
- wagtail/images/templates/wagtailimages/multiple/add.html +40 -47
- wagtail/images/templates/wagtailimages/widgets/image.html +5 -0
- wagtail/images/templates/wagtailimages/widgets/image_chooser.html +1 -1
- wagtail/images/tests/test_admin_views.py +70 -10
- wagtail/images/tests/test_blocks.py +428 -1
- wagtail/images/tests/test_image_operations.py +23 -0
- wagtail/images/tests/test_models.py +20 -0
- wagtail/images/tests/test_signal_handlers.py +99 -95
- wagtail/images/tests/test_site_summary.py +3 -3
- wagtail/images/tests/test_templatetags.py +11 -7
- wagtail/images/tests/tests.py +4 -0
- wagtail/images/views/images.py +103 -104
- wagtail/images/views/multiple.py +17 -1
- wagtail/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ca/LC_MESSAGES/django.po +10 -1
- wagtail/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/cy/LC_MESSAGES/django.po +4 -1
- wagtail/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/de/LC_MESSAGES/django.po +10 -1
- wagtail/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/dv/LC_MESSAGES/django.po +10 -1
- wagtail/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/locale/en/LC_MESSAGES/django.po +137 -125
- wagtail/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/es/LC_MESSAGES/django.po +10 -1
- wagtail/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fi/LC_MESSAGES/django.po +10 -1
- wagtail/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fr/LC_MESSAGES/django.po +10 -1
- wagtail/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/gl/LC_MESSAGES/django.po +10 -1
- wagtail/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/hu/LC_MESSAGES/django.po +10 -1
- wagtail/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/is_IS/LC_MESSAGES/django.po +15 -4
- wagtail/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/it/LC_MESSAGES/django.po +10 -1
- wagtail/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/nl/LC_MESSAGES/django.po +10 -1
- wagtail/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/pl/LC_MESSAGES/django.po +20 -5
- wagtail/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/pt_BR/LC_MESSAGES/django.po +10 -1
- wagtail/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ro/LC_MESSAGES/django.po +10 -1
- wagtail/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ru/LC_MESSAGES/django.po +10 -1
- wagtail/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sl/LC_MESSAGES/django.po +13 -1
- wagtail/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sv/LC_MESSAGES/django.po +10 -1
- wagtail/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ug/LC_MESSAGES/django.po +10 -1
- wagtail/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/zh_Hans/LC_MESSAGES/django.po +10 -1
- wagtail/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/be/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ca/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/cs/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/cy/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/de/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/dv/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/en/LC_MESSAGES/django.po +8 -8
- wagtail/locales/locale/es/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/fi/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/fr/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/gl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/hr_HR/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/hu/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/is_IS/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/it/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ko/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/lt/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/mi/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/nl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/pl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/pt_BR/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/pt_PT/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/ro/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/ru/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/sl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/sv/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ug/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/uk/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/locales/views.py +4 -1
- wagtail/migrations/0089_log_entry_data_json_null_to_object.py +1 -7
- wagtail/models/__init__.py +122 -14
- wagtail/models/audit_log.py +1 -3
- wagtail/models/i18n.py +1 -2
- wagtail/project_template/Dockerfile +3 -3
- wagtail/project_template/requirements.txt +2 -2
- wagtail/query.py +17 -4
- wagtail/rich_text/__init__.py +2 -3
- wagtail/rich_text/pages.py +2 -4
- wagtail/rich_text/rewriters.py +2 -2
- wagtail/search/backends/database/mysql/query.py +3 -3
- wagtail/search/backends/database/sqlite/query.py +6 -6
- wagtail/search/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ar/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/be/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ca/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/cs/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/cy/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/de/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/el/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/en/LC_MESSAGES/django.po +6 -6
- wagtail/sites/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/es/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/et/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/fa/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/fi/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/fr/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/gl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/he_IL/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/hr_HR/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ht/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/hu/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/id_ID/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/is_IS/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/it/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ja/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ko/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/lt/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/mi/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/mn/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/my/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/nb/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/nl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/pl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/pt_BR/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/pt_PT/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ro/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ru/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/sk_SK/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/sl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/sv/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/tet/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/th/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/tr/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/tr_TR/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ug/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/uk/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/zh_Hant/LC_MESSAGES/django.po +4 -4
- wagtail/sites/views.py +0 -1
- wagtail/snippets/action_menu.py +14 -4
- wagtail/snippets/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ar/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/be/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ca/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/cs/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/cy/LC_MESSAGES/django.po +73 -4
- wagtail/snippets/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/de/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/dv/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/el/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/en/LC_MESSAGES/django.po +27 -33
- wagtail/snippets/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/es/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/et/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fa/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fi/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fr/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/gl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/hr_HR/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/hu/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/is_IS/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/it/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ja/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ko/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/lt/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/lv/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/mi/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/nb/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/nl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/pl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/pt_BR/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/pt_PT/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ro/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ru/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sv/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/tet/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/tr/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/tr_TR/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ug/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/uk/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/zh_Hans/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/zh_Hant/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/static/wagtailsnippets/js/snippet-chooser-telepath.js +1 -1
- wagtail/snippets/static/wagtailsnippets/js/snippet-chooser.js +1 -1
- wagtail/snippets/templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html +5 -3
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/locked.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/menu.html +1 -11
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/menu_item.html +1 -6
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/publish.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/save.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/create.html +1 -18
- wagtail/snippets/templates/wagtailsnippets/snippets/edit.html +1 -14
- wagtail/snippets/templates/wagtailsnippets/snippets/index.html +2 -5
- wagtail/snippets/tests/test_preview.py +193 -61
- wagtail/snippets/tests/test_snippets.py +247 -38
- wagtail/snippets/tests/test_usage.py +5 -0
- wagtail/snippets/tests/test_viewset.py +25 -9
- wagtail/snippets/tests/test_workflows.py +232 -19
- wagtail/snippets/views/snippets.py +1 -10
- wagtail/test/numberformat.py +104 -0
- wagtail/test/settings.py +10 -0
- wagtail/test/settings_ui.py +2 -0
- wagtail/test/testapp/migrations/0010_alter_customimage_file_and_more.py +71 -78
- wagtail/test/testapp/migrations/0040_nocreatablesubpagetypespage_nosubpagetypespage.py +54 -0
- wagtail/test/testapp/migrations/0041_alter_jsonstreammodel_options.py +17 -0
- wagtail/test/testapp/migrations/0042_alter_customdocument_file_size_and_more.py +28 -0
- wagtail/test/testapp/migrations/0043_customimage_description.py +41 -0
- wagtail/test/testapp/migrations/0044_custompreviewsizesmodel_custompreviewsizespage.py +52 -0
- wagtail/test/testapp/migrations/0045_alter_streampage_body.py +52 -0
- wagtail/test/testapp/models.py +62 -4
- wagtail/test/testapp/rich_text.py +2 -2
- wagtail/test/testapp/templates/tests/form_page_landing.html +2 -1
- wagtail/test/testapp/urls.py +5 -0
- wagtail/test/testapp/views.py +5 -0
- wagtail/test/utils/page_tests.py +5 -5
- wagtail/test/utils/template_tests.py +2 -2
- wagtail/tests/test_blocks.py +15 -0
- wagtail/tests/test_page_permissions.py +109 -0
- wagtail/tests/test_revision_model.py +27 -0
- wagtail/tests/test_signals.py +21 -2
- wagtail/tests/test_tests.py +30 -0
- wagtail/users/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ar/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/be/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/bg/LC_MESSAGES/django.po +4 -10
- wagtail/users/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/bn/LC_MESSAGES/django.po +1 -13
- wagtail/users/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ca/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/cs/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/cy/LC_MESSAGES/django.po +121 -25
- wagtail/users/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/da/LC_MESSAGES/django.po +1 -13
- wagtail/users/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/de/LC_MESSAGES/django.po +21 -35
- wagtail/users/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/dv/LC_MESSAGES/django.po +4 -13
- wagtail/users/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/el/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/en/LC_MESSAGES/django.po +89 -113
- wagtail/users/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/es/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/users/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/et/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fa/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fi/LC_MESSAGES/django.po +22 -34
- wagtail/users/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fr/LC_MESSAGES/django.po +20 -34
- wagtail/users/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/gl/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/he_IL/LC_MESSAGES/django.po +13 -19
- wagtail/users/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/hr_HR/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/hu/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/id_ID/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/is_IS/LC_MESSAGES/django.po +24 -37
- wagtail/users/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/it/LC_MESSAGES/django.po +13 -34
- wagtail/users/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ja/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ka/LC_MESSAGES/django.po +7 -13
- wagtail/users/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ko/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/lt/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/lv/LC_MESSAGES/django.po +10 -22
- wagtail/users/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/mi/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/mn/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/my/LC_MESSAGES/django.po +13 -16
- wagtail/users/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/nb/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/nl/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/pl/LC_MESSAGES/django.po +44 -27
- wagtail/users/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/pt_BR/LC_MESSAGES/django.po +13 -34
- wagtail/users/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/pt_PT/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ro/LC_MESSAGES/django.po +13 -34
- wagtail/users/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ru/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.po +13 -22
- wagtail/users/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sl/LC_MESSAGES/django.po +16 -34
- wagtail/users/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sv/LC_MESSAGES/django.po +13 -28
- wagtail/users/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/tet/LC_MESSAGES/django.po +13 -22
- wagtail/users/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/th/LC_MESSAGES/django.po +13 -22
- wagtail/users/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/tr/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/tr_TR/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ug/LC_MESSAGES/django.po +21 -35
- wagtail/users/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/uk/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/vi/LC_MESSAGES/django.po +10 -22
- wagtail/users/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh/LC_MESSAGES/django.po +4 -10
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh_Hant/LC_MESSAGES/django.po +13 -25
- wagtail/users/migrations/0014_userprofile_contrast.py +23 -0
- wagtail/users/models.py +11 -0
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html +5 -1
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_delete.html +5 -1
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html +5 -1
- wagtail/users/templates/wagtailusers/groups/create.html +19 -17
- wagtail/users/templates/wagtailusers/groups/edit.html +2 -40
- wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html +1 -62
- wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html +0 -1
- wagtail/users/templates/wagtailusers/users/create.html +46 -50
- wagtail/users/templates/wagtailusers/users/edit.html +45 -62
- wagtail/users/templates/wagtailusers/users/index.html +1 -4
- wagtail/users/templatetags/wagtailusers_tags.py +1 -5
- wagtail/users/tests/test_admin_views.py +85 -66
- wagtail/users/views/groups.py +4 -1
- wagtail/users/views/users.py +2 -0
- {wagtail-6.2.3.dist-info → wagtail-6.3.dist-info}/METADATA +7 -7
- {wagtail-6.2.3.dist-info → wagtail-6.3.dist-info}/RECORD +1561 -1568
- wagtail/admin/static/wagtailadmin/js/preview-panel.js +0 -2
- wagtail/admin/static/wagtailadmin/js/preview-panel.js.LICENSE.txt +0 -11
- wagtail/admin/templates/wagtailadmin/generic/history_results.html +0 -1
- wagtail/admin/templates/wagtailadmin/page_privacy/ancestor_privacy.html +0 -3
- wagtail/admin/templates/wagtailadmin/pages/usage_results.html +0 -6
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/index.html +0 -17
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/results.html +0 -17
- wagtail/admin/templates/wagtailadmin/workflows/usage.html +0 -44
- wagtail/contrib/redirects/locale/af/LC_MESSAGES/django.po +0 -22
- wagtail/contrib/search_promotions/locale/es_VE/LC_MESSAGES/django.po +0 -23
- wagtail/contrib/search_promotions/locale/ta/LC_MESSAGES/django.po +0 -22
- wagtail/contrib/settings/locale/af/LC_MESSAGES/django.po +0 -23
- wagtail/contrib/settings/locale/bg/LC_MESSAGES/django.po +0 -22
- wagtail/documents/locale/en_IN/LC_MESSAGES/django.po +0 -25
- wagtail/documents/locale/es_VE/LC_MESSAGES/django.po +0 -23
- wagtail/documents/locale/hi/LC_MESSAGES/django.po +0 -25
- wagtail/documents/locale/sr/LC_MESSAGES/django.po +0 -23
- wagtail/documents/locale/ta/LC_MESSAGES/django.po +0 -22
- wagtail/images/locale/af/LC_MESSAGES/django.po +0 -25
- wagtail/images/locale/en_IN/LC_MESSAGES/django.po +0 -25
- wagtail/images/locale/hi/LC_MESSAGES/django.po +0 -25
- wagtail/users/locale/af/LC_MESSAGES/django.po +0 -25
- wagtail/users/locale/az_AZ/LC_MESSAGES/django.po +0 -28
- wagtail/users/locale/es_VE/LC_MESSAGES/django.po +0 -26
- wagtail/users/locale/hi/LC_MESSAGES/django.po +0 -25
- wagtail/users/locale/ht/LC_MESSAGES/django.po +0 -25
- {wagtail-6.2.3.dist-info → wagtail-6.3.dist-info}/LICENSE +0 -0
- {wagtail-6.2.3.dist-info → wagtail-6.3.dist-info}/WHEEL +0 -0
- {wagtail-6.2.3.dist-info → wagtail-6.3.dist-info}/entry_points.txt +0 -0
- {wagtail-6.2.3.dist-info → wagtail-6.3.dist-info}/top_level.txt +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see sidebar.js.LICENSE.txt */
|
|
2
|
-
(()=>{"use strict";var e,t={3769:(e,t,n)=>{n(2427),n(1458)},998:(e,t,n)=>{var a=n(2427),r=n.n(a),i=n(6931),s=n.n(i);function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)e[a]=n[a]}return e}var l=function e(t,n){function a(e,a,r){if("undefined"!=typeof document){"number"==typeof(r=o({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in r)r[s]&&(i+="; "+s,!0!==r[s]&&(i+="="+r[s].split(";")[0]));return document.cookie=e+"="+t.write(a,e)+i}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],a={},r=0;r<n.length;r++){var i=n[r].split("="),s=i.slice(1).join("=");try{var o=decodeURIComponent(i[0]);if(a[o]=t.read(s,o),e===o)break}catch(e){}}return e?a[e]:a}},remove:function(e,t){a(e,"",o({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,o({},this.attributes,t))},withConverter:function(t){return e(o({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),c=n(2833),u=n(1238);const m=150,d=({modules:e,currentPath:t,collapsedOnLoad:n=!1,navigate:r,onExpandCollapse:i})=>{const[s,o]=a.useState(n),l=a.useRef(null);a.useEffect((()=>{s&&i&&i(!0)}),[]);const[d,p]=a.useState(!1),[h,f]=a.useState(!0),g=()=>window.innerWidth<800,[v,b]=a.useState(g());a.useEffect((()=>{function e(){return g()?(b(!0),null):(b(!1),p(!1),setTimeout((()=>{f(!0)}),m))}window.addEventListener("resize",e);const t=e();return()=>{window.removeEventListener("resize",e),t&&clearTimeout(t)}}),[]);const E=s&&!v,[w,y]=a.useState(!1);a.useEffect((()=>{y(!0);const e=setTimeout((()=>{y(!1)}),m);return()=>{clearTimeout(e)}}),[E]);const N=()=>{o(!s),i&&i(!s)},[_,P]=a.useState(!1),C=()=>{E&&N()};a.useEffect((()=>{const e=setTimeout((()=>{d||f(!0)}),m);return()=>{clearTimeout(e)}}),[d]);const S=()=>{p(!1),l&&l.current?.focus()},x=e.map(((e,n)=>e.render({key:n,slim:E,expandingOrCollapsing:w,onHideMobile:S,onSearchClick:C,currentPath:t,navigate:r})));return a.createElement(a.Fragment,null,a.createElement("button",{onClick:()=>{p(!d),y(!0);const e=setTimeout((()=>{y(!1),f(!h)}),m);return()=>{clearTimeout(e)}},"aria-label":(0,c.AP)("Toggle sidebar"),"aria-expanded":d?"true":"false",className:"button sidebar-nav-toggle"+(v?" sidebar-nav-toggle--mobile":"")+(d?" sidebar-nav-toggle--open":""),type:"button",ref:l},d?a.createElement(u.A,{name:"cross"}):a.createElement(u.A,{name:"bars"})),a.createElement("div",{className:"sidebar"+(E?" sidebar--slim":"")+(v?" sidebar--mobile":"")+(v&&!d?" sidebar--hidden":"")+(v&&!d&&h?" sidebar--closed":"")},a.createElement("div",{className:"sidebar__inner",onFocus:()=>{_&&(o(!1),P(!0))},onBlur:()=>{_&&(P(!1),o(!0))}},a.createElement("div",{className:`sm:w-mt-2 ${E?"w-justify-center":"w-justify-end"} w-flex w-items-center`},a.createElement("button",{onClick:N,"aria-label":(0,c.AP)("Toggle sidebar"),"aria-expanded":E?"false":"true",type:"button",className:(E?"":"w-mr-4")+"\n button\n sidebar__collapse-toggle\n w-flex\n w-justify-center\n w-items-center\n hover:w-bg-surface-menu-item-active\n hover:text-white\n hover:opacity-100"},a.createElement(u.A,{name:"expand-right",className:s?"":"-w-rotate-180"}))),x)))};var p=n(3476);const h="wagtail_sidebar_collapsed";var f=n(1504);const g=({item:e,slim:t,path:n,state:r,dispatch:i,navigate:s})=>{const o=r.activePath===n,l=r.activePath.startsWith(n),m=n.split(".").length>2,d="sidebar-menu-item"+(l?" sidebar-menu-item--active":"")+(m?" sidebar-menu-item--in-sub-menu":"");return a.createElement("li",{className:d},a.createElement(f.Ay,{disabled:!t||m,content:e.label,placement:"right"},a.createElement("a",{...e.attrs,href:e.url,"aria-current":o?"page":void 0,onClick:t=>{t.ctrlKey||t.shiftKey||t.metaKey||t.button&&0!==t.button||(P(e,r)||i({type:"set-dismissible-state",item:e}),e.attrs.target||(t.preventDefault(),s(e.url).then((()=>{i({type:"set-active-path",path:n}),i({type:"set-navigation-path",path:""})}))))},className:`sidebar-menu-item__link ${e.classNames}`},e.iconName&&a.createElement(u.A,{name:e.iconName,className:"icon--menuitem"}),a.createElement("div",{className:"menuitem"},a.createElement("span",{className:"menuitem-label"},e.label),!P(e,r)&&a.createElement("span",{className:"w-dismissible-badge"},a.createElement("span",{className:"w-sr-only"},(0,c.AP)("(New)")))))))};class v{name;label;url;attrs;iconName;classNames;constructor({name:e,label:t,url:n,attrs:a={},icon_name:r=null,classname:i}){this.name=e,this.label=t,this.url=n,this.attrs=a,this.iconName=r,this.classNames=i}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(g,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}const b=({isVisible:e,isOpen:t,depth:n,widthPx:r,children:i})=>{const s="sidebar-panel"+(e?" sidebar-panel--visible":"")+(t?" sidebar-panel--open":"");let o=2*-n;e&&!t&&(o-=1);const l={"--z-index":o};return r&&(l["--width"]=r+"px"),a.createElement("div",{className:s,style:l},i)},E=({path:e,item:t,slim:n,state:r,dispatch:i,navigate:s})=>{const o=r.navigationPath.startsWith(e),l=o||r.activePath.startsWith(e),d=e.split(".").length,[p,h]=a.useState(!1),[g,v]=a.useState(!1),E=t.menuItems.filter((e=>!P(e,r))).length;a.useEffect((()=>{o?h(!0):!o&&p&&setTimeout((()=>{h(!1)}),m)}),[o]);const w="sidebar-menu-item sidebar-sub-menu-item"+(l?" sidebar-menu-item--active":"")+(o?" sidebar-sub-menu-item--open":""),y="sidebar-sub-menu-trigger-icon"+(o?" sidebar-sub-menu-trigger-icon--open":"");return a.createElement("li",{className:w},a.createElement(f.Ay,{disabled:o||!n,content:t.label,placement:"right"},a.createElement("button",{...t.attrs,onClick:()=>{if(!g&&E>0&&i({type:"set-dismissible-state",item:t}),o){const t=e.split(".");t.pop();const n=t.join(".");i({type:"set-navigation-path",path:n})}else i({type:"set-navigation-path",path:e}),v(!0)},className:`sidebar-menu-item__link ${t.classNames}`,"aria-haspopup":"menu","aria-expanded":o?"true":"false",type:"button"},t.iconName&&a.createElement(u.A,{name:t.iconName,className:"icon--menuitem"}),a.createElement("span",{className:"menuitem-label"},t.label),E>0&&!g&&a.createElement("span",{className:"w-dismissible-badge w-dismissible-badge--count"},a.createElement("span",{"aria-hidden":"true"},E),a.createElement("span",{className:"w-sr-only"},1===E?(0,c.AP)("(1 new item in this menu)"):(0,c.AP)("(%(number)s new items in this menu)").replace("%(number)s",`${E}`))),a.createElement(u.A,{className:y,name:"arrow-right"}))),a.createElement(b,{isVisible:p,isOpen:o,depth:d},a.createElement("div",{className:"sidebar-sub-menu-panel"},a.createElement("h2",{id:`wagtail-sidebar-submenu${e.split(".").join("-")}-title`,className:`${t.classNames} w-h4`},t.iconName&&a.createElement(u.A,{name:t.iconName,className:"icon--submenu-header"}),t.label),a.createElement("ul",{"aria-labelledby":`wagtail-sidebar-submenu${e.split(".").join("-")}-title`},_(e,t.menuItems,n,r,i,s)),t.footerText&&a.createElement("p",{className:"sidebar-sub-menu-panel__footer"},t.footerText))))};class w{name;label;menuItems;attrs;iconName;classNames;footerText;constructor({name:e,label:t,attrs:n={},icon_name:a=null,classname:r,footer_text:i=""},s){this.name=e,this.label=t,this.menuItems=s,this.attrs=n,this.iconName=a,this.classNames=r,this.footerText=i}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(E,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}var y=n(2891),N=n(6508);function _(e,t,n,r,i,s){return a.createElement(a.Fragment,null,t.map((t=>t.render({path:`${e}.${t.name}`,slim:n,state:r,dispatch:i,navigate:s}))))}function P(e,t){return!e.attrs["data-w-dismissible-id-value"]||"data-w-dismissible-dismissed-value"in e.attrs||t.dismissibles[e.name]}function C(e,t){e.forEach((e=>{e.attrs["data-w-dismissible-id-value"]&&t(e),e instanceof w&&C(e.menuItems,t)}))}function S(e,t){const n={...e};switch(t.type){case"set-active-path":n.activePath=t.path;break;case"set-navigation-path":n.navigationPath=t.path;break;case"set-dismissible-state":n.dismissibles=function(e,{item:t,value:n=!0}){const a={};return C([t],(e=>{a[e.attrs["data-w-dismissible-id-value"]]=n})),Object.keys(a).length>0&&(r=a,fetch(N.HE.ADMIN_URLS?.DISMISSIBLES,{method:"PATCH",headers:{[N.HE.CSRF_HEADER_NAME]:N.HE.CSRF_TOKEN,"Content-Type":"application/json"},body:JSON.stringify(r),mode:"same-origin"})),{...e.dismissibles,[t.name]:n};var r}(e,t)}return n}function x(e){const t={};return C(e,(e=>{t[e.attrs["data-w-dismissible-id-value"]]="data-w-dismissible-dismissed-value"in e.attrs})),t}y.Controller,Boolean;const A=({menuItems:e,accountMenuItems:t,user:n,expandingOrCollapsing:r,onHideMobile:i,slim:s,currentPath:o,navigate:l})=>{const[m,d]=a.useReducer(S,{navigationPath:"",activePath:"",dismissibles:x(e)}),p=!s||r,h=m.navigationPath.startsWith(".account");a.useEffect((()=>{s&&h&&d({type:"set-navigation-path",path:""})}),[s]),a.useEffect((()=>{const n=[],a=(e,t)=>{t.forEach((t=>{const r=`${e}.${t.name}`;t instanceof v?n.push([t.url,r]):t instanceof w&&a(r,t.menuItems)}))};a("",e),a("",t);let r=null;n.forEach((([e,t])=>{o.startsWith(e)&&(null==r||e.length>r[0].length)&&(r=[e,t])}));const i=r?r[1]:"";i!==m.activePath&&d({type:"set-active-path",path:i})}),[o,e]),a.useEffect((()=>{const e=e=>{"Escape"===e.key&&(d({type:"set-navigation-path",path:""}),""===m.navigationPath&&i())},t=e=>{const t=document.querySelector("[data-wagtail-sidebar]");t&&t.contains(e.target)||d({type:"set-navigation-path",path:""})};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),document.addEventListener("touchend",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t),document.removeEventListener("touchend",t)}}),[]);const g="sidebar-main-menu w-scrollbar-thin"+(h?" sidebar-main-menu--open-footer":"");return a.createElement(a.Fragment,null,a.createElement("nav",{className:g,"aria-label":(0,c.AP)("Main menu")},a.createElement("ul",{className:"sidebar-main-menu__list"},_("",e,s,m,d,l))),a.createElement("div",{className:"sidebar-footer"+(h?" sidebar-footer--open":"")+(p?" sidebar-footer--visible":"")},a.createElement(f.Ay,{disabled:!s,content:n.name,placement:"right"},a.createElement("button",{className:`\n ${s?"w-px-4":"w-px-5"}\n sidebar-footer__account\n w-bg-surface-menus\n w-text-text-label-menus-default\n w-flex\n w-items-center\n w-relative\n w-w-full\n w-appearance-none\n w-border-0\n w-overflow-hidden\n w-py-3\n hover:w-bg-surface-menu-item-active\n focus:w-bg-surface-menu-item-active\n w-transition`,onClick:()=>{d(h?{type:"set-navigation-path",path:""}:{type:"set-navigation-path",path:".account"})},"aria-haspopup":"menu","aria-expanded":h?"true":"false",type:"button"},a.createElement("div",{className:"avatar avatar-on-dark w-flex-shrink-0 !w-w-[28px] !w-h-[28px]"},a.createElement("img",{src:n.avatarUrl,alt:"",decoding:"async",loading:"lazy"})),a.createElement("div",{className:"sidebar-footer__account-toggle"},a.createElement("div",{className:"sidebar-footer__account-label w-label-3"},n.name),a.createElement(u.A,{className:"w-w-4 w-h-4 w-text-text-label-menus-default",name:h?"arrow-down":"arrow-up"})))),a.createElement("ul",null,_("",t,s,m,d,l))))},T=({item:e,slim:t,path:n,state:r,dispatch:i})=>{const s=r.activePath.startsWith(n),o=n.split(".").length>2,l="sidebar-menu-item"+(s?" sidebar-menu-item--active":"")+(o?" sidebar-menu-item--in-sub-menu":"");return a.createElement("li",{className:l},a.createElement(f.Ay,{disabled:!t||o,content:e.label,placement:"right"},a.createElement("form",{...e.attrs,method:e.method,action:e.action},a.createElement("input",{type:"hidden",name:"csrfmiddlewaretoken",value:N.HE.CSRF_TOKEN}),a.createElement("button",{type:"submit",className:`sidebar-menu-item__link ${e.classNames}`,onClick:t=>{t.ctrlKey||t.shiftKey||t.metaKey||t.button&&0!==t.button||P(e,r)||i({type:"set-dismissible-state",item:e})}},e.iconName&&a.createElement(u.A,{name:e.iconName,className:"icon--menuitem"}),a.createElement("span",{className:"menuitem"},a.createElement("span",{className:"menuitem-label"},e.label),!P(e,r)&&a.createElement("span",{className:"w-dismissible-badge"},a.createElement("span",{className:"w-sr-only"},(0,c.AP)("(New)"))))))))};var O=n(9904),R=n(8168),k=n(8587),I=n(4146),L=n.n(I),M=n(4363),j=n(8661),D=n(4595),F=n(1458),$=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],U=["reactReduxForwardedRef"],H=[],G=[null,null];function q(e,t){var n=e[1];return[t.payload,n+1]}function K(e,t,n){(0,D.E)((function(){return e.apply(void 0,t)}),n)}function B(e,t,n,a,r,i,s){e.current=a,t.current=r,n.current=!1,i.current&&(i.current=null,s())}function W(e,t,n,a,r,i,s,o,l,c){if(e){var u=!1,m=null,d=function(){if(!u){var e,n,d=t.getState();try{e=a(d,r.current)}catch(e){n=e,m=e}n||(m=null),e===i.current?s.current||l():(i.current=e,o.current=e,s.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=d,n.trySubscribe(),d(),function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,m)throw m}}}var V=function(){return[null,0]};function X(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,s=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,o=n.methodName,l=void 0===o?"connectAdvanced":o,c=n.renderCountProp,u=void 0===c?void 0:c,m=n.shouldHandleStateChanges,d=void 0===m||m,p=n.storeKey,h=void 0===p?"store":p,f=(n.withRef,n.forwardRef),g=void 0!==f&&f,v=n.context,b=void 0===v?F.t:v,E=(0,k.A)(n,$),w=b;return function(t){var n=t.displayName||t.name||"Component",i=s(n),o=(0,R.A)({},E,{getDisplayName:s,methodName:l,renderCountProp:u,shouldHandleStateChanges:d,storeKey:h,displayName:i,wrappedComponentName:n,WrappedComponent:t}),c=E.pure,m=c?a.useMemo:function(e){return e()};function p(n){var i=(0,a.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,k.A)(n,U);return[n.context,e,t]}),[n]),s=i[0],l=i[1],c=i[2],u=(0,a.useMemo)((function(){return s&&s.Consumer&&(0,M.isContextConsumer)(r().createElement(s.Consumer,null))?s:w}),[s,w]),p=(0,a.useContext)(u),h=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var f=h?n.store:p.store,g=(0,a.useMemo)((function(){return function(t){return e(t.dispatch,o)}(f)}),[f]),v=(0,a.useMemo)((function(){if(!d)return G;var e=(0,j.K)(f,h?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,h,p]),b=v[0],E=v[1],y=(0,a.useMemo)((function(){return h?p:(0,R.A)({},p,{subscription:b})}),[h,p,b]),N=(0,a.useReducer)(q,H,V),_=N[0][0],P=N[1];if(_&&_.error)throw _.error;var C=(0,a.useRef)(),S=(0,a.useRef)(c),x=(0,a.useRef)(),A=(0,a.useRef)(!1),T=m((function(){return x.current&&c===S.current?x.current:g(f.getState(),c)}),[f,_,c]);K(B,[S,C,A,c,T,x,E]),K(W,[d,f,b,g,S,C,A,x,E,P],[f,b,g]);var O=(0,a.useMemo)((function(){return r().createElement(t,(0,R.A)({},T,{ref:l}))}),[l,t,T]);return(0,a.useMemo)((function(){return d?r().createElement(u.Provider,{value:y},O):O}),[u,O,y])}var f=c?r().memo(p):p;if(f.WrappedComponent=t,f.displayName=p.displayName=i,g){var v=r().forwardRef((function(e,t){return r().createElement(f,(0,R.A)({},e,{reactReduxForwardedRef:t}))}));return v.displayName=i,v.WrappedComponent=t,L()(v,t)}return L()(f,t)}}var z=n(9124),Z=n(7684),J=n(6778);const Q=[function(e){return"function"==typeof e?(0,J.Qb)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,J.o6)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,J.o6)((function(t){return(0,Z.A)(e,t)})):void 0}],Y=[function(e){return"function"==typeof e?(0,J.Qb)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,J.o6)((function(){return{}}))}];function ee(e,t,n){return(0,R.A)({},n,e,t)}const te=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var a,r=n.pure,i=n.areMergedPropsEqual,s=!1;return function(t,n,o){var l=e(t,n,o);return s?r&&i(l,a)||(a=l):(s=!0,a=l),a}}}(e):void 0},function(e){return e?void 0:function(){return ee}}];var ne=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ae(e,t,n,a){return function(r,i){return n(e(r,i),t(a,i),i)}}function re(e,t,n,a,r){var i,s,o,l,c,u=r.areStatesEqual,m=r.areOwnPropsEqual,d=r.areStatePropsEqual,p=!1;return function(r,h){return p?function(r,p){var h,f,g=!m(p,s),v=!u(r,i);return i=r,s=p,g&&v?(o=e(i,s),t.dependsOnOwnProps&&(l=t(a,s)),c=n(o,l,s)):g?(e.dependsOnOwnProps&&(o=e(i,s)),t.dependsOnOwnProps&&(l=t(a,s)),c=n(o,l,s)):v?(h=e(i,s),f=!d(h,o),o=h,f&&(c=n(o,l,s)),c):c}(r,h):(o=e(i=r,s=h),l=t(a,s),c=n(o,l,s),p=!0,c)}}function ie(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,r=t.initMergeProps,i=(0,k.A)(t,ne),s=n(e,i),o=a(e,i),l=r(e,i);return(i.pure?re:ae)(s,o,l,e,i)}var se=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function oe(e,t,n){for(var a=t.length-1;a>=0;a--){var r=t[a](e);if(r)return r}return function(t,a){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+a.wrappedComponentName+".")}}function le(e,t){return e===t}function ce(e){var t=void 0===e?{}:e,n=t.connectHOC,a=void 0===n?X:n,r=t.mapStateToPropsFactories,i=void 0===r?Y:r,s=t.mapDispatchToPropsFactories,o=void 0===s?Q:s,l=t.mergePropsFactories,c=void 0===l?te:l,u=t.selectorFactory,m=void 0===u?ie:u;return function(e,t,n,r){void 0===r&&(r={});var s=r,l=s.pure,u=void 0===l||l,d=s.areStatesEqual,p=void 0===d?le:d,h=s.areOwnPropsEqual,f=void 0===h?z.A:h,g=s.areStatePropsEqual,v=void 0===g?z.A:g,b=s.areMergedPropsEqual,E=void 0===b?z.A:b,w=(0,k.A)(s,se),y=oe(e,i,"mapStateToProps"),N=oe(t,o,"mapDispatchToProps"),_=oe(n,c,"mergeProps");return a(m,(0,R.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:N,initMergeProps:_,pure:u,areStatesEqual:p,areOwnPropsEqual:f,areStatePropsEqual:v,areMergedPropsEqual:E},w))}}const ue=ce();n(6338),n(3769),n(387);var me=n(2724);function de(e){return de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de(e)}function pe(e){var t=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!==de(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===de(t)?t:String(t)}function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){var a,r,i;a=e,r=t,i=n[t],(r=pe(r))in a?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ge(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}(0,n(8298).d)(me.r);var ve="function"==typeof Symbol&&Symbol.observable||"@@observable",be=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ee={INIT:"@@redux/INIT"+be(),REPLACE:"@@redux/REPLACE"+be(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+be()}};function we(e,t,n){var a;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(ge(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(ge(1));return n(we)(e,t)}if("function"!=typeof e)throw new Error(ge(2));var r=e,i=t,s=[],o=s,l=!1;function c(){o===s&&(o=s.slice())}function u(){if(l)throw new Error(ge(3));return i}function m(e){if("function"!=typeof e)throw new Error(ge(4));if(l)throw new Error(ge(5));var t=!0;return c(),o.push(e),function(){if(t){if(l)throw new Error(ge(6));t=!1,c();var n=o.indexOf(e);o.splice(n,1),s=null}}}function d(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ge(7));if(void 0===e.type)throw new Error(ge(8));if(l)throw new Error(ge(9));try{l=!0,i=r(i,e)}finally{l=!1}for(var t=s=o,n=0;n<t.length;n++)(0,t[n])();return e}return d({type:Ee.INIT}),(a={dispatch:d,subscribe:m,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ge(10));r=e,d({type:Ee.REPLACE})}})[ve]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ge(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[ve]=function(){return this},e},a}function ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function Ne(e){return function(t){var n=t.dispatch,a=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,a,e):t(r)}}}}var _e=Ne();_e.withExtraArgument=Ne;const Pe=_e,{fetch:Ce,Headers:Se}=n.g,xe=e=>{if(e.status>=200&&e.status<300)return e;throw new Error(e.statusText)},Ae=e=>e.json(),Te=e=>((e,t)=>{const n={credentials:"same-origin",headers:new Se({Accept:"application/json","Content-Type":"application/json"}),method:e};return(a=Ce(t,n),new Promise(((e,t)=>{const n=setTimeout((()=>{t(new Error("Response timeout"))}),15e3);a.then((t=>{clearTimeout(n),e(t)}),(e=>{clearTimeout(n),t(e)}))}))).then(xe).then(Ae);var a})("GET",e),Oe=(e,t={})=>{let n=`${N.lb.PAGES}?child_of=${e}&for_explorer=1`;return t.fields?n+=`&fields=parent,${window.encodeURIComponent(t.fields.join(","))}`:n+="&fields=parent",t.onlyWithChildren&&(n+="&has_children=1"),t.offset&&(n+=`&offset=${t.offset}`),n+=N.lb.EXTRA_CHILDREN_PARAMETERS,Te(n)},Re=(e,t={})=>{let a=`${N.lb.PAGES}?translation_of=${e}&limit=20`;return t.fields?a+=`&fields=parent,${n.g.encodeURIComponent(t.fields.join(","))}`:a+="&fields=parent",t.onlyWithChildren&&(a+="&has_children=1"),t.offset&&(a+=`&offset=${t.offset}`),Te(a)},ke=async(e,t)=>{const n=[];let a=100;for(;;){const r=await Re(e,{offset:n.length,...t});if(r.items.forEach((e=>n.push(e))),n.length>=r.meta.total_count||a--<=0)return n}},Ie=(...e)=>e[0];function Le(e,t,n){return(...a)=>{const r={type:e,payload:(t||Ie)(...a)};return r.payload instanceof Error&&(r.error=!0),"function"==typeof n&&(r.meta=n(...a)),r}}const Me=Le("GET_PAGE_SUCCESS",((e,t)=>({id:e,data:t}))),je=Le("GET_PAGE_FAILURE",((e,t)=>({id:e,error:t}))),De=Le("GET_CHILDREN_START",(e=>({id:e}))),Fe=Le("GET_CHILDREN_SUCCESS",((e,t,n)=>({id:e,items:t,meta:n}))),$e=Le("GET_CHILDREN_FAILURE",((e,t)=>({id:e,error:t})));function Ue(e,t=0){return n=>(n(De(e)),Oe(e,{offset:t}).then((({items:a,meta:r})=>{const i=t+a.length;n(Fe(e,a,r)),i<r.total_count&&i<N.KV&&n(Ue(e,i))}),(t=>{n($e(e,t))})))}const He=Le("GET_TRANSLATIONS_START",(e=>({id:e}))),Ge=Le("GET_TRANSLATIONS_SUCCESS",((e,t)=>({id:e,items:t}))),qe=Le("GET_TRANSLATIONS_FAILURE",((e,t)=>({id:e,error:t})));function Ke(e){return t=>(t(He(e)),ke(e,{onlyWithChildren:!0}).then((n=>{t(Ge(e,n))}),(n=>{t(qe(e,n))})))}const Be=Le("OPEN_EXPLORER",(e=>({id:e}))),We=Le("CLOSE_EXPLORER");function Ve(e){return(t,n)=>{const{nodes:a}=n(),r=a[e];t(Be(e)),r||(t(Ue(e)),1!==e&&t(Ke(e))),1!==e&&t(function(e){return t=>(e=>{const t=`${N.lb.PAGES}${e}/`;return Te(t)})(e).then((n=>{t(Me(e,n))}),(n=>{t(je(e,n))}))}(e))}}const Xe=Le("GOTO_PAGE",((e,t)=>({id:e,transition:t})));var ze=n(1688),Ze=n.n(ze);const Je=()=>r().createElement("span",null,r().createElement(u.A,{name:"spinner",className:"w-spinner"}),` ${(0,c.AP)("Loading…")}`);var Qe=n(5556),Ye=n.n(Qe),et=n(862),tt=n.n(et);const nt="push",at=({name:e,component:t,className:n,duration:a,children:i})=>r().createElement(tt(),{component:t,transitionEnterTimeout:a,transitionLeaveTimeout:a,transitionName:`w-transition-${e}`,className:n},i);at.propTypes={name:Ye().oneOf([nt,"pop"]).isRequired,component:Ye().string,className:Ye().string,duration:Ye().number,children:Ye().node},at.defaultProps={component:"div",children:null,className:null,duration:210};const rt=at,it=(e,t,n,a,r)=>{n&&"#"===e&&(r.preventDefault(),r.stopPropagation()),t&&t(r),r.ctrlKey||r.shiftKey||r.metaKey||r.button&&0!==r.button||a&&!r.defaultPrevented&&(r.preventDefault(),a(e))},st=({className:e="",children:t,accessibleLabel:n,href:r="#",target:i,preventDefault:s=!0,onClick:o,navigate:l})=>{const c=a.Children.count(t)>0,u=n?a.createElement("span",{className:"w-sr-only"},n):null;return a.createElement("a",{className:e,onClick:it.bind(null,r,o,s,l),rel:"_blank"===i?"noreferrer":void 0,href:r,target:i},c?t:u)},ot=({locale:e,translations:t,gotoPage:n})=>{const a=wagtailConfig.LOCALES.filter((({code:n})=>n===e||t.get(n))).map((({code:e,display_name:t})=>r().createElement("option",{key:e,value:e},t)));return r().createElement("div",{className:"c-page-explorer__header__select"},r().createElement("select",{value:e,onChange:e=>{e.preventDefault();const a=t.get(e.target.value);a&&n(a,0)},disabled:a.length<2},a))},lt=({page:e,depth:t,onClick:n,gotoPage:a,navigate:i})=>{const s=0===t,o=0===e.id;return r().createElement("div",{className:"c-page-explorer__header"},r().createElement(st,{href:o?N.HS.PAGES:`${N.HS.PAGES}${e.id}/`,className:"c-page-explorer__header__title",onClick:n,navigate:i},r().createElement("div",{className:"c-page-explorer__header__title__inner"},r().createElement(u.A,{name:s?"home":"arrow-left",className:"icon--explorer-header"}),r().createElement("span",null,e.admin_display_title||(0,c.AP)("Pages")))),!o&&e.meta.locale&&e.translations&&e.translations.size>0&&r().createElement(ot,{locale:e.meta.locale,translations:e.translations,gotoPage:a}))},ct=({status:e})=>r().createElement("span",{className:"c-status"+(e.live?" c-status--live":"")},e.status);ct.propTypes={status:Ye().shape({live:Ye().bool.isRequired,status:Ye().string.isRequired}).isRequired};const ut=ct,mt=r().createElement(u.A,{name:"folder-inverse",className:"icon--menuitem"}),dt=({item:e,onClick:t,navigate:n})=>{const{id:a,admin_display_title:i,meta:s}=e,o=s.children.count>0,l=s.status.live&&!s.status.has_unpublished_changes,m=1===s.parent?.id&&s.locale&&(N.kf.get(s.locale)||s.locale);return r().createElement("div",{className:"c-page-explorer__item"},r().createElement(st,{href:`${N.HS.PAGES}${a}/`,navigate:n,className:"c-page-explorer__item__link"},o?mt:null,r().createElement("h3",{className:"c-page-explorer__item__title"},i),(!l||m)&&r().createElement("span",{className:"c-page-explorer__meta"},m&&r().createElement("span",{className:"c-status"},m),!l&&r().createElement(ut,{status:s.status}))),r().createElement(st,{href:`${N.HS.PAGES}${a}/edit/`,className:"c-page-explorer__item__action c-page-explorer__item__action--small",navigate:n},r().createElement(u.A,{name:"edit",title:(0,c.AP)("Edit '%(title)s'").replace("%(title)s",i||""),className:"icon--item-action"})),o?r().createElement(st,{className:"c-page-explorer__item__action",onClick:t,href:`${N.HS.PAGES}${a}/`,navigate:n},r().createElement(u.A,{name:"arrow-right",title:(0,c.AP)("View child pages of '%(title)s'").replace("%(title)s",i||""),className:"icon--item-action"})):null)},pt=({page:e})=>{const t=e.children.count;return r().createElement("a",{href:`${N.HS.PAGES}${e.id}/`,className:"c-page-explorer__see-more"},(0,c.AP)("See all"),r().createElement("span",null,` ${t} ${1===t?(0,c.AP)("Page").toLowerCase():(0,c.AP)("Pages").toLowerCase()}`),r().createElement(u.A,{name:"arrow-right"}))};class ht extends r().Component{constructor(e){super(e),this.state={transition:nt},this.onItemClick=this.onItemClick.bind(this),this.onHeaderClick=this.onHeaderClick.bind(this)}componentWillReceiveProps(e){const{depth:t}=this.props,n=e.depth>t;this.setState({transition:n?nt:"pop"})}onItemClick(e,t){const{gotoPage:n}=this.props;t.preventDefault(),t.stopPropagation(),n(e,1)}onHeaderClick(e){const{page:t,depth:n,gotoPage:a}=this.props,r=t.meta.parent?.id;n>0&&r&&(e.preventDefault(),e.stopPropagation(),a(r,-1))}renderChildren(){const{page:e,nodes:t}=this.props;let n;return n=e.isFetchingChildren||e.children.items?r().createElement("div",{key:"children"},e.children.items.map((e=>r().createElement(dt,{key:e,item:t[e],onClick:this.onItemClick.bind(null,e),navigate:this.props.navigate})))):r().createElement("div",{key:"empty",className:"c-page-explorer__placeholder"},(0,c.AP)("No results")),r().createElement("div",{className:"c-page-explorer__drawer"},n,e.isFetchingChildren||e.isFetchingTranslations?r().createElement("div",{key:"fetching",className:"c-page-explorer__placeholder"},r().createElement(Je,null)):null,e.isError?r().createElement("div",{key:"error",className:"c-page-explorer__placeholder"},(0,c.AP)("Server Error")):null)}render(){const{page:e,depth:t,gotoPage:n,onClose:a}=this.props,{transition:i}=this.state;return r().createElement(Ze(),{paused:!e||e.isFetchingChildren||e.isFetchingTranslations,focusTrapOptions:{onDeactivate:a,clickOutsideDeactivates:!1,allowOutsideClick:!0}},r().createElement("div",{role:"dialog","aria-label":(0,c.AP)("Page explorer")},r().createElement(rt,{name:i,className:"c-page-explorer"},r().createElement("div",{key:t,className:"w-transition-group"},r().createElement(lt,{depth:t,page:e,onClick:this.onHeaderClick,gotoPage:n,navigate:this.props.navigate}),this.renderChildren(),e.isError||e.children.items&&e.children.count>N.KV?r().createElement(pt,{page:e}):null))))}}const ft=ht,gt=ue((e=>({depth:e.explorer.depth,currentPageId:e.explorer.currentPageId,nodes:e.nodes})),(e=>({gotoPage:(t,n)=>e(function(e,t){return(n,a)=>{const{nodes:r}=a(),i=r[e];n(Xe(e,t)),!i||i.isFetchingChildren||i.children.count>0||n(Ue(e)),i&&!i.isFetchingTranslations&&null==i.translations&&n(Ke(e))}}(t,n))})))((({isVisible:e,depth:t,currentPageId:n,nodes:a,gotoPage:i,onClose:s,navigate:o})=>e&&n?r().createElement(ft,{depth:t,page:a[n],nodes:a,gotoPage:i,onClose:s,navigate:o}):null)),vt={depth:0,currentPageId:null},bt="OPEN_EXPLORER",Et="CLOSE_EXPLORER";function wt(e=vt,t){switch(t.type){case bt:return{depth:0,currentPageId:t.payload.id};case Et:return vt;case"GOTO_PAGE":return{depth:e.depth+t.payload.transition,currentPageId:t.payload.id};default:return e}}const yt={id:0,isFetchingChildren:!1,isFetchingTranslations:!1,isError:!1,children:{items:[],count:0},meta:{status:{status:"",live:!1,has_unpublished_changes:!0},parent:null,children:{}}},Nt="GET_PAGE_SUCCESS",_t="GET_CHILDREN_START",Pt="GET_CHILDREN_SUCCESS",Ct="GET_TRANSLATIONS_START",St="GET_TRANSLATIONS_SUCCESS",xt="GET_PAGE_FAILURE",At="GET_CHILDREN_FAILURE",Tt="GET_TRANSLATIONS_FAILURE",Ot=(e=yt,t)=>{switch(t.type){case Nt:return{...e,...t.payload.data,isError:!1};case _t:return{...e,isFetchingChildren:!0};case Ct:return{...e,isFetchingTranslations:!0};case Pt:return{...e,isFetchingChildren:!1,isError:!1,children:{items:e.children.items.slice().concat(t.payload.items.map((e=>e.id))),count:t.payload.meta.total_count}};case St:const n=new Map;return t.payload.items.forEach((e=>{n.set(e.meta.locale,e.id)})),{...e,isFetchingTranslations:!1,isError:!1,translations:n};case xt:case At:case Tt:return{...e,isFetchingChildren:!1,isFetchingTranslations:!0,isError:!0};default:return e}},Rt={};function kt(e=Rt,t){switch(t.type){case bt:return{...e,[t.payload.id]:{...yt}};case Nt:case _t:case Ct:case xt:case At:case Tt:return{...e,[t.payload.id]:Ot(e[t.payload.id],t)};case Pt:case St:const n={...e,[t.payload.id]:Ot(e[t.payload.id],t)};return t.payload.items.forEach((e=>{n[e.id]={...yt,...e}})),n;case Et:return Rt;default:return e}}const It=()=>we(function(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var r=t[a];"function"==typeof e[r]&&(n[r]=e[r])}var i,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:Ee.INIT}))throw new Error(ge(12));if(void 0===n(void 0,{type:Ee.PROBE_UNKNOWN_ACTION()}))throw new Error(ge(13))}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var a=!1,r={},o=0;o<s.length;o++){var l=s[o],c=n[l],u=e[l],m=c(u,t);if(void 0===m)throw t&&t.type,new Error(ge(14));r[l]=m,a=a||m!==u}return(a=a||s.length!==Object.keys(e).length)?r:e}}({explorer:wt,nodes:kt}),{},ye(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),a=function(){throw new Error(ge(15))},r={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},i=t.map((function(e){return e(r)}));return a=ye.apply(void 0,i)(n.dispatch),fe(fe({},n),{},{dispatch:a})}}}(Pe),window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)),Lt=gt,Mt=({path:e,slim:t,item:n,state:r,dispatch:i,navigate:s})=>{const o=r.navigationPath.startsWith(e),l=o||r.activePath.startsWith(e),c=e.split(".").length,d=e.split(".").length>2,[p,h]=a.useState(!1),g=a.useRef(null);g.current||(g.current=It());const v=()=>{setTimeout((()=>{h(!1),g.current&&g.current.dispatch(We())}),m)};a.useEffect((()=>{o?(h(!0),g.current&&g.current.dispatch(Ve(n.startPageId))):!o&&p&&v()}),[o]);const E="sidebar-menu-item sidebar-page-explorer-item"+(l?" sidebar-menu-item--active":"")+(d?" sidebar-menu-item--in-sub-menu":""),w="sidebar-sub-menu-trigger-icon"+(o?" sidebar-sub-menu-trigger-icon--open":"");return a.createElement("li",{className:E},a.createElement(f.Ay,{disabled:o||!t,content:n.label,placement:"right"},a.createElement("button",{onClick:()=>{i(o?{type:"set-navigation-path",path:""}:{type:"set-navigation-path",path:e})},className:"sidebar-menu-item__link","aria-haspopup":"dialog","aria-expanded":o?"true":"false",type:"button"},a.createElement(u.A,{name:"folder-open-inverse",className:"icon--menuitem"}),a.createElement("span",{className:"menuitem-label"},n.label),a.createElement(u.A,{className:w,name:"arrow-right"}))),a.createElement("div",null,a.createElement(b,{isVisible:p,isOpen:o,depth:c,widthPx:485},g.current&&a.createElement(O.A,{store:g.current},a.createElement(Lt,{isVisible:p,navigate:s,onClose:v})))))},jt=({className:e,slim:t})=>{const n="group-hover:w-text-black w-transition-all w-duration-150";return r().createElement("svg",{style:{left:t?"-1.125rem":"-1.75rem"},className:`\n sidebar-wagtail-branding__icon\n !w-overflow-visible\n w-group\n w-text-surface-menus\n w-z-10\n w-absolute\n w-transition-all\n w-duration-150\n hover:w-scale-[0.85]\n hover:w-rotate-[5deg]\n ${e||""}\n ${t?"w-w-[58px] w-h-[57px] w-top-2 hover:w-translate-x-1 hover:-w-translate-y-1":"w-w-[120px] w-h-[200px] -w-top-1 hover:w-translate-x-2 hover:-w-translate-y-3"}\n `,width:"225",height:"274",viewBox:"0 0 225 274",enableBackground:"new 0 0 225 274",xmlSpace:"preserve","aria-hidden":"true"},r().createElement("g",null,r().createElement("path",{className:"wagtail-logo-face",fill:"#FFF",d:"M194.897 79.492c-8.392-12.793-22.602-21.27-38.773-21.27-5.322 0-10.496.915-15.32 2.62a30.755 30.755 0 0 1-4.039-15.3c0-17.078\n 13.325-30.792 29.918-30.792 4.274 0 8.046.776 11.565 2.328 1.746-2.566 3.491-5.64 5.236-9.476 7.108 4.095 19.786 14.99 21.26\n 33.397L190.72 61.88l4.177 17.612Z"}),r().createElement("path",{className:`w-hidden ${n}`,"data-part":"eye--closed",d:"M183.083 36.4189C181.131 37.0166 179.364 38.6306 178.317 40.5186C178.048 41.0035 177.464 41.2495 176.954 41.0359L173.968\n 39.7874C173.46 39.5751 173.217 38.9905 173.464 38.498C175.023 35.3889 177.903 32.5075 181.558 31.388C185.602 30.1494 190.075\n 31.2163 194.019 35.3681C194.398 35.7669 194.352 36.3991 193.936 36.7609L191.492 38.8897C191.073 39.2538 190.441 39.2043 190.053\n 38.8094C187.354 36.0624 184.921 35.8559 183.083 36.4189Z",fill:"currentColor"}),r().createElement("path",{className:n,"data-part":"eye--open",fill:"currentColor",d:"M185.54 42.697c3.332 0 6.034-2.781 6.034-6.211s-2.702-6.21-6.034-6.21c-3.333 0-6.034 2.78-6.034 6.21s2.701 6.21 6.034 6.21Z"}),r().createElement("path",{className:n,"data-part":"body",fill:"currentColor",d:"m21.867 193.558 92.839-164.565C122.124 11.853 138.827 0 158.135 0c9.302 0 18.102 2.588 25.393 7.504-1.76 3.882-3.52 6.987-5.28\n 9.575-3.52-1.553-7.291-2.33-11.565-2.33-16.594 0-29.919 13.716-29.919 30.794 0 5.646 1.496 10.83 4.04 15.3a45.95 45.95 0 0 1\n 15.319-2.62c25.896 0 46.764 21.736 46.764 48.131 0 1.104-.183 2.209-.394 3.475l-.109.665h.252c-.126.906-.315 1.811-.503\n 2.717-.189.906-.377 1.811-.503 2.717v.259c-17.487 91.789-126.812 89.821-143.747 89.031l.112-.386-1.743-30.679-6.872 12.197-27.513 7.208Z"}),r().createElement("path",{className:n,"data-part":"body-tail-connector",fill:"currentColor",d:"m49.277 186.425 8.718 18.407-1.743-30.679-6.975 12.272Z"}),r().createElement("path",{className:n,"data-part":"beak",fill:"currentColor",d:"m204.648 41.144-11.817 18.114h31.93l-20.113-18.114Z"}),r().createElement("path",{"data-part":"feather-accent",fill:"#FFF",d:"m99.304 170.528-2.012 1.552s66.877-11.127 77.437-67.797l-10.56 3.623s-2.765 43.99-64.865 62.622Z"})),r().createElement("path",{className:n,"data-part":"tail",fill:"currentColor",d:"M56.252 174.153.456 273.202l41.847-14.025 15.692-54.345-1.743-30.679Z"}))},Dt=({homeUrl:e,slim:t,currentPath:n,navigate:r})=>{const i=a.useMemo((()=>document.querySelector("[data-wagtail-sidebar-branding-logo]")),[]);if(i&&""!==i.innerHTML)return a.createElement("a",{className:"sidebar-custom-branding",href:e,"aria-label":(0,c.AP)("Dashboard"),"aria-current":n===e?"page":void 0,dangerouslySetInnerHTML:{__html:i?i.innerHTML:""}});const s=a.useRef(0),o=a.useRef("r"),l=a.useRef(0),[u,m]=a.useState(!1),d="sidebar-wagtail-branding w-transition-all w-duration-150"+(u?" sidebar-wagtail-branding--wagging":"");return a.createElement("a",{className:d,href:e,"aria-label":(0,c.AP)("Dashboard"),"aria-current":n===e?"page":void 0,onClick:t=>{t.ctrlKey||t.shiftKey||t.metaKey||t.button&&0!==t.button||(t.preventDefault(),r(e))},onMouseMove:e=>{const t=e.pageX,n=t>s.current?"r":"l";t!==s.current&&n!==o.current&&(l.current+=1),l.current>8&&m(!0),s.current=t,o.current=n},onMouseLeave:()=>{m(!1),l.current=0}},a.createElement("div",{className:"sidebar-wagtail-branding__icon-wrapper w-transition-all w-duration-150"},a.createElement(jt,{slim:t})))},Ft=({slim:e,expandingOrCollapsing:t,onSearchClick:n,searchUrl:r,navigate:i})=>{const s=!e||t,o=a.useRef(null);return a.createElement("form",{role:"search",className:"w-h-[42px] w-relative w-box-border w-flex w-items-center w-justify-start w-flex-row w-flex-shrink-0",action:r,method:"get",onSubmit:e=>{if(e.target instanceof HTMLFormElement)if(e.preventDefault(),s){const t=e.target.querySelector('input[name="q"]');i(r+"?q="+encodeURIComponent(t.value))}else i(r)}},a.createElement("div",{className:"w-flex w-flex-row w-items-center w-h-full"},a.createElement(f.Ay,{disabled:s||!e,content:(0,c.AP)("Search"),placement:"right"},a.createElement("button",{className:`\n ${e?"w-pr-[18px]":"w-pr-0"}\n w-w-full\n w-pl-[23px]\n w-h-[35px]\n w-bg-transparent\n w-outline-offset-inside\n w-border-0\n w-rounded-none\n w-text-text-label-menus-default\n w-z-10\n hover:w-text-text-label-menus-active\n focus:w-text-text-label-menus-active\n hover:w-bg-transparent`,type:"submit","aria-label":(0,c.AP)("Search"),onClick:t=>{e&&(t.preventDefault(),n(),setTimeout((()=>{o.current&&o.current.focus()}),m))}},a.createElement(u.A,{className:"icon--menuitem",name:"search"}))),a.createElement("label",{className:"w-sr-only",htmlFor:"menu-search-q"},(0,c.AP)("Search")),a.createElement("input",{className:`\n ${e||!s?"w-hidden":""}\n !w-pl-[55px]\n !w-py-[13px]\n !w-subpixel-antialiased\n !w-absolute\n !w-left-0\n !w-font-normal\n !w-top-0\n !w-text-14\n !w-bg-transparent\n !w-border-0\n !w-rounded-none\n !w-text-text-label-menus-default\n !w-outline-offset-inside\n !w-leading-none\n placeholder:!w-text-text-label-menus-default`,type:"text",id:"menu-search-q",name:"q",placeholder:(0,c.AP)("Search"),ref:o})))};window.telepath.register("wagtail.sidebar.ActionMenuItem",class{name;label;action;attrs;iconName;classNames;method;constructor({name:e,label:t,action:n,attrs:a={},icon_name:r=null,classname:i,method:s="POST"}){this.name=e,this.label=t,this.action=n,this.attrs=a,this.iconName=r,this.classNames=i,this.method=s}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(T,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}),window.telepath.register("wagtail.sidebar.LinkMenuItem",v),window.telepath.register("wagtail.sidebar.SubMenuItem",w),window.telepath.register("wagtail.sidebar.PageExplorerMenuItem",class extends v{startPageId;constructor({name:e,label:t,url:n,attrs:a={},icon_name:r=null,classname:i},s){super({name:e,label:t,url:n,attrs:a,icon_name:r,classname:i}),this.startPageId=s}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(Mt,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}),window.telepath.register("wagtail.sidebar.WagtailBrandingModule",class{homeUrl;constructor(e){this.homeUrl=e}render({slim:e,key:t,navigate:n,currentPath:r}){return a.createElement(Dt,{key:t,homeUrl:this.homeUrl,slim:e,navigate:n,currentPath:r})}}),window.telepath.register("wagtail.sidebar.SearchModule",class{searchUrl;constructor(e){this.searchUrl=e}render({slim:e,key:t,expandingOrCollapsing:n,onSearchClick:r,navigate:i}){return a.createElement(Ft,{searchUrl:this.searchUrl,slim:e,key:t,expandingOrCollapsing:n,onSearchClick:r,navigate:i})}}),window.telepath.register("wagtail.sidebar.MainMenuModule",class{menuItems;accountMenuItems;user;constructor(e,t,n){this.menuItems=e,this.accountMenuItems=t,this.user=n}render({slim:e,expandingOrCollapsing:t,onHideMobile:n,key:r,currentPath:i,navigate:s}){return a.createElement(A,{menuItems:this.menuItems,accountMenuItems:this.accountMenuItems,user:this.user,slim:e,expandingOrCollapsing:t,onHideMobile:n,key:r,currentPath:i,navigate:s})}}),document.addEventListener("DOMContentLoaded",(()=>{!function(){const e={sameSite:"lax"},t=document.getElementById("wagtail-sidebar"),n=document.getElementById("wagtail-sidebar-props"),r=e=>(window.location.href=e,new Promise(p.l));if(t&&n?.textContent){const i=window.telepath.unpack(JSON.parse(n.textContent)),o=l.get(h),c=!(void 0===o||"0"===o),u=t=>{t?(document.body.classList.add("sidebar-collapsed"),l.set(h,1,e)):(document.body.classList.remove("sidebar-collapsed"),l.set(h,0,e))};s().render(a.createElement(d,{modules:i.modules,collapsedOnLoad:c,currentPath:window.location.pathname,navigate:r,onExpandCollapse:u}),t,(()=>{document.querySelector("[data-wagtail-sidebar]")?.classList.remove("sidebar-loading")}))}}()}))}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,a),i.exports}a.m=t,e=[],a.O=(t,n,r,i)=>{if(!n){var s=1/0;for(u=0;u<e.length;u++){for(var[n,r,i]=e[u],o=!0,l=0;l<n.length;l++)(!1&i||s>=i)&&Object.keys(a.O).every((e=>a.O[e](n[l])))?n.splice(l--,1):(o=!1,i<s&&(s=i));if(o){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,r,i]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.j=61,(()=>{var e={61:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var r,i,[s,o,l]=n,c=0;if(s.some((t=>0!==e[t]))){for(r in o)a.o(o,r)&&(a.m[r]=o[r]);if(l)var u=l(a)}for(t&&t(n);c<s.length;c++)i=s[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return a.O(u)},n=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var r=a.O(void 0,[321],(()=>a(998)));r=a.O(r)})();
|
|
2
|
+
(()=>{"use strict";var e,t={3769:(e,t,n)=>{n(2427),n(1458)},998:(e,t,n)=>{var a=n(2427),r=n.n(a),i=n(6931),s=n.n(i);function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)e[a]=n[a]}return e}var l=function e(t,n){function a(e,a,r){if("undefined"!=typeof document){"number"==typeof(r=o({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in r)r[s]&&(i+="; "+s,!0!==r[s]&&(i+="="+r[s].split(";")[0]));return document.cookie=e+"="+t.write(a,e)+i}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],a={},r=0;r<n.length;r++){var i=n[r].split("="),s=i.slice(1).join("=");try{var o=decodeURIComponent(i[0]);if(a[o]=t.read(s,o),e===o)break}catch(e){}}return e?a[e]:a}},remove:function(e,t){a(e,"",o({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,o({},this.attributes,t))},withConverter:function(t){return e(o({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),c=n(2833),u=n(1238);const m=150,d=({modules:e,currentPath:t,collapsedOnLoad:n=!1,navigate:r,onExpandCollapse:i})=>{const[s,o]=a.useState(n),l=a.useRef(null);a.useEffect((()=>{s&&i&&i(!0)}),[]);const[d,p]=a.useState(!1),[h,f]=a.useState(!0),g=()=>window.innerWidth<800,[v,b]=a.useState(g());a.useEffect((()=>{function e(){return g()?(b(!0),null):(b(!1),p(!1),setTimeout((()=>{f(!0)}),m))}window.addEventListener("resize",e);const t=e();return()=>{window.removeEventListener("resize",e),t&&clearTimeout(t)}}),[]);const E=s&&!v,[w,y]=a.useState(!1);a.useEffect((()=>{y(!0);const e=setTimeout((()=>{y(!1)}),m);return()=>{clearTimeout(e)}}),[E]);const N=()=>{o(!s),i&&i(!s)},[_,P]=a.useState(!1),C=()=>{E&&N()};a.useEffect((()=>{const e=setTimeout((()=>{d||f(!0)}),m);return()=>{clearTimeout(e)}}),[d]);const S=()=>{p(!1),l&&l.current?.focus()},x=e.map(((e,n)=>e.render({key:n,slim:E,expandingOrCollapsing:w,onHideMobile:S,onSearchClick:C,currentPath:t,navigate:r})));return a.createElement(a.Fragment,null,a.createElement("button",{onClick:()=>{p(!d),y(!0);const e=setTimeout((()=>{y(!1),f(!h)}),m);return()=>{clearTimeout(e)}},"aria-label":(0,c.AP)("Toggle sidebar"),"aria-expanded":d?"true":"false",className:"button sidebar-nav-toggle"+(v?" sidebar-nav-toggle--mobile":"")+(d?" sidebar-nav-toggle--open":""),type:"button",ref:l},d?a.createElement(u.A,{name:"cross"}):a.createElement(u.A,{name:"bars"})),a.createElement("div",{className:"sidebar"+(E?" sidebar--slim":"")+(v?" sidebar--mobile":"")+(v&&!d?" sidebar--hidden":"")+(v&&!d&&h?" sidebar--closed":"")},a.createElement("div",{className:"sidebar__inner",onFocus:()=>{_&&(o(!1),P(!0))},onBlur:()=>{_&&(P(!1),o(!0))}},a.createElement("div",{className:`sm:w-mt-2 ${E?"w-justify-center":"w-justify-end"} w-flex w-items-center`},a.createElement("button",{onClick:N,"aria-label":(0,c.AP)("Toggle sidebar"),"aria-expanded":E?"false":"true",type:"button",className:(E?"":"w-mr-4")+"\n button\n sidebar__collapse-toggle\n w-flex\n w-justify-center\n w-items-center\n hover:w-bg-surface-menu-item-active\n hover:text-white\n hover:opacity-100\n more-contrast:w-border-border-interactive-more-contrast-dark-bg\n hover:more-contrast:w-border-border-interactive-more-contrast-dark-bg-hover"},a.createElement(u.A,{name:"expand-right",className:s?"":"-w-rotate-180"}))),x)))};var p=n(3476);const h="wagtail_sidebar_collapsed";var f=n(1504);const g=({item:e,slim:t,path:n,state:r,dispatch:i,navigate:s})=>{const o=r.activePath===n,l=r.activePath.startsWith(n),m=n.split(".").length>2,d="sidebar-menu-item"+(l?" sidebar-menu-item--active":"")+(m?" sidebar-menu-item--in-sub-menu":"");return a.createElement("li",{className:d},a.createElement(f.Ay,{disabled:!t||m,content:e.label,placement:"right"},a.createElement("a",{...e.attrs,href:e.url,"aria-current":o?"page":void 0,onClick:t=>{t.ctrlKey||t.shiftKey||t.metaKey||t.button&&0!==t.button||(P(e,r)||i({type:"set-dismissible-state",item:e}),e.attrs.target||(t.preventDefault(),s(e.url).then((()=>{i({type:"set-active-path",path:n}),i({type:"set-navigation-path",path:""})}))))},className:`sidebar-menu-item__link ${e.classNames}`},e.iconName&&a.createElement(u.A,{name:e.iconName,className:"icon--menuitem"}),a.createElement("div",{className:"menuitem"},a.createElement("span",{className:"menuitem-label"},e.label),!P(e,r)&&a.createElement("span",{className:"w-dismissible-badge"},a.createElement("span",{className:"w-sr-only"},(0,c.AP)("(New)")))))))};class v{name;label;url;attrs;iconName;classNames;constructor({name:e,label:t,url:n,attrs:a={},icon_name:r=null,classname:i}){this.name=e,this.label=t,this.url=n,this.attrs=a,this.iconName=r,this.classNames=i}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(g,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}const b=({isVisible:e,isOpen:t,depth:n,widthPx:r,children:i})=>{const s="sidebar-panel"+(e?" sidebar-panel--visible":"")+(t?" sidebar-panel--open":"");let o=2*-n;e&&!t&&(o-=1);const l={"--z-index":o};return r&&(l["--width"]=r+"px"),a.createElement("div",{className:s,style:l},i)},E=({path:e,item:t,slim:n,state:r,dispatch:i,navigate:s})=>{const o=r.navigationPath.startsWith(e),l=o||r.activePath.startsWith(e),d=e.split(".").length,[p,h]=a.useState(!1),[g,v]=a.useState(!1),E=t.menuItems.filter((e=>!P(e,r))).length;a.useEffect((()=>{o?h(!0):!o&&p&&setTimeout((()=>{h(!1)}),m)}),[o]);const w="sidebar-menu-item sidebar-sub-menu-item"+(l?" sidebar-menu-item--active":"")+(o?" sidebar-sub-menu-item--open":""),y="sidebar-sub-menu-trigger-icon"+(o?" sidebar-sub-menu-trigger-icon--open":"");return a.createElement("li",{className:w},a.createElement(f.Ay,{disabled:o||!n,content:t.label,placement:"right"},a.createElement("button",{...t.attrs,onClick:()=>{if(!g&&E>0&&i({type:"set-dismissible-state",item:t}),o){const t=e.split(".");t.pop();const n=t.join(".");i({type:"set-navigation-path",path:n})}else i({type:"set-navigation-path",path:e}),v(!0)},className:`sidebar-menu-item__link ${t.classNames}`,"aria-haspopup":"menu","aria-expanded":o?"true":"false",type:"button"},t.iconName&&a.createElement(u.A,{name:t.iconName,className:"icon--menuitem"}),a.createElement("span",{className:"menuitem-label"},t.label),E>0&&!g&&a.createElement("span",{className:"w-dismissible-badge w-dismissible-badge--count"},a.createElement("span",{"aria-hidden":"true"},E),a.createElement("span",{className:"w-sr-only"},1===E?(0,c.AP)("(1 new item in this menu)"):(0,c.AP)("(%(number)s new items in this menu)").replace("%(number)s",`${E}`))),a.createElement(u.A,{className:y,name:"arrow-right"}))),a.createElement(b,{isVisible:p,isOpen:o,depth:d},a.createElement("div",{className:"sidebar-sub-menu-panel"},a.createElement("h2",{id:`wagtail-sidebar-submenu${e.split(".").join("-")}-title`,className:`${t.classNames} w-h4`},t.iconName&&a.createElement(u.A,{name:t.iconName,className:"icon--submenu-header"}),t.label),a.createElement("ul",{"aria-labelledby":`wagtail-sidebar-submenu${e.split(".").join("-")}-title`},_(e,t.menuItems,n,r,i,s)),t.footerText&&a.createElement("p",{className:"sidebar-sub-menu-panel__footer"},t.footerText))))};class w{name;label;menuItems;attrs;iconName;classNames;footerText;constructor({name:e,label:t,attrs:n={},icon_name:a=null,classname:r,footer_text:i=""},s){this.name=e,this.label=t,this.menuItems=s,this.attrs=n,this.iconName=a,this.classNames=r,this.footerText=i}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(E,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}var y=n(2891),N=n(2898);function _(e,t,n,r,i,s){return a.createElement(a.Fragment,null,t.map((t=>t.render({path:`${e}.${t.name}`,slim:n,state:r,dispatch:i,navigate:s}))))}function P(e,t){return!e.attrs["data-w-dismissible-id-value"]||"data-w-dismissible-dismissed-value"in e.attrs||t.dismissibles[e.name]}function C(e,t){e.forEach((e=>{e.attrs["data-w-dismissible-id-value"]&&t(e),e instanceof w&&C(e.menuItems,t)}))}function S(e,t){const n={...e};switch(t.type){case"set-active-path":n.activePath=t.path;break;case"set-navigation-path":n.navigationPath=t.path;break;case"set-dismissible-state":n.dismissibles=function(e,{item:t,value:n=!0}){const a={};return C([t],(e=>{a[e.attrs["data-w-dismissible-id-value"]]=n})),Object.keys(a).length>0&&(r=a,fetch(N.HE.ADMIN_URLS?.DISMISSIBLES,{method:"PATCH",headers:{[N.HE.CSRF_HEADER_NAME]:N.HE.CSRF_TOKEN,"Content-Type":"application/json"},body:JSON.stringify(r),mode:"same-origin"})),{...e.dismissibles,[t.name]:n};var r}(e,t)}return n}function x(e){const t={};return C(e,(e=>{t[e.attrs["data-w-dismissible-id-value"]]="data-w-dismissible-dismissed-value"in e.attrs})),t}y.Controller,Boolean;const A=({menuItems:e,accountMenuItems:t,user:n,expandingOrCollapsing:r,onHideMobile:i,slim:s,currentPath:o,navigate:l})=>{const[m,d]=a.useReducer(S,{navigationPath:"",activePath:"",dismissibles:x(e)}),p=!s||r,h=m.navigationPath.startsWith(".account");a.useEffect((()=>{s&&h&&d({type:"set-navigation-path",path:""})}),[s]),a.useEffect((()=>{const n=[],a=(e,t)=>{t.forEach((t=>{const r=`${e}.${t.name}`;t instanceof v?n.push([t.url,r]):t instanceof w&&a(r,t.menuItems)}))};a("",e),a("",t);let r=null;n.forEach((([e,t])=>{o.startsWith(e)&&(null==r||e.length>r[0].length)&&(r=[e,t])}));const i=r?r[1]:"";i!==m.activePath&&d({type:"set-active-path",path:i})}),[o,e]),a.useEffect((()=>{const e=e=>{"Escape"===e.key&&(d({type:"set-navigation-path",path:""}),""===m.navigationPath&&i())},t=e=>{const t=document.querySelector("[data-wagtail-sidebar]");t&&t.contains(e.target)||d({type:"set-navigation-path",path:""})};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),document.addEventListener("touchend",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t),document.removeEventListener("touchend",t)}}),[]);const g="sidebar-main-menu w-scrollbar-thin"+(h?" sidebar-main-menu--open-footer":"");return a.createElement(a.Fragment,null,a.createElement("nav",{className:g,"aria-label":(0,c.AP)("Main menu")},a.createElement("ul",{className:"sidebar-main-menu__list"},_("",e,s,m,d,l))),a.createElement("div",{className:"sidebar-footer"+(h?" sidebar-footer--open":"")+(p?" sidebar-footer--visible":"")},a.createElement(f.Ay,{disabled:!s,content:n.name,placement:"right"},a.createElement("button",{className:`\n ${s?"w-px-4":"w-px-5"}\n sidebar-footer__account\n w-bg-surface-menus\n w-text-text-label-menus-default\n w-flex\n w-items-center\n w-relative\n w-w-full\n w-appearance-none\n w-border-0\n w-overflow-hidden\n w-py-3\n hover:w-bg-surface-menu-item-active\n focus:w-bg-surface-menu-item-active\n w-transition`,onClick:()=>{d(h?{type:"set-navigation-path",path:""}:{type:"set-navigation-path",path:".account"})},"aria-haspopup":"menu","aria-expanded":h?"true":"false",type:"button"},a.createElement("div",{className:"avatar avatar-on-dark w-flex-shrink-0 !w-w-[28px] !w-h-[28px]"},a.createElement("img",{src:n.avatarUrl,alt:"",decoding:"async",loading:"lazy"})),a.createElement("div",{className:"sidebar-footer__account-toggle"},a.createElement("div",{className:"sidebar-footer__account-label w-label-3"},n.name),a.createElement(u.A,{className:"w-w-4 w-h-4 w-text-text-label-menus-default",name:h?"arrow-down":"arrow-up"})))),a.createElement("ul",null,_("",t,s,m,d,l))))},T=({item:e,slim:t,path:n,state:r,dispatch:i})=>{const s=r.activePath.startsWith(n),o=n.split(".").length>2,l="sidebar-menu-item"+(s?" sidebar-menu-item--active":"")+(o?" sidebar-menu-item--in-sub-menu":"");return a.createElement("li",{className:l},a.createElement(f.Ay,{disabled:!t||o,content:e.label,placement:"right"},a.createElement("form",{...e.attrs,method:e.method,action:e.action},a.createElement("input",{type:"hidden",name:"csrfmiddlewaretoken",value:N.HE.CSRF_TOKEN}),a.createElement("button",{type:"submit",className:`sidebar-menu-item__link ${e.classNames}`,onClick:t=>{t.ctrlKey||t.shiftKey||t.metaKey||t.button&&0!==t.button||P(e,r)||i({type:"set-dismissible-state",item:e})}},e.iconName&&a.createElement(u.A,{name:e.iconName,className:"icon--menuitem"}),a.createElement("span",{className:"menuitem"},a.createElement("span",{className:"menuitem-label"},e.label),!P(e,r)&&a.createElement("span",{className:"w-dismissible-badge"},a.createElement("span",{className:"w-sr-only"},(0,c.AP)("(New)"))))))))};var O=n(9904),R=n(8168),k=n(8587),I=n(4146),M=n.n(I),L=n(4363),j=n(8661),D=n(4595),F=n(1458),U=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],$=["reactReduxForwardedRef"],H=[],G=[null,null];function q(e,t){var n=e[1];return[t.payload,n+1]}function K(e,t,n){(0,D.E)((function(){return e.apply(void 0,t)}),n)}function B(e,t,n,a,r,i,s){e.current=a,t.current=r,n.current=!1,i.current&&(i.current=null,s())}function W(e,t,n,a,r,i,s,o,l,c){if(e){var u=!1,m=null,d=function(){if(!u){var e,n,d=t.getState();try{e=a(d,r.current)}catch(e){n=e,m=e}n||(m=null),e===i.current?s.current||l():(i.current=e,o.current=e,s.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=d,n.trySubscribe(),d(),function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,m)throw m}}}var V=function(){return[null,0]};function X(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,s=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,o=n.methodName,l=void 0===o?"connectAdvanced":o,c=n.renderCountProp,u=void 0===c?void 0:c,m=n.shouldHandleStateChanges,d=void 0===m||m,p=n.storeKey,h=void 0===p?"store":p,f=(n.withRef,n.forwardRef),g=void 0!==f&&f,v=n.context,b=void 0===v?F.t:v,E=(0,k.A)(n,U),w=b;return function(t){var n=t.displayName||t.name||"Component",i=s(n),o=(0,R.A)({},E,{getDisplayName:s,methodName:l,renderCountProp:u,shouldHandleStateChanges:d,storeKey:h,displayName:i,wrappedComponentName:n,WrappedComponent:t}),c=E.pure,m=c?a.useMemo:function(e){return e()};function p(n){var i=(0,a.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,k.A)(n,$);return[n.context,e,t]}),[n]),s=i[0],l=i[1],c=i[2],u=(0,a.useMemo)((function(){return s&&s.Consumer&&(0,L.isContextConsumer)(r().createElement(s.Consumer,null))?s:w}),[s,w]),p=(0,a.useContext)(u),h=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var f=h?n.store:p.store,g=(0,a.useMemo)((function(){return function(t){return e(t.dispatch,o)}(f)}),[f]),v=(0,a.useMemo)((function(){if(!d)return G;var e=(0,j.K)(f,h?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,h,p]),b=v[0],E=v[1],y=(0,a.useMemo)((function(){return h?p:(0,R.A)({},p,{subscription:b})}),[h,p,b]),N=(0,a.useReducer)(q,H,V),_=N[0][0],P=N[1];if(_&&_.error)throw _.error;var C=(0,a.useRef)(),S=(0,a.useRef)(c),x=(0,a.useRef)(),A=(0,a.useRef)(!1),T=m((function(){return x.current&&c===S.current?x.current:g(f.getState(),c)}),[f,_,c]);K(B,[S,C,A,c,T,x,E]),K(W,[d,f,b,g,S,C,A,x,E,P],[f,b,g]);var O=(0,a.useMemo)((function(){return r().createElement(t,(0,R.A)({},T,{ref:l}))}),[l,t,T]);return(0,a.useMemo)((function(){return d?r().createElement(u.Provider,{value:y},O):O}),[u,O,y])}var f=c?r().memo(p):p;if(f.WrappedComponent=t,f.displayName=p.displayName=i,g){var v=r().forwardRef((function(e,t){return r().createElement(f,(0,R.A)({},e,{reactReduxForwardedRef:t}))}));return v.displayName=i,v.WrappedComponent=t,M()(v,t)}return M()(f,t)}}var z=n(9124),Z=n(7684),J=n(6778);const Q=[function(e){return"function"==typeof e?(0,J.Qb)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,J.o6)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,J.o6)((function(t){return(0,Z.A)(e,t)})):void 0}],Y=[function(e){return"function"==typeof e?(0,J.Qb)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,J.o6)((function(){return{}}))}];function ee(e,t,n){return(0,R.A)({},n,e,t)}const te=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var a,r=n.pure,i=n.areMergedPropsEqual,s=!1;return function(t,n,o){var l=e(t,n,o);return s?r&&i(l,a)||(a=l):(s=!0,a=l),a}}}(e):void 0},function(e){return e?void 0:function(){return ee}}];var ne=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ae(e,t,n,a){return function(r,i){return n(e(r,i),t(a,i),i)}}function re(e,t,n,a,r){var i,s,o,l,c,u=r.areStatesEqual,m=r.areOwnPropsEqual,d=r.areStatePropsEqual,p=!1;return function(r,h){return p?function(r,p){var h,f,g=!m(p,s),v=!u(r,i);return i=r,s=p,g&&v?(o=e(i,s),t.dependsOnOwnProps&&(l=t(a,s)),c=n(o,l,s)):g?(e.dependsOnOwnProps&&(o=e(i,s)),t.dependsOnOwnProps&&(l=t(a,s)),c=n(o,l,s)):v?(h=e(i,s),f=!d(h,o),o=h,f&&(c=n(o,l,s)),c):c}(r,h):(o=e(i=r,s=h),l=t(a,s),c=n(o,l,s),p=!0,c)}}function ie(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,r=t.initMergeProps,i=(0,k.A)(t,ne),s=n(e,i),o=a(e,i),l=r(e,i);return(i.pure?re:ae)(s,o,l,e,i)}var se=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function oe(e,t,n){for(var a=t.length-1;a>=0;a--){var r=t[a](e);if(r)return r}return function(t,a){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+a.wrappedComponentName+".")}}function le(e,t){return e===t}function ce(e){var t=void 0===e?{}:e,n=t.connectHOC,a=void 0===n?X:n,r=t.mapStateToPropsFactories,i=void 0===r?Y:r,s=t.mapDispatchToPropsFactories,o=void 0===s?Q:s,l=t.mergePropsFactories,c=void 0===l?te:l,u=t.selectorFactory,m=void 0===u?ie:u;return function(e,t,n,r){void 0===r&&(r={});var s=r,l=s.pure,u=void 0===l||l,d=s.areStatesEqual,p=void 0===d?le:d,h=s.areOwnPropsEqual,f=void 0===h?z.A:h,g=s.areStatePropsEqual,v=void 0===g?z.A:g,b=s.areMergedPropsEqual,E=void 0===b?z.A:b,w=(0,k.A)(s,se),y=oe(e,i,"mapStateToProps"),N=oe(t,o,"mapDispatchToProps"),_=oe(n,c,"mergeProps");return a(m,(0,R.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:N,initMergeProps:_,pure:u,areStatesEqual:p,areOwnPropsEqual:f,areStatePropsEqual:v,areMergedPropsEqual:E},w))}}const ue=ce();n(6338),n(3769),n(387);var me=n(2724);function de(e){return de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de(e)}function pe(e){var t=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!==de(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===de(t)?t:String(t)}function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){var a,r,i;a=e,r=t,i=n[t],(r=pe(r))in a?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ge(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}(0,n(8298).d)(me.r);var ve="function"==typeof Symbol&&Symbol.observable||"@@observable",be=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ee={INIT:"@@redux/INIT"+be(),REPLACE:"@@redux/REPLACE"+be(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+be()}};function we(e,t,n){var a;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(ge(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(ge(1));return n(we)(e,t)}if("function"!=typeof e)throw new Error(ge(2));var r=e,i=t,s=[],o=s,l=!1;function c(){o===s&&(o=s.slice())}function u(){if(l)throw new Error(ge(3));return i}function m(e){if("function"!=typeof e)throw new Error(ge(4));if(l)throw new Error(ge(5));var t=!0;return c(),o.push(e),function(){if(t){if(l)throw new Error(ge(6));t=!1,c();var n=o.indexOf(e);o.splice(n,1),s=null}}}function d(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ge(7));if(void 0===e.type)throw new Error(ge(8));if(l)throw new Error(ge(9));try{l=!0,i=r(i,e)}finally{l=!1}for(var t=s=o,n=0;n<t.length;n++)(0,t[n])();return e}return d({type:Ee.INIT}),(a={dispatch:d,subscribe:m,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ge(10));r=e,d({type:Ee.REPLACE})}})[ve]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ge(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[ve]=function(){return this},e},a}function ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function Ne(e){return function(t){var n=t.dispatch,a=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,a,e):t(r)}}}}var _e=Ne();_e.withExtraArgument=Ne;const Pe=_e,{fetch:Ce,Headers:Se}=n.g,xe=e=>{if(e.status>=200&&e.status<300)return e;throw new Error(e.statusText)},Ae=e=>e.json(),Te=e=>((e,t)=>{const n={credentials:"same-origin",headers:new Se({Accept:"application/json","Content-Type":"application/json"}),method:e};return(a=Ce(t,n),new Promise(((e,t)=>{const n=setTimeout((()=>{t(new Error("Response timeout"))}),15e3);a.then((t=>{clearTimeout(n),e(t)}),(e=>{clearTimeout(n),t(e)}))}))).then(xe).then(Ae);var a})("GET",e),{ADMIN_API:Oe}=N.HE,Re=(e,t={})=>{let n=`${Oe.PAGES}?child_of=${e}&for_explorer=1`;return t.fields?n+=`&fields=parent,${window.encodeURIComponent(t.fields.join(","))}`:n+="&fields=parent",t.onlyWithChildren&&(n+="&has_children=1"),t.offset&&(n+=`&offset=${t.offset}`),n+=Oe.EXTRA_CHILDREN_PARAMETERS,Te(n)},ke=(e,t={})=>{let a=`${Oe.PAGES}?translation_of=${e}&limit=20`;return t.fields?a+=`&fields=parent,${n.g.encodeURIComponent(t.fields.join(","))}`:a+="&fields=parent",t.onlyWithChildren&&(a+="&has_children=1"),t.offset&&(a+=`&offset=${t.offset}`),Te(a)},Ie=async(e,t)=>{const n=[];let a=100;for(;;){const r=await ke(e,{offset:n.length,...t});if(r.items.forEach((e=>n.push(e))),n.length>=r.meta.total_count||a--<=0)return n}},Me=(...e)=>e[0];function Le(e,t,n){return(...a)=>{const r={type:e,payload:(t||Me)(...a)};return r.payload instanceof Error&&(r.error=!0),"function"==typeof n&&(r.meta=n(...a)),r}}const je=Le("GET_PAGE_SUCCESS",((e,t)=>({id:e,data:t}))),De=Le("GET_PAGE_FAILURE",((e,t)=>({id:e,error:t}))),Fe=Le("GET_CHILDREN_START",(e=>({id:e}))),Ue=Le("GET_CHILDREN_SUCCESS",((e,t,n)=>({id:e,items:t,meta:n}))),$e=Le("GET_CHILDREN_FAILURE",((e,t)=>({id:e,error:t})));function He(e,t=0){return n=>(n(Fe(e)),Re(e,{offset:t}).then((({items:a,meta:r})=>{const i=t+a.length;n(Ue(e,a,r)),i<r.total_count&&i<N.KV&&n(He(e,i))}),(t=>{n($e(e,t))})))}const Ge=Le("GET_TRANSLATIONS_START",(e=>({id:e}))),qe=Le("GET_TRANSLATIONS_SUCCESS",((e,t)=>({id:e,items:t}))),Ke=Le("GET_TRANSLATIONS_FAILURE",((e,t)=>({id:e,error:t})));function Be(e){return t=>(t(Ge(e)),Ie(e,{onlyWithChildren:!0}).then((n=>{t(qe(e,n))}),(n=>{t(Ke(e,n))})))}const We=Le("OPEN_EXPLORER",(e=>({id:e}))),Ve=Le("CLOSE_EXPLORER");function Xe(e){return(t,n)=>{const{nodes:a}=n(),r=a[e];t(We(e)),r||(t(He(e)),1!==e&&t(Be(e))),1!==e&&t(function(e){return t=>(e=>{const t=`${Oe.PAGES}${e}/`;return Te(t)})(e).then((n=>{t(je(e,n))}),(n=>{t(De(e,n))}))}(e))}}const ze=Le("GOTO_PAGE",((e,t)=>({id:e,transition:t})));var Ze=n(1688),Je=n.n(Ze);const Qe=()=>r().createElement("span",null,r().createElement(u.A,{name:"spinner",className:"w-spinner"}),` ${(0,c.AP)("Loading…")}`);var Ye=n(5556),et=n.n(Ye),tt=n(862),nt=n.n(tt);const at="push",rt=({name:e,component:t,className:n,duration:a,children:i})=>r().createElement(nt(),{component:t,transitionEnterTimeout:a,transitionLeaveTimeout:a,transitionName:`w-transition-${e}`,className:n},i);rt.propTypes={name:et().oneOf([at,"pop"]).isRequired,component:et().string,className:et().string,duration:et().number,children:et().node},rt.defaultProps={component:"div",children:null,className:null,duration:210};const it=rt,st=(e,t,n,a,r)=>{n&&"#"===e&&(r.preventDefault(),r.stopPropagation()),t&&t(r),r.ctrlKey||r.shiftKey||r.metaKey||r.button&&0!==r.button||a&&!r.defaultPrevented&&(r.preventDefault(),a(e))},ot=({className:e="",children:t,accessibleLabel:n,href:r="#",target:i,preventDefault:s=!0,onClick:o,navigate:l})=>{const c=a.Children.count(t)>0,u=n?a.createElement("span",{className:"w-sr-only"},n):null;return a.createElement("a",{className:e,onClick:st.bind(null,r,o,s,l),rel:"_blank"===i?"noreferrer":void 0,href:r,target:i},c?t:u)},{ADMIN_URLS:lt}=N.HE,ct=({locale:e,translations:t,gotoPage:n})=>{const a=wagtailConfig.LOCALES.filter((({code:n})=>n===e||t.get(n))).map((({code:e,display_name:t})=>r().createElement("option",{key:e,value:e},t)));return r().createElement("div",{className:"c-page-explorer__header__select"},r().createElement("select",{value:e,onChange:e=>{e.preventDefault();const a=t.get(e.target.value);a&&n(a,0)},disabled:a.length<2},a))},ut=({page:e,depth:t,onClick:n,gotoPage:a,navigate:i})=>{const s=0===t,o=0===e.id;return r().createElement("div",{className:"c-page-explorer__header"},r().createElement(ot,{href:o?lt.PAGES:`${lt.PAGES}${e.id}/`,className:"c-page-explorer__header__title",onClick:n,navigate:i},r().createElement("div",{className:"c-page-explorer__header__title__inner"},r().createElement(u.A,{name:s?"home":"arrow-left",className:"icon--explorer-header"}),r().createElement("span",null,e.admin_display_title||(0,c.AP)("Pages")))),!o&&e.meta.locale&&e.translations&&e.translations.size>0&&r().createElement(ct,{locale:e.meta.locale,translations:e.translations,gotoPage:a}))},mt=({status:e})=>r().createElement("span",{className:"c-status"+(e.live?" c-status--live":"")},e.status);mt.propTypes={status:et().shape({live:et().bool.isRequired,status:et().string.isRequired}).isRequired};const dt=mt,{ADMIN_URLS:pt}=N.HE,ht=r().createElement(u.A,{name:"folder-inverse",className:"icon--menuitem"}),ft=({item:e,onClick:t,navigate:n})=>{const{id:a,admin_display_title:i,meta:s}=e,o=s.children.count>0,l=s.status.live&&!s.status.has_unpublished_changes,m=1===s.parent?.id&&s.locale&&(N.kf.get(s.locale)||s.locale);return r().createElement("div",{className:"c-page-explorer__item"},r().createElement(ot,{href:`${pt.PAGES}${a}/`,navigate:n,className:"c-page-explorer__item__link"},o?ht:null,r().createElement("h3",{className:"c-page-explorer__item__title"},i),(!l||m)&&r().createElement("span",{className:"c-page-explorer__meta"},m&&r().createElement("span",{className:"c-status"},m),!l&&r().createElement(dt,{status:s.status}))),r().createElement(ot,{href:`${pt.PAGES}${a}/edit/`,className:"c-page-explorer__item__action c-page-explorer__item__action--small",navigate:n},r().createElement(u.A,{name:"edit",title:(0,c.AP)("Edit '%(title)s'").replace("%(title)s",i||""),className:"icon--item-action"})),o?r().createElement(ot,{className:"c-page-explorer__item__action",onClick:t,href:`${pt.PAGES}${a}/`,navigate:n},r().createElement(u.A,{name:"arrow-right",title:(0,c.AP)("View child pages of '%(title)s'").replace("%(title)s",i||""),className:"icon--item-action"})):null)},gt=({page:e})=>{const t=e.children.count;return r().createElement("a",{href:`${N.HE.ADMIN_URLS.PAGES}${e.id}/`,className:"c-page-explorer__see-more"},(0,c.AP)("See all"),r().createElement("span",null,` ${t} ${1===t?(0,c.AP)("Page").toLowerCase():(0,c.AP)("Pages").toLowerCase()}`),r().createElement(u.A,{name:"arrow-right"}))};class vt extends r().Component{constructor(e){super(e),this.state={transition:at},this.onItemClick=this.onItemClick.bind(this),this.onHeaderClick=this.onHeaderClick.bind(this)}componentWillReceiveProps(e){const{depth:t}=this.props,n=e.depth>t;this.setState({transition:n?at:"pop"})}onItemClick(e,t){const{gotoPage:n}=this.props;t.preventDefault(),t.stopPropagation(),n(e,1)}onHeaderClick(e){const{page:t,depth:n,gotoPage:a}=this.props,r=t.meta.parent?.id;n>0&&r&&(e.preventDefault(),e.stopPropagation(),a(r,-1))}renderChildren(){const{page:e,nodes:t}=this.props;let n;return n=e.isFetchingChildren||e.children.items?r().createElement("div",{key:"children"},e.children.items.map((e=>r().createElement(ft,{key:e,item:t[e],onClick:this.onItemClick.bind(null,e),navigate:this.props.navigate})))):r().createElement("div",{key:"empty",className:"c-page-explorer__placeholder"},(0,c.AP)("No results")),r().createElement("div",{className:"c-page-explorer__drawer"},n,e.isFetchingChildren||e.isFetchingTranslations?r().createElement("div",{key:"fetching",className:"c-page-explorer__placeholder"},r().createElement(Qe,null)):null,e.isError?r().createElement("div",{key:"error",className:"c-page-explorer__placeholder"},(0,c.AP)("Server Error")):null)}render(){const{page:e,depth:t,gotoPage:n,onClose:a}=this.props,{transition:i}=this.state;return r().createElement(Je(),{paused:!e||e.isFetchingChildren||e.isFetchingTranslations,focusTrapOptions:{onDeactivate:a,clickOutsideDeactivates:!1,allowOutsideClick:!0}},r().createElement("div",{role:"dialog","aria-label":(0,c.AP)("Page explorer")},r().createElement(it,{name:i,className:"c-page-explorer"},r().createElement("div",{key:t,className:"w-transition-group"},r().createElement(ut,{depth:t,page:e,onClick:this.onHeaderClick,gotoPage:n,navigate:this.props.navigate}),this.renderChildren(),e.isError||e.children.items&&e.children.count>N.KV?r().createElement(gt,{page:e}):null))))}}const bt=vt,Et=ue((e=>({depth:e.explorer.depth,currentPageId:e.explorer.currentPageId,nodes:e.nodes})),(e=>({gotoPage:(t,n)=>e(function(e,t){return(n,a)=>{const{nodes:r}=a(),i=r[e];n(ze(e,t)),!i||i.isFetchingChildren||i.children.count>0||n(He(e)),i&&!i.isFetchingTranslations&&null==i.translations&&n(Be(e))}}(t,n))})))((({isVisible:e,depth:t,currentPageId:n,nodes:a,gotoPage:i,onClose:s,navigate:o})=>e&&n?r().createElement(bt,{depth:t,page:a[n],nodes:a,gotoPage:i,onClose:s,navigate:o}):null)),wt={depth:0,currentPageId:null},yt="OPEN_EXPLORER",Nt="CLOSE_EXPLORER";function _t(e=wt,t){switch(t.type){case yt:return{depth:0,currentPageId:t.payload.id};case Nt:return wt;case"GOTO_PAGE":return{depth:e.depth+t.payload.transition,currentPageId:t.payload.id};default:return e}}const Pt={id:0,isFetchingChildren:!1,isFetchingTranslations:!1,isError:!1,children:{items:[],count:0},meta:{status:{status:"",live:!1,has_unpublished_changes:!0},parent:null,children:{}}},Ct="GET_PAGE_SUCCESS",St="GET_CHILDREN_START",xt="GET_CHILDREN_SUCCESS",At="GET_TRANSLATIONS_START",Tt="GET_TRANSLATIONS_SUCCESS",Ot="GET_PAGE_FAILURE",Rt="GET_CHILDREN_FAILURE",kt="GET_TRANSLATIONS_FAILURE",It=(e=Pt,t)=>{switch(t.type){case Ct:return{...e,...t.payload.data,isError:!1};case St:return{...e,isFetchingChildren:!0};case At:return{...e,isFetchingTranslations:!0};case xt:return{...e,isFetchingChildren:!1,isError:!1,children:{items:e.children.items.slice().concat(t.payload.items.map((e=>e.id))),count:t.payload.meta.total_count}};case Tt:const n=new Map;return t.payload.items.forEach((e=>{n.set(e.meta.locale,e.id)})),{...e,isFetchingTranslations:!1,isError:!1,translations:n};case Ot:case Rt:case kt:return{...e,isFetchingChildren:!1,isFetchingTranslations:!0,isError:!0};default:return e}},Mt={};function Lt(e=Mt,t){switch(t.type){case yt:return{...e,[t.payload.id]:{...Pt}};case Ct:case St:case At:case Ot:case Rt:case kt:return{...e,[t.payload.id]:It(e[t.payload.id],t)};case xt:case Tt:const n={...e,[t.payload.id]:It(e[t.payload.id],t)};return t.payload.items.forEach((e=>{n[e.id]={...Pt,...e}})),n;case Nt:return Mt;default:return e}}const jt=()=>we(function(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var r=t[a];"function"==typeof e[r]&&(n[r]=e[r])}var i,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:Ee.INIT}))throw new Error(ge(12));if(void 0===n(void 0,{type:Ee.PROBE_UNKNOWN_ACTION()}))throw new Error(ge(13))}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var a=!1,r={},o=0;o<s.length;o++){var l=s[o],c=n[l],u=e[l],m=c(u,t);if(void 0===m)throw t&&t.type,new Error(ge(14));r[l]=m,a=a||m!==u}return(a=a||s.length!==Object.keys(e).length)?r:e}}({explorer:_t,nodes:Lt}),{},ye(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),a=function(){throw new Error(ge(15))},r={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},i=t.map((function(e){return e(r)}));return a=ye.apply(void 0,i)(n.dispatch),fe(fe({},n),{},{dispatch:a})}}}(Pe),window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)),Dt=Et,Ft=({path:e,slim:t,item:n,state:r,dispatch:i,navigate:s})=>{const o=r.navigationPath.startsWith(e),l=o||r.activePath.startsWith(e),c=e.split(".").length,d=e.split(".").length>2,[p,h]=a.useState(!1),g=a.useRef(null);g.current||(g.current=jt());const v=()=>{setTimeout((()=>{h(!1),g.current&&g.current.dispatch(Ve())}),m)};a.useEffect((()=>{o?(h(!0),g.current&&g.current.dispatch(Xe(n.startPageId))):!o&&p&&v()}),[o]);const E="sidebar-menu-item sidebar-page-explorer-item"+(l?" sidebar-menu-item--active":"")+(d?" sidebar-menu-item--in-sub-menu":""),w="sidebar-sub-menu-trigger-icon"+(o?" sidebar-sub-menu-trigger-icon--open":"");return a.createElement("li",{className:E},a.createElement(f.Ay,{disabled:o||!t,content:n.label,placement:"right"},a.createElement("button",{onClick:()=>{i(o?{type:"set-navigation-path",path:""}:{type:"set-navigation-path",path:e})},className:"sidebar-menu-item__link","aria-haspopup":"dialog","aria-expanded":o?"true":"false",type:"button"},a.createElement(u.A,{name:"folder-open-inverse",className:"icon--menuitem"}),a.createElement("span",{className:"menuitem-label"},n.label),a.createElement(u.A,{className:w,name:"arrow-right"}))),a.createElement("div",null,a.createElement(b,{isVisible:p,isOpen:o,depth:c,widthPx:485},g.current&&a.createElement(O.A,{store:g.current},a.createElement(Dt,{isVisible:p,navigate:s,onClose:v})))))},Ut=({className:e,slim:t})=>{const n="group-hover:w-text-black w-transition-all w-duration-150";return r().createElement("svg",{style:{left:t?"-1.125rem":"-1.75rem"},className:`\n sidebar-wagtail-branding__icon\n !w-overflow-visible\n w-group\n w-text-surface-menus\n w-z-10\n w-absolute\n w-transition-all\n w-duration-150\n hover:w-scale-[0.85]\n hover:w-rotate-[5deg]\n ${e||""}\n ${t?"w-w-[58px] w-h-[57px] w-top-2 hover:w-translate-x-1 hover:-w-translate-y-1":"w-w-[120px] w-h-[200px] -w-top-1 hover:w-translate-x-2 hover:-w-translate-y-3"}\n `,width:"225",height:"274",viewBox:"0 0 225 274",enableBackground:"new 0 0 225 274",xmlSpace:"preserve","aria-hidden":"true"},r().createElement("g",null,r().createElement("path",{className:"wagtail-logo-face",fill:"#FFF",d:"M194.897 79.492c-8.392-12.793-22.602-21.27-38.773-21.27-5.322 0-10.496.915-15.32 2.62a30.755 30.755 0 0 1-4.039-15.3c0-17.078\n 13.325-30.792 29.918-30.792 4.274 0 8.046.776 11.565 2.328 1.746-2.566 3.491-5.64 5.236-9.476 7.108 4.095 19.786 14.99 21.26\n 33.397L190.72 61.88l4.177 17.612Z"}),r().createElement("path",{className:`w-hidden ${n}`,"data-part":"eye--closed",d:"M183.083 36.4189C181.131 37.0166 179.364 38.6306 178.317 40.5186C178.048 41.0035 177.464 41.2495 176.954 41.0359L173.968\n 39.7874C173.46 39.5751 173.217 38.9905 173.464 38.498C175.023 35.3889 177.903 32.5075 181.558 31.388C185.602 30.1494 190.075\n 31.2163 194.019 35.3681C194.398 35.7669 194.352 36.3991 193.936 36.7609L191.492 38.8897C191.073 39.2538 190.441 39.2043 190.053\n 38.8094C187.354 36.0624 184.921 35.8559 183.083 36.4189Z",fill:"currentColor"}),r().createElement("path",{className:n,"data-part":"eye--open",fill:"currentColor",d:"M185.54 42.697c3.332 0 6.034-2.781 6.034-6.211s-2.702-6.21-6.034-6.21c-3.333 0-6.034 2.78-6.034 6.21s2.701 6.21 6.034 6.21Z"}),r().createElement("path",{className:n,"data-part":"body",fill:"currentColor",d:"m21.867 193.558 92.839-164.565C122.124 11.853 138.827 0 158.135 0c9.302 0 18.102 2.588 25.393 7.504-1.76 3.882-3.52 6.987-5.28\n 9.575-3.52-1.553-7.291-2.33-11.565-2.33-16.594 0-29.919 13.716-29.919 30.794 0 5.646 1.496 10.83 4.04 15.3a45.95 45.95 0 0 1\n 15.319-2.62c25.896 0 46.764 21.736 46.764 48.131 0 1.104-.183 2.209-.394 3.475l-.109.665h.252c-.126.906-.315 1.811-.503\n 2.717-.189.906-.377 1.811-.503 2.717v.259c-17.487 91.789-126.812 89.821-143.747 89.031l.112-.386-1.743-30.679-6.872 12.197-27.513 7.208Z"}),r().createElement("path",{className:n,"data-part":"body-tail-connector",fill:"currentColor",d:"m49.277 186.425 8.718 18.407-1.743-30.679-6.975 12.272Z"}),r().createElement("path",{className:n,"data-part":"beak",fill:"currentColor",d:"m204.648 41.144-11.817 18.114h31.93l-20.113-18.114Z"}),r().createElement("path",{"data-part":"feather-accent",fill:"#FFF",d:"m99.304 170.528-2.012 1.552s66.877-11.127 77.437-67.797l-10.56 3.623s-2.765 43.99-64.865 62.622Z"})),r().createElement("path",{className:n,"data-part":"tail",fill:"currentColor",d:"M56.252 174.153.456 273.202l41.847-14.025 15.692-54.345-1.743-30.679Z"}))},$t=({homeUrl:e,slim:t,currentPath:n,navigate:r})=>{const i=a.useMemo((()=>document.querySelector("[data-wagtail-sidebar-branding-logo]")),[]);if(i&&""!==i.innerHTML)return a.createElement("a",{className:"sidebar-custom-branding",href:e,"aria-label":(0,c.AP)("Dashboard"),"aria-current":n===e?"page":void 0,dangerouslySetInnerHTML:{__html:i?i.innerHTML:""}});const s=a.useRef(0),o=a.useRef("r"),l=a.useRef(0),[u,m]=a.useState(!1),d="sidebar-wagtail-branding w-transition-all w-duration-150"+(u?" sidebar-wagtail-branding--wagging":"");return a.createElement("a",{className:d,href:e,"aria-label":(0,c.AP)("Dashboard"),"aria-current":n===e?"page":void 0,onClick:t=>{t.ctrlKey||t.shiftKey||t.metaKey||t.button&&0!==t.button||(t.preventDefault(),r(e))},onMouseMove:e=>{const t=e.pageX,n=t>s.current?"r":"l";t!==s.current&&n!==o.current&&(l.current+=1),l.current>8&&m(!0),s.current=t,o.current=n},onMouseLeave:()=>{m(!1),l.current=0}},a.createElement("div",{className:"sidebar-wagtail-branding__icon-wrapper w-transition-all w-duration-150"},a.createElement(Ut,{slim:t})))},Ht=({slim:e,expandingOrCollapsing:t,onSearchClick:n,searchUrl:r,navigate:i})=>{const s=!e||t,o=a.useRef(null);return a.createElement("form",{role:"search",className:"w-h-[42px] w-relative w-box-border w-flex w-items-center w-justify-start w-flex-row w-flex-shrink-0",action:r,method:"get",onSubmit:e=>{if(e.target instanceof HTMLFormElement)if(e.preventDefault(),s){const t=e.target.querySelector('input[name="q"]');i(r+"?q="+encodeURIComponent(t.value))}else i(r)}},a.createElement("div",{className:"w-flex w-flex-row w-items-center w-h-full"},a.createElement(f.Ay,{disabled:s||!e,content:(0,c.AP)("Search"),placement:"right"},a.createElement("button",{className:`\n ${e?"w-pr-[18px]":"w-pr-0"}\n w-w-full\n w-pl-[23px]\n w-h-[35px]\n w-bg-transparent\n w-outline-offset-inside\n w-border-0\n w-rounded-none\n w-text-text-label-menus-default\n w-z-10\n hover:w-text-text-label-menus-active\n focus:w-text-text-label-menus-active\n hover:w-bg-transparent`,type:"submit","aria-label":(0,c.AP)("Search"),onClick:t=>{e&&(t.preventDefault(),n(),setTimeout((()=>{o.current&&o.current.focus()}),m))}},a.createElement(u.A,{className:"icon--menuitem",name:"search"}))),a.createElement("label",{className:"w-sr-only",htmlFor:"menu-search-q"},(0,c.AP)("Search")),a.createElement("input",{className:`\n ${e||!s?"w-hidden":""}\n !w-pl-[55px]\n !w-py-[13px]\n !w-subpixel-antialiased\n !w-absolute\n !w-left-0\n !w-font-normal\n !w-top-0\n !w-text-14\n !w-bg-transparent\n !w-border-0\n !w-rounded-none\n !w-text-text-label-menus-default\n !w-outline-offset-inside\n !w-leading-none\n placeholder:!w-text-text-label-menus-default`,type:"text",id:"menu-search-q",name:"q",placeholder:(0,c.AP)("Search"),ref:o})))};window.telepath.register("wagtail.sidebar.ActionMenuItem",class{name;label;action;attrs;iconName;classNames;method;constructor({name:e,label:t,action:n,attrs:a={},icon_name:r=null,classname:i,method:s="POST"}){this.name=e,this.label=t,this.action=n,this.attrs=a,this.iconName=r,this.classNames=i,this.method=s}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(T,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}),window.telepath.register("wagtail.sidebar.LinkMenuItem",v),window.telepath.register("wagtail.sidebar.SubMenuItem",w),window.telepath.register("wagtail.sidebar.PageExplorerMenuItem",class extends v{startPageId;constructor({name:e,label:t,url:n,attrs:a={},icon_name:r=null,classname:i},s){super({name:e,label:t,url:n,attrs:a,icon_name:r,classname:i}),this.startPageId=s}render({path:e,slim:t,state:n,dispatch:r,navigate:i}){return a.createElement(Ft,{key:this.name,item:this,path:e,slim:t,state:n,dispatch:r,navigate:i})}}),window.telepath.register("wagtail.sidebar.WagtailBrandingModule",class{homeUrl;constructor(e){this.homeUrl=e}render({slim:e,key:t,navigate:n,currentPath:r}){return a.createElement($t,{key:t,homeUrl:this.homeUrl,slim:e,navigate:n,currentPath:r})}}),window.telepath.register("wagtail.sidebar.SearchModule",class{searchUrl;constructor(e){this.searchUrl=e}render({slim:e,key:t,expandingOrCollapsing:n,onSearchClick:r,navigate:i}){return a.createElement(Ht,{searchUrl:this.searchUrl,slim:e,key:t,expandingOrCollapsing:n,onSearchClick:r,navigate:i})}}),window.telepath.register("wagtail.sidebar.MainMenuModule",class{menuItems;accountMenuItems;user;constructor(e,t,n){this.menuItems=e,this.accountMenuItems=t,this.user=n}render({slim:e,expandingOrCollapsing:t,onHideMobile:n,key:r,currentPath:i,navigate:s}){return a.createElement(A,{menuItems:this.menuItems,accountMenuItems:this.accountMenuItems,user:this.user,slim:e,expandingOrCollapsing:t,onHideMobile:n,key:r,currentPath:i,navigate:s})}}),document.addEventListener("DOMContentLoaded",(()=>{!function(){const e={sameSite:"lax"},t=document.getElementById("wagtail-sidebar"),n=document.getElementById("wagtail-sidebar-props"),r=e=>(window.location.href=e,new Promise(p.l));if(t&&n?.textContent){const i=window.telepath.unpack(JSON.parse(n.textContent)),o=l.get(h),c=!(void 0===o||"0"===o),u=t=>{t?(document.body.classList.add("sidebar-collapsed"),l.set(h,1,e)):(document.body.classList.remove("sidebar-collapsed"),l.set(h,0,e))};s().render(a.createElement(d,{modules:i.modules,collapsedOnLoad:c,currentPath:window.location.pathname,navigate:r,onExpandCollapse:u}),t,(()=>{document.querySelector("[data-wagtail-sidebar]")?.classList.remove("sidebar-loading")}))}}()}))}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,a),i.exports}a.m=t,e=[],a.O=(t,n,r,i)=>{if(!n){var s=1/0;for(u=0;u<e.length;u++){for(var[n,r,i]=e[u],o=!0,l=0;l<n.length;l++)(!1&i||s>=i)&&Object.keys(a.O).every((e=>a.O[e](n[l])))?n.splice(l--,1):(o=!1,i<s&&(s=i));if(o){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,r,i]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.j=61,(()=>{var e={61:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var r,i,[s,o,l]=n,c=0;if(s.some((t=>0!==e[t]))){for(r in o)a.o(o,r)&&(a.m[r]=o[r]);if(l)var u=l(a)}for(t&&t(n);c<s.length;c++)i=s[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return a.O(u)},n=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var r=a.O(void 0,[321],(()=>a(998)));r=a.O(r)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var t
|
|
1
|
+
(()=>{"use strict";var t={1003:t=>{function r(t,e,o){return r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,r,e){var o=[null];o.push.apply(o,r);var i=new(Function.bind.apply(t,o));return e&&n(i,e.prototype),i},r.apply(null,arguments)}function n(t,r){return n=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},n(t,r)}function e(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],e=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(e=(a=u.next()).done)&&(n.push(a.value),!r||n.length!==r);e=!0);}catch(t){o=!0,i=t}finally{try{e||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,r)||o(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,r){if(t){if("string"==typeof t)return i(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,r):void 0}}function i(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function u(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}var c=function(){function t(){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),this.constructors={}}var n,c;return n=t,(c=[{key:"register",value:function(t,r){this.constructors[t]=r}},{key:"unpack",value:function(t){var r={};return this.scanForIds(t,r),this.unpackWithRefs(t,r,{})}},{key:"scanForIds",value:function(t,r){var n=this;if(null!==t&&"object"===a(t))if(Array.isArray(t))t.forEach((function(t){return n.scanForIds(t,r)}));else{var o=!1;if("_id"in t&&(o=!0,r[t._id]=t),("_type"in t||"_val"in t||"_ref"in t)&&(o=!0),"_list"in t&&(o=!0,t._list.forEach((function(t){return n.scanForIds(t,r)}))),"_args"in t&&(o=!0,t._args.forEach((function(t){return n.scanForIds(t,r)}))),"_dict"in t){o=!0;for(var i=0,u=Object.entries(t._dict);i<u.length;i++){var c=e(u[i],2),f=(c[0],c[1]);this.scanForIds(f,r)}}if(!o)for(var s=0,l=Object.entries(t);s<l.length;s++){var y=e(l[s],2),p=(y[0],y[1]);this.scanForIds(p,r)}}}},{key:"unpackWithRefs",value:function(t,n,u){var c,f,s=this;if(null===t||"object"!==a(t))return t;if(Array.isArray(t))return t.map((function(t){return s.unpackWithRefs(t,n,u)}));if("_ref"in t)c=t._ref in u?u[t._ref]:this.unpackWithRefs(n[t._ref],n,u);else if("_val"in t)c=t._val;else if("_list"in t)c=t._list.map((function(t){return s.unpackWithRefs(t,n,u)}));else if("_dict"in t){c={};for(var l=0,y=Object.entries(t._dict);l<y.length;l++){var p=e(y[l],2),h=p[0],d=p[1];c[h]=this.unpackWithRefs(d,n,u)}}else{if(!("_type"in t)){if("_id"in t)throw new Error("telepath encountered object with _id but no type specified");c={};for(var v=0,b=Object.entries(t);v<b.length;v++){var _=e(b[v],2),m=_[0],w=_[1];c[m]=this.unpackWithRefs(w,n,u)}return c}var g=t._type;c=r(this.constructors[g],function(t){if(Array.isArray(t))return i(t)}(f=t._args.map((function(t){return s.unpackWithRefs(t,n,u)})))||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(f)||o(f)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}return"_id"in t&&(u[t._id]=c),c}}])&&u(n.prototype,c),t}();t.exports=c}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return n.d(r,{a:r}),r},n.d=(t,r)=>{for(var e in r)n.o(r,e)&&!n.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},n.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r);var e=n(1003),o=n.n(e);window.telepath||(window.telepath=new(o()))})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var t,e={7290:(t,e,i)=>{var s=i(2833),n=i(6032);class r{constructor(t,e,i,s,n,r){const a=t.forEach?t:[t],o=`:is(input,select,textarea,button)[name="${e}"]`;for(let t=0;t<a.length;t+=1){const e=a[t];if(e.nodeType===Node.ELEMENT_NODE){if(e.matches(o)){this.input=e;break}{const t=e.querySelector(o);if(t){this.input=t;break}}}}this.idForLabel=i,this.setState(s),this.parentCapabilities=n||new Map,this.options=r}getValue(){return this.input.value}getState(){return this.input.value}setState(t){this.input.value=t}getTextLabel(t){const e=this.getValue();if("string"!=typeof e)return null;const i=t&&t.maxLength;return i&&e.length>i?e.substring(0,i-1)+"…":e}focus(){this.input.focus()}setCapabilityOptions(t,e){Object.assign(this.parentCapabilities.get(t),e)}}class a{constructor(t,e){this.html=t,this.idPattern=e}boundWidgetClass=r;render(t,e,i,s,r,a={}){const o=this.html.replace(/__NAME__/g,e).replace(/__ID__/g,i),l=this.idPattern.replace(/__ID__/g,i),
|
|
1
|
+
(()=>{"use strict";var t,e={7290:(t,e,i)=>{var s=i(2833),n=i(6032);class r{constructor(t,e,i,s,n,r){const a=t.forEach?t:[t],o=`:is(input,select,textarea,button)[name="${e}"]`;for(let t=0;t<a.length;t+=1){const e=a[t];if(e.nodeType===Node.ELEMENT_NODE){if(e.matches(o)){this.input=e;break}{const t=e.querySelector(o);if(t){this.input=t;break}}}}this.idForLabel=i,this.setState(s),this.parentCapabilities=n||new Map,this.options=r}getValue(){return this.input.value}getState(){return this.input.value}setState(t){this.input.value=t}getTextLabel(t){const e=this.getValue();if("string"!=typeof e)return null;const i=t&&t.maxLength;return i&&e.length>i?e.substring(0,i-1)+"…":e}focus(){this.input.focus()}setCapabilityOptions(t,e){Object.assign(this.parentCapabilities.get(t),e)}}class a{constructor(t,e){this.html=t,this.idPattern=e}boundWidgetClass=r;render(t,e,i,s,r,a={}){const o=this.html.replace(/__NAME__/g,e).replace(/__ID__/g,i),l=this.idPattern.replace(/__ID__/g,i),u=document.createElement("div");u.innerHTML=o.trim();const c=Array.from(u.childNodes);t.replaceWith(...c);const h=c.filter((t=>t.nodeType===Node.ELEMENT_NODE));return h.forEach((t=>{(0,n.v)(t)})),"object"==typeof a?.attributes&&Object.entries(a.attributes).forEach((([t,e])=>{h[0].setAttribute(t,e)})),new this.boundWidgetClass(1===h.length?h[0]:c,e,l,s,r,a)}}window.telepath.register("wagtail.widgets.Widget",a);class o extends r{getValue(){return this.input.checked}getState(){return this.input.checked}setState(t){this.input.checked=t}}window.telepath.register("wagtail.widgets.CheckboxInput",class extends a{boundWidgetClass=o});class l{constructor(t,e,i,s){this.element=t,this.name=e,this.idForLabel=i,this.isMultiple=!!this.element.querySelector(`input[name="${e}"][type="checkbox"]`),this.selector=`input[name="${e}"]:checked`,this.setState(s)}getValue(){return this.isMultiple?Array.from(this.element.querySelectorAll(this.selector)).map((t=>t.value)):this.element.querySelector(this.selector)?.value}getState(){return Array.from(this.element.querySelectorAll(this.selector)).map((t=>t.value))}setState(t){const e=this.element.querySelectorAll(`input[name="${this.name}"]`);for(let i=0;i<e.length;i+=1)e[i].checked=t.includes(e[i].value)}focus(){this.element.querySelector(`input[name="${this.name}"]`)?.focus()}}window.telepath.register("wagtail.widgets.RadioSelect",class extends a{boundWidgetClass=l});class u extends r{getTextLabel(){return Array.from(this.input.selectedOptions).map((t=>t.text)).join(", ")}getValue(){return this.input.multiple?Array.from(this.input.selectedOptions).map((t=>t.value)):this.input.value}getState(){return Array.from(this.input.selectedOptions).map((t=>t.value))}setState(t){const e=this.input.options;for(let i=0;i<e.length;i+=1)e[i].selected=t.includes(e[i].value)}}window.telepath.register("wagtail.widgets.Select",class extends a{boundWidgetClass=u});class c{constructor(t,e,i,s){this.widget=t,this.blockDef=e,this.addSibling=i,this.split=s,this.blockMax=i.getBlockMax(e.name),this.icon=e.meta.icon,this.description=e.meta.label,this.type=e.name}render({option:t}){const e="number"==typeof blockMax?` (${this.addSibling.getBlockCount(this.blockDef.name)}/${this.blockMax})`:"";return`${t.description}${e}`}onSelect({editorState:t}){const e=window.draftail.splitState(window.draftail.DraftUtils.removeCommandPalettePrompt(t));e.stateAfter.getCurrentContent().hasText()?setTimeout((()=>{e&&this.split.fn(e.stateBefore,e.stateAfter,e.shouldMoveCommentFn),setTimeout((()=>{this.addSibling.fn({type:this.blockDef.name})}),20)}),50):(this.widget.setState(e.stateBefore),setTimeout((()=>{this.addSibling.fn({type:this.blockDef.name})}),20))}}class h{constructor(t,e){this.widget=t,this.split=e,this.description=(0,s.AP)("Split block")}icon="cut";type="split";onSelect({editorState:t}){const e=window.draftail.splitState(window.draftail.DraftUtils.removeCommandPalettePrompt(t));setTimeout((()=>{e&&this.split.fn(e.stateBefore,e.stateAfter,e.shouldMoveCommentFn)}),50)}}class p{constructor(t,e,i){this.input=t,this.capabilities=new Map(i),this.options=e;const[,s]=draftail.initEditor("#"+this.input.id,this.getFullOptions(),document.currentScript);this.setDraftailOptions=s}getValue(){return this.input.value}getState(){return this.input.draftailEditor.getEditorState()}setState(t){this.input.draftailEditor.onChange(t)}getTextLabel(t){const e=t&&t.maxLength;if(!this.input.value)return"";const i=JSON.parse(this.input.value);if(!i||!i.blocks)return"";let s="";for(const t of i.blocks)if(t.text&&(s+=s?" "+t.text:t.text,e&&s.length>e))return s.substring(0,e-1)+"…";return s}focus(){setTimeout((()=>{this.input.draftailEditor.focus()}),50)}setCapabilityOptions(t,e){const i=Object.assign(this.capabilities.get(t),e);this.capabilities.set(t,i),this.setDraftailOptions(this.getFullOptions())}getCapabilityOptions(t){const e={},i=t,n=i.get("split"),r=i.get("addSibling");let a=[];return n&&(a=(r&&r.enabled&&n.enabled?r.blockGroups:[]).map((([t,e])=>{const i=e.map((t=>new c(this,t,r,n)));return{label:t||(0,s.AP)("Blocks"),type:`streamfield-${t}`,items:i}})),n.enabled&&a.push({label:"Actions",type:"custom-actions",items:[new h(this,n)]})),e.commands=[{type:"blockTypes"},{type:"entityTypes"},...a],e}getFullOptions(){return{...this.options,...this.getCapabilityOptions(this.capabilities)}}}window.telepath.register("wagtail.widgets.DraftailRichTextArea",class{constructor(t){this.options=t}render(t,e,i,s,n,r={}){const a=document.createElement("input");a.type="hidden",a.id=i,a.name=e,"object"==typeof r?.attributes&&Object.entries(r.attributes).forEach((([t,e])=>{a.setAttribute(t,e)}));const o=!!s.getCurrentContent;a.value=o?"null":s,t.appendChild(a);const l=new p(a,{...this.options,...r},n);return o&&l.setState(s),l}});class d extends a{constructor(t){super(),this.options=t}render(t,e,i,s){const n=document.createElement("input");n.type="text",n.name=e,n.id=i,t.replaceWith(n),this.initChooserFn(i,this.options);const r={getValue:()=>n.value,getState:()=>n.value,setState(t){n.value=t},focus(t){t&&t.soft||n.focus()},getTextLabel(){return this.getValue()||""},idForLabel:i};return r.setState(s),r}}window.telepath.register("wagtail.widgets.AdminDateInput",class extends d{initChooserFn=window.initDateChooser}),window.telepath.register("wagtail.widgets.AdminTimeInput",class extends d{initChooserFn=window.initTimeChooser}),window.telepath.register("wagtail.widgets.AdminDateTimeInput",class extends d{initChooserFn=window.initDateTimeChooser}),window.telepath.register("wagtail.errors.ValidationError",class{constructor(t){this.messages=t}})}},i={};function s(t){var n=i[t];if(void 0!==n)return n.exports;var r=i[t]={exports:{}};return e[t](r,r.exports,s),r.exports}s.m=e,t=[],s.O=(e,i,n,r)=>{if(!i){var a=1/0;for(c=0;c<t.length;c++){for(var[i,n,r]=t[c],o=!0,l=0;l<i.length;l++)(!1&r||a>=r)&&Object.keys(s.O).every((t=>s.O[t](i[l])))?i.splice(l--,1):(o=!1,r<a&&(a=r));if(o){t.splice(c--,1);var u=n();void 0!==u&&(e=u)}}return e}r=r||0;for(var c=t.length;c>0&&t[c-1][2]>r;c--)t[c]=t[c-1];t[c]=[i,n,r]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.j=136,(()=>{var t={136:0};s.O.j=e=>0===t[e];var e=(e,i)=>{var n,r,[a,o,l]=i,u=0;if(a.some((e=>0!==t[e]))){for(n in o)s.o(o,n)&&(s.m[n]=o[n]);if(l)var c=l(s)}for(e&&e(i);u<a.length;u++)r=a[u],s.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return s.O(c)},i=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var n=s.O(void 0,[321],(()=>s(7290)));n=s.O(n)})();
|