# Generated by Django 5.1.3 on 2024-12-10 10:07

import django.core.validators
import django.db.models.deletion
import wagtail.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("sites_conformes_content_manager", "0049_alter_contentpage_body"),
        ("wagtailcore", "0094_alter_page_locale"),
        ("wagtailimages", "0027_image_description"),
    ]

    operations = [
        migrations.CreateModel(
            name="CatalogIndexPage",
            fields=[
                (
                    "page_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="wagtailcore.page",
                    ),
                ),
                (
                    "body",
                    wagtail.fields.StreamField(
                        [
                            ("paragraph", 0),
                            ("image", 9),
                            ("imageandtext", 22),
                            ("alert", 27),
                            ("accordions", 31),
                            ("callout", 38),
                            ("highlight", 41),
                            ("quote", 46),
                            ("video", 53),
                            ("transcription", 54),
                            ("badges_list", 59),
                            ("tags_list", 64),
                            ("link", 65),
                            ("stepper", 71),
                            ("card", 93),
                            ("tile", 103),
                            ("tabs", 137),
                            ("markdown", 138),
                            ("iframe", 139),
                            ("separator", 142),
                            ("multicolumns", 151),
                            ("item_grid", 154),
                            ("fullwidthbackground", 156),
                            ("fullwidthbackgroundwithsidemenu", 163),
                            ("subpageslist", 164),
                            ("blog_recent_entries", 123),
                            ("events_recent_entries", 125),
                            ("html", 165),
                        ],
                        blank=True,
                        block_lookup={
                            0: ("wagtail.blocks.RichTextBlock", (), {"label": "Rich text"}),
                            1: ("wagtail.blocks.CharBlock", (), {"label": "Title", "required": False}),
                            2: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("h2", "Heading 2"),
                                        ("h3", "Heading 3"),
                                        ("h4", "Heading 4"),
                                        ("h5", "Heading 5"),
                                        ("h6", "Heading 6"),
                                        ("p", "Paragraph"),
                                    ],
                                    "help_text": "Adapt to the page layout. Defaults to heading 3.",
                                    "label": "Heading level",
                                    "required": False,
                                },
                            ),
                            3: ("wagtail.images.blocks.ImageChooserBlock", (), {"label": "Image"}),
                            4: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {"label": "Alternative text (textual description of the image)", "required": False},
                            ),
                            5: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("fr-content-media--sm", "Small"),
                                        ("", "Medium"),
                                        ("fr-content-media--lg", "Large"),
                                    ],
                                    "label": "Witdh",
                                    "required": False,
                                },
                            ),
                            6: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("fr-ratio-32x9", "32x9"),
                                        ("fr-ratio-16x9", "16x9"),
                                        ("fr-ratio-3x2", "3x2"),
                                        ("fr-ratio-4x3", "4x3"),
                                        ("fr-ratio-1x1", "1x1"),
                                        ("fr-ratio-3x4", "3x4"),
                                        ("fr-ratio-2x3", "2x3"),
                                    ],
                                    "label": "Image ratio",
                                    "required": False,
                                },
                            ),
                            7: ("wagtail.blocks.CharBlock", (), {"label": "Caption", "required": False}),
                            8: ("wagtail.blocks.URLBlock", (), {"label": "Link", "required": False}),
                            9: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 1),
                                        ("heading_tag", 2),
                                        ("image", 3),
                                        ("alt", 4),
                                        ("width", 5),
                                        ("image_ratio", 6),
                                        ("caption", 7),
                                        ("url", 8),
                                    ]
                                ],
                                {},
                            ),
                            10: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [("left", "Left"), ("right", "Right")],
                                    "label": "Side where the image is displayed",
                                },
                            ),
                            11: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {"choices": [("3", "3/12"), ("5", "5/12"), ("6", "6/12")], "label": "Image width"},
                            ),
                            12: (
                                "wagtail.blocks.PageChooserBlock",
                                (),
                                {
                                    "help_text": "Link to a page of this site. Use either this, the document, or the external URL parameter.",
                                    "label": "Page",
                                    "required": False,
                                },
                            ),
                            13: (
                                "wagtail.documents.blocks.DocumentChooserBlock",
                                (),
                                {
                                    "help_text": "Use either this, the external URL or the page parameter.",
                                    "label": "Document",
                                    "required": False,
                                },
                            ),
                            14: (
                                "wagtail.blocks.URLBlock",
                                (),
                                {
                                    "help_text": "Use either this, the document or the page parameter.",
                                    "label": "External URL",
                                    "required": False,
                                },
                            ),
                            15: ("wagtail.blocks.CharBlock", (), {"label": "Link label", "required": False}),
                            16: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("", "No icon"),
                                        ("fr-icon-arrow-right-line fr-link--icon-right", "Icon on the right side"),
                                        ("fr-icon-arrow-right-line fr-link--icon-left", "Icon on the left side"),
                                    ],
                                    "help_text": "Only used for internal links.",
                                    "label": "Icon",
                                    "required": False,
                                },
                            ),
                            17: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [("fr-link--sm", "Small"), ("", "Medium"), ("fr-link--lg", "Large")],
                                    "label": "Size",
                                    "required": False,
                                },
                            ),
                            18: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("page", 12),
                                        ("document", 13),
                                        ("external_url", 14),
                                        ("text", 15),
                                        ("icon", 16),
                                        ("size", 17),
                                    ]
                                ],
                                {
                                    "help_text": "The link is shown at the bottom of the text block, with an arrow",
                                    "label": "Link",
                                    "required": False,
                                },
                            ),
                            19: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "group": "obsolete",
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the Link field above.",
                                    "label": "Link label (obsolete)",
                                    "required": False,
                                },
                            ),
                            20: (
                                "wagtail.blocks.PageChooserBlock",
                                (),
                                {
                                    "group": "obsolete",
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the Link field above.",
                                    "label": "Internal link (obsolete)",
                                    "required": False,
                                },
                            ),
                            21: (
                                "wagtail.blocks.URLBlock",
                                (),
                                {
                                    "group": "obsolete",
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the Link field above.",
                                    "label": "Link URL (obsolete)",
                                    "required": False,
                                },
                            ),
                            22: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("image", 3),
                                        ("image_side", 10),
                                        ("image_ratio", 11),
                                        ("text", 0),
                                        ("link", 18),
                                        ("link_label", 19),
                                        ("page", 20),
                                        ("link_url", 21),
                                    ]
                                ],
                                {"label": "Image and text"},
                            ),
                            23: ("wagtail.blocks.CharBlock", (), {"label": "Message title", "required": False}),
                            24: ("wagtail.blocks.TextBlock", (), {"label": "Message text", "required": False}),
                            25: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("error", "Error"),
                                        ("success", "Success"),
                                        ("info", "Information"),
                                        ("warning", "Warning"),
                                    ],
                                    "label": "Message type",
                                },
                            ),
                            26: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("h2", "Heading 2"),
                                        ("h3", "Heading 3"),
                                        ("h4", "Heading 4"),
                                        ("h5", "Heading 5"),
                                        ("h6", "Heading 6"),
                                        ("p", "Paragraph"),
                                    ],
                                    "help_text": "Adapt to the page layout. Defaults to heading 3.",
                                    "label": "Heading level",
                                },
                            ),
                            27: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 23), ("description", 24), ("level", 25), ("heading_tag", 26)]],
                                {"label": "Alert message"},
                            ),
                            28: ("wagtail.blocks.CharBlock", (), {"label": "Title"}),
                            29: ("wagtail.blocks.RichTextBlock", (), {"label": "Content"}),
                            30: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 28), ("content", 29)]],
                                {"label": "Accordion", "max_num": 15, "min_num": 1},
                            ),
                            31: (
                                "wagtail.blocks.StreamBlock",
                                [[("title", 28), ("accordion", 30)]],
                                {"group": "DSFR components", "label": "Accordions"},
                            ),
                            32: ("sites_conformes.content_manager.blocks.IconPickerBlock", (), {"label": "Icon", "required": False}),
                            33: (
                                "wagtail.blocks.RichTextBlock",
                                (),
                                {
                                    "features": [
                                        "bold",
                                        "italic",
                                        "link",
                                        "document-link",
                                        "superscript",
                                        "subscript",
                                        "strikethrough",
                                    ],
                                    "label": "Content",
                                    "required": False,
                                },
                            ),
                            34: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("fr-btn", "Primary"),
                                        ("fr-btn fr-btn--secondary", "Secundary"),
                                        ("fr-btn fr-btn--tertiary", "Tertiary"),
                                        ("fr-btn fr-btn--tertiary-no-outline", "Tertiary without border"),
                                    ],
                                    "label": "Button type",
                                    "required": False,
                                },
                            ),
                            35: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [("fr-btn--icon-left", "Left"), ("fr-btn--icon-right", "Right")],
                                    "label": "Icon side",
                                    "required": False,
                                },
                            ),
                            36: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("page", 12),
                                        ("document", 13),
                                        ("external_url", 14),
                                        ("text", 15),
                                        ("button_type", 34),
                                        ("icon_class", 32),
                                        ("icon_side", 35),
                                    ]
                                ],
                                {"label": "Button", "required": False},
                            ),
                            37: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("green-tilleul-verveine", "Tilleul verveine"),
                                        ("green-bourgeon", "Bourgeon"),
                                        ("green-emeraude", "Émeraude"),
                                        ("green-menthe", "Menthe"),
                                        ("green-archipel", "Archipel"),
                                        ("blue-ecume", "Écume"),
                                        ("blue-cumulus", "Cumulus"),
                                        ("purple-glycine", "Glycine"),
                                        ("pink-macaron", "Macaron"),
                                        ("pink-tuile", "Tuile"),
                                        ("yellow-tournesol", "Tournesol"),
                                        ("yellow-moutarde", "Moutarde"),
                                        ("orange-terre-battue", "Terre battue"),
                                        ("brown-cafe-creme", "Café crème"),
                                        ("brown-caramel", "Caramel"),
                                        ("brown-opera", "Opéra"),
                                        ("beige-gris-galet", "Gris galet"),
                                    ],
                                    "label": "Color",
                                    "required": False,
                                },
                            ),
                            38: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 1),
                                        ("heading_tag", 26),
                                        ("icon_class", 32),
                                        ("text", 33),
                                        ("button", 36),
                                        ("color", 37),
                                    ]
                                ],
                                {"group": "DSFR components", "label": "Callout"},
                            ),
                            39: (
                                "wagtail.blocks.RichTextBlock",
                                (),
                                {
                                    "features": [
                                        "bold",
                                        "italic",
                                        "link",
                                        "document-link",
                                        "superscript",
                                        "subscript",
                                        "strikethrough",
                                    ],
                                    "label": "Content",
                                },
                            ),
                            40: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [("fr-text--sm", "Small"), ("", "Medium"), ("fr-text--lg", "Large")],
                                    "label": "Size",
                                    "required": False,
                                },
                            ),
                            41: (
                                "wagtail.blocks.StructBlock",
                                [[("text", 39), ("color", 37), ("size", 40)]],
                                {"group": "DSFR components", "label": "Highlight"},
                            ),
                            42: ("wagtail.images.blocks.ImageChooserBlock", (), {"label": "Image", "required": False}),
                            43: ("wagtail.blocks.CharBlock", (), {"label": "Quote"}),
                            44: ("wagtail.blocks.CharBlock", (), {"label": "Author name", "required": False}),
                            45: ("wagtail.blocks.CharBlock", (), {"label": "Author title", "required": False}),
                            46: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("image", 42),
                                        ("quote", 43),
                                        ("author_name", 44),
                                        ("author_title", 45),
                                        ("color", 37),
                                    ]
                                ],
                                {"group": "DSFR components", "label": "Quote"},
                            ),
                            47: ("wagtail.blocks.CharBlock", (), {"label": "Video title", "required": False}),
                            48: (
                                "wagtail.blocks.URLBlock",
                                (),
                                {
                                    "help_text": "Use embed format, with a version that doesn't require a consent banner if available. (e.g. : https://www.youtube-nocookie.com/embed/gLzXOViPX-0) For Youtube, use Embed video and check Enable privacy-enhanced mode.",
                                    "label": "Video URL",
                                },
                            ),
                            49: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("fr-ratio-16x9", "16x9"),
                                        ("fr-ratio-4x3", "4x3"),
                                        ("fr-ratio-1x1", "1x1"),
                                    ],
                                    "label": "Video ratio",
                                    "required": False,
                                },
                            ),
                            50: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {"default": "Transcription", "label": "Title", "required": False},
                            ),
                            51: (
                                "wagtail.blocks.RichTextBlock",
                                (),
                                {"label": "Transcription content", "required": False},
                            ),
                            52: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 50), ("content", 51)]],
                                {"label": "Transcription", "required": False},
                            ),
                            53: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 47),
                                        ("caption", 7),
                                        ("url", 48),
                                        ("width", 5),
                                        ("video_ratio", 49),
                                        ("transcription", 52),
                                    ]
                                ],
                                {"label": "Video"},
                            ),
                            54: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 50), ("content", 51)]],
                                {"label": "Transcription"},
                            ),
                            55: ("wagtail.blocks.CharBlock", (), {"label": "Badge label", "required": False}),
                            56: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("", [("new", "New"), ("grey", "Grey")]),
                                        (
                                            "System colors",
                                            [
                                                ("info", "Info"),
                                                ("success", "Success"),
                                                ("warning", "Warning"),
                                                ("error", "Error"),
                                            ],
                                        ),
                                        (
                                            "Illustration colors",
                                            [
                                                ("green-tilleul-verveine", "Tilleul verveine"),
                                                ("green-bourgeon", "Bourgeon"),
                                                ("green-emeraude", "Émeraude"),
                                                ("green-menthe", "Menthe"),
                                                ("green-archipel", "Archipel"),
                                                ("blue-ecume", "Écume"),
                                                ("blue-cumulus", "Cumulus"),
                                                ("purple-glycine", "Glycine"),
                                                ("pink-macaron", "Macaron"),
                                                ("pink-tuile", "Tuile"),
                                                ("yellow-tournesol", "Tournesol"),
                                                ("yellow-moutarde", "Moutarde"),
                                                ("orange-terre-battue", "Terre battue"),
                                                ("brown-cafe-creme", "Café crème"),
                                                ("brown-caramel", "Caramel"),
                                                ("brown-opera", "Opéra"),
                                                ("beige-gris-galet", "Gris galet"),
                                            ],
                                        ),
                                    ],
                                    "label": "Badge color",
                                    "required": False,
                                },
                            ),
                            57: ("wagtail.blocks.BooleanBlock", (), {"label": "Hide badge icon", "required": False}),
                            58: (
                                "wagtail.blocks.StructBlock",
                                [[("text", 55), ("color", 56), ("hide_icon", 57)]],
                                {"label": "Badge"},
                            ),
                            59: ("wagtail.blocks.StreamBlock", [[("badge", 58)]], {"label": "Badge list"}),
                            60: ("wagtail.blocks.BooleanBlock", (), {"label": "Small tag", "required": False}),
                            61: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("green-tilleul-verveine", "Tilleul verveine"),
                                        ("green-bourgeon", "Bourgeon"),
                                        ("green-emeraude", "Émeraude"),
                                        ("green-menthe", "Menthe"),
                                        ("green-archipel", "Archipel"),
                                        ("blue-ecume", "Écume"),
                                        ("blue-cumulus", "Cumulus"),
                                        ("purple-glycine", "Glycine"),
                                        ("pink-macaron", "Macaron"),
                                        ("pink-tuile", "Tuile"),
                                        ("yellow-tournesol", "Tournesol"),
                                        ("yellow-moutarde", "Moutarde"),
                                        ("orange-terre-battue", "Terre battue"),
                                        ("brown-cafe-creme", "Café crème"),
                                        ("brown-caramel", "Caramel"),
                                        ("brown-opera", "Opéra"),
                                        ("beige-gris-galet", "Gris galet"),
                                    ],
                                    "help_text": "Only for clickable tags",
                                    "label": "Tag color",
                                    "required": False,
                                },
                            ),
                            62: (
                                "wagtail.blocks.StructBlock",
                                [[("page", 12), ("document", 13), ("external_url", 14)]],
                                {"required": False},
                            ),
                            63: (
                                "wagtail.blocks.StructBlock",
                                [[("label", 28), ("is_small", 60), ("color", 61), ("icon_class", 32), ("link", 62)]],
                                {"label": "Tag"},
                            ),
                            64: ("wagtail.blocks.StreamBlock", [[("tag", 63)]], {"label": "Tag list"}),
                            65: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("page", 12),
                                        ("document", 13),
                                        ("external_url", 14),
                                        ("text", 15),
                                        ("icon", 16),
                                        ("size", 17),
                                    ]
                                ],
                                {"label": "Single link"},
                            ),
                            66: (
                                "wagtail.blocks.IntegerBlock",
                                (),
                                {"label": "Number of steps", "max_value": 8, "min_value": 1},
                            ),
                            67: (
                                "wagtail.blocks.IntegerBlock",
                                (),
                                {"label": "Current step", "max_value": 8, "min_value": 1},
                            ),
                            68: ("wagtail.blocks.TextBlock", (), {"label": "Detail"}),
                            69: ("wagtail.blocks.StructBlock", [[("title", 28), ("detail", 68)]], {"label": "Step"}),
                            70: ("wagtail.blocks.StreamBlock", [[("step", 69)]], {"label": "Steps"}),
                            71: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 28), ("total", 66), ("current", 67), ("steps", 70)]],
                                {"group": "DSFR components", "label": "Stepper"},
                            ),
                            72: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("fr-card--horizontal-tier", "1/3"),
                                        ("fr-card--horizontal-half", "50/50"),
                                    ],
                                    "label": "Image ratio",
                                    "required": False,
                                },
                            ),
                            73: (
                                "wagtail.blocks.StreamBlock",
                                [[("badge", 58)]],
                                {
                                    "help_text": "Only used if the card has an image.",
                                    "label": "Image area badge",
                                    "max_num": 1,
                                    "required": False,
                                },
                            ),
                            74: (
                                "wagtail.blocks.StructBlock",
                                [[("page", 12), ("document", 13), ("external_url", 14)]],
                                {"label": "Link", "required": False},
                            ),
                            75: (
                                "wagtail.blocks.URLBlock",
                                (),
                                {
                                    "group": "target",
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the Link field above.",
                                    "label": "Link (obsolete)",
                                    "required": False,
                                },
                            ),
                            76: (
                                "wagtail.documents.blocks.DocumentChooserBlock",
                                (),
                                {
                                    "group": "target",
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the Link field above.",
                                    "label": "or Document (obsolete)",
                                    "required": False,
                                },
                            ),
                            77: ("wagtail.blocks.CharBlock", (), {"label": "Top detail: text", "required": False}),
                            78: (
                                "sites_conformes.content_manager.blocks.IconPickerBlock",
                                (),
                                {"label": "Top detail: icon", "required": False},
                            ),
                            79: ("wagtail.blocks.StreamBlock", [[("badge", 58)]], {}),
                            80: ("wagtail.blocks.StreamBlock", [[("tag", 63)]], {}),
                            81: (
                                "wagtail.blocks.StreamBlock",
                                [[("badges", 79), ("tags", 80)]],
                                {"label": "Top detail: badges or tags", "max_num": 1, "required": False},
                            ),
                            82: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "Incompatible with the bottom call-to-action. If the card links to a downloadable document, the values are pre-filled.",
                                    "label": "Bottom detail: text",
                                    "required": False,
                                },
                            ),
                            83: (
                                "sites_conformes.content_manager.blocks.IconPickerBlock",
                                (),
                                {"label": "Bottom detail: icon", "required": False},
                            ),
                            84: (
                                "wagtail.blocks.StructBlock",
                                [[("page", 12), ("document", 13), ("external_url", 14), ("text", 15)]],
                                {"label": "Link"},
                            ),
                            85: ("wagtail.blocks.StreamBlock", [[("link", 84)]], {}),
                            86: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("page", 12),
                                        ("document", 13),
                                        ("external_url", 14),
                                        ("text", 15),
                                        ("button_type", 34),
                                        ("icon_class", 32),
                                        ("icon_side", 35),
                                    ]
                                ],
                                {"label": "Button"},
                            ),
                            87: (
                                "wagtail.blocks.StreamBlock",
                                [[("button", 86)]],
                                {
                                    "help_text": "Please use only one primary button.\n                        If you use icons, use them on all buttons and align them on the same side.",
                                    "label": "Buttons",
                                },
                            ),
                            88: (
                                "wagtail.blocks.StreamBlock",
                                [[("links", 85), ("buttons", 87)]],
                                {
                                    "help_text": "Incompatible with the bottom detail text.",
                                    "label": "Bottom call-to-action: links or buttons",
                                    "max_num": 1,
                                    "required": False,
                                },
                            ),
                            89: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Card with grey background", "required": False},
                            ),
                            90: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Card without background", "required": False},
                            ),
                            91: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Card without border", "required": False},
                            ),
                            92: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Card with a shadow", "required": False},
                            ),
                            93: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 28),
                                        ("heading_tag", 26),
                                        ("description", 33),
                                        ("image", 42),
                                        ("image_ratio", 72),
                                        ("image_badge", 73),
                                        ("link", 74),
                                        ("url", 75),
                                        ("document", 76),
                                        ("top_detail_text", 77),
                                        ("top_detail_icon", 78),
                                        ("top_detail_badges_tags", 81),
                                        ("bottom_detail_text", 82),
                                        ("bottom_detail_icon", 83),
                                        ("call_to_action", 88),
                                        ("grey_background", 89),
                                        ("no_background", 90),
                                        ("no_border", 91),
                                        ("shadow", 92),
                                    ]
                                ],
                                {"group": "DSFR components", "label": "Horizontal card"},
                            ),
                            94: (
                                "wagtail.blocks.RichTextBlock",
                                (),
                                {
                                    "features": ["bold", "italic", "superscript", "subscript", "strikethrough"],
                                    "label": "Content",
                                    "required": False,
                                },
                            ),
                            95: (
                                "wagtail.images.blocks.ImageChooserBlock",
                                (),
                                {"help_text": "Prefer SVG files.", "label": "Image", "required": False},
                            ),
                            96: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "If the tile links to a downloadable document, the values are pre-filled.",
                                    "label": "Detail text",
                                    "required": False,
                                },
                            ),
                            97: ("wagtail.blocks.BooleanBlock", (), {"label": "Small tile", "required": False}),
                            98: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Tile with grey background", "required": False},
                            ),
                            99: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Tile without background", "required": False},
                            ),
                            100: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Tile without border", "required": False},
                            ),
                            101: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"label": "Tile with a shadow", "required": False},
                            ),
                            102: ("wagtail.blocks.BooleanBlock", (), {"label": "Horizontal tile", "required": False}),
                            103: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 28),
                                        ("heading_tag", 26),
                                        ("description", 94),
                                        ("image", 95),
                                        ("link", 74),
                                        ("top_detail_badges_tags", 81),
                                        ("detail_text", 96),
                                        ("is_small", 97),
                                        ("grey_background", 98),
                                        ("no_background", 99),
                                        ("no_border", 100),
                                        ("shadow", 101),
                                        ("is_horizontal", 102),
                                    ]
                                ],
                                {"group": "DSFR components", "label": "Tile"},
                            ),
                            104: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 1),
                                        ("heading_tag", 2),
                                        ("image", 3),
                                        ("alt", 4),
                                        ("width", 5),
                                        ("image_ratio", 6),
                                        ("caption", 7),
                                        ("url", 8),
                                    ]
                                ],
                                {"label": "Image"},
                            ),
                            105: ("wagtail.blocks.RichTextBlock", (), {"label": "Rich text", "required": False}),
                            106: (
                                "wagtail.blocks.StreamBlock",
                                [[("buttons", 87)]],
                                {"label": "Call-to-action buttons", "max_num": 1, "required": False},
                            ),
                            107: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the CTA buttons above.",
                                    "label": "Call to action label  (obsolete)",
                                    "required": False,
                                },
                            ),
                            108: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "This field is obsolete and will be removed in the near future. Please replace with the CTA buttons above.",
                                    "label": "Link (obsolete)",
                                    "required": False,
                                },
                            ),
                            109: (
                                "wagtail.blocks.StructBlock",
                                [[("text", 105), ("cta_buttons", 106), ("cta_label", 107), ("cta_url", 108)]],
                                {"label": "Text and call to action"},
                            ),
                            110: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "Accessibility: The title should describe, in a clear and concise manner, the embedded content.",
                                    "label": "Title",
                                },
                            ),
                            111: (
                                "wagtail.blocks.URLBlock",
                                (),
                                {
                                    "help_text": "Example for Tally: https://tally.so/embed/w2jMRa",
                                    "label": "URL of the iframe",
                                },
                            ),
                            112: ("wagtail.blocks.IntegerBlock", (), {"label": "Height (in pixels)"}),
                            113: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "For example: \"allow='geolocation'\".",
                                    "label": "Parameters",
                                    "required": False,
                                },
                            ),
                            114: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 110), ("url", 111), ("height", 112), ("parameters", 113)]],
                                {"group": "DSFR components", "label": "Iframe"},
                            ),
                            115: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("h2", "Heading 2"),
                                        ("h3", "Heading 3"),
                                        ("h4", "Heading 4"),
                                        ("h5", "Heading 5"),
                                    ],
                                    "help_text": "Adapt to the page layout. Defaults to heading 2.",
                                    "label": "Heading level",
                                    "required": False,
                                },
                            ),
                            116: (
                                "wagtail.blocks.PageChooserBlock",
                                (),
                                {"label": "Blog", "page_type": ["sites_conformes_blog.BlogIndexPage"]},
                            ),
                            117: (
                                "wagtail.blocks.IntegerBlock",
                                (),
                                {
                                    "default": 3,
                                    "label": "Number of entries",
                                    "max_value": 8,
                                    "min_value": 1,
                                    "required": False,
                                },
                            ),
                            118: (
                                "wagtail.snippets.blocks.SnippetChooserBlock",
                                ("sites_conformes_blog.Category",),
                                {"label": "Filter by category", "required": False},
                            ),
                            119: (
                                "wagtail.snippets.blocks.SnippetChooserBlock",
                                ("sites_conformes_content_manager.Tag",),
                                {"label": "Filter by tag", "required": False},
                            ),
                            120: (
                                "wagtail.snippets.blocks.SnippetChooserBlock",
                                ("sites_conformes_blog.Person",),
                                {"label": "Filter by author", "required": False},
                            ),
                            121: (
                                "wagtail.snippets.blocks.SnippetChooserBlock",
                                ("sites_conformes_blog.Organization",),
                                {
                                    "help_text": "The source is the organization of the post author",
                                    "label": "Filter by source",
                                    "required": False,
                                },
                            ),
                            122: (
                                "wagtail.blocks.BooleanBlock",
                                (),
                                {"default": False, "label": "Show filters", "required": False},
                            ),
                            123: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 1),
                                        ("heading_tag", 115),
                                        ("blog", 116),
                                        ("entries_count", 117),
                                        ("category_filter", 118),
                                        ("tag_filter", 119),
                                        ("author_filter", 120),
                                        ("source_filter", 121),
                                        ("show_filters", 122),
                                    ]
                                ],
                                {"group": "Website structure", "label": "Blog recent entries"},
                            ),
                            124: (
                                "wagtail.blocks.PageChooserBlock",
                                (),
                                {"label": "Event calendar", "page_type": ["sites_conformes_events.EventsIndexPage"]},
                            ),
                            125: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 1),
                                        ("heading_tag", 115),
                                        ("index_page", 124),
                                        ("entries_count", 117),
                                        ("category_filter", 118),
                                        ("tag_filter", 119),
                                        ("author_filter", 120),
                                        ("source_filter", 121),
                                        ("show_filters", 122),
                                    ]
                                ],
                                {"group": "Website structure", "label": "Event calendar recent entries"},
                            ),
                            126: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {
                                    "help_text": "Incompatible with the bottom call-to-action.",
                                    "label": "Bottom detail: text",
                                    "required": False,
                                },
                            ),
                            127: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("title", 28),
                                        ("heading_tag", 26),
                                        ("description", 33),
                                        ("image", 42),
                                        ("image_ratio", 6),
                                        ("image_badge", 73),
                                        ("link", 74),
                                        ("url", 75),
                                        ("document", 76),
                                        ("top_detail_text", 77),
                                        ("top_detail_icon", 78),
                                        ("top_detail_badges_tags", 81),
                                        ("bottom_detail_text", 126),
                                        ("bottom_detail_icon", 83),
                                        ("call_to_action", 88),
                                        ("grey_background", 89),
                                        ("no_background", 90),
                                        ("no_border", 91),
                                        ("shadow", 92),
                                    ]
                                ],
                                {"group": "DSFR components", "label": "Vertical card"},
                            ),
                            128: (
                                "wagtail.snippets.blocks.SnippetChooserBlock",
                                ("sites_conformes_blog.Person",),
                                {
                                    "help_text": "Optional, all values can be manually specified or overriden below",
                                    "label": "Person",
                                    "required": False,
                                },
                            ),
                            129: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {"label": "Name", "max_length": 255, "required": False},
                            ),
                            130: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {"label": "Role", "max_length": 255, "required": False},
                            ),
                            131: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {"label": "Organization", "max_length": 255, "required": False},
                            ),
                            132: (
                                "wagtail.blocks.CharBlock",
                                (),
                                {"label": "Contact info", "max_length": 500, "required": False},
                            ),
                            133: ("wagtail.blocks.StreamBlock", [[("tag", 63)]], {"label": "Tags", "required": False}),
                            134: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("contact", 128),
                                        ("link", 74),
                                        ("heading_tag", 2),
                                        ("name", 129),
                                        ("role", 130),
                                        ("organization", 131),
                                        ("contact_info", 132),
                                        ("image", 42),
                                        ("tags", 133),
                                    ]
                                ],
                                {"group": "Extra components", "label": "Contact card"},
                            ),
                            135: (
                                "wagtail.blocks.StreamBlock",
                                [
                                    [
                                        ("text", 0),
                                        ("image", 104),
                                        ("video", 53),
                                        ("transcription", 54),
                                        ("accordions", 31),
                                        ("callout", 38),
                                        ("highlight", 41),
                                        ("quote", 46),
                                        ("stepper", 71),
                                        ("text_cta", 109),
                                        ("link", 65),
                                        ("iframe", 114),
                                        ("tile", 103),
                                        ("blog_recent_entries", 123),
                                        ("events_recent_entries", 125),
                                        ("card", 127),
                                        ("contact_card", 134),
                                    ]
                                ],
                                {"label": "Content"},
                            ),
                            136: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 28), ("content", 135)]],
                                {"label": "Tab", "max_num": 15, "min_num": 1},
                            ),
                            137: (
                                "wagtail.blocks.StreamBlock",
                                [[("tabs", 136)]],
                                {"group": "DSFR components", "label": "Tabs"},
                            ),
                            138: (
                                "wagtailmarkdown.blocks.MarkdownBlock",
                                (),
                                {"group": "Expert syntax", "label": "Markdown"},
                            ),
                            139: (
                                "wagtail.blocks.StructBlock",
                                [[("title", 110), ("url", 111), ("height", 112), ("parameters", 113)]],
                                {"group": "Expert syntax", "label": "Iframe"},
                            ),
                            140: (
                                "wagtail.blocks.IntegerBlock",
                                (),
                                {"default": 3, "label": "Top margin", "max_value": 15, "min_value": 0},
                            ),
                            141: (
                                "wagtail.blocks.IntegerBlock",
                                (),
                                {"default": 3, "label": "Bottom margin", "max_value": 15, "min_value": 0},
                            ),
                            142: (
                                "wagtail.blocks.StructBlock",
                                [[("top_margin", 140), ("bottom_margin", 141)]],
                                {"group": "Page structure", "label": "Separator"},
                            ),
                            143: (
                                "wagtail.images.blocks.ImageChooserBlock",
                                (),
                                {"label": "Background image", "required": False},
                            ),
                            144: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        (
                                            "Primary colors",
                                            [("blue-france", "Blue France"), ("red-marianne", "Red Marianne")],
                                        ),
                                        ("Neutral colors", [("grey", "Grey")]),
                                        (
                                            "Illustration colors",
                                            [
                                                ("green-tilleul-verveine", "Tilleul verveine"),
                                                ("green-bourgeon", "Bourgeon"),
                                                ("green-emeraude", "Émeraude"),
                                                ("green-menthe", "Menthe"),
                                                ("green-archipel", "Archipel"),
                                                ("blue-ecume", "Écume"),
                                                ("blue-cumulus", "Cumulus"),
                                                ("purple-glycine", "Glycine"),
                                                ("pink-macaron", "Macaron"),
                                                ("pink-tuile", "Tuile"),
                                                ("yellow-tournesol", "Tournesol"),
                                                ("yellow-moutarde", "Moutarde"),
                                                ("orange-terre-battue", "Terre battue"),
                                                ("brown-cafe-creme", "Café crème"),
                                                ("brown-caramel", "Caramel"),
                                                ("brown-opera", "Opéra"),
                                                ("beige-gris-galet", "Gris galet"),
                                            ],
                                        ),
                                    ],
                                    "help_text": "Uses the French Design System colors",
                                    "label": "Background color",
                                    "required": False,
                                },
                            ),
                            145: (
                                "wagtail.blocks.RegexBlock",
                                (),
                                {
                                    "error_messages": {"invalid": "Incorrect color format, must be #fff or #f5f5f5"},
                                    "help_text": "This field is obsolete and will be removed in the near future. Replace it with the background color.",
                                    "label": "Background color, hexadecimal format (obsolete)",
                                    "regex": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
                                    "required": False,
                                },
                            ),
                            146: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("h2", "Heading 2"),
                                        ("h3", "Heading 3"),
                                        ("h4", "Heading 4"),
                                        ("h5", "Heading 5"),
                                        ("h6", "Heading 6"),
                                        ("p", "Paragraph"),
                                    ],
                                    "help_text": "Adapt to the page layout. Defaults to heading 2.",
                                    "label": "Heading level",
                                    "required": False,
                                },
                            ),
                            147: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("3", "3/12"),
                                        ("4", "4/12"),
                                        ("5", "5/12"),
                                        ("6", "6/12"),
                                        ("7", "7/12"),
                                        ("8", "8/12"),
                                        ("9", "9/12"),
                                    ],
                                    "help_text": "The total width of all columns should be 12.",
                                    "label": "Column width",
                                    "required": False,
                                },
                            ),
                            148: (
                                "wagtail.blocks.StreamBlock",
                                [
                                    [
                                        ("text", 0),
                                        ("image", 104),
                                        ("video", 53),
                                        ("transcription", 54),
                                        ("accordions", 31),
                                        ("callout", 38),
                                        ("highlight", 41),
                                        ("quote", 46),
                                        ("stepper", 71),
                                        ("text_cta", 109),
                                        ("link", 65),
                                        ("iframe", 114),
                                        ("tile", 103),
                                        ("blog_recent_entries", 123),
                                        ("events_recent_entries", 125),
                                        ("card", 127),
                                        ("contact_card", 134),
                                    ]
                                ],
                                {"label": "Column content"},
                            ),
                            149: (
                                "wagtail.blocks.StructBlock",
                                [[("width", 147), ("content", 148)]],
                                {"group": "Page structure", "label": "Adjustable column"},
                            ),
                            150: (
                                "wagtail.blocks.StreamBlock",
                                [
                                    [
                                        ("text", 0),
                                        ("image", 104),
                                        ("video", 53),
                                        ("transcription", 54),
                                        ("accordions", 31),
                                        ("callout", 38),
                                        ("highlight", 41),
                                        ("quote", 46),
                                        ("stepper", 71),
                                        ("text_cta", 109),
                                        ("link", 65),
                                        ("iframe", 114),
                                        ("tile", 103),
                                        ("blog_recent_entries", 123),
                                        ("events_recent_entries", 125),
                                        ("card", 127),
                                        ("column", 149),
                                    ]
                                ],
                                {"label": "Columns"},
                            ),
                            151: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("bg_image", 143),
                                        ("bg_color_class", 144),
                                        ("bg_color", 145),
                                        ("title", 1),
                                        ("heading_tag", 146),
                                        ("columns", 150),
                                    ]
                                ],
                                {"group": "Page structure", "label": "Multiple columns"},
                            ),
                            152: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {"choices": [("3", "3/12"), ("4", "4/12"), ("6", "6/12")], "label": "Column width"},
                            ),
                            153: (
                                "wagtail.blocks.StreamBlock",
                                [
                                    [
                                        ("text", 0),
                                        ("image", 104),
                                        ("video", 53),
                                        ("transcription", 54),
                                        ("accordions", 31),
                                        ("callout", 38),
                                        ("highlight", 41),
                                        ("quote", 46),
                                        ("stepper", 71),
                                        ("text_cta", 109),
                                        ("link", 65),
                                        ("iframe", 114),
                                        ("tile", 103),
                                        ("blog_recent_entries", 123),
                                        ("events_recent_entries", 125),
                                        ("card", 127),
                                        ("contact_card", 134),
                                    ]
                                ],
                                {"label": "Items"},
                            ),
                            154: (
                                "wagtail.blocks.StructBlock",
                                [[("column_width", 152), ("items", 153)]],
                                {"group": "Page structure", "label": "Item grid"},
                            ),
                            155: (
                                "wagtail.blocks.StreamBlock",
                                [
                                    [
                                        ("text", 0),
                                        ("image", 104),
                                        ("video", 53),
                                        ("transcription", 54),
                                        ("accordions", 31),
                                        ("callout", 38),
                                        ("highlight", 41),
                                        ("quote", 46),
                                        ("stepper", 71),
                                        ("text_cta", 109),
                                        ("link", 65),
                                        ("iframe", 114),
                                        ("tile", 103),
                                        ("blog_recent_entries", 123),
                                        ("events_recent_entries", 125),
                                        ("image_and_text", 22),
                                        ("card", 93),
                                        ("tabs", 137),
                                        ("item_grid", 154),
                                    ]
                                ],
                                {"label": "Content"},
                            ),
                            156: (
                                "wagtail.blocks.StructBlock",
                                [[("bg_image", 143), ("bg_color_class", 144), ("content", 155)]],
                                {"group": "Page structure", "label": "Full width background"},
                            ),
                            157: (
                                "wagtail.blocks.StreamBlock",
                                [
                                    [
                                        ("text", 0),
                                        ("image", 104),
                                        ("video", 53),
                                        ("transcription", 54),
                                        ("accordions", 31),
                                        ("callout", 38),
                                        ("highlight", 41),
                                        ("quote", 46),
                                        ("stepper", 71),
                                        ("text_cta", 109),
                                        ("link", 65),
                                        ("iframe", 114),
                                        ("tile", 103),
                                        ("blog_recent_entries", 123),
                                        ("events_recent_entries", 125),
                                        ("image_and_text", 22),
                                        ("card", 93),
                                        ("tabs", 137),
                                        ("item_grid", 154),
                                    ]
                                ],
                                {"label": "Main content"},
                            ),
                            158: ("wagtail.blocks.CharBlock", (), {"label": "Side menu title", "required": False}),
                            159: (
                                "wagtail.blocks.RawHTMLBlock",
                                (),
                                {
                                    "help_text": "Warning: Use HTML block with caution. Malicious code can compromise the security of the site.",
                                    "label": "HTML",
                                },
                            ),
                            160: ("wagtail.blocks.PageChooserBlock", (), {"label": "Parent page"}),
                            161: ("wagtail.blocks.StructBlock", [[("page", 160)]], {"label": "Page tree"}),
                            162: (
                                "wagtail.blocks.StreamBlock",
                                [[("html", 159), ("pagetree", 161)]],
                                {"label": "Side menu content"},
                            ),
                            163: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("bg_image", 143),
                                        ("bg_color_class", 144),
                                        ("main_content", 157),
                                        ("sidemenu_title", 158),
                                        ("sidemenu_content", 162),
                                    ]
                                ],
                                {"group": "Page structure", "label": "Full width background with side menu"},
                            ),
                            164: (
                                "wagtail.blocks.static_block.StaticBlock",
                                (),
                                {
                                    "admin_text": "A simple, alphabetical list of the subpages of the current page.",
                                    "group": "Website structure",
                                    "label": "Subpages list",
                                    "template": "sites_conformes_content_manager/blocks/subpages_list.html",
                                },
                            ),
                            165: (
                                "wagtail.blocks.RawHTMLBlock",
                                (),
                                {
                                    "group": "Expert syntax",
                                    "help_text": "Warning: Use HTML block with caution. Malicious code can compromise the security of the site.",
                                    "readonly": True,
                                },
                            ),
                        },
                    ),
                ),
                ("header_with_title", models.BooleanField(default=False, verbose_name="Show title in header image?")),
                (
                    "header_color_class",
                    models.CharField(
                        blank=True,
                        choices=[
                            ("Primary colors", [("blue-france", "Blue France"), ("red-marianne", "Red Marianne")]),
                            ("Neutral colors", [("grey", "Grey")]),
                            (
                                "Illustration colors",
                                [
                                    ("green-tilleul-verveine", "Tilleul verveine"),
                                    ("green-bourgeon", "Bourgeon"),
                                    ("green-emeraude", "Émeraude"),
                                    ("green-menthe", "Menthe"),
                                    ("green-archipel", "Archipel"),
                                    ("blue-ecume", "Écume"),
                                    ("blue-cumulus", "Cumulus"),
                                    ("purple-glycine", "Glycine"),
                                    ("pink-macaron", "Macaron"),
                                    ("pink-tuile", "Tuile"),
                                    ("yellow-tournesol", "Tournesol"),
                                    ("yellow-moutarde", "Moutarde"),
                                    ("orange-terre-battue", "Terre battue"),
                                    ("brown-cafe-creme", "Café crème"),
                                    ("brown-caramel", "Caramel"),
                                    ("brown-opera", "Opéra"),
                                    ("beige-gris-galet", "Gris galet"),
                                ],
                            ),
                        ],
                        help_text="Uses the French Design System colors",
                        null=True,
                        verbose_name="Background color",
                    ),
                ),
                ("header_large", models.BooleanField(default=False, verbose_name="Full width")),
                ("header_darken", models.BooleanField(default=False, verbose_name="Darken background image")),
                (
                    "header_cta_text",
                    wagtail.fields.RichTextField(blank=True, null=True, verbose_name="Call to action text"),
                ),
                (
                    "header_cta_buttons",
                    wagtail.fields.StreamField(
                        [("buttons", 8)],
                        blank=True,
                        block_lookup={
                            0: (
                                "wagtail.blocks.PageChooserBlock",
                                (),
                                {
                                    "help_text": "Link to a page of this site. Use either this, the document, or the external URL parameter.",
                                    "label": "Page",
                                    "required": False,
                                },
                            ),
                            1: (
                                "wagtail.documents.blocks.DocumentChooserBlock",
                                (),
                                {
                                    "help_text": "Use either this, the external URL or the page parameter.",
                                    "label": "Document",
                                    "required": False,
                                },
                            ),
                            2: (
                                "wagtail.blocks.URLBlock",
                                (),
                                {
                                    "help_text": "Use either this, the document or the page parameter.",
                                    "label": "External URL",
                                    "required": False,
                                },
                            ),
                            3: ("wagtail.blocks.CharBlock", (), {"label": "Link label", "required": False}),
                            4: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [
                                        ("fr-btn", "Primary"),
                                        ("fr-btn fr-btn--secondary", "Secundary"),
                                        ("fr-btn fr-btn--tertiary", "Tertiary"),
                                        ("fr-btn fr-btn--tertiary-no-outline", "Tertiary without border"),
                                    ],
                                    "label": "Button type",
                                    "required": False,
                                },
                            ),
                            5: ("sites_conformes.content_manager.blocks.IconPickerBlock", (), {"label": "Icon", "required": False}),
                            6: (
                                "wagtail.blocks.ChoiceBlock",
                                [],
                                {
                                    "choices": [("fr-btn--icon-left", "Left"), ("fr-btn--icon-right", "Right")],
                                    "label": "Icon side",
                                    "required": False,
                                },
                            ),
                            7: (
                                "wagtail.blocks.StructBlock",
                                [
                                    [
                                        ("page", 0),
                                        ("document", 1),
                                        ("external_url", 2),
                                        ("text", 3),
                                        ("button_type", 4),
                                        ("icon_class", 5),
                                        ("icon_side", 6),
                                    ]
                                ],
                                {"label": "Button"},
                            ),
                            8: (
                                "wagtail.blocks.StreamBlock",
                                [[("button", 7)]],
                                {
                                    "help_text": "Please use only one primary button.\n                        If you use icons, use them on all buttons and align them on the same side.",
                                    "label": "Buttons",
                                },
                            ),
                        },
                        null=True,
                    ),
                ),
                (
                    "header_cta_label",
                    models.CharField(
                        blank=True,
                        help_text="This field is obsolete and will be removed in the near future. Please replace with the CTA buttons above.",
                        null=True,
                        verbose_name="Call to action label",
                    ),
                ),
                (
                    "header_cta_link",
                    models.URLField(
                        blank=True,
                        help_text="This field is obsolete and will be removed in the near future. Please replace with the CTA buttons above.",
                        null=True,
                        verbose_name="Call to action link",
                    ),
                ),
                (
                    "source_url",
                    models.URLField(
                        blank=True,
                        help_text="For imported pages, to allow updates.",
                        null=True,
                        verbose_name="Source URL",
                    ),
                ),
                (
                    "entries_per_page",
                    models.PositiveSmallIntegerField(
                        default=10,
                        validators=[
                            django.core.validators.MaxValueValidator(100),
                            django.core.validators.MinValueValidator(1),
                        ],
                        verbose_name="Entries per page",
                    ),
                ),
                ("filter_by_tag", models.BooleanField(default=True, verbose_name="Filter by tag")),
                (
                    "header_image",
                    models.ForeignKey(
                        blank=True,
                        null=True,
                        on_delete=django.db.models.deletion.SET_NULL,
                        related_name="+",
                        to="wagtailimages.image",
                        verbose_name="Header image",
                    ),
                ),
            ],
            options={
                "verbose_name": "Catalog index page",
            },
            bases=("wagtailcore.page",),
        ),
    ]
