Package root

import "gitlab.com/zoralab/bissetii/pkg/components/internal/root"

Package root is the central control of Bissetii HTML codes.

This package controls various output generations including but not limited to output formats like HTML and AMP. It is responsible for generating Bissetii’s mediaTypes.toml data type file.

It is used across all its sub-packages.

Constants

All Bissetii Compressed Compiled CSS

const (
	CSSAMP = `@font-face{font-family:"Noto Sans";font-style:normal;font-weight:bold;src:local("Noto Sans"),url("/fonts/NotoSans-Bold.ttf")}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:bold;src:local("Noto Sans"),url("/fonts/NotoSans-BoldItalic.ttf")}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:400;src:local("Noto Sans"),url("/fonts/NotoSans-Italic.ttf")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;src:local("Noto Sans"),url("/fonts/NotoSans-Regular.ttf")}@font-face{font-family:"Noto Color Emoji";src:local("Noto Color Emoji"),url("/fonts/NotoColorEmoji.ttf")}:root{--color-primary-300:#ccff90;--color-primary-500:#1ea82b;--color-primary-700:#012104;--color-contrast-300:#fff59d;--color-contrast-500:#ffeb3b;--color-contrast-700:#f9c22d;--color-red-100:#ffe5e5;--color-red-300:#f66;--color-red-500:red;--color-red-700:#b20000;--color-red-900:#300;--color-yellow-100:#ffffe5;--color-yellow-300:#ff6;--color-yellow-500:#ff0;--color-yellow-700:#ffea00;--color-yellow-900:#fc0;--color-green-100:#e6fae6;--color-green-300:#6ce569;--color-green-500:#0ad406;--color-green-700:#079404;--color-green-900:#022a01;--color-blue-100:#e5e5ff;--color-blue-300:#66f;--color-blue-500:blue;--color-blue-700:#0000b2;--color-blue-900:#003;--color-grey-50:#fafafa;--color-grey-100:#f5f5f5;--color-grey-300:#e0e0e0;--color-grey-400:#bdbdbd;--color-grey-500:#9e9e9e;--color-grey-700:#616161;--color-grey-800:#4d4d4d;--color-grey-900:#212121;--font-size:1.8rem;--font-weight:normal;--font-char-spacing:.01rem;--font-line-height:1.6;--font-family:"Noto Sans","Noto Serif","Noto Color Emoji","Roboto","Helvetica Neue","sans-serif";--font-align:justify;--h1-font-size:4rem;--h1-line-height:1.2;--h1-char-spacing:-0.1rem;--h1-margin:2rem 0 0;--h1-text-deco:underline;--h1-text-deco-color:var(--color-primary-500);--h2-font-size:3rem;--h2-line-height:1.25;--h2-char-spacing:-0.1rem;--h2-margin:10rem 0 0;--h2-border-bottom:1px solid var(--color-primary-300);--h3-font-size:2.5rem;--h3-line-height:1.3;--h3-char-spacing:-0.1rem;--h3-margin:8rem 0 0;--h4-font-size:2.2rem;--h4-line-height:1.35;--h4-char-spacing:-0.08rem;--h4-margin:4.5rem 0 0;--h5-font-size:1.8rem;--h5-line-height:1.5;--h5-char-spacing:-0.05rem;--h5-margin:4.5rem 0 0;--h6-font-size:1.6rem;--h6-line-height:0;--h6-char-spacing:0;--h6-margin:4.5rem 0 0;--z-index-max:2147483647;--z-index-max-overlay:2147483646;--z-index-nav-topping:2147483645;--z-index-nav:2147483644;--z-index-nav-overlay:2147483643;--z-index-main-topping:2147483642;--z-index-main:2147483641;--z-index-main-overlay:2147483640;--z-index-hidden:0;--layout-vertical:"content" auto "topbar" minmax(0, auto) "sidebar" minmax(0, auto) "rsidebar" minmax(0, auto)/var(--body-full-width);--layout-left-and-top:"sidebar topbar" minmax(0, max-content) "sidebar content" auto/minmax(0, var(--sidebar-width)) minmax(auto, calc(var(--body-full-width) - var(--sidebar-width)));--layout-right-and-top:"topbar rsidebar" minmax(0, max-content) "content rsidebar" auto/minmax(auto, calc(var(--body-full-width) - var(--sidebar-width))) minmax(0, var(--sidebar-width));--layout-both-and-top:"sidebar topbar rsidebar" minmax(0, max-content) "sidebar content rsidebar" auto/minmax(0, var(--sidebar-width)) minmax(auto, calc(var(--body-full-width) - 2*var(--sidebar-width))) minmax(0, var(--sidebar-width));--layout-top-and-both:"topbar topbar topbar" minmax(0, max-content) "sidebar content rsidebar" auto/minmax(0, var(--sidebar-width)) minmax(auto, calc(var(--body-full-width) - 2*var(--sidebar-width))) minmax(0, var(--sidebar-width));--body-grid:var(--layout-vertical);--body-grid-tablet:var(--layout-both-and-top);--body-grid-desktop:var(--layout-top-and-both);--body-grid-widescreen:var(--layout-top-and-both);--box-sizing-html:border-box;--main-max-width:100%;--main-margin:0;--main-padding:3.5rem;--sidebar-width:22%;--body-full-width:100%;--animation-timing-rapid:.2s;--animation-timing-fast:.3s;--animation-timing-normal:.4s;--animation-timing-slow:.5s;--animation-timing-slowest:.8s;--anchor-color:var(--color-primary-700);--anchor-focus-color:var(--color-primary-500);--anchor-hover-color:var(--color-primary-500);--anchor-border-bottom:2px solid var(--color-primary-500);--anchor-text-decoration:none;--anchor-overflow-wrap:break-word;--anchor-word-break:break-word;--anchor-print-content:" (" attr(href) ")";--image-max-width:100%;--image-height:auto;--image-max-height:unset;--image-filter:unset;--image-border:none;--image-border-radius:0;--image-animation:unset;--iframe-position:initial;--iframe-border:none;--iframe-margin:1.5rem 0;--iframe-overflow:auto;--iframe-z-index:initial;--iframe-width:100%;--iframe-min-height:10rem;--list-position:relative;--list-padding-left:2.5rem;--list-margin:1rem 1rem 1rem 3rem;--list-style-type:auto;--list-style-position:outside;--list-style-image:none;--li-print-break-inside:avoid;--dl-overflow:auto;--dl-padding:0.5rem;--dl-border:1px solid var(--color-primary-500);--dt-font-weight:bold;--dt-margin:0.5rem;--dt-padding:0.5rem;--dt-border-top:1px solid var(--color-grey-400);--dd-margin:0 0 0 2.5rem;--dd-padding:0 0 0 5rem;--blockquote-color:var(--color-grey-800);--blockquote-background-color:var(--color-grey-50);--blockquote-border:0.1rem solid var(--color-grey-800);--blockquote-border-left:0.5rem solid var(--color-grey-800);--blockquote-border-radius:0.4rem;--blockquote-margin:2.1rem 0;--blockquote-padding:1rem 1.5rem;--blockquote-font-style:italic;--blockquote-print-break-inside:avoid;--blockquote-cite-display:block;--blockquote-cite-margin:1rem auto;--blockquote-cite-font-size:larger;--blockquote-cite-font-style:italic;--blockquote-cite-text-align:center;--divider-overflow:visible;--divider-margin:5rem 0;--divider-break-inside:avoid;--shieldsbadge-border:none;--shieldsbadge-border-radius:0.4rem;--shieldsbadge-margin:0.4rem;--shieldsbadge-padding:0;--shieldsbadge-dt-min-width:10.5rem;--shieldsbadge-dt-padding:0.8rem;--shieldsbadge-dt-font-size:1.4rem;--shieldsbadge-dt-font-weight:bold;--shieldsbadge-dt-color:var(--color-grey-50);--shieldsbadge-dt-background:var(--color-grey-900);--shieldsbadge-dd-white-space:normal;--shieldsbadge-dd-padding:0.8rem;--shieldsbadge-dd-font-size:1.4rem;--shieldsbadge-dd-font-weight:bold;--shieldsbadge-dd-color:var(--color-grey-50);--shieldsbadge-dd-background:var(--color-primary-500);--code-border-radius:0.4rem;--code-padding:0.2rem 0.5rem;--code-letter-spacing:0;--code-color:var(--color-primary-500);--code-background:var(--color-grey-100);--code-overflow-wrap:break-word;--pre-display:block;--pre-margin:0 auto;--pre-overflow:auto auto;--pre-border-left:0.3rem solid var(--color-primary-500);--pre-border-radius:0.4rem;--pre-padding:1.5rem;--pre-max-width:100%;--pre-letter-spacing:0;--pre-color:var(--color-grey-800);--pre-background:var(--color-grey-100);--nav-toc-width:fit-content;--nav-toc-padding:0.5rem;--nav-toc-border:0.2rem solid var(--color-primary-300);--nav-toc-border-radius:0.4rem;--nav-toc-background:var(--color-primary-300);--nav-toc-title-margin:0.5rem 0 0;--nav-toc-title-font-size:1.6rem;--nav-toc-title-text-align:center;--nav-toc-title-font-weight:bold;--nav-toc-list-margin:1rem;--nav-toc-list-padding:0;--nav-toc-li-margin:0.8rem;--note-layout:"note-icon note-title" minmax(0, max-content) "note-content note-content" auto/minmax(0, max-content) 1fr;--note-layout-gap:1rem;--note-padding:1.5rem;--note-margin:1.5rem 0;--note-border-radius:0.8rem;--note-background:var(--color-blue-100);--note-border:0.1rem solid var(--color-blue-700);--note-border-top:0.4rem solid var(--color-blue-700);--note-title-margin:auto 0;--note-title-align-self:center;--note-title-justify-self:left;--note-title-color:var(--color-blue-700);--note-title-font-weight:bold;--note-icon-margin:auto;--table-display:block;--table-overflow:auto;--table-white-space:nowrap;--table-border-collapse:collapse;--table-max-width:100%;--table-margin:0 auto 2.5rem;--table-padding:0;--thead-background:var(--color-primary-300);--thead-color:var(--color-primary-500);--tr-border-bottom:0.1rem solid var(--color-primary-500);--table-cell-vertical-align:middle;--table-cell-padding:1rem;--grid-width:100%;--grid-justify-content:space-around;--grid-align-items:stretch;--grid-flex-wrap:wrap;--grid-column-display:block;--grid-column-max-width:100%;--grid-column-margin:0.3rem;--grid-column-visibility:visible;--grid-column-base:10;--grid-column-multiplier:1;--grid-column-flex-basis:auto;--button-display:inline-block;--button-opacity:1;--button-transition:var(--animation-timing-normal);--button-margin:0.5rem 1.2rem;--button-padding:1.5rem;--button-border-radius:0.4rem;--button-color:var(--color-grey-50);--button-background:var(--color-primary-500);--button-border-width:0.3rem;--button-border-style:solid;--button-border-color:var(--color-primary-500);--button-font-size:1.35rem;--button-font-weight:700;--button-letter-spacing:0.1rem;--button-text-align:center;--button-text-decoration:none;--button-text-transform:uppercase;--button-overflow-wrap:break-word;--button-word-break:break-word;--button-color-invert:var(--color-primary-500);--button-color-focus:var(--color-grey-50);--button-background-focus:var(--color-contrast-700);--button-border-color-focus:var(--color-contrast-700);--button-opacity-disabled:0.5;--form-margin:2.5rem auto;--form-max-width:100%;--form-list-margin:0 0 0 2rem;--form-list-style-type:none;--form-list-padding:0;--form-li-display:list-item;--form-li-margin:1rem;--fieldset-display:block;--fieldset-margin:1.5rem 0;--fieldset-padding:1rem;--fieldset-border-radius:0.4rem;--fieldset-border:none;--fieldset-border-show:0.1rem solid var(--color-primary-500);--fieldset-text-align:left;--legend-font-weight:bold;--legend-color:var(--color-primary-500);--input-font:inherit;--input-font-size:inherit;--input-vertical-align:middle;--input-color:var(--color-grey-900);--input-background:transparent;--input-background-image:transparent;--input-border-radius:0.4rem;--input-border-color:var(--color-grey-700);--input-border:0.1rem solid var(--color-grey-700);--input-border-left-width:0.4rem;--input-outline:0;--input-box-shadow:none;--input-box-sizing:border-box;--input-width:100%;--input-height:4rem;--input-min-height:unset;--input-padding:0.6rem 1rem;--input-margin:0;--input-appearance:none;--input-transition:var(--animation-timing-fast);--placeholder-font-style:italic;--placeholder-color:var(--color-grey-500);--optgroup-margin:2rem 0 0;--option-padding:1.2rem 0;--label-font-size:inherit;--label-color:inherit;--label-width:inherit;--label-white-space:normal;--label-vertical-align:middle;--carousel-total:5;--carousel-display:block;--carousel-height:fit-content;--carousel-width:100%;--carousel-margin:0 0 3rem;--carousel-padding:0;--carousel-background:transparent;--carousel-perspective:2rem;--carousel-nav-grid:"carousel-previous   content    carousel-next" 100%/max-content auto max-content;--carousel-nav-width:10rem;--carousel-nav-visibility:visible;--carousel-nav-font-size:10rem;--carousel-nav-align-items:center;--carousel-nav-justify-items:center;--carousel-nav-color:var(--color-grey-50);--carousel-nav-background-previous:linear-gradient(to right, rgba(0, 0, 0, 0.35) 5%, transparent 100%);--carousel-nav-background-next:linear-gradient(to left, rgba(0, 0, 0, 0.35) 5%, transparent 100%);--carousel-nav-timing:var(--animation-timing-normal);--carousel-panel-position-top:unset;--carousel-panel-position-bottom:0;--carousel-panel-position-left:50%;--carousel-panel-position-right:unset;--carousel-panel-transform:translateX(-50%);--carousel-panel-border-radius:none;--carousel-panel-background:linear-gradient(to top, rgba(0, 0, 0, 0.85) 25%, transparent 50%);--carousel-panel-margin:0;--carousel-panel-padding:0;--carousel-panel-width:100%;--carousel-panel-height:fit-content;--carousel-panel-flex-direction:row;--carousel-panel-flex-wrap:nowrap;--carousel-panel-align-items:center;--carousel-justify-content:center;--carousel-panel-align-content:center;--carousel-panel-overflow:scroll hidden;--carousel-panel-item-margin:0 1rem;--carousel-panel-item-padding:0;--carousel-panel-item-border:none;--carousel-panel-item-background:transparent;--carousel-panel-item-color:var(--carousel-nav-color);--carousel-panel-item-text-align:center;--carousel-panel-item-vertical-align:middle;--carousel-panel-item-hover-transform:TranslateY(-1.5rem);--carousel-autoplay-timing:10000;--carousel-autoplay-timing-function:ease;--carousel-autoplay-iteration:infinite;--carousel-print-margin:1rem;--card-overflow:hidden;--card-width:max-content;--card-height:max-content;--card-border-radius:1rem;--card-padding:0;--card-margin:0.5rem;--card-border:unset;--card-background:var(--color-grey-50);--card-filter:drop-shadow(0 0 0.1rem var(--color-grey-900));--card-thumbnail-overflow:hidden;--card-thumbnail-height:100%;--card-thumbnail-padding:0;--card-thumbnail-margin:0;--card-content-overflow:auto;--card-content-height:unset;--card-content-padding:0;--card-content-margin:0;--card-cta-overflow:visible;--card-cta-height:100%;--card-cta-padding:0;--card-cta-margin:0;--card-cta-list-flex-direction:row;--card-cta-list-align-items:center;--card-cta-list-justify-content:center;--card-cta-list-align-content:center;--footer-display:block;--footer-padding:2.5rem var(--main-padding);--footer-margin:0 calc(-1 * var(--main-padding)) calc(-1 * var(--main-padding));--footer-color:var(--color-grey-50);--footer-background:var(--color-primary-700);--footer-border:none;--footer-display-print:block;--nav-catalog-padding:0;--nav-sidebar-width:75%;--nav-sidebar-width-tablet:var(--sidebar-width);--nav-sidebar-width-desktop:var(--sidebar-width);--nav-sidebar-width-widescreen:var(--sidebar-width);--nav-sidebar-height:100vh;--nav-sidebar-z-index:var(--z-index-nav);--nav-sidebar-background:rgba(0, 0, 0, 0.9);--nav-sidebar-padding:0;--nav-sidebar-justify-content:flex-start;--nav-sidebar-grid-area:sidebar;--nav-sidebar-transition:var(--animation-timing-fast);--nav-sidebar-trigger-color:var(--color-grey-50);--nav-sidebar-trigger-font-size:x-large;--nav-sidebar-trigger-font-weight:bold;--nav-sidebar-trigger-position-top:0;--nav-sidebar-trigger-dimension:5rem;--nav-sidebar-trigger-transform:rotate(360deg);--nav-sidebar-trigger-z-index:var(--z-index-nav-topping);--nav-sidebar-trigger-border-radius:0 0 50% 0;--nav-sidebar-shade-background:rgba(255, 255, 255, 0.8);--nav-sidebar-shade-z-index:var(--z-index-nav-overlay);--nav-sidebar-title-color:var(--color-grey-50);--nav-sidebar-title-font-size:xx-large;--nav-sidebar-title-text-align:center;--nav-sidebar-title-text-transform:uppercase;--nav-sidebar-title-font-weight:300;--nav-sidebar-title-line-height:auto;--nav-sidebar-logo-margin:3rem auto 0 auto;--nav-sidebar-link-line-height:3.5rem;--nav-sidebar-link-padding:0.8rem;--nav-sidebar-link-background:transparent;--nav-sidebar-link-justify-content:flex-start;--nav-sidebar-link-align-items:center;--nav-sidebar-link-color:var(--color-grey-50);--nav-sidebar-link-text-transform:capitalize;--nav-sidebar-link-vertical-align:middle;--nav-sidebar-link-pre-spacing:1rem;--nav-sidebar-link-pre-padding:0 var(--nav-sidebar-link-pre-spacing) 0 0;--nav-sidebar-link-pre-margin:0;--nav-sidebar-link-pre-min-width:25px;--nav-sidebar-link-pre-background:transparent;--nav-sidebar-link-active-color:var(--color-contrast-700);--nav-sidebar-link-focus-color:var(--color-contrast-500);--nav-sidebar-link-hover-color:var(--color-contrast-500);--nav-sidebar-link-transition:var(--animation-timing-fast);--nav-sidebar-link-active-background:rgba(0, 0, 0, 0.35);--nav-sidebar-link-focus-background:rgba(0, 0, 0, 0.75);--nav-sidebar-link-hover-background:rgba(0, 0, 0, 0.75);--nav-sidebar-link-separator-border:1px solid var(--color-grey-700);--nav-sidebar-link-border-right:4px solid var(--color-primary-300);--nav-sidebar-link-border-left:none;--nav-sidebar-link-text-align:left;--nav-sidebar-submenu-margin:1rem 0 1rem 1rem;--nav-sidebar-submenu-padding:0.8rem 0 0.8rem 0.8rem;--nav-sidebar-submenu-animation:nav-sidebar-submenu var(--animation-timing-rapid) both;--nav-sidebar-submenu-icon-animation:nav-sidebar-submenu-icon var(--animation-timing-rapid) both;--nav-sidebar-print-display:none}html,body{margin:0;padding:0;width:100%}html{font-size:62.5%;height:100%;height:calc(100vh - calc(100vh - 100%));box-sizing:var(--box-sizing-html)}body{font-family:var(--font-family);font-size:var(--font-size);font-weight:var(--font-weight);letter-spacing:var(--font-char-spacing);line-height:var(--font-line-height);text-align:var(--font-align);min-height:100%;display:grid;gap:0;grid:var(--body-grid)}main{z-index:var(--z-index-main);grid-area:content;max-width:var(--main-max-width);margin:var(--main-margin);padding:var(--main-padding)}h1{font-size:var(--h1-font-size);line-height:var(--h1-line-height);letter-spacing:var(--h1-char-spacing);margin:var(--h1-margin);text-decoration:var(--h1-text-deco);text-decoration-color:var(--h1-text-deco-color);border-bottom:var(--h1-border-bottom)}h2{font-size:var(--h2-font-size);line-height:var(--h2-line-height);letter-spacing:var(--h2-char-spacing);margin:var(--h2-margin);text-decoration:var(--h2-text-deco);text-decoration-color:var(--h2-text-deco-color);border-bottom:var(--h2-border-bottom)}h3{font-size:var(--h3-font-size);line-height:var(--h3-line-height);letter-spacing:var(--h3-char-spacing);margin:var(--h3-margin);text-decoration:var(--h3-text-deco);text-decoration-color:var(--h3-text-deco-color);border-bottom:var(--h3-border-bottom)}h4{font-size:var(--h4-font-size);line-height:var(--h4-line-height);letter-spacing:var(--h4-char-spacing);margin:var(--h4-margin);text-decoration:var(--h4-text-deco);text-decoration-color:var(--h4-text-deco-color);border-bottom:var(--h4-border-bottom)}h5{font-size:var(--h5-font-size);line-height:var(--h5-line-height);letter-spacing:var(--h5-char-spacing);margin:var(--h5-margin);text-decoration:var(--h5-text-deco);text-decoration-color:var(--h5-text-deco-color);border-bottom:var(--h5-border-bottom)}h6{font-size:var(--h6-font-size);line-height:var(--h6-line-height);letter-spacing:var(--h6-char-spacing);margin:var(--h6-margin);text-decoration:var(--h6-text-deco);text-decoration-color:var(--h6-text-deco-color);border-bottom:var(--h6-border-bottom)}`

	CSSCritical = `@font-face{font-family:"Noto Sans";font-style:normal;font-weight:bold;src:local("Noto Sans"),url("/fonts/NotoSans-Bold.ttf")}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:bold;src:local("Noto Sans"),url("/fonts/NotoSans-BoldItalic.ttf")}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:400;src:local("Noto Sans"),url("/fonts/NotoSans-Italic.ttf")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;src:local("Noto Sans"),url("/fonts/NotoSans-Regular.ttf")}@font-face{font-family:"Noto Color Emoji";src:local("Noto Color Emoji"),url("/fonts/NotoColorEmoji.ttf")}:root{--color-primary-300:#ccff90;--color-primary-500:#1ea82b;--color-primary-700:#012104;--color-contrast-300:#fff59d;--color-contrast-500:#ffeb3b;--color-contrast-700:#f9c22d;--color-red-100:#ffe5e5;--color-red-300:#f66;--color-red-500:red;--color-red-700:#b20000;--color-red-900:#300;--color-yellow-100:#ffffe5;--color-yellow-300:#ff6;--color-yellow-500:#ff0;--color-yellow-700:#ffea00;--color-yellow-900:#fc0;--color-green-100:#e6fae6;--color-green-300:#6ce569;--color-green-500:#0ad406;--color-green-700:#079404;--color-green-900:#022a01;--color-blue-100:#e5e5ff;--color-blue-300:#66f;--color-blue-500:blue;--color-blue-700:#0000b2;--color-blue-900:#003;--color-grey-50:#fafafa;--color-grey-100:#f5f5f5;--color-grey-300:#e0e0e0;--color-grey-400:#bdbdbd;--color-grey-500:#9e9e9e;--color-grey-700:#616161;--color-grey-800:#4d4d4d;--color-grey-900:#212121;--font-size:1.8rem;--font-weight:normal;--font-char-spacing:.01rem;--font-line-height:1.6;--font-family:"Noto Sans","Noto Serif","Noto Color Emoji","Roboto","Helvetica Neue","sans-serif";--font-align:justify;--h1-font-size:4rem;--h1-line-height:1.2;--h1-char-spacing:-0.1rem;--h1-margin:2rem 0 0;--h1-text-deco:underline;--h1-text-deco-color:var(--color-primary-500);--h2-font-size:3rem;--h2-line-height:1.25;--h2-char-spacing:-0.1rem;--h2-margin:10rem 0 0;--h2-border-bottom:1px solid var(--color-primary-300);--h3-font-size:2.5rem;--h3-line-height:1.3;--h3-char-spacing:-0.1rem;--h3-margin:8rem 0 0;--h4-font-size:2.2rem;--h4-line-height:1.35;--h4-char-spacing:-0.08rem;--h4-margin:4.5rem 0 0;--h5-font-size:1.8rem;--h5-line-height:1.5;--h5-char-spacing:-0.05rem;--h5-margin:4.5rem 0 0;--h6-font-size:1.6rem;--h6-line-height:0;--h6-char-spacing:0;--h6-margin:4.5rem 0 0;--h2-before-content:"§";--h2-before-color:var(--color-primary-500);--h2-before-margin:0 2rem 0 0;--h3-before-content:"¶";--h3-before-color:var(--color-primary-500);--h3-before-margin:0 2rem 0 0;--z-index-max:2147483647;--z-index-max-overlay:2147483646;--z-index-nav-topping:2147483645;--z-index-nav:2147483644;--z-index-nav-overlay:2147483643;--z-index-main-topping:2147483642;--z-index-main:2147483641;--z-index-main-overlay:2147483640;--z-index-hidden:0;--layout-vertical:"content" auto "topbar" minmax(0, auto) "sidebar" minmax(0, auto) "rsidebar" minmax(0, auto)/var(--body-full-width);--layout-left-and-top:"sidebar topbar" minmax(0, max-content) "sidebar content" auto/minmax(0, var(--sidebar-width)) minmax(auto, calc(var(--body-full-width) - var(--sidebar-width)));--layout-right-and-top:"topbar rsidebar" minmax(0, max-content) "content rsidebar" auto/minmax(auto, calc(var(--body-full-width) - var(--sidebar-width))) minmax(0, var(--sidebar-width));--layout-both-and-top:"sidebar topbar rsidebar" minmax(0, max-content) "sidebar content rsidebar" auto/minmax(0, var(--sidebar-width)) minmax(auto, calc(var(--body-full-width) - 2*var(--sidebar-width))) minmax(0, var(--sidebar-width));--layout-top-and-both:"topbar topbar topbar" minmax(0, max-content) "sidebar content rsidebar" auto/minmax(0, var(--sidebar-width)) minmax(auto, calc(var(--body-full-width) - 2*var(--sidebar-width))) minmax(0, var(--sidebar-width));--body-grid:var(--layout-vertical);--body-grid-tablet:var(--layout-both-and-top);--body-grid-desktop:var(--layout-top-and-both);--body-grid-widescreen:var(--layout-top-and-both);--box-sizing-html:border-box;--main-max-width:100%;--main-margin:0;--main-padding:3.5rem;--sidebar-width:22%;--body-full-width:100%;--animation-timing-rapid:.2s;--animation-timing-fast:.3s;--animation-timing-normal:.4s;--animation-timing-slow:.5s;--animation-timing-slowest:.8s;--anchor-color:var(--color-primary-700);--anchor-focus-color:var(--color-primary-500);--anchor-hover-color:var(--color-primary-500);--anchor-border-bottom:2px solid var(--color-primary-500);--anchor-text-decoration:none;--anchor-overflow-wrap:break-word;--anchor-word-break:break-word;--anchor-print-content:" (" attr(href) ")";--image-max-width:100%;--image-height:auto;--image-max-height:unset;--image-filter:unset;--image-border:none;--image-border-radius:0;--image-animation:unset;--iframe-position:initial;--iframe-border:none;--iframe-margin:1.5rem 0;--iframe-overflow:auto;--iframe-z-index:initial;--iframe-width:100%;--iframe-min-height:10rem;--list-position:relative;--list-padding-left:2.5rem;--list-margin:1rem 1rem 1rem 3rem;--list-style-type:auto;--list-style-position:outside;--list-style-image:none;--li-print-break-inside:avoid;--dl-overflow:auto;--dl-padding:0.5rem;--dl-border:1px solid var(--color-primary-500);--dt-font-weight:bold;--dt-margin:0.5rem;--dt-padding:0.5rem;--dt-border-top:1px solid var(--color-grey-400);--dd-margin:0 0 0 2.5rem;--dd-padding:0 0 0 5rem;--blockquote-color:var(--color-grey-800);--blockquote-background-color:var(--color-grey-50);--blockquote-border:0.1rem solid var(--color-grey-800);--blockquote-border-left:0.5rem solid var(--color-grey-800);--blockquote-border-radius:0.4rem;--blockquote-margin:2.1rem 0;--blockquote-padding:1rem 1.5rem;--blockquote-font-style:italic;--blockquote-print-break-inside:avoid;--blockquote-cite-display:block;--blockquote-cite-margin:1rem auto;--blockquote-cite-font-size:larger;--blockquote-cite-font-style:italic;--blockquote-cite-text-align:center;--divider-overflow:visible;--divider-margin:5rem 0;--divider-break-inside:avoid;--shieldsbadge-border:none;--shieldsbadge-border-radius:0.4rem;--shieldsbadge-margin:0.4rem;--shieldsbadge-padding:0;--shieldsbadge-dt-min-width:10.5rem;--shieldsbadge-dt-padding:0.8rem;--shieldsbadge-dt-font-size:1.4rem;--shieldsbadge-dt-font-weight:bold;--shieldsbadge-dt-color:var(--color-grey-50);--shieldsbadge-dt-background:var(--color-grey-900);--shieldsbadge-dd-white-space:normal;--shieldsbadge-dd-padding:0.8rem;--shieldsbadge-dd-font-size:1.4rem;--shieldsbadge-dd-font-weight:bold;--shieldsbadge-dd-color:var(--color-grey-50);--shieldsbadge-dd-background:var(--color-primary-500);--code-border-radius:0.4rem;--code-padding:0.2rem 0.5rem;--code-letter-spacing:0;--code-color:var(--color-primary-500);--code-background:var(--color-grey-100);--code-overflow-wrap:break-word;--pre-display:block;--pre-margin:0 auto;--pre-overflow:auto auto;--pre-border-left:0.3rem solid var(--color-primary-500);--pre-border-radius:0.4rem;--pre-padding:1.5rem;--pre-max-width:100%;--pre-letter-spacing:0;--pre-color:var(--color-grey-800);--pre-background:var(--color-grey-100);--nav-toc-width:fit-content;--nav-toc-padding:0.5rem;--nav-toc-border:0.2rem solid var(--color-primary-300);--nav-toc-border-radius:0.4rem;--nav-toc-background:var(--color-primary-300);--nav-toc-title-margin:0.5rem 0 0;--nav-toc-title-font-size:1.6rem;--nav-toc-title-text-align:center;--nav-toc-title-font-weight:bold;--nav-toc-list-margin:1rem;--nav-toc-list-padding:0;--nav-toc-li-margin:0.8rem;--note-layout:"note-icon note-title" minmax(0, max-content) "note-content note-content" auto/minmax(0, max-content) 1fr;--note-layout-gap:1rem;--note-padding:1.5rem;--note-margin:1.5rem 0;--note-border-radius:0.8rem;--note-background:var(--color-blue-100);--note-border:0.1rem solid var(--color-blue-700);--note-border-top:0.4rem solid var(--color-blue-700);--note-title-margin:auto 0;--note-title-align-self:center;--note-title-justify-self:left;--note-title-color:var(--color-blue-700);--note-title-font-weight:bold;--note-icon-margin:auto;--table-display:block;--table-overflow:auto;--table-white-space:nowrap;--table-border-collapse:collapse;--table-max-width:100%;--table-margin:0 auto 2.5rem;--table-padding:0;--thead-background:var(--color-primary-300);--thead-color:var(--color-primary-500);--tr-border-bottom:0.1rem solid var(--color-primary-500);--table-cell-vertical-align:middle;--table-cell-padding:1rem;--grid-width:100%;--grid-justify-content:space-around;--grid-align-items:stretch;--grid-flex-wrap:wrap;--grid-column-display:block;--grid-column-max-width:100%;--grid-column-margin:0.3rem;--grid-column-visibility:visible;--grid-column-base:10;--grid-column-multiplier:1;--grid-column-flex-basis:auto;--button-display:inline-block;--button-opacity:1;--button-transition:var(--animation-timing-normal);--button-margin:0.5rem 1.2rem;--button-padding:1.5rem;--button-border-radius:0.4rem;--button-color:var(--color-grey-50);--button-background:var(--color-primary-500);--button-border-width:0.3rem;--button-border-style:solid;--button-border-color:var(--color-primary-500);--button-font-size:1.35rem;--button-font-weight:700;--button-letter-spacing:0.1rem;--button-text-align:center;--button-text-decoration:none;--button-text-transform:uppercase;--button-overflow-wrap:break-word;--button-word-break:break-word;--button-color-invert:var(--color-primary-500);--button-color-focus:var(--color-grey-50);--button-background-focus:var(--color-contrast-700);--button-border-color-focus:var(--color-contrast-700);--button-opacity-disabled:0.5;--form-margin:2.5rem auto;--form-max-width:100%;--form-list-margin:0 0 0 2rem;--form-list-style-type:none;--form-list-padding:0;--form-li-display:list-item;--form-li-margin:1rem;--fieldset-display:block;--fieldset-margin:1.5rem 0;--fieldset-padding:1rem;--fieldset-border-radius:0.4rem;--fieldset-border:none;--fieldset-border-show:0.1rem solid var(--color-primary-500);--fieldset-text-align:left;--legend-font-weight:bold;--legend-color:var(--color-primary-500);--input-font:inherit;--input-font-size:inherit;--input-vertical-align:middle;--input-color:var(--color-grey-900);--input-background:transparent;--input-background-image:transparent;--input-border-radius:0.4rem;--input-border-color:var(--color-grey-700);--input-border:0.1rem solid var(--color-grey-700);--input-border-left-width:0.4rem;--input-outline:0;--input-box-shadow:none;--input-box-sizing:border-box;--input-width:100%;--input-height:4rem;--input-min-height:unset;--input-padding:0.6rem 1rem;--input-margin:0;--input-appearance:none;--input-transition:var(--animation-timing-fast);--placeholder-font-style:italic;--placeholder-color:var(--color-grey-500);--optgroup-margin:2rem 0 0;--option-padding:1.2rem 0;--label-font-size:inherit;--label-color:inherit;--label-width:inherit;--label-white-space:normal;--label-vertical-align:middle;--carousel-total:5;--carousel-display:block;--carousel-height:fit-content;--carousel-width:100%;--carousel-margin:0 0 3rem;--carousel-padding:0;--carousel-background:transparent;--carousel-perspective:2rem;--carousel-nav-grid:"carousel-previous   content    carousel-next" 100%/max-content auto max-content;--carousel-nav-width:10rem;--carousel-nav-visibility:visible;--carousel-nav-font-size:10rem;--carousel-nav-align-items:center;--carousel-nav-justify-items:center;--carousel-nav-color:var(--color-grey-50);--carousel-nav-background-previous:linear-gradient(to right, rgba(0, 0, 0, 0.35) 5%, transparent 100%);--carousel-nav-background-next:linear-gradient(to left, rgba(0, 0, 0, 0.35) 5%, transparent 100%);--carousel-nav-timing:var(--animation-timing-normal);--carousel-panel-position-top:unset;--carousel-panel-position-bottom:0;--carousel-panel-position-left:50%;--carousel-panel-position-right:unset;--carousel-panel-transform:translateX(-50%);--carousel-panel-border-radius:none;--carousel-panel-background:linear-gradient(to top, rgba(0, 0, 0, 0.85) 25%, transparent 50%);--carousel-panel-margin:0;--carousel-panel-padding:0;--carousel-panel-width:100%;--carousel-panel-height:fit-content;--carousel-panel-flex-direction:row;--carousel-panel-flex-wrap:nowrap;--carousel-panel-align-items:center;--carousel-justify-content:center;--carousel-panel-align-content:center;--carousel-panel-overflow:scroll hidden;--carousel-panel-item-margin:0 1rem;--carousel-panel-item-padding:0;--carousel-panel-item-border:none;--carousel-panel-item-background:transparent;--carousel-panel-item-color:var(--carousel-nav-color);--carousel-panel-item-text-align:center;--carousel-panel-item-vertical-align:middle;--carousel-panel-item-hover-transform:TranslateY(-1.5rem);--carousel-autoplay-timing:10000;--carousel-autoplay-timing-function:ease;--carousel-autoplay-iteration:infinite;--carousel-print-margin:1rem;--card-overflow:hidden;--card-width:max-content;--card-height:max-content;--card-border-radius:1rem;--card-padding:0;--card-margin:0.5rem;--card-border:unset;--card-background:var(--color-grey-50);--card-filter:drop-shadow(0 0 0.1rem var(--color-grey-900));--card-thumbnail-overflow:hidden;--card-thumbnail-height:100%;--card-thumbnail-padding:0;--card-thumbnail-margin:0;--card-content-overflow:auto;--card-content-height:unset;--card-content-padding:0;--card-content-margin:0;--card-cta-overflow:visible;--card-cta-height:100%;--card-cta-padding:0;--card-cta-margin:0;--card-cta-list-flex-direction:row;--card-cta-list-align-items:center;--card-cta-list-justify-content:center;--card-cta-list-align-content:center;--footer-display:block;--footer-padding:2.5rem var(--main-padding);--footer-margin:0 calc(-1 * var(--main-padding)) calc(-1 * var(--main-padding));--footer-color:var(--color-grey-50);--footer-background:var(--color-primary-700);--footer-border:none;--footer-display-print:block;--nav-catalog-padding:0;--nav-sidebar-width:75%;--nav-sidebar-width-tablet:var(--sidebar-width);--nav-sidebar-width-desktop:var(--sidebar-width);--nav-sidebar-width-widescreen:var(--sidebar-width);--nav-sidebar-height:100vh;--nav-sidebar-z-index:var(--z-index-nav);--nav-sidebar-background:rgba(0, 0, 0, 0.9);--nav-sidebar-padding:0;--nav-sidebar-justify-content:flex-start;--nav-sidebar-grid-area:sidebar;--nav-sidebar-transition:var(--animation-timing-fast);--nav-sidebar-trigger-color:var(--color-grey-50);--nav-sidebar-trigger-font-size:x-large;--nav-sidebar-trigger-font-weight:bold;--nav-sidebar-trigger-position-top:0;--nav-sidebar-trigger-dimension:5rem;--nav-sidebar-trigger-transform:rotate(360deg);--nav-sidebar-trigger-z-index:var(--z-index-nav-topping);--nav-sidebar-trigger-border-radius:0 0 50% 0;--nav-sidebar-shade-background:rgba(255, 255, 255, 0.8);--nav-sidebar-shade-z-index:var(--z-index-nav-overlay);--nav-sidebar-title-color:var(--color-grey-50);--nav-sidebar-title-font-size:xx-large;--nav-sidebar-title-text-align:center;--nav-sidebar-title-text-transform:uppercase;--nav-sidebar-title-font-weight:300;--nav-sidebar-title-line-height:auto;--nav-sidebar-logo-margin:3rem auto 0 auto;--nav-sidebar-link-line-height:3.5rem;--nav-sidebar-link-padding:0.8rem;--nav-sidebar-link-background:transparent;--nav-sidebar-link-justify-content:flex-start;--nav-sidebar-link-align-items:center;--nav-sidebar-link-color:var(--color-grey-50);--nav-sidebar-link-text-transform:capitalize;--nav-sidebar-link-vertical-align:middle;--nav-sidebar-link-pre-spacing:1rem;--nav-sidebar-link-pre-padding:0 var(--nav-sidebar-link-pre-spacing) 0 0;--nav-sidebar-link-pre-margin:0;--nav-sidebar-link-pre-min-width:25px;--nav-sidebar-link-pre-background:transparent;--nav-sidebar-link-active-color:var(--color-contrast-700);--nav-sidebar-link-focus-color:var(--color-contrast-500);--nav-sidebar-link-hover-color:var(--color-contrast-500);--nav-sidebar-link-transition:var(--animation-timing-fast);--nav-sidebar-link-active-background:rgba(0, 0, 0, 0.35);--nav-sidebar-link-focus-background:rgba(0, 0, 0, 0.75);--nav-sidebar-link-hover-background:rgba(0, 0, 0, 0.75);--nav-sidebar-link-separator-border:1px solid var(--color-grey-700);--nav-sidebar-link-border-right:4px solid var(--color-primary-300);--nav-sidebar-link-border-left:none;--nav-sidebar-link-text-align:left;--nav-sidebar-submenu-margin:1rem 0 1rem 1rem;--nav-sidebar-submenu-padding:0.8rem 0 0.8rem 0.8rem;--nav-sidebar-submenu-animation:nav-sidebar-submenu var(--animation-timing-rapid) both;--nav-sidebar-submenu-icon-animation:nav-sidebar-submenu-icon var(--animation-timing-rapid) both;--nav-sidebar-print-display:none}html,body{margin:0;padding:0;width:100%}html{font-size:62.5%;height:100%;height:calc(100vh - calc(100vh - 100%));box-sizing:var(--box-sizing-html)}body{font-family:var(--font-family);font-size:var(--font-size);font-weight:var(--font-weight);letter-spacing:var(--font-char-spacing);line-height:var(--font-line-height);text-align:var(--font-align);min-height:100%;display:grid;gap:0;grid:var(--body-grid)}main{z-index:var(--z-index-main);grid-area:content;max-width:var(--main-max-width);margin:var(--main-margin);padding:var(--main-padding)}h1{font-size:var(--h1-font-size);line-height:var(--h1-line-height);letter-spacing:var(--h1-char-spacing);margin:var(--h1-margin);text-decoration:var(--h1-text-deco);text-decoration-color:var(--h1-text-deco-color);border-bottom:var(--h1-border-bottom)}h2{font-size:var(--h2-font-size);line-height:var(--h2-line-height);letter-spacing:var(--h2-char-spacing);margin:var(--h2-margin);text-decoration:var(--h2-text-deco);text-decoration-color:var(--h2-text-deco-color);border-bottom:var(--h2-border-bottom)}h3{font-size:var(--h3-font-size);line-height:var(--h3-line-height);letter-spacing:var(--h3-char-spacing);margin:var(--h3-margin);text-decoration:var(--h3-text-deco);text-decoration-color:var(--h3-text-deco-color);border-bottom:var(--h3-border-bottom)}h4{font-size:var(--h4-font-size);line-height:var(--h4-line-height);letter-spacing:var(--h4-char-spacing);margin:var(--h4-margin);text-decoration:var(--h4-text-deco);text-decoration-color:var(--h4-text-deco-color);border-bottom:var(--h4-border-bottom)}h5{font-size:var(--h5-font-size);line-height:var(--h5-line-height);letter-spacing:var(--h5-char-spacing);margin:var(--h5-margin);text-decoration:var(--h5-text-deco);text-decoration-color:var(--h5-text-deco-color);border-bottom:var(--h5-border-bottom)}h6{font-size:var(--h6-font-size);line-height:var(--h6-line-height);letter-spacing:var(--h6-char-spacing);margin:var(--h6-margin);text-decoration:var(--h6-text-deco);text-decoration-color:var(--h6-text-deco-color);border-bottom:var(--h6-border-bottom)}h1:before{content:var(--h1-before-content);margin:var(--h1-before-margin);color:var(--h1-before-color)}h2:before{content:var(--h2-before-content);margin:var(--h2-before-margin);color:var(--h2-before-color)}h3:before{content:var(--h3-before-content);margin:var(--h3-before-margin);color:var(--h3-before-color)}h4:before{content:var(--h4-before-content);margin:var(--h4-before-margin);color:var(--h4-before-color)}h5:before{content:var(--h5-before-content);margin:var(--h5-before-margin);color:var(--h5-before-color)}h6:before{content:var(--h6-before-content);margin:var(--h6-before-margin);color:var(--h6-before-color)}h1 .clean:before,h2 .clean:before,h3 .clean:before,h4 .clean:before,h5 .clean:before,h6 .clean:before{content:none;margin-right:initial}`

	CSSTablet = `body{--body-grid:var(--body-grid-tablet)}`

	CSSDesktop = `body{--body-grid:var(--body-grid-desktop)}`

	CSSWidescreen = `body{--body-grid:var(--body-grid-widescreen)}`

	CSSPrint = `:root{--font-size:12pt}h1,h2,h3,h4,h5,h6,p{display:block;break-inside:avoid}h1{break-before:page;break-after:avoid}h2,h3,h4,h5,h6{break-before:avoid;break-after:avoid}p{break-before:avoid;orphans:0;widows:0}`
)

HTML is the output format for vanilla HTML

const (
	HTMLCode   = "HTML"

	HTMLName   = "html"

	HTMLSuffix = "html"

	HTMLPrefix = ""
)

AMP is the output format for AMP HTML

const (
	AMPCode   = "AMP"

	AMPName   = "amp"

	AMPSuffix = "amp.html"

	AMPPrefix = "amp-"
)