diff --git a/config/config.php b/config/config.php index 1f9e382..a34663d 100644 --- a/config/config.php +++ b/config/config.php @@ -1,29 +1,29 @@ - 'home', 'label' => 'Home', 'icon' => 'home'], + ['page' => 'radio', 'label' => 'Radio', 'icon' => 'radio'], + ['page' => 'tv', 'label' => 'TV', 'icon' => 'tv'], + ['page' => 'podcast', 'label' => 'Podcast', 'icon' => 'mic'], + ]; +} + +/** + * Icona SVG inline (griglia 24x24, tratto 2px, colore corrente). + * Le icone "piene" (play, pause) usano il riempimento invece del tratto. + */ +function rpi_icon(string $name, int $size = 20, string $class = ''): string +{ + static $icons = [ + 'home' => '', + 'radio' => '', + 'tv' => '', + 'mic' => '', + 'headphones' => '', + 'arrow-left' => '', + 'arrow-right' => '', + 'external' => '', + 'volume' => '', + 'mute' => '', + 'download' => '', + 'close' => '', + 'calendar' => '', + 'wifi-off' => '', + 'refresh' => '', + 'info' => '', + 'help' => '', + 'copyright' => '', + 'mail' => '', + 'share' => '', + 'plus-square' => '', + 'more-vertical' => '', + 'rss' => '', + 'message' => '', + 'list' => '', + 'shield' => '', + 'file-text' => '', + 'globe' => '', + 'clock' => '', + 'sparkles' => '', + 'maximize' => '', + // Piene + 'play' => '', + 'pause' => '', + ]; + + if (!isset($icons[$name])) return ''; + $filled = in_array($name, ['play', 'pause'], true); + $paint = $filled + ? 'fill="currentColor"' + : 'fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"'; + $cls = trim('icon icon-' . $name . ' ' . $class); + + return ''; +} + +/** Figura decorativa delle sezioni scure: anelli concentrici (il "segno" di RPIGroup Play) */ +function rpi_motivo(string $class = ''): string +{ + $cls = trim('motivo ' . $class); + $out = ''; +} + +/** + * Intestazione di una pagina interna: sfondo del brand, pillola "torna a", etichetta, titolo, sottotitolo. + * $o = ['title' => ..., 'eyebrow' => ..., 'subtitle' => ..., 'back' => ['page' => 'home', 'label' => 'Home'], 'class' => ...] + */ +function rpi_page_header(array $o): void +{ + $title = $o['title'] ?? ''; + $eyebrow = $o['eyebrow'] ?? ''; + $subtitle = $o['subtitle'] ?? ''; + $back = $o['back'] ?? ['page' => 'home', 'label' => 'Home']; + $class = $o['class'] ?? ''; + ?> +
+ + +
+ + + + + + +

+

+
+
+ ' + . rpi_icon('arrow-left', 18) . htmlspecialchars($label) . ''; +} + +/** Link legali e versione: nella sidebar (desktop) e in fondo alla home (telefono) */ +function rpi_legal_links(): array +{ + return [ + ['page' => 'page/termini-condizioni', 'label' => 'Termini e Condizioni'], + ['page' => 'page/policy-privacy', 'label' => 'Policy Privacy'], + ['page' => 'page/changelog', 'label' => 'Changelog'], + ]; +} + +/** Dati di una stazione radio per il player (attributo data-station) */ +function rpi_station_json($station): string +{ + return htmlspecialchars(json_encode([ + 'id' => (int)$station->id, + 'name' => (string)$station->name, + 'slogan' => (string)$station->slogan, + 'logo' => (string)$station->logo, + 'stream' => (string)$station->stream, + 'streamhls' => (string)$station->streamhls, + 'api' => (string)$station->apiradio, + ], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), ENT_QUOTES, 'UTF-8'); +} diff --git a/css/animation.css b/css/animation.css deleted file mode 100644 index 4395bf3..0000000 --- a/css/animation.css +++ /dev/null @@ -1,331 +0,0 @@ -/* ======================================== - TRANSIZIONI E ANIMAZIONI - ======================================== */ - - -/* ======================================== - LOADING OVERLAY - ======================================== */ - -/* Overlay di caricamento a schermo intero */ -.loading-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(16, 25, 75, 0.95); - backdrop-filter: blur(8px); - display: flex; - justify-content: center; - align-items: center; - z-index: 9999; - opacity: 0; - visibility: hidden; - transition: opacity 0.3s ease, visibility 0.3s ease; -} - -/* Quando l'overlay è attivo */ -.loading-overlay.active { - opacity: 1; - visibility: visible; -} - -/* Contenuto dell'overlay */ -.loading-content { - text-align: center; - color: white; -} - -/* Spinner grande per il loading overlay */ -.spinner-large { - width: 60px; - height: 60px; - border: 5px solid rgba(255, 255, 255, 0.2); - border-top-color: #f7b835; - border-radius: 50%; - animation: spin 0.8s linear infinite; - margin: 0 auto 20px; -} - -/* Testo di caricamento */ -.loading-text { - font-size: 1.1rem; - font-weight: 500; - color: white; - margin: 0; - animation: pulse 1.5s ease-in-out infinite; -} - -/* Animazione pulse per il testo */ -@keyframes pulse { - - 0%, - 100% { - opacity: 1; - } - - 50% { - opacity: 0.5; - } -} - - -/* Transizione per i link di navigazione */ -/* .navLink, -.nav-link, -.station-link, -.linkBox { - transition: all 0.3s ease; - position: relative; -} - -/* Effetto hover sui link */ -/* .navLink:hover, -.nav-link:hover, -.station-link:hover, -.linkBox:hover { - transform: translateY(-2px); - opacity: 0.8; -} - -/* Effetto attivo sui link di navigazione del menu */ - - -@keyframes pulseActive { - - 0%, - 100% { - opacity: 1; - transform: translateX(-50%) scale(1); - } - - 50% { - opacity: 0.6; - transform: translateX(-50%) scale(1.2); - } -} - -/* Effetto click/tap */ -/* .navLink:active, -.nav-link:active, -.station-link:active, -.linkBox:active { - transform: scale(0.98); - transition: transform 0.1s ease; -} - -/* Transizione per le card delle stazioni */ -/*.station-card { - transition: transform 0.3s ease, box-shadow 0.3s ease; -} - -.station-card:hover { - transform: translateY(-5px); - box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); -} - -/* Transizione per i clickBox della home */ -/* .clickBox { - transition: all 0.3s ease; -} - -.clickBox:hover { - transform: scale(1.05); - box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); -} - -.clickBox:active { - transform: scale(0.98); -} - -/* Spinner di caricamento */ -.loading { - display: flex; - justify-content: center; - align-items: center; - min-height: 200px; - opacity: 0; - animation: fadeIn 0.3s ease-in forwards; -} - -@keyframes fadeIn { - to { - opacity: 1; - } -} - -.spinner { - width: 50px; - height: 50px; - border: 4px solid rgba(255, 255, 255, 0.3); - border-top-color: #fff; - border-radius: 50%; - animation: spin 0.8s linear infinite; -} - -@keyframes spin { - to { - transform: rotate(360deg); - } -} - -/* Transizione per elementi che appaiono */ -/*.content-page, -.station-list, -.player-container { - animation: fadeInContent 0.5s ease-out; -} - -@keyframes fadeInContent { - from { - opacity: 0; - } - to { - opacity: 1; - } -} - -/* Transizione per le immagini */ -/* .station-logo, -.station-logo-large { - transition: transform 0.3s ease, filter 0.3s ease; -} - -.station-logo:hover, -.station-logo-large:hover { - transform: scale(1.05); - filter: brightness(1.1); -} - -/* Transizione per i pulsanti */ -/* button, -.submit-btn, -.play-pause-btn { - transition: all 0.3s ease; -} - -button:hover, -.submit-btn:hover, -.play-pause-btn:hover { - transform: scale(1.05); - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); -} - -button:active, -.submit-btn:active, -.play-pause-btn:active { - transform: scale(0.95); -} - -/* Transizione smooth per tutti gli elementi interattivi */ -/* a, button, input, textarea, select { - transition: all 0.2s ease; -} - -/* RIMOSSO: underline animato per il menu */ -/* Non ci sono più after pseudo-elementi per le underline */ - -/* Transizione per il back-link */ -/* .back-link a { - transition: all 0.3s ease; - display: inline-block; -} - -.back-link a:hover { - transform: translateX(-5px); - color: #4a90e2; -} - -/* Animazione per le liste */ -/* .stations-container { - display: grid; - gap: 1rem; -} - -.station-card { - animation: fadeInScale 0.4s ease-out backwards; -} - -.station-card:nth-child(1) { animation-delay: 0.05s; } -.station-card:nth-child(2) { animation-delay: 0.1s; } -.station-card:nth-child(3) { animation-delay: 0.15s; } -.station-card:nth-child(4) { animation-delay: 0.2s; } -.station-card:nth-child(5) { animation-delay: 0.25s; } - -@keyframes fadeInScale { - from { - opacity: 0; - transform: scale(0.95); - } - to { - opacity: 1; - transform: scale(1); - } -} - -/* Transizione per i form */ -/* .form-group input, -.form-group textarea, -.form-group select { - transition: border-color 0.3s ease, box-shadow 0.3s ease; -} - -.form-group input:focus, -.form-group textarea:focus, -.form-group select:focus { - border-color: #4a90e2; - box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1); -} - -/* Animazione per i messaggi di risposta */ -/* .form-response { - animation: slideInDown 0.4s ease-out; -} - -@keyframes slideInDown { - from { - opacity: 0; - transform: translateY(-20px); - } - to { - opacity: 1; - transform: translateY(0); - } -} - -/* Transizione per video e iframe */ -/* video, -iframe { - transition: opacity 0.3s ease; -} - -video:hover, -iframe:hover { - opacity: 0.95; -} - -/* Performance optimization */ -/** { - -webkit-tap-highlight-color: transparent; -} - -/* Smooth scrolling */ -/* html { - scroll-behavior: smooth; -} - -/* Riduzione movimento per chi ha impostato preferenze di accessibilità */ -/*@media (prefers-reduced-motion: reduce) { - *, - *::before, - *::after { - animation-duration: 0.01ms !important; - animation-iteration-count: 1 !important; - transition-duration: 0.01ms !important; - } - - .navLink.active::before { - animation: none !important; - } -} \ No newline at end of file diff --git a/css/bootstrap.css b/css/bootstrap.css deleted file mode 100644 index 23813c5..0000000 --- a/css/bootstrap.css +++ /dev/null @@ -1,12212 +0,0 @@ -@charset "UTF-8"; - -/*! - * Bootstrap v5.1.3 (https://getbootstrap.com/) - * Copyright 2011-2021 The Bootstrap Authors - * Copyright 2011-2021 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */ -:root { - --bs-blue: #0d6efd; - --bs-indigo: #6610f2; - --bs-purple: #6f42c1; - --bs-pink: #d63384; - --bs-red: #dc3545; - --bs-orange: #fd7e14; - --bs-yellow: #ffc107; - --bs-green: #198754; - --bs-teal: #20c997; - --bs-cyan: #0dcaf0; - --bs-white: #fff; - --bs-gray: #6c757d; - --bs-gray-dark: #343a40; - --bs-gray-100: #f8f9fa; - --bs-gray-200: #e9ecef; - --bs-gray-300: #dee2e6; - --bs-gray-400: #ced4da; - --bs-gray-500: #adb5bd; - --bs-gray-600: #6c757d; - --bs-gray-700: #495057; - --bs-gray-800: #343a40; - --bs-gray-900: #212529; - --bs-primary: #0d6efd; - --bs-secondary: #6c757d; - --bs-success: #198754; - --bs-info: #0dcaf0; - --bs-warning: #ffc107; - --bs-danger: #dc3545; - --bs-light: #f8f9fa; - --bs-dark: #212529; - --bs-primary-rgb: 13, 110, 253; - --bs-secondary-rgb: 108, 117, 125; - --bs-success-rgb: 25, 135, 84; - --bs-info-rgb: 13, 202, 240; - --bs-warning-rgb: 255, 193, 7; - --bs-danger-rgb: 220, 53, 69; - --bs-light-rgb: 248, 249, 250; - --bs-dark-rgb: 33, 37, 41; - --bs-white-rgb: 255, 255, 255; - --bs-black-rgb: 0, 0, 0; - --bs-body-color-rgb: 33, 37, 41; - --bs-body-bg-rgb: 255, 255, 255; - --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)); - --bs-body-font-family: var(--bs-font-sans-serif); - --bs-body-font-size: 1rem; - --bs-body-font-weight: 400; - --bs-body-line-height: 1.5; - --bs-body-color: #212529; - --bs-body-bg: #fff; -} - -*, -*::before, -*::after { - box-sizing: border-box; -} - -@media (prefers-reduced-motion: no-preference) { - :root { - scroll-behavior: smooth; - } -} - -body { - margin: 0; - font-family: var(--bs-body-font-family); - font-size: var(--bs-body-font-size); - font-weight: var(--bs-body-font-weight); - line-height: var(--bs-body-line-height); - color: var(--bs-body-color); - text-align: var(--bs-body-text-align); - background-color: var(--bs-body-bg); - -webkit-text-size-adjust: 100%; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} - -hr { - margin: 1rem 0; - color: inherit; - background-color: currentColor; - border: 0; - opacity: 0.25; -} - -hr:not([size]) { - height: 1px; -} - -h6, -.h6, -h5, -.h5, -h4, -.h4, -h3, -.h3, -h2, -.h2, -h1, -.h1 { - margin-top: 0; - margin-bottom: 0.5rem; - font-weight: 500; - line-height: 1.2; -} - -h1, -.h1 { - font-size: calc(1.375rem + 1.5vw); -} - -@media (min-width: 1200px) { - - h1, - .h1 { - font-size: 2.5rem; - } -} - -h2, -.h2 { - font-size: calc(1.325rem + 0.9vw); -} - -@media (min-width: 1200px) { - - h2, - .h2 { - font-size: 2rem; - } -} - -h3, -.h3 { - font-size: 1rem; -} - -@media (min-width: 1200px) { - - h3, - .h3 { - font-size: 1.75rem; - } -} - -h4, -.h4 { - font-size: calc(1.275rem + 0.3vw); -} - -@media (min-width: 1200px) { - - h4, - .h4 { - font-size: 1.5rem; - } -} - -h5, -.h5 { - font-size: 1.25rem; -} - -h6, -.h6 { - font-size: 1rem; -} - -p { - margin-top: 0; - margin-bottom: 1rem; -} - -abbr[title], -abbr[data-bs-original-title] { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - cursor: help; - -webkit-text-decoration-skip-ink: none; - text-decoration-skip-ink: none; -} - -address { - margin-bottom: 1rem; - font-style: normal; - line-height: inherit; -} - -ol, -ul { - padding-left: 2rem; -} - -ol, -ul, -dl { - margin-top: 0; - margin-bottom: 1rem; -} - -ol ol, -ul ul, -ol ul, -ul ol { - margin-bottom: 0; -} - -dt { - font-weight: 700; -} - -dd { - margin-bottom: 0.5rem; - margin-left: 0; -} - -blockquote { - margin: 0 0 1rem; -} - -b, -strong { - font-weight: bolder; -} - -small, -.small { - font-size: 0.875em; -} - -mark, -.mark { - padding: 0.2em; - background-color: #fcf8e3; -} - -sub, -sup { - position: relative; - font-size: 0.75em; - line-height: 0; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -a { - color: #0d6efd; - text-decoration: underline; -} - -a:hover { - color: #0a58ca; -} - -a:not([href]):not([class]), -a:not([href]):not([class]):hover { - color: inherit; - text-decoration: none; -} - -pre, -code, -kbd, -samp { - font-family: var(--bs-font-monospace); - font-size: 1em; - direction: ltr - /* rtl:ignore */ - ; - unicode-bidi: bidi-override; -} - -pre { - display: block; - margin-top: 0; - margin-bottom: 1rem; - overflow: auto; - font-size: 0.875em; -} - -pre code { - font-size: inherit; - color: inherit; - word-break: normal; -} - -code { - font-size: 0.875em; - color: #d63384; - word-wrap: break-word; -} - -a>code { - color: inherit; -} - -kbd { - padding: 0.2rem 0.4rem; - font-size: 0.875em; - color: #fff; - background-color: #212529; - border-radius: 0.2rem; -} - -kbd kbd { - padding: 0; - font-size: 1em; - font-weight: 700; -} - -figure { - margin: 0 0 1rem; -} - -img, -svg { - vertical-align: middle; -} - -table { - caption-side: bottom; - border-collapse: collapse; -} - -caption { - padding-top: 0.5rem; - padding-bottom: 0.5rem; - color: #6c757d; - text-align: left; -} - -th { - text-align: inherit; - text-align: -webkit-match-parent; -} - -thead, -tbody, -tfoot, -tr, -td, -th { - border-color: inherit; - border-style: solid; - border-width: 0; -} - -label { - display: inline-block; -} - -button { - border-radius: 0; -} - -button:focus:not(:focus-visible) { - outline: 0; -} - -input, -button, -select, -optgroup, -textarea { - margin: 0; - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -button, -select { - text-transform: none; -} - -[role=button] { - cursor: pointer; -} - -select { - word-wrap: normal; -} - -select:disabled { - opacity: 1; -} - -[list]::-webkit-calendar-picker-indicator { - display: none; -} - -button, -[type=button], -[type=reset], -[type=submit] { - -webkit-appearance: button; -} - -button:not(:disabled), -[type=button]:not(:disabled), -[type=reset]:not(:disabled), -[type=submit]:not(:disabled) { - cursor: pointer; -} - -::-moz-focus-inner { - padding: 0; - border-style: none; -} - -textarea { - resize: vertical; -} - -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} - -legend { - float: left; - width: 100%; - padding: 0; - margin-bottom: 0.5rem; - font-size: calc(1.275rem + 0.3vw); - line-height: inherit; -} - -@media (min-width: 1200px) { - legend { - font-size: 1.5rem; - } -} - -legend+* { - clear: left; -} - -::-webkit-datetime-edit-fields-wrapper, -::-webkit-datetime-edit-text, -::-webkit-datetime-edit-minute, -::-webkit-datetime-edit-hour-field, -::-webkit-datetime-edit-day-field, -::-webkit-datetime-edit-month-field, -::-webkit-datetime-edit-year-field { - padding: 0; -} - -::-webkit-inner-spin-button { - height: auto; -} - -[type=search] { - outline-offset: -2px; - -webkit-appearance: textfield; -} - -/* rtl:raw: -[type="tel"], -[type="url"], -[type="email"], -[type="number"] { - direction: ltr; -} -*/ -::-webkit-search-decoration { - -webkit-appearance: none; -} - -::-webkit-color-swatch-wrapper { - padding: 0; -} - -::-webkit-file-upload-button { - font: inherit; -} - -::file-selector-button { - font: inherit; -} - -::-webkit-file-upload-button { - font: inherit; - -webkit-appearance: button; -} - -output { - display: inline-block; -} - -iframe { - border: 0; -} - -summary { - display: list-item; - cursor: pointer; -} - -progress { - vertical-align: baseline; -} - -[hidden] { - display: none !important; -} - -.lead { - font-size: 1.25rem; - font-weight: 300; -} - -.display-1 { - font-size: calc(1.625rem + 4.5vw); - font-weight: 300; - line-height: 1.2; -} - -@media (min-width: 1200px) { - .display-1 { - font-size: 5rem; - } -} - -.display-2 { - font-size: calc(1.575rem + 3.9vw); - font-weight: 300; - line-height: 1.2; -} - -@media (min-width: 1200px) { - .display-2 { - font-size: 4.5rem; - } -} - -.display-3 { - font-size: calc(1.525rem + 3.3vw); - font-weight: 300; - line-height: 1.2; -} - -@media (min-width: 1200px) { - .display-3 { - font-size: 4rem; - } -} - -.display-4 { - font-size: calc(1.475rem + 2.7vw); - font-weight: 300; - line-height: 1.2; -} - -@media (min-width: 1200px) { - .display-4 { - font-size: 3.5rem; - } -} - -.display-5 { - font-size: calc(1.425rem + 2.1vw); - font-weight: 300; - line-height: 1.2; -} - -@media (min-width: 1200px) { - .display-5 { - font-size: 3rem; - } -} - -.display-6 { - font-size: calc(1.375rem + 1.5vw); - font-weight: 300; - line-height: 1.2; -} - -@media (min-width: 1200px) { - .display-6 { - font-size: 2.5rem; - } -} - -.list-unstyled { - padding-left: 0; - list-style: none; -} - -.list-inline { - padding-left: 0; - list-style: none; -} - -.list-inline-item { - display: inline-block; -} - -.list-inline-item:not(:last-child) { - margin-right: 0.5rem; -} - -.initialism { - font-size: 0.875em; - text-transform: uppercase; -} - -.blockquote { - margin-bottom: 1rem; - font-size: 1.25rem; -} - -.blockquote> :last-child { - margin-bottom: 0; -} - -.blockquote-footer { - margin-top: -1rem; - margin-bottom: 1rem; - font-size: 0.875em; - color: #6c757d; -} - -.blockquote-footer::before { - content: "— "; -} - -.img-fluid { - max-width: 100%; - height: auto; -} - -.img-thumbnail { - padding: 0.25rem; - background-color: #fff; - border: 1px solid #dee2e6; - border-radius: 0.25rem; - max-width: 100%; - height: auto; -} - -.figure { - display: inline-block; -} - -.figure-img { - margin-bottom: 0.5rem; - line-height: 1; -} - -.figure-caption { - font-size: 0.875em; - color: #6c757d; -} - -.container, -.container-fluid, -.container-xxl, -.container-xl, -.container-lg, -.container-md, -.container-sm { - width: 100%; - padding-right: var(--bs-gutter-x, 0.75rem); - padding-left: var(--bs-gutter-x, 0.75rem); - margin-right: auto; - margin-left: auto; -} - -@media (min-width: 576px) { - - .container-sm, - .container { - max-width: 540px; - } -} - -@media (min-width: 768px) { - - .container-md, - .container-sm, - .container { - max-width: 720px; - } -} - -@media (min-width: 992px) { - - .container-lg, - .container-md, - .container-sm, - .container { - max-width: 960px; - } -} - -@media (min-width: 1200px) { - - .container-xl, - .container-lg, - .container-md, - .container-sm, - .container { - max-width: 1140px; - } -} - -@media (min-width: 1400px) { - - .container-xxl, - .container-xl, - .container-lg, - .container-md, - .container-sm, - .container { - max-width: 1320px; - } -} - -.row { - --bs-gutter-x: 1.5rem; - --bs-gutter-y: 0; - display: flex; - flex-wrap: wrap; - margin-top: calc(-1 * var(--bs-gutter-y)); - margin-right: calc(-0.5 * var(--bs-gutter-x)); - margin-left: calc(-0.5 * var(--bs-gutter-x)); -} - -.row>* { - flex-shrink: 0; - width: 100%; - max-width: 100%; - padding-right: calc(var(--bs-gutter-x) * 0.5); - padding-left: calc(var(--bs-gutter-x) * 0.5); - margin-top: var(--bs-gutter-y); -} - -.col { - flex: 1 0 0%; -} - -.row-cols-auto>* { - flex: 0 0 auto; - width: auto; -} - -.row-cols-1>* { - flex: 0 0 auto; - width: 100%; -} - -.row-cols-2>* { - flex: 0 0 auto; - width: 50%; -} - -.row-cols-3>* { - flex: 0 0 auto; - width: 33.3333333333%; -} - -.row-cols-4>* { - flex: 0 0 auto; - width: 25%; -} - -.row-cols-5>* { - flex: 0 0 auto; - width: 20%; -} - -.row-cols-6>* { - flex: 0 0 auto; - width: 16.6666666667%; -} - -.col-auto { - flex: 0 0 auto; - width: auto; -} - -.col-1 { - flex: 0 0 auto; - width: 8.33333333%; -} - -.col-2 { - flex: 0 0 auto; - width: 16.66666667%; -} - -.col-3 { - flex: 0 0 auto; - width: 25%; -} - -.col-4 { - flex: 0 0 auto; - width: 33.33333333%; -} - -.col-5 { - flex: 0 0 auto; - width: 41.66666667%; -} - -.col-6 { - flex: 0 0 auto; - width: 50%; -} - -.col-7 { - flex: 0 0 auto; - width: 58.33333333%; -} - -.col-8 { - flex: 0 0 auto; - width: 66.66666667%; -} - -.col-9 { - flex: 0 0 auto; - width: 75%; -} - -.col-10 { - flex: 0 0 auto; - width: 83.33333333%; -} - -.col-11 { - flex: 0 0 auto; - width: 91.66666667%; -} - -.col-12 { - flex: 0 0 auto; - width: 100%; -} - -.offset-1 { - margin-left: 8.33333333%; -} - -.offset-2 { - margin-left: 16.66666667%; -} - -.offset-3 { - margin-left: 25%; -} - -.offset-4 { - margin-left: 33.33333333%; -} - -.offset-5 { - margin-left: 41.66666667%; -} - -.offset-6 { - margin-left: 50%; -} - -.offset-7 { - margin-left: 58.33333333%; -} - -.offset-8 { - margin-left: 66.66666667%; -} - -.offset-9 { - margin-left: 75%; -} - -.offset-10 { - margin-left: 83.33333333%; -} - -.offset-11 { - margin-left: 91.66666667%; -} - -.g-0, -.gx-0 { - --bs-gutter-x: 0; -} - -.g-0, -.gy-0 { - --bs-gutter-y: 0; -} - -.g-1, -.gx-1 { - --bs-gutter-x: 0.25rem; -} - -.g-1, -.gy-1 { - --bs-gutter-y: 0.25rem; -} - -.g-2, -.gx-2 { - --bs-gutter-x: 0.5rem; -} - -.g-2, -.gy-2 { - --bs-gutter-y: 0.5rem; -} - -.g-3, -.gx-3 { - --bs-gutter-x: 1rem; -} - -.g-3, -.gy-3 { - --bs-gutter-y: 1rem; -} - -.g-4, -.gx-4 { - --bs-gutter-x: 1.5rem; -} - -.g-4, -.gy-4 { - --bs-gutter-y: 1.5rem; -} - -.g-5, -.gx-5 { - --bs-gutter-x: 3rem; -} - -.g-5, -.gy-5 { - --bs-gutter-y: 3rem; -} - -@media (min-width: 576px) { - .col-sm { - flex: 1 0 0%; - } - - .row-cols-sm-auto>* { - flex: 0 0 auto; - width: auto; - } - - .row-cols-sm-1>* { - flex: 0 0 auto; - width: 100%; - } - - .row-cols-sm-2>* { - flex: 0 0 auto; - width: 50%; - } - - .row-cols-sm-3>* { - flex: 0 0 auto; - width: 33.3333333333%; - } - - .row-cols-sm-4>* { - flex: 0 0 auto; - width: 25%; - } - - .row-cols-sm-5>* { - flex: 0 0 auto; - width: 20%; - } - - .row-cols-sm-6>* { - flex: 0 0 auto; - width: 16.6666666667%; - } - - .col-sm-auto { - flex: 0 0 auto; - width: auto; - } - - .col-sm-1 { - flex: 0 0 auto; - width: 8.33333333%; - } - - .col-sm-2 { - flex: 0 0 auto; - width: 16.66666667%; - } - - .col-sm-3 { - flex: 0 0 auto; - width: 25%; - } - - .col-sm-4 { - flex: 0 0 auto; - width: 33.33333333%; - } - - .col-sm-5 { - flex: 0 0 auto; - width: 41.66666667%; - } - - .col-sm-6 { - flex: 0 0 auto; - width: 50%; - } - - .col-sm-7 { - flex: 0 0 auto; - width: 58.33333333%; - } - - .col-sm-8 { - flex: 0 0 auto; - width: 66.66666667%; - } - - .col-sm-9 { - flex: 0 0 auto; - width: 75%; - } - - .col-sm-10 { - flex: 0 0 auto; - width: 83.33333333%; - } - - .col-sm-11 { - flex: 0 0 auto; - width: 91.66666667%; - } - - .col-sm-12 { - flex: 0 0 auto; - width: 100%; - } - - .offset-sm-0 { - margin-left: 0; - } - - .offset-sm-1 { - margin-left: 8.33333333%; - } - - .offset-sm-2 { - margin-left: 16.66666667%; - } - - .offset-sm-3 { - margin-left: 25%; - } - - .offset-sm-4 { - margin-left: 33.33333333%; - } - - .offset-sm-5 { - margin-left: 41.66666667%; - } - - .offset-sm-6 { - margin-left: 50%; - } - - .offset-sm-7 { - margin-left: 58.33333333%; - } - - .offset-sm-8 { - margin-left: 66.66666667%; - } - - .offset-sm-9 { - margin-left: 75%; - } - - .offset-sm-10 { - margin-left: 83.33333333%; - } - - .offset-sm-11 { - margin-left: 91.66666667%; - } - - .g-sm-0, - .gx-sm-0 { - --bs-gutter-x: 0; - } - - .g-sm-0, - .gy-sm-0 { - --bs-gutter-y: 0; - } - - .g-sm-1, - .gx-sm-1 { - --bs-gutter-x: 0.25rem; - } - - .g-sm-1, - .gy-sm-1 { - --bs-gutter-y: 0.25rem; - } - - .g-sm-2, - .gx-sm-2 { - --bs-gutter-x: 0.5rem; - } - - .g-sm-2, - .gy-sm-2 { - --bs-gutter-y: 0.5rem; - } - - .g-sm-3, - .gx-sm-3 { - --bs-gutter-x: 1rem; - } - - .g-sm-3, - .gy-sm-3 { - --bs-gutter-y: 1rem; - } - - .g-sm-4, - .gx-sm-4 { - --bs-gutter-x: 1.5rem; - } - - .g-sm-4, - .gy-sm-4 { - --bs-gutter-y: 1.5rem; - } - - .g-sm-5, - .gx-sm-5 { - --bs-gutter-x: 3rem; - } - - .g-sm-5, - .gy-sm-5 { - --bs-gutter-y: 3rem; - } -} - -@media (min-width: 768px) { - .col-md { - flex: 1 0 0%; - } - - .row-cols-md-auto>* { - flex: 0 0 auto; - width: auto; - } - - .row-cols-md-1>* { - flex: 0 0 auto; - width: 100%; - } - - .row-cols-md-2>* { - flex: 0 0 auto; - width: 50%; - } - - .row-cols-md-3>* { - flex: 0 0 auto; - width: 33.3333333333%; - } - - .row-cols-md-4>* { - flex: 0 0 auto; - width: 25%; - } - - .row-cols-md-5>* { - flex: 0 0 auto; - width: 20%; - } - - .row-cols-md-6>* { - flex: 0 0 auto; - width: 16.6666666667%; - } - - .col-md-auto { - flex: 0 0 auto; - width: auto; - } - - .col-md-1 { - flex: 0 0 auto; - width: 8.33333333%; - } - - .col-md-2 { - flex: 0 0 auto; - width: 16.66666667%; - } - - .col-md-3 { - flex: 0 0 auto; - width: 25%; - } - - .col-md-4 { - flex: 0 0 auto; - width: 33.33333333%; - } - - .col-md-5 { - flex: 0 0 auto; - width: 41.66666667%; - } - - .col-md-6 { - flex: 0 0 auto; - width: 50%; - } - - .col-md-7 { - flex: 0 0 auto; - width: 58.33333333%; - } - - .col-md-8 { - flex: 0 0 auto; - width: 66.66666667%; - } - - .col-md-9 { - flex: 0 0 auto; - width: 75%; - } - - .col-md-10 { - flex: 0 0 auto; - width: 83.33333333%; - } - - .col-md-11 { - flex: 0 0 auto; - width: 91.66666667%; - } - - .col-md-12 { - flex: 0 0 auto; - width: 100%; - } - - .offset-md-0 { - margin-left: 0; - } - - .offset-md-1 { - margin-left: 8.33333333%; - } - - .offset-md-2 { - margin-left: 16.66666667%; - } - - .offset-md-3 { - margin-left: 25%; - } - - .offset-md-4 { - margin-left: 33.33333333%; - } - - .offset-md-5 { - margin-left: 41.66666667%; - } - - .offset-md-6 { - margin-left: 50%; - } - - .offset-md-7 { - margin-left: 58.33333333%; - } - - .offset-md-8 { - margin-left: 66.66666667%; - } - - .offset-md-9 { - margin-left: 75%; - } - - .offset-md-10 { - margin-left: 83.33333333%; - } - - .offset-md-11 { - margin-left: 91.66666667%; - } - - .g-md-0, - .gx-md-0 { - --bs-gutter-x: 0; - } - - .g-md-0, - .gy-md-0 { - --bs-gutter-y: 0; - } - - .g-md-1, - .gx-md-1 { - --bs-gutter-x: 0.25rem; - } - - .g-md-1, - .gy-md-1 { - --bs-gutter-y: 0.25rem; - } - - .g-md-2, - .gx-md-2 { - --bs-gutter-x: 0.5rem; - } - - .g-md-2, - .gy-md-2 { - --bs-gutter-y: 0.5rem; - } - - .g-md-3, - .gx-md-3 { - --bs-gutter-x: 1rem; - } - - .g-md-3, - .gy-md-3 { - --bs-gutter-y: 1rem; - } - - .g-md-4, - .gx-md-4 { - --bs-gutter-x: 1.5rem; - } - - .g-md-4, - .gy-md-4 { - --bs-gutter-y: 1.5rem; - } - - .g-md-5, - .gx-md-5 { - --bs-gutter-x: 3rem; - } - - .g-md-5, - .gy-md-5 { - --bs-gutter-y: 3rem; - } -} - -@media (min-width: 992px) { - .col-lg { - flex: 1 0 0%; - } - - .row-cols-lg-auto>* { - flex: 0 0 auto; - width: auto; - } - - .row-cols-lg-1>* { - flex: 0 0 auto; - width: 100%; - } - - .row-cols-lg-2>* { - flex: 0 0 auto; - width: 50%; - } - - .row-cols-lg-3>* { - flex: 0 0 auto; - width: 33.3333333333%; - } - - .row-cols-lg-4>* { - flex: 0 0 auto; - width: 25%; - } - - .row-cols-lg-5>* { - flex: 0 0 auto; - width: 20%; - } - - .row-cols-lg-6>* { - flex: 0 0 auto; - width: 16.6666666667%; - } - - .col-lg-auto { - flex: 0 0 auto; - width: auto; - } - - .col-lg-1 { - flex: 0 0 auto; - width: 8.33333333%; - } - - .col-lg-2 { - flex: 0 0 auto; - width: 16.66666667%; - } - - .col-lg-3 { - flex: 0 0 auto; - width: 25%; - } - - .col-lg-4 { - flex: 0 0 auto; - width: 33.33333333%; - } - - .col-lg-5 { - flex: 0 0 auto; - width: 41.66666667%; - } - - .col-lg-6 { - flex: 0 0 auto; - width: 50%; - } - - .col-lg-7 { - flex: 0 0 auto; - width: 58.33333333%; - } - - .col-lg-8 { - flex: 0 0 auto; - width: 66.66666667%; - } - - .col-lg-9 { - flex: 0 0 auto; - width: 75%; - } - - .col-lg-10 { - flex: 0 0 auto; - width: 83.33333333%; - } - - .col-lg-11 { - flex: 0 0 auto; - width: 91.66666667%; - } - - .col-lg-12 { - flex: 0 0 auto; - width: 100%; - } - - .offset-lg-0 { - margin-left: 0; - } - - .offset-lg-1 { - margin-left: 8.33333333%; - } - - .offset-lg-2 { - margin-left: 16.66666667%; - } - - .offset-lg-3 { - margin-left: 25%; - } - - .offset-lg-4 { - margin-left: 33.33333333%; - } - - .offset-lg-5 { - margin-left: 41.66666667%; - } - - .offset-lg-6 { - margin-left: 50%; - } - - .offset-lg-7 { - margin-left: 58.33333333%; - } - - .offset-lg-8 { - margin-left: 66.66666667%; - } - - .offset-lg-9 { - margin-left: 75%; - } - - .offset-lg-10 { - margin-left: 83.33333333%; - } - - .offset-lg-11 { - margin-left: 91.66666667%; - } - - .g-lg-0, - .gx-lg-0 { - --bs-gutter-x: 0; - } - - .g-lg-0, - .gy-lg-0 { - --bs-gutter-y: 0; - } - - .g-lg-1, - .gx-lg-1 { - --bs-gutter-x: 0.25rem; - } - - .g-lg-1, - .gy-lg-1 { - --bs-gutter-y: 0.25rem; - } - - .g-lg-2, - .gx-lg-2 { - --bs-gutter-x: 0.5rem; - } - - .g-lg-2, - .gy-lg-2 { - --bs-gutter-y: 0.5rem; - } - - .g-lg-3, - .gx-lg-3 { - --bs-gutter-x: 1rem; - } - - .g-lg-3, - .gy-lg-3 { - --bs-gutter-y: 1rem; - } - - .g-lg-4, - .gx-lg-4 { - --bs-gutter-x: 1.5rem; - } - - .g-lg-4, - .gy-lg-4 { - --bs-gutter-y: 1.5rem; - } - - .g-lg-5, - .gx-lg-5 { - --bs-gutter-x: 3rem; - } - - .g-lg-5, - .gy-lg-5 { - --bs-gutter-y: 3rem; - } -} - -@media (min-width: 1200px) { - .col-xl { - flex: 1 0 0%; - } - - .row-cols-xl-auto>* { - flex: 0 0 auto; - width: auto; - } - - .row-cols-xl-1>* { - flex: 0 0 auto; - width: 100%; - } - - .row-cols-xl-2>* { - flex: 0 0 auto; - width: 50%; - } - - .row-cols-xl-3>* { - flex: 0 0 auto; - width: 33.3333333333%; - } - - .row-cols-xl-4>* { - flex: 0 0 auto; - width: 25%; - } - - .row-cols-xl-5>* { - flex: 0 0 auto; - width: 20%; - } - - .row-cols-xl-6>* { - flex: 0 0 auto; - width: 16.6666666667%; - } - - .col-xl-auto { - flex: 0 0 auto; - width: auto; - } - - .col-xl-1 { - flex: 0 0 auto; - width: 8.33333333%; - } - - .col-xl-2 { - flex: 0 0 auto; - width: 16.66666667%; - } - - .col-xl-3 { - flex: 0 0 auto; - width: 25%; - } - - .col-xl-4 { - flex: 0 0 auto; - width: 33.33333333%; - } - - .col-xl-5 { - flex: 0 0 auto; - width: 41.66666667%; - } - - .col-xl-6 { - flex: 0 0 auto; - width: 50%; - } - - .col-xl-7 { - flex: 0 0 auto; - width: 58.33333333%; - } - - .col-xl-8 { - flex: 0 0 auto; - width: 66.66666667%; - } - - .col-xl-9 { - flex: 0 0 auto; - width: 75%; - } - - .col-xl-10 { - flex: 0 0 auto; - width: 83.33333333%; - } - - .col-xl-11 { - flex: 0 0 auto; - width: 91.66666667%; - } - - .col-xl-12 { - flex: 0 0 auto; - width: 100%; - } - - .offset-xl-0 { - margin-left: 0; - } - - .offset-xl-1 { - margin-left: 8.33333333%; - } - - .offset-xl-2 { - margin-left: 16.66666667%; - } - - .offset-xl-3 { - margin-left: 25%; - } - - .offset-xl-4 { - margin-left: 33.33333333%; - } - - .offset-xl-5 { - margin-left: 41.66666667%; - } - - .offset-xl-6 { - margin-left: 50%; - } - - .offset-xl-7 { - margin-left: 58.33333333%; - } - - .offset-xl-8 { - margin-left: 66.66666667%; - } - - .offset-xl-9 { - margin-left: 75%; - } - - .offset-xl-10 { - margin-left: 83.33333333%; - } - - .offset-xl-11 { - margin-left: 91.66666667%; - } - - .g-xl-0, - .gx-xl-0 { - --bs-gutter-x: 0; - } - - .g-xl-0, - .gy-xl-0 { - --bs-gutter-y: 0; - } - - .g-xl-1, - .gx-xl-1 { - --bs-gutter-x: 0.25rem; - } - - .g-xl-1, - .gy-xl-1 { - --bs-gutter-y: 0.25rem; - } - - .g-xl-2, - .gx-xl-2 { - --bs-gutter-x: 0.5rem; - } - - .g-xl-2, - .gy-xl-2 { - --bs-gutter-y: 0.5rem; - } - - .g-xl-3, - .gx-xl-3 { - --bs-gutter-x: 1rem; - } - - .g-xl-3, - .gy-xl-3 { - --bs-gutter-y: 1rem; - } - - .g-xl-4, - .gx-xl-4 { - --bs-gutter-x: 1.5rem; - } - - .g-xl-4, - .gy-xl-4 { - --bs-gutter-y: 1.5rem; - } - - .g-xl-5, - .gx-xl-5 { - --bs-gutter-x: 3rem; - } - - .g-xl-5, - .gy-xl-5 { - --bs-gutter-y: 3rem; - } -} - -@media (min-width: 1400px) { - .col-xxl { - flex: 1 0 0%; - } - - .row-cols-xxl-auto>* { - flex: 0 0 auto; - width: auto; - } - - .row-cols-xxl-1>* { - flex: 0 0 auto; - width: 100%; - } - - .row-cols-xxl-2>* { - flex: 0 0 auto; - width: 50%; - } - - .row-cols-xxl-3>* { - flex: 0 0 auto; - width: 33.3333333333%; - } - - .row-cols-xxl-4>* { - flex: 0 0 auto; - width: 25%; - } - - .row-cols-xxl-5>* { - flex: 0 0 auto; - width: 20%; - } - - .row-cols-xxl-6>* { - flex: 0 0 auto; - width: 16.6666666667%; - } - - .col-xxl-auto { - flex: 0 0 auto; - width: auto; - } - - .col-xxl-1 { - flex: 0 0 auto; - width: 8.33333333%; - } - - .col-xxl-2 { - flex: 0 0 auto; - width: 16.66666667%; - } - - .col-xxl-3 { - flex: 0 0 auto; - width: 25%; - } - - .col-xxl-4 { - flex: 0 0 auto; - width: 33.33333333%; - } - - .col-xxl-5 { - flex: 0 0 auto; - width: 41.66666667%; - } - - .col-xxl-6 { - flex: 0 0 auto; - width: 50%; - } - - .col-xxl-7 { - flex: 0 0 auto; - width: 58.33333333%; - } - - .col-xxl-8 { - flex: 0 0 auto; - width: 66.66666667%; - } - - .col-xxl-9 { - flex: 0 0 auto; - width: 75%; - } - - .col-xxl-10 { - flex: 0 0 auto; - width: 83.33333333%; - } - - .col-xxl-11 { - flex: 0 0 auto; - width: 91.66666667%; - } - - .col-xxl-12 { - flex: 0 0 auto; - width: 100%; - } - - .offset-xxl-0 { - margin-left: 0; - } - - .offset-xxl-1 { - margin-left: 8.33333333%; - } - - .offset-xxl-2 { - margin-left: 16.66666667%; - } - - .offset-xxl-3 { - margin-left: 25%; - } - - .offset-xxl-4 { - margin-left: 33.33333333%; - } - - .offset-xxl-5 { - margin-left: 41.66666667%; - } - - .offset-xxl-6 { - margin-left: 50%; - } - - .offset-xxl-7 { - margin-left: 58.33333333%; - } - - .offset-xxl-8 { - margin-left: 66.66666667%; - } - - .offset-xxl-9 { - margin-left: 75%; - } - - .offset-xxl-10 { - margin-left: 83.33333333%; - } - - .offset-xxl-11 { - margin-left: 91.66666667%; - } - - .g-xxl-0, - .gx-xxl-0 { - --bs-gutter-x: 0; - } - - .g-xxl-0, - .gy-xxl-0 { - --bs-gutter-y: 0; - } - - .g-xxl-1, - .gx-xxl-1 { - --bs-gutter-x: 0.25rem; - } - - .g-xxl-1, - .gy-xxl-1 { - --bs-gutter-y: 0.25rem; - } - - .g-xxl-2, - .gx-xxl-2 { - --bs-gutter-x: 0.5rem; - } - - .g-xxl-2, - .gy-xxl-2 { - --bs-gutter-y: 0.5rem; - } - - .g-xxl-3, - .gx-xxl-3 { - --bs-gutter-x: 1rem; - } - - .g-xxl-3, - .gy-xxl-3 { - --bs-gutter-y: 1rem; - } - - .g-xxl-4, - .gx-xxl-4 { - --bs-gutter-x: 1.5rem; - } - - .g-xxl-4, - .gy-xxl-4 { - --bs-gutter-y: 1.5rem; - } - - .g-xxl-5, - .gx-xxl-5 { - --bs-gutter-x: 3rem; - } - - .g-xxl-5, - .gy-xxl-5 { - --bs-gutter-y: 3rem; - } -} - -.table { - --bs-table-bg: transparent; - --bs-table-accent-bg: transparent; - --bs-table-striped-color: #212529; - --bs-table-striped-bg: rgba(0, 0, 0, 0.05); - --bs-table-active-color: #212529; - --bs-table-active-bg: rgba(0, 0, 0, 0.1); - --bs-table-hover-color: #212529; - --bs-table-hover-bg: rgba(0, 0, 0, 0.075); - width: 100%; - margin-bottom: 1rem; - color: #212529; - vertical-align: top; - border-color: #dee2e6; -} - -.table> :not(caption)>*>* { - padding: 0.5rem 0.5rem; - background-color: var(--bs-table-bg); - border-bottom-width: 1px; - box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); -} - -.table>tbody { - vertical-align: inherit; -} - -.table>thead { - vertical-align: bottom; -} - -.table> :not(:first-child) { - border-top: 2px solid currentColor; -} - -.caption-top { - caption-side: top; -} - -.table-sm> :not(caption)>*>* { - padding: 0.25rem 0.25rem; -} - -.table-bordered> :not(caption)>* { - border-width: 1px 0; -} - -.table-bordered> :not(caption)>*>* { - border-width: 0 1px; -} - -.table-borderless> :not(caption)>*>* { - border-bottom-width: 0; -} - -.table-borderless> :not(:first-child) { - border-top-width: 0; -} - -.table-striped>tbody>tr:nth-of-type(odd)>* { - --bs-table-accent-bg: var(--bs-table-striped-bg); - color: var(--bs-table-striped-color); -} - -.table-active { - --bs-table-accent-bg: var(--bs-table-active-bg); - color: var(--bs-table-active-color); -} - -.table-hover>tbody>tr:hover>* { - --bs-table-accent-bg: var(--bs-table-hover-bg); - color: var(--bs-table-hover-color); -} - -.table-primary { - --bs-table-bg: #cfe2ff; - --bs-table-striped-bg: #c5d7f2; - --bs-table-striped-color: #000; - --bs-table-active-bg: #bacbe6; - --bs-table-active-color: #000; - --bs-table-hover-bg: #bfd1ec; - --bs-table-hover-color: #000; - color: #000; - border-color: #bacbe6; -} - -.table-secondary { - --bs-table-bg: #e2e3e5; - --bs-table-striped-bg: #d7d8da; - --bs-table-striped-color: #000; - --bs-table-active-bg: #cbccce; - --bs-table-active-color: #000; - --bs-table-hover-bg: #d1d2d4; - --bs-table-hover-color: #000; - color: #000; - border-color: #cbccce; -} - -.table-success { - --bs-table-bg: #d1e7dd; - --bs-table-striped-bg: #c7dbd2; - --bs-table-striped-color: #000; - --bs-table-active-bg: #bcd0c7; - --bs-table-active-color: #000; - --bs-table-hover-bg: #c1d6cc; - --bs-table-hover-color: #000; - color: #000; - border-color: #bcd0c7; -} - -.table-info { - --bs-table-bg: #cff4fc; - --bs-table-striped-bg: #c5e8ef; - --bs-table-striped-color: #000; - --bs-table-active-bg: #badce3; - --bs-table-active-color: #000; - --bs-table-hover-bg: #bfe2e9; - --bs-table-hover-color: #000; - color: #000; - border-color: #badce3; -} - -.table-warning { - --bs-table-bg: #fff3cd; - --bs-table-striped-bg: #f2e7c3; - --bs-table-striped-color: #000; - --bs-table-active-bg: #e6dbb9; - --bs-table-active-color: #000; - --bs-table-hover-bg: #ece1be; - --bs-table-hover-color: #000; - color: #000; - border-color: #e6dbb9; -} - -.table-danger { - --bs-table-bg: #f8d7da; - --bs-table-striped-bg: #eccccf; - --bs-table-striped-color: #000; - --bs-table-active-bg: #dfc2c4; - --bs-table-active-color: #000; - --bs-table-hover-bg: #e5c7ca; - --bs-table-hover-color: #000; - color: #000; - border-color: #dfc2c4; -} - -.table-light { - --bs-table-bg: #f8f9fa; - --bs-table-striped-bg: #ecedee; - --bs-table-striped-color: #000; - --bs-table-active-bg: #dfe0e1; - --bs-table-active-color: #000; - --bs-table-hover-bg: #e5e6e7; - --bs-table-hover-color: #000; - color: #000; - border-color: #dfe0e1; -} - -.table-dark { - --bs-table-bg: #212529; - --bs-table-striped-bg: #2c3034; - --bs-table-striped-color: #fff; - --bs-table-active-bg: #373b3e; - --bs-table-active-color: #fff; - --bs-table-hover-bg: #323539; - --bs-table-hover-color: #fff; - color: #fff; - border-color: #373b3e; -} - -.table-responsive { - overflow-x: auto; - -webkit-overflow-scrolling: touch; -} - -@media (max-width: 575.98px) { - .table-responsive-sm { - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } -} - -@media (max-width: 767.98px) { - .table-responsive-md { - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } -} - -@media (max-width: 991.98px) { - .table-responsive-lg { - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } -} - -@media (max-width: 1199.98px) { - .table-responsive-xl { - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } -} - -@media (max-width: 1399.98px) { - .table-responsive-xxl { - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } -} - -.form-label { - margin-bottom: 0.5rem; -} - -.col-form-label { - padding-top: calc(0.375rem + 1px); - padding-bottom: calc(0.375rem + 1px); - margin-bottom: 0; - font-size: inherit; - line-height: 1.5; -} - -.col-form-label-lg { - padding-top: calc(0.5rem + 1px); - padding-bottom: calc(0.5rem + 1px); - font-size: 1.25rem; -} - -.col-form-label-sm { - padding-top: calc(0.25rem + 1px); - padding-bottom: calc(0.25rem + 1px); - font-size: 0.875rem; -} - -.form-text { - margin-top: 0.25rem; - font-size: 0.875em; - color: #6c757d; -} - -.form-control { - display: block; - width: 100%; - padding: 0.375rem 0.75rem; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #212529; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ced4da; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border-radius: 0.25rem; - transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .form-control { - transition: none; - } -} - -.form-control[type=file] { - overflow: hidden; -} - -.form-control[type=file]:not(:disabled):not([readonly]) { - cursor: pointer; -} - -.form-control:focus { - color: #212529; - background-color: #fff; - border-color: #86b7fe; - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.form-control::-webkit-date-and-time-value { - height: 1.5em; -} - -.form-control::-moz-placeholder { - color: #6c757d; - opacity: 1; -} - -.form-control::placeholder { - color: #6c757d; - opacity: 1; -} - -.form-control:disabled, -.form-control[readonly] { - background-color: #e9ecef; - opacity: 1; -} - -.form-control::-webkit-file-upload-button { - padding: 0.375rem 0.75rem; - margin: -0.375rem -0.75rem; - -webkit-margin-end: 0.75rem; - margin-inline-end: 0.75rem; - color: #212529; - background-color: #e9ecef; - pointer-events: none; - border-color: inherit; - border-style: solid; - border-width: 0; - border-inline-end-width: 1px; - border-radius: 0; - -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} - -.form-control::file-selector-button { - padding: 0.375rem 0.75rem; - margin: -0.375rem -0.75rem; - -webkit-margin-end: 0.75rem; - margin-inline-end: 0.75rem; - color: #212529; - background-color: #e9ecef; - pointer-events: none; - border-color: inherit; - border-style: solid; - border-width: 0; - border-inline-end-width: 1px; - border-radius: 0; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .form-control::-webkit-file-upload-button { - -webkit-transition: none; - transition: none; - } - - .form-control::file-selector-button { - transition: none; - } -} - -.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button { - background-color: #dde0e3; -} - -.form-control:hover:not(:disabled):not([readonly])::file-selector-button { - background-color: #dde0e3; -} - -.form-control::-webkit-file-upload-button { - padding: 0.375rem 0.75rem; - margin: -0.375rem -0.75rem; - -webkit-margin-end: 0.75rem; - margin-inline-end: 0.75rem; - color: #212529; - background-color: #e9ecef; - pointer-events: none; - border-color: inherit; - border-style: solid; - border-width: 0; - border-inline-end-width: 1px; - border-radius: 0; - -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .form-control::-webkit-file-upload-button { - -webkit-transition: none; - transition: none; - } -} - -.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button { - background-color: #dde0e3; -} - -.form-control-plaintext { - display: block; - width: 100%; - padding: 0.375rem 0; - margin-bottom: 0; - line-height: 1.5; - color: #212529; - background-color: transparent; - border: solid transparent; - border-width: 1px 0; -} - -.form-control-plaintext.form-control-sm, -.form-control-plaintext.form-control-lg { - padding-right: 0; - padding-left: 0; -} - -.form-control-sm { - min-height: calc(1.5em + 0.5rem + 2px); - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - border-radius: 0.2rem; -} - -.form-control-sm::-webkit-file-upload-button { - padding: 0.25rem 0.5rem; - margin: -0.25rem -0.5rem; - -webkit-margin-end: 0.5rem; - margin-inline-end: 0.5rem; -} - -.form-control-sm::file-selector-button { - padding: 0.25rem 0.5rem; - margin: -0.25rem -0.5rem; - -webkit-margin-end: 0.5rem; - margin-inline-end: 0.5rem; -} - -.form-control-sm::-webkit-file-upload-button { - padding: 0.25rem 0.5rem; - margin: -0.25rem -0.5rem; - -webkit-margin-end: 0.5rem; - margin-inline-end: 0.5rem; -} - -.form-control-lg { - min-height: calc(1.5em + 1rem + 2px); - padding: 0.5rem 1rem; - font-size: 1.25rem; - border-radius: 0.3rem; -} - -.form-control-lg::-webkit-file-upload-button { - padding: 0.5rem 1rem; - margin: -0.5rem -1rem; - -webkit-margin-end: 1rem; - margin-inline-end: 1rem; -} - -.form-control-lg::file-selector-button { - padding: 0.5rem 1rem; - margin: -0.5rem -1rem; - -webkit-margin-end: 1rem; - margin-inline-end: 1rem; -} - -.form-control-lg::-webkit-file-upload-button { - padding: 0.5rem 1rem; - margin: -0.5rem -1rem; - -webkit-margin-end: 1rem; - margin-inline-end: 1rem; -} - -textarea.form-control { - min-height: calc(1.5em + 0.75rem + 2px); -} - -textarea.form-control-sm { - min-height: calc(1.5em + 0.5rem + 2px); -} - -textarea.form-control-lg { - min-height: calc(1.5em + 1rem + 2px); -} - -.form-control-color { - width: 3rem; - height: auto; - padding: 0.375rem; -} - -.form-control-color:not(:disabled):not([readonly]) { - cursor: pointer; -} - -.form-control-color::-moz-color-swatch { - height: 1.5em; - border-radius: 0.25rem; -} - -.form-control-color::-webkit-color-swatch { - height: 1.5em; - border-radius: 0.25rem; -} - -.form-select { - display: block; - width: 100%; - padding: 0.375rem 2.25rem 0.375rem 0.75rem; - -moz-padding-start: calc(0.75rem - 3px); - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #212529; - background-color: #fff; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); - background-repeat: no-repeat; - background-position: right 0.75rem center; - background-size: 16px 12px; - border: 1px solid #ced4da; - border-radius: 0.25rem; - transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} - -@media (prefers-reduced-motion: reduce) { - .form-select { - transition: none; - } -} - -.form-select:focus { - border-color: #86b7fe; - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.form-select[multiple], -.form-select[size]:not([size="1"]) { - padding-right: 0.75rem; - background-image: none; -} - -.form-select:disabled { - background-color: #e9ecef; -} - -.form-select:-moz-focusring { - color: transparent; - text-shadow: 0 0 0 #212529; -} - -.form-select-sm { - padding-top: 0.25rem; - padding-bottom: 0.25rem; - padding-left: 0.5rem; - font-size: 0.875rem; - border-radius: 0.2rem; -} - -.form-select-lg { - padding-top: 0.5rem; - padding-bottom: 0.5rem; - padding-left: 1rem; - font-size: 1.25rem; - border-radius: 0.3rem; -} - -.form-check { - display: block; - min-height: 1.5rem; - padding-left: 1.5em; - margin-bottom: 0.125rem; -} - -.form-check .form-check-input { - float: left; - margin-left: -1.5em; -} - -.form-check-input { - width: 1em; - height: 1em; - margin-top: 0.25em; - vertical-align: top; - background-color: #fff; - background-repeat: no-repeat; - background-position: center; - background-size: contain; - border: 1px solid rgba(0, 0, 0, 0.25); - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - -webkit-print-color-adjust: exact; - color-adjust: exact; -} - -.form-check-input[type=checkbox] { - border-radius: 0.25em; -} - -.form-check-input[type=radio] { - border-radius: 50%; -} - -.form-check-input:active { - filter: brightness(90%); -} - -.form-check-input:focus { - border-color: #86b7fe; - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.form-check-input:checked { - background-color: #0d6efd; - border-color: #0d6efd; -} - -.form-check-input:checked[type=checkbox] { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e"); -} - -.form-check-input:checked[type=radio] { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); -} - -.form-check-input[type=checkbox]:indeterminate { - background-color: #0d6efd; - border-color: #0d6efd; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e"); -} - -.form-check-input:disabled { - pointer-events: none; - filter: none; - opacity: 0.5; -} - -.form-check-input[disabled]~.form-check-label, -.form-check-input:disabled~.form-check-label { - opacity: 0.5; -} - -.form-switch { - padding-left: 2.5em; -} - -.form-switch .form-check-input { - width: 2em; - margin-left: -2.5em; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e"); - background-position: left center; - border-radius: 2em; - transition: background-position 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .form-switch .form-check-input { - transition: none; - } -} - -.form-switch .form-check-input:focus { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e"); -} - -.form-switch .form-check-input:checked { - background-position: right center; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); -} - -.form-check-inline { - display: inline-block; - margin-right: 1rem; -} - -.btn-check { - position: absolute; - clip: rect(0, 0, 0, 0); - pointer-events: none; -} - -.btn-check[disabled]+.btn, -.btn-check:disabled+.btn { - pointer-events: none; - filter: none; - opacity: 0.65; -} - -.form-range { - width: 100%; - height: 1.5rem; - padding: 0; - background-color: transparent; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} - -.form-range:focus { - outline: 0; -} - -.form-range:focus::-webkit-slider-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.form-range:focus::-moz-range-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.form-range::-moz-focus-outer { - border: 0; -} - -.form-range::-webkit-slider-thumb { - width: 1rem; - height: 1rem; - margin-top: -0.25rem; - background-color: #0d6efd; - border: 0; - border-radius: 1rem; - -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -webkit-appearance: none; - appearance: none; -} - -@media (prefers-reduced-motion: reduce) { - .form-range::-webkit-slider-thumb { - -webkit-transition: none; - transition: none; - } -} - -.form-range::-webkit-slider-thumb:active { - background-color: #b6d4fe; -} - -.form-range::-webkit-slider-runnable-track { - width: 100%; - height: 0.5rem; - color: transparent; - cursor: pointer; - background-color: #dee2e6; - border-color: transparent; - border-radius: 1rem; -} - -.form-range::-moz-range-thumb { - width: 1rem; - height: 1rem; - background-color: #0d6efd; - border: 0; - border-radius: 1rem; - -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -moz-appearance: none; - appearance: none; -} - -@media (prefers-reduced-motion: reduce) { - .form-range::-moz-range-thumb { - -moz-transition: none; - transition: none; - } -} - -.form-range::-moz-range-thumb:active { - background-color: #b6d4fe; -} - -.form-range::-moz-range-track { - width: 100%; - height: 0.5rem; - color: transparent; - cursor: pointer; - background-color: #dee2e6; - border-color: transparent; - border-radius: 1rem; -} - -.form-range:disabled { - pointer-events: none; -} - -.form-range:disabled::-webkit-slider-thumb { - background-color: #adb5bd; -} - -.form-range:disabled::-moz-range-thumb { - background-color: #adb5bd; -} - -.form-floating { - position: relative; -} - -.form-floating>.form-control, -.form-floating>.form-select { - height: calc(3.5rem + 2px); - line-height: 1.25; -} - -.form-floating>label { - position: absolute; - top: 0; - left: 0; - height: 100%; - padding: 1rem 0.75rem; - pointer-events: none; - border: 1px solid transparent; - transform-origin: 0 0; - transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .form-floating>label { - transition: none; - } -} - -.form-floating>.form-control { - padding: 1rem 0.75rem; -} - -.form-floating>.form-control::-moz-placeholder { - color: transparent; -} - -.form-floating>.form-control::placeholder { - color: transparent; -} - -.form-floating>.form-control:not(:-moz-placeholder-shown) { - padding-top: 1.625rem; - padding-bottom: 0.625rem; -} - -.form-floating>.form-control:focus, -.form-floating>.form-control:not(:placeholder-shown) { - padding-top: 1.625rem; - padding-bottom: 0.625rem; -} - -.form-floating>.form-control:-webkit-autofill { - padding-top: 1.625rem; - padding-bottom: 0.625rem; -} - -.form-floating>.form-select { - padding-top: 1.625rem; - padding-bottom: 0.625rem; -} - -.form-floating>.form-control:not(:-moz-placeholder-shown)~label { - opacity: 0.65; - transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); -} - -.form-floating>.form-control:focus~label, -.form-floating>.form-control:not(:placeholder-shown)~label, -.form-floating>.form-select~label { - opacity: 0.65; - transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); -} - -.form-floating>.form-control:-webkit-autofill~label { - opacity: 0.65; - transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); -} - -.input-group { - position: relative; - display: flex; - flex-wrap: wrap; - align-items: stretch; - width: 100%; -} - -.input-group>.form-control, -.input-group>.form-select { - position: relative; - flex: 1 1 auto; - width: 1%; - min-width: 0; -} - -.input-group>.form-control:focus, -.input-group>.form-select:focus { - z-index: 3; -} - -.input-group .btn { - position: relative; - z-index: 2; -} - -.input-group .btn:focus { - z-index: 3; -} - -.input-group-text { - display: flex; - align-items: center; - padding: 0.375rem 0.75rem; - font-size: 1rem; - font-weight: 400; - line-height: 1.5; - color: #212529; - text-align: center; - white-space: nowrap; - background-color: #e9ecef; - border: 1px solid #ced4da; - border-radius: 0.25rem; -} - -.input-group-lg>.form-control, -.input-group-lg>.form-select, -.input-group-lg>.input-group-text, -.input-group-lg>.btn { - padding: 0.5rem 1rem; - font-size: 1.25rem; - border-radius: 0.3rem; -} - -.input-group-sm>.form-control, -.input-group-sm>.form-select, -.input-group-sm>.input-group-text, -.input-group-sm>.btn { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - border-radius: 0.2rem; -} - -.input-group-lg>.form-select, -.input-group-sm>.form-select { - padding-right: 3rem; -} - -.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu), -.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -.input-group.has-validation> :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu), -.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { - margin-left: -1px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - -.valid-feedback { - display: none; - width: 100%; - margin-top: 0.25rem; - font-size: 0.875em; - color: #198754; -} - -.valid-tooltip { - position: absolute; - top: 100%; - z-index: 5; - display: none; - max-width: 100%; - padding: 0.25rem 0.5rem; - margin-top: 0.1rem; - font-size: 0.875rem; - color: #fff; - background-color: rgba(25, 135, 84, 0.9); - border-radius: 0.25rem; -} - -.was-validated :valid~.valid-feedback, -.was-validated :valid~.valid-tooltip, -.is-valid~.valid-feedback, -.is-valid~.valid-tooltip { - display: block; -} - -.was-validated .form-control:valid, -.form-control.is-valid { - border-color: #198754; - padding-right: calc(1.5em + 0.75rem); - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); - background-repeat: no-repeat; - background-position: right calc(0.375em + 0.1875rem) center; - background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); -} - -.was-validated .form-control:valid:focus, -.form-control.is-valid:focus { - border-color: #198754; - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); -} - -.was-validated textarea.form-control:valid, -textarea.form-control.is-valid { - padding-right: calc(1.5em + 0.75rem); - background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); -} - -.was-validated .form-select:valid, -.form-select.is-valid { - border-color: #198754; -} - -.was-validated .form-select:valid:not([multiple]):not([size]), -.was-validated .form-select:valid:not([multiple])[size="1"], -.form-select.is-valid:not([multiple]):not([size]), -.form-select.is-valid:not([multiple])[size="1"] { - padding-right: 4.125rem; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); - background-position: right 0.75rem center, center right 2.25rem; - background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); -} - -.was-validated .form-select:valid:focus, -.form-select.is-valid:focus { - border-color: #198754; - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); -} - -.was-validated .form-check-input:valid, -.form-check-input.is-valid { - border-color: #198754; -} - -.was-validated .form-check-input:valid:checked, -.form-check-input.is-valid:checked { - background-color: #198754; -} - -.was-validated .form-check-input:valid:focus, -.form-check-input.is-valid:focus { - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); -} - -.was-validated .form-check-input:valid~.form-check-label, -.form-check-input.is-valid~.form-check-label { - color: #198754; -} - -.form-check-inline .form-check-input~.valid-feedback { - margin-left: 0.5em; -} - -.was-validated .input-group .form-control:valid, -.input-group .form-control.is-valid, -.was-validated .input-group .form-select:valid, -.input-group .form-select.is-valid { - z-index: 1; -} - -.was-validated .input-group .form-control:valid:focus, -.input-group .form-control.is-valid:focus, -.was-validated .input-group .form-select:valid:focus, -.input-group .form-select.is-valid:focus { - z-index: 3; -} - -.invalid-feedback { - display: none; - width: 100%; - margin-top: 0.25rem; - font-size: 0.875em; - color: #dc3545; -} - -.invalid-tooltip { - position: absolute; - top: 100%; - z-index: 5; - display: none; - max-width: 100%; - padding: 0.25rem 0.5rem; - margin-top: 0.1rem; - font-size: 0.875rem; - color: #fff; - background-color: rgba(220, 53, 69, 0.9); - border-radius: 0.25rem; -} - -.was-validated :invalid~.invalid-feedback, -.was-validated :invalid~.invalid-tooltip, -.is-invalid~.invalid-feedback, -.is-invalid~.invalid-tooltip { - display: block; -} - -.was-validated .form-control:invalid, -.form-control.is-invalid { - border-color: #dc3545; - padding-right: calc(1.5em + 0.75rem); - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); - background-repeat: no-repeat; - background-position: right calc(0.375em + 0.1875rem) center; - background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); -} - -.was-validated .form-control:invalid:focus, -.form-control.is-invalid:focus { - border-color: #dc3545; - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); -} - -.was-validated textarea.form-control:invalid, -textarea.form-control.is-invalid { - padding-right: calc(1.5em + 0.75rem); - background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); -} - -.was-validated .form-select:invalid, -.form-select.is-invalid { - border-color: #dc3545; -} - -.was-validated .form-select:invalid:not([multiple]):not([size]), -.was-validated .form-select:invalid:not([multiple])[size="1"], -.form-select.is-invalid:not([multiple]):not([size]), -.form-select.is-invalid:not([multiple])[size="1"] { - padding-right: 4.125rem; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); - background-position: right 0.75rem center, center right 2.25rem; - background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); -} - -.was-validated .form-select:invalid:focus, -.form-select.is-invalid:focus { - border-color: #dc3545; - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); -} - -.was-validated .form-check-input:invalid, -.form-check-input.is-invalid { - border-color: #dc3545; -} - -.was-validated .form-check-input:invalid:checked, -.form-check-input.is-invalid:checked { - background-color: #dc3545; -} - -.was-validated .form-check-input:invalid:focus, -.form-check-input.is-invalid:focus { - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); -} - -.was-validated .form-check-input:invalid~.form-check-label, -.form-check-input.is-invalid~.form-check-label { - color: #dc3545; -} - -.form-check-inline .form-check-input~.invalid-feedback { - margin-left: 0.5em; -} - -.was-validated .input-group .form-control:invalid, -.input-group .form-control.is-invalid, -.was-validated .input-group .form-select:invalid, -.input-group .form-select.is-invalid { - z-index: 2; -} - -.was-validated .input-group .form-control:invalid:focus, -.input-group .form-control.is-invalid:focus, -.was-validated .input-group .form-select:invalid:focus, -.input-group .form-select.is-invalid:focus { - z-index: 3; -} - -.btn { - display: inline-block; - font-weight: 400; - line-height: 1.5; - color: #212529; - text-align: center; - text-decoration: none; - vertical-align: middle; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - background-color: transparent; - border: 1px solid transparent; - padding: 0.375rem 0.75rem; - font-size: 1rem; - border-radius: 0.25rem; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .btn { - transition: none; - } -} - -.btn:hover { - color: #212529; -} - -.btn-check:focus+.btn, -.btn:focus { - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.btn:disabled, -.btn.disabled, -fieldset:disabled .btn { - pointer-events: none; - opacity: 0.65; -} - -.btn-primary { - color: #fff; - background-color: #0d6efd; - border-color: #0d6efd; -} - -.btn-primary:hover { - color: #fff; - background-color: #0b5ed7; - border-color: #0a58ca; -} - -.btn-check:focus+.btn-primary, -.btn-primary:focus { - color: #fff; - background-color: #0b5ed7; - border-color: #0a58ca; - box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5); -} - -.btn-check:checked+.btn-primary, -.btn-check:active+.btn-primary, -.btn-primary:active, -.btn-primary.active, -.show>.btn-primary.dropdown-toggle { - color: #fff; - background-color: #0a58ca; - border-color: #0a53be; -} - -.btn-check:checked+.btn-primary:focus, -.btn-check:active+.btn-primary:focus, -.btn-primary:active:focus, -.btn-primary.active:focus, -.show>.btn-primary.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5); -} - -.btn-primary:disabled, -.btn-primary.disabled { - color: #fff; - background-color: #0d6efd; - border-color: #0d6efd; -} - -.btn-secondary { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} - -.btn-secondary:hover { - color: #fff; - background-color: #5c636a; - border-color: #565e64; -} - -.btn-check:focus+.btn-secondary, -.btn-secondary:focus { - color: #fff; - background-color: #5c636a; - border-color: #565e64; - box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5); -} - -.btn-check:checked+.btn-secondary, -.btn-check:active+.btn-secondary, -.btn-secondary:active, -.btn-secondary.active, -.show>.btn-secondary.dropdown-toggle { - color: #fff; - background-color: #565e64; - border-color: #51585e; -} - -.btn-check:checked+.btn-secondary:focus, -.btn-check:active+.btn-secondary:focus, -.btn-secondary:active:focus, -.btn-secondary.active:focus, -.show>.btn-secondary.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5); -} - -.btn-secondary:disabled, -.btn-secondary.disabled { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} - -.btn-success { - color: #fff; - background-color: #198754; - border-color: #198754; -} - -.btn-success:hover { - color: #fff; - background-color: #157347; - border-color: #146c43; -} - -.btn-check:focus+.btn-success, -.btn-success:focus { - color: #fff; - background-color: #157347; - border-color: #146c43; - box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5); -} - -.btn-check:checked+.btn-success, -.btn-check:active+.btn-success, -.btn-success:active, -.btn-success.active, -.show>.btn-success.dropdown-toggle { - color: #fff; - background-color: #146c43; - border-color: #13653f; -} - -.btn-check:checked+.btn-success:focus, -.btn-check:active+.btn-success:focus, -.btn-success:active:focus, -.btn-success.active:focus, -.show>.btn-success.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5); -} - -.btn-success:disabled, -.btn-success.disabled { - color: #fff; - background-color: #198754; - border-color: #198754; -} - -.btn-info { - color: #000; - background-color: #0dcaf0; - border-color: #0dcaf0; -} - -.btn-info:hover { - color: #000; - background-color: #31d2f2; - border-color: #25cff2; -} - -.btn-check:focus+.btn-info, -.btn-info:focus { - color: #000; - background-color: #31d2f2; - border-color: #25cff2; - box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5); -} - -.btn-check:checked+.btn-info, -.btn-check:active+.btn-info, -.btn-info:active, -.btn-info.active, -.show>.btn-info.dropdown-toggle { - color: #000; - background-color: #3dd5f3; - border-color: #25cff2; -} - -.btn-check:checked+.btn-info:focus, -.btn-check:active+.btn-info:focus, -.btn-info:active:focus, -.btn-info.active:focus, -.show>.btn-info.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5); -} - -.btn-info:disabled, -.btn-info.disabled { - color: #000; - background-color: #0dcaf0; - border-color: #0dcaf0; -} - -.btn-warning { - color: #000; - background-color: #ffc107; - border-color: #ffc107; -} - -.btn-warning:hover { - color: #000; - background-color: #ffca2c; - border-color: #ffc720; -} - -.btn-check:focus+.btn-warning, -.btn-warning:focus { - color: #000; - background-color: #ffca2c; - border-color: #ffc720; - box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5); -} - -.btn-check:checked+.btn-warning, -.btn-check:active+.btn-warning, -.btn-warning:active, -.btn-warning.active, -.show>.btn-warning.dropdown-toggle { - color: #000; - background-color: #ffcd39; - border-color: #ffc720; -} - -.btn-check:checked+.btn-warning:focus, -.btn-check:active+.btn-warning:focus, -.btn-warning:active:focus, -.btn-warning.active:focus, -.show>.btn-warning.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5); -} - -.btn-warning:disabled, -.btn-warning.disabled { - color: #000; - background-color: #ffc107; - border-color: #ffc107; -} - -.btn-danger { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} - -.btn-danger:hover { - color: #fff; - background-color: #bb2d3b; - border-color: #b02a37; -} - -.btn-check:focus+.btn-danger, -.btn-danger:focus { - color: #fff; - background-color: #bb2d3b; - border-color: #b02a37; - box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5); -} - -.btn-check:checked+.btn-danger, -.btn-check:active+.btn-danger, -.btn-danger:active, -.btn-danger.active, -.show>.btn-danger.dropdown-toggle { - color: #fff; - background-color: #b02a37; - border-color: #a52834; -} - -.btn-check:checked+.btn-danger:focus, -.btn-check:active+.btn-danger:focus, -.btn-danger:active:focus, -.btn-danger.active:focus, -.show>.btn-danger.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5); -} - -.btn-danger:disabled, -.btn-danger.disabled { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} - -.btn-light { - color: #000; - background-color: #f8f9fa; - border-color: #f8f9fa; -} - -.btn-light:hover { - color: #000; - background-color: #f9fafb; - border-color: #f9fafb; -} - -.btn-check:focus+.btn-light, -.btn-light:focus { - color: #000; - background-color: #f9fafb; - border-color: #f9fafb; - box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5); -} - -.btn-check:checked+.btn-light, -.btn-check:active+.btn-light, -.btn-light:active, -.btn-light.active, -.show>.btn-light.dropdown-toggle { - color: #000; - background-color: #f9fafb; - border-color: #f9fafb; -} - -.btn-check:checked+.btn-light:focus, -.btn-check:active+.btn-light:focus, -.btn-light:active:focus, -.btn-light.active:focus, -.show>.btn-light.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5); -} - -.btn-light:disabled, -.btn-light.disabled { - color: #000; - background-color: #f8f9fa; - border-color: #f8f9fa; -} - -.btn-dark { - color: #fff; - background-color: #212529; - border-color: #212529; -} - -.btn-dark:hover { - color: #fff; - background-color: #1c1f23; - border-color: #1a1e21; -} - -.btn-check:focus+.btn-dark, -.btn-dark:focus { - color: #fff; - background-color: #1c1f23; - border-color: #1a1e21; - box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5); -} - -.btn-check:checked+.btn-dark, -.btn-check:active+.btn-dark, -.btn-dark:active, -.btn-dark.active, -.show>.btn-dark.dropdown-toggle { - color: #fff; - background-color: #1a1e21; - border-color: #191c1f; -} - -.btn-check:checked+.btn-dark:focus, -.btn-check:active+.btn-dark:focus, -.btn-dark:active:focus, -.btn-dark.active:focus, -.show>.btn-dark.dropdown-toggle:focus { - box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5); -} - -.btn-dark:disabled, -.btn-dark.disabled { - color: #fff; - background-color: #212529; - border-color: #212529; -} - -.btn-outline-primary { - color: #0d6efd; - border-color: #0d6efd; -} - -.btn-outline-primary:hover { - color: #fff; - background-color: #0d6efd; - border-color: #0d6efd; -} - -.btn-check:focus+.btn-outline-primary, -.btn-outline-primary:focus { - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5); -} - -.btn-check:checked+.btn-outline-primary, -.btn-check:active+.btn-outline-primary, -.btn-outline-primary:active, -.btn-outline-primary.active, -.btn-outline-primary.dropdown-toggle.show { - color: #fff; - background-color: #0d6efd; - border-color: #0d6efd; -} - -.btn-check:checked+.btn-outline-primary:focus, -.btn-check:active+.btn-outline-primary:focus, -.btn-outline-primary:active:focus, -.btn-outline-primary.active:focus, -.btn-outline-primary.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5); -} - -.btn-outline-primary:disabled, -.btn-outline-primary.disabled { - color: #0d6efd; - background-color: transparent; -} - -.btn-outline-secondary { - color: #6c757d; - border-color: #6c757d; -} - -.btn-outline-secondary:hover { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} - -.btn-check:focus+.btn-outline-secondary, -.btn-outline-secondary:focus { - box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5); -} - -.btn-check:checked+.btn-outline-secondary, -.btn-check:active+.btn-outline-secondary, -.btn-outline-secondary:active, -.btn-outline-secondary.active, -.btn-outline-secondary.dropdown-toggle.show { - color: #fff; - background-color: #6c757d; - border-color: #6c757d; -} - -.btn-check:checked+.btn-outline-secondary:focus, -.btn-check:active+.btn-outline-secondary:focus, -.btn-outline-secondary:active:focus, -.btn-outline-secondary.active:focus, -.btn-outline-secondary.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5); -} - -.btn-outline-secondary:disabled, -.btn-outline-secondary.disabled { - color: #6c757d; - background-color: transparent; -} - -.btn-outline-success { - color: #198754; - border-color: #198754; -} - -.btn-outline-success:hover { - color: #fff; - background-color: #198754; - border-color: #198754; -} - -.btn-check:focus+.btn-outline-success, -.btn-outline-success:focus { - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5); -} - -.btn-check:checked+.btn-outline-success, -.btn-check:active+.btn-outline-success, -.btn-outline-success:active, -.btn-outline-success.active, -.btn-outline-success.dropdown-toggle.show { - color: #fff; - background-color: #198754; - border-color: #198754; -} - -.btn-check:checked+.btn-outline-success:focus, -.btn-check:active+.btn-outline-success:focus, -.btn-outline-success:active:focus, -.btn-outline-success.active:focus, -.btn-outline-success.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5); -} - -.btn-outline-success:disabled, -.btn-outline-success.disabled { - color: #198754; - background-color: transparent; -} - -.btn-outline-info { - color: #0dcaf0; - border-color: #0dcaf0; -} - -.btn-outline-info:hover { - color: #000; - background-color: #0dcaf0; - border-color: #0dcaf0; -} - -.btn-check:focus+.btn-outline-info, -.btn-outline-info:focus { - box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5); -} - -.btn-check:checked+.btn-outline-info, -.btn-check:active+.btn-outline-info, -.btn-outline-info:active, -.btn-outline-info.active, -.btn-outline-info.dropdown-toggle.show { - color: #000; - background-color: #0dcaf0; - border-color: #0dcaf0; -} - -.btn-check:checked+.btn-outline-info:focus, -.btn-check:active+.btn-outline-info:focus, -.btn-outline-info:active:focus, -.btn-outline-info.active:focus, -.btn-outline-info.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5); -} - -.btn-outline-info:disabled, -.btn-outline-info.disabled { - color: #0dcaf0; - background-color: transparent; -} - -.btn-outline-warning { - color: #ffc107; - border-color: #ffc107; -} - -.btn-outline-warning:hover { - color: #000; - background-color: #ffc107; - border-color: #ffc107; -} - -.btn-check:focus+.btn-outline-warning, -.btn-outline-warning:focus { - box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5); -} - -.btn-check:checked+.btn-outline-warning, -.btn-check:active+.btn-outline-warning, -.btn-outline-warning:active, -.btn-outline-warning.active, -.btn-outline-warning.dropdown-toggle.show { - color: #000; - background-color: #ffc107; - border-color: #ffc107; -} - -.btn-check:checked+.btn-outline-warning:focus, -.btn-check:active+.btn-outline-warning:focus, -.btn-outline-warning:active:focus, -.btn-outline-warning.active:focus, -.btn-outline-warning.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5); -} - -.btn-outline-warning:disabled, -.btn-outline-warning.disabled { - color: #ffc107; - background-color: transparent; -} - -.btn-outline-danger { - color: #dc3545; - border-color: #dc3545; -} - -.btn-outline-danger:hover { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} - -.btn-check:focus+.btn-outline-danger, -.btn-outline-danger:focus { - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5); -} - -.btn-check:checked+.btn-outline-danger, -.btn-check:active+.btn-outline-danger, -.btn-outline-danger:active, -.btn-outline-danger.active, -.btn-outline-danger.dropdown-toggle.show { - color: #fff; - background-color: #dc3545; - border-color: #dc3545; -} - -.btn-check:checked+.btn-outline-danger:focus, -.btn-check:active+.btn-outline-danger:focus, -.btn-outline-danger:active:focus, -.btn-outline-danger.active:focus, -.btn-outline-danger.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5); -} - -.btn-outline-danger:disabled, -.btn-outline-danger.disabled { - color: #dc3545; - background-color: transparent; -} - -.btn-outline-light { - color: #f8f9fa; - border-color: #f8f9fa; -} - -.btn-outline-light:hover { - color: #000; - background-color: #f8f9fa; - border-color: #f8f9fa; -} - -.btn-check:focus+.btn-outline-light, -.btn-outline-light:focus { - box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5); -} - -.btn-check:checked+.btn-outline-light, -.btn-check:active+.btn-outline-light, -.btn-outline-light:active, -.btn-outline-light.active, -.btn-outline-light.dropdown-toggle.show { - color: #000; - background-color: #f8f9fa; - border-color: #f8f9fa; -} - -.btn-check:checked+.btn-outline-light:focus, -.btn-check:active+.btn-outline-light:focus, -.btn-outline-light:active:focus, -.btn-outline-light.active:focus, -.btn-outline-light.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5); -} - -.btn-outline-light:disabled, -.btn-outline-light.disabled { - color: #f8f9fa; - background-color: transparent; -} - -.btn-outline-dark { - color: #212529; - border-color: #212529; -} - -.btn-outline-dark:hover { - color: #fff; - background-color: #212529; - border-color: #212529; -} - -.btn-check:focus+.btn-outline-dark, -.btn-outline-dark:focus { - box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.5); -} - -.btn-check:checked+.btn-outline-dark, -.btn-check:active+.btn-outline-dark, -.btn-outline-dark:active, -.btn-outline-dark.active, -.btn-outline-dark.dropdown-toggle.show { - color: #fff; - background-color: #212529; - border-color: #212529; -} - -.btn-check:checked+.btn-outline-dark:focus, -.btn-check:active+.btn-outline-dark:focus, -.btn-outline-dark:active:focus, -.btn-outline-dark.active:focus, -.btn-outline-dark.dropdown-toggle.show:focus { - box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.5); -} - -.btn-outline-dark:disabled, -.btn-outline-dark.disabled { - color: #212529; - background-color: transparent; -} - -.btn-link { - font-weight: 400; - color: #0d6efd; - text-decoration: underline; -} - -.btn-link:hover { - color: #0a58ca; -} - -.btn-link:disabled, -.btn-link.disabled { - color: #6c757d; -} - -.btn-lg, -.btn-group-lg>.btn { - padding: 0.5rem 1rem; - font-size: 1.25rem; - border-radius: 0.3rem; -} - -.btn-sm, -.btn-group-sm>.btn { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - border-radius: 0.2rem; -} - -.fade { - transition: opacity 0.15s linear; -} - -@media (prefers-reduced-motion: reduce) { - .fade { - transition: none; - } -} - -.fade:not(.show) { - opacity: 0; -} - -.collapse:not(.show) { - display: none; -} - -.collapsing { - height: 0; - overflow: hidden; - transition: height 0.35s ease; -} - -@media (prefers-reduced-motion: reduce) { - .collapsing { - transition: none; - } -} - -.collapsing.collapse-horizontal { - width: 0; - height: auto; - transition: width 0.35s ease; -} - -@media (prefers-reduced-motion: reduce) { - .collapsing.collapse-horizontal { - transition: none; - } -} - -.dropup, -.dropend, -.dropdown, -.dropstart { - position: relative; -} - -.dropdown-toggle { - white-space: nowrap; -} - -.dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0.3em solid; - border-right: 0.3em solid transparent; - border-bottom: 0; - border-left: 0.3em solid transparent; -} - -.dropdown-toggle:empty::after { - margin-left: 0; -} - -.dropdown-menu { - position: absolute; - z-index: 1000; - display: none; - min-width: 10rem; - padding: 0.5rem 0; - margin: 0; - font-size: 1rem; - color: #212529; - text-align: left; - list-style: none; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.15); - border-radius: 0.25rem; -} - -.dropdown-menu[data-bs-popper] { - top: 100%; - left: 0; - margin-top: 0.125rem; -} - -.dropdown-menu-start { - --bs-position: start; -} - -.dropdown-menu-start[data-bs-popper] { - right: auto; - left: 0; -} - -.dropdown-menu-end { - --bs-position: end; -} - -.dropdown-menu-end[data-bs-popper] { - right: 0; - left: auto; -} - -@media (min-width: 576px) { - .dropdown-menu-sm-start { - --bs-position: start; - } - - .dropdown-menu-sm-start[data-bs-popper] { - right: auto; - left: 0; - } - - .dropdown-menu-sm-end { - --bs-position: end; - } - - .dropdown-menu-sm-end[data-bs-popper] { - right: 0; - left: auto; - } -} - -@media (min-width: 768px) { - .dropdown-menu-md-start { - --bs-position: start; - } - - .dropdown-menu-md-start[data-bs-popper] { - right: auto; - left: 0; - } - - .dropdown-menu-md-end { - --bs-position: end; - } - - .dropdown-menu-md-end[data-bs-popper] { - right: 0; - left: auto; - } -} - -@media (min-width: 992px) { - .dropdown-menu-lg-start { - --bs-position: start; - } - - .dropdown-menu-lg-start[data-bs-popper] { - right: auto; - left: 0; - } - - .dropdown-menu-lg-end { - --bs-position: end; - } - - .dropdown-menu-lg-end[data-bs-popper] { - right: 0; - left: auto; - } -} - -@media (min-width: 1200px) { - .dropdown-menu-xl-start { - --bs-position: start; - } - - .dropdown-menu-xl-start[data-bs-popper] { - right: auto; - left: 0; - } - - .dropdown-menu-xl-end { - --bs-position: end; - } - - .dropdown-menu-xl-end[data-bs-popper] { - right: 0; - left: auto; - } -} - -@media (min-width: 1400px) { - .dropdown-menu-xxl-start { - --bs-position: start; - } - - .dropdown-menu-xxl-start[data-bs-popper] { - right: auto; - left: 0; - } - - .dropdown-menu-xxl-end { - --bs-position: end; - } - - .dropdown-menu-xxl-end[data-bs-popper] { - right: 0; - left: auto; - } -} - -.dropup .dropdown-menu[data-bs-popper] { - top: auto; - bottom: 100%; - margin-top: 0; - margin-bottom: 0.125rem; -} - -.dropup .dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0; - border-right: 0.3em solid transparent; - border-bottom: 0.3em solid; - border-left: 0.3em solid transparent; -} - -.dropup .dropdown-toggle:empty::after { - margin-left: 0; -} - -.dropend .dropdown-menu[data-bs-popper] { - top: 0; - right: auto; - left: 100%; - margin-top: 0; - margin-left: 0.125rem; -} - -.dropend .dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0.3em solid transparent; - border-right: 0; - border-bottom: 0.3em solid transparent; - border-left: 0.3em solid; -} - -.dropend .dropdown-toggle:empty::after { - margin-left: 0; -} - -.dropend .dropdown-toggle::after { - vertical-align: 0; -} - -.dropstart .dropdown-menu[data-bs-popper] { - top: 0; - right: 100%; - left: auto; - margin-top: 0; - margin-right: 0.125rem; -} - -.dropstart .dropdown-toggle::after { - display: inline-block; - margin-left: 0.255em; - vertical-align: 0.255em; - content: ""; -} - -.dropstart .dropdown-toggle::after { - display: none; -} - -.dropstart .dropdown-toggle::before { - display: inline-block; - margin-right: 0.255em; - vertical-align: 0.255em; - content: ""; - border-top: 0.3em solid transparent; - border-right: 0.3em solid; - border-bottom: 0.3em solid transparent; -} - -.dropstart .dropdown-toggle:empty::after { - margin-left: 0; -} - -.dropstart .dropdown-toggle::before { - vertical-align: 0; -} - -.dropdown-divider { - height: 0; - margin: 0.5rem 0; - overflow: hidden; - border-top: 1px solid rgba(0, 0, 0, 0.15); -} - -.dropdown-item { - display: block; - width: 100%; - padding: 0.25rem 1rem; - clear: both; - font-weight: 400; - color: #212529; - text-align: inherit; - text-decoration: none; - white-space: nowrap; - background-color: transparent; - border: 0; -} - -.dropdown-item:hover, -.dropdown-item:focus { - color: #1e2125; - background-color: #e9ecef; -} - -.dropdown-item.active, -.dropdown-item:active { - color: #fff; - text-decoration: none; - background-color: #0d6efd; -} - -.dropdown-item.disabled, -.dropdown-item:disabled { - color: #adb5bd; - pointer-events: none; - background-color: transparent; -} - -.dropdown-menu.show { - display: block; -} - -.dropdown-header { - display: block; - padding: 0.5rem 1rem; - margin-bottom: 0; - font-size: 0.875rem; - color: #6c757d; - white-space: nowrap; -} - -.dropdown-item-text { - display: block; - padding: 0.25rem 1rem; - color: #212529; -} - -.dropdown-menu-dark { - color: #dee2e6; - background-color: #343a40; - border-color: rgba(0, 0, 0, 0.15); -} - -.dropdown-menu-dark .dropdown-item { - color: #dee2e6; -} - -.dropdown-menu-dark .dropdown-item:hover, -.dropdown-menu-dark .dropdown-item:focus { - color: #fff; - background-color: rgba(255, 255, 255, 0.15); -} - -.dropdown-menu-dark .dropdown-item.active, -.dropdown-menu-dark .dropdown-item:active { - color: #fff; - background-color: #0d6efd; -} - -.dropdown-menu-dark .dropdown-item.disabled, -.dropdown-menu-dark .dropdown-item:disabled { - color: #adb5bd; -} - -.dropdown-menu-dark .dropdown-divider { - border-color: rgba(0, 0, 0, 0.15); -} - -.dropdown-menu-dark .dropdown-item-text { - color: #dee2e6; -} - -.dropdown-menu-dark .dropdown-header { - color: #adb5bd; -} - -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-flex; - vertical-align: middle; -} - -.btn-group>.btn, -.btn-group-vertical>.btn { - position: relative; - flex: 1 1 auto; -} - -.btn-group>.btn-check:checked+.btn, -.btn-group>.btn-check:focus+.btn, -.btn-group>.btn:hover, -.btn-group>.btn:focus, -.btn-group>.btn:active, -.btn-group>.btn.active, -.btn-group-vertical>.btn-check:checked+.btn, -.btn-group-vertical>.btn-check:focus+.btn, -.btn-group-vertical>.btn:hover, -.btn-group-vertical>.btn:focus, -.btn-group-vertical>.btn:active, -.btn-group-vertical>.btn.active { - z-index: 1; -} - -.btn-toolbar { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} - -.btn-toolbar .input-group { - width: auto; -} - -.btn-group>.btn:not(:first-child), -.btn-group>.btn-group:not(:first-child) { - margin-left: -1px; -} - -.btn-group>.btn:not(:last-child):not(.dropdown-toggle), -.btn-group>.btn-group:not(:last-child)>.btn { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -.btn-group>.btn:nth-child(n+3), -.btn-group> :not(.btn-check)+.btn, -.btn-group>.btn-group:not(:first-child)>.btn { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - -.dropdown-toggle-split { - padding-right: 0.5625rem; - padding-left: 0.5625rem; -} - -.dropdown-toggle-split::after, -.dropup .dropdown-toggle-split::after, -.dropend .dropdown-toggle-split::after { - margin-left: 0; -} - -.dropstart .dropdown-toggle-split::before { - margin-right: 0; -} - -.btn-sm+.dropdown-toggle-split, -.btn-group-sm>.btn+.dropdown-toggle-split { - padding-right: 0.375rem; - padding-left: 0.375rem; -} - -.btn-lg+.dropdown-toggle-split, -.btn-group-lg>.btn+.dropdown-toggle-split { - padding-right: 0.75rem; - padding-left: 0.75rem; -} - -.btn-group-vertical { - flex-direction: column; - align-items: flex-start; - justify-content: center; -} - -.btn-group-vertical>.btn, -.btn-group-vertical>.btn-group { - width: 100%; -} - -.btn-group-vertical>.btn:not(:first-child), -.btn-group-vertical>.btn-group:not(:first-child) { - margin-top: -1px; -} - -.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle), -.btn-group-vertical>.btn-group:not(:last-child)>.btn { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} - -.btn-group-vertical>.btn~.btn, -.btn-group-vertical>.btn-group:not(:first-child)>.btn { - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.nav { - display: flex; - flex-wrap: wrap; - padding-left: 0; - margin-bottom: 0; - list-style: none; -} - -.nav-link { - display: block; - padding: 0.5rem 1rem; - color: #0d6efd; - text-decoration: none; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .nav-link { - transition: none; - } -} - -.nav-link:hover, -.nav-link:focus { - color: #0a58ca; -} - -.nav-link.disabled { - color: #6c757d; - pointer-events: none; - cursor: default; -} - -.nav-tabs { - border-bottom: 1px solid #dee2e6; -} - -.nav-tabs .nav-link { - margin-bottom: -1px; - background: none; - border: 1px solid transparent; - border-top-left-radius: 0.25rem; - border-top-right-radius: 0.25rem; -} - -.nav-tabs .nav-link:hover, -.nav-tabs .nav-link:focus { - border-color: #e9ecef #e9ecef #dee2e6; - isolation: isolate; -} - -.nav-tabs .nav-link.disabled { - color: #6c757d; - background-color: transparent; - border-color: transparent; -} - -.nav-tabs .nav-link.active, -.nav-tabs .nav-item.show .nav-link { - color: #495057; - background-color: #fff; - border-color: #dee2e6 #dee2e6 #fff; -} - -.nav-tabs .dropdown-menu { - margin-top: -1px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.nav-pills .nav-link { - background: none; - border: 0; - border-radius: 0.25rem; -} - -.nav-pills .nav-link.active, -.nav-pills .show>.nav-link { - color: #fff; - background-color: #0d6efd; -} - -.nav-fill>.nav-link, -.nav-fill .nav-item { - flex: 1 1 auto; - text-align: center; -} - -.nav-justified>.nav-link, -.nav-justified .nav-item { - flex-basis: 0; - flex-grow: 1; - text-align: center; -} - -.nav-fill .nav-item .nav-link, -.nav-justified .nav-item .nav-link { - width: 100%; -} - -.tab-content>.tab-pane { - display: none; -} - -.tab-content>.active { - display: block; -} - -.navbar { - position: relative; - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: space-between; - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.navbar>.container, -.navbar>.container-fluid, -.navbar>.container-sm, -.navbar>.container-md, -.navbar>.container-lg, -.navbar>.container-xl, -.navbar>.container-xxl { - display: flex; - flex-wrap: inherit; - align-items: center; - justify-content: space-between; -} - -.navbar-brand { - padding-top: 0.3125rem; - padding-bottom: 0.3125rem; - margin-right: 1rem; - font-size: 1.25rem; - text-decoration: none; - white-space: nowrap; -} - -.navbar-nav { - display: flex; - flex-direction: column; - padding-left: 0; - margin-bottom: 0; - list-style: none; -} - -.navbar-nav .nav-link { - padding-right: 0; - padding-left: 0; -} - -.navbar-nav .dropdown-menu { - position: static; -} - -.navbar-text { - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.navbar-collapse { - flex-basis: 100%; - flex-grow: 1; - align-items: center; -} - -.navbar-toggler { - padding: 0.25rem 0.75rem; - font-size: 1.25rem; - line-height: 1; - background-color: transparent; - border: 1px solid transparent; - border-radius: 0.25rem; - transition: box-shadow 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .navbar-toggler { - transition: none; - } -} - -.navbar-toggler:hover { - text-decoration: none; -} - -.navbar-toggler:focus { - text-decoration: none; - outline: 0; - box-shadow: 0 0 0 0.25rem; -} - -.navbar-toggler-icon { - display: inline-block; - width: 1.5em; - height: 1.5em; - vertical-align: middle; - background-repeat: no-repeat; - background-position: center; - background-size: 100%; -} - -.navbar-nav-scroll { - max-height: var(--bs-scroll-height, 75vh); - overflow-y: auto; -} - -@media (min-width: 576px) { - .navbar-expand-sm { - flex-wrap: nowrap; - justify-content: flex-start; - } - - .navbar-expand-sm .navbar-nav { - flex-direction: row; - } - - .navbar-expand-sm .navbar-nav .dropdown-menu { - position: absolute; - } - - .navbar-expand-sm .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - - .navbar-expand-sm .navbar-nav-scroll { - overflow: visible; - } - - .navbar-expand-sm .navbar-collapse { - display: flex !important; - flex-basis: auto; - } - - .navbar-expand-sm .navbar-toggler { - display: none; - } - - .navbar-expand-sm .offcanvas-header { - display: none; - } - - .navbar-expand-sm .offcanvas { - position: inherit; - bottom: 0; - z-index: 1000; - flex-grow: 1; - visibility: visible !important; - background-color: transparent; - border-right: 0; - border-left: 0; - transition: none; - transform: none; - } - - .navbar-expand-sm .offcanvas-top, - .navbar-expand-sm .offcanvas-bottom { - height: auto; - border-top: 0; - border-bottom: 0; - } - - .navbar-expand-sm .offcanvas-body { - display: flex; - flex-grow: 0; - padding: 0; - overflow-y: visible; - } -} - -@media (min-width: 768px) { - .navbar-expand-md { - flex-wrap: nowrap; - justify-content: flex-start; - } - - .navbar-expand-md .navbar-nav { - flex-direction: row; - } - - .navbar-expand-md .navbar-nav .dropdown-menu { - position: absolute; - } - - .navbar-expand-md .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - - .navbar-expand-md .navbar-nav-scroll { - overflow: visible; - } - - .navbar-expand-md .navbar-collapse { - display: flex !important; - flex-basis: auto; - } - - .navbar-expand-md .navbar-toggler { - display: none; - } - - .navbar-expand-md .offcanvas-header { - display: none; - } - - .navbar-expand-md .offcanvas { - position: inherit; - bottom: 0; - z-index: 1000; - flex-grow: 1; - visibility: visible !important; - background-color: transparent; - border-right: 0; - border-left: 0; - transition: none; - transform: none; - } - - .navbar-expand-md .offcanvas-top, - .navbar-expand-md .offcanvas-bottom { - height: auto; - border-top: 0; - border-bottom: 0; - } - - .navbar-expand-md .offcanvas-body { - display: flex; - flex-grow: 0; - padding: 0; - overflow-y: visible; - } -} - -@media (min-width: 992px) { - .navbar-expand-lg { - flex-wrap: nowrap; - justify-content: flex-start; - } - - .navbar-expand-lg .navbar-nav { - flex-direction: row; - } - - .navbar-expand-lg .navbar-nav .dropdown-menu { - position: absolute; - } - - .navbar-expand-lg .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - - .navbar-expand-lg .navbar-nav-scroll { - overflow: visible; - } - - .navbar-expand-lg .navbar-collapse { - display: flex !important; - flex-basis: auto; - } - - .navbar-expand-lg .navbar-toggler { - display: none; - } - - .navbar-expand-lg .offcanvas-header { - display: none; - } - - .navbar-expand-lg .offcanvas { - position: inherit; - bottom: 0; - z-index: 1000; - flex-grow: 1; - visibility: visible !important; - background-color: transparent; - border-right: 0; - border-left: 0; - transition: none; - transform: none; - } - - .navbar-expand-lg .offcanvas-top, - .navbar-expand-lg .offcanvas-bottom { - height: auto; - border-top: 0; - border-bottom: 0; - } - - .navbar-expand-lg .offcanvas-body { - display: flex; - flex-grow: 0; - padding: 0; - overflow-y: visible; - } -} - -@media (min-width: 1200px) { - .navbar-expand-xl { - flex-wrap: nowrap; - justify-content: flex-start; - } - - .navbar-expand-xl .navbar-nav { - flex-direction: row; - } - - .navbar-expand-xl .navbar-nav .dropdown-menu { - position: absolute; - } - - .navbar-expand-xl .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - - .navbar-expand-xl .navbar-nav-scroll { - overflow: visible; - } - - .navbar-expand-xl .navbar-collapse { - display: flex !important; - flex-basis: auto; - } - - .navbar-expand-xl .navbar-toggler { - display: none; - } - - .navbar-expand-xl .offcanvas-header { - display: none; - } - - .navbar-expand-xl .offcanvas { - position: inherit; - bottom: 0; - z-index: 1000; - flex-grow: 1; - visibility: visible !important; - background-color: transparent; - border-right: 0; - border-left: 0; - transition: none; - transform: none; - } - - .navbar-expand-xl .offcanvas-top, - .navbar-expand-xl .offcanvas-bottom { - height: auto; - border-top: 0; - border-bottom: 0; - } - - .navbar-expand-xl .offcanvas-body { - display: flex; - flex-grow: 0; - padding: 0; - overflow-y: visible; - } -} - -@media (min-width: 1400px) { - .navbar-expand-xxl { - flex-wrap: nowrap; - justify-content: flex-start; - } - - .navbar-expand-xxl .navbar-nav { - flex-direction: row; - } - - .navbar-expand-xxl .navbar-nav .dropdown-menu { - position: absolute; - } - - .navbar-expand-xxl .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; - } - - .navbar-expand-xxl .navbar-nav-scroll { - overflow: visible; - } - - .navbar-expand-xxl .navbar-collapse { - display: flex !important; - flex-basis: auto; - } - - .navbar-expand-xxl .navbar-toggler { - display: none; - } - - .navbar-expand-xxl .offcanvas-header { - display: none; - } - - .navbar-expand-xxl .offcanvas { - position: inherit; - bottom: 0; - z-index: 1000; - flex-grow: 1; - visibility: visible !important; - background-color: transparent; - border-right: 0; - border-left: 0; - transition: none; - transform: none; - } - - .navbar-expand-xxl .offcanvas-top, - .navbar-expand-xxl .offcanvas-bottom { - height: auto; - border-top: 0; - border-bottom: 0; - } - - .navbar-expand-xxl .offcanvas-body { - display: flex; - flex-grow: 0; - padding: 0; - overflow-y: visible; - } -} - -.navbar-expand { - flex-wrap: nowrap; - justify-content: flex-start; -} - -.navbar-expand .navbar-nav { - flex-direction: row; -} - -.navbar-expand .navbar-nav .dropdown-menu { - position: absolute; -} - -.navbar-expand .navbar-nav .nav-link { - padding-right: 0.5rem; - padding-left: 0.5rem; -} - -.navbar-expand .navbar-nav-scroll { - overflow: visible; -} - -.navbar-expand .navbar-collapse { - display: flex !important; - flex-basis: auto; -} - -.navbar-expand .navbar-toggler { - display: none; -} - -.navbar-expand .offcanvas-header { - display: none; -} - -.navbar-expand .offcanvas { - position: inherit; - bottom: 0; - z-index: 1000; - flex-grow: 1; - visibility: visible !important; - background-color: transparent; - border-right: 0; - border-left: 0; - transition: none; - transform: none; -} - -.navbar-expand .offcanvas-top, -.navbar-expand .offcanvas-bottom { - height: auto; - border-top: 0; - border-bottom: 0; -} - -.navbar-expand .offcanvas-body { - display: flex; - flex-grow: 0; - padding: 0; - overflow-y: visible; -} - -.navbar-light .navbar-brand { - color: rgba(0, 0, 0, 0.9); -} - -.navbar-light .navbar-brand:hover, -.navbar-light .navbar-brand:focus { - color: rgba(0, 0, 0, 0.9); -} - -.navbar-light .navbar-nav .nav-link { - color: rgba(0, 0, 0, 0.55); -} - -.navbar-light .navbar-nav .nav-link:hover, -.navbar-light .navbar-nav .nav-link:focus { - color: rgba(0, 0, 0, 0.7); -} - -.navbar-light .navbar-nav .nav-link.disabled { - color: rgba(0, 0, 0, 0.3); -} - -.navbar-light .navbar-nav .show>.nav-link, -.navbar-light .navbar-nav .nav-link.active { - color: rgba(0, 0, 0, 0.9); -} - -.navbar-light .navbar-toggler { - color: rgba(0, 0, 0, 0.55); - border-color: rgba(0, 0, 0, 0.1); -} - -.navbar-light .navbar-toggler-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); -} - -.navbar-light .navbar-text { - color: rgba(0, 0, 0, 0.55); -} - -.navbar-light .navbar-text a, -.navbar-light .navbar-text a:hover, -.navbar-light .navbar-text a:focus { - color: rgba(0, 0, 0, 0.9); -} - -.navbar-dark .navbar-brand { - color: #fff; -} - -.navbar-dark .navbar-brand:hover, -.navbar-dark .navbar-brand:focus { - color: #fff; -} - -.navbar-dark .navbar-nav .nav-link { - color: rgba(255, 255, 255, 0.55); -} - -.navbar-dark .navbar-nav .nav-link:hover, -.navbar-dark .navbar-nav .nav-link:focus { - color: rgba(255, 255, 255, 0.75); -} - -.navbar-dark .navbar-nav .nav-link.disabled { - color: rgba(255, 255, 255, 0.25); -} - -.navbar-dark .navbar-nav .show>.nav-link, -.navbar-dark .navbar-nav .nav-link.active { - color: #fff; -} - -.navbar-dark .navbar-toggler { - color: rgba(255, 255, 255, 0.55); - border-color: rgba(255, 255, 255, 0.1); -} - -.navbar-dark .navbar-toggler-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); -} - -.navbar-dark .navbar-text { - color: rgba(255, 255, 255, 0.55); -} - -.navbar-dark .navbar-text a, -.navbar-dark .navbar-text a:hover, -.navbar-dark .navbar-text a:focus { - color: #fff; -} - -.card { - position: relative; - display: flex; - flex-direction: column; - min-width: 0; - word-wrap: break-word; - background-color: #fff; - background-clip: border-box; - border: 1px solid rgba(0, 0, 0, 0.125); - border-radius: 0.25rem; -} - -.card>hr { - margin-right: 0; - margin-left: 0; -} - -.card>.list-group { - border-top: inherit; - border-bottom: inherit; -} - -.card>.list-group:first-child { - border-top-width: 0; - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); -} - -.card>.list-group:last-child { - border-bottom-width: 0; - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); -} - -.card>.card-header+.list-group, -.card>.list-group+.card-footer { - border-top: 0; -} - -.card-body { - flex: 1 1 auto; - padding: 1rem 1rem; -} - -.card-title { - margin-bottom: 0.5rem; -} - -.card-subtitle { - margin-top: -0.25rem; - margin-bottom: 0; -} - -.card-text:last-child { - margin-bottom: 0; -} - -.card-link+.card-link { - margin-left: 1rem; -} - -.card-header { - padding: 0.5rem 1rem; - margin-bottom: 0; - background-color: rgba(0, 0, 0, 0.03); - border-bottom: 1px solid rgba(0, 0, 0, 0.125); -} - -.card-header:first-child { - border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; -} - -.card-footer { - padding: 0.5rem 1rem; - background-color: rgba(0, 0, 0, 0.03); - border-top: 1px solid rgba(0, 0, 0, 0.125); -} - -.card-footer:last-child { - border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); -} - -.card-header-tabs { - margin-right: -0.5rem; - margin-bottom: -0.5rem; - margin-left: -0.5rem; - border-bottom: 0; -} - -.card-header-pills { - margin-right: -0.5rem; - margin-left: -0.5rem; -} - -.card-img-overlay { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - padding: 1rem; - border-radius: calc(0.25rem - 1px); -} - -.card-img, -.card-img-top, -.card-img-bottom { - width: 100%; -} - -.card-img, -.card-img-top { - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); -} - -.card-img, -.card-img-bottom { - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); -} - -.card-group>.card { - margin-bottom: 0.75rem; -} - -@media (min-width: 576px) { - .card-group { - display: flex; - flex-flow: row wrap; - } - - .card-group>.card { - flex: 1 0 0%; - margin-bottom: 0; - } - - .card-group>.card+.card { - margin-left: 0; - border-left: 0; - } - - .card-group>.card:not(:last-child) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; - } - - .card-group>.card:not(:last-child) .card-img-top, - .card-group>.card:not(:last-child) .card-header { - border-top-right-radius: 0; - } - - .card-group>.card:not(:last-child) .card-img-bottom, - .card-group>.card:not(:last-child) .card-footer { - border-bottom-right-radius: 0; - } - - .card-group>.card:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } - - .card-group>.card:not(:first-child) .card-img-top, - .card-group>.card:not(:first-child) .card-header { - border-top-left-radius: 0; - } - - .card-group>.card:not(:first-child) .card-img-bottom, - .card-group>.card:not(:first-child) .card-footer { - border-bottom-left-radius: 0; - } -} - -.accordion-button { - position: relative; - display: flex; - align-items: center; - width: 100%; - padding: 1rem 1.25rem; - font-size: 1rem; - color: #212529; - text-align: left; - background-color: #fff; - border: 0; - border-radius: 0; - overflow-anchor: none; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease; -} - -@media (prefers-reduced-motion: reduce) { - .accordion-button { - transition: none; - } -} - -.accordion-button:not(.collapsed) { - color: #0c63e4; - background-color: #e7f1ff; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125); -} - -.accordion-button:not(.collapsed)::after { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); - transform: rotate(-180deg); -} - -.accordion-button::after { - flex-shrink: 0; - width: 1.25rem; - height: 1.25rem; - margin-left: auto; - content: ""; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); - background-repeat: no-repeat; - background-size: 1.25rem; - transition: transform 0.2s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .accordion-button::after { - transition: none; - } -} - -.accordion-button:hover { - z-index: 2; -} - -.accordion-button:focus { - z-index: 3; - border-color: #86b7fe; - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.accordion-header { - margin-bottom: 0; -} - -.accordion-item { - background-color: #fff; - border: 1px solid rgba(0, 0, 0, 0.125); -} - -.accordion-item:first-of-type { - border-top-left-radius: 0.25rem; - border-top-right-radius: 0.25rem; -} - -.accordion-item:first-of-type .accordion-button { - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); -} - -.accordion-item:not(:first-of-type) { - border-top: 0; -} - -.accordion-item:last-of-type { - border-bottom-right-radius: 0.25rem; - border-bottom-left-radius: 0.25rem; -} - -.accordion-item:last-of-type .accordion-button.collapsed { - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); -} - -.accordion-item:last-of-type .accordion-collapse { - border-bottom-right-radius: 0.25rem; - border-bottom-left-radius: 0.25rem; -} - -.accordion-body { - padding: 1rem 1.25rem; -} - -.accordion-flush .accordion-collapse { - border-width: 0; -} - -.accordion-flush .accordion-item { - border-right: 0; - border-left: 0; - border-radius: 0; -} - -.accordion-flush .accordion-item:first-child { - border-top: 0; -} - -.accordion-flush .accordion-item:last-child { - border-bottom: 0; -} - -.accordion-flush .accordion-item .accordion-button { - border-radius: 0; -} - -.breadcrumb { - display: flex; - flex-wrap: wrap; - padding: 0 0; - margin-bottom: 1rem; - list-style: none; -} - -.breadcrumb-item+.breadcrumb-item { - padding-left: 0.5rem; -} - -.breadcrumb-item+.breadcrumb-item::before { - float: left; - padding-right: 0.5rem; - color: #6c757d; - content: var(--bs-breadcrumb-divider, "/") - /* rtl: var(--bs-breadcrumb-divider, "/") */ - ; -} - -.breadcrumb-item.active { - color: #6c757d; -} - -.pagination { - display: flex; - padding-left: 0; - list-style: none; -} - -.page-link { - position: relative; - display: block; - color: #0d6efd; - text-decoration: none; - background-color: #fff; - border: 1px solid #dee2e6; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .page-link { - transition: none; - } -} - -.page-link:hover { - z-index: 2; - color: #0a58ca; - background-color: #e9ecef; - border-color: #dee2e6; -} - -.page-link:focus { - z-index: 3; - color: #0a58ca; - background-color: #e9ecef; - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); -} - -.page-item:not(:first-child) .page-link { - margin-left: -1px; -} - -.page-item.active .page-link { - z-index: 3; - color: #fff; - background-color: #0d6efd; - border-color: #0d6efd; -} - -.page-item.disabled .page-link { - color: #6c757d; - pointer-events: none; - background-color: #fff; - border-color: #dee2e6; -} - -.page-link { - padding: 0.375rem 0.75rem; -} - -.page-item:first-child .page-link { - border-top-left-radius: 0.25rem; - border-bottom-left-radius: 0.25rem; -} - -.page-item:last-child .page-link { - border-top-right-radius: 0.25rem; - border-bottom-right-radius: 0.25rem; -} - -.pagination-lg .page-link { - padding: 0.75rem 1.5rem; - font-size: 1.25rem; -} - -.pagination-lg .page-item:first-child .page-link { - border-top-left-radius: 0.3rem; - border-bottom-left-radius: 0.3rem; -} - -.pagination-lg .page-item:last-child .page-link { - border-top-right-radius: 0.3rem; - border-bottom-right-radius: 0.3rem; -} - -.pagination-sm .page-link { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; -} - -.pagination-sm .page-item:first-child .page-link { - border-top-left-radius: 0.2rem; - border-bottom-left-radius: 0.2rem; -} - -.pagination-sm .page-item:last-child .page-link { - border-top-right-radius: 0.2rem; - border-bottom-right-radius: 0.2rem; -} - -.badge { - display: inline-block; - padding: 0.35em 0.65em; - font-size: 0.75em; - font-weight: 700; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: 0.25rem; -} - -.badge:empty { - display: none; -} - -.btn .badge { - position: relative; - top: -1px; -} - -.alert { - position: relative; - padding: 1rem 1rem; - margin-bottom: 1rem; - border: 1px solid transparent; - border-radius: 0.25rem; -} - -.alert-heading { - color: inherit; -} - -.alert-link { - font-weight: 700; -} - -.alert-dismissible { - padding-right: 3rem; -} - -.alert-dismissible .btn-close { - position: absolute; - top: 0; - right: 0; - z-index: 2; - padding: 1.25rem 1rem; -} - -.alert-primary { - color: #084298; - background-color: #cfe2ff; - border-color: #b6d4fe; -} - -.alert-primary .alert-link { - color: #06357a; -} - -.alert-secondary { - color: #41464b; - background-color: #e2e3e5; - border-color: #d3d6d8; -} - -.alert-secondary .alert-link { - color: #34383c; -} - -.alert-success { - color: #0f5132; - background-color: #d1e7dd; - border-color: #badbcc; -} - -.alert-success .alert-link { - color: #0c4128; -} - -.alert-info { - color: #055160; - background-color: #cff4fc; - border-color: #b6effb; -} - -.alert-info .alert-link { - color: #04414d; -} - -.alert-warning { - color: #664d03; - background-color: #fff3cd; - border-color: #ffecb5; -} - -.alert-warning .alert-link { - color: #523e02; -} - -.alert-danger { - color: #842029; - background-color: #f8d7da; - border-color: #f5c2c7; -} - -.alert-danger .alert-link { - color: #6a1a21; -} - -.alert-light { - color: #636464; - background-color: #fefefe; - border-color: #fdfdfe; -} - -.alert-light .alert-link { - color: #4f5050; -} - -.alert-dark { - color: #141619; - background-color: #d3d3d4; - border-color: #bcbebf; -} - -.alert-dark .alert-link { - color: #101214; -} - -@-webkit-keyframes progress-bar-stripes { - 0% { - background-position-x: 1rem; - } -} - -@keyframes progress-bar-stripes { - 0% { - background-position-x: 1rem; - } -} - -.progress { - display: flex; - height: 1rem; - overflow: hidden; - font-size: 0.75rem; - background-color: #e9ecef; - border-radius: 0.25rem; -} - -.progress-bar { - display: flex; - flex-direction: column; - justify-content: center; - overflow: hidden; - color: #fff; - text-align: center; - white-space: nowrap; - background-color: #0d6efd; - transition: width 0.6s ease; -} - -@media (prefers-reduced-motion: reduce) { - .progress-bar { - transition: none; - } -} - -.progress-bar-striped { - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 1rem 1rem; -} - -.progress-bar-animated { - -webkit-animation: 1s linear infinite progress-bar-stripes; - animation: 1s linear infinite progress-bar-stripes; -} - -@media (prefers-reduced-motion: reduce) { - .progress-bar-animated { - -webkit-animation: none; - animation: none; - } -} - -.list-group { - display: flex; - flex-direction: column; - padding-left: 0; - margin-bottom: 0; - border-radius: 0.25rem; -} - -.list-group-numbered { - list-style-type: none; - counter-reset: section; -} - -.list-group-numbered>li::before { - content: counters(section, ".") ". "; - counter-increment: section; -} - -.list-group-item-action { - width: 100%; - color: #495057; - text-align: inherit; -} - -.list-group-item-action:hover, -.list-group-item-action:focus { - z-index: 1; - color: #495057; - text-decoration: none; - background-color: #f8f9fa; -} - -.list-group-item-action:active { - color: #212529; - background-color: #e9ecef; -} - -.list-group-item { - position: relative; - display: block; - padding: 0.5rem 1rem; - color: #212529; - text-decoration: none; - background-color: #fff; - border: 1px solid rgba(0, 0, 0, 0.125); -} - -.list-group-item:first-child { - border-top-left-radius: inherit; - border-top-right-radius: inherit; -} - -.list-group-item:last-child { - border-bottom-right-radius: inherit; - border-bottom-left-radius: inherit; -} - -.list-group-item.disabled, -.list-group-item:disabled { - color: #6c757d; - pointer-events: none; - background-color: #fff; -} - -.list-group-item.active { - z-index: 2; - color: #fff; - background-color: #0d6efd; - border-color: #0d6efd; -} - -.list-group-item+.list-group-item { - border-top-width: 0; -} - -.list-group-item+.list-group-item.active { - margin-top: -1px; - border-top-width: 1px; -} - -.list-group-horizontal { - flex-direction: row; -} - -.list-group-horizontal>.list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; -} - -.list-group-horizontal>.list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; -} - -.list-group-horizontal>.list-group-item.active { - margin-top: 0; -} - -.list-group-horizontal>.list-group-item+.list-group-item { - border-top-width: 1px; - border-left-width: 0; -} - -.list-group-horizontal>.list-group-item+.list-group-item.active { - margin-left: -1px; - border-left-width: 1px; -} - -@media (min-width: 576px) { - .list-group-horizontal-sm { - flex-direction: row; - } - - .list-group-horizontal-sm>.list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - - .list-group-horizontal-sm>.list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - - .list-group-horizontal-sm>.list-group-item.active { - margin-top: 0; - } - - .list-group-horizontal-sm>.list-group-item+.list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - - .list-group-horizontal-sm>.list-group-item+.list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} - -@media (min-width: 768px) { - .list-group-horizontal-md { - flex-direction: row; - } - - .list-group-horizontal-md>.list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - - .list-group-horizontal-md>.list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - - .list-group-horizontal-md>.list-group-item.active { - margin-top: 0; - } - - .list-group-horizontal-md>.list-group-item+.list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - - .list-group-horizontal-md>.list-group-item+.list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} - -@media (min-width: 992px) { - .list-group-horizontal-lg { - flex-direction: row; - } - - .list-group-horizontal-lg>.list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - - .list-group-horizontal-lg>.list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - - .list-group-horizontal-lg>.list-group-item.active { - margin-top: 0; - } - - .list-group-horizontal-lg>.list-group-item+.list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - - .list-group-horizontal-lg>.list-group-item+.list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} - -@media (min-width: 1200px) { - .list-group-horizontal-xl { - flex-direction: row; - } - - .list-group-horizontal-xl>.list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - - .list-group-horizontal-xl>.list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - - .list-group-horizontal-xl>.list-group-item.active { - margin-top: 0; - } - - .list-group-horizontal-xl>.list-group-item+.list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - - .list-group-horizontal-xl>.list-group-item+.list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} - -@media (min-width: 1400px) { - .list-group-horizontal-xxl { - flex-direction: row; - } - - .list-group-horizontal-xxl>.list-group-item:first-child { - border-bottom-left-radius: 0.25rem; - border-top-right-radius: 0; - } - - .list-group-horizontal-xxl>.list-group-item:last-child { - border-top-right-radius: 0.25rem; - border-bottom-left-radius: 0; - } - - .list-group-horizontal-xxl>.list-group-item.active { - margin-top: 0; - } - - .list-group-horizontal-xxl>.list-group-item+.list-group-item { - border-top-width: 1px; - border-left-width: 0; - } - - .list-group-horizontal-xxl>.list-group-item+.list-group-item.active { - margin-left: -1px; - border-left-width: 1px; - } -} - -.list-group-flush { - border-radius: 0; -} - -.list-group-flush>.list-group-item { - border-width: 0 0 1px; -} - -.list-group-flush>.list-group-item:last-child { - border-bottom-width: 0; -} - -.list-group-item-primary { - color: #084298; - background-color: #cfe2ff; -} - -.list-group-item-primary.list-group-item-action:hover, -.list-group-item-primary.list-group-item-action:focus { - color: #084298; - background-color: #bacbe6; -} - -.list-group-item-primary.list-group-item-action.active { - color: #fff; - background-color: #084298; - border-color: #084298; -} - -.list-group-item-secondary { - color: #41464b; - background-color: #e2e3e5; -} - -.list-group-item-secondary.list-group-item-action:hover, -.list-group-item-secondary.list-group-item-action:focus { - color: #41464b; - background-color: #cbccce; -} - -.list-group-item-secondary.list-group-item-action.active { - color: #fff; - background-color: #41464b; - border-color: #41464b; -} - -.list-group-item-success { - color: #0f5132; - background-color: #d1e7dd; -} - -.list-group-item-success.list-group-item-action:hover, -.list-group-item-success.list-group-item-action:focus { - color: #0f5132; - background-color: #bcd0c7; -} - -.list-group-item-success.list-group-item-action.active { - color: #fff; - background-color: #0f5132; - border-color: #0f5132; -} - -.list-group-item-info { - color: #055160; - background-color: #cff4fc; -} - -.list-group-item-info.list-group-item-action:hover, -.list-group-item-info.list-group-item-action:focus { - color: #055160; - background-color: #badce3; -} - -.list-group-item-info.list-group-item-action.active { - color: #fff; - background-color: #055160; - border-color: #055160; -} - -.list-group-item-warning { - color: #664d03; - background-color: #fff3cd; -} - -.list-group-item-warning.list-group-item-action:hover, -.list-group-item-warning.list-group-item-action:focus { - color: #664d03; - background-color: #e6dbb9; -} - -.list-group-item-warning.list-group-item-action.active { - color: #fff; - background-color: #664d03; - border-color: #664d03; -} - -.list-group-item-danger { - color: #842029; - background-color: #f8d7da; -} - -.list-group-item-danger.list-group-item-action:hover, -.list-group-item-danger.list-group-item-action:focus { - color: #842029; - background-color: #dfc2c4; -} - -.list-group-item-danger.list-group-item-action.active { - color: #fff; - background-color: #842029; - border-color: #842029; -} - -.list-group-item-light { - color: #636464; - background-color: #fefefe; -} - -.list-group-item-light.list-group-item-action:hover, -.list-group-item-light.list-group-item-action:focus { - color: #636464; - background-color: #e5e5e5; -} - -.list-group-item-light.list-group-item-action.active { - color: #fff; - background-color: #636464; - border-color: #636464; -} - -.list-group-item-dark { - color: #141619; - background-color: #d3d3d4; -} - -.list-group-item-dark.list-group-item-action:hover, -.list-group-item-dark.list-group-item-action:focus { - color: #141619; - background-color: #bebebf; -} - -.list-group-item-dark.list-group-item-action.active { - color: #fff; - background-color: #141619; - border-color: #141619; -} - -.btn-close { - box-sizing: content-box; - width: 1em; - height: 1em; - padding: 0.25em 0.25em; - color: #000; - background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat; - border: 0; - border-radius: 0.25rem; - opacity: 0.5; -} - -.btn-close:hover { - color: #000; - text-decoration: none; - opacity: 0.75; -} - -.btn-close:focus { - outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); - opacity: 1; -} - -.btn-close:disabled, -.btn-close.disabled { - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - opacity: 0.25; -} - -.btn-close-white { - filter: invert(1) grayscale(100%) brightness(200%); -} - -.toast { - width: 350px; - max-width: 100%; - font-size: 0.875rem; - pointer-events: auto; - background-color: rgba(255, 255, 255, 0.85); - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.1); - box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); - border-radius: 0.25rem; -} - -.toast.showing { - opacity: 0; -} - -.toast:not(.show) { - display: none; -} - -.toast-container { - width: -webkit-max-content; - width: -moz-max-content; - width: max-content; - max-width: 100%; - pointer-events: none; -} - -.toast-container> :not(:last-child) { - margin-bottom: 0.75rem; -} - -.toast-header { - display: flex; - align-items: center; - padding: 0.5rem 0.75rem; - color: #6c757d; - background-color: rgba(255, 255, 255, 0.85); - background-clip: padding-box; - border-bottom: 1px solid rgba(0, 0, 0, 0.05); - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); -} - -.toast-header .btn-close { - margin-right: -0.375rem; - margin-left: 0.75rem; -} - -.toast-body { - padding: 0.75rem; - word-wrap: break-word; -} - -.modal { - position: fixed; - top: 0; - left: 0; - z-index: 1055; - display: none; - width: 100%; - height: 100%; - overflow-x: hidden; - overflow-y: auto; - outline: 0; -} - -.modal-dialog { - position: relative; - width: auto; - margin: 0.5rem; - pointer-events: none; -} - -.modal.fade .modal-dialog { - transition: transform 0.3s ease-out; - transform: translate(0, -50px); -} - -@media (prefers-reduced-motion: reduce) { - .modal.fade .modal-dialog { - transition: none; - } -} - -.modal.show .modal-dialog { - transform: none; -} - -.modal.modal-static .modal-dialog { - transform: scale(1.02); -} - -.modal-dialog-scrollable { - height: calc(100% - 1rem); -} - -.modal-dialog-scrollable .modal-content { - max-height: 100%; - overflow: hidden; -} - -.modal-dialog-scrollable .modal-body { - overflow-y: auto; -} - -.modal-dialog-centered { - display: flex; - align-items: center; - min-height: calc(100% - 1rem); -} - -.modal-content { - position: relative; - display: flex; - flex-direction: column; - width: 100%; - pointer-events: auto; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 0.3rem; - outline: 0; -} - -.modal-backdrop { - position: fixed; - top: 0; - left: 0; - z-index: 1050; - width: 100vw; - height: 100vh; - background-color: #000; -} - -.modal-backdrop.fade { - opacity: 0; -} - -.modal-backdrop.show { - opacity: 0.5; -} - -.modal-header { - display: flex; - flex-shrink: 0; - align-items: center; - justify-content: space-between; - padding: 1rem 1rem; - border-bottom: 1px solid #dee2e6; - border-top-left-radius: calc(0.3rem - 1px); - border-top-right-radius: calc(0.3rem - 1px); -} - -.modal-header .btn-close { - padding: 0.5rem 0.5rem; - margin: -0.5rem -0.5rem -0.5rem auto; -} - -.modal-title { - margin-bottom: 0; - line-height: 1.5; -} - -.modal-body { - position: relative; - flex: 1 1 auto; - padding: 1rem; -} - -.modal-footer { - display: flex; - flex-wrap: wrap; - flex-shrink: 0; - align-items: center; - justify-content: flex-end; - padding: 0.75rem; - border-top: 1px solid #dee2e6; - border-bottom-right-radius: calc(0.3rem - 1px); - border-bottom-left-radius: calc(0.3rem - 1px); -} - -.modal-footer>* { - margin: 0.25rem; -} - -@media (min-width: 576px) { - .modal-dialog { - max-width: 500px; - margin: 1.75rem auto; - } - - .modal-dialog-scrollable { - height: calc(100% - 3.5rem); - } - - .modal-dialog-centered { - min-height: calc(100% - 3.5rem); - } - - .modal-sm { - max-width: 300px; - } -} - -@media (min-width: 992px) { - - .modal-lg, - .modal-xl { - max-width: 800px; - } -} - -@media (min-width: 1200px) { - .modal-xl { - max-width: 1140px; - } -} - -.modal-fullscreen { - width: 100vw; - max-width: none; - height: 100%; - margin: 0; -} - -.modal-fullscreen .modal-content { - height: 100%; - border: 0; - border-radius: 0; -} - -.modal-fullscreen .modal-header { - border-radius: 0; -} - -.modal-fullscreen .modal-body { - overflow-y: auto; -} - -.modal-fullscreen .modal-footer { - border-radius: 0; -} - -@media (max-width: 575.98px) { - .modal-fullscreen-sm-down { - width: 100vw; - max-width: none; - height: 100%; - margin: 0; - } - - .modal-fullscreen-sm-down .modal-content { - height: 100%; - border: 0; - border-radius: 0; - } - - .modal-fullscreen-sm-down .modal-header { - border-radius: 0; - } - - .modal-fullscreen-sm-down .modal-body { - overflow-y: auto; - } - - .modal-fullscreen-sm-down .modal-footer { - border-radius: 0; - } -} - -@media (max-width: 767.98px) { - .modal-fullscreen-md-down { - width: 100vw; - max-width: none; - height: 100%; - margin: 0; - } - - .modal-fullscreen-md-down .modal-content { - height: 100%; - border: 0; - border-radius: 0; - } - - .modal-fullscreen-md-down .modal-header { - border-radius: 0; - } - - .modal-fullscreen-md-down .modal-body { - overflow-y: auto; - } - - .modal-fullscreen-md-down .modal-footer { - border-radius: 0; - } -} - -@media (max-width: 991.98px) { - .modal-fullscreen-lg-down { - width: 100vw; - max-width: none; - height: 100%; - margin: 0; - } - - .modal-fullscreen-lg-down .modal-content { - height: 100%; - border: 0; - border-radius: 0; - } - - .modal-fullscreen-lg-down .modal-header { - border-radius: 0; - } - - .modal-fullscreen-lg-down .modal-body { - overflow-y: auto; - } - - .modal-fullscreen-lg-down .modal-footer { - border-radius: 0; - } -} - -@media (max-width: 1199.98px) { - .modal-fullscreen-xl-down { - width: 100vw; - max-width: none; - height: 100%; - margin: 0; - } - - .modal-fullscreen-xl-down .modal-content { - height: 100%; - border: 0; - border-radius: 0; - } - - .modal-fullscreen-xl-down .modal-header { - border-radius: 0; - } - - .modal-fullscreen-xl-down .modal-body { - overflow-y: auto; - } - - .modal-fullscreen-xl-down .modal-footer { - border-radius: 0; - } -} - -@media (max-width: 1399.98px) { - .modal-fullscreen-xxl-down { - width: 100vw; - max-width: none; - height: 100%; - margin: 0; - } - - .modal-fullscreen-xxl-down .modal-content { - height: 100%; - border: 0; - border-radius: 0; - } - - .modal-fullscreen-xxl-down .modal-header { - border-radius: 0; - } - - .modal-fullscreen-xxl-down .modal-body { - overflow-y: auto; - } - - .modal-fullscreen-xxl-down .modal-footer { - border-radius: 0; - } -} - -.tooltip { - position: absolute; - z-index: 1080; - display: block; - margin: 0; - font-family: var(--bs-font-sans-serif); - font-style: normal; - font-weight: 400; - line-height: 1.5; - text-align: left; - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - white-space: normal; - line-break: auto; - font-size: 0.875rem; - word-wrap: break-word; - opacity: 0; -} - -.tooltip.show { - opacity: 0.9; -} - -.tooltip .tooltip-arrow { - position: absolute; - display: block; - width: 0.8rem; - height: 0.4rem; -} - -.tooltip .tooltip-arrow::before { - position: absolute; - content: ""; - border-color: transparent; - border-style: solid; -} - -.bs-tooltip-top, -.bs-tooltip-auto[data-popper-placement^=top] { - padding: 0.4rem 0; -} - -.bs-tooltip-top .tooltip-arrow, -.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow { - bottom: 0; -} - -.bs-tooltip-top .tooltip-arrow::before, -.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before { - top: -1px; - border-width: 0.4rem 0.4rem 0; - border-top-color: #000; -} - -.bs-tooltip-end, -.bs-tooltip-auto[data-popper-placement^=right] { - padding: 0 0.4rem; -} - -.bs-tooltip-end .tooltip-arrow, -.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow { - left: 0; - width: 0.4rem; - height: 0.8rem; -} - -.bs-tooltip-end .tooltip-arrow::before, -.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before { - right: -1px; - border-width: 0.4rem 0.4rem 0.4rem 0; - border-right-color: #000; -} - -.bs-tooltip-bottom, -.bs-tooltip-auto[data-popper-placement^=bottom] { - padding: 0.4rem 0; -} - -.bs-tooltip-bottom .tooltip-arrow, -.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow { - top: 0; -} - -.bs-tooltip-bottom .tooltip-arrow::before, -.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before { - bottom: -1px; - border-width: 0 0.4rem 0.4rem; - border-bottom-color: #000; -} - -.bs-tooltip-start, -.bs-tooltip-auto[data-popper-placement^=left] { - padding: 0 0.4rem; -} - -.bs-tooltip-start .tooltip-arrow, -.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow { - right: 0; - width: 0.4rem; - height: 0.8rem; -} - -.bs-tooltip-start .tooltip-arrow::before, -.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before { - left: -1px; - border-width: 0.4rem 0 0.4rem 0.4rem; - border-left-color: #000; -} - -.tooltip-inner { - max-width: 200px; - padding: 0.25rem 0.5rem; - color: #fff; - text-align: center; - background-color: #000; - border-radius: 0.25rem; -} - -.popover { - position: absolute; - top: 0; - left: 0 - /* rtl:ignore */ - ; - z-index: 1070; - display: block; - max-width: 276px; - font-family: var(--bs-font-sans-serif); - font-style: normal; - font-weight: 400; - line-height: 1.5; - text-align: left; - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - white-space: normal; - line-break: auto; - font-size: 0.875rem; - word-wrap: break-word; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 0.3rem; -} - -.popover .popover-arrow { - position: absolute; - display: block; - width: 1rem; - height: 0.5rem; -} - -.popover .popover-arrow::before, -.popover .popover-arrow::after { - position: absolute; - display: block; - content: ""; - border-color: transparent; - border-style: solid; -} - -.bs-popover-top>.popover-arrow, -.bs-popover-auto[data-popper-placement^=top]>.popover-arrow { - bottom: calc(-0.5rem - 1px); -} - -.bs-popover-top>.popover-arrow::before, -.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before { - bottom: 0; - border-width: 0.5rem 0.5rem 0; - border-top-color: rgba(0, 0, 0, 0.25); -} - -.bs-popover-top>.popover-arrow::after, -.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after { - bottom: 1px; - border-width: 0.5rem 0.5rem 0; - border-top-color: #fff; -} - -.bs-popover-end>.popover-arrow, -.bs-popover-auto[data-popper-placement^=right]>.popover-arrow { - left: calc(-0.5rem - 1px); - width: 0.5rem; - height: 1rem; -} - -.bs-popover-end>.popover-arrow::before, -.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before { - left: 0; - border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: rgba(0, 0, 0, 0.25); -} - -.bs-popover-end>.popover-arrow::after, -.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after { - left: 1px; - border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: #fff; -} - -.bs-popover-bottom>.popover-arrow, -.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow { - top: calc(-0.5rem - 1px); -} - -.bs-popover-bottom>.popover-arrow::before, -.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before { - top: 0; - border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: rgba(0, 0, 0, 0.25); -} - -.bs-popover-bottom>.popover-arrow::after, -.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after { - top: 1px; - border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: #fff; -} - -.bs-popover-bottom .popover-header::before, -.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before { - position: absolute; - top: 0; - left: 50%; - display: block; - width: 1rem; - margin-left: -0.5rem; - content: ""; - border-bottom: 1px solid #f0f0f0; -} - -.bs-popover-start>.popover-arrow, -.bs-popover-auto[data-popper-placement^=left]>.popover-arrow { - right: calc(-0.5rem - 1px); - width: 0.5rem; - height: 1rem; -} - -.bs-popover-start>.popover-arrow::before, -.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before { - right: 0; - border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: rgba(0, 0, 0, 0.25); -} - -.bs-popover-start>.popover-arrow::after, -.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after { - right: 1px; - border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: #fff; -} - -.popover-header { - padding: 0.5rem 1rem; - margin-bottom: 0; - font-size: 1rem; - background-color: #f0f0f0; - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - border-top-left-radius: calc(0.3rem - 1px); - border-top-right-radius: calc(0.3rem - 1px); -} - -.popover-header:empty { - display: none; -} - -.popover-body { - padding: 1rem 1rem; - color: #212529; -} - -.carousel { - position: relative; -} - -.carousel.pointer-event { - touch-action: pan-y; -} - -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} - -.carousel-inner::after { - display: block; - clear: both; - content: ""; -} - -.carousel-item { - position: relative; - display: none; - float: left; - width: 100%; - margin-right: -100%; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - transition: transform 0.6s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .carousel-item { - transition: none; - } -} - -.carousel-item.active, -.carousel-item-next, -.carousel-item-prev { - display: block; -} - -/* rtl:begin:ignore */ -.carousel-item-next:not(.carousel-item-start), -.active.carousel-item-end { - transform: translateX(100%); -} - -.carousel-item-prev:not(.carousel-item-end), -.active.carousel-item-start { - transform: translateX(-100%); -} - -/* rtl:end:ignore */ -.carousel-fade .carousel-item { - opacity: 0; - transition-property: opacity; - transform: none; -} - -.carousel-fade .carousel-item.active, -.carousel-fade .carousel-item-next.carousel-item-start, -.carousel-fade .carousel-item-prev.carousel-item-end { - z-index: 1; - opacity: 1; -} - -.carousel-fade .active.carousel-item-start, -.carousel-fade .active.carousel-item-end { - z-index: 0; - opacity: 0; - transition: opacity 0s 0.6s; -} - -@media (prefers-reduced-motion: reduce) { - - .carousel-fade .active.carousel-item-start, - .carousel-fade .active.carousel-item-end { - transition: none; - } -} - -.carousel-control-prev, -.carousel-control-next { - position: absolute; - top: 0; - bottom: 0; - z-index: 1; - display: flex; - align-items: center; - justify-content: center; - width: 15%; - padding: 0; - color: #fff; - text-align: center; - background: none; - border: 0; - opacity: 0.5; - transition: opacity 0.15s ease; -} - -@media (prefers-reduced-motion: reduce) { - - .carousel-control-prev, - .carousel-control-next { - transition: none; - } -} - -.carousel-control-prev:hover, -.carousel-control-prev:focus, -.carousel-control-next:hover, -.carousel-control-next:focus { - color: #fff; - text-decoration: none; - outline: 0; - opacity: 0.9; -} - -.carousel-control-prev { - left: 0; -} - -.carousel-control-next { - right: 0; -} - -.carousel-control-prev-icon, -.carousel-control-next-icon { - display: inline-block; - width: 2rem; - height: 2rem; - background-repeat: no-repeat; - background-position: 50%; - background-size: 100% 100%; -} - -/* rtl:options: { - "autoRename": true, - "stringMap":[ { - "name" : "prev-next", - "search" : "prev", - "replace" : "next" - } ] -} */ -.carousel-control-prev-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); -} - -.carousel-control-next-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); -} - -.carousel-indicators { - position: absolute; - right: 0; - bottom: 0; - left: 0; - z-index: 2; - display: flex; - justify-content: center; - padding: 0; - margin-right: 15%; - margin-bottom: 1rem; - margin-left: 15%; - list-style: none; -} - -.carousel-indicators [data-bs-target] { - box-sizing: content-box; - flex: 0 1 auto; - width: 30px; - height: 3px; - padding: 0; - margin-right: 3px; - margin-left: 3px; - text-indent: -999px; - cursor: pointer; - background-color: #fff; - background-clip: padding-box; - border: 0; - border-top: 10px solid transparent; - border-bottom: 10px solid transparent; - opacity: 0.5; - transition: opacity 0.6s ease; -} - -@media (prefers-reduced-motion: reduce) { - .carousel-indicators [data-bs-target] { - transition: none; - } -} - -.carousel-indicators .active { - opacity: 1; -} - -.carousel-caption { - position: absolute; - right: 15%; - bottom: 1.25rem; - left: 15%; - padding-top: 1.25rem; - padding-bottom: 1.25rem; - color: #fff; - text-align: center; -} - -.carousel-dark .carousel-control-prev-icon, -.carousel-dark .carousel-control-next-icon { - filter: invert(1) grayscale(100); -} - -.carousel-dark .carousel-indicators [data-bs-target] { - background-color: #000; -} - -.carousel-dark .carousel-caption { - color: #000; -} - -@-webkit-keyframes spinner-border { - to { - transform: rotate(360deg) - /* rtl:ignore */ - ; - } -} - -@keyframes spinner-border { - to { - transform: rotate(360deg) - /* rtl:ignore */ - ; - } -} - -.spinner-border { - display: inline-block; - width: 2rem; - height: 2rem; - vertical-align: -0.125em; - border: 0.25em solid currentColor; - border-right-color: transparent; - border-radius: 50%; - -webkit-animation: 0.75s linear infinite spinner-border; - animation: 0.75s linear infinite spinner-border; -} - -.spinner-border-sm { - width: 1rem; - height: 1rem; - border-width: 0.2em; -} - -@-webkit-keyframes spinner-grow { - 0% { - transform: scale(0); - } - - 50% { - opacity: 1; - transform: none; - } -} - -@keyframes spinner-grow { - 0% { - transform: scale(0); - } - - 50% { - opacity: 1; - transform: none; - } -} - -.spinner-grow { - display: inline-block; - width: 2rem; - height: 2rem; - vertical-align: -0.125em; - background-color: currentColor; - border-radius: 50%; - opacity: 0; - -webkit-animation: 0.75s linear infinite spinner-grow; - animation: 0.75s linear infinite spinner-grow; -} - -.spinner-grow-sm { - width: 1rem; - height: 1rem; -} - -@media (prefers-reduced-motion: reduce) { - - .spinner-border, - .spinner-grow { - -webkit-animation-duration: 1.5s; - animation-duration: 1.5s; - } -} - -.offcanvas { - position: fixed; - bottom: 0; - z-index: 1045; - display: flex; - flex-direction: column; - max-width: 100%; - visibility: hidden; - background-color: #fff; - background-clip: padding-box; - outline: 0; - transition: transform 0.3s ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - .offcanvas { - transition: none; - } -} - -.offcanvas-backdrop { - position: fixed; - top: 0; - left: 0; - z-index: 1040; - width: 100vw; - height: 100vh; - background-color: #000; -} - -.offcanvas-backdrop.fade { - opacity: 0; -} - -.offcanvas-backdrop.show { - opacity: 0.5; -} - -.offcanvas-header { - display: flex; - align-items: center; - justify-content: space-between; - padding: 1rem 1rem; -} - -.offcanvas-header .btn-close { - padding: 0.5rem 0.5rem; - margin-top: -0.5rem; - margin-right: -0.5rem; - margin-bottom: -0.5rem; -} - -.offcanvas-title { - margin-bottom: 0; - line-height: 1.5; -} - -.offcanvas-body { - flex-grow: 1; - padding: 1rem 1rem; - overflow-y: auto; -} - -.offcanvas-start { - top: 0; - left: 0; - width: 400px; - border-right: 1px solid rgba(0, 0, 0, 0.2); - transform: translateX(-100%); -} - -.offcanvas-end { - top: 0; - right: 0; - width: 400px; - border-left: 1px solid rgba(0, 0, 0, 0.2); - transform: translateX(100%); -} - -.offcanvas-top { - top: 0; - right: 0; - left: 0; - height: 30vh; - max-height: 100%; - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - transform: translateY(-100%); -} - -.offcanvas-bottom { - right: 0; - left: 0; - height: 30vh; - max-height: 100%; - border-top: 1px solid rgba(0, 0, 0, 0.2); - transform: translateY(100%); -} - -.offcanvas.show { - transform: none; -} - -.placeholder { - display: inline-block; - min-height: 1em; - vertical-align: middle; - cursor: wait; - background-color: currentColor; - opacity: 0.5; -} - -.placeholder.btn::before { - display: inline-block; - content: ""; -} - -.placeholder-xs { - min-height: 0.6em; -} - -.placeholder-sm { - min-height: 0.8em; -} - -.placeholder-lg { - min-height: 1.2em; -} - -.placeholder-glow .placeholder { - -webkit-animation: placeholder-glow 2s ease-in-out infinite; - animation: placeholder-glow 2s ease-in-out infinite; -} - -@-webkit-keyframes placeholder-glow { - 50% { - opacity: 0.2; - } -} - -@keyframes placeholder-glow { - 50% { - opacity: 0.2; - } -} - -.placeholder-wave { - -webkit-mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); - mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); - -webkit-mask-size: 200% 100%; - mask-size: 200% 100%; - -webkit-animation: placeholder-wave 2s linear infinite; - animation: placeholder-wave 2s linear infinite; -} - -@-webkit-keyframes placeholder-wave { - 100% { - -webkit-mask-position: -200% 0%; - mask-position: -200% 0%; - } -} - -@keyframes placeholder-wave { - 100% { - -webkit-mask-position: -200% 0%; - mask-position: -200% 0%; - } -} - -.clearfix::after { - display: block; - clear: both; - content: ""; -} - -.link-primary { - color: #0d6efd; -} - -.link-primary:hover, -.link-primary:focus { - color: #0a58ca; -} - -.link-secondary { - color: #6c757d; -} - -.link-secondary:hover, -.link-secondary:focus { - color: #565e64; -} - -.link-success { - color: #198754; -} - -.link-success:hover, -.link-success:focus { - color: #146c43; -} - -.link-info { - color: #0dcaf0; -} - -.link-info:hover, -.link-info:focus { - color: #3dd5f3; -} - -.link-warning { - color: #ffc107; -} - -.link-warning:hover, -.link-warning:focus { - color: #ffcd39; -} - -.link-danger { - color: #dc3545; -} - -.link-danger:hover, -.link-danger:focus { - color: #b02a37; -} - -.link-light { - color: #f8f9fa; -} - -.link-light:hover, -.link-light:focus { - color: #f9fafb; -} - -.link-dark { - color: #212529; -} - -.link-dark:hover, -.link-dark:focus { - color: #1a1e21; -} - -.ratio { - position: relative; - width: 100%; -} - -.ratio::before { - display: block; - padding-top: var(--bs-aspect-ratio); - content: ""; -} - -.ratio>* { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.ratio-1x1 { - --bs-aspect-ratio: 100%; -} - -.ratio-4x3 { - --bs-aspect-ratio: 75%; -} - -.ratio-16x9 { - --bs-aspect-ratio: 56.25%; -} - -.ratio-21x9 { - --bs-aspect-ratio: 42.8571428571%; -} - -.fixed-top { - position: fixed; - top: 0; - right: 0; - left: 0; - z-index: 1030; -} - -.fixed-bottom { - position: fixed; - right: 0; - bottom: 0; - left: 0; - z-index: 1030; -} - -.sticky-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; -} - -@media (min-width: 576px) { - .sticky-sm-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; - } -} - -@media (min-width: 768px) { - .sticky-md-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; - } -} - -@media (min-width: 992px) { - .sticky-lg-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; - } -} - -@media (min-width: 1200px) { - .sticky-xl-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; - } -} - -@media (min-width: 1400px) { - .sticky-xxl-top { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1020; - } -} - -.hstack { - display: flex; - flex-direction: row; - align-items: center; - align-self: stretch; -} - -.vstack { - display: flex; - flex: 1 1 auto; - flex-direction: column; - align-self: stretch; -} - -.visually-hidden, -.visually-hidden-focusable:not(:focus):not(:focus-within) { - position: absolute !important; - width: 1px !important; - height: 1px !important; - padding: 0 !important; - margin: -1px !important; - overflow: hidden !important; - clip: rect(0, 0, 0, 0) !important; - white-space: nowrap !important; - border: 0 !important; -} - -.stretched-link::after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - content: ""; -} - -.text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.vr { - display: inline-block; - align-self: stretch; - width: 1px; - min-height: 1em; - background-color: currentColor; - opacity: 0.25; -} - -.align-baseline { - vertical-align: baseline !important; -} - -.align-top { - vertical-align: top !important; -} - -.align-middle { - vertical-align: middle !important; -} - -.align-bottom { - vertical-align: bottom !important; -} - -.align-text-bottom { - vertical-align: text-bottom !important; -} - -.align-text-top { - vertical-align: text-top !important; -} - -.float-start { - float: left !important; -} - -.float-end { - float: right !important; -} - -.float-none { - float: none !important; -} - -.opacity-0 { - opacity: 0 !important; -} - -.opacity-25 { - opacity: 0.25 !important; -} - -.opacity-50 { - opacity: 0.5 !important; -} - -.opacity-75 { - opacity: 0.75 !important; -} - -.opacity-100 { - opacity: 1 !important; -} - -.overflow-auto { - overflow: auto !important; -} - -.overflow-hidden { - overflow: hidden !important; -} - -.overflow-visible { - overflow: visible !important; -} - -.overflow-scroll { - overflow: scroll !important; -} - -.d-inline { - display: inline !important; -} - -.d-inline-block { - display: inline-block !important; -} - -.d-block { - display: block !important; -} - -.d-grid { - display: grid !important; -} - -.d-table { - display: table !important; -} - -.d-table-row { - display: table-row !important; -} - -.d-table-cell { - display: table-cell !important; -} - -.d-flex { - display: flex !important; -} - -.d-inline-flex { - display: inline-flex !important; -} - -.d-none { - display: none !important; -} - -.shadow { - box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; -} - -.shadow-sm { - box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; -} - -.shadow-lg { - box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; -} - -.shadow-none { - box-shadow: none !important; -} - -.position-static { - position: static !important; -} - -.position-relative { - position: relative !important; -} - -.position-absolute { - position: absolute !important; -} - -.position-fixed { - position: fixed !important; -} - -.position-sticky { - position: -webkit-sticky !important; - position: sticky !important; -} - -.top-0 { - top: 0 !important; -} - -.top-50 { - top: 50% !important; -} - -.top-100 { - top: 100% !important; -} - -.bottom-0 { - bottom: 0 !important; -} - -.bottom-50 { - bottom: 50% !important; -} - -.bottom-100 { - bottom: 100% !important; -} - -.start-0 { - left: 0 !important; -} - -.start-50 { - left: 50% !important; -} - -.start-100 { - left: 100% !important; -} - -.end-0 { - right: 0 !important; -} - -.end-50 { - right: 50% !important; -} - -.end-100 { - right: 100% !important; -} - -.translate-middle { - transform: translate(-50%, -50%) !important; -} - -.translate-middle-x { - transform: translateX(-50%) !important; -} - -.translate-middle-y { - transform: translateY(-50%) !important; -} - -.border { - border: 1px solid #dee2e6 !important; -} - -.border-0 { - border: 0 !important; -} - -.border-top { - border-top: 1px solid #dee2e6 !important; -} - -.border-top-0 { - border-top: 0 !important; -} - -.border-end { - border-right: 1px solid #dee2e6 !important; -} - -.border-end-0 { - border-right: 0 !important; -} - -.border-bottom { - border-bottom: 1px solid #dee2e6 !important; -} - -.border-bottom-0 { - border-bottom: 0 !important; -} - -.border-start { - border-left: 1px solid #dee2e6 !important; -} - -.border-start-0 { - border-left: 0 !important; -} - -.border-primary { - border-color: #0d6efd !important; -} - -.border-secondary { - border-color: #6c757d !important; -} - -.border-success { - border-color: #198754 !important; -} - -.border-info { - border-color: #0dcaf0 !important; -} - -.border-warning { - border-color: #ffc107 !important; -} - -.border-danger { - border-color: #dc3545 !important; -} - -.border-light { - border-color: #f8f9fa !important; -} - -.border-dark { - border-color: #212529 !important; -} - -.border-white { - border-color: #fff !important; -} - -.border-1 { - border-width: 1px !important; -} - -.border-2 { - border-width: 2px !important; -} - -.border-3 { - border-width: 3px !important; -} - -.border-4 { - border-width: 4px !important; -} - -.border-5 { - border-width: 5px !important; -} - -.w-25 { - width: 25% !important; -} - -.w-50 { - width: 50% !important; -} - -.w-75 { - width: 75% !important; -} - -.w-100 { - width: 100% !important; -} - -.w-auto { - width: auto !important; -} - -.mw-100 { - max-width: 100% !important; -} - -.vw-100 { - width: 100vw !important; -} - -.min-vw-100 { - min-width: 100vw !important; -} - -.h-25 { - height: 25% !important; -} - -.h-50 { - height: 50% !important; -} - -.h-75 { - height: 75% !important; -} - -.h-100 { - height: 100% !important; -} - -.h-auto { - height: auto !important; -} - -.mh-100 { - max-height: 100% !important; -} - -.vh-100 { - height: 100vh !important; -} - -.min-vh-100 { - min-height: 100vh !important; -} - -.flex-fill { - flex: 1 1 auto !important; -} - -.flex-row { - flex-direction: row !important; -} - -.flex-column { - flex-direction: column !important; -} - -.flex-row-reverse { - flex-direction: row-reverse !important; -} - -.flex-column-reverse { - flex-direction: column-reverse !important; -} - -.flex-grow-0 { - flex-grow: 0 !important; -} - -.flex-grow-1 { - flex-grow: 1 !important; -} - -.flex-shrink-0 { - flex-shrink: 0 !important; -} - -.flex-shrink-1 { - flex-shrink: 1 !important; -} - -.flex-wrap { - flex-wrap: wrap !important; -} - -.flex-nowrap { - flex-wrap: nowrap !important; -} - -.flex-wrap-reverse { - flex-wrap: wrap-reverse !important; -} - -.gap-0 { - gap: 0 !important; -} - -.gap-1 { - gap: 0.25rem !important; -} - -.gap-2 { - gap: 0.5rem !important; -} - -.gap-3 { - gap: 1rem !important; -} - -.gap-4 { - gap: 1.5rem !important; -} - -.gap-5 { - gap: 3rem !important; -} - -.justify-content-start { - justify-content: flex-start !important; -} - -.justify-content-end { - justify-content: flex-end !important; -} - -.justify-content-center { - justify-content: center !important; -} - -.justify-content-between { - justify-content: space-between !important; -} - -.justify-content-around { - justify-content: space-around !important; -} - -.justify-content-evenly { - justify-content: space-evenly !important; -} - -.align-items-start { - align-items: flex-start !important; -} - -.align-items-end { - align-items: flex-end !important; -} - -.align-items-center { - align-items: center !important; -} - -.align-items-baseline { - align-items: baseline !important; -} - -.align-items-stretch { - align-items: stretch !important; -} - -.align-content-start { - align-content: flex-start !important; -} - -.align-content-end { - align-content: flex-end !important; -} - -.align-content-center { - align-content: center !important; -} - -.align-content-between { - align-content: space-between !important; -} - -.align-content-around { - align-content: space-around !important; -} - -.align-content-stretch { - align-content: stretch !important; -} - -.align-self-auto { - align-self: auto !important; -} - -.align-self-start { - align-self: flex-start !important; -} - -.align-self-end { - align-self: flex-end !important; -} - -.align-self-center { - align-self: center !important; -} - -.align-self-baseline { - align-self: baseline !important; -} - -.align-self-stretch { - align-self: stretch !important; -} - -.order-first { - order: -1 !important; -} - -.order-0 { - order: 0 !important; -} - -.order-1 { - order: 1 !important; -} - -.order-2 { - order: 2 !important; -} - -.order-3 { - order: 3 !important; -} - -.order-4 { - order: 4 !important; -} - -.order-5 { - order: 5 !important; -} - -.order-last { - order: 6 !important; -} - -.m-0 { - margin: 0 !important; -} - -.m-1 { - margin: 0.25rem !important; -} - -.m-2 { - margin: 0.5rem !important; -} - -.m-3 { - margin: 1rem !important; -} - -.m-4 { - margin: 1.5rem !important; -} - -.m-5 { - margin: 3rem !important; -} - -.m-auto { - margin: auto !important; -} - -.mx-0 { - margin-right: 0 !important; - margin-left: 0 !important; -} - -.mx-1 { - margin-right: 0.25rem !important; - margin-left: 0.25rem !important; -} - -.mx-2 { - margin-right: 0.5rem !important; - margin-left: 0.5rem !important; -} - -.mx-3 { - margin-right: 1rem !important; - margin-left: 1rem !important; -} - -.mx-4 { - margin-right: 1.5rem !important; - margin-left: 1.5rem !important; -} - -.mx-5 { - margin-right: 3rem !important; - margin-left: 3rem !important; -} - -.mx-auto { - margin-right: auto !important; - margin-left: auto !important; -} - -.my-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; -} - -.my-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; -} - -.my-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; -} - -.my-3 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; -} - -.my-4 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; -} - -.my-5 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; -} - -.my-auto { - margin-top: auto !important; - margin-bottom: auto !important; -} - -.mt-0 { - margin-top: 0 !important; -} - -.mt-1 { - margin-top: 0.25rem !important; -} - -.mt-2 { - margin-top: 0.5rem !important; -} - -.mt-3 { - margin-top: 1rem !important; -} - -.mt-4 { - margin-top: 1.5rem !important; -} - -.mt-5 { - margin-top: 3rem !important; -} - -.mt-auto { - margin-top: auto !important; -} - -.me-0 { - margin-right: 0 !important; -} - -.me-1 { - margin-right: 0.25rem !important; -} - -.me-2 { - margin-right: 0.5rem !important; -} - -.me-3 { - margin-right: 1rem !important; -} - -.me-4 { - margin-right: 1.5rem !important; -} - -.me-5 { - margin-right: 3rem !important; -} - -.me-auto { - margin-right: auto !important; -} - -.mb-0 { - margin-bottom: 0 !important; -} - -.mb-1 { - margin-bottom: 0.25rem !important; -} - -.mb-2 { - margin-bottom: 0.5rem !important; -} - -.mb-3 { - margin-bottom: 1rem !important; -} - -.mb-4 { - margin-bottom: 1.5rem !important; -} - -.mb-5 { - margin-bottom: 3rem !important; -} - -.mb-auto { - margin-bottom: auto !important; -} - -.ms-0 { - margin-left: 0 !important; -} - -.ms-1 { - margin-left: 0.25rem !important; -} - -.ms-2 { - margin-left: 0.5rem !important; -} - -.ms-3 { - margin-left: 1rem !important; -} - -.ms-4 { - margin-left: 1.5rem !important; -} - -.ms-5 { - margin-left: 3rem !important; -} - -.ms-auto { - margin-left: auto !important; -} - -.p-0 { - padding: 0 !important; -} - -.p-1 { - padding: 0.25rem !important; -} - -.p-2 { - padding: 0.5rem !important; -} - -.p-3 { - padding: 1rem !important; -} - -.p-4 { - padding: 1.5rem !important; -} - -.p-5 { - padding: 3rem !important; -} - -.px-0 { - padding-right: 0 !important; - padding-left: 0 !important; -} - -.px-1 { - padding-right: 0.25rem !important; - padding-left: 0.25rem !important; -} - -.px-2 { - padding-right: 0.5rem !important; - padding-left: 0.5rem !important; -} - -.px-3 { - padding-right: 1rem !important; - padding-left: 1rem !important; -} - -.px-4 { - padding-right: 1.5rem !important; - padding-left: 1.5rem !important; -} - -.px-5 { - padding-right: 3rem !important; - padding-left: 3rem !important; -} - -.py-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; -} - -.py-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; -} - -.py-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; -} - -.py-3 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; -} - -.py-4 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; -} - -.py-5 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; -} - -.pt-0 { - padding-top: 0 !important; -} - -.pt-1 { - padding-top: 0.25rem !important; -} - -.pt-2 { - padding-top: 0.5rem !important; -} - -.pt-3 { - padding-top: 1rem !important; -} - -.pt-4 { - padding-top: 1.5rem !important; -} - -.pt-5 { - padding-top: 3rem !important; -} - -.pe-0 { - padding-right: 0 !important; -} - -.pe-1 { - padding-right: 0.25rem !important; -} - -.pe-2 { - padding-right: 0.5rem !important; -} - -.pe-3 { - padding-right: 1rem !important; -} - -.pe-4 { - padding-right: 1.5rem !important; -} - -.pe-5 { - padding-right: 3rem !important; -} - -.pb-0 { - padding-bottom: 0 !important; -} - -.pb-1 { - padding-bottom: 0.25rem !important; -} - -.pb-2 { - padding-bottom: 0.5rem !important; -} - -.pb-3 { - padding-bottom: 1rem !important; -} - -.pb-4 { - padding-bottom: 1.5rem !important; -} - -.pb-5 { - padding-bottom: 3rem !important; -} - -.ps-0 { - padding-left: 0 !important; -} - -.ps-1 { - padding-left: 0.25rem !important; -} - -.ps-2 { - padding-left: 0.5rem !important; -} - -.ps-3 { - padding-left: 1rem !important; -} - -.ps-4 { - padding-left: 1.5rem !important; -} - -.ps-5 { - padding-left: 3rem !important; -} - -.font-monospace { - font-family: var(--bs-font-monospace) !important; -} - -.fs-1 { - font-size: calc(1.375rem + 1.5vw) !important; -} - -.fs-2 { - font-size: calc(1.325rem + 0.9vw) !important; -} - -.fs-3 { - font-size: calc(1.3rem + 0.6vw) !important; -} - -.fs-4 { - font-size: calc(1.275rem + 0.3vw) !important; -} - -.fs-5 { - font-size: 1.25rem !important; -} - -.fs-6 { - font-size: 1rem !important; -} - -.fst-italic { - font-style: italic !important; -} - -.fst-normal { - font-style: normal !important; -} - -.fw-light { - font-weight: 300 !important; -} - -.fw-lighter { - font-weight: lighter !important; -} - -.fw-normal { - font-weight: 400 !important; -} - -.fw-bold { - font-weight: 700 !important; -} - -.fw-bolder { - font-weight: bolder !important; -} - -.lh-1 { - line-height: 1 !important; -} - -.lh-sm { - line-height: 1.25 !important; -} - -.lh-base { - line-height: 1.5 !important; -} - -.lh-lg { - line-height: 2 !important; -} - -.text-start { - text-align: left !important; -} - -.text-end { - text-align: right !important; -} - -.text-center { - text-align: center !important; -} - -.text-decoration-none { - text-decoration: none !important; -} - -.text-decoration-underline { - text-decoration: underline !important; -} - -.text-decoration-line-through { - text-decoration: line-through !important; -} - -.text-lowercase { - text-transform: lowercase !important; -} - -.text-uppercase { - text-transform: uppercase !important; -} - -.text-capitalize { - text-transform: capitalize !important; -} - -.text-wrap { - white-space: normal !important; -} - -.text-nowrap { - white-space: nowrap !important; -} - -/* rtl:begin:remove */ -.text-break { - word-wrap: break-word !important; - word-break: break-word !important; -} - -/* rtl:end:remove */ -.text-primary { - --bs-text-opacity: 1; - color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important; -} - -.text-secondary { - --bs-text-opacity: 1; - color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important; -} - -.text-success { - --bs-text-opacity: 1; - color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important; -} - -.text-info { - --bs-text-opacity: 1; - color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important; -} - -.text-warning { - --bs-text-opacity: 1; - color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important; -} - -.text-danger { - --bs-text-opacity: 1; - color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important; -} - -.text-light { - --bs-text-opacity: 1; - color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important; -} - -.text-dark { - --bs-text-opacity: 1; - color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important; -} - -.text-black { - --bs-text-opacity: 1; - color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important; -} - -.text-white { - --bs-text-opacity: 1; - color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important; -} - -.text-body { - --bs-text-opacity: 1; - color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important; -} - -.text-muted { - --bs-text-opacity: 1; - color: #6c757d !important; -} - -.text-black-50 { - --bs-text-opacity: 1; - color: rgba(0, 0, 0, 0.5) !important; -} - -.text-white-50 { - --bs-text-opacity: 1; - color: rgba(255, 255, 255, 0.5) !important; -} - -.text-reset { - --bs-text-opacity: 1; - color: inherit !important; -} - -.text-opacity-25 { - --bs-text-opacity: 0.25; -} - -.text-opacity-50 { - --bs-text-opacity: 0.5; -} - -.text-opacity-75 { - --bs-text-opacity: 0.75; -} - -.text-opacity-100 { - --bs-text-opacity: 1; -} - -.bg-primary { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-secondary { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-success { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-info { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-warning { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-danger { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-light { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-dark { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-black { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-white { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-body { - --bs-bg-opacity: 1; - background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important; -} - -.bg-transparent { - --bs-bg-opacity: 1; - background-color: transparent !important; -} - -.bg-opacity-10 { - --bs-bg-opacity: 0.1; -} - -.bg-opacity-25 { - --bs-bg-opacity: 0.25; -} - -.bg-opacity-50 { - --bs-bg-opacity: 0.5; -} - -.bg-opacity-75 { - --bs-bg-opacity: 0.75; -} - -.bg-opacity-100 { - --bs-bg-opacity: 1; -} - -.bg-gradient { - background-image: var(--bs-gradient) !important; -} - -.user-select-all { - -webkit-user-select: all !important; - -moz-user-select: all !important; - user-select: all !important; -} - -.user-select-auto { - -webkit-user-select: auto !important; - -moz-user-select: auto !important; - user-select: auto !important; -} - -.user-select-none { - -webkit-user-select: none !important; - -moz-user-select: none !important; - user-select: none !important; -} - -.pe-none { - pointer-events: none !important; -} - -.pe-auto { - pointer-events: auto !important; -} - -.rounded { - border-radius: 0.25rem !important; -} - -.rounded-0 { - border-radius: 0 !important; -} - -.rounded-1 { - border-radius: 0.2rem !important; -} - -.rounded-2 { - border-radius: 0.25rem !important; -} - -.rounded-3 { - border-radius: 0.3rem !important; -} - -.rounded-circle { - border-radius: 50% !important; -} - -.rounded-pill { - border-radius: 50rem !important; -} - -.rounded-top { - border-top-left-radius: 0.25rem !important; - border-top-right-radius: 0.25rem !important; -} - -.rounded-end { - border-top-right-radius: 0.25rem !important; - border-bottom-right-radius: 0.25rem !important; -} - -.rounded-bottom { - border-bottom-right-radius: 0.25rem !important; - border-bottom-left-radius: 0.25rem !important; -} - -.rounded-start { - border-bottom-left-radius: 0.25rem !important; - border-top-left-radius: 0.25rem !important; -} - -.visible { - visibility: visible !important; -} - -.invisible { - visibility: hidden !important; -} - -@media (min-width: 576px) { - .float-sm-start { - float: left !important; - } - - .float-sm-end { - float: right !important; - } - - .float-sm-none { - float: none !important; - } - - .d-sm-inline { - display: inline !important; - } - - .d-sm-inline-block { - display: inline-block !important; - } - - .d-sm-block { - display: block !important; - } - - .d-sm-grid { - display: grid !important; - } - - .d-sm-table { - display: table !important; - } - - .d-sm-table-row { - display: table-row !important; - } - - .d-sm-table-cell { - display: table-cell !important; - } - - .d-sm-flex { - display: flex !important; - } - - .d-sm-inline-flex { - display: inline-flex !important; - } - - .d-sm-none { - display: none !important; - } - - .flex-sm-fill { - flex: 1 1 auto !important; - } - - .flex-sm-row { - flex-direction: row !important; - } - - .flex-sm-column { - flex-direction: column !important; - } - - .flex-sm-row-reverse { - flex-direction: row-reverse !important; - } - - .flex-sm-column-reverse { - flex-direction: column-reverse !important; - } - - .flex-sm-grow-0 { - flex-grow: 0 !important; - } - - .flex-sm-grow-1 { - flex-grow: 1 !important; - } - - .flex-sm-shrink-0 { - flex-shrink: 0 !important; - } - - .flex-sm-shrink-1 { - flex-shrink: 1 !important; - } - - .flex-sm-wrap { - flex-wrap: wrap !important; - } - - .flex-sm-nowrap { - flex-wrap: nowrap !important; - } - - .flex-sm-wrap-reverse { - flex-wrap: wrap-reverse !important; - } - - .gap-sm-0 { - gap: 0 !important; - } - - .gap-sm-1 { - gap: 0.25rem !important; - } - - .gap-sm-2 { - gap: 0.5rem !important; - } - - .gap-sm-3 { - gap: 1rem !important; - } - - .gap-sm-4 { - gap: 1.5rem !important; - } - - .gap-sm-5 { - gap: 3rem !important; - } - - .justify-content-sm-start { - justify-content: flex-start !important; - } - - .justify-content-sm-end { - justify-content: flex-end !important; - } - - .justify-content-sm-center { - justify-content: center !important; - } - - .justify-content-sm-between { - justify-content: space-between !important; - } - - .justify-content-sm-around { - justify-content: space-around !important; - } - - .justify-content-sm-evenly { - justify-content: space-evenly !important; - } - - .align-items-sm-start { - align-items: flex-start !important; - } - - .align-items-sm-end { - align-items: flex-end !important; - } - - .align-items-sm-center { - align-items: center !important; - } - - .align-items-sm-baseline { - align-items: baseline !important; - } - - .align-items-sm-stretch { - align-items: stretch !important; - } - - .align-content-sm-start { - align-content: flex-start !important; - } - - .align-content-sm-end { - align-content: flex-end !important; - } - - .align-content-sm-center { - align-content: center !important; - } - - .align-content-sm-between { - align-content: space-between !important; - } - - .align-content-sm-around { - align-content: space-around !important; - } - - .align-content-sm-stretch { - align-content: stretch !important; - } - - .align-self-sm-auto { - align-self: auto !important; - } - - .align-self-sm-start { - align-self: flex-start !important; - } - - .align-self-sm-end { - align-self: flex-end !important; - } - - .align-self-sm-center { - align-self: center !important; - } - - .align-self-sm-baseline { - align-self: baseline !important; - } - - .align-self-sm-stretch { - align-self: stretch !important; - } - - .order-sm-first { - order: -1 !important; - } - - .order-sm-0 { - order: 0 !important; - } - - .order-sm-1 { - order: 1 !important; - } - - .order-sm-2 { - order: 2 !important; - } - - .order-sm-3 { - order: 3 !important; - } - - .order-sm-4 { - order: 4 !important; - } - - .order-sm-5 { - order: 5 !important; - } - - .order-sm-last { - order: 6 !important; - } - - .m-sm-0 { - margin: 0 !important; - } - - .m-sm-1 { - margin: 0.25rem !important; - } - - .m-sm-2 { - margin: 0.5rem !important; - } - - .m-sm-3 { - margin: 1rem !important; - } - - .m-sm-4 { - margin: 1.5rem !important; - } - - .m-sm-5 { - margin: 3rem !important; - } - - .m-sm-auto { - margin: auto !important; - } - - .mx-sm-0 { - margin-right: 0 !important; - margin-left: 0 !important; - } - - .mx-sm-1 { - margin-right: 0.25rem !important; - margin-left: 0.25rem !important; - } - - .mx-sm-2 { - margin-right: 0.5rem !important; - margin-left: 0.5rem !important; - } - - .mx-sm-3 { - margin-right: 1rem !important; - margin-left: 1rem !important; - } - - .mx-sm-4 { - margin-right: 1.5rem !important; - margin-left: 1.5rem !important; - } - - .mx-sm-5 { - margin-right: 3rem !important; - margin-left: 3rem !important; - } - - .mx-sm-auto { - margin-right: auto !important; - margin-left: auto !important; - } - - .my-sm-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; - } - - .my-sm-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; - } - - .my-sm-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; - } - - .my-sm-3 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; - } - - .my-sm-4 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; - } - - .my-sm-5 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; - } - - .my-sm-auto { - margin-top: auto !important; - margin-bottom: auto !important; - } - - .mt-sm-0 { - margin-top: 0 !important; - } - - .mt-sm-1 { - margin-top: 0.25rem !important; - } - - .mt-sm-2 { - margin-top: 0.5rem !important; - } - - .mt-sm-3 { - margin-top: 1rem !important; - } - - .mt-sm-4 { - margin-top: 1.5rem !important; - } - - .mt-sm-5 { - margin-top: 3rem !important; - } - - .mt-sm-auto { - margin-top: auto !important; - } - - .me-sm-0 { - margin-right: 0 !important; - } - - .me-sm-1 { - margin-right: 0.25rem !important; - } - - .me-sm-2 { - margin-right: 0.5rem !important; - } - - .me-sm-3 { - margin-right: 1rem !important; - } - - .me-sm-4 { - margin-right: 1.5rem !important; - } - - .me-sm-5 { - margin-right: 3rem !important; - } - - .me-sm-auto { - margin-right: auto !important; - } - - .mb-sm-0 { - margin-bottom: 0 !important; - } - - .mb-sm-1 { - margin-bottom: 0.25rem !important; - } - - .mb-sm-2 { - margin-bottom: 0.5rem !important; - } - - .mb-sm-3 { - margin-bottom: 1rem !important; - } - - .mb-sm-4 { - margin-bottom: 1.5rem !important; - } - - .mb-sm-5 { - margin-bottom: 3rem !important; - } - - .mb-sm-auto { - margin-bottom: auto !important; - } - - .ms-sm-0 { - margin-left: 0 !important; - } - - .ms-sm-1 { - margin-left: 0.25rem !important; - } - - .ms-sm-2 { - margin-left: 0.5rem !important; - } - - .ms-sm-3 { - margin-left: 1rem !important; - } - - .ms-sm-4 { - margin-left: 1.5rem !important; - } - - .ms-sm-5 { - margin-left: 3rem !important; - } - - .ms-sm-auto { - margin-left: auto !important; - } - - .p-sm-0 { - padding: 0 !important; - } - - .p-sm-1 { - padding: 0.25rem !important; - } - - .p-sm-2 { - padding: 0.5rem !important; - } - - .p-sm-3 { - padding: 1rem !important; - } - - .p-sm-4 { - padding: 1.5rem !important; - } - - .p-sm-5 { - padding: 3rem !important; - } - - .px-sm-0 { - padding-right: 0 !important; - padding-left: 0 !important; - } - - .px-sm-1 { - padding-right: 0.25rem !important; - padding-left: 0.25rem !important; - } - - .px-sm-2 { - padding-right: 0.5rem !important; - padding-left: 0.5rem !important; - } - - .px-sm-3 { - padding-right: 1rem !important; - padding-left: 1rem !important; - } - - .px-sm-4 { - padding-right: 1.5rem !important; - padding-left: 1.5rem !important; - } - - .px-sm-5 { - padding-right: 3rem !important; - padding-left: 3rem !important; - } - - .py-sm-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; - } - - .py-sm-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; - } - - .py-sm-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; - } - - .py-sm-3 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; - } - - .py-sm-4 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; - } - - .py-sm-5 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; - } - - .pt-sm-0 { - padding-top: 0 !important; - } - - .pt-sm-1 { - padding-top: 0.25rem !important; - } - - .pt-sm-2 { - padding-top: 0.5rem !important; - } - - .pt-sm-3 { - padding-top: 1rem !important; - } - - .pt-sm-4 { - padding-top: 1.5rem !important; - } - - .pt-sm-5 { - padding-top: 3rem !important; - } - - .pe-sm-0 { - padding-right: 0 !important; - } - - .pe-sm-1 { - padding-right: 0.25rem !important; - } - - .pe-sm-2 { - padding-right: 0.5rem !important; - } - - .pe-sm-3 { - padding-right: 1rem !important; - } - - .pe-sm-4 { - padding-right: 1.5rem !important; - } - - .pe-sm-5 { - padding-right: 3rem !important; - } - - .pb-sm-0 { - padding-bottom: 0 !important; - } - - .pb-sm-1 { - padding-bottom: 0.25rem !important; - } - - .pb-sm-2 { - padding-bottom: 0.5rem !important; - } - - .pb-sm-3 { - padding-bottom: 1rem !important; - } - - .pb-sm-4 { - padding-bottom: 1.5rem !important; - } - - .pb-sm-5 { - padding-bottom: 3rem !important; - } - - .ps-sm-0 { - padding-left: 0 !important; - } - - .ps-sm-1 { - padding-left: 0.25rem !important; - } - - .ps-sm-2 { - padding-left: 0.5rem !important; - } - - .ps-sm-3 { - padding-left: 1rem !important; - } - - .ps-sm-4 { - padding-left: 1.5rem !important; - } - - .ps-sm-5 { - padding-left: 3rem !important; - } - - .text-sm-start { - text-align: left !important; - } - - .text-sm-end { - text-align: right !important; - } - - .text-sm-center { - text-align: center !important; - } -} - -@media (min-width: 768px) { - .float-md-start { - float: left !important; - } - - .float-md-end { - float: right !important; - } - - .float-md-none { - float: none !important; - } - - .d-md-inline { - display: inline !important; - } - - .d-md-inline-block { - display: inline-block !important; - } - - .d-md-block { - display: block !important; - } - - .d-md-grid { - display: grid !important; - } - - .d-md-table { - display: table !important; - } - - .d-md-table-row { - display: table-row !important; - } - - .d-md-table-cell { - display: table-cell !important; - } - - .d-md-flex { - display: flex !important; - } - - .d-md-inline-flex { - display: inline-flex !important; - } - - .d-md-none { - display: none !important; - } - - .flex-md-fill { - flex: 1 1 auto !important; - } - - .flex-md-row { - flex-direction: row !important; - } - - .flex-md-column { - flex-direction: column !important; - } - - .flex-md-row-reverse { - flex-direction: row-reverse !important; - } - - .flex-md-column-reverse { - flex-direction: column-reverse !important; - } - - .flex-md-grow-0 { - flex-grow: 0 !important; - } - - .flex-md-grow-1 { - flex-grow: 1 !important; - } - - .flex-md-shrink-0 { - flex-shrink: 0 !important; - } - - .flex-md-shrink-1 { - flex-shrink: 1 !important; - } - - .flex-md-wrap { - flex-wrap: wrap !important; - } - - .flex-md-nowrap { - flex-wrap: nowrap !important; - } - - .flex-md-wrap-reverse { - flex-wrap: wrap-reverse !important; - } - - .gap-md-0 { - gap: 0 !important; - } - - .gap-md-1 { - gap: 0.25rem !important; - } - - .gap-md-2 { - gap: 0.5rem !important; - } - - .gap-md-3 { - gap: 1rem !important; - } - - .gap-md-4 { - gap: 1.5rem !important; - } - - .gap-md-5 { - gap: 3rem !important; - } - - .justify-content-md-start { - justify-content: flex-start !important; - } - - .justify-content-md-end { - justify-content: flex-end !important; - } - - .justify-content-md-center { - justify-content: center !important; - } - - .justify-content-md-between { - justify-content: space-between !important; - } - - .justify-content-md-around { - justify-content: space-around !important; - } - - .justify-content-md-evenly { - justify-content: space-evenly !important; - } - - .align-items-md-start { - align-items: flex-start !important; - } - - .align-items-md-end { - align-items: flex-end !important; - } - - .align-items-md-center { - align-items: center !important; - } - - .align-items-md-baseline { - align-items: baseline !important; - } - - .align-items-md-stretch { - align-items: stretch !important; - } - - .align-content-md-start { - align-content: flex-start !important; - } - - .align-content-md-end { - align-content: flex-end !important; - } - - .align-content-md-center { - align-content: center !important; - } - - .align-content-md-between { - align-content: space-between !important; - } - - .align-content-md-around { - align-content: space-around !important; - } - - .align-content-md-stretch { - align-content: stretch !important; - } - - .align-self-md-auto { - align-self: auto !important; - } - - .align-self-md-start { - align-self: flex-start !important; - } - - .align-self-md-end { - align-self: flex-end !important; - } - - .align-self-md-center { - align-self: center !important; - } - - .align-self-md-baseline { - align-self: baseline !important; - } - - .align-self-md-stretch { - align-self: stretch !important; - } - - .order-md-first { - order: -1 !important; - } - - .order-md-0 { - order: 0 !important; - } - - .order-md-1 { - order: 1 !important; - } - - .order-md-2 { - order: 2 !important; - } - - .order-md-3 { - order: 3 !important; - } - - .order-md-4 { - order: 4 !important; - } - - .order-md-5 { - order: 5 !important; - } - - .order-md-last { - order: 6 !important; - } - - .m-md-0 { - margin: 0 !important; - } - - .m-md-1 { - margin: 0.25rem !important; - } - - .m-md-2 { - margin: 0.5rem !important; - } - - .m-md-3 { - margin: 1rem !important; - } - - .m-md-4 { - margin: 1.5rem !important; - } - - .m-md-5 { - margin: 3rem !important; - } - - .m-md-auto { - margin: auto !important; - } - - .mx-md-0 { - margin-right: 0 !important; - margin-left: 0 !important; - } - - .mx-md-1 { - margin-right: 0.25rem !important; - margin-left: 0.25rem !important; - } - - .mx-md-2 { - margin-right: 0.5rem !important; - margin-left: 0.5rem !important; - } - - .mx-md-3 { - margin-right: 1rem !important; - margin-left: 1rem !important; - } - - .mx-md-4 { - margin-right: 1.5rem !important; - margin-left: 1.5rem !important; - } - - .mx-md-5 { - margin-right: 3rem !important; - margin-left: 3rem !important; - } - - .mx-md-auto { - margin-right: auto !important; - margin-left: auto !important; - } - - .my-md-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; - } - - .my-md-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; - } - - .my-md-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; - } - - .my-md-3 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; - } - - .my-md-4 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; - } - - .my-md-5 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; - } - - .my-md-auto { - margin-top: auto !important; - margin-bottom: auto !important; - } - - .mt-md-0 { - margin-top: 0 !important; - } - - .mt-md-1 { - margin-top: 0.25rem !important; - } - - .mt-md-2 { - margin-top: 0.5rem !important; - } - - .mt-md-3 { - margin-top: 1rem !important; - } - - .mt-md-4 { - margin-top: 1.5rem !important; - } - - .mt-md-5 { - margin-top: 3rem !important; - } - - .mt-md-auto { - margin-top: auto !important; - } - - .me-md-0 { - margin-right: 0 !important; - } - - .me-md-1 { - margin-right: 0.25rem !important; - } - - .me-md-2 { - margin-right: 0.5rem !important; - } - - .me-md-3 { - margin-right: 1rem !important; - } - - .me-md-4 { - margin-right: 1.5rem !important; - } - - .me-md-5 { - margin-right: 3rem !important; - } - - .me-md-auto { - margin-right: auto !important; - } - - .mb-md-0 { - margin-bottom: 0 !important; - } - - .mb-md-1 { - margin-bottom: 0.25rem !important; - } - - .mb-md-2 { - margin-bottom: 0.5rem !important; - } - - .mb-md-3 { - margin-bottom: 1rem !important; - } - - .mb-md-4 { - margin-bottom: 1.5rem !important; - } - - .mb-md-5 { - margin-bottom: 3rem !important; - } - - .mb-md-auto { - margin-bottom: auto !important; - } - - .ms-md-0 { - margin-left: 0 !important; - } - - .ms-md-1 { - margin-left: 0.25rem !important; - } - - .ms-md-2 { - margin-left: 0.5rem !important; - } - - .ms-md-3 { - margin-left: 1rem !important; - } - - .ms-md-4 { - margin-left: 1.5rem !important; - } - - .ms-md-5 { - margin-left: 3rem !important; - } - - .ms-md-auto { - margin-left: auto !important; - } - - .p-md-0 { - padding: 0 !important; - } - - .p-md-1 { - padding: 0.25rem !important; - } - - .p-md-2 { - padding: 0.5rem !important; - } - - .p-md-3 { - padding: 1rem !important; - } - - .p-md-4 { - padding: 1.5rem !important; - } - - .p-md-5 { - padding: 3rem !important; - } - - .px-md-0 { - padding-right: 0 !important; - padding-left: 0 !important; - } - - .px-md-1 { - padding-right: 0.25rem !important; - padding-left: 0.25rem !important; - } - - .px-md-2 { - padding-right: 0.5rem !important; - padding-left: 0.5rem !important; - } - - .px-md-3 { - padding-right: 1rem !important; - padding-left: 1rem !important; - } - - .px-md-4 { - padding-right: 1.5rem !important; - padding-left: 1.5rem !important; - } - - .px-md-5 { - padding-right: 3rem !important; - padding-left: 3rem !important; - } - - .py-md-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; - } - - .py-md-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; - } - - .py-md-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; - } - - .py-md-3 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; - } - - .py-md-4 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; - } - - .py-md-5 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; - } - - .pt-md-0 { - padding-top: 0 !important; - } - - .pt-md-1 { - padding-top: 0.25rem !important; - } - - .pt-md-2 { - padding-top: 0.5rem !important; - } - - .pt-md-3 { - padding-top: 1rem !important; - } - - .pt-md-4 { - padding-top: 1.5rem !important; - } - - .pt-md-5 { - padding-top: 3rem !important; - } - - .pe-md-0 { - padding-right: 0 !important; - } - - .pe-md-1 { - padding-right: 0.25rem !important; - } - - .pe-md-2 { - padding-right: 0.5rem !important; - } - - .pe-md-3 { - padding-right: 1rem !important; - } - - .pe-md-4 { - padding-right: 1.5rem !important; - } - - .pe-md-5 { - padding-right: 3rem !important; - } - - .pb-md-0 { - padding-bottom: 0 !important; - } - - .pb-md-1 { - padding-bottom: 0.25rem !important; - } - - .pb-md-2 { - padding-bottom: 0.5rem !important; - } - - .pb-md-3 { - padding-bottom: 1rem !important; - } - - .pb-md-4 { - padding-bottom: 1.5rem !important; - } - - .pb-md-5 { - padding-bottom: 3rem !important; - } - - .ps-md-0 { - padding-left: 0 !important; - } - - .ps-md-1 { - padding-left: 0.25rem !important; - } - - .ps-md-2 { - padding-left: 0.5rem !important; - } - - .ps-md-3 { - padding-left: 1rem !important; - } - - .ps-md-4 { - padding-left: 1.5rem !important; - } - - .ps-md-5 { - padding-left: 3rem !important; - } - - .text-md-start { - text-align: left !important; - } - - .text-md-end { - text-align: right !important; - } - - .text-md-center { - text-align: center !important; - } -} - -@media (min-width: 992px) { - .float-lg-start { - float: left !important; - } - - .float-lg-end { - float: right !important; - } - - .float-lg-none { - float: none !important; - } - - .d-lg-inline { - display: inline !important; - } - - .d-lg-inline-block { - display: inline-block !important; - } - - .d-lg-block { - display: block !important; - } - - .d-lg-grid { - display: grid !important; - } - - .d-lg-table { - display: table !important; - } - - .d-lg-table-row { - display: table-row !important; - } - - .d-lg-table-cell { - display: table-cell !important; - } - - .d-lg-flex { - display: flex !important; - } - - .d-lg-inline-flex { - display: inline-flex !important; - } - - .d-lg-none { - display: none !important; - } - - .flex-lg-fill { - flex: 1 1 auto !important; - } - - .flex-lg-row { - flex-direction: row !important; - } - - .flex-lg-column { - flex-direction: column !important; - } - - .flex-lg-row-reverse { - flex-direction: row-reverse !important; - } - - .flex-lg-column-reverse { - flex-direction: column-reverse !important; - } - - .flex-lg-grow-0 { - flex-grow: 0 !important; - } - - .flex-lg-grow-1 { - flex-grow: 1 !important; - } - - .flex-lg-shrink-0 { - flex-shrink: 0 !important; - } - - .flex-lg-shrink-1 { - flex-shrink: 1 !important; - } - - .flex-lg-wrap { - flex-wrap: wrap !important; - } - - .flex-lg-nowrap { - flex-wrap: nowrap !important; - } - - .flex-lg-wrap-reverse { - flex-wrap: wrap-reverse !important; - } - - .gap-lg-0 { - gap: 0 !important; - } - - .gap-lg-1 { - gap: 0.25rem !important; - } - - .gap-lg-2 { - gap: 0.5rem !important; - } - - .gap-lg-3 { - gap: 1rem !important; - } - - .gap-lg-4 { - gap: 1.5rem !important; - } - - .gap-lg-5 { - gap: 3rem !important; - } - - .justify-content-lg-start { - justify-content: flex-start !important; - } - - .justify-content-lg-end { - justify-content: flex-end !important; - } - - .justify-content-lg-center { - justify-content: center !important; - } - - .justify-content-lg-between { - justify-content: space-between !important; - } - - .justify-content-lg-around { - justify-content: space-around !important; - } - - .justify-content-lg-evenly { - justify-content: space-evenly !important; - } - - .align-items-lg-start { - align-items: flex-start !important; - } - - .align-items-lg-end { - align-items: flex-end !important; - } - - .align-items-lg-center { - align-items: center !important; - } - - .align-items-lg-baseline { - align-items: baseline !important; - } - - .align-items-lg-stretch { - align-items: stretch !important; - } - - .align-content-lg-start { - align-content: flex-start !important; - } - - .align-content-lg-end { - align-content: flex-end !important; - } - - .align-content-lg-center { - align-content: center !important; - } - - .align-content-lg-between { - align-content: space-between !important; - } - - .align-content-lg-around { - align-content: space-around !important; - } - - .align-content-lg-stretch { - align-content: stretch !important; - } - - .align-self-lg-auto { - align-self: auto !important; - } - - .align-self-lg-start { - align-self: flex-start !important; - } - - .align-self-lg-end { - align-self: flex-end !important; - } - - .align-self-lg-center { - align-self: center !important; - } - - .align-self-lg-baseline { - align-self: baseline !important; - } - - .align-self-lg-stretch { - align-self: stretch !important; - } - - .order-lg-first { - order: -1 !important; - } - - .order-lg-0 { - order: 0 !important; - } - - .order-lg-1 { - order: 1 !important; - } - - .order-lg-2 { - order: 2 !important; - } - - .order-lg-3 { - order: 3 !important; - } - - .order-lg-4 { - order: 4 !important; - } - - .order-lg-5 { - order: 5 !important; - } - - .order-lg-last { - order: 6 !important; - } - - .m-lg-0 { - margin: 0 !important; - } - - .m-lg-1 { - margin: 0.25rem !important; - } - - .m-lg-2 { - margin: 0.5rem !important; - } - - .m-lg-3 { - margin: 1rem !important; - } - - .m-lg-4 { - margin: 1.5rem !important; - } - - .m-lg-5 { - margin: 3rem !important; - } - - .m-lg-auto { - margin: auto !important; - } - - .mx-lg-0 { - margin-right: 0 !important; - margin-left: 0 !important; - } - - .mx-lg-1 { - margin-right: 0.25rem !important; - margin-left: 0.25rem !important; - } - - .mx-lg-2 { - margin-right: 0.5rem !important; - margin-left: 0.5rem !important; - } - - .mx-lg-3 { - margin-right: 1rem !important; - margin-left: 1rem !important; - } - - .mx-lg-4 { - margin-right: 1.5rem !important; - margin-left: 1.5rem !important; - } - - .mx-lg-5 { - margin-right: 3rem !important; - margin-left: 3rem !important; - } - - .mx-lg-auto { - margin-right: auto !important; - margin-left: auto !important; - } - - .my-lg-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; - } - - .my-lg-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; - } - - .my-lg-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; - } - - .my-lg-3 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; - } - - .my-lg-4 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; - } - - .my-lg-5 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; - } - - .my-lg-auto { - margin-top: auto !important; - margin-bottom: auto !important; - } - - .mt-lg-0 { - margin-top: 0 !important; - } - - .mt-lg-1 { - margin-top: 0.25rem !important; - } - - .mt-lg-2 { - margin-top: 0.5rem !important; - } - - .mt-lg-3 { - margin-top: 1rem !important; - } - - .mt-lg-4 { - margin-top: 1.5rem !important; - } - - .mt-lg-5 { - margin-top: 3rem !important; - } - - .mt-lg-auto { - margin-top: auto !important; - } - - .me-lg-0 { - margin-right: 0 !important; - } - - .me-lg-1 { - margin-right: 0.25rem !important; - } - - .me-lg-2 { - margin-right: 0.5rem !important; - } - - .me-lg-3 { - margin-right: 1rem !important; - } - - .me-lg-4 { - margin-right: 1.5rem !important; - } - - .me-lg-5 { - margin-right: 3rem !important; - } - - .me-lg-auto { - margin-right: auto !important; - } - - .mb-lg-0 { - margin-bottom: 0 !important; - } - - .mb-lg-1 { - margin-bottom: 0.25rem !important; - } - - .mb-lg-2 { - margin-bottom: 0.5rem !important; - } - - .mb-lg-3 { - margin-bottom: 1rem !important; - } - - .mb-lg-4 { - margin-bottom: 1.5rem !important; - } - - .mb-lg-5 { - margin-bottom: 3rem !important; - } - - .mb-lg-auto { - margin-bottom: auto !important; - } - - .ms-lg-0 { - margin-left: 0 !important; - } - - .ms-lg-1 { - margin-left: 0.25rem !important; - } - - .ms-lg-2 { - margin-left: 0.5rem !important; - } - - .ms-lg-3 { - margin-left: 1rem !important; - } - - .ms-lg-4 { - margin-left: 1.5rem !important; - } - - .ms-lg-5 { - margin-left: 3rem !important; - } - - .ms-lg-auto { - margin-left: auto !important; - } - - .p-lg-0 { - padding: 0 !important; - } - - .p-lg-1 { - padding: 0.25rem !important; - } - - .p-lg-2 { - padding: 0.5rem !important; - } - - .p-lg-3 { - padding: 1rem !important; - } - - .p-lg-4 { - padding: 1.5rem !important; - } - - .p-lg-5 { - padding: 3rem !important; - } - - .px-lg-0 { - padding-right: 0 !important; - padding-left: 0 !important; - } - - .px-lg-1 { - padding-right: 0.25rem !important; - padding-left: 0.25rem !important; - } - - .px-lg-2 { - padding-right: 0.5rem !important; - padding-left: 0.5rem !important; - } - - .px-lg-3 { - padding-right: 1rem !important; - padding-left: 1rem !important; - } - - .px-lg-4 { - padding-right: 1.5rem !important; - padding-left: 1.5rem !important; - } - - .px-lg-5 { - padding-right: 3rem !important; - padding-left: 3rem !important; - } - - .py-lg-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; - } - - .py-lg-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; - } - - .py-lg-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; - } - - .py-lg-3 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; - } - - .py-lg-4 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; - } - - .py-lg-5 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; - } - - .pt-lg-0 { - padding-top: 0 !important; - } - - .pt-lg-1 { - padding-top: 0.25rem !important; - } - - .pt-lg-2 { - padding-top: 0.5rem !important; - } - - .pt-lg-3 { - padding-top: 1rem !important; - } - - .pt-lg-4 { - padding-top: 1.5rem !important; - } - - .pt-lg-5 { - padding-top: 3rem !important; - } - - .pe-lg-0 { - padding-right: 0 !important; - } - - .pe-lg-1 { - padding-right: 0.25rem !important; - } - - .pe-lg-2 { - padding-right: 0.5rem !important; - } - - .pe-lg-3 { - padding-right: 1rem !important; - } - - .pe-lg-4 { - padding-right: 1.5rem !important; - } - - .pe-lg-5 { - padding-right: 3rem !important; - } - - .pb-lg-0 { - padding-bottom: 0 !important; - } - - .pb-lg-1 { - padding-bottom: 0.25rem !important; - } - - .pb-lg-2 { - padding-bottom: 0.5rem !important; - } - - .pb-lg-3 { - padding-bottom: 1rem !important; - } - - .pb-lg-4 { - padding-bottom: 1.5rem !important; - } - - .pb-lg-5 { - padding-bottom: 3rem !important; - } - - .ps-lg-0 { - padding-left: 0 !important; - } - - .ps-lg-1 { - padding-left: 0.25rem !important; - } - - .ps-lg-2 { - padding-left: 0.5rem !important; - } - - .ps-lg-3 { - padding-left: 1rem !important; - } - - .ps-lg-4 { - padding-left: 1.5rem !important; - } - - .ps-lg-5 { - padding-left: 3rem !important; - } - - .text-lg-start { - text-align: left !important; - } - - .text-lg-end { - text-align: right !important; - } - - .text-lg-center { - text-align: center !important; - } -} - -@media (min-width: 1200px) { - .float-xl-start { - float: left !important; - } - - .float-xl-end { - float: right !important; - } - - .float-xl-none { - float: none !important; - } - - .d-xl-inline { - display: inline !important; - } - - .d-xl-inline-block { - display: inline-block !important; - } - - .d-xl-block { - display: block !important; - } - - .d-xl-grid { - display: grid !important; - } - - .d-xl-table { - display: table !important; - } - - .d-xl-table-row { - display: table-row !important; - } - - .d-xl-table-cell { - display: table-cell !important; - } - - .d-xl-flex { - display: flex !important; - } - - .d-xl-inline-flex { - display: inline-flex !important; - } - - .d-xl-none { - display: none !important; - } - - .flex-xl-fill { - flex: 1 1 auto !important; - } - - .flex-xl-row { - flex-direction: row !important; - } - - .flex-xl-column { - flex-direction: column !important; - } - - .flex-xl-row-reverse { - flex-direction: row-reverse !important; - } - - .flex-xl-column-reverse { - flex-direction: column-reverse !important; - } - - .flex-xl-grow-0 { - flex-grow: 0 !important; - } - - .flex-xl-grow-1 { - flex-grow: 1 !important; - } - - .flex-xl-shrink-0 { - flex-shrink: 0 !important; - } - - .flex-xl-shrink-1 { - flex-shrink: 1 !important; - } - - .flex-xl-wrap { - flex-wrap: wrap !important; - } - - .flex-xl-nowrap { - flex-wrap: nowrap !important; - } - - .flex-xl-wrap-reverse { - flex-wrap: wrap-reverse !important; - } - - .gap-xl-0 { - gap: 0 !important; - } - - .gap-xl-1 { - gap: 0.25rem !important; - } - - .gap-xl-2 { - gap: 0.5rem !important; - } - - .gap-xl-3 { - gap: 1rem !important; - } - - .gap-xl-4 { - gap: 1.5rem !important; - } - - .gap-xl-5 { - gap: 3rem !important; - } - - .justify-content-xl-start { - justify-content: flex-start !important; - } - - .justify-content-xl-end { - justify-content: flex-end !important; - } - - .justify-content-xl-center { - justify-content: center !important; - } - - .justify-content-xl-between { - justify-content: space-between !important; - } - - .justify-content-xl-around { - justify-content: space-around !important; - } - - .justify-content-xl-evenly { - justify-content: space-evenly !important; - } - - .align-items-xl-start { - align-items: flex-start !important; - } - - .align-items-xl-end { - align-items: flex-end !important; - } - - .align-items-xl-center { - align-items: center !important; - } - - .align-items-xl-baseline { - align-items: baseline !important; - } - - .align-items-xl-stretch { - align-items: stretch !important; - } - - .align-content-xl-start { - align-content: flex-start !important; - } - - .align-content-xl-end { - align-content: flex-end !important; - } - - .align-content-xl-center { - align-content: center !important; - } - - .align-content-xl-between { - align-content: space-between !important; - } - - .align-content-xl-around { - align-content: space-around !important; - } - - .align-content-xl-stretch { - align-content: stretch !important; - } - - .align-self-xl-auto { - align-self: auto !important; - } - - .align-self-xl-start { - align-self: flex-start !important; - } - - .align-self-xl-end { - align-self: flex-end !important; - } - - .align-self-xl-center { - align-self: center !important; - } - - .align-self-xl-baseline { - align-self: baseline !important; - } - - .align-self-xl-stretch { - align-self: stretch !important; - } - - .order-xl-first { - order: -1 !important; - } - - .order-xl-0 { - order: 0 !important; - } - - .order-xl-1 { - order: 1 !important; - } - - .order-xl-2 { - order: 2 !important; - } - - .order-xl-3 { - order: 3 !important; - } - - .order-xl-4 { - order: 4 !important; - } - - .order-xl-5 { - order: 5 !important; - } - - .order-xl-last { - order: 6 !important; - } - - .m-xl-0 { - margin: 0 !important; - } - - .m-xl-1 { - margin: 0.25rem !important; - } - - .m-xl-2 { - margin: 0.5rem !important; - } - - .m-xl-3 { - margin: 1rem !important; - } - - .m-xl-4 { - margin: 1.5rem !important; - } - - .m-xl-5 { - margin: 3rem !important; - } - - .m-xl-auto { - margin: auto !important; - } - - .mx-xl-0 { - margin-right: 0 !important; - margin-left: 0 !important; - } - - .mx-xl-1 { - margin-right: 0.25rem !important; - margin-left: 0.25rem !important; - } - - .mx-xl-2 { - margin-right: 0.5rem !important; - margin-left: 0.5rem !important; - } - - .mx-xl-3 { - margin-right: 1rem !important; - margin-left: 1rem !important; - } - - .mx-xl-4 { - margin-right: 1.5rem !important; - margin-left: 1.5rem !important; - } - - .mx-xl-5 { - margin-right: 3rem !important; - margin-left: 3rem !important; - } - - .mx-xl-auto { - margin-right: auto !important; - margin-left: auto !important; - } - - .my-xl-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; - } - - .my-xl-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; - } - - .my-xl-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; - } - - .my-xl-3 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; - } - - .my-xl-4 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; - } - - .my-xl-5 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; - } - - .my-xl-auto { - margin-top: auto !important; - margin-bottom: auto !important; - } - - .mt-xl-0 { - margin-top: 0 !important; - } - - .mt-xl-1 { - margin-top: 0.25rem !important; - } - - .mt-xl-2 { - margin-top: 0.5rem !important; - } - - .mt-xl-3 { - margin-top: 1rem !important; - } - - .mt-xl-4 { - margin-top: 1.5rem !important; - } - - .mt-xl-5 { - margin-top: 3rem !important; - } - - .mt-xl-auto { - margin-top: auto !important; - } - - .me-xl-0 { - margin-right: 0 !important; - } - - .me-xl-1 { - margin-right: 0.25rem !important; - } - - .me-xl-2 { - margin-right: 0.5rem !important; - } - - .me-xl-3 { - margin-right: 1rem !important; - } - - .me-xl-4 { - margin-right: 1.5rem !important; - } - - .me-xl-5 { - margin-right: 3rem !important; - } - - .me-xl-auto { - margin-right: auto !important; - } - - .mb-xl-0 { - margin-bottom: 0 !important; - } - - .mb-xl-1 { - margin-bottom: 0.25rem !important; - } - - .mb-xl-2 { - margin-bottom: 0.5rem !important; - } - - .mb-xl-3 { - margin-bottom: 1rem !important; - } - - .mb-xl-4 { - margin-bottom: 1.5rem !important; - } - - .mb-xl-5 { - margin-bottom: 3rem !important; - } - - .mb-xl-auto { - margin-bottom: auto !important; - } - - .ms-xl-0 { - margin-left: 0 !important; - } - - .ms-xl-1 { - margin-left: 0.25rem !important; - } - - .ms-xl-2 { - margin-left: 0.5rem !important; - } - - .ms-xl-3 { - margin-left: 1rem !important; - } - - .ms-xl-4 { - margin-left: 1.5rem !important; - } - - .ms-xl-5 { - margin-left: 3rem !important; - } - - .ms-xl-auto { - margin-left: auto !important; - } - - .p-xl-0 { - padding: 0 !important; - } - - .p-xl-1 { - padding: 0.25rem !important; - } - - .p-xl-2 { - padding: 0.5rem !important; - } - - .p-xl-3 { - padding: 1rem !important; - } - - .p-xl-4 { - padding: 1.5rem !important; - } - - .p-xl-5 { - padding: 3rem !important; - } - - .px-xl-0 { - padding-right: 0 !important; - padding-left: 0 !important; - } - - .px-xl-1 { - padding-right: 0.25rem !important; - padding-left: 0.25rem !important; - } - - .px-xl-2 { - padding-right: 0.5rem !important; - padding-left: 0.5rem !important; - } - - .px-xl-3 { - padding-right: 1rem !important; - padding-left: 1rem !important; - } - - .px-xl-4 { - padding-right: 1.5rem !important; - padding-left: 1.5rem !important; - } - - .px-xl-5 { - padding-right: 3rem !important; - padding-left: 3rem !important; - } - - .py-xl-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; - } - - .py-xl-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; - } - - .py-xl-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; - } - - .py-xl-3 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; - } - - .py-xl-4 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; - } - - .py-xl-5 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; - } - - .pt-xl-0 { - padding-top: 0 !important; - } - - .pt-xl-1 { - padding-top: 0.25rem !important; - } - - .pt-xl-2 { - padding-top: 0.5rem !important; - } - - .pt-xl-3 { - padding-top: 1rem !important; - } - - .pt-xl-4 { - padding-top: 1.5rem !important; - } - - .pt-xl-5 { - padding-top: 3rem !important; - } - - .pe-xl-0 { - padding-right: 0 !important; - } - - .pe-xl-1 { - padding-right: 0.25rem !important; - } - - .pe-xl-2 { - padding-right: 0.5rem !important; - } - - .pe-xl-3 { - padding-right: 1rem !important; - } - - .pe-xl-4 { - padding-right: 1.5rem !important; - } - - .pe-xl-5 { - padding-right: 3rem !important; - } - - .pb-xl-0 { - padding-bottom: 0 !important; - } - - .pb-xl-1 { - padding-bottom: 0.25rem !important; - } - - .pb-xl-2 { - padding-bottom: 0.5rem !important; - } - - .pb-xl-3 { - padding-bottom: 1rem !important; - } - - .pb-xl-4 { - padding-bottom: 1.5rem !important; - } - - .pb-xl-5 { - padding-bottom: 3rem !important; - } - - .ps-xl-0 { - padding-left: 0 !important; - } - - .ps-xl-1 { - padding-left: 0.25rem !important; - } - - .ps-xl-2 { - padding-left: 0.5rem !important; - } - - .ps-xl-3 { - padding-left: 1rem !important; - } - - .ps-xl-4 { - padding-left: 1.5rem !important; - } - - .ps-xl-5 { - padding-left: 3rem !important; - } - - .text-xl-start { - text-align: left !important; - } - - .text-xl-end { - text-align: right !important; - } - - .text-xl-center { - text-align: center !important; - } -} - -@media (min-width: 1400px) { - .float-xxl-start { - float: left !important; - } - - .float-xxl-end { - float: right !important; - } - - .float-xxl-none { - float: none !important; - } - - .d-xxl-inline { - display: inline !important; - } - - .d-xxl-inline-block { - display: inline-block !important; - } - - .d-xxl-block { - display: block !important; - } - - .d-xxl-grid { - display: grid !important; - } - - .d-xxl-table { - display: table !important; - } - - .d-xxl-table-row { - display: table-row !important; - } - - .d-xxl-table-cell { - display: table-cell !important; - } - - .d-xxl-flex { - display: flex !important; - } - - .d-xxl-inline-flex { - display: inline-flex !important; - } - - .d-xxl-none { - display: none !important; - } - - .flex-xxl-fill { - flex: 1 1 auto !important; - } - - .flex-xxl-row { - flex-direction: row !important; - } - - .flex-xxl-column { - flex-direction: column !important; - } - - .flex-xxl-row-reverse { - flex-direction: row-reverse !important; - } - - .flex-xxl-column-reverse { - flex-direction: column-reverse !important; - } - - .flex-xxl-grow-0 { - flex-grow: 0 !important; - } - - .flex-xxl-grow-1 { - flex-grow: 1 !important; - } - - .flex-xxl-shrink-0 { - flex-shrink: 0 !important; - } - - .flex-xxl-shrink-1 { - flex-shrink: 1 !important; - } - - .flex-xxl-wrap { - flex-wrap: wrap !important; - } - - .flex-xxl-nowrap { - flex-wrap: nowrap !important; - } - - .flex-xxl-wrap-reverse { - flex-wrap: wrap-reverse !important; - } - - .gap-xxl-0 { - gap: 0 !important; - } - - .gap-xxl-1 { - gap: 0.25rem !important; - } - - .gap-xxl-2 { - gap: 0.5rem !important; - } - - .gap-xxl-3 { - gap: 1rem !important; - } - - .gap-xxl-4 { - gap: 1.5rem !important; - } - - .gap-xxl-5 { - gap: 3rem !important; - } - - .justify-content-xxl-start { - justify-content: flex-start !important; - } - - .justify-content-xxl-end { - justify-content: flex-end !important; - } - - .justify-content-xxl-center { - justify-content: center !important; - } - - .justify-content-xxl-between { - justify-content: space-between !important; - } - - .justify-content-xxl-around { - justify-content: space-around !important; - } - - .justify-content-xxl-evenly { - justify-content: space-evenly !important; - } - - .align-items-xxl-start { - align-items: flex-start !important; - } - - .align-items-xxl-end { - align-items: flex-end !important; - } - - .align-items-xxl-center { - align-items: center !important; - } - - .align-items-xxl-baseline { - align-items: baseline !important; - } - - .align-items-xxl-stretch { - align-items: stretch !important; - } - - .align-content-xxl-start { - align-content: flex-start !important; - } - - .align-content-xxl-end { - align-content: flex-end !important; - } - - .align-content-xxl-center { - align-content: center !important; - } - - .align-content-xxl-between { - align-content: space-between !important; - } - - .align-content-xxl-around { - align-content: space-around !important; - } - - .align-content-xxl-stretch { - align-content: stretch !important; - } - - .align-self-xxl-auto { - align-self: auto !important; - } - - .align-self-xxl-start { - align-self: flex-start !important; - } - - .align-self-xxl-end { - align-self: flex-end !important; - } - - .align-self-xxl-center { - align-self: center !important; - } - - .align-self-xxl-baseline { - align-self: baseline !important; - } - - .align-self-xxl-stretch { - align-self: stretch !important; - } - - .order-xxl-first { - order: -1 !important; - } - - .order-xxl-0 { - order: 0 !important; - } - - .order-xxl-1 { - order: 1 !important; - } - - .order-xxl-2 { - order: 2 !important; - } - - .order-xxl-3 { - order: 3 !important; - } - - .order-xxl-4 { - order: 4 !important; - } - - .order-xxl-5 { - order: 5 !important; - } - - .order-xxl-last { - order: 6 !important; - } - - .m-xxl-0 { - margin: 0 !important; - } - - .m-xxl-1 { - margin: 0.25rem !important; - } - - .m-xxl-2 { - margin: 0.5rem !important; - } - - .m-xxl-3 { - margin: 1rem !important; - } - - .m-xxl-4 { - margin: 1.5rem !important; - } - - .m-xxl-5 { - margin: 3rem !important; - } - - .m-xxl-auto { - margin: auto !important; - } - - .mx-xxl-0 { - margin-right: 0 !important; - margin-left: 0 !important; - } - - .mx-xxl-1 { - margin-right: 0.25rem !important; - margin-left: 0.25rem !important; - } - - .mx-xxl-2 { - margin-right: 0.5rem !important; - margin-left: 0.5rem !important; - } - - .mx-xxl-3 { - margin-right: 1rem !important; - margin-left: 1rem !important; - } - - .mx-xxl-4 { - margin-right: 1.5rem !important; - margin-left: 1.5rem !important; - } - - .mx-xxl-5 { - margin-right: 3rem !important; - margin-left: 3rem !important; - } - - .mx-xxl-auto { - margin-right: auto !important; - margin-left: auto !important; - } - - .my-xxl-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; - } - - .my-xxl-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; - } - - .my-xxl-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; - } - - .my-xxl-3 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; - } - - .my-xxl-4 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; - } - - .my-xxl-5 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; - } - - .my-xxl-auto { - margin-top: auto !important; - margin-bottom: auto !important; - } - - .mt-xxl-0 { - margin-top: 0 !important; - } - - .mt-xxl-1 { - margin-top: 0.25rem !important; - } - - .mt-xxl-2 { - margin-top: 0.5rem !important; - } - - .mt-xxl-3 { - margin-top: 1rem !important; - } - - .mt-xxl-4 { - margin-top: 1.5rem !important; - } - - .mt-xxl-5 { - margin-top: 3rem !important; - } - - .mt-xxl-auto { - margin-top: auto !important; - } - - .me-xxl-0 { - margin-right: 0 !important; - } - - .me-xxl-1 { - margin-right: 0.25rem !important; - } - - .me-xxl-2 { - margin-right: 0.5rem !important; - } - - .me-xxl-3 { - margin-right: 1rem !important; - } - - .me-xxl-4 { - margin-right: 1.5rem !important; - } - - .me-xxl-5 { - margin-right: 3rem !important; - } - - .me-xxl-auto { - margin-right: auto !important; - } - - .mb-xxl-0 { - margin-bottom: 0 !important; - } - - .mb-xxl-1 { - margin-bottom: 0.25rem !important; - } - - .mb-xxl-2 { - margin-bottom: 0.5rem !important; - } - - .mb-xxl-3 { - margin-bottom: 1rem !important; - } - - .mb-xxl-4 { - margin-bottom: 1.5rem !important; - } - - .mb-xxl-5 { - margin-bottom: 3rem !important; - } - - .mb-xxl-auto { - margin-bottom: auto !important; - } - - .ms-xxl-0 { - margin-left: 0 !important; - } - - .ms-xxl-1 { - margin-left: 0.25rem !important; - } - - .ms-xxl-2 { - margin-left: 0.5rem !important; - } - - .ms-xxl-3 { - margin-left: 1rem !important; - } - - .ms-xxl-4 { - margin-left: 1.5rem !important; - } - - .ms-xxl-5 { - margin-left: 3rem !important; - } - - .ms-xxl-auto { - margin-left: auto !important; - } - - .p-xxl-0 { - padding: 0 !important; - } - - .p-xxl-1 { - padding: 0.25rem !important; - } - - .p-xxl-2 { - padding: 0.5rem !important; - } - - .p-xxl-3 { - padding: 1rem !important; - } - - .p-xxl-4 { - padding: 1.5rem !important; - } - - .p-xxl-5 { - padding: 3rem !important; - } - - .px-xxl-0 { - padding-right: 0 !important; - padding-left: 0 !important; - } - - .px-xxl-1 { - padding-right: 0.25rem !important; - padding-left: 0.25rem !important; - } - - .px-xxl-2 { - padding-right: 0.5rem !important; - padding-left: 0.5rem !important; - } - - .px-xxl-3 { - padding-right: 1rem !important; - padding-left: 1rem !important; - } - - .px-xxl-4 { - padding-right: 1.5rem !important; - padding-left: 1.5rem !important; - } - - .px-xxl-5 { - padding-right: 3rem !important; - padding-left: 3rem !important; - } - - .py-xxl-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; - } - - .py-xxl-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; - } - - .py-xxl-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; - } - - .py-xxl-3 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; - } - - .py-xxl-4 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; - } - - .py-xxl-5 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; - } - - .pt-xxl-0 { - padding-top: 0 !important; - } - - .pt-xxl-1 { - padding-top: 0.25rem !important; - } - - .pt-xxl-2 { - padding-top: 0.5rem !important; - } - - .pt-xxl-3 { - padding-top: 1rem !important; - } - - .pt-xxl-4 { - padding-top: 1.5rem !important; - } - - .pt-xxl-5 { - padding-top: 3rem !important; - } - - .pe-xxl-0 { - padding-right: 0 !important; - } - - .pe-xxl-1 { - padding-right: 0.25rem !important; - } - - .pe-xxl-2 { - padding-right: 0.5rem !important; - } - - .pe-xxl-3 { - padding-right: 1rem !important; - } - - .pe-xxl-4 { - padding-right: 1.5rem !important; - } - - .pe-xxl-5 { - padding-right: 3rem !important; - } - - .pb-xxl-0 { - padding-bottom: 0 !important; - } - - .pb-xxl-1 { - padding-bottom: 0.25rem !important; - } - - .pb-xxl-2 { - padding-bottom: 0.5rem !important; - } - - .pb-xxl-3 { - padding-bottom: 1rem !important; - } - - .pb-xxl-4 { - padding-bottom: 1.5rem !important; - } - - .pb-xxl-5 { - padding-bottom: 3rem !important; - } - - .ps-xxl-0 { - padding-left: 0 !important; - } - - .ps-xxl-1 { - padding-left: 0.25rem !important; - } - - .ps-xxl-2 { - padding-left: 0.5rem !important; - } - - .ps-xxl-3 { - padding-left: 1rem !important; - } - - .ps-xxl-4 { - padding-left: 1.5rem !important; - } - - .ps-xxl-5 { - padding-left: 3rem !important; - } - - .text-xxl-start { - text-align: left !important; - } - - .text-xxl-end { - text-align: right !important; - } - - .text-xxl-center { - text-align: center !important; - } -} - -@media (min-width: 1200px) { - .fs-1 { - font-size: 2.5rem !important; - } - - .fs-2 { - font-size: 2rem !important; - } - - .fs-3 { - font-size: 1.75rem !important; - } - - .fs-4 { - font-size: 1.5rem !important; - } -} - -@media print { - .d-print-inline { - display: inline !important; - } - - .d-print-inline-block { - display: inline-block !important; - } - - .d-print-block { - display: block !important; - } - - .d-print-grid { - display: grid !important; - } - - .d-print-table { - display: table !important; - } - - .d-print-table-row { - display: table-row !important; - } - - .d-print-table-cell { - display: table-cell !important; - } - - .d-print-flex { - display: flex !important; - } - - .d-print-inline-flex { - display: inline-flex !important; - } - - .d-print-none { - display: none !important; - } -} - -/*# sourceMappingURL=bootstrap.css.map */ \ No newline at end of file diff --git a/css/fonts/OFL.txt b/css/fonts/LICENSE-bricolage-grotesque.txt similarity index 95% rename from css/fonts/OFL.txt rename to css/fonts/LICENSE-bricolage-grotesque.txt index 3e92931..49135ef 100644 --- a/css/fonts/OFL.txt +++ b/css/fonts/LICENSE-bricolage-grotesque.txt @@ -1,93 +1,93 @@ -Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -https://openfontlicense.org - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. +Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/css/fonts/LICENSE-plus-jakarta-sans.txt b/css/fonts/LICENSE-plus-jakarta-sans.txt new file mode 100644 index 0000000..d82b082 --- /dev/null +++ b/css/fonts/LICENSE-plus-jakarta-sans.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans) PlusJakartaSans-Italic[wght].ttf: Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/css/fonts/Poppins-Black.ttf b/css/fonts/Poppins-Black.ttf deleted file mode 100644 index 71c0f99..0000000 Binary files a/css/fonts/Poppins-Black.ttf and /dev/null differ diff --git a/css/fonts/Poppins-BlackItalic.ttf b/css/fonts/Poppins-BlackItalic.ttf deleted file mode 100644 index 7aeb58b..0000000 Binary files a/css/fonts/Poppins-BlackItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-Bold.ttf b/css/fonts/Poppins-Bold.ttf deleted file mode 100644 index 00559ee..0000000 Binary files a/css/fonts/Poppins-Bold.ttf and /dev/null differ diff --git a/css/fonts/Poppins-BoldItalic.ttf b/css/fonts/Poppins-BoldItalic.ttf deleted file mode 100644 index e61e8e8..0000000 Binary files a/css/fonts/Poppins-BoldItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-ExtraBold.ttf b/css/fonts/Poppins-ExtraBold.ttf deleted file mode 100644 index df70936..0000000 Binary files a/css/fonts/Poppins-ExtraBold.ttf and /dev/null differ diff --git a/css/fonts/Poppins-ExtraBoldItalic.ttf b/css/fonts/Poppins-ExtraBoldItalic.ttf deleted file mode 100644 index 14d2b37..0000000 Binary files a/css/fonts/Poppins-ExtraBoldItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-ExtraLight.ttf b/css/fonts/Poppins-ExtraLight.ttf deleted file mode 100644 index e76ec69..0000000 Binary files a/css/fonts/Poppins-ExtraLight.ttf and /dev/null differ diff --git a/css/fonts/Poppins-ExtraLightItalic.ttf b/css/fonts/Poppins-ExtraLightItalic.ttf deleted file mode 100644 index 89513d9..0000000 Binary files a/css/fonts/Poppins-ExtraLightItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-Italic.ttf b/css/fonts/Poppins-Italic.ttf deleted file mode 100644 index 12b7b3c..0000000 Binary files a/css/fonts/Poppins-Italic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-Light.ttf b/css/fonts/Poppins-Light.ttf deleted file mode 100644 index bc36bcc..0000000 Binary files a/css/fonts/Poppins-Light.ttf and /dev/null differ diff --git a/css/fonts/Poppins-LightItalic.ttf b/css/fonts/Poppins-LightItalic.ttf deleted file mode 100644 index 9e70be6..0000000 Binary files a/css/fonts/Poppins-LightItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-Medium.ttf b/css/fonts/Poppins-Medium.ttf deleted file mode 100644 index 6bcdcc2..0000000 Binary files a/css/fonts/Poppins-Medium.ttf and /dev/null differ diff --git a/css/fonts/Poppins-MediumItalic.ttf b/css/fonts/Poppins-MediumItalic.ttf deleted file mode 100644 index be67410..0000000 Binary files a/css/fonts/Poppins-MediumItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-Regular.ttf b/css/fonts/Poppins-Regular.ttf deleted file mode 100644 index 9f0c71b..0000000 Binary files a/css/fonts/Poppins-Regular.ttf and /dev/null differ diff --git a/css/fonts/Poppins-SemiBold.ttf b/css/fonts/Poppins-SemiBold.ttf deleted file mode 100644 index 74c726e..0000000 Binary files a/css/fonts/Poppins-SemiBold.ttf and /dev/null differ diff --git a/css/fonts/Poppins-SemiBoldItalic.ttf b/css/fonts/Poppins-SemiBoldItalic.ttf deleted file mode 100644 index 3e6c942..0000000 Binary files a/css/fonts/Poppins-SemiBoldItalic.ttf and /dev/null differ diff --git a/css/fonts/Poppins-Thin.ttf b/css/fonts/Poppins-Thin.ttf deleted file mode 100644 index 03e7366..0000000 Binary files a/css/fonts/Poppins-Thin.ttf and /dev/null differ diff --git a/css/fonts/Poppins-ThinItalic.ttf b/css/fonts/Poppins-ThinItalic.ttf deleted file mode 100644 index e26db5d..0000000 Binary files a/css/fonts/Poppins-ThinItalic.ttf and /dev/null differ diff --git a/css/fonts/bricolage-grotesque-latin-wght-normal.woff2 b/css/fonts/bricolage-grotesque-latin-wght-normal.woff2 new file mode 100644 index 0000000..82152a4 Binary files /dev/null and b/css/fonts/bricolage-grotesque-latin-wght-normal.woff2 differ diff --git a/css/fonts/plus-jakarta-sans-latin-wght-normal.woff2 b/css/fonts/plus-jakarta-sans-latin-wght-normal.woff2 new file mode 100644 index 0000000..a180dc4 Binary files /dev/null and b/css/fonts/plus-jakarta-sans-latin-wght-normal.woff2 differ diff --git a/css/style.css b/css/style.css index 0af78b0..1527446 100644 --- a/css/style.css +++ b/css/style.css @@ -1,866 +1,2374 @@ -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-Black.ttf') format('truetype'); - font-weight: 900; - font-style: normal; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-BlackItalic.ttf') format('truetype'); - font-weight: 900; - font-style: italic; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-BoldItalic.ttf') format('truetype'); - font-weight: 700; - font-style: italic; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-Medium.ttf') format('truetype'); - font-weight: 500; - font-style: normal; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-MediumItalic.ttf') format('truetype'); - font-weight: 500; - font-style: italic; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-Italic.ttf') format('truetype'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-Light.ttf') format('truetype'); - font-weight: 300; - font-style: normal; -} - -@font-face { - font-family: 'Poppins'; - src: url('fonts/Poppins-LightItalic.ttf') format('truetype'); - font-weight: 300; - font-style: italic; -} - -body { - font-family: 'Poppins', sans-serif !important; -} - -* { - margin: 0; - padding: 0; - user-select: none; - -webkit-touch-callout: none; - -webkit-tap-highlight-color: transparent; -} - -html, -body { - overscroll-behavior: none; -} - -body { - font-family: "Poppins", sans-serif; - height: 100vh; - overflow: hidden; -} - - - -/* DESKTOP SECTION */ -body.desktopBody { - background: #2a377e; - color: white; -} - -div.dbox, -div.dbox_mobile { - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background: #4358ca8f; - padding: 25px; - border-radius: 50px; - text-align: center; - width: 500px; -} - -div.dbox_mobile { - width: 90%; - max-width: 750px; - color: white; - border-radius: 10px; - max-height: 475px; - overflow: auto; -} - -div.dbox>h1.title, -div.dbox_mobile>h1.title { - margin-bottom: 0px; -} - -div.dbox>hr, -div.dbox_mobile>hr { - margin: 2rem 0; -} - -div.dbox>.dbtn, -div.dbox_mobile>.dbtn { - border: none; - border-radius: 50px; - padding: 10px 20px; - background: #f0f0f0; - color: black; - text-decoration: none; - font-weight: 600; - -webkit-appearance: button; -} - -div.dbox>.dbtn:hover { - background: #e0e0e0; - cursor: pointer; -} - -div.dfooter { - position: fixed; - bottom: 15px; - left: 50%; - transform: translateX(-50%); - text-align: center; - color: #ffffff90; - font-size: 13px; - width: 100%; -} - - - -/* MOBILE SECTION */ - -.appBody { - background-color: #10194b; - max-width: 750px; - min-width: 330px; - margin: auto; - display: flex; - flex-direction: column; - min-height: 100vh; -} - -.header>.logo-section, -.header>.menu-section { - text-align: center; -} - -.header>.logo-section, -.footer>.copyright-section { - background-color: #2a377e; - padding: 15px 0; -} - -.header>.menu-section { - background-color: #3849a8; - padding: 13px 0; -} - -.header>.logo-section>img { - width: 250px; -} - -.header>.menu-section>.navLink { - color: white; - text-decoration: none; - margin: 0 15px; -} - -.header>.menu-section>.navLink.active { - color: #2a377e; - margin: 0; - padding: 3px 15px; - background: white; - border-radius: 50px; - font-weight: 500; -} - -main { - background-color: white; - flex: 1; - overflow: auto; - padding-left: 0 !important; - padding-right: 0 !important; -} - -.titlePage { - text-align: center; - font-weight: 600; - margin: 15px 0 20px; -} - -.subtitlePage { - text-align: center; - font-weight: 500; - margin: -15px 0 20px; -} - -.linkBox { - text-decoration: none; - color: black; -} - -.clickBox { - text-align: center; - font-weight: 500; - background: #ffffff; - border-top: 5px solid #2a377e; - border-radius: 12px; - padding: 15px; - margin-bottom: 15px; - transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); - cursor: pointer; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); - border-left: 1px solid #f0f0f0; - border-right: 1px solid #f0f0f0; - border-bottom: 1px solid #f0f0f0; -} - -.clickBox.Squared { - font-weight: 600; - border-left: 2px solid #f7b836; - border-right: 2px solid #f7b836; - border-bottom: 2px solid #f7b836; - border-top: 5px solid #f7b836; -} - -.clickBox>img { - width: 80%; -} - -.changelogTitle { - font-weight: 600; - margin: 0 0 15px; -} - -.changelogList, -.tec, -.stationList { - margin: 0 0 10px; - text-align: left; - hyphens: auto; -} - -.stationList { - text-align: center; -} - -.stationCard>a.stationLink { - padding: 0; -} - -.stationCard>a.stationLink>img { - width: 100%; - border-radius: 20px; -} - -/* .stationCard>.thematicBadge { - position: relative; - background: #f7b835; - padding: 1px 5px; - font-size: 0.8rem; - border-radius: 27px; - font-style: italic; - font-weight: 600; - top: 31px; - left: 35px; - margin: 0; -} */ - -.stationCard.isthematic { - text-align: right; - margin-top: -24px; -} - -.stationCard.isthematic:before { - content: "Tematica"; - position: relative; - background: #f7b835; - padding: 1px 5px; - font-size: 0.8rem; - border-radius: 27px; - font-style: italic; - font-weight: 600; - top: 30px; - right: 7px; - margin: 0; -} - -iframe.contentplayer { - height: calc(100vh - 393px); - width: 100%; - max-width: 750px; -} - -.footer_player { - background: #f7b835; - color: #2a377d; - z-index: 90; - width: 100%; - max-width: 750px; - height: 100px; - padding: 20px; - border-top: 1px solid #eee; - flex: 1; - align-content: end; -} - -.footer_player>.row>.col-2>img { - border-radius: 5px; -} - -button#playPauseBtn, -button#formatToggleBtn { - background: none; - border: none; -} - -.footer, -.header { - z-index: 10000; -} - -.footer>.menu-section { - background: #3849a8; - font-size: 0.7rem; - padding: 7px 0; - text-align: center; -} - -.footer>.menu-section>a { - color: white; - text-decoration: none; - margin: 0 5px; -} - -.footer>.copyright-section { - color: white; - font-size: 0.8rem; - text-align: center; - padding: 10px; - font-weight: 500; -} - -@media (max-width: 450px) { - .appBody { - background-color: #2a377e; - } -} - - -/* Loading spinner */ -.loading { - display: flex; - justify-content: center; - align-items: center; - min-height: 200px; -} - -.spinner { - width: 40px; - height: 40px; - border: 4px solid rgba(0, 0, 0, 0.1); - border-radius: 50%; - border-top-color: #3498db; - animation: spin 1s ease-in-out infinite; -} - -@keyframes spin { - to { - transform: rotate(360deg); - } -} - - -/* Forza orientamento portrait - nasconde contenuto in landscape */ -@media screen and (orientation: landscape) and (max-height: 450px) { - body.appBody::after { - content: "Ruota il dispositivo in verticale"; - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: #2a377e; - color: white; - display: flex; - align-items: center; - justify-content: center; - font-size: 1.2rem; - font-weight: 600; - z-index: 9999; - text-align: center; - padding: 20px; - } - - body.appBody>* { - display: none !important; - } -} - -/* PWA STYLES (Banner, Nav Button, and Instructions Modal) */ - -/* Hide all PWA install indicators when running as standalone installed app */ -@media (display-mode: standalone) { - - .pwa-install-btn, - .pwa-install-banner, - .pwa-install-btn-nav { - display: none !important; - } -} - -/* iOS navigation standalone fallback check */ -@media (display-mode: standalone) { - body.appBody { - padding-top: env(safe-area-inset-top); - padding-bottom: env(safe-area-inset-bottom); - } -} - -/* PWA Install Banner Style */ -.pwa-install-banner { - position: fixed; - bottom: 20px; - left: 50%; - transform: translateX(-50%) translateY(120px); - width: 90%; - max-width: 500px; - background: rgba(24, 34, 92, 0.95); - backdrop-filter: blur(15px); - -webkit-backdrop-filter: blur(15px); - border: 1px solid rgba(255, 255, 255, 0.15); - border-radius: 24px; - padding: 16px; - box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); - z-index: 100000; - display: flex; - flex-direction: column; - transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s; - opacity: 0; - color: white; - box-sizing: border-box; -} - -.pwa-install-banner.show { - transform: translateX(-50%) translateY(0); - opacity: 1; -} - -.pwa-banner-content { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; - width: 100%; -} - -.pwa-banner-logo { - width: 48px; - height: 48px; - border-radius: 12px; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); - flex-shrink: 0; -} - -.pwa-banner-text { - flex: 1; - text-align: left; -} - -.pwa-banner-title { - font-weight: 700; - font-size: 1rem; - color: #fff; -} - -.pwa-banner-desc { - font-size: 0.75rem; - color: rgba(255, 255, 255, 0.85); - margin-top: 2px; - line-height: 1.3; -} - -.pwa-banner-actions { - display: flex; - align-items: center; - gap: 8px; - flex-shrink: 0; -} - -.pwa-banner-btn { - background: linear-gradient(135deg, #f7b835, #f5a623); - color: #10194b; - border: none; - padding: 8px 16px; - border-radius: 30px; - font-weight: 700; - font-size: 0.8rem; - cursor: pointer; - box-shadow: 0 4px 12px rgba(247, 184, 53, 0.3); - transition: transform 0.2s, box-shadow 0.2s, background 0.2s; - white-space: nowrap; -} - -.pwa-banner-btn:hover { - background: linear-gradient(135deg, #ffd05c, #ffb633); -} - -.pwa-banner-btn:active { - transform: scale(0.95); -} - -.pwa-banner-close-btn { - background: rgba(255, 255, 255, 0.1); - border: none; - color: white; - width: 32px; - height: 32px; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - transition: background 0.2s; -} - -.pwa-banner-close-btn:hover { - background: rgba(255, 255, 255, 0.2); -} - -/* Nav Link Install Button */ -.pwa-install-btn-nav { - color: #f7b835 !important; - font-weight: 700; - border: 1px solid #f7b835; - padding: 4px 12px !important; - border-radius: 20px; - display: inline-flex !important; - align-items: center; - gap: 4px; - background: rgba(247, 184, 53, 0.1); - transition: all 0.3s ease; -} - -.pwa-install-btn-nav:hover { - background: #f7b835 !important; - color: #10194b !important; -} - -/* PWA Instructions Modal Overlay */ -.pwa-modal-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.7); - backdrop-filter: blur(8px); - -webkit-backdrop-filter: blur(8px); - z-index: 110000; - display: flex; - align-items: center; - justify-content: center; - opacity: 0; - transition: opacity 0.3s ease; - box-sizing: border-box; -} - -.pwa-modal-overlay.show { - opacity: 1; -} - -.pwa-modal-content { - background: #18225c; - color: white; - width: 90%; - max-width: 420px; - border-radius: 24px; - border: 1px solid rgba(255, 255, 255, 0.15); - box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); - transform: scale(0.9); - transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); - overflow: hidden; - box-sizing: border-box; -} - -.pwa-modal-overlay.show .pwa-modal-content { - transform: scale(1); -} - -.pwa-modal-header { - display: flex; - justify-content: space-between; - align-items: center; - padding: 16px 20px; - border-bottom: 1px solid rgba(255, 255, 255, 0.08); -} - -.pwa-modal-header h3 { - font-size: 1.1rem; - margin: 0; - font-weight: 700; - color: white; -} - -.pwa-modal-close-btn-top { - background: none; - border: none; - color: rgba(255, 255, 255, 0.6); - cursor: pointer; - display: flex; - align-items: center; - justify-content: center; - padding: 0; - transition: color 0.2s; -} - -.pwa-modal-close-btn-top:hover { - color: white; -} - -.pwa-modal-body { - padding: 20px; - text-align: left; -} - -.pwa-modal-app-info { - display: flex; - align-items: center; - gap: 12px; - margin-bottom: 20px; - border-bottom: 1px solid rgba(255, 255, 255, 0.08); - padding-bottom: 15px; -} - -.pwa-modal-logo { - width: 52px; - height: 52px; - border-radius: 12px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); - flex-shrink: 0; -} - -.pwa-modal-steps { - display: flex; - flex-direction: column; - gap: 16px; -} - -.pwa-step { - display: flex; - gap: 12px; - align-items: flex-start; -} - -.pwa-step-num { - background: #f7b835; - color: #10194b; - width: 22px; - height: 22px; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - font-weight: 700; - font-size: 0.8rem; - flex-shrink: 0; - margin-top: 2px; -} - -.pwa-step-text { - font-size: 0.85rem; - line-height: 1.4; - color: rgba(255, 255, 255, 0.9); -} - -.pwa-step-text strong { - color: #f7b835; -} - -.pwa-inline-icon { - vertical-align: middle; - margin: 0 2px; - background: rgba(255, 255, 255, 0.12); - border-radius: 6px; - padding: 2px 4px; - display: inline-flex; - align-items: center; - justify-content: center; -} - -@media (max-width: 480px) { - .pwa-install-banner { - width: 95%; - bottom: 10px; - padding: 12px; - } - - .pwa-banner-content { - gap: 8px; - } - - .pwa-banner-desc { - font-size: 0.7rem; - } - - .pwa-banner-btn { - padding: 6px 12px; - font-size: 0.75rem; - } -} - -/* OFFLINE SCREEN STYLES */ -.offline-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(16, 25, 75, 0.96); - backdrop-filter: blur(20px); - -webkit-backdrop-filter: blur(20px); - z-index: 999999; - display: flex; - justify-content: center; - align-items: center; - opacity: 0; - visibility: hidden; - transition: opacity 0.5s ease, visibility 0.5s ease; -} - -.offline-overlay.active { - opacity: 1; - visibility: visible; -} - -.offline-content { - text-align: center; - color: white; - padding: 40px; - max-width: 400px; - width: 90%; - font-family: 'Poppins', sans-serif; -} - -.offline-icon { - font-size: 80px; - color: #ff5e5e; - margin-bottom: 24px; - animation: pulse-offline 2s infinite ease-in-out; - display: inline-block; -} - -.offline-title { - font-size: 1.8rem; - font-weight: 700; - margin-bottom: 12px; - letter-spacing: -0.5px; - color: white; -} - -.offline-desc { - font-size: 1rem; - color: rgba(255, 255, 255, 0.7); - margin-bottom: 30px; - line-height: 1.5; -} - -.offline-btn { - background: linear-gradient(135deg, #f7b835, #f5a623); - color: #10194b; - border: none; - padding: 12px 30px; - font-size: 0.95rem; - font-weight: 700; - border-radius: 50px; - cursor: pointer; - box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4); - transition: transform 0.2s, box-shadow 0.2s; - display: inline-flex; - align-items: center; - justify-content: center; - gap: 8px; - text-decoration: none; -} - -.offline-btn:hover { - transform: translateY(-2px); - box-shadow: 0 6px 20px rgba(245, 166, 35, 0.6); - color: #10194b; -} - -.offline-btn:active { - transform: translateY(0); -} - -.offline-btn:disabled { - opacity: 0.8; - cursor: not-allowed; - transform: none; - box-shadow: none; -} - -@keyframes pulse-offline { - 0% { - transform: scale(1); - opacity: 0.8; - } - - 50% { - transform: scale(1.08); - opacity: 1; - } - - 100% { - transform: scale(1); - opacity: 0.8; - } -} - -@keyframes spin { - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -} - -.spinner-offline { - display: inline-block; -} \ No newline at end of file +/* ========================================================================== + RPIGroup Play - Sistema di design dell'app + Stesso linguaggio del tema RPIGroup Radio Theme (siti Astro): i due colori del marchio (--brand, --accent) + generano tutta la palette con color-mix(); Bricolage Grotesque per i titoli, Plus Jakarta Sans per il testo. + Tema scuro fisso: le pagine delle radio incorporate (contentrpigplay) sono scure e l'app le avvolge senza stacchi. + + Struttura: 1. Token 2. Base 3. Guscio (sidebar, topbar, tab bar, contenuto) 4. Componenti condivisi + 5. Home 6. Griglie (radio, tv, podcast) 7. Viste a tutta altezza (player, tv, puntata) + 8. Dock del player 9. Pagine di testo 10. PWA e offline 11. Movimento + ========================================================================== */ + +/* -------------------------------------------------------------------------- + 0. Caratteri (variabili, solo alfabeto latino; licenza OFL in css/fonts) + -------------------------------------------------------------------------- */ + +@font-face { + font-family: "Plus Jakarta Sans"; + font-style: normal; + font-weight: 200 800; + font-display: swap; + src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"); +} + +@font-face { + font-family: "Bricolage Grotesque"; + font-style: normal; + font-weight: 200 800; + font-display: swap; + src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); +} + +/* -------------------------------------------------------------------------- + 1. Token + -------------------------------------------------------------------------- */ + +:root { + color-scheme: dark; + + /* Marchio */ + --brand: #2a377d; + --accent: #f7b835; + + /* Sfumature del marchio */ + --brand-600: color-mix(in srgb, var(--brand) 86%, black); + --brand-700: color-mix(in srgb, var(--brand) 68%, black); + --brand-900: color-mix(in srgb, var(--brand) 37%, black); + --brand-300: color-mix(in srgb, var(--brand) 75%, #6b7fff); + --accent-600: color-mix(in srgb, var(--accent) 90%, black); + --accent-300: color-mix(in srgb, var(--accent) 80%, white); + --on-accent: color-mix(in srgb, var(--accent) 12%, black); + --live: #d42a3e; + --live-on-dark: #ff8a95; + + /* Superfici e testo */ + --bg: color-mix(in srgb, var(--brand) 26%, black); + --surface: color-mix(in srgb, var(--brand) 42%, black); + --surface-2: color-mix(in srgb, var(--brand) 57%, black); + --text: #eef0fa; + --text-muted: color-mix(in srgb, var(--brand) 40%, white); + --border: rgba(255, 255, 255, 0.1); + --link: color-mix(in srgb, var(--brand) 30%, white); + --eyebrow: var(--accent); + --glass: color-mix(in srgb, var(--brand-900) 80%, transparent); + --glass-border: rgba(255, 255, 255, 0.1); + + /* Sezioni scure del brand (apertura, intestazioni) */ + --ink: var(--brand-900); + --on-ink: #f3f4fb; + --on-ink-muted: rgba(243, 244, 251, 0.72); + --brand-gradient: radial-gradient(120% 140% at 0% 0%, var(--brand-300) 0%, transparent 55%), + radial-gradient(90% 120% at 100% 100%, var(--brand-700) 0%, transparent 60%), + linear-gradient(135deg, color-mix(in srgb, var(--brand) 88%, black) 0%, color-mix(in srgb, var(--brand) 55%, black) 100%); + + /* Forme e ombre */ + --radius-sm: 10px; + --radius: 16px; + --radius-lg: 24px; + --radius-full: 999px; + --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); + --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35); + --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.5); + --shadow-accent: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); + + /* Tipografia */ + --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; + --font-display: "Bricolage Grotesque", var(--font-sans); + --fs-display: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); + --fs-h1: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); + --fs-h2: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem); + --fs-h3: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); + + /* Layout dell'app */ + --container: 1240px; + --gutter: clamp(16px, 3vw, 32px); + --sidebar-w: 264px; + --topbar-h: 64px; + --tabbar-h: 62px; + --player-h: 72px; + --safe-bottom: env(safe-area-inset-bottom, 0px); + --safe-top: env(safe-area-inset-top, 0px); + /* Spazio da lasciare in fondo alle pagine quando il dock del player è visibile (lo imposta body.has-player) */ + --dock-space: 0px; + --ease: cubic-bezier(0.2, 0.7, 0.2, 1); +} + +body.has-player { + --dock-space: var(--player-h); +} + +@media (max-width: 899px) { + :root { + --player-h: 64px; + } +} + +/* -------------------------------------------------------------------------- + 2. Base + -------------------------------------------------------------------------- */ + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + height: 100%; + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; + overscroll-behavior: none; +} + +body { + margin: 0; + height: 100%; + overflow: hidden; + font-family: var(--font-sans); + font-size: 1rem; + line-height: 1.55; + background: var(--bg); + color: var(--text); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; + user-select: none; +} + +h1, +h2, +h3, +h4 { + font-family: var(--font-display); + font-weight: 700; + line-height: 1.12; + letter-spacing: -0.02em; + margin: 0 0 0.5em; + color: inherit; + text-wrap: balance; +} + +p { + margin: 0 0 1em; + text-wrap: pretty; +} + +img, +svg, +video { + display: block; + max-width: 100%; +} + +a { + color: var(--link); + text-decoration: none; + transition: color 0.2s var(--ease); +} + +a:hover { + color: var(--accent); +} + +button { + font: inherit; + color: inherit; +} + +:focus-visible { + outline: 3px solid var(--accent); + outline-offset: 3px; +} + +::selection { + background: var(--accent); + color: var(--on-accent); +} + +[hidden] { + display: none !important; +} + +.visually-hidden { + position: absolute !important; + width: 1px; + height: 1px; + overflow: hidden; + clip: rect(0 0 0 0); + white-space: nowrap; +} + +.icon { + flex: none; +} + +/* Barre di scorrimento sottili, in tinta (computer) */ +@media (pointer: fine) { + * { + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.18) transparent; + } + + *::-webkit-scrollbar { + width: 8px; + height: 8px; + } + + *::-webkit-scrollbar-thumb { + background: rgba(255, 255, 255, 0.18); + border-radius: 8px; + } + + *::-webkit-scrollbar-track { + background: transparent; + } +} + +/* -------------------------------------------------------------------------- + 3. Guscio dell'app + Telefono: topbar, contenuto, tab bar (righe). Computer: sidebar e contenuto (colonne). + Solo il contenuto scorre: il resto resta fermo come in un'app. + -------------------------------------------------------------------------- */ + +.app-shell { + height: 100vh; + height: 100dvh; + display: grid; + grid-template-rows: auto minmax(0, 1fr) auto; + grid-template-areas: "top" "main" "tab"; + background: var(--bg); +} + +.content { + grid-area: main; + position: relative; + display: flex; + flex-direction: column; + min-height: 0; + overflow-y: auto; + overflow-x: clip; + -webkit-overflow-scrolling: touch; + overscroll-behavior: contain; + outline: none; +} + +/* Le pagine hanno la loro altezza; le viste "fill-view" (player, tv, puntata) riempiono l'area */ +.content > * { + flex: 0 0 auto; +} + +.content > .fill-view, +.content > .podcast-page.is-detail { + flex: 1 0 auto; + display: flex; + flex-direction: column; + min-height: 0; +} + +/* Topbar (telefono) */ +.topbar { + grid-area: top; + display: flex; + align-items: center; + justify-content: center; + position: relative; + height: calc(var(--topbar-h) + var(--safe-top)); + padding: var(--safe-top) var(--gutter) 0; + background: var(--brand-700); + color: #fff; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 30px color-mix(in srgb, var(--brand-900) 25%, transparent); + z-index: 20; +} + +.topbar-brand img { + height: 44px; + width: auto; +} + +.topbar-install { + position: absolute; + right: calc(var(--gutter) - 6px); + top: calc(var(--safe-top) + (var(--topbar-h) - 40px) / 2); + color: var(--accent); +} + +/* Tab bar (telefono) */ +.tabbar { + grid-area: tab; + display: grid; + grid-template-columns: repeat(4, 1fr); + height: calc(var(--tabbar-h) + var(--safe-bottom)); + padding: 0 0.5rem var(--safe-bottom); + background: color-mix(in srgb, var(--brand-900) 92%, black); + border-top: 1px solid rgba(255, 255, 255, 0.08); + z-index: 30; +} + +.tab-item { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 3px; + color: rgba(255, 255, 255, 0.6); + font-size: 0.68rem; + font-weight: 700; + letter-spacing: 0.02em; + transition: color 0.2s var(--ease); +} + +.tab-item .icon { + transition: transform 0.25s var(--ease); +} + +.tab-item:hover { + color: #fff; +} + +.tab-item.is-active { + color: var(--accent); +} + +.tab-item.is-active .icon { + transform: translateY(-1px); +} + +/* Sidebar (computer) */ +.sidebar { + display: none; + grid-area: side; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem 1rem 1.25rem; + background: color-mix(in srgb, var(--brand-900) 85%, black); + border-right: 1px solid rgba(255, 255, 255, 0.07); + color: #fff; + overflow-y: auto; +} + +.sidebar-brand { + display: block; + padding: 0.25rem 0.75rem; +} + +.sidebar-brand img { + height: 44px; + width: auto; + transition: transform 0.4s var(--ease); +} + +.sidebar-brand:hover img { + transform: scale(1.03); +} + +.sidebar-nav { + display: grid; + gap: 0.25rem; +} + +.nav-item { + display: flex; + align-items: center; + gap: 0.85rem; + padding: 0.7rem 0.85rem; + border-radius: var(--radius-sm); + color: rgba(255, 255, 255, 0.72); + font-weight: 700; + font-size: 0.95rem; + transition: background-color 0.2s var(--ease), color 0.2s var(--ease); +} + +.nav-icon { + display: grid; + place-items: center; + width: 36px; + height: 36px; + border-radius: 10px; + background: rgba(255, 255, 255, 0.06); + color: inherit; + transition: background-color 0.2s var(--ease), color 0.2s var(--ease); +} + +.nav-item:hover { + color: #fff; + background: rgba(255, 255, 255, 0.06); +} + +.nav-item.is-active { + color: #fff; + background: rgba(255, 255, 255, 0.1); +} + +.nav-item.is-active .nav-icon { + background: var(--accent); + color: var(--on-accent); +} + +.sidebar-foot { + margin-top: auto; + display: grid; + gap: 1rem; + padding: 0 0.5rem; +} + +.sidebar-foot .install-btn { + width: 100%; +} + +.legal-links { + display: flex; + flex-wrap: wrap; + gap: 0.35rem 0.9rem; + font-size: 0.78rem; + font-weight: 600; +} + +.legal-links a { + color: rgba(255, 255, 255, 0.6); +} + +.legal-links a:hover { + color: var(--accent); +} + +.sidebar-copy { + margin: 0; + font-size: 0.72rem; + line-height: 1.5; + color: rgba(255, 255, 255, 0.45); +} + +@media (min-width: 900px) { + .app-shell { + grid-template-columns: var(--sidebar-w) minmax(0, 1fr); + grid-template-rows: minmax(0, 1fr); + grid-template-areas: "side main"; + } + + .sidebar { + display: flex; + } + + .topbar, + .tabbar { + display: none; + } +} + +/* Barra di avanzamento durante il cambio pagina */ +.route-progress { + position: fixed; + top: 0; + left: 0; + height: 3px; + width: 0; + z-index: 3000; + background: linear-gradient(90deg, var(--accent), var(--accent-300)); + box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); + opacity: 0; + transition: width 0.25s var(--ease), opacity 0.3s ease; +} + +.route-progress.is-loading { + opacity: 1; + width: 75%; + transition: width 2.5s cubic-bezier(0.1, 0.6, 0.2, 1), opacity 0.1s; +} + +.route-progress.is-done { + opacity: 0; + width: 100%; + transition: width 0.2s var(--ease), opacity 0.4s ease 0.15s; +} + +@media (min-width: 900px) { + .route-progress { + left: var(--sidebar-w); + } +} + +/* -------------------------------------------------------------------------- + 4. Componenti condivisi + -------------------------------------------------------------------------- */ + +.container { + width: 100%; + max-width: var(--container); + margin-inline: auto; + padding-inline: var(--gutter); +} + +.container.narrow { + max-width: 860px; +} + +/* Area di una pagina: spazio in basso per tab bar... no, quella è fuori dallo scroll; solo per il dock del player */ +.page { + padding: clamp(1.25rem, 1rem + 1vw, 2rem) 0 calc(1.5rem + var(--dock-space)); +} + +.section-sm { + margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); +} + +.section-head { + display: flex; + align-items: end; + justify-content: space-between; + gap: 0.75rem 1.5rem; + flex-wrap: wrap; + margin-bottom: clamp(1rem, 0.75rem + 0.8vw, 1.5rem); +} + +.section-head h2 { + font-size: var(--fs-h2); + margin: 0.3rem 0 0; +} + +.eyebrow { + display: inline-flex; + align-items: center; + gap: 0.5rem; + font-size: 0.74rem; + font-weight: 800; + letter-spacing: 0.14em; + text-transform: uppercase; + color: var(--eyebrow); +} + +.eyebrow::before { + content: ""; + width: 18px; + height: 3px; + border-radius: 3px; + background: currentColor; +} + +/* Pulsanti */ +.btn { + --btn-bg: var(--surface-2); + --btn-fg: var(--text); + display: inline-flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + min-height: 44px; + padding: 0.6rem 1.25rem; + border: 1px solid transparent; + border-radius: var(--radius-full); + background: var(--btn-bg); + color: var(--btn-fg); + font-weight: 700; + font-size: 0.92rem; + line-height: 1; + cursor: pointer; + white-space: nowrap; + text-decoration: none; + transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease); +} + +.btn:hover { + color: var(--btn-fg); + transform: translateY(-1px); +} + +.btn:active { + transform: translateY(0) scale(0.98); +} + +.btn-lg { + min-height: 54px; + padding-inline: 1.5rem; + font-size: 1rem; +} + +.btn-sm { + min-height: 36px; + padding: 0.35rem 0.9rem; + font-size: 0.8rem; +} + +.btn-accent { + --btn-bg: var(--accent); + --btn-fg: var(--on-accent); + box-shadow: var(--shadow-accent); +} + +.btn-accent:hover { + --btn-bg: var(--accent-300); +} + +.btn-brand { + --btn-bg: var(--brand); + --btn-fg: #fff; +} + +.btn-brand:hover { + --btn-bg: var(--brand-600); +} + +.btn-ghost { + --btn-bg: transparent; + --btn-fg: var(--text); + border-color: var(--border); +} + +.btn-ghost:hover { + --btn-bg: var(--surface-2); +} + +.btn-glass { + --btn-bg: rgba(255, 255, 255, 0.1); + --btn-fg: #fff; + border-color: rgba(255, 255, 255, 0.22); + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); +} + +.btn-glass:hover { + --btn-bg: rgba(255, 255, 255, 0.18); +} + +.icon-btn { + display: grid; + place-items: center; + width: 40px; + height: 40px; + padding: 0; + border: 0; + border-radius: 50%; + background: transparent; + color: inherit; + cursor: pointer; + transition: background-color 0.2s var(--ease), color 0.2s var(--ease); +} + +.icon-btn:hover { + background: rgba(255, 255, 255, 0.1); +} + +.icon-btn .icon { + grid-area: 1 / 1; +} + +/* Pillola "torna a" sopra sfondi scuri */ +.back-pill { + display: inline-flex; + width: fit-content; + align-items: center; + gap: 0.4rem; + min-height: 38px; + padding: 0.35rem 0.95rem 0.35rem 0.7rem; + border: 1px solid rgba(255, 255, 255, 0.16); + border-radius: var(--radius-full); + background: rgba(255, 255, 255, 0.08); + color: var(--on-ink); + font-weight: 700; + font-size: 0.86rem; + cursor: pointer; + white-space: nowrap; + -webkit-backdrop-filter: saturate(160%) blur(12px); + backdrop-filter: saturate(160%) blur(12px); + transition: background-color 0.2s var(--ease), color 0.2s var(--ease); +} + +.back-pill .icon { + transition: transform 0.2s var(--ease); +} + +.back-pill:hover { + color: var(--accent); + background: rgba(255, 255, 255, 0.14); +} + +.back-pill:hover .icon { + transform: translateX(-3px); +} + +/* Etichette */ +.chip { + display: inline-flex; + align-items: center; + gap: 0.4rem; + padding: 0.3rem 0.7rem; + border-radius: var(--radius-full); + font-size: 0.7rem; + font-weight: 800; + letter-spacing: 0.06em; + text-transform: uppercase; + background: var(--surface-2); + color: var(--text-muted); + white-space: nowrap; +} + +.chip-accent { + background: var(--accent); + color: var(--on-accent); +} + +.chip-brand { + background: var(--brand); + color: #fff; +} + +.chip-live { + background: var(--live); + color: #fff; +} + +.source-rdl { + background: color-mix(in srgb, var(--brand-300) 35%, var(--surface-2)); + color: #fff; +} + +.source-rc105 { + background: color-mix(in srgb, #e65100 45%, var(--surface-2)); + color: #fff; +} + +/* Puntino "in diretta" che pulsa */ +.live-dot { + width: 8px; + height: 8px; + border-radius: 50%; + background: currentColor; + box-shadow: 0 0 0 0 currentColor; + animation: live-pulse 1.8s infinite; +} + +@keyframes live-pulse { + 0% { + box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); + } + + 70% { + box-shadow: 0 0 0 8px transparent; + } + + 100% { + box-shadow: 0 0 0 0 transparent; + } +} + +/* Barre dell'equalizzatore (in riproduzione) */ +.eq { + display: inline-flex; + align-items: flex-end; + gap: 2px; + height: 14px; +} + +.eq span { + width: 3px; + height: 30%; + border-radius: 2px; + background: currentColor; +} + +.is-playing .eq span { + animation: eq 0.9s ease-in-out infinite; +} + +.is-playing .eq span:nth-child(2) { + animation-delay: 0.2s; +} + +.is-playing .eq span:nth-child(3) { + animation-delay: 0.4s; +} + +@keyframes eq { + + 0%, + 100% { + height: 30%; + } + + 50% { + height: 100%; + } +} + +/* Card */ +.card { + background: var(--surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + box-shadow: var(--shadow-sm); +} + +.card-link { + display: flex; + flex-direction: column; + color: inherit; + overflow: hidden; + cursor: pointer; + transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); +} + +.card-link:hover, +.card-link:focus-visible { + color: inherit; + transform: translateY(-3px); + box-shadow: var(--shadow-md); + border-color: color-mix(in srgb, var(--brand-300) 45%, var(--border)); +} + +.card-link:active { + transform: translateY(0) scale(0.99); +} + +/* Motivo grafico: anelli bianchi quasi trasparenti sulle sezioni scure */ +.motivo { + stroke: rgba(255, 255, 255, 0.07); + stroke-width: 1.5; + pointer-events: none; +} + +/* Macchie di colore sfocate dietro le aperture */ +.blob { + position: absolute; + border-radius: 50%; + filter: blur(70px); + opacity: 0.55; + pointer-events: none; +} + +.blob-a { + width: 460px; + height: 460px; + right: -120px; + top: -160px; + background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%); + animation: float 14s ease-in-out infinite alternate; +} + +.blob-b { + width: 560px; + height: 560px; + left: -220px; + bottom: -320px; + background: radial-gradient(circle, color-mix(in srgb, var(--brand-300) 70%, transparent), transparent 65%); + animation: float 18s ease-in-out infinite alternate-reverse; +} + +@keyframes float { + to { + transform: translate(-40px, 30px) scale(1.08); + } +} + +/* Intestazione delle pagine interne */ +.page-head { + position: relative; + overflow: hidden; + isolation: isolate; + background: var(--brand-gradient); + color: var(--on-ink); + padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); +} + +.page-head-glow { + position: absolute; + z-index: -1; + width: 520px; + height: 520px; + right: -140px; + top: -220px; + border-radius: 50%; + background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 65%); + filter: blur(20px); + pointer-events: none; +} + +.page-head-motivo { + position: absolute; + z-index: -1; + right: -12%; + bottom: -60%; + width: min(620px, 110vw); +} + +.page-head-inner { + position: relative; + display: flex; + flex-direction: column; + align-items: flex-start; +} + +.page-head .back-pill { + margin-bottom: 1rem; +} + +.page-head h1 { + font-size: var(--fs-h1); + font-weight: 800; + letter-spacing: -0.03em; + margin: 0.5rem 0 0; + color: #fff; + max-width: 22ch; +} + +.page-head .subtitle { + margin: 0.8rem 0 0; + font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem); + color: var(--on-ink-muted); + max-width: 60ch; +} + +/* Testo lungo */ +.prose { + user-select: text; + -webkit-user-select: text; + font-size: 1rem; + line-height: 1.7; + color: var(--text); +} + +.prose h2 { + font-size: var(--fs-h2); + margin: 1.8em 0 0.5em; +} + +.prose h3 { + font-size: var(--fs-h3); + margin: 1.4em 0 0.3em; +} + +.prose h2:first-child, +.prose h3:first-child, +.prose p:first-child { + margin-top: 0; +} + +.prose p:last-child { + margin-bottom: 0; +} + +.prose a { + color: var(--accent); + text-decoration: underline; + text-underline-offset: 3px; +} + +.prose a.btn { + text-decoration: none; + color: var(--on-accent); +} + +.prose b, +.prose strong { + color: #fff; +} + +.prose hr { + border: 0; + border-top: 1px solid var(--border); + margin: 1.25rem 0; +} + +.prose-card { + padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); +} + +.empty-state { + display: grid; + justify-items: center; + gap: 0.75rem; + text-align: center; + color: var(--text-muted); + padding: 3rem 1rem; + border: 1px dashed var(--border); + border-radius: var(--radius-lg); +} + +.empty-state p { + margin: 0; +} + +/* -------------------------------------------------------------------------- + 5. Home + -------------------------------------------------------------------------- */ + +.hero { + position: relative; + isolation: isolate; + overflow: hidden; + background: var(--brand-gradient); + color: var(--on-ink); + padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) 0 clamp(4.5rem, 3.5rem + 4vw, 7rem); +} + +.hero-bg { + position: absolute; + inset: 0; + z-index: -1; + pointer-events: none; +} + +.hero-motivo { + position: absolute; + width: min(760px, 120vw); + right: -18%; + top: 50%; + transform: translateY(-50%); +} + +.hero-inner { + position: relative; +} + +.hero-chip { + margin-bottom: 1.25rem; + box-shadow: 0 6px 20px color-mix(in srgb, var(--live) 35%, transparent); +} + +.hero-title { + font-size: var(--fs-display); + font-weight: 800; + line-height: 1.02; + letter-spacing: -0.035em; + max-width: 18ch; + margin: 0 0 1.1rem; + color: #fff; +} + +.hero-title .hl { + display: block; + color: var(--accent); +} + +.hero-lead { + font-size: clamp(0.98rem, 0.95rem + 0.3vw, 1.15rem); + color: var(--on-ink-muted); + max-width: 50ch; + margin-bottom: 0; +} + +.hero-cta { + display: flex; + flex-wrap: wrap; + gap: 0.7rem; +} + +@media (max-width: 520px) { + .hero-cta .btn { + width: 100%; + } +} + +/* Le tre sezioni, sovrapposte al fondo dell'apertura */ +.home-page { + padding-top: 0; +} + +.tiles { + position: relative; + z-index: 2; + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 0.9rem; + margin-top: clamp(-3rem, -2rem - 1.5vw, -2.5rem); +} + +.tile { + flex-direction: row; + align-items: center; + gap: 0.9rem; + padding: 1rem 1.1rem; + box-shadow: var(--shadow-lg); +} + +.tile-icon, +.shortcut-icon { + display: grid; + place-items: center; + flex: none; + width: 48px; + height: 48px; + border-radius: 14px; + background: linear-gradient(145deg, var(--accent-300), var(--accent) 55%, var(--accent-600)); + color: var(--on-accent); + box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent); + transition: transform 0.3s var(--ease); +} + +.tile:hover .tile-icon { + transform: scale(1.06) rotate(-4deg); +} + +.tile-text { + display: grid; + gap: 0.1rem; + min-width: 0; +} + +.tile-text strong { + font-family: var(--font-display); + font-size: 1.1rem; + color: #fff; +} + +.tile-text span { + font-size: 0.85rem; + color: var(--text-muted); +} + +.tile-arrow { + margin-left: auto; + color: var(--text-muted); + transition: transform 0.2s var(--ease), color 0.2s var(--ease); +} + +.tile:hover .tile-arrow { + transform: translateX(3px); + color: var(--accent); +} + +/* Telefono: una riga per sezione, a tutta larghezza, con descrizione e freccia */ +@media (max-width: 640px) { + .tiles { + grid-template-columns: 1fr; + gap: 0.6rem; + margin-top: -2rem; + } + + .tile { + gap: 0.85rem; + padding: 0.8rem 0.9rem 0.8rem 0.8rem; + border-radius: var(--radius); + } + + .tile-icon { + width: 46px; + height: 46px; + border-radius: 12px; + } + + .tile-text strong { + font-size: 1.02rem; + } + + .tile-text span { + font-size: 0.82rem; + } +} + +/* Collegamenti rapidi (informazioni, 404) */ +.shortcut-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); + gap: 0.9rem; +} + +.shortcut { + position: relative; + gap: 0.25rem; + padding: 1.2rem 3rem 1.2rem 1.25rem; +} + +.shortcut .shortcut-icon { + width: 42px; + height: 42px; + margin-bottom: 0.6rem; + background: rgba(255, 255, 255, 0.07); + color: var(--accent); + box-shadow: none; +} + +.shortcut:hover .shortcut-icon { + background: var(--accent); + color: var(--on-accent); +} + +.shortcut strong { + font-family: var(--font-display); + font-size: 1.05rem; + color: #fff; +} + +.shortcut > span:not(.shortcut-icon) { + font-size: 0.88rem; + color: var(--text-muted); +} + +.shortcut-arrow { + position: absolute; + right: 1.1rem; + top: 1.3rem; + color: var(--text-muted); + transition: transform 0.2s var(--ease), color 0.2s var(--ease); +} + +.shortcut:hover .shortcut-arrow { + transform: translateX(3px); + color: var(--accent); +} + +/* Partner e feedback */ +.partner-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); + gap: 0.9rem; +} + +.partner-card, +.feedback-card { + gap: 0.6rem; + padding: 1.4rem; +} + +.partner-card { + align-items: flex-start; + background: linear-gradient(140deg, var(--brand) 0%, var(--brand-700) 70%, var(--brand-900) 100%); +} + +.partner-card img { + width: min(100%, 300px); + height: auto; + margin: 0.5rem 0; + filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35)); +} + +.feedback-card strong { + font-family: var(--font-display); + font-size: 1.1rem; + color: #fff; +} + +.feedback-card > span:not(.shortcut-icon):not(.partner-link) { + color: var(--text-muted); + font-size: 0.92rem; +} + +.partner-link { + display: inline-flex; + align-items: center; + gap: 0.35rem; + margin-top: auto; + font-size: 0.85rem; + font-weight: 800; + color: var(--accent); +} + +.mobile-footer { + margin-top: 2.5rem; + padding-top: 1.25rem; + border-top: 1px solid var(--border); + display: grid; + gap: 0.6rem; + font-size: 0.75rem; + color: var(--text-muted); +} + +.mobile-footer p { + margin: 0; + line-height: 1.5; +} + +.mobile-footer .legal-links a { + color: var(--text-muted); +} + +@media (min-width: 900px) { + .mobile-footer { + display: none; + } +} + +/* -------------------------------------------------------------------------- + 6. Griglie: radio, tv, podcast + -------------------------------------------------------------------------- */ + +.station-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); + gap: 0.9rem; +} + +@media (min-width: 640px) { + .station-grid { + grid-template-columns: repeat(auto-fill, minmax(190px, 230px)); + } +} + +/* Le TV hanno la copertina 16:9 (anteprima del canale): colonne più larghe delle radio, una sola su telefono */ +.tv-grid { + grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); +} + +@media (min-width: 640px) { + .tv-grid { + grid-template-columns: repeat(auto-fill, minmax(300px, 400px)); + } +} + +.station-card .cover { + position: relative; + display: block; + aspect-ratio: 1; + overflow: hidden; + background: var(--brand-700); +} + +.station-card.is-tv .cover { + aspect-ratio: 16 / 9; +} + +.station-card .cover img { + width: 100%; + height: 100%; + object-fit: cover; + transition: transform 0.6s var(--ease); +} + +.station-card:hover .cover img { + transform: scale(1.05); +} + +.station-card .play, +.podcast-card .play { + position: absolute; + right: 12px; + bottom: 12px; + display: grid; + place-items: center; + width: 44px; + height: 44px; + padding-left: 2px; + border-radius: 50%; + background: var(--accent); + color: var(--brand-900); + box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-900) 45%, transparent); + transform: translateY(6px); + opacity: 0.92; + transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); +} + +.station-card:hover .play, +.podcast-card:hover .play { + transform: none; + opacity: 1; +} + +.station-card .thematic, +.station-card .tv-chip { + position: absolute; + left: 10px; + top: 10px; + font-size: 0.62rem; + padding: 0.22rem 0.55rem; +} + +.station-card .body { + display: grid; + gap: 0.15rem; + padding: 0.9rem 1rem 1rem; +} + +.station-card h3 { + font-size: 1rem; + margin: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.station-card p { + margin: 0; + font-size: 0.82rem; + color: var(--text-muted); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +/* Podcast */ +.podcast-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); + gap: 1rem; +} + +.podcast-card .cover { + position: relative; + aspect-ratio: 16 / 9; + overflow: hidden; + background: linear-gradient(140deg, var(--brand) 0%, var(--brand-700) 70%, var(--brand-900) 100%); +} + +.podcast-card .cover img { + width: 100%; + height: 100%; + object-fit: cover; + transition: transform 0.6s var(--ease); +} + +.podcast-card:hover .cover img { + transform: scale(1.05); +} + +.cover-fallback { + position: absolute; + inset: 0; + display: grid; + place-items: center; + color: rgba(255, 255, 255, 0.35); +} + +.podcast-card .body { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + padding: 1rem 1.1rem 1.1rem; + flex: 1; +} + +.podcast-card .chips { + display: flex; + flex-wrap: wrap; + gap: 0.35rem; +} + +.podcast-card .chips .chip { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; +} + +.podcast-card h3 { + font-size: var(--fs-h3); + margin: 0.1rem 0 0; +} + +.podcast-card time { + display: inline-flex; + align-items: center; + gap: 0.35rem; + margin-top: auto; + font-size: 0.82rem; + color: var(--text-muted); +} + +.podcast-card time .icon { + color: var(--accent); +} + +/* -------------------------------------------------------------------------- + 7. Viste a tutta altezza: radio (iframe o scheda), tv, puntata podcast + -------------------------------------------------------------------------- */ + +.fill-view { + padding-bottom: var(--dock-space); +} + +.view-bar { + display: flex; + align-items: center; + gap: 0.85rem; + padding: 0.75rem var(--gutter); + background: var(--brand-700); + color: #fff; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); + flex: none; + position: relative; + z-index: 2; +} + +.view-title { + flex: 1; + min-width: 0; + display: grid; + line-height: 1.25; +} + +.view-title strong { + font-family: var(--font-display); + font-size: 1.05rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.view-title span { + font-size: 0.78rem; + color: rgba(255, 255, 255, 0.65); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +@media (max-width: 479px) { + .view-bar { + gap: 0.6rem; + } + + .view-bar .back-pill { + padding-right: 0.7rem; + } +} + +/* Contenuti incorporati (pagina della radio, puntata): l'iframe riempie lo spazio che resta */ +iframe.contentplayer { + flex: 1 1 auto; + min-height: 0; + width: 100%; + height: auto; + border: 0; + background: var(--bg); +} + +/* Scheda della radio senza pagina incorporata: logo, brano in onda */ +.station-static { + position: relative; + isolation: isolate; + overflow: hidden; + flex: 1 1 auto; + min-height: 0; + display: grid; + place-items: center; + padding: clamp(1.5rem, 1rem + 2vw, 3rem) var(--gutter); + background: var(--brand-gradient); + color: var(--on-ink); +} + +.station-static-bg { + position: absolute; + inset: 0; + z-index: -1; +} + +.station-static-motivo { + position: absolute; + width: min(700px, 120vw); + left: 50%; + top: 50%; + transform: translate(-50%, -50%); +} + +.station-static-card { + display: grid; + justify-items: center; + gap: 0.75rem; + text-align: center; + max-width: 460px; +} + +.static-cover { + width: clamp(160px, 40vw, 220px); + aspect-ratio: 1; + object-fit: cover; + border-radius: var(--radius-lg); + background: var(--brand-700); + box-shadow: var(--shadow-lg); + margin-bottom: 0.5rem; +} + +.station-static-card h2 { + font-size: var(--fs-h2); + margin: 0.25rem 0 0; + color: #fff; + overflow-wrap: anywhere; +} + +.station-static-card p { + margin: 0; + color: var(--on-ink-muted); +} + +/* TV */ +.tv-stage { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 1rem; + padding: clamp(0.75rem, 0.5rem + 1vw, 1.75rem) var(--gutter); +} + +.tv-player { + position: relative; + width: min(100%, calc((100vh - 240px) * 16 / 9), 1180px); + aspect-ratio: 16 / 9; + overflow: hidden; + border-radius: var(--radius); + background: #000; + border: 1px solid rgba(255, 255, 255, 0.12); + box-shadow: 0 16px 40px color-mix(in srgb, var(--brand-900) 60%, transparent); +} + +.tv-player video { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + object-fit: contain; + background: #000; +} + +.tv-error { + position: absolute; + left: 50%; + top: 50%; + width: min(90%, 36ch); + margin: 0; + padding: 0.9rem 1.1rem; + border-radius: var(--radius-sm); + background: rgba(13, 19, 48, 0.9); + color: #fff; + text-align: center; + font-weight: 600; + translate: -50% -50%; + z-index: 2; +} + +.tv-caption { + display: flex; + align-items: center; + gap: 0.85rem; + width: min(100%, 1180px); + color: var(--text-muted); + font-size: 0.88rem; +} + +.tv-caption img { + width: 40px; + height: 40px; + border-radius: 10px; + object-fit: cover; + flex: none; +} + +.tv-caption div { + display: grid; +} + +.tv-caption strong { + color: #fff; +} + +/* Puntata podcast aperta */ +.podcast-page { + display: flex; + flex-direction: column; +} + +.podcast-detail { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; + padding-bottom: var(--dock-space); +} + +/* -------------------------------------------------------------------------- + 8. Dock del player: fisso in basso, sopra la tab bar su telefono, a destra della sidebar su computer + -------------------------------------------------------------------------- */ + +/* Barra a tutta larghezza, agganciata in basso: sopra la tab bar su telefono, accanto alla sidebar su computer */ +.player-dock { + position: fixed; + left: 0; + right: 0; + bottom: calc(var(--tabbar-h) + var(--safe-bottom)); + z-index: 950; + animation: dock-in 0.35s var(--ease) both; +} + +@keyframes dock-in { + from { + opacity: 0; + translate: 0 100%; + } +} + +.player-inner { + display: flex; + align-items: center; + gap: 0.7rem; + height: var(--player-h); + padding: 0 var(--gutter) 0 calc(var(--gutter) - 4px); + background: color-mix(in srgb, var(--brand-900) 92%, transparent); + color: #fff; + border-top: 1px solid rgba(255, 255, 255, 0.1); + box-shadow: 0 -10px 40px color-mix(in srgb, var(--brand-900) 45%, transparent); + -webkit-backdrop-filter: saturate(160%) blur(18px); + backdrop-filter: saturate(160%) blur(18px); +} + +@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { + .player-inner { + background: var(--brand-900); + } +} + +.play-btn { + position: relative; + display: grid; + place-items: center; + flex: none; + width: 48px; + height: 48px; + border: 0; + border-radius: 50%; + background: var(--accent); + color: var(--brand-900); + cursor: pointer; + box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent); + transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); +} + +.play-btn:hover { + transform: scale(1.05); + background: var(--accent-300); +} + +.play-btn:active { + transform: scale(0.96); +} + +.play-btn .icon, +.play-btn .spinner { + grid-area: 1 / 1; +} + +.play-btn .i-play { + margin-left: 2px; +} + +.i-pause, +.spinner, +.is-playing .i-play, +.is-buffering .i-play, +.is-buffering .i-pause { + display: none; +} + +.is-playing .i-pause { + display: block; +} + +.is-buffering .spinner { + display: block; + width: 22px; + height: 22px; + border-radius: 50%; + border: 3px solid color-mix(in srgb, var(--brand-900) 25%, transparent); + border-top-color: var(--brand-900); + animation: spin 0.8s linear infinite; +} + +@keyframes spin { + to { + transform: rotate(360deg); + } +} + +.dock-cover-link { + flex: none; + line-height: 0; +} + +.player-dock .cover { + width: 44px; + height: 44px; + border-radius: 12px; + object-fit: cover; + background: var(--brand-700); +} + +.track-details { + flex: 1; + min-width: 0; + line-height: 1.25; +} + +.live-tag { + display: flex; + align-items: center; + gap: 0.4rem; + font-size: 0.64rem; + font-weight: 800; + letter-spacing: 0.1em; + text-transform: uppercase; + color: var(--live-on-dark); +} + +.live-tag .eq { + display: none; + height: 10px; + color: var(--accent); +} + +.is-playing .live-tag .eq { + display: inline-flex; +} + +.is-error .live-tag { + color: var(--on-ink-muted); +} + +.track-title, +.track-artist { + margin: 0; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.track-title { + font-weight: 700; + font-size: 0.95rem; + margin-top: 2px; +} + +.track-artist { + font-size: 0.8rem; + color: rgba(255, 255, 255, 0.65); +} + +.format-chip { + flex: none; + min-width: 44px; + padding: 0.3rem 0.55rem; + border: 1px solid rgba(255, 255, 255, 0.25); + border-radius: var(--radius-sm); + background: rgba(255, 255, 255, 0.08); + color: #fff; + font-size: 0.68rem; + font-weight: 800; + letter-spacing: 0.08em; + cursor: pointer; + transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); +} + +.format-chip:hover { + background: rgba(255, 255, 255, 0.16); + border-color: rgba(255, 255, 255, 0.4); +} + +.volume-container { + display: none; + align-items: center; + gap: 0.4rem; + flex: none; +} + +.i-mute, +.is-muted .i-vol { + display: none; +} + +.is-muted .i-mute { + display: block; +} + +.vol-slider { + --val: 100%; + width: 100px; + height: 4px; + appearance: none; + -webkit-appearance: none; + border-radius: 4px; + background: linear-gradient(to right, var(--accent) var(--val), rgba(255, 255, 255, 0.2) var(--val)); + cursor: pointer; +} + +.vol-slider::-webkit-slider-thumb { + -webkit-appearance: none; + width: 14px; + height: 14px; + border-radius: 50%; + background: #fff; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); +} + +.vol-slider::-moz-range-thumb { + width: 14px; + height: 14px; + border: 0; + border-radius: 50%; + background: #fff; +} + +.dock-close { + flex: none; + width: 36px; + height: 36px; + color: rgba(255, 255, 255, 0.7); +} + +@media (min-width: 900px) { + .player-dock { + left: var(--sidebar-w); + right: 0; + bottom: 0; + } + + .player-inner { + gap: 0.9rem; + } + + .play-btn { + width: 52px; + height: 52px; + } + + .player-dock .cover { + width: 48px; + height: 48px; + } + + .volume-container { + display: flex; + } +} + +/* -------------------------------------------------------------------------- + 9. Pagine di testo: changelog, 404 + -------------------------------------------------------------------------- */ + +.changelog-repo { + display: flex; + align-items: center; + gap: 0.45rem; + margin: 0 0 1.25rem; + font-size: 0.88rem; + color: var(--text-muted); +} + +.changelog-repo a { + color: var(--accent); + font-weight: 700; +} + +.changelog-list { + display: grid; + gap: 0.9rem; +} + +.changelog-entry { + padding: 1.2rem 1.3rem; + user-select: text; + -webkit-user-select: text; +} + +.changelog-head { + display: flex; + align-items: center; + gap: 0.7rem; + margin-bottom: 0.8rem; +} + +.changelog-current { + font-size: 0.75rem; + font-weight: 700; + color: var(--text-muted); +} + +.changelog-entry ul { + margin: 0; + padding-left: 1.2rem; + display: grid; + gap: 0.35rem; + font-size: 0.95rem; + line-height: 1.55; +} + +.changelog-entry li::marker { + color: var(--accent); +} + +.changelog-empty { + margin: 0; + font-style: italic; + color: var(--text-muted); +} + +/* 404: "404" con la lancetta di una radio che cerca la frequenza */ +.not-found .page-head-inner { + align-items: center; + text-align: center; +} + +.not-found h1 { + max-width: none; +} + +.not-found .subtitle { + margin-inline: auto; + max-width: 52ch; +} + +.not-found .hero-cta { + justify-content: center; + margin-top: 1.5rem; +} + +.code { + display: inline-flex; + align-items: center; + gap: 0.4rem; + margin-bottom: 1rem; + font-family: var(--font-display); + font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem); + font-weight: 800; + line-height: 1; + letter-spacing: -0.04em; + color: #fff; +} + +.dial { + position: relative; + display: inline-block; + width: 0.9em; + height: 0.9em; + border-radius: 50%; + border: 0.08em solid rgba(255, 255, 255, 0.35); + background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%); +} + +.needle { + position: absolute; + left: 50%; + bottom: 50%; + width: 0.06em; + height: 0.4em; + margin-left: -0.03em; + border-radius: 0.03em; + background: var(--accent); + transform-origin: bottom center; + animation: needle 3s ease-in-out infinite alternate; +} + +@keyframes needle { + from { + transform: rotate(-60deg); + } + + to { + transform: rotate(60deg); + } +} + +/* -------------------------------------------------------------------------- + 10. PWA (banner, istruzioni) e offline + -------------------------------------------------------------------------- */ + +@media (display-mode: standalone) { + + .pwa-install-banner, + [data-pwa-install] { + display: none !important; + } +} + +.pwa-install-banner { + position: fixed; + left: 8px; + right: 8px; + bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 8px); + z-index: 100000; + padding: 0.85rem; + border-radius: 20px; + border: 1px solid rgba(255, 255, 255, 0.15); + background: color-mix(in srgb, var(--brand-700) 94%, transparent); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + box-shadow: var(--shadow-lg); + color: #fff; + transform: translateY(120px); + opacity: 0; + transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s; +} + +.pwa-install-banner.show { + transform: none; + opacity: 1; +} + +/* Con il dock del player visibile il banner sale sopra di esso */ +body.has-player .pwa-install-banner { + bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--player-h) + 8px); +} + +.pwa-banner-content { + display: flex; + align-items: center; + gap: 0.75rem; +} + +.pwa-banner-logo { + width: 48px; + height: 48px; + border-radius: 12px; + flex: none; +} + +.pwa-banner-text { + flex: 1; + min-width: 0; +} + +.pwa-banner-title { + font-weight: 700; + font-size: 0.95rem; +} + +.pwa-banner-desc { + font-size: 0.75rem; + color: rgba(255, 255, 255, 0.8); + line-height: 1.3; +} + +.pwa-banner-actions { + display: flex; + align-items: center; + gap: 0.25rem; + flex: none; +} + +.pwa-modal-overlay { + position: fixed; + inset: 0; + z-index: 110000; + display: flex; + align-items: center; + justify-content: center; + padding: 1rem; + background: rgba(0, 0, 0, 0.6); + -webkit-backdrop-filter: blur(8px); + backdrop-filter: blur(8px); + opacity: 0; + transition: opacity 0.3s ease; +} + +.pwa-modal-overlay.show { + opacity: 1; +} + +.pwa-modal-content { + width: min(100%, 440px); + border-radius: var(--radius-lg); + border: 1px solid rgba(255, 255, 255, 0.15); + background: var(--surface); + color: #fff; + box-shadow: var(--shadow-lg); + transform: scale(0.94); + transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); + overflow: hidden; +} + +.pwa-modal-overlay.show .pwa-modal-content { + transform: scale(1); +} + +.pwa-modal-header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 1rem 1rem 1.25rem; + border-bottom: 1px solid var(--border); +} + +.pwa-modal-header h3 { + font-size: 1.1rem; + margin: 0; +} + +.pwa-modal-body { + padding: 1.25rem; +} + +.pwa-modal-app-info { + display: flex; + align-items: center; + gap: 0.85rem; + margin-bottom: 1.25rem; + padding-bottom: 1rem; + border-bottom: 1px solid var(--border); +} + +.pwa-modal-app-info h4 { + margin: 0; + font-size: 1rem; +} + +.pwa-modal-app-info p { + margin: 2px 0 0; + font-size: 0.8rem; + color: var(--text-muted); +} + +.pwa-modal-logo { + width: 52px; + height: 52px; + border-radius: 12px; + flex: none; +} + +.pwa-modal-steps { + display: grid; + gap: 1rem; +} + +.pwa-step { + display: flex; + gap: 0.75rem; + align-items: flex-start; +} + +.pwa-step-num { + display: grid; + place-items: center; + width: 24px; + height: 24px; + border-radius: 50%; + background: var(--accent); + color: var(--on-accent); + font-weight: 800; + font-size: 0.8rem; + flex: none; +} + +.pwa-step-text { + font-size: 0.9rem; + line-height: 1.45; + color: var(--text); +} + +.pwa-step-text strong { + color: var(--accent); +} + +.pwa-inline-icon { + display: inline-grid; + place-items: center; + vertical-align: middle; + margin: 0 2px; + padding: 2px 4px; + border-radius: 6px; + background: rgba(255, 255, 255, 0.12); + color: var(--accent); +} + +/* Offline */ +.offline-overlay { + position: fixed; + inset: 0; + z-index: 999999; + display: flex; + justify-content: center; + align-items: center; + padding: 1.5rem; + background: color-mix(in srgb, var(--brand-900) 94%, transparent); + -webkit-backdrop-filter: blur(20px); + backdrop-filter: blur(20px); + opacity: 0; + visibility: hidden; + transition: opacity 0.4s ease, visibility 0.4s ease; +} + +.offline-overlay.active { + opacity: 1; + visibility: visible; +} + +.offline-content { + display: grid; + justify-items: center; + gap: 0.75rem; + text-align: center; + color: #fff; + max-width: 400px; +} + +.offline-icon { + color: var(--live-on-dark); + animation: pulse-offline 2s infinite ease-in-out; +} + +.offline-title { + font-size: 1.7rem; + margin: 0.5rem 0 0; +} + +.offline-desc { + color: var(--on-ink-muted); + margin-bottom: 0.75rem; +} + +.offline-btn .icon.is-spinning { + animation: spin 1s linear infinite; +} + +@keyframes pulse-offline { + + 0%, + 100% { + transform: scale(1); + opacity: 0.8; + } + + 50% { + transform: scale(1.08); + opacity: 1; + } +} + +/* Errore di caricamento di una pagina */ +.load-error { + margin: 2rem auto; + max-width: 480px; + text-align: center; + padding: 2rem 1.5rem; +} + +.load-error h2 { + font-size: var(--fs-h2); +} + +.load-error p { + color: var(--text-muted); +} + +/* -------------------------------------------------------------------------- + 11. Movimento + -------------------------------------------------------------------------- */ + +/* Il contenuto nuovo compare dal basso con una dissolvenza */ +.content.is-entering > * { + animation: page-in 0.35s var(--ease) both; +} + +@keyframes page-in { + from { + opacity: 0; + translate: 0 10px; + } +} + +@media (prefers-reduced-motion: reduce) { + + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + } +} diff --git a/data/changelog.xml b/data/changelog.xml index 3357fa8..0df8d41 100644 --- a/data/changelog.xml +++ b/data/changelog.xml @@ -1,431 +1,445 @@ - - - - - - 2.6.2 - - Aggiornato il layout e CSS della homepage dell'applicazione. - Pulizia e alleggerimento del codice Javascript, rimuovendo il logging eccessivo di debug. - Correzione e bugfix di problematiche varie. - - - - - 2.6.1 - - Ottimizzazione PWA: implementato il fallback offline completo e il caching dinamico, permettendo all'app di funzionare senza connessione internet su tutte le rotte dinamiche. - Stile e comportamento "Native App": impedita la selezione accidentale del testo e rimosso l'highlight tap dei browser su smartphone per migliorare l'UX. - Pulizia e alleggerimento del codice Javascript, rimuovendo il logging eccessivo di debug. - Correzione e bugfix di problematiche varie. - - - - - 2.6.0 - - Aggiornato il sistema di gestione della visualizzazione delle pagine. - Aggiunto il pulsante "guida" per il download dell'applicazione su iOS e Android. - Correzione e bugfix di problematiche varie. - - - - - 2.5.1 (a) - - Migliorata l'usabilità e UX dell'applicazione, inserendo ad ogni pagina il pulsante "Back" (già presente in: player radio, tv e podcast) - Correzione e bugfix di problematiche varie. - - - - - 2.5.0 - - Aggiunta la pagina per la visualizzazione dei podcast. - Rimossa la pagina per l'aggiunta delle nuove emittenti radiofoniche e televisive. - Correzione e bugfix di problematiche varie. - - - - - 2.4.2 - - Aggiornata la grandezza della finestra dell'applicazione da desktop. - Inserito il link della repository su ASV Git all'interno della pagina del changelog. - Correzione e bugfix di problematiche varie. - - - - - 2.4.1 - - Aggiornata la pagiana del player audio, per renderla più coerente con le altre pagine dell'applicazione. - Aggiunta la visualizzazione dell'artista e del brano in riproduzione. - Correzione e bugfix di problematiche varie. - - - - - 2.4.0 - - Implementato il player video dedicato per la riproduzione dei canali visivi. - Correzione e bugfix di problematiche varie. - - - - - 2.3.0 - - Ottimizzata la risoluzione dell'applicazione su dispositivi larghi (tablet, iPad e computer). - Implementato lo switch tra il player audio in HLS e il player audio in MP3/AAC. - Rimosso l'avviso per i dispositivi iOS. - Correzione e bugfix di problematiche varie. - - - - - 2.2.0 - - E' stato reintrodotto la schermata di caricamento ad ogni selezione di ogni pagina dell'applicazione. - Correzione e bugfix di problematiche varie. - - - - - 2.1.4 - - Corretto la visione verticale sui dispositivi mobili. - Correzione e bugfix di problematiche varie. - - - - - 2.1.3 - - Implementato il nuovo player audio per la riproduzione dei flussi audio in HLS per il bitrate adattivo. - Correzione e bugfix di problematiche varie. - - - - - 2.1.2 - - Implementazione del sistema di qualità adattiva (ABR) per il player audio. - Correzione e bugfix di problematiche varie. - - - - - 2.1.1 - - Corretti alcuni bug che impedivano l'accesso al player dal link esterno. - Correzione e bugfix di problematiche varie. - - - - - 2.1.0 - - Risoluzione dei problemi minori presenti nel codice, che causava problemi nella navigazione in app. - Risoluzione dei problemi minori presenti nel codice, che causava problemi di riproduzione audio al player. - Correzione e bugfix di problematiche varie. - - - - - 2.0.4 - - Blocco rotazione: è stato risolto il problema della rotazione schermo dell'applicazione. Ora rimane fissa in verticale. - Correzione e bugfix di problematiche varie. - - - - - 2.0.3 - - Corretta la visualizzazione dei contenuti forniti dalle emittenti all'interno del player. - Corretta la visualizzazione del player audio. - Correzione e bugfix di problematiche varie. - - - - - 2.0.2 - - Inserita la pagina statica per le emittenti tematiche. - Correzione e bugfix di problematiche varie. - - - - - 2.0.1 - - Aggiunta la Visual Radio dell'emittente "Radio Città 105". - Correzione e bugfix di problematiche varie. - - - - - 2.0.0 - - Nuova UI/UX: RPIGroup aggiorna la veste grafica della sua applicazione, rendendola più "fumettosa" e "giocattolosa". Un'estetica completamente diversa da tutte le altre varie app radiofoniche. - Nuova Engine: Nuovo motore e struttura dell'applicazione. Lato backend è cambiato completamente rispetto alla versione 1. - Nuovo Player Audio/Video: Player più semplice, ma conserva le caratteristiche della precedente versione. - Termini e Condizioni: inserimento per obblighi di legge dei corrispettivi "Termini e Condizioni" - Policy Privacy: inserimento per obblighi di legge dei corrispettivi "Policy Privacy" - Dalla versione 2 e successive, è stata rimossa la dicitura "stable" in quanto non esistono più varie versioni dell'applicazione. - Correzione e bugfix di problematiche varie. - - - - - 1.2.1 Stable - - Aggiunta la pagina sul chiarimento dei "Diritti d'Autore". - Correzione e bugfix di problematiche varie. - - - - - 1.2.0 Stable - - Implementato il "Media Sessions" che permette di visualizzare la radio in riproduzione nel centro notifiche su iOS e Android. - Preparazione dell'ottimizzazione del software in occasione della terza versione dell'app. - Correzione e bugfix di problematiche varie. - - - - - 1.1.1 Stable - - Correzione bug che impediva il caricamento del logo nell'icona dell'app sui smartphone. - Risolto il problema dell'overscrolling su smartphone. - Correzione e bugfix di problematiche varie. - - - - - 1.1.0 Stable - - Aggiunta la nuova stazione radio tematica "RDL Revival 70-80-90". - Migliorata la visualizzazione del selettore radio della pagina home. - Implementato nel player la visualizzazione della pagina statica per le radio tematiche. - Correzione e bugfix di problematiche varie causate dall'ultima versione "Beta". - - - - - 1.0.0 Stable - - Passaggio alla versione "Stable" dell'applicazione. - Verifica di ulteriori correzioni dal passaggio della versione stabile. - Leggerimento dell'applicazione a livello backend. - Ulteriori analisi di stabilità dal momento del passaggio alla versione stabile. - Correzione e bugfix di problematiche varie causate dall'ultima versione "Beta". - - - - - 0.24.0 Beta - - Aggiormaneto player audio - Riproduzione dei flussi audio in HLS per il bitrate adattivo. Le radio iscritte devono supportare il protocollo HLS. - Supporto all'interscambio della connessione - Al cambiare di tipologia (Wifi o Rete Cellulare), il flusso audio non si interrompe. - Preparazione del codice alla versione "1.0.0 Stable" - Correzione e bugfix di problematiche varie. - - - - - 0.23.3 Beta - - Inserimento del nuovo flusso video per il canale "RC105 TV". - Aggiornamento player video - Inserita l'anteprima del flusso video - Correzione accesso al player video con l'inserimento automatico dell'anteprima e flusso video del canale selezionato - Correzione e bugfix di problematiche varie. - - - - - 0.23.2 Beta - - Inizializzazione cambio interfaccia e modernamento. - Reinserimento della schermata di caricamento nel player. - Correzione e bugfix di problematiche varie. - - - - - 0.23.1 Beta - - Rimozione del logo al caricamento di ogni singola pagina (tranne all'avvio dell'app). - Correzione e bugfix di problematiche varie. - - - - - 0.23.0 Beta - - Rilasciato il nuovo player video. - Inserimento dell'emittente RC105TV nella lista delle WebTV. - Correzione e bugfix di problematiche varie. - - - - - 0.22.4 Beta - - Correzione errori minimi nel sistema. - Aggiunta indicatore della versione app nella schermata desktop. - Preparazione player video - Correzioni minimi player e aggiunta di pagine mancanti. - Correzione e bugfix di problematiche varie. - - - - - 0.22.3 Beta - - Migliorati i tempi di caricamento dei player. - Aggiunta nuovi file di Configurazione. - Correzione e bugfix di problematiche varie. - - - - - 0.22.2 Beta - - Corretto la visualizzazione del player da desktop. - Corretto la visualizzazione del font scelto per la webapp "Rubik". - Varie ottimizzazioni per la valutazione finale di Google Page Speed. - Correzione e bugfix di problematiche varie. - - - - - 0.22.1 Beta - - Corretto il bug del logo all'interno dell'homepage. - Corretto la riproduzione audio dell'emittente Radio Città 105. - Correzione e bugfix di problematiche varie. - - - - - 0.22.0 Beta - - Cambiata la struttura interna dell'app, con unificazione della visualizzazione mobile con quella desktop. - Cambiata la configurazione dell'app. Ottimizzata per ridurre i tempi di attesa e output della pagina. - Le emittenti registrate sono inserite all'interno di un file XML apposito. - Aggiornato il player interattivo. Ora disponibile di default per tutte le emittenti. - Ottimizzata la homescreen con correzioni di vari bug. - Correzione e bugfix di problematiche varie. - - - - - 0.21.0 Beta - - Realizzazione del nuovo player interattivo. Disponibile per smartphone e desktop (Al momento, è disponibile solo per l'emittente RDL). - Disattivato il precedente player mobile. Verrà riattivato esclusivamente per "emittenti" sprovviste di pagine dinamiche. - Correzione e bugfix di problematiche varie. - - - - - 0.20.0 Beta - - L'app entra ufficialmente nello stato di Beta-testing. - Cambiata la modalità di indicazione della versione, non più basata sulla data di aggiornamento, ma sul numero di update dell'app. - Avviata ufficialmente la "Roadmap" sulla Versione 1.0.0 (indicata a fine pagina CHANGELOG). - Aggiunto script per iOS e iPadOS sul rilevamento uso browser/app. - Correzione e bugfix script rilevamento app Android. - - - - - 0.12.6 Alpha (Last Release) - - Aggiornata la lista emittenti nel menu in alto sinistra. - Aggiornate le pagine "Cosa è RPIGRPUP PLAY", "COME FUNZIONA L'APP" e "HAI BISOGNO DI AIUTO". - Corretto bug inizializzazione app per iOS e iPadOS. - Aggiunto script di controllo gestione app per iOS e iPadOS. - Correzione e bugfix di problematiche varie. - - - - - 0.12.5 Aplha - - Realizzazione file XML per il Changelog. - Aggiunto pulsante per la visualizzazione del Changelog. - Correzione pagina About per la visualizzazione del Changelog. - Correzione visualizzazione del Home Page. - Reso automatico il cambio di versione dell'app in base all'ultima versione disponibile e dichiarata all'intero del Changelog. - - - - - 0.12.2 Alpha - - Corretto il problema del caricamento del "Player Mobile" su iOS e derivati. - Corretto e aggiunto nuovi script del "Player Mobile" - Aggiornato slogan dell'emittente "RDL XMAS" - Aggiunto il Changelog - - - - - 0.11.30 Alpha - - Corretto la visualizzazione del "Player Mobile" - Aggiornata la lista emittenti nel menu in alto sinistra - Rimosse momentaneamente le WebTV nel menu in alto sinistra - - - - - 0.11.29 Alpha - - Aggiunta nuova emittente "RDL XMAS" - Corretta la visualizzazione del "PLAYER DESKTOP" - Corretta la visualizzazione della lista emittenti in "Home Desktop" e "Home Mobile" - Abilitato il "Player Mobile" anche in ambiente Desktop - Aggiornato script che impedisce il refresh della pagina da Mobile - - - - - 0.9.26 Alpha - - Cambiata l'URL del flusso audio di RDL e RC105 - Correzione e bugfix all'interno dello stile dell'app - Correzione e bugfix all'interno dei metatag - Aggiunto script di disabilitazione pulsante F5 da tastiera - - - - - 0.9.24 Alpha - - Correzione e bugfix player video - - - - - 0.9.23 Alpha - - Aggiunto player video - Aggiunto collegamenti dei canali video delle emittenti - Aggiunto in configurazione gli URL dei canali video delle emittenti - - - - - 0.7.31 Alpha - - Correzione e bugfix all'interno della configurazione dell'app - Rimozione dello script per lo "scroll to update page" da smartphone - Aggiunti i metodi di contatto in About - - - - \ No newline at end of file + + + + + + 3.0.0 + + Nuova interfaccia dell'app, disegnata sul tema RPIGroup Radio Theme dei siti del gruppo: colori del marchio, caratteri Bricolage Grotesque e Plus Jakarta Sans, card, tema scuro. + L'app è ora anche per computer: menu laterale e player in basso da 900px di larghezza; su telefono topbar e barra delle sezioni in basso. Rimossa la pagina intermedia "Entra su RPIGroup Play". + Player della radio persistente: la diretta continua mentre si naviga tra le pagine; brano in onda, cambio formato HLS/MP3, volume e controlli dalla schermata di blocco. + La radio parte subito quando si sceglie l'emittente; quando parte la TV o una puntata podcast la radio si mette in pausa. + Sezione Podcast con copertine e programma di ogni puntata; il tasto indietro torna all'elenco. + Rimossi Bootstrap, jQuery e Material Icons: icone SVG integrate, meno dati da scaricare. + Service worker aggiornato (cache v5) e manifest con orientamento libero. + + + + + + 2.6.2 + + Aggiornato il layout e CSS della homepage dell'applicazione. + Pulizia e alleggerimento del codice Javascript, rimuovendo il logging eccessivo di debug. + Correzione e bugfix di problematiche varie. + + + + + 2.6.1 + + Ottimizzazione PWA: implementato il fallback offline completo e il caching dinamico, permettendo all'app di funzionare senza connessione internet su tutte le rotte dinamiche. + Stile e comportamento "Native App": impedita la selezione accidentale del testo e rimosso l'highlight tap dei browser su smartphone per migliorare l'UX. + Pulizia e alleggerimento del codice Javascript, rimuovendo il logging eccessivo di debug. + Correzione e bugfix di problematiche varie. + + + + + 2.6.0 + + Aggiornato il sistema di gestione della visualizzazione delle pagine. + Aggiunto il pulsante "guida" per il download dell'applicazione su iOS e Android. + Correzione e bugfix di problematiche varie. + + + + + 2.5.1 (a) + + Migliorata l'usabilità e UX dell'applicazione, inserendo ad ogni pagina il pulsante "Back" (già presente in: player radio, tv e podcast) + Correzione e bugfix di problematiche varie. + + + + + 2.5.0 + + Aggiunta la pagina per la visualizzazione dei podcast. + Rimossa la pagina per l'aggiunta delle nuove emittenti radiofoniche e televisive. + Correzione e bugfix di problematiche varie. + + + + + 2.4.2 + + Aggiornata la grandezza della finestra dell'applicazione da desktop. + Inserito il link della repository su ASV Git all'interno della pagina del changelog. + Correzione e bugfix di problematiche varie. + + + + + 2.4.1 + + Aggiornata la pagiana del player audio, per renderla più coerente con le altre pagine dell'applicazione. + Aggiunta la visualizzazione dell'artista e del brano in riproduzione. + Correzione e bugfix di problematiche varie. + + + + + 2.4.0 + + Implementato il player video dedicato per la riproduzione dei canali visivi. + Correzione e bugfix di problematiche varie. + + + + + 2.3.0 + + Ottimizzata la risoluzione dell'applicazione su dispositivi larghi (tablet, iPad e computer). + Implementato lo switch tra il player audio in HLS e il player audio in MP3/AAC. + Rimosso l'avviso per i dispositivi iOS. + Correzione e bugfix di problematiche varie. + + + + + 2.2.0 + + E' stato reintrodotto la schermata di caricamento ad ogni selezione di ogni pagina dell'applicazione. + Correzione e bugfix di problematiche varie. + + + + + 2.1.4 + + Corretto la visione verticale sui dispositivi mobili. + Correzione e bugfix di problematiche varie. + + + + + 2.1.3 + + Implementato il nuovo player audio per la riproduzione dei flussi audio in HLS per il bitrate adattivo. + Correzione e bugfix di problematiche varie. + + + + + 2.1.2 + + Implementazione del sistema di qualità adattiva (ABR) per il player audio. + Correzione e bugfix di problematiche varie. + + + + + 2.1.1 + + Corretti alcuni bug che impedivano l'accesso al player dal link esterno. + Correzione e bugfix di problematiche varie. + + + + + 2.1.0 + + Risoluzione dei problemi minori presenti nel codice, che causava problemi nella navigazione in app. + Risoluzione dei problemi minori presenti nel codice, che causava problemi di riproduzione audio al player. + Correzione e bugfix di problematiche varie. + + + + + 2.0.4 + + Blocco rotazione: è stato risolto il problema della rotazione schermo dell'applicazione. Ora rimane fissa in verticale. + Correzione e bugfix di problematiche varie. + + + + + 2.0.3 + + Corretta la visualizzazione dei contenuti forniti dalle emittenti all'interno del player. + Corretta la visualizzazione del player audio. + Correzione e bugfix di problematiche varie. + + + + + 2.0.2 + + Inserita la pagina statica per le emittenti tematiche. + Correzione e bugfix di problematiche varie. + + + + + 2.0.1 + + Aggiunta la Visual Radio dell'emittente "Radio Città 105". + Correzione e bugfix di problematiche varie. + + + + + 2.0.0 + + Nuova UI/UX: RPIGroup aggiorna la veste grafica della sua applicazione, rendendola più "fumettosa" e "giocattolosa". Un'estetica completamente diversa da tutte le altre varie app radiofoniche. + Nuova Engine: Nuovo motore e struttura dell'applicazione. Lato backend è cambiato completamente rispetto alla versione 1. + Nuovo Player Audio/Video: Player più semplice, ma conserva le caratteristiche della precedente versione. + Termini e Condizioni: inserimento per obblighi di legge dei corrispettivi "Termini e Condizioni" + Policy Privacy: inserimento per obblighi di legge dei corrispettivi "Policy Privacy" + Dalla versione 2 e successive, è stata rimossa la dicitura "stable" in quanto non esistono più varie versioni dell'applicazione. + Correzione e bugfix di problematiche varie. + + + + + 1.2.1 Stable + + Aggiunta la pagina sul chiarimento dei "Diritti d'Autore". + Correzione e bugfix di problematiche varie. + + + + + 1.2.0 Stable + + Implementato il "Media Sessions" che permette di visualizzare la radio in riproduzione nel centro notifiche su iOS e Android. + Preparazione dell'ottimizzazione del software in occasione della terza versione dell'app. + Correzione e bugfix di problematiche varie. + + + + + 1.1.1 Stable + + Correzione bug che impediva il caricamento del logo nell'icona dell'app sui smartphone. + Risolto il problema dell'overscrolling su smartphone. + Correzione e bugfix di problematiche varie. + + + + + 1.1.0 Stable + + Aggiunta la nuova stazione radio tematica "RDL Revival 70-80-90". + Migliorata la visualizzazione del selettore radio della pagina home. + Implementato nel player la visualizzazione della pagina statica per le radio tematiche. + Correzione e bugfix di problematiche varie causate dall'ultima versione "Beta". + + + + + 1.0.0 Stable + + Passaggio alla versione "Stable" dell'applicazione. + Verifica di ulteriori correzioni dal passaggio della versione stabile. + Leggerimento dell'applicazione a livello backend. + Ulteriori analisi di stabilità dal momento del passaggio alla versione stabile. + Correzione e bugfix di problematiche varie causate dall'ultima versione "Beta". + + + + + 0.24.0 Beta + + Aggiormaneto player audio - Riproduzione dei flussi audio in HLS per il bitrate adattivo. Le radio iscritte devono supportare il protocollo HLS. + Supporto all'interscambio della connessione - Al cambiare di tipologia (Wifi o Rete Cellulare), il flusso audio non si interrompe. + Preparazione del codice alla versione "1.0.0 Stable" + Correzione e bugfix di problematiche varie. + + + + + 0.23.3 Beta + + Inserimento del nuovo flusso video per il canale "RC105 TV". + Aggiornamento player video - Inserita l'anteprima del flusso video + Correzione accesso al player video con l'inserimento automatico dell'anteprima e flusso video del canale selezionato + Correzione e bugfix di problematiche varie. + + + + + 0.23.2 Beta + + Inizializzazione cambio interfaccia e modernamento. + Reinserimento della schermata di caricamento nel player. + Correzione e bugfix di problematiche varie. + + + + + 0.23.1 Beta + + Rimozione del logo al caricamento di ogni singola pagina (tranne all'avvio dell'app). + Correzione e bugfix di problematiche varie. + + + + + 0.23.0 Beta + + Rilasciato il nuovo player video. + Inserimento dell'emittente RC105TV nella lista delle WebTV. + Correzione e bugfix di problematiche varie. + + + + + 0.22.4 Beta + + Correzione errori minimi nel sistema. + Aggiunta indicatore della versione app nella schermata desktop. + Preparazione player video - Correzioni minimi player e aggiunta di pagine mancanti. + Correzione e bugfix di problematiche varie. + + + + + 0.22.3 Beta + + Migliorati i tempi di caricamento dei player. + Aggiunta nuovi file di Configurazione. + Correzione e bugfix di problematiche varie. + + + + + 0.22.2 Beta + + Corretto la visualizzazione del player da desktop. + Corretto la visualizzazione del font scelto per la webapp "Rubik". + Varie ottimizzazioni per la valutazione finale di Google Page Speed. + Correzione e bugfix di problematiche varie. + + + + + 0.22.1 Beta + + Corretto il bug del logo all'interno dell'homepage. + Corretto la riproduzione audio dell'emittente Radio Città 105. + Correzione e bugfix di problematiche varie. + + + + + 0.22.0 Beta + + Cambiata la struttura interna dell'app, con unificazione della visualizzazione mobile con quella desktop. + Cambiata la configurazione dell'app. Ottimizzata per ridurre i tempi di attesa e output della pagina. + Le emittenti registrate sono inserite all'interno di un file XML apposito. + Aggiornato il player interattivo. Ora disponibile di default per tutte le emittenti. + Ottimizzata la homescreen con correzioni di vari bug. + Correzione e bugfix di problematiche varie. + + + + + 0.21.0 Beta + + Realizzazione del nuovo player interattivo. Disponibile per smartphone e desktop (Al momento, è disponibile solo per l'emittente RDL). + Disattivato il precedente player mobile. Verrà riattivato esclusivamente per "emittenti" sprovviste di pagine dinamiche. + Correzione e bugfix di problematiche varie. + + + + + 0.20.0 Beta + + L'app entra ufficialmente nello stato di Beta-testing. + Cambiata la modalità di indicazione della versione, non più basata sulla data di aggiornamento, ma sul numero di update dell'app. + Avviata ufficialmente la "Roadmap" sulla Versione 1.0.0 (indicata a fine pagina CHANGELOG). + Aggiunto script per iOS e iPadOS sul rilevamento uso browser/app. + Correzione e bugfix script rilevamento app Android. + + + + + 0.12.6 Alpha (Last Release) + + Aggiornata la lista emittenti nel menu in alto sinistra. + Aggiornate le pagine "Cosa è RPIGRPUP PLAY", "COME FUNZIONA L'APP" e "HAI BISOGNO DI AIUTO". + Corretto bug inizializzazione app per iOS e iPadOS. + Aggiunto script di controllo gestione app per iOS e iPadOS. + Correzione e bugfix di problematiche varie. + + + + + 0.12.5 Aplha + + Realizzazione file XML per il Changelog. + Aggiunto pulsante per la visualizzazione del Changelog. + Correzione pagina About per la visualizzazione del Changelog. + Correzione visualizzazione del Home Page. + Reso automatico il cambio di versione dell'app in base all'ultima versione disponibile e dichiarata all'intero del Changelog. + + + + + 0.12.2 Alpha + + Corretto il problema del caricamento del "Player Mobile" su iOS e derivati. + Corretto e aggiunto nuovi script del "Player Mobile" + Aggiornato slogan dell'emittente "RDL XMAS" + Aggiunto il Changelog + + + + + 0.11.30 Alpha + + Corretto la visualizzazione del "Player Mobile" + Aggiornata la lista emittenti nel menu in alto sinistra + Rimosse momentaneamente le WebTV nel menu in alto sinistra + + + + + 0.11.29 Alpha + + Aggiunta nuova emittente "RDL XMAS" + Corretta la visualizzazione del "PLAYER DESKTOP" + Corretta la visualizzazione della lista emittenti in "Home Desktop" e "Home Mobile" + Abilitato il "Player Mobile" anche in ambiente Desktop + Aggiornato script che impedisce il refresh della pagina da Mobile + + + + + 0.9.26 Alpha + + Cambiata l'URL del flusso audio di RDL e RC105 + Correzione e bugfix all'interno dello stile dell'app + Correzione e bugfix all'interno dei metatag + Aggiunto script di disabilitazione pulsante F5 da tastiera + + + + + 0.9.24 Alpha + + Correzione e bugfix player video + + + + + 0.9.23 Alpha + + Aggiunto player video + Aggiunto collegamenti dei canali video delle emittenti + Aggiunto in configurazione gli URL dei canali video delle emittenti + + + + + 0.7.31 Alpha + + Correzione e bugfix all'interno della configurazione dell'app + Rimozione dello script per lo "scroll to update page" da smartphone + Aggiunti i metodi di contatto in About + + + + diff --git a/img/icons/icon-192x192.png b/img/icons/icon-192x192.png index e69de29..4928f5a 100644 Binary files a/img/icons/icon-192x192.png and b/img/icons/icon-192x192.png differ diff --git a/img/icons/icon-384x384.png b/img/icons/icon-384x384.png index e69de29..df24526 100644 Binary files a/img/icons/icon-384x384.png and b/img/icons/icon-384x384.png differ diff --git a/img/radio.png b/img/radio.png deleted file mode 100644 index 0758d68..0000000 Binary files a/img/radio.png and /dev/null differ diff --git a/img/tv.png b/img/tv.png deleted file mode 100644 index 473a21b..0000000 Binary files a/img/tv.png and /dev/null differ diff --git a/index.php b/index.php index bc8598b..9061070 100644 --- a/index.php +++ b/index.php @@ -1,36 +1,32 @@ - console.log('HLS.js caricato con successo'); - script.onerror = () => console.error('Errore nel caricamento di HLS.js'); - document.head.appendChild(script); - } - - function getCurrentPageFromPath() { - let path = window.location.pathname; - - // Rimuovi il base path se presente - if (BASE_PATH && path.startsWith(BASE_PATH)) { - path = path.substring(BASE_PATH.length); - } - - // Rimuovi slash iniziali e finali - path = path.replace(/^\/|\/$/g, ''); - - // IMPORTANTE: Se il path è vuoto o è solo "index.php", controlla il parametro redirect - if (!path || path === '' || path === 'index.php') { - const urlParams = new URLSearchParams(window.location.search); - const redirect = urlParams.get('redirect'); - - if (redirect) { - // console.log('📍 Trovato parametro redirect:', redirect); - return redirect; - } - } - - // console.log('📍 Path rilevato:', path || 'home'); - return path || 'home'; - } - - /** - * Pulizia completa del player audio - * Previene memory leak rimuovendo istanze HLS e player audio - */ - function cleanupPlayer() { - console.log('Pulizia player audio...'); - - // Stop metadata updates - if (metadataInterval) { - clearInterval(metadataInterval); - metadataInterval = null; - } - - // Distruggi istanza HLS - if (hlsInstance) { - try { - hlsInstance.destroy(); - console.log('HLS instance distrutta'); - } catch (e) { - console.error('Errore nella distruzione di HLS:', e); - } - hlsInstance = null; - } - - // Pulisci audio player - if (audioPlayer) { - try { - audioPlayer.pause(); - audioPlayer.src = ''; - audioPlayer.load(); // Libera risorse - - // Rimuovi tutti gli event listeners clonando il nodo - const parent = audioPlayer.parentNode; - if (parent) { - const newPlayer = audioPlayer.cloneNode(true); - parent.replaceChild(newPlayer, audioPlayer); - } - - console.log('Audio player pulito'); - } catch (e) { - console.error('Errore nella pulizia del player audio:', e); - } - audioPlayer = null; - } - - // Reset Media Session - if ('mediaSession' in navigator) { - navigator.mediaSession.metadata = null; - navigator.mediaSession.playbackState = 'none'; - } - } - - /** - * Mostra l'overlay di caricamento - */ - function showLoadingOverlay() { - if (!loadingOverlay) { - loadingOverlay = document.getElementById('loadingOverlay'); - } - if (loadingOverlay) { - loadingOverlay.classList.add('active'); - } - } - - /** - * Nasconde l'overlay di caricamento - */ - function hideLoadingOverlay() { - if (loadingOverlay) { - loadingOverlay.classList.remove('active'); - } - } - - /** - * Caricamento pagina con protezione da race condition - */ - function loadPage(page) { - // Previeni richieste multiple simultanee - if (isLoading) { - console.log('Caricamento già in corso, richiesta ignorata'); - return; - } - - // Annulla richiesta XHR precedente se presente - if (currentXHR) { - console.log('Annullamento richiesta precedente'); - currentXHR.abort(); - currentXHR = null; - } - - isLoading = true; - const contentContainer = document.getElementById('content'); - - if (!contentContainer) { - console.error('Container contenuto non trovato'); - isLoading = false; - return; - } - - // Mostra l'overlay di caricamento - showLoadingOverlay(); - - // Animazione fade out - contentContainer.classList.remove('fade-in'); - contentContainer.classList.add('fade-out'); - - setTimeout(() => { - const url = BASE_PATH + '/index.php/' + page; - - currentXHR = new XMLHttpRequest(); - currentXHR.open('GET', url, true); - currentXHR.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); - - currentXHR.onload = function () { - isLoading = false; - currentXHR = null; - - if (this.status === 200) { - contentContainer.innerHTML = this.responseText; - - // Nascondi overlay di caricamento - hideLoadingOverlay(); - - // Animazione fade in - contentContainer.classList.remove('fade-out'); - contentContainer.classList.add('fade-in'); - - // Aggiorna URL nella history - const historyUrl = page === 'home' ? BASE_PATH + '/' : BASE_PATH + '/' + page; - history.pushState({ page: page }, null, historyUrl); - currentPage = page; - - // Aggiorna navigazione attiva - updateActiveNavigation(page); - - // Inizializza componenti specifici della pagina - if (page.startsWith('play/')) { - setTimeout(() => initializePlayer(), 100); - } - - if (page.startsWith('playtv/')) { - setTimeout(() => initializeTVPlayer(), 100); - } - - // Riattacca i listener ai link - attachLinkListeners(); - - // Inizializza form contatti se presente - if (page === 'page/contact') { - setTimeout(() => initializeContactForm(), 100); - } - - // Scroll to top - window.scrollTo({ - top: 0, - behavior: 'smooth' - }); - - console.log('Pagina caricata:', page); - } else { - hideLoadingOverlay(); - contentContainer.innerHTML = '

Errore

Impossibile caricare la pagina. Codice errore: ' + this.status + '

'; - contentContainer.classList.remove('fade-out'); - contentContainer.classList.add('fade-in'); - console.error('Errore caricamento pagina:', this.status); - } - }; - - currentXHR.onerror = function () { - isLoading = false; - currentXHR = null; - hideLoadingOverlay(); - contentContainer.innerHTML = '

Errore di connessione

Controlla la tua connessione internet e riprova.

'; - contentContainer.classList.remove('fade-out'); - contentContainer.classList.add('fade-in'); - console.error('Errore di rete durante il caricamento della pagina'); - }; - - currentXHR.onabort = function () { - isLoading = false; - currentXHR = null; - hideLoadingOverlay(); - console.log('Richiesta XHR annullata'); - }; - - currentXHR.send(); - }, 200); - } - - /** - * Aggiorna la navigazione attiva - */ - function updateActiveNavigation(page) { - // console.log('Aggiornamento navigazione per pagina:', page); // Debug - - const navLinks = document.querySelectorAll('.navLink'); - navLinks.forEach(link => { - link.classList.remove('active'); - - const linkPage = link.getAttribute('data-page'); - - // Log di debug per vedere i confronti - // console.log('Confronto:', linkPage, 'con', page); - - if (linkPage === page) { - link.classList.add('active'); - // console.log('✓ Match esatto:', linkPage); - } else if (page.startsWith('play/') && linkPage === 'radio') { - link.classList.add('active'); - // console.log('✓ Match play/ -> radio'); - } else if (page.startsWith('playtv/') && linkPage === 'tv') { - link.classList.add('active'); - // console.log('✓ Match playtv/ -> tv'); - } else if (page.startsWith('page/') && linkPage === page) { - link.classList.add('active'); - // console.log('✓ Match page/'); - } - }); - } - - /** - * Setup Media Session API per controlli sistema - */ - function setupMediaSession(stationName, stationSlogan, stationLogo, playIcon, pauseIcon) { - if (!('mediaSession' in navigator)) { - console.log('Media Session API non supportata su questo browser'); - return; - } - - console.log('Configurazione Media Session:', stationName); - - // Imposta i metadati della riproduzione - navigator.mediaSession.metadata = new MediaMetadata({ - title: stationName, - artist: stationSlogan, - album: 'RPIGroup Play', - artwork: [ - { src: stationLogo, sizes: '96x96', type: 'image/png' }, - { src: stationLogo, sizes: '128x128', type: 'image/png' }, - { src: stationLogo, sizes: '192x192', type: 'image/png' }, - { src: stationLogo, sizes: '256x256', type: 'image/png' }, - { src: stationLogo, sizes: '384x384', type: 'image/png' }, - { src: stationLogo, sizes: '512x512', type: 'image/png' } - ] - }); - - // Handler per il comando Play dal sistema - navigator.mediaSession.setActionHandler('play', () => { - console.log('Media Session: Play richiesto'); - if (audioPlayer) { - audioPlayer.play().then(() => { - if (playIcon && pauseIcon) { - playIcon.style.display = 'none'; - pauseIcon.style.display = 'block'; - } - }).catch(err => { - console.error('Errore play da Media Session:', err); - }); - } - }); - - // Handler per il comando Pause dal sistema - navigator.mediaSession.setActionHandler('pause', () => { - console.log('Media Session: Pause richiesto'); - if (audioPlayer) { - audioPlayer.pause(); - if (playIcon && pauseIcon) { - playIcon.style.display = 'block'; - pauseIcon.style.display = 'none'; - } - } - }); - - // Disabilita i controlli non utilizzati per radio streaming - navigator.mediaSession.setActionHandler('seekbackward', null); - navigator.mediaSession.setActionHandler('seekforward', null); - navigator.mediaSession.setActionHandler('previoustrack', null); - navigator.mediaSession.setActionHandler('nexttrack', null); - - console.log('Media Session configurata correttamente'); - } - - /** - * Aggiorna lo stato di riproduzione nella Media Session - */ - function updateMediaSessionPlaybackState(state) { - if ('mediaSession' in navigator) { - navigator.mediaSession.playbackState = state; - console.log('Media Session playback state:', state); - } - } - - /** - * Inizializza il player audio con gestione HLS migliorata - */ - - function initializePlayer() { - console.log('Inizializzazione player audio (v2.1 - Format Toggle)...'); - - const playPauseBtn = document.getElementById('playPauseBtn'); - const playIcon = document.querySelector('.play-icon'); - const pauseIcon = document.querySelector('.pause-icon'); - const playerStatus = document.getElementById('playerStatus'); - const formatToggleBtn = document.getElementById('formatToggleBtn'); - const formatLabel = document.getElementById('formatLabel'); - - if (!playPauseBtn) return; - - // 1. Cleanup Preventivo - cleanupPlayer(); - - // 2. Setup Elementi - audioPlayer = document.getElementById('hlsAudioPlayer'); - if (!audioPlayer) return; - - const streamHLS = playPauseBtn.getAttribute('data-stream-hls'); - const streamFallback = playPauseBtn.getAttribute('data-stream-fallback'); - const stationName = playPauseBtn.getAttribute('data-station-name'); - - // Stato formato audio (preferenza salvata in localStorage) - const storageKey = 'audioFormat_' + stationName; - let currentFormat = localStorage.getItem(storageKey) || 'hls'; // 'hls' o 'direct' - let isPlaying = false; - - // Aggiorna label del formato - function updateFormatLabel() { - if (formatLabel) { - formatLabel.textContent = currentFormat === 'hls' ? 'HLS' : 'MP3'; - } - } - updateFormatLabel(); - - // Configurazione HLS.js Ottimizzata per Qualità - const hlsConfig = { - debug: false, - enableWorker: true, - lowLatencyMode: false, // Disabilitato per stabilità e buffer migliore - backBufferLength: 90, - maxBufferLength: 30, // Aumentato buffer (default 30s) - startLevel: -1, // Auto start - xhrSetup: function (xhr, url) { - xhr.withCredentials = false; // Fix CORS issues sometimes - } - }; - - /** - * Logica di Selezione Player - * Priorità: HLS.js (PC/Android) > Nativo (iOS) > Fallback (Direct Stream) - */ - function initStream(forceFormat = null) { - const preferredFormat = forceFormat || currentFormat; - - // Se l'utente ha scelto formato diretto, usa subito MP3/AAC - if (preferredFormat === 'direct') { - console.log('User preference: Direct stream (MP3/AAC)'); - useDirectStream(); - return; - } - - // STRATEGIA 1: HLS.js (Preferita per PC e Android) - if (Hls.isSupported()) { - console.log('Strategy: HLS.js (High Quality Control)'); - - hlsInstance = new Hls(hlsConfig); - hlsInstance.loadSource(streamHLS); - hlsInstance.attachMedia(audioPlayer); - - hlsInstance.on(Hls.Events.MANIFEST_PARSED, function (event, data) { - console.log(`HLS Manifest Loaded. Levels: ${data.levels.length}`); - - // Log dettagliato di tutti i livelli disponibili per debug - data.levels.forEach((level, index) => { - console.log(`Level ${index}: ${level.bitrate} bps (${(level.bitrate / 1000).toFixed(0)} kbps)`); - }); - - // CRITICAL: Forza partenza dal livello massimo per garantire qualità alta - if (data.levels.length > 1) { - const maxLevel = data.levels.length - 1; - hlsInstance.startLevel = maxLevel; - console.log(`✓ Forced START level to MAX: ${maxLevel} (${(data.levels[maxLevel].bitrate / 1000).toFixed(0)} kbps)`); - } - - attemptPlay(); - }); - - // Track quality switches per debug - hlsInstance.on(Hls.Events.LEVEL_SWITCHING, function (event, data) { - console.log(`→ Switching to level ${data.level}...`); - }); - - hlsInstance.on(Hls.Events.LEVEL_SWITCHED, function (event, data) { - const currentLevel = hlsInstance.levels[data.level]; - console.log(`✓ Switched to level ${data.level}: ${(currentLevel.bitrate / 1000).toFixed(0)} kbps`); - }); - - hlsInstance.on(Hls.Events.ERROR, function (event, data) { - if (data.fatal) { - console.warn('HLS Fatal Error:', data.type); - switch (data.type) { - case Hls.ErrorTypes.NETWORK_ERROR: - hlsInstance.startLoad(); - break; - case Hls.ErrorTypes.MEDIA_ERROR: - hlsInstance.recoverMediaError(); - break; - default: - useDirectStream(); - break; - } - } - }); - - return; - } - - // STRATEGIA 2: Nativo (Obbligatorio per iOS) - if (audioPlayer.canPlayType('application/vnd.apple.mpegurl')) { - console.log('Strategy: Native HLS (iOS/Safari)'); - audioPlayer.src = streamHLS; - audioPlayer.preload = 'auto'; // Suggerisce al browser di caricare dati - - // Hack per iOS: Alcune volte serve un tocco utente, gestito dal click play - attemptPlay(); - return; - } - - // STRATEGIA 3: Fallback (Stream MP3 diretto) - console.log('Strategy: Direct Fallback'); - useDirectStream(); - } - - function useDirectStream() { - if (hlsInstance) { - hlsInstance.destroy(); - hlsInstance = null; - } - console.log('Using direct stream:', streamFallback); - audioPlayer.src = streamFallback; - attemptPlay(); - } - - // Funzione per cambiare formato - function toggleFormat() { - const wasPlaying = !audioPlayer.paused; - - // Cambia formato - currentFormat = currentFormat === 'hls' ? 'direct' : 'hls'; - localStorage.setItem(storageKey, currentFormat); - console.log('Switching to format:', currentFormat); - - // Aggiorna label - updateFormatLabel(); - - // Ferma riproduzione corrente - if (audioPlayer) { - audioPlayer.pause(); - } - - // Pulisci player precedente - if (hlsInstance) { - hlsInstance.destroy(); - hlsInstance = null; - } - audioPlayer.src = ''; - - // Reinizializza con nuovo formato - initStream(currentFormat); - - // Riprendi riproduzione se era in corso - if (wasPlaying) { - setTimeout(() => { - togglePlay(); - }, 100); - } - } - - function attemptPlay() { - // Nota: chiamare .play() senza interazione utente fallirà. - // Questa funzione prepara lo stato. Il vero play avviene al click. - if (playerStatus) playerStatus.textContent = 'Pronto alla riproduzione'; - } - - function togglePlay() { - if (audioPlayer.paused) { - const playPromise = audioPlayer.play(); - if (playPromise !== undefined) { - playPromise.then(() => { - updateUI(true); - }).catch(error => { - console.error('Play prevented:', error); - // Se HLS fallisce al play (es. stale manifest), prova fallback - if (!audioPlayer.src.includes(streamFallback) && !hlsInstance) { - fallbackToDirectStream(); - audioPlayer.play().catch(e => console.error('Fallback failed:', e)); - } - }); - } - } else { - audioPlayer.pause(); - updateUI(false); - } - } - - function updateUI(playing) { - isPlaying = playing; - playIcon.style.display = playing ? 'none' : 'block'; - pauseIcon.style.display = playing ? 'block' : 'none'; - if (playerStatus) { - playerStatus.textContent = playing ? 'In riproduzione' : 'In pausa'; - } - } - - // Listeners - playPauseBtn.onclick = (e) => { - e.preventDefault(); - // Se non inizializzato (primo click), avvia stream - if (!audioPlayer.src && !hlsInstance) { - initStream(); - // Piccolo timeout per dare tempo al setup prima del play effettivo - setTimeout(togglePlay, 50); - } else { - togglePlay(); - } - }; - - audioPlayer.onplay = () => updateUI(true); - audioPlayer.onpause = () => updateUI(false); - - audioPlayer.onerror = (e) => { - console.error('Audio Error:', audioPlayer.error); - if (playerStatus) playerStatus.textContent = 'Errore riproduzione'; - updateUI(false); - }; - - // Format toggle button listener - if (formatToggleBtn) { - formatToggleBtn.onclick = (e) => { - e.preventDefault(); - toggleFormat(); - }; - } - - // Setup Media Session - setupMediaSession(stationName, playPauseBtn.getAttribute('data-station-slogan'), playPauseBtn.getAttribute('data-station-logo'), playIcon, pauseIcon); - - // --- GESTIONE METADATI (Now Playing) --- - const apiUrl = playPauseBtn.getAttribute('data-api-url'); - if (apiUrl) { - console.log('Starting metadata polling for:', apiUrl); - - function updateMetadata() { - fetch(apiUrl) - .then(response => response.json()) - .then(data => { - if (data.now_playing && data.now_playing.song) { - const song = data.now_playing.song; - - // Aggiorna DOM - const songsEl = document.getElementById('songs'); - const artistEl = document.getElementById('artist'); - const albumArtEl = document.getElementById('albumsong'); - - if (songsEl) songsEl.textContent = song.title; - if (artistEl) artistEl.textContent = song.artist; - if (albumArtEl && song.art) { - // Evita refresh se l'immagine è la stessa - if (albumArtEl.src !== song.art) { - albumArtEl.src = song.art; - } - } - - // Aggiorna Media Session - if ('mediaSession' in navigator) { - navigator.mediaSession.metadata = new MediaMetadata({ - title: song.title, - artist: song.artist, - album: stationName, - artwork: [ - { src: song.art || playPauseBtn.getAttribute('data-station-logo'), sizes: '512x512', type: 'image/png' } - ] - }); - } - } - }) - .catch(err => console.error('Error fetching metadata:', err)); - } - - // Chiamata immediata - updateMetadata(); - - // Polling ogni 10 secondi - metadataInterval = setInterval(updateMetadata, 10000); - } - - console.log('Player System Ready with format toggle.'); - } - - /** - * Inizializza player TV - */ - function initializeTVPlayer() { - console.log('TV Player inizializzato'); - - const video = document.getElementById('tvVideoPlayer'); - if (!video) { - console.log('Elemento video TV non trovato'); - return; - } - - // Cleanup istanza precedente se esiste - if (video.hlsInstance) { - video.hlsInstance.destroy(); - delete video.hlsInstance; - } - - const videoSrc = video.getAttribute('data-src'); - console.log('Video Source:', videoSrc); - - if (!videoSrc) { - console.error('Nessuna sorgente video specificata in data-src'); - return; - } - - // Creazione elemento per errori se non esiste già - let errorDisplay = video.parentNode.querySelector('.tv-error-display'); - if (!errorDisplay) { - errorDisplay = document.createElement('div'); - errorDisplay.className = 'tv-error-display'; - errorDisplay.style.display = 'none'; - errorDisplay.style.position = 'absolute'; - errorDisplay.style.top = '50%'; - errorDisplay.style.left = '50%'; - errorDisplay.style.transform = 'translate(-50%, -50%)'; - errorDisplay.style.backgroundColor = 'rgba(0, 0, 0, 0.8)'; - errorDisplay.style.color = '#fff'; - errorDisplay.style.padding = '20px'; - errorDisplay.style.borderRadius = '8px'; - errorDisplay.style.textAlign = 'center'; - errorDisplay.style.zIndex = '2000'; - errorDisplay.style.maxWidth = '90%'; - if (video.parentNode) { - video.parentNode.appendChild(errorDisplay); - // Assicurati che il parent sia relative per il posizionamento absolute - if (getComputedStyle(video.parentNode).position === 'static') { - video.parentNode.style.position = 'relative'; - } - } - } - - function showError(msg, details) { - console.error(msg, details); - errorDisplay.innerHTML = 'Errore:
' + msg + (details ? '
' + details + '' : ''); - errorDisplay.style.display = 'block'; - } - - // Controllo libreria HLS - if (typeof Hls === 'undefined') { - // Riprova tra poco se magari sta ancora caricando - setTimeout(() => { - if (typeof Hls === 'undefined') { - showError('Libreria HLS non caricata correttamente.'); - } else { - initializeTVPlayer(); // Riprova inizializzazione - } - }, 500); - return; - } - - if (Hls.isSupported()) { - console.log('HLS Supported - Loading stream'); - var hls = new Hls({ - debug: false, - enableWorker: true - }); - - hls.loadSource(videoSrc); - hls.attachMedia(video); - - hls.on(Hls.Events.MANIFEST_PARSED, function () { - console.log('TV Manifest Parsed - Ready to play'); - var playPromise = video.play(); - if (playPromise !== undefined) { - playPromise.catch(error => { - console.log('Autoplay blocked or failed:', error); - }); - } - }); - - // Gestione errori estesa - hls.on(Hls.Events.ERROR, function (event, data) { - console.warn('HLS Error:', data); - if (data.fatal) { - switch (data.type) { - case Hls.ErrorTypes.NETWORK_ERROR: - console.log('Network error, recovering...'); - hls.startLoad(); - break; - case Hls.ErrorTypes.MEDIA_ERROR: - console.log('Media error, recovering...'); - hls.recoverMediaError(); - break; - default: - showError('Errore fatale riproduzione.', data.type); - hls.destroy(); - break; - } - } - }); - - video.hlsInstance = hls; - - } else if (video.canPlayType('application/vnd.apple.mpegurl')) { - console.log('Native HLS Supported (Safari/iOS)'); - video.src = videoSrc; - video.addEventListener('loadedmetadata', function () { - video.play().catch(e => console.log("Autoplay iOS prevented")); - }); - video.addEventListener('error', function (e) { - showError('Errore riproduzione nativa.', e.message); - }); - } else { - showError('Il tuo browser non supporta HLS.'); - } - } - - /** - * Inizializza form contatti - */ - function initializeContactForm() { - const contactForm = document.getElementById('contactForm'); - if (!contactForm) { - console.log('Form contatti non trovato'); - return; - } - - contactForm.addEventListener('submit', function (e) { - e.preventDefault(); - - const formData = new FormData(contactForm); - const formResponse = document.getElementById('formResponse'); - - if (formResponse) { - formResponse.innerHTML = 'Invio in corso...'; - formResponse.className = 'form-response'; - formResponse.style.display = 'block'; - } - - const xhr = new XMLHttpRequest(); - xhr.open('POST', BASE_PATH + '/process_contact.php', true); - - xhr.onload = function () { - if (xhr.status === 200) { - try { - const response = JSON.parse(xhr.responseText); - if (response.success) { - if (formResponse) { - formResponse.innerHTML = 'Messaggio inviato con successo! Ti risponderemo presto.'; - formResponse.className = 'form-response success'; - } - contactForm.reset(); - } else { - if (formResponse) { - formResponse.innerHTML = 'Errore: ' + (response.message || 'Si è verificato un errore durante l\'invio del messaggio.'); - formResponse.className = 'form-response error'; - } - } - } catch (e) { - console.error('Errore parsing risposta:', e); - if (formResponse) { - formResponse.innerHTML = 'Si è verificato un errore durante l\'elaborazione della risposta.'; - formResponse.className = 'form-response error'; - } - } - } else { - if (formResponse) { - formResponse.innerHTML = 'Si è verificato un errore durante l\'invio del messaggio.'; - formResponse.className = 'form-response error'; - } - } - }; - - xhr.onerror = function () { - if (formResponse) { - formResponse.innerHTML = 'Errore di connessione. Controlla la tua connessione internet.'; - formResponse.className = 'form-response error'; - } - }; - - xhr.send(formData); - }); - - console.log('Form contatti inizializzato'); - } - - /** - * Attacca event listener ai link con gestione migliorata - */ - function attachLinkListeners() { - const navLinks = document.querySelectorAll('.navLink, .nav-link, .station-link, .linkBox'); - - navLinks.forEach(link => { - // Rimuovi listener precedente se esiste - const oldListener = linkListeners.get(link); - if (oldListener) { - link.removeEventListener('click', oldListener); - } - - const clickHandler = function (e) { - const href = this.getAttribute('href'); - const target = this.getAttribute('target'); - const page = this.getAttribute('data-page'); - - // Verifica se è un link esterno - const isExternal = href && ( - href.startsWith('http://') || - href.startsWith('https://') || - href.startsWith('//') || - target === '_blank' - ); - - if (isExternal) { - console.log('Link esterno:', href); - return; // Lascia che il browser gestisca normalmente - } - - e.preventDefault(); - e.stopPropagation(); - - console.log('Navigazione a:', page); - - // Naviga solo se la pagina è diversa e non stiamo già caricando - if (page && page !== currentPage && !isLoading) { - // Metti in pausa l'audio se in riproduzione - if (audioPlayer && !audioPlayer.paused) { - audioPlayer.pause(); - } - loadPage(page); - } - }; - - link.addEventListener('click', clickHandler); - linkListeners.set(link, clickHandler); - }); - - console.log('Event listener attaccati a', navLinks.length, 'link'); - } - - /** - * Setup pulsante apertura app (desktop) - */ - function setupOpenAppButton() { - const openAppBtn = document.getElementById('openAppBtn'); - if (openAppBtn) { - openAppBtn.addEventListener('click', function (e) { - e.preventDefault(); - - const currentPath = window.location.pathname; - const pathWithoutBase = currentPath.replace(BASE_PATH, '').replace(/^\//, ''); - const redirectParam = pathWithoutBase ? '&redirect=' + encodeURIComponent(pathWithoutBase) : ''; - - const width = 400; - const height = 840; - const left = (window.screen.width / 2) - (width / 2); - const top = (window.screen.height / 2) - (height / 2); - - const windowFeatures = 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + ',resizable=yes,scrollbars=yes,status=yes'; - window.open(BASE_PATH + '/?app=true' + redirectParam, 'RadioApp', windowFeatures); - }); - - console.log('Pulsante apertura app configurato'); - } - } - - /** - * Setup navigazione con history API - */ - function setupHistoryNavigation() { - window.addEventListener('popstate', function (e) { - if (e.state && e.state.page) { - if (e.state.page !== currentPage) { - loadPage(e.state.page); - } - } else { - if (currentPage !== 'home') { - loadPage('home'); - } - } - }); - - history.replaceState({ page: currentPage }, null, window.location.pathname); - console.log('Navigazione history configurata'); - } - - /** - * Setup modalità standalone (PWA) - */ - function setupStandaloneMode() { - const appContainer = document.querySelector('.container') || document.querySelector('.container-fluid'); - if (!appContainer) return; - - if (window.opener && !window.opener.closed) { - appContainer.classList.add('standalone-app'); - console.log('App in modalità finestra popup'); - } - - if (window.navigator.standalone || window.matchMedia('(display-mode: standalone)').matches) { - appContainer.classList.add('standalone-app'); - console.log('App in modalità standalone (PWA)'); - } - } - - /** - * Inizializza la pagina corrente - */ - function initializeCurrentPage() { - console.log('Inizializzazione pagina corrente:', currentPage); - - updateActiveNavigation(currentPage); - - if (currentPage.startsWith('play/')) { - setTimeout(() => initializePlayer(), 100); - } - - if (currentPage.startsWith('playtv/')) { - setTimeout(() => initializeTVPlayer(), 100); - } - - if (currentPage === 'page/contact') { - setTimeout(() => initializeContactForm(), 100); - } - - if (currentPage === 'podcast') { - // Reset visualizzazione podcast quando si cambia pagina e si torna - if (typeof window.closePodcast === 'function') { - window.closePodcast(); - } - } - } - - /** - * Gestione Podcast (Global Functions) - */ - window.openPodcast = function (url, title) { - console.log('Apertura podcast:', title, url); - const list = document.getElementById('podcast-list'); - const detail = document.getElementById('podcast-detail'); - const iframe = document.getElementById('podcast-iframe'); - const homeNav = document.getElementById('home-navigation'); - const podNav = document.getElementById('podcast-header'); - const scrollContainer = document.querySelector('main'); - - if (!list || !detail || !iframe) { - console.error('Elementi podcast non trovati nel DOM'); - return; - } - - // Caricamento iframe - iframe.src = url; - - // Cambio vista - podNav.style.display = 'none'; - list.style.display = 'none'; - detail.style.display = 'block'; - if (homeNav) homeNav.style.display = 'none'; - - // Scroll in alto - if (scrollContainer) { - scrollContainer.scrollTo({ top: 0, behavior: 'smooth' }); - } else { - window.scrollTo({ top: 0, behavior: 'smooth' }); - } - }; - - window.closePodcast = function () { - console.log('Chiusura podcast'); - const list = document.getElementById('podcast-list'); - const detail = document.getElementById('podcast-detail'); - const iframe = document.getElementById('podcast-iframe'); - const podNav = document.getElementById('podcast-header'); - const homeNav = document.getElementById('home-navigation'); - - if (!list || !detail || !iframe) return; - - // Svuota iframe per fermare audio/video - iframe.src = 'about:blank'; - - // Cambio vista - podNav.style.display = 'block'; - list.style.display = 'block'; - detail.style.display = 'none'; - if (homeNav) homeNav.style.display = 'block'; - }; - - /** - * Gestione dello stato Offline - */ - function initOfflineDetection() { - let offlineOverlay = document.getElementById('offlineOverlay'); - if (!offlineOverlay) { - offlineOverlay = document.createElement('div'); - offlineOverlay.id = 'offlineOverlay'; - offlineOverlay.className = 'offline-overlay'; - offlineOverlay.innerHTML = ` -
- wifi_off -

Nessuna Connessione

-

Sembra che tu sia offline. Controlla la tua connessione internet per continuare ad ascoltare RPIGroup Play.

- -
- `; - document.body.appendChild(offlineOverlay); - - const retryBtn = document.getElementById('offlineRetryBtn'); - if (retryBtn) { - retryBtn.addEventListener('click', function() { - retryBtn.disabled = true; - retryBtn.innerHTML = 'sync Verifica in corso...'; - - fetch(BASE_PATH + '/robots.txt', { cache: 'no-store', mode: 'no-cors' }) - .then(() => { - offlineOverlay.classList.remove('active'); - window.location.reload(); - }) - .catch(() => { - setTimeout(() => { - retryBtn.disabled = false; - retryBtn.innerHTML = 'refresh Riprova'; - }, 1000); - }); - }); - } - } - - function showOfflineOverlay() { - offlineOverlay.classList.add('active'); - } - - function hideOfflineOverlay() { - offlineOverlay.classList.remove('active'); - } - - window.addEventListener('offline', showOfflineOverlay); - window.addEventListener('online', () => { - hideOfflineOverlay(); - console.log('Dispositivo tornato online. Ripristino...'); - }); - - if (!navigator.onLine) { - showOfflineOverlay(); - } - } - - /** - * Inizializzazione principale - */ - function init() { - console.log('Inizializzazione app...'); - - // Rilevamento stato offline - initOfflineDetection(); - - setupOpenAppButton(); - - if (document.querySelector('.container') || document.querySelector('.container-fluid')) { - setupStandaloneMode(); - attachLinkListeners(); - setupHistoryNavigation(); - initializeCurrentPage(); - } - - console.log('App inizializzata correttamente'); - } - - // Avvia l'inizializzazione - init(); -}); - - -/** - * GESTIONE ORIENTAMENTO SCHERMO - */ - -/** - * Blocca l'orientamento in portrait (funziona solo in PWA/fullscreen) - */ -function lockScreenOrientation() { - // Screen Orientation API - if (screen.orientation && screen.orientation.lock) { - screen.orientation.lock('portrait').then(() => { - console.log('Orientamento bloccato in portrait'); - }).catch((err) => { - console.log('Impossibile bloccare orientamento:', err.message); - }); - } - - // Fallback per browser più vecchi - if (screen.lockOrientation) { - screen.lockOrientation('portrait'); - } else if (screen.mozLockOrientation) { - screen.mozLockOrientation('portrait'); - } else if (screen.msLockOrientation) { - screen.msLockOrientation('portrait'); - } -} - -/** - * Gestisce il cambio di orientamento - */ -function handleOrientationChange() { - const orientation = window.orientation || (screen.orientation && screen.orientation.angle) || 0; - console.log('Orientamento schermo:', orientation); - - // Puoi aggiungere logica specifica qui se necessario -} - -/** - * Tenta di bloccare l'orientamento quando appropriato - */ -function tryLockOrientation() { - const isStandalone = window.navigator.standalone || - window.matchMedia('(display-mode: standalone)').matches; - - if (isStandalone) { - lockScreenOrientation(); - } - - document.addEventListener('fullscreenchange', () => { - if (document.fullscreenElement) { - lockScreenOrientation(); - } - }); -} - -// Event listeners per cambio orientamento -window.addEventListener('orientationchange', handleOrientationChange); -window.addEventListener('resize', handleOrientationChange); - -// Inizializza al caricamento -document.addEventListener('DOMContentLoaded', () => { - tryLockOrientation(); - handleOrientationChange(); -}); - -// Inizializza subito se il DOM è già pronto -if (document.readyState !== 'loading') { - tryLockOrientation(); - handleOrientationChange(); -} - +/** + * RPIGroup Play - logica dell'app + * + * Router cambio pagina via AJAX (le pagine stanno in pages/page/*.php), history, voce di menu attiva + * Player dock della radio fisso in basso: resta mentre si naviga; HLS (hls.js o nativo) con riserva MP3/AAC, + * brano in onda (API nowplaying di AzuraCast), Media Session, volume + * TV flusso video HLS della pagina playtv/{id} + * Podcast elenco e puntata aperta in un iframe (pagina contentrpigplay/podcast del sito) + * Offline avviso a schermo intero quando manca la rete + */ +(function () { + 'use strict'; + + var BASE = window.BASE_PATH || ''; + var content = document.getElementById('content'); + var html = document.documentElement; + var body = document.body; + + function $(sel, root) { return (root || document).querySelector(sel); } + function $$(sel, root) { return Array.prototype.slice.call((root || document).querySelectorAll(sel)); } + function store(key, value) { + try { + if (value === undefined) return localStorage.getItem(key); + if (value === null) localStorage.removeItem(key); else localStorage.setItem(key, value); + } catch (e) { /* archivio del browser non disponibile */ } + return null; + } + + /* ===================================================================== + Router + ===================================================================== */ + + function pageFromLocation() { + var path = window.location.pathname; + if (BASE && path.indexOf(BASE) === 0) path = path.substring(BASE.length); + path = path.replace(/^\/+|\/+$/g, ''); + if (path === 'index.php') path = ''; + if (path.indexOf('index.php/') === 0) path = path.substring('index.php/'.length); + if (!path) { + var redirect = new URLSearchParams(window.location.search).get('redirect'); + if (redirect) return redirect.replace(/^\/+|\/+$/g, '') || 'home'; + } + return path || 'home'; + } + + function urlFor(page) { + return page === 'home' ? BASE + '/' : BASE + '/' + page; + } + + function sectionOf(page) { + if (page.indexOf('play/') === 0) return 'radio'; + if (page.indexOf('playtv/') === 0) return 'tv'; + if (['home', 'radio', 'tv', 'podcast'].indexOf(page) !== -1) return page; + return ''; + } + + var Router = { + current: pageFromLocation(), + controller: null, + progressTimer: null, + + progressStart: function () { + var bar = $('#route-progress'); + if (!bar) return; + clearTimeout(this.progressTimer); + // Compare solo se il caricamento dura più di un attimo + this.progressTimer = setTimeout(function () { + bar.classList.remove('is-done'); + bar.classList.add('is-loading'); + }, 120); + }, + + progressEnd: function () { + var bar = $('#route-progress'); + clearTimeout(this.progressTimer); + if (!bar) return; + if (bar.classList.contains('is-loading')) { + bar.classList.remove('is-loading'); + bar.classList.add('is-done'); + setTimeout(function () { bar.classList.remove('is-done'); }, 600); + } + }, + + load: function (page, options) { + var self = this; + var opts = options || {}; + if (this.controller) this.controller.abort(); + var controller = new AbortController(); + this.controller = controller; + this.progressStart(); + + fetch(BASE + '/index.php/' + page, { + headers: { 'X-Requested-With': 'XMLHttpRequest' }, + signal: controller.signal, + credentials: 'same-origin' + }).then(function (res) { + return res.text().then(function (text) { return { ok: res.ok, status: res.status, text: text }; }); + }).then(function (res) { + if (controller.signal.aborted) return; + Pages.teardown(); + content.innerHTML = res.ok ? res.text : self.errorHtml('Impossibile caricare la pagina (codice ' + res.status + ').'); + self.current = page; + if (opts.push !== false) history.pushState({ page: page }, '', urlFor(page)); + content.scrollTop = 0; + self.updateNav(page); + self.animateIn(); + Pages.init(page); + }).catch(function (err) { + if (err && err.name === 'AbortError') return; + Pages.teardown(); + content.innerHTML = self.errorHtml('Controlla la connessione a internet e riprova.'); + self.animateIn(); + }).then(function () { + if (self.controller === controller) { + self.controller = null; + self.progressEnd(); + } + }); + }, + + errorHtml: function (message) { + return '
' + + '

Qualcosa non va

' + message + '

' + + 'Torna alla home' + + '
'; + }, + + animateIn: function () { + content.classList.remove('is-entering'); + // Forza il riavvio dell'animazione + void content.offsetWidth; + content.classList.add('is-entering'); + setTimeout(function () { content.classList.remove('is-entering'); }, 400); + }, + + updateNav: function (page) { + var section = sectionOf(page); + $$('[data-nav]').forEach(function (a) { + var active = a.getAttribute('data-nav') === section; + a.classList.toggle('is-active', active); + if (active) a.setAttribute('aria-current', 'page'); else a.removeAttribute('aria-current'); + }); + }, + + init: function () { + var self = this; + history.replaceState({ page: this.current }, '', urlFor(this.current) + window.location.search.replace(/[?&]redirect=[^&]*/, '').replace(/^&/, '?')); + + // Un solo gestore per tutti i link interni, anche quelli caricati dopo + document.addEventListener('click', function (e) { + var a = e.target.closest('a[data-page]'); + if (!a || e.defaultPrevented) return; + if (e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return; + e.preventDefault(); + var page = a.getAttribute('data-page'); + if (page === self.current) { + content.scrollTo({ top: 0, behavior: 'smooth' }); + return; + } + self.load(page); + }); + + window.addEventListener('popstate', function (e) { + var state = e.state || {}; + var page = state.page || pageFromLocation(); + // Puntata podcast aperta/chiusa con il tasto indietro + if (page === self.current && self.current === 'podcast') { + if (!state.podcast) Podcast.close(false); + return; + } + if (page !== self.current) self.load(page, { push: false }); + }); + + this.updateNav(this.current); + Pages.init(this.current); + } + }; + + /* ===================================================================== + Pagine: avvio e pulizia dei componenti di ogni pagina + ===================================================================== */ + + var Pages = { + init: function (page) { + var view = $('[data-station]', content); + if (view) { + try { + var station = JSON.parse(view.getAttribute('data-station')); + // Chi arriva qui con un tocco su una radio vuole ascoltarla: parte subito + Player.load(station, { autoplay: true }); + } catch (e) { console.error('Dati stazione non validi', e); } + } + + var video = $('#tvVideoPlayer', content); + if (video) TV.init(video); + + if (page === 'podcast') Podcast.reset(); + }, + + teardown: function () { + TV.destroy(); + Podcast.closeIframe(); + } + }; + + /* ===================================================================== + Player della radio (dock) + ===================================================================== */ + + var Player = { + dock: $('#player-dock'), + audio: $('#radio-audio'), + station: null, + hls: null, + format: 'hls', // 'hls' oppure 'direct' (MP3/AAC) + fallbackTried: false, + networkRetries: 0, + pollTimer: null, + nowPlaying: null, + stopping: false, + + ui: { + play: $('#dock-play'), + link: $('#dock-link'), + cover: $('#dock-cover'), + title: $('#dock-title'), + artist: $('#dock-artist'), + format: $('#dock-format'), + mute: $('#dock-mute'), + volume: $('#dock-volume'), + close: $('#dock-close') + }, + + hlsConfig: { + debug: false, + enableWorker: true, + lowLatencyMode: false, + backBufferLength: 90, + maxBufferLength: 30, + liveDurationInfinity: true, + xhrSetup: function (xhr) { xhr.withCredentials = false; } + }, + + /** Mostra il dock con i dati della stazione; se è un'altra stazione, la sostituisce */ + load: function (station, options) { + var opts = options || {}; + if (this.station && this.station.id === station.id) { + this.show(); + if (opts.autoplay && this.audio.paused) this.play(); + return; + } + this.stop(); + this.station = station; + this.nowPlaying = null; + this.fallbackTried = false; + this.networkRetries = 0; + this.format = (!station.streamhls) ? 'direct' : (store('rpi-format-' + station.id) || 'hls'); + if (!station.stream && station.streamhls) this.format = 'hls'; + + this.ui.link.setAttribute('href', urlFor('play/' + station.id)); + this.ui.link.setAttribute('data-page', 'play/' + station.id); + this.ui.link.setAttribute('aria-label', 'Apri ' + station.name); + this.ui.format.hidden = !(station.stream && station.streamhls); + this.paintFormat(); + this.paintNowPlaying(); + this.setState('paused'); + this.show(); + this.startPolling(); + if (opts.autoplay) this.play(); + }, + + show: function () { + this.dock.hidden = false; + body.classList.add('has-player'); + }, + + hide: function () { + this.dock.hidden = true; + body.classList.remove('has-player'); + }, + + /** Prepara la sorgente in base al formato scelto (HLS con hls.js, HLS nativo su Safari, oppure diretto) */ + prepare: function () { + var st = this.station; + this.destroyHls(); + var useHls = this.format === 'hls' && st.streamhls; + + if (useHls && window.Hls && window.Hls.isSupported()) { + var self = this; + var hls = new window.Hls(this.hlsConfig); + this.hls = hls; + hls.on(window.Hls.Events.MANIFEST_PARSED, function (event, data) { + // Si parte dal livello di qualità più alto + if (data.levels && data.levels.length > 1) hls.startLevel = data.levels.length - 1; + }); + hls.on(window.Hls.Events.ERROR, function (event, data) { + if (!data.fatal) return; + switch (data.type) { + case window.Hls.ErrorTypes.NETWORK_ERROR: + if (self.networkRetries++ < 3) { hls.startLoad(); break; } + self.onError(); + break; + case window.Hls.ErrorTypes.MEDIA_ERROR: + hls.recoverMediaError(); + break; + default: + self.onError(); + } + }); + hls.loadSource(st.streamhls); + hls.attachMedia(this.audio); + return; + } + + if (useHls && this.audio.canPlayType('application/vnd.apple.mpegurl')) { + this.audio.src = st.streamhls; + return; + } + + this.audio.src = st.stream || st.streamhls; + }, + + play: function () { + if (!this.station) return; + var self = this; + // Una cosa alla volta: il video della TV si ferma + TV.pause(); + + if (!this.hls && !this.audio.getAttribute('src')) { + this.prepare(); + } else if (this.hls) { + // Diretta: dopo una pausa si riparte dal vivo + if (this.hls.liveSyncPosition) this.audio.currentTime = this.hls.liveSyncPosition; + } else { + this.audio.load(); + } + + this.setState('buffering'); + var promise = this.audio.play(); + if (promise && promise.catch) { + promise.catch(function (err) { + if (!err) return; + if (err.name === 'NotAllowedError') { + // Il browser vuole un tocco dell'utente: il dock resta pronto con il tasto play + self.setState('paused'); + } else if (err.name !== 'AbortError') { + self.onError(); + } + }); + } + }, + + pause: function () { + if (!this.audio.paused) this.audio.pause(); + }, + + toggle: function () { + if (!this.station) return; + if (this.audio.paused) this.play(); else this.pause(); + }, + + /** Ferma tutto e libera la sorgente (cambio stazione, chiusura) */ + stop: function () { + this.stopping = true; + this.stopPolling(); + this.pause(); + this.destroyHls(); + this.audio.removeAttribute('src'); + this.audio.load(); + this.stopping = false; + this.setState('paused'); + }, + + close: function () { + this.stop(); + this.station = null; + this.hide(); + if ('mediaSession' in navigator) { + navigator.mediaSession.metadata = null; + navigator.mediaSession.playbackState = 'none'; + } + }, + + destroyHls: function () { + if (this.hls) { + try { this.hls.destroy(); } catch (e) { /* già distrutta */ } + this.hls = null; + } + }, + + setFormat: function (format) { + if (!this.station || format === this.format) return; + var wasPlaying = !this.audio.paused; + this.format = format; + this.fallbackTried = false; + this.networkRetries = 0; + store('rpi-format-' + this.station.id, format); + this.paintFormat(); + this.pause(); + this.destroyHls(); + this.audio.removeAttribute('src'); + this.audio.load(); + if (wasPlaying) this.play(); + }, + + paintFormat: function () { + var label = this.format === 'hls' ? 'HLS' : 'MP3'; + this.ui.format.textContent = label; + this.ui.format.setAttribute('aria-label', 'Formato audio: ' + label + '. Tocca per cambiare'); + }, + + onError: function () { + if (this.stopping || !this.station) return; + // Prima riserva: dal flusso HLS si passa a quello diretto, una volta sola + if (!this.fallbackTried && this.format === 'hls' && this.station.stream) { + this.fallbackTried = true; + this.destroyHls(); + this.audio.src = this.station.stream; + var self = this; + this.setState('buffering'); + var p = this.audio.play(); + if (p && p.catch) p.catch(function (err) { if (!err || err.name !== 'AbortError') self.showError(); }); + return; + } + this.showError(); + }, + + showError: function () { + this.pause(); + this.setState('error'); + this.ui.title.textContent = 'Diretta non disponibile al momento'; + this.ui.artist.textContent = 'Riprova tra qualche istante'; + }, + + /** Stato visivo: paused | buffering | playing | error (classi su dock e ) */ + setState: function (state) { + this.dock.classList.toggle('is-playing', state === 'playing'); + this.dock.classList.toggle('is-buffering', state === 'buffering'); + this.dock.classList.toggle('is-error', state === 'error'); + html.classList.toggle('is-playing', state === 'playing' || state === 'buffering'); + this.ui.play.setAttribute('aria-label', state === 'playing' || state === 'buffering' ? 'Metti in pausa' : 'Ascolta'); + if ('mediaSession' in navigator && this.station) { + navigator.mediaSession.playbackState = state === 'playing' ? 'playing' : 'paused'; + } + }, + + /* ---- Brano in onda ---- */ + + startPolling: function () { + var self = this; + this.stopPolling(); + if (!this.station || !this.station.api) return; + var tick = function () { + fetch(self.station.api, { cache: 'no-store' }) + .then(function (r) { return r.json(); }) + .then(function (data) { + var song = data && data.now_playing && data.now_playing.song; + if (!song) return; + self.nowPlaying = { title: song.title || '', artist: song.artist || '', art: song.art || '' }; + self.paintNowPlaying(); + }) + .catch(function () { /* il dato arriverà al prossimo giro */ }); + }; + tick(); + this.pollTimer = setInterval(tick, 10000); + }, + + stopPolling: function () { + if (this.pollTimer) { clearInterval(this.pollTimer); this.pollTimer = null; } + }, + + paintNowPlaying: function () { + var st = this.station; + if (!st) return; + var np = this.nowPlaying || {}; + var title = np.title || st.name; + var artist = np.artist || st.slogan || ''; + var cover = np.art || st.logo; + + if (this.dock.classList.contains('is-error')) return; + this.ui.title.textContent = title; + this.ui.artist.textContent = artist; + if (this.ui.cover.getAttribute('src') !== cover) this.ui.cover.src = cover; + + // Elementi della pagina della radio (scheda senza iframe) + $$('[data-np="title"]', content).forEach(function (el) { el.textContent = title; }); + $$('[data-np="artist"]', content).forEach(function (el) { el.textContent = artist; }); + $$('[data-np="cover"]', content).forEach(function (el) { if (el.getAttribute('src') !== cover) el.src = cover; }); + + this.updateMediaSession(title, artist, cover); + }, + + updateMediaSession: function (title, artist, cover) { + if (!('mediaSession' in navigator) || !this.station) return; + var self = this; + try { + navigator.mediaSession.metadata = new MediaMetadata({ + title: title, + artist: artist, + album: this.station.name, + artwork: cover ? [{ src: cover, sizes: '512x512', type: 'image/png' }] : [] + }); + navigator.mediaSession.setActionHandler('play', function () { self.play(); }); + navigator.mediaSession.setActionHandler('pause', function () { self.pause(); }); + navigator.mediaSession.setActionHandler('stop', function () { self.pause(); }); + ['seekbackward', 'seekforward', 'previoustrack', 'nexttrack'].forEach(function (a) { + try { navigator.mediaSession.setActionHandler(a, null); } catch (e) { /* non supportato */ } + }); + } catch (e) { /* Media Session non disponibile */ } + }, + + /* ---- Volume (computer) ---- */ + + paintVolume: function () { + var muted = this.audio.muted || this.audio.volume === 0; + var value = muted ? 0 : this.audio.volume; + this.dock.classList.toggle('is-muted', muted); + this.ui.mute.setAttribute('aria-label', muted ? "Riattiva l'audio" : "Disattiva l'audio"); + this.ui.volume.value = String(value); + this.ui.volume.style.setProperty('--val', (value * 100) + '%'); + store('rpi-volume', String(value)); + }, + + init: function () { + var self = this; + var audio = this.audio; + + this.ui.play.addEventListener('click', function () { self.toggle(); }); + this.ui.close.addEventListener('click', function () { self.close(); }); + this.ui.format.addEventListener('click', function () { + self.setFormat(self.format === 'hls' ? 'direct' : 'hls'); + }); + + audio.addEventListener('playing', function () { self.setState('playing'); }); + audio.addEventListener('waiting', function () { if (!audio.paused) self.setState('buffering'); }); + audio.addEventListener('pause', function () { + if (!self.dock.classList.contains('is-error')) self.setState('paused'); + }); + audio.addEventListener('ended', function () { self.setState('paused'); }); + audio.addEventListener('error', function () { + if (self.stopping || !audio.getAttribute('src')) return; + self.onError(); + }); + + // Pulsanti "Ascolta" nelle pagine + document.addEventListener('click', function (e) { + var btn = e.target.closest('[data-play-toggle]'); + if (!btn) return; + e.preventDefault(); + if (self.station) { + self.toggle(); + } else { + var view = $('[data-station]', content); + if (view) self.load(JSON.parse(view.getAttribute('data-station')), { autoplay: true }); + } + }); + + // Volume + this.ui.mute.addEventListener('click', function () { + audio.muted = !audio.muted; + if (!audio.muted && audio.volume === 0) audio.volume = 0.7; + self.paintVolume(); + }); + this.ui.volume.addEventListener('input', function () { + audio.volume = parseFloat(self.ui.volume.value); + audio.muted = audio.volume === 0; + self.paintVolume(); + }); + var saved = parseFloat(store('rpi-volume')); + if (saved >= 0 && saved <= 1) { + audio.volume = saved; + audio.muted = saved === 0; + } + this.paintVolume(); + + // Tasti: spazio = play/pausa quando non si sta scrivendo + document.addEventListener('keydown', function (e) { + if (e.key !== ' ' || !self.station) return; + var t = e.target; + if (t && (t.tagName === 'INPUT' || t.tagName === 'TEXTAREA' || t.tagName === 'BUTTON' || t.tagName === 'A' || t.isContentEditable)) return; + e.preventDefault(); + self.toggle(); + }); + } + }; + + /* ===================================================================== + TV (flusso video HLS) + ===================================================================== */ + + var TV = { + hls: null, + video: null, + + init: function (video) { + this.destroy(); + this.video = video; + var self = this; + var src = video.getAttribute('data-src'); + var errorEl = $('.tv-error', video.parentNode); + + function showError(msg) { + if (!errorEl) return; + errorEl.textContent = msg; + errorEl.hidden = false; + } + function start() { + var p = video.play(); + if (p && p.catch) p.catch(function () { /* autoplay bloccato: l'utente premerà play */ }); + } + + if (!src) { showError('Nessun flusso video configurato per questo canale.'); return; } + + // Una cosa alla volta: quando parte il video la radio si ferma + video.addEventListener('play', function () { Player.pause(); }); + + if (window.Hls && window.Hls.isSupported()) { + var hls = new window.Hls({ debug: false, enableWorker: true, liveDurationInfinity: true, backBufferLength: 30 }); + this.hls = hls; + hls.on(window.Hls.Events.MANIFEST_PARSED, start); + hls.on(window.Hls.Events.ERROR, function (event, data) { + if (!data.fatal) return; + switch (data.type) { + case window.Hls.ErrorTypes.NETWORK_ERROR: + if (data.details === window.Hls.ErrorDetails.MANIFEST_LOAD_ERROR) { + showError('La diretta video non è disponibile al momento. Riprova tra poco.'); + } else { + hls.startLoad(); + } + break; + case window.Hls.ErrorTypes.MEDIA_ERROR: + hls.recoverMediaError(); + break; + default: + showError('Errore nella riproduzione del video.'); + self.destroy(); + } + }); + hls.loadSource(src); + hls.attachMedia(video); + } else if (video.canPlayType('application/vnd.apple.mpegurl')) { + video.src = src; + video.addEventListener('loadedmetadata', start, { once: true }); + video.addEventListener('error', function () { showError('Errore nella riproduzione del video.'); }); + } else { + showError('Il tuo browser non supporta questo flusso video.'); + } + }, + + pause: function () { + if (this.video && !this.video.paused) this.video.pause(); + }, + + destroy: function () { + if (this.hls) { + try { this.hls.destroy(); } catch (e) { /* già distrutta */ } + this.hls = null; + } + if (this.video) { + try { + this.video.pause(); + this.video.removeAttribute('src'); + this.video.load(); + } catch (e) { /* elemento già rimosso */ } + this.video = null; + } + } + }; + + /* ===================================================================== + Podcast + ===================================================================== */ + + var Podcast = { + open: function (url, title, source) { + var list = $('#podcast-list'); + var detail = $('#podcast-detail'); + var iframe = $('#podcast-iframe'); + var page = $('#podcast-page'); + if (!list || !detail || !iframe) return; + + // La puntata ha il suo audio: la radio si ferma + Player.pause(); + + $('#podcast-detail-title').textContent = title || 'Puntata'; + $('#podcast-detail-source').textContent = source || ''; + iframe.src = url; + list.hidden = true; + detail.hidden = false; + if (page) page.classList.add('is-detail'); + content.scrollTop = 0; + + // Il tasto indietro del telefono o del browser torna all'elenco + if (!(history.state && history.state.podcast)) { + history.pushState({ page: 'podcast', podcast: true }, '', window.location.href); + } + }, + + close: function (viaHistory) { + var list = $('#podcast-list'); + var detail = $('#podcast-detail'); + var page = $('#podcast-page'); + this.closeIframe(); + if (detail) detail.hidden = true; + if (list) list.hidden = false; + if (page) page.classList.remove('is-detail'); + if (viaHistory !== false && history.state && history.state.podcast) history.back(); + }, + + closeIframe: function () { + var iframe = $('#podcast-iframe'); + if (iframe && iframe.getAttribute('src') !== 'about:blank') iframe.src = 'about:blank'; + }, + + reset: function () { + // Pagina appena caricata: elenco visibile + var page = $('#podcast-page'); + if (page) page.classList.remove('is-detail'); + }, + + init: function () { + var self = this; + function openFrom(el) { + self.open(el.getAttribute('data-podcast-url'), el.getAttribute('data-podcast-title'), el.getAttribute('data-podcast-source')); + } + document.addEventListener('click', function (e) { + var closeBtn = e.target.closest('[data-podcast-close]'); + if (closeBtn) { e.preventDefault(); self.close(); return; } + var item = e.target.closest('[data-podcast-url]'); + if (item) { e.preventDefault(); openFrom(item); } + }); + document.addEventListener('keydown', function (e) { + if (e.key !== 'Enter' && e.key !== ' ') return; + var item = e.target.closest && e.target.closest('[data-podcast-url]'); + if (item) { e.preventDefault(); openFrom(item); } + }); + } + }; + + // Compatibilità con eventuali chiamate esterne (vecchie pagine) + window.openPodcast = function (url, title) { Podcast.open(url, title, ''); }; + window.closePodcast = function () { Podcast.close(); }; + + /* ===================================================================== + Offline + ===================================================================== */ + + var Offline = { + init: function () { + var overlay = document.createElement('div'); + overlay.id = 'offlineOverlay'; + overlay.className = 'offline-overlay'; + overlay.innerHTML = + '
' + + '' + + '

Nessuna connessione

' + + '

Sembra che tu sia offline. Controlla la connessione a internet per continuare ad ascoltare RPIGroup Play.

' + + '
'; + body.appendChild(overlay); + + var btn = $('#offlineRetryBtn'); + btn.addEventListener('click', function () { + btn.disabled = true; + btn.querySelector('.icon').classList.add('is-spinning'); + btn.querySelector('span').textContent = 'Verifica in corso…'; + fetch(BASE + '/robots.txt', { cache: 'no-store' }) + .then(function () { overlay.classList.remove('active'); window.location.reload(); }) + .catch(function () { + setTimeout(function () { + btn.disabled = false; + btn.querySelector('.icon').classList.remove('is-spinning'); + btn.querySelector('span').textContent = 'Riprova'; + }, 1000); + }); + }); + + window.addEventListener('offline', function () { overlay.classList.add('active'); }); + window.addEventListener('online', function () { overlay.classList.remove('active'); }); + if (!navigator.onLine) overlay.classList.add('active'); + } + }; + + /* ===================================================================== + Avvio + ===================================================================== */ + + function init() { + if (!content) return; + Offline.init(); + Player.init(); + Podcast.init(); + Router.init(); + } + + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init); + else init(); +})(); diff --git a/js/bootstrap.js b/js/bootstrap.js deleted file mode 100644 index cc0a255..0000000 --- a/js/bootstrap.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v5.1.3 (https://getbootstrap.com/) - * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t="transitionend",e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},s=e=>{e.dispatchEvent(new Event(t))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=(t,e,i)=>{Object.keys(i).forEach((n=>{const s=i[n],r=e[n],a=r&&o(r)?"element":null==(l=r)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(a))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}))},l=t=>!(!o(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),c=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},d=()=>{},u=t=>{t.offsetHeight},f=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},p=[],m=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=f();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",(()=>{p.forEach((t=>t()))})),p.push(e)):e()},_=t=>{"function"==typeof t&&t()},b=(e,i,n=!0)=>{if(!n)return void _(e);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(t,a),_(e))};i.addEventListener(t,a),setTimeout((()=>{r||s(i)}),o)},v=(t,e,i,n)=>{let s=t.indexOf(e);if(-1===s)return t[!i&&n?t.length-1:0];const o=t.length;return s+=i?1:-1,n&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))]},y=/[^.]*(?=\..*)\.|.*/,w=/\..*/,E=/::\d+$/,A={};let T=1;const O={mouseenter:"mouseover",mouseleave:"mouseout"},C=/^(mouseenter|mouseleave)/i,k=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function L(t,e){return e&&`${e}::${T++}`||t.uidEvent||T++}function x(t){const e=L(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function D(t,e,i=null){const n=Object.keys(t);for(let s=0,o=n.length;sfunction(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):i=t(i)}const[o,r,a]=S(e,i,n),l=x(t),c=l[a]||(l[a]={}),h=D(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=L(r,e.replace(y,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&j.off(t,s.type,e,i),i.apply(r,[s]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&j.off(t,n.type,e),e.apply(t,[n])}}(t,i);u.delegationSelector=o?i:null,u.originalHandler=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function I(t,e,i,n,s){const o=D(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function P(t){return t=t.replace(w,""),O[t]||t}const j={on(t,e,i,n){N(t,e,i,n,!1)},one(t,e,i,n){N(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=S(e,i,n),a=r!==e,l=x(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void I(t,l,r,o,s?i:null)}c&&Object.keys(l).forEach((i=>{!function(t,e,i,n){const s=e[i]||{};Object.keys(s).forEach((o=>{if(o.includes(n)){const n=s[o];I(t,e,i,n.originalHandler,n.delegationSelector)}}))}(t,l,i,e.slice(1))}));const h=l[r]||{};Object.keys(h).forEach((i=>{const n=i.replace(E,"");if(!a||e.includes(n)){const e=h[i];I(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=f(),s=P(e),o=e!==s,r=k.has(s);let a,l=!0,c=!0,h=!1,d=null;return o&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((t=>{Object.defineProperty(d,t,{get:()=>i[t]})})),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},M=new Map,H={set(t,e,i){M.has(t)||M.set(t,new Map);const n=M.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>M.has(t)&&M.get(t).get(e)||null,remove(t,e){if(!M.has(t))return;const i=M.get(t);i.delete(e),0===i.size&&M.delete(t)}};class B{constructor(t){(t=r(t))&&(this._element=t,H.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,i=!0){b(t,e,i)}static getInstance(t){return H.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const R=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;j.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),c(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))};class W extends B{static get NAME(){return"alert"}close(){if(j.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),j.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=W.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}R(W,"close"),g(W);const $='[data-bs-toggle="button"]';class z extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=z.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function q(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function F(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}j.on(document,"click.bs.button.data-api",$,(t=>{t.preventDefault();const e=t.target.closest($);z.getOrCreateInstance(e).toggle()})),g(z);const U={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${F(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${F(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=q(t.dataset[i])})),e},getDataAttribute:(t,e)=>q(t.getAttribute(`data-bs-${F(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},V={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(", ");return this.find(e,t).filter((t=>!c(t)&&l(t)))}},K="carousel",X={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Y={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Q="next",G="prev",Z="left",J="right",tt={ArrowLeft:J,ArrowRight:Z},et="slid.bs.carousel",it="active",nt=".active.carousel-item";class st extends B{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=V.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return X}static get NAME(){return K}next(){this._slide(Q)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(G)}pause(t){t||(this._isPaused=!0),V.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=V.findOne(nt,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void j.one(this._element,et,(()=>this.to(t)));if(e===t)return this.pause(),void this.cycle();const i=t>e?Q:G;this._slide(i,this._items[t])}_getConfig(t){return t={...X,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(K,t,Y),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?J:Z)}_addEventListeners(){this._config.keyboard&&j.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(j.on(this._element,"mouseenter.bs.carousel",(t=>this.pause(t))),j.on(this._element,"mouseleave.bs.carousel",(t=>this.cycle(t)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};V.find(".carousel-item img",this._element).forEach((t=>{j.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()))})),this._pointerEvent?(j.on(this._element,"pointerdown.bs.carousel",(t=>e(t))),j.on(this._element,"pointerup.bs.carousel",(t=>n(t))),this._element.classList.add("pointer-event")):(j.on(this._element,"touchstart.bs.carousel",(t=>e(t))),j.on(this._element,"touchmove.bs.carousel",(t=>i(t))),j.on(this._element,"touchend.bs.carousel",(t=>n(t))))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=tt[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?V.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===Q;return v(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(V.findOne(nt,this._element));return j.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=V.findOne(".active",this._indicatorsElement);e.classList.remove(it),e.removeAttribute("aria-current");const i=V.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e{j.trigger(this._element,et,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),u(o),n.classList.add(c),o.classList.add(c);const t=()=>{o.classList.remove(c,h),o.classList.add(it),n.classList.remove(it,h,c),this._isSliding=!1,setTimeout(f,0)};this._queueCallback(t,n,!0)}else n.classList.remove(it),o.classList.add(it),this._isSliding=!1,f();a&&this.cycle()}_directionToOrder(t){return[J,Z].includes(t)?m()?t===Z?G:Q:t===Z?Q:G:t}_orderToDirection(t){return[Q,G].includes(t)?m()?t===G?Z:J:t===G?J:Z:t}static carouselInterface(t,e){const i=st.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){st.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=n(this);if(!e||!e.classList.contains("carousel"))return;const i={...U.getDataAttributes(e),...U.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(i.interval=!1),st.carouselInterface(e,i),s&&st.getInstance(e).to(s),t.preventDefault()}}j.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",st.dataApiClickHandler),j.on(window,"load.bs.carousel.data-api",(()=>{const t=V.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;et===this._element));null!==s&&o.length&&(this._selector=s,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return rt}static get NAME(){return ot}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=V.find(ut,this._config.parent);e=V.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((e=>!t.includes(e)))}const i=V.findOne(this._selector);if(e.length){const n=e.find((t=>i!==t));if(t=n?pt.getInstance(n):null,t&&t._isTransitioning)return}if(j.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e.forEach((e=>{i!==e&&pt.getOrCreateInstance(e,{toggle:!1}).hide(),t||H.set(e,"bs.collapse",null)}));const n=this._getDimension();this._element.classList.remove(ct),this._element.classList.add(ht),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(ct,lt),this._element.style[n]="",j.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(j.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,u(this._element),this._element.classList.add(ht),this._element.classList.remove(ct,lt);const e=this._triggerArray.length;for(let t=0;t{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(ct),j.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(lt)}_getConfig(t){return(t={...rt,...U.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=r(t.parent),a(ot,t,at),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=V.find(ut,this._config.parent);V.find(ft,this._config.parent).filter((e=>!t.includes(e))).forEach((t=>{const e=n(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}))}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t=>{e?t.classList.remove(dt):t.classList.add(dt),t.setAttribute("aria-expanded",e)}))}static jQueryInterface(t){return this.each((function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=pt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}j.on(document,"click.bs.collapse.data-api",ft,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=i(this);V.find(e).forEach((t=>{pt.getOrCreateInstance(t,{toggle:!1}).toggle()}))})),g(pt);var mt="top",gt="bottom",_t="right",bt="left",vt="auto",yt=[mt,gt,_t,bt],wt="start",Et="end",At="clippingParents",Tt="viewport",Ot="popper",Ct="reference",kt=yt.reduce((function(t,e){return t.concat([e+"-"+wt,e+"-"+Et])}),[]),Lt=[].concat(yt,[vt]).reduce((function(t,e){return t.concat([e,e+"-"+wt,e+"-"+Et])}),[]),xt="beforeRead",Dt="read",St="afterRead",Nt="beforeMain",It="main",Pt="afterMain",jt="beforeWrite",Mt="write",Ht="afterWrite",Bt=[xt,Dt,St,Nt,It,Pt,jt,Mt,Ht];function Rt(t){return t?(t.nodeName||"").toLowerCase():null}function Wt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $t(t){return t instanceof Wt(t).Element||t instanceof Element}function zt(t){return t instanceof Wt(t).HTMLElement||t instanceof HTMLElement}function qt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Wt(t).ShadowRoot||t instanceof ShadowRoot)}const Ft={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];zt(s)&&Rt(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});zt(n)&&Rt(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Ut(t){return t.split("-")[0]}function Vt(t,e){var i=t.getBoundingClientRect();return{width:i.width/1,height:i.height/1,top:i.top/1,right:i.right/1,bottom:i.bottom/1,left:i.left/1,x:i.left/1,y:i.top/1}}function Kt(t){var e=Vt(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Xt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&qt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Yt(t){return Wt(t).getComputedStyle(t)}function Qt(t){return["table","td","th"].indexOf(Rt(t))>=0}function Gt(t){return(($t(t)?t.ownerDocument:t.document)||window.document).documentElement}function Zt(t){return"html"===Rt(t)?t:t.assignedSlot||t.parentNode||(qt(t)?t.host:null)||Gt(t)}function Jt(t){return zt(t)&&"fixed"!==Yt(t).position?t.offsetParent:null}function te(t){for(var e=Wt(t),i=Jt(t);i&&Qt(i)&&"static"===Yt(i).position;)i=Jt(i);return i&&("html"===Rt(i)||"body"===Rt(i)&&"static"===Yt(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&zt(t)&&"fixed"===Yt(t).position)return null;for(var i=Zt(t);zt(i)&&["html","body"].indexOf(Rt(i))<0;){var n=Yt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function ee(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var ie=Math.max,ne=Math.min,se=Math.round;function oe(t,e,i){return ie(t,ne(e,i))}function re(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ae(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const le={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=Ut(i.placement),l=ee(a),c=[bt,_t].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return re("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ae(t,yt))}(s.padding,i),d=Kt(o),u="y"===l?mt:bt,f="y"===l?gt:_t,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=te(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,E=oe(v,w,y),A=l;i.modifiersData[n]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&Xt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ce(t){return t.split("-")[1]}var he={top:"auto",right:"auto",bottom:"auto",left:"auto"};function de(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=!0===h?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:se(se(e*n)/n)||0,y:se(se(i*n)/n)||0}}(r):"function"==typeof h?h(r):r,u=d.x,f=void 0===u?0:u,p=d.y,m=void 0===p?0:p,g=r.hasOwnProperty("x"),_=r.hasOwnProperty("y"),b=bt,v=mt,y=window;if(c){var w=te(i),E="clientHeight",A="clientWidth";w===Wt(i)&&"static"!==Yt(w=Gt(i)).position&&"absolute"===a&&(E="scrollHeight",A="scrollWidth"),w=w,s!==mt&&(s!==bt&&s!==_t||o!==Et)||(v=gt,m-=w[E]-n.height,m*=l?1:-1),s!==bt&&(s!==mt&&s!==gt||o!==Et)||(b=_t,f-=w[A]-n.width,f*=l?1:-1)}var T,O=Object.assign({position:a},c&&he);return l?Object.assign({},O,((T={})[v]=_?"0":"",T[b]=g?"0":"",T.transform=(y.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T)):Object.assign({},O,((e={})[v]=_?m+"px":"",e[b]=g?f+"px":"",e.transform="",e))}const ue={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:Ut(e.placement),variation:ce(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,de(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,de(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var fe={passive:!0};const pe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=Wt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,fe)})),a&&l.addEventListener("resize",i.update,fe),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,fe)})),a&&l.removeEventListener("resize",i.update,fe)}},data:{}};var me={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(t){return t.replace(/left|right|bottom|top/g,(function(t){return me[t]}))}var _e={start:"end",end:"start"};function be(t){return t.replace(/start|end/g,(function(t){return _e[t]}))}function ve(t){var e=Wt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ye(t){return Vt(Gt(t)).left+ve(t).scrollLeft}function we(t){var e=Yt(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ee(t){return["html","body","#document"].indexOf(Rt(t))>=0?t.ownerDocument.body:zt(t)&&we(t)?t:Ee(Zt(t))}function Ae(t,e){var i;void 0===e&&(e=[]);var n=Ee(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=Wt(n),r=s?[o].concat(o.visualViewport||[],we(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Ae(Zt(r)))}function Te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Oe(t,e){return e===Tt?Te(function(t){var e=Wt(t),i=Gt(t),n=e.visualViewport,s=i.clientWidth,o=i.clientHeight,r=0,a=0;return n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+ye(t),y:a}}(t)):zt(e)?function(t){var e=Vt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Te(function(t){var e,i=Gt(t),n=ve(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ie(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ie(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+ye(t),l=-n.scrollTop;return"rtl"===Yt(s||i).direction&&(a+=ie(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Gt(t)))}function Ce(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?Ut(s):null,r=s?ce(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case mt:e={x:a,y:i.y-n.height};break;case gt:e={x:a,y:i.y+i.height};break;case _t:e={x:i.x+i.width,y:l};break;case bt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?ee(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case wt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Et:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ke(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.boundary,r=void 0===o?At:o,a=i.rootBoundary,l=void 0===a?Tt:a,c=i.elementContext,h=void 0===c?Ot:c,d=i.altBoundary,u=void 0!==d&&d,f=i.padding,p=void 0===f?0:f,m=re("number"!=typeof p?p:ae(p,yt)),g=h===Ot?Ct:Ot,_=t.rects.popper,b=t.elements[u?g:h],v=function(t,e,i){var n="clippingParents"===e?function(t){var e=Ae(Zt(t)),i=["absolute","fixed"].indexOf(Yt(t).position)>=0&&zt(t)?te(t):t;return $t(i)?e.filter((function(t){return $t(t)&&Xt(t,i)&&"body"!==Rt(t)})):[]}(t):[].concat(e),s=[].concat(n,[i]),o=s[0],r=s.reduce((function(e,i){var n=Oe(t,i);return e.top=ie(n.top,e.top),e.right=ne(n.right,e.right),e.bottom=ne(n.bottom,e.bottom),e.left=ie(n.left,e.left),e}),Oe(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}($t(b)?b:b.contextElement||Gt(t.elements.popper),r,l),y=Vt(t.elements.reference),w=Ce({reference:y,element:_,strategy:"absolute",placement:s}),E=Te(Object.assign({},_,w)),A=h===Ot?E:y,T={top:v.top-A.top+m.top,bottom:A.bottom-v.bottom+m.bottom,left:v.left-A.left+m.left,right:A.right-v.right+m.right},O=t.modifiersData.offset;if(h===Ot&&O){var C=O[s];Object.keys(T).forEach((function(t){var e=[_t,gt].indexOf(t)>=0?1:-1,i=[mt,gt].indexOf(t)>=0?"y":"x";T[t]+=C[i]*e}))}return T}function Le(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?Lt:l,h=ce(n),d=h?a?kt:kt.filter((function(t){return ce(t)===h})):yt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=ke(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[Ut(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}const xe={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=Ut(g),b=l||(_!==g&&p?function(t){if(Ut(t)===vt)return[];var e=ge(t);return[be(t),e,be(e)]}(g):[ge(g)]),v=[g].concat(b).reduce((function(t,i){return t.concat(Ut(i)===vt?Le(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,T=v[0],O=0;O=0,D=x?"width":"height",S=ke(e,{placement:C,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),N=x?L?_t:bt:L?gt:mt;y[D]>w[D]&&(N=ge(N));var I=ge(N),P=[];if(o&&P.push(S[k]<=0),a&&P.push(S[N]<=0,S[I]<=0),P.every((function(t){return t}))){T=C,A=!1;break}E.set(C,P)}if(A)for(var j=function(t){var e=v.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},M=p?3:1;M>0&&"break"!==j(M);M--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function De(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Se(t){return[mt,_t,gt,bt].some((function(e){return t[e]>=0}))}const Ne={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ke(e,{elementContext:"reference"}),a=ke(e,{altBoundary:!0}),l=De(r,n),c=De(a,s,o),h=Se(l),d=Se(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},Ie={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=Lt.reduce((function(t,i){return t[i]=function(t,e,i){var n=Ut(t),s=[bt,mt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[bt,_t].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},Pe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Ce({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=ke(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=Ut(e.placement),b=ce(e.placement),v=!b,y=ee(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,T=e.rects.popper,O="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C={x:0,y:0};if(E){if(o||a){var k="y"===y?mt:bt,L="y"===y?gt:_t,x="y"===y?"height":"width",D=E[y],S=E[y]+g[k],N=E[y]-g[L],I=f?-T[x]/2:0,P=b===wt?A[x]:T[x],j=b===wt?-T[x]:-A[x],M=e.elements.arrow,H=f&&M?Kt(M):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=B[k],W=B[L],$=oe(0,A[x],H[x]),z=v?A[x]/2-I-$-R-O:P-$-R-O,q=v?-A[x]/2+I+$+W+O:j+$+W+O,F=e.elements.arrow&&te(e.elements.arrow),U=F?"y"===y?F.clientTop||0:F.clientLeft||0:0,V=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,K=E[y]+z-V-U,X=E[y]+q-V;if(o){var Y=oe(f?ne(S,K):S,D,f?ie(N,X):N);E[y]=Y,C[y]=Y-D}if(a){var Q="x"===y?mt:bt,G="x"===y?gt:_t,Z=E[w],J=Z+g[Q],tt=Z-g[G],et=oe(f?ne(J,K):J,Z,f?ie(tt,X):tt);E[w]=et,C[w]=et-Z}}e.modifiersData[n]=C}},requiresIfExists:["offset"]};function Me(t,e,i){void 0===i&&(i=!1);var n=zt(e);zt(e)&&function(t){var e=t.getBoundingClientRect();e.width,t.offsetWidth,e.height,t.offsetHeight}(e);var s,o,r=Gt(e),a=Vt(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!i)&&(("body"!==Rt(e)||we(r))&&(l=(s=e)!==Wt(s)&&zt(s)?{scrollLeft:(o=s).scrollLeft,scrollTop:o.scrollTop}:ve(s)),zt(e)?((c=Vt(e)).x+=e.clientLeft,c.y+=e.clientTop):r&&(c.x=ye(r))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function He(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var Be={placement:"bottom",modifiers:[],strategy:"absolute"};function Re(){for(var t=arguments.length,e=new Array(t),i=0;ij.on(t,"mouseover",d))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Je),this._element.classList.add(Je),j.trigger(this._element,"shown.bs.dropdown",t)}hide(){if(c(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){j.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>j.off(t,"mouseover",d))),this._popper&&this._popper.destroy(),this._menu.classList.remove(Je),this._element.classList.remove(Je),this._element.setAttribute("aria-expanded","false"),U.removeDataAttribute(this._menu,"popper"),j.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...U.getDataAttributes(this._element),...t},a(Ue,t,this.constructor.DefaultType),"object"==typeof t.reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ue.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(void 0===Fe)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig(),n=i.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=qe(e,this._menu,i),n&&U.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(Je)}_getMenuElement(){return V.next(this._element,ei)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return ri;if(t.classList.contains("dropstart"))return ai;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?ni:ii:e?oi:si}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=V.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);i.length&&v(i,e,t===Ye,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=hi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=V.find(ti);for(let i=0,n=e.length;ie+t)),this._setElementAttributes(di,"paddingRight",(e=>e+t)),this._setElementAttributes(ui,"marginRight",(e=>e-t))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(di,"paddingRight"),this._resetElementAttributes(ui,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&U.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=U.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(U.removeDataAttribute(t,e),t.style[e]=i)}))}_applyManipulationCallback(t,e){o(t)?e(t):V.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const pi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},mi={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},gi="show",_i="mousedown.bs.backdrop";class bi{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&u(this._getElement()),this._getElement().classList.add(gi),this._emulateAnimation((()=>{_(t)}))):_(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(gi),this._emulateAnimation((()=>{this.dispose(),_(t)}))):_(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...pi,..."object"==typeof t?t:{}}).rootElement=r(t.rootElement),a("backdrop",t,mi),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),j.on(this._getElement(),_i,(()=>{_(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(j.off(this._element,_i),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}}const vi={trapElement:null,autofocus:!0},yi={trapElement:"element",autofocus:"boolean"},wi=".bs.focustrap",Ei="backward";class Ai{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),j.off(document,wi),j.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),j.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,j.off(document,wi))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const n=V.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Ei?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Ei:"forward")}_getConfig(t){return t={...vi,..."object"==typeof t?t:{}},a("focustrap",t,yi),t}}const Ti="modal",Oi="Escape",Ci={backdrop:!0,keyboard:!0,focus:!0},ki={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Li="hidden.bs.modal",xi="show.bs.modal",Di="resize.bs.modal",Si="click.dismiss.bs.modal",Ni="keydown.dismiss.bs.modal",Ii="mousedown.dismiss.bs.modal",Pi="modal-open",ji="show",Mi="modal-static";class Hi extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=V.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new fi}static get Default(){return Ci}static get NAME(){return Ti}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||j.trigger(this._element,xi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Pi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),j.on(this._dialog,Ii,(()=>{j.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;if(j.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(ji),j.off(this._element,Si),j.off(this._dialog,Ii),this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((t=>j.off(t,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new bi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ai({trapElement:this._element})}_getConfig(t){return t={...Ci,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(Ti,t,ki),t}_showElement(t){const e=this._isAnimated(),i=V.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&u(this._element),this._element.classList.add(ji),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,j.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,e)}_setEscapeEvent(){this._isShown?j.on(this._element,Ni,(t=>{this._config.keyboard&&t.key===Oi?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Oi||this._triggerBackdropTransition()})):j.off(this._element,Ni)}_setResizeEvent(){this._isShown?j.on(window,Di,(()=>this._adjustDialog())):j.off(window,Di)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Pi),this._resetAdjustments(),this._scrollBar.reset(),j.trigger(this._element,Li)}))}_showBackdrop(t){j.on(this._element,Si,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(j.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains(Mi)||(n||(i.overflowY="hidden"),t.add(Mi),this._queueCallback((()=>{t.remove(Mi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!m()||i&&!t&&m())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!m()||!i&&t&&m())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Hi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}j.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),j.one(e,xi,(t=>{t.defaultPrevented||j.one(e,Li,(()=>{l(this)&&this.focus()}))}));const i=V.findOne(".modal.show");i&&Hi.getInstance(i).hide(),Hi.getOrCreateInstance(e).toggle(this)})),R(Hi),g(Hi);const Bi="offcanvas",Ri={backdrop:!0,keyboard:!0,scroll:!1},Wi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},$i="show",zi=".offcanvas.show",qi="hidden.bs.offcanvas";class Fi extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Bi}static get Default(){return Ri}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||j.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new fi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add($i),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),j.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(j.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove($i),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new fi).reset(),j.trigger(this._element,qi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...Ri,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(Bi,t,Wi),t}_initializeBackDrop(){return new bi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Ai({trapElement:this._element})}_addEventListeners(){j.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=Fi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}j.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this))return;j.one(e,qi,(()=>{l(this)&&this.focus()}));const i=V.findOne(zi);i&&i!==e&&Fi.getInstance(i).hide(),Fi.getOrCreateInstance(e).toggle(this)})),j.on(window,"load.bs.offcanvas.data-api",(()=>V.find(zi).forEach((t=>Fi.getOrCreateInstance(t).show())))),R(Fi),g(Fi);const Ui=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Vi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ki=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Xi=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!Ui.has(i)||Boolean(Vi.test(t.nodeValue)||Ki.test(t.nodeValue));const n=e.filter((t=>t instanceof RegExp));for(let t=0,e=n.length;t{Xi(t,r)||i.removeAttribute(t.nodeName)}))}return n.body.innerHTML}const Qi="tooltip",Gi=new Set(["sanitize","allowList","sanitizeFn"]),Zi={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ji={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},tn={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},en={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},nn="fade",sn="show",on="show",rn="out",an=".tooltip-inner",ln=".modal",cn="hide.bs.modal",hn="hover",dn="focus";class un extends B{constructor(t,e){if(void 0===Fe)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return tn}static get NAME(){return Qi}static get Event(){return en}static get DefaultType(){return Zi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(sn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(ln),cn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=j.trigger(this._element,this.constructor.Event.SHOW),e=h(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(an).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(nn);const o="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;H.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),j.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=qe(this._element,n,this._getPopperConfig(r)),n.classList.add(sn);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{j.on(t,"mouseover",d)}));const c=this.tip.classList.contains(nn);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,j.trigger(this._element,this.constructor.Event.SHOWN),t===rn&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const t=this.getTipElement();if(j.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(sn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>j.off(t,"mouseover",d))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(nn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==on&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),j.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(nn,sn),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),an)}_sanitizeAndSetContent(t,e,i){const n=V.findOne(i,t);e||!n?this.setElementContent(n,e):n.remove()}setElementContent(t,e){if(null!==t)return o(e)?(e=r(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Yi(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Ji[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)j.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===hn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===hn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;j.on(this._element,e,this._config.selector,(t=>this._enter(t))),j.on(this._element,i,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(ln),cn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?dn:hn]=!0),e.getTipElement().classList.contains(sn)||e._hoverState===on?e._hoverState=on:(clearTimeout(e._timeout),e._hoverState=on,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===on&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?dn:hn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=rn,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===rn&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=U.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Gi.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),a(Qi,t,this.constructor.DefaultType),t.sanitize&&(t.template=Yi(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=un.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(un);const fn={...un.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},pn={...un.DefaultType,content:"(string|element|function)"},mn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class gn extends un{static get Default(){return fn}static get NAME(){return"popover"}static get Event(){return mn}static get DefaultType(){return pn}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each((function(){const e=gn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(gn);const _n="scrollspy",bn={offset:10,method:"auto",target:""},vn={offset:"number",method:"string",target:"(string|element)"},yn="active",wn=".nav-link, .list-group-item, .dropdown-item",En="position";class An extends B{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,j.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return bn}static get NAME(){return _n}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":En,e="auto"===this._config.method?t:this._config.method,n=e===En?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),V.find(wn,this._config.target).map((t=>{const s=i(t),o=s?V.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[U[e](o).top+n,s]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){j.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...bn,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=r(t.target)||document.documentElement,a(_n,t,vn),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=V.findOne(e.join(","),this._config.target);i.classList.add(yn),i.classList.contains("dropdown-item")?V.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(yn):V.parents(i,".nav, .list-group").forEach((t=>{V.prev(t,".nav-link, .list-group-item").forEach((t=>t.classList.add(yn))),V.prev(t,".nav-item").forEach((t=>{V.children(t,".nav-link").forEach((t=>t.classList.add(yn)))}))})),j.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){V.find(wn,this._config.target).filter((t=>t.classList.contains(yn))).forEach((t=>t.classList.remove(yn)))}static jQueryInterface(t){return this.each((function(){const e=An.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(window,"load.bs.scrollspy.data-api",(()=>{V.find('[data-bs-spy="scroll"]').forEach((t=>new An(t)))})),g(An);const Tn="active",On="fade",Cn="show",kn=".active",Ln=":scope > li > .active";class xn extends B{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Tn))return;let t;const e=n(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?Ln:kn;t=V.find(e,i),t=t[t.length-1]}const s=t?j.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(j.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,i);const o=()=>{j.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),j.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?V.children(e,kn):V.find(Ln,e))[0],s=i&&n&&n.classList.contains(On),o=()=>this._transitionComplete(t,n,i);n&&s?(n.classList.remove(Cn),this._queueCallback(o,t,!0)):o()}_transitionComplete(t,e,i){if(e){e.classList.remove(Tn);const t=V.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Tn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Tn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u(t),t.classList.contains(On)&&t.classList.add(Cn);let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&V.find(".dropdown-toggle",e).forEach((t=>t.classList.add(Tn))),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=xn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this)||xn.getOrCreateInstance(this).show()})),g(xn);const Dn="toast",Sn="hide",Nn="show",In="showing",Pn={animation:"boolean",autohide:"boolean",delay:"number"},jn={animation:!0,autohide:!0,delay:5e3};class Mn extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Pn}static get Default(){return jn}static get NAME(){return Dn}show(){j.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Sn),u(this._element),this._element.classList.add(Nn),this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.remove(In),j.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Nn)&&(j.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(In),this._queueCallback((()=>{this._element.classList.add(Sn),this._element.classList.remove(In),this._element.classList.remove(Nn),j.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Nn)&&this._element.classList.remove(Nn),super.dispose()}_getConfig(t){return t={...jn,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},a(Dn,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){j.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),j.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),j.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),j.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Mn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(Mn),g(Mn),{Alert:W,Button:z,Carousel:st,Collapse:pt,Dropdown:hi,Modal:Hi,Offcanvas:Fi,Popover:gn,ScrollSpy:An,Tab:xn,Toast:Mn,Tooltip:un}})); -//# sourceMappingURL=bootstrap.bundle.min.js.map \ No newline at end of file diff --git a/js/pwa-install.js b/js/pwa-install.js index cce5a9f..8acdbec 100644 --- a/js/pwa-install.js +++ b/js/pwa-install.js @@ -1,236 +1,160 @@ /** - * PWA Install and Service Worker Helper - * Powered by Antigravity AI + * RPIGroup Play - installazione come app (PWA) e registrazione del service worker + * + * - Chrome/Edge (Android e computer): intercetta beforeinstallprompt e mostra i pulsanti [data-pwa-install] + * (sidebar, topbar) e, su telefono, il banner in basso. + * - iOS: niente prompt; i pulsanti aprono le istruzioni passo passo. + * - App già installata (standalone): niente inviti. */ - (function () { - const BASE_PATH = window.BASE_PATH || ''; - - // Register Service Worker - if ('serviceWorker' in navigator) { - window.addEventListener('load', () => { - const swUrl = `${BASE_PATH}/sw.js`; - navigator.serviceWorker.register(swUrl) - .then((registration) => { - console.log('[PWA] Service Worker registrato con successo:', registration.scope); - }) - .catch((error) => { - console.error('[PWA] Registrazione Service Worker fallita:', error); + 'use strict'; + + var BASE = window.BASE_PATH || ''; + + if ('serviceWorker' in navigator) { + window.addEventListener('load', function () { + navigator.serviceWorker.register(BASE + '/sw.js').catch(function (error) { + console.error('[PWA] Registrazione Service Worker fallita:', error); + }); }); - }); - } - - // Detectors - const isStandalone = window.matchMedia('(display-mode: standalone)').matches || window.navigator.standalone === true; - const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; - const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); - - // Se l'app viene aperta in modalità standalone (PWA) su desktop, reindirizza all'interno dell'app - if (isStandalone && !isMobile) { - const urlParams = new URLSearchParams(window.location.search); - if (!urlParams.has('app') || urlParams.get('app') !== 'true') { - const currentPath = window.location.pathname; - const pathWithoutBase = currentPath.replace(BASE_PATH, '').replace(/^\//, ''); - const redirectParam = pathWithoutBase ? '&redirect=' + encodeURIComponent(pathWithoutBase) : ''; - window.location.href = BASE_PATH + '/?app=true' + redirectParam; - } - } - - // Global variables - window.deferredPrompt = null; - - // Check if banner was dismissed in the last 7 days - function isBannerDismissed() { - const dismissedTime = localStorage.getItem('pwa-banner-dismissed'); - if (!dismissedTime) return false; - - const sevenDays = 7 * 24 * 60 * 60 * 1000; - return (Date.now() - parseInt(dismissedTime, 10)) < sevenDays; - } - - // Dismiss banner - function dismissBanner() { - localStorage.setItem('pwa-banner-dismissed', Date.now().toString()); - const banner = document.getElementById('pwa-install-banner'); - if (banner) { - banner.classList.remove('show'); - setTimeout(() => { - banner.style.display = 'none'; - }, 400); - } - } - - // Initialize UI components and listeners - function initPwaUI() { - // If already in standalone mode, hide all promotional components - if (isStandalone) { - console.log('[PWA] Applicazione avviata in modalità Standalone. Nascondo elementi PWA.'); - return; } - const headerBtn = document.getElementById('pwa-header-install-btn'); - const desktopBtn = document.getElementById('desktopPwaInstallBtn'); - const banner = document.getElementById('pwa-install-banner'); - const bannerInstallBtn = document.getElementById('pwa-banner-install-btn'); - const bannerCloseBtn = document.getElementById('pwa-banner-close-btn'); + var isStandalone = window.matchMedia('(display-mode: standalone)').matches || window.navigator.standalone === true; + var isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; + var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); - // On iOS, show the installation buttons immediately (as they don't support beforeinstallprompt) - if (isIOS) { - console.log('[PWA] Rilevato dispositivo iOS'); - if (headerBtn) headerBtn.style.display = 'inline-flex'; - if (desktopBtn) desktopBtn.style.display = 'inline-flex'; - - if (banner && !isBannerDismissed()) { - banner.style.display = 'flex'; - setTimeout(() => banner.classList.add('show'), 100); - } - } - - // Attach click listeners to all PWA installation buttons - const triggerInstall = (e) => { - e.preventDefault(); - - if (window.deferredPrompt) { - // Show native install prompt (Android / Desktop Chrome / Edge) - window.deferredPrompt.prompt(); - window.deferredPrompt.userChoice.then((choiceResult) => { - if (choiceResult.outcome === 'accepted') { - console.log('[PWA] Utente ha installato la PWA'); - dismissBanner(); - } else { - console.log('[PWA] Utente ha annullato l\'installazione'); - } - window.deferredPrompt = null; - }); - } else { - // Fallback for iOS Safari or other unsupported prompts - showInstructionsModal(); - } - }; - - if (headerBtn) headerBtn.addEventListener('click', triggerInstall); - if (desktopBtn) desktopBtn.addEventListener('click', triggerInstall); - if (bannerInstallBtn) bannerInstallBtn.addEventListener('click', triggerInstall); - - if (bannerCloseBtn) { - bannerCloseBtn.addEventListener('click', (e) => { - e.preventDefault(); - dismissBanner(); - }); - } - - // Modal Close logic - const modal = document.getElementById('pwa-instructions-modal'); - const modalCloseBtnTop = document.getElementById('pwa-modal-close-btn'); - - const closeModal = () => { - if (modal) { - modal.classList.remove('show'); - setTimeout(() => { - modal.style.display = 'none'; - }, 300); - } - }; - - if (modalCloseBtnTop) modalCloseBtnTop.addEventListener('click', closeModal); - if (modal) { - modal.addEventListener('click', (e) => { - if (e.target === modal) closeModal(); - }); - } - } - - // Listen for beforeinstallprompt (Chrome / Android / Edge) - window.addEventListener('beforeinstallprompt', (e) => { - // Prevent Chrome 67 and earlier from automatically showing the prompt - e.preventDefault(); - - // Se siamo su desktop, non salviamo il prompt e non mostriamo nessun banner promozionale PWA - if (!isMobile) { - console.log('[PWA] Installazione via browser intercettata su desktop. Ignorata per requisiti.'); - return; - } - - // Stash the event so it can be triggered later. - window.deferredPrompt = e; - - console.log('[PWA] Evento beforeinstallprompt intercettato.'); - - // Show custom buttons and banner (if not dismissed) - const headerBtn = document.getElementById('pwa-header-install-btn'); - const desktopBtn = document.getElementById('desktopPwaInstallBtn'); - const banner = document.getElementById('pwa-install-banner'); - - if (headerBtn) headerBtn.style.display = 'inline-flex'; - if (desktopBtn) desktopBtn.style.display = 'inline-flex'; - - if (banner && !isBannerDismissed()) { - banner.style.display = 'flex'; - setTimeout(() => banner.classList.add('show'), 100); - } - }); - - // Track successful installation - window.addEventListener('appinstalled', () => { - console.log('[PWA] L\'applicazione è stata installata con successo.'); window.deferredPrompt = null; - - // Hide all promotional components - const headerBtn = document.getElementById('pwa-header-install-btn'); - const desktopBtn = document.getElementById('desktopPwaInstallBtn'); - const banner = document.getElementById('pwa-install-banner'); - - if (headerBtn) headerBtn.style.display = 'none'; - if (desktopBtn) desktopBtn.style.display = 'none'; - if (banner) banner.style.display = 'none'; - }); - // Show instructions modal (iOS / Fallback) - function showInstructionsModal() { - const modal = document.getElementById('pwa-instructions-modal'); - const content = document.getElementById('pwa-instructions-content'); - if (!modal || !content) return; + function $(sel) { return document.querySelector(sel); } + function $$(sel) { return Array.prototype.slice.call(document.querySelectorAll(sel)); } - if (isIOS) { - content.innerHTML = ` -
-
1
-
Tocca l'icona di Condividi share (il quadrato con la freccia verso l'alto) nella barra in basso di Safari.
-
-
-
2
-
Scorri l'elenco delle opzioni verso il basso e seleziona Aggiungi alla schermata Home add_box.
-
-
-
3
-
Tocca Aggiungi nell'angolo in alto a destra per inserire l'icona sul tuo telefono.
-
- `; - } else { - content.innerHTML = ` -
-
1
-
Apri il menu delle impostazioni del browser toccando i tre puntini more_vert in alto a destra.
-
-
-
2
-
Seleziona la voce Installa applicazione o Aggiungi a schermata Home.
-
-
-
3
-
Conferma per scaricare la PWA sul tuo telefono.
-
- `; + function isBannerDismissed() { + try { + var t = localStorage.getItem('pwa-banner-dismissed'); + return t ? (Date.now() - parseInt(t, 10)) < 7 * 24 * 60 * 60 * 1000 : false; + } catch (e) { return false; } } - modal.style.display = 'flex'; - setTimeout(() => modal.classList.add('show'), 10); - } + function showBanner() { + var banner = $('#pwa-install-banner'); + if (!banner || !isMobile || isBannerDismissed()) return; + banner.hidden = false; + setTimeout(function () { banner.classList.add('show'); }, 100); + } - // Run on DOM loaded - if (document.readyState === 'loading') { - document.addEventListener('DOMContentLoaded', initPwaUI); - } else { - initPwaUI(); - } + function dismissBanner() { + try { localStorage.setItem('pwa-banner-dismissed', String(Date.now())); } catch (e) { /* niente archivio */ } + hideBanner(); + } + + function hideBanner() { + var banner = $('#pwa-install-banner'); + if (!banner) return; + banner.classList.remove('show'); + setTimeout(function () { banner.hidden = true; }, 400); + } + + function showButtons(show) { + $$('[data-pwa-install]').forEach(function (b) { b.hidden = !show; }); + } + + function icon(name) { + var paths = { + share: '', + plus: '', + more: '', + download: '' + }; + return ''; + } + + function step(n, text) { + return '
' + n + '
' + text + '
'; + } + + function showInstructionsModal() { + var modal = $('#pwa-instructions-modal'); + var box = $('#pwa-instructions-content'); + if (!modal || !box) return; + + if (isIOS) { + box.innerHTML = + step(1, "Tocca l'icona Condividi " + icon('share') + " nella barra di Safari.") + + step(2, "Scorri l'elenco e scegli Aggiungi alla schermata Home " + icon('plus') + ".") + + step(3, "Tocca Aggiungi in alto a destra: l'icona compare sul telefono."); + } else if (isMobile) { + box.innerHTML = + step(1, "Apri il menu del browser con i tre puntini " + icon('more') + " in alto a destra.") + + step(2, "Scegli Installa app oppure Aggiungi a schermata Home.") + + step(3, "Conferma: RPIGroup Play si apre a schermo intero come un'app."); + } else { + box.innerHTML = + step(1, "Nella barra degli indirizzi del browser cerca l'icona Installa " + icon('download') + ".") + + step(2, "Oppure apri il menu del browser e scegli Installa RPIGroup Play.") + + step(3, "L'app si apre in una finestra sua, con la sua icona nel sistema."); + } + + modal.hidden = false; + setTimeout(function () { modal.classList.add('show'); }, 10); + } + + function closeModal() { + var modal = $('#pwa-instructions-modal'); + if (!modal) return; + modal.classList.remove('show'); + setTimeout(function () { modal.hidden = true; }, 300); + } + + function triggerInstall(e) { + if (e) e.preventDefault(); + if (window.deferredPrompt) { + window.deferredPrompt.prompt(); + window.deferredPrompt.userChoice.then(function (choice) { + if (choice.outcome === 'accepted') dismissBanner(); + window.deferredPrompt = null; + }); + } else { + showInstructionsModal(); + } + } + + function initPwaUI() { + if (isStandalone) return; + + // Su iOS i pulsanti compaiono subito (non esiste beforeinstallprompt) + if (isIOS) { + showButtons(true); + showBanner(); + } + + document.addEventListener('click', function (e) { + if (e.target.closest('[data-pwa-install], #pwa-banner-install-btn')) triggerInstall(e); + }); + + var closeBtn = $('#pwa-banner-close-btn'); + if (closeBtn) closeBtn.addEventListener('click', function (e) { e.preventDefault(); dismissBanner(); }); + + var modal = $('#pwa-instructions-modal'); + var modalClose = $('#pwa-modal-close-btn'); + if (modalClose) modalClose.addEventListener('click', closeModal); + if (modal) modal.addEventListener('click', function (e) { if (e.target === modal) closeModal(); }); + document.addEventListener('keydown', function (e) { if (e.key === 'Escape') closeModal(); }); + } + + window.addEventListener('beforeinstallprompt', function (e) { + e.preventDefault(); + if (isStandalone) return; + window.deferredPrompt = e; + showButtons(true); + showBanner(); + }); + + window.addEventListener('appinstalled', function () { + window.deferredPrompt = null; + showButtons(false); + hideBanner(); + }); + + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', initPwaUI); + else initPwaUI(); })(); diff --git a/manifest.json b/manifest.json index 53a13d2..589569c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,52 +1,59 @@ -{ - "name": "RPIGroup Play", - "short_name": "RPIGroup Play", - "description": "Ascolta le tue stazioni radio preferite ovunque tu sia", - "start_url": "./?app=true", - "display": "standalone", - "background_color": "#2a377e", - "theme_color": "#2a377e", - "orientation": "portrait", - "icons": [ - { - "src": "img/icons/icon-72x72.png", - "sizes": "72x72", - "type": "image/png" - }, - { - "src": "img/icons/icon-96x96.png", - "sizes": "96x96", - "type": "image/png" - }, - { - "src": "img/icons/icon-128x128.png", - "sizes": "128x128", - "type": "image/png" - }, - { - "src": "img/icons/icon-144x144.png", - "sizes": "144x144", - "type": "image/png" - }, - { - "src": "img/icons/icon-152x152.png", - "sizes": "152x152", - "type": "image/png" - }, - { - "src": "img/icons/icon-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "img/icons/icon-384x384.png", - "sizes": "384x384", - "type": "image/png" - }, - { - "src": "img/icons/icon-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ] - } \ No newline at end of file +{ + "name": "RPIGroup Play", + "short_name": "RPIGroup Play", + "description": "Le radio e le web TV del gruppo RPIGroup in un'unica app, con i podcast da riascoltare quando vuoi", + "id": "./", + "start_url": "./?app=true", + "scope": "./", + "display": "standalone", + "display_override": ["standalone", "minimal-ui"], + "background_color": "#1c2555", + "theme_color": "#1c2555", + "orientation": "any", + "lang": "it", + "categories": ["music", "entertainment", "news"], + "icons": [ + { + "src": "img/icons/icon-72x72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "img/icons/icon-96x96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "img/icons/icon-128x128.png", + "sizes": "128x128", + "type": "image/png" + }, + { + "src": "img/icons/icon-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "img/icons/icon-152x152.png", + "sizes": "152x152", + "type": "image/png" + }, + { + "src": "img/icons/icon-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "img/icons/icon-384x384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "img/icons/icon-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] +} diff --git a/pages/app.php b/pages/app.php new file mode 100644 index 0000000..e026398 --- /dev/null +++ b/pages/app.php @@ -0,0 +1,164 @@ + + +
+ + + + + +
+ + RPIGroup Play + + +
+ + + + +
+ +
+ + + + + + + +
+ + + + + + diff --git a/pages/desktop.php b/pages/desktop.php deleted file mode 100644 index 80a8438..0000000 --- a/pages/desktop.php +++ /dev/null @@ -1,94 +0,0 @@ - - -
- - - -
- -
- Logo -

Un nuovo modo di ascoltare musica

-
- ' . htmlspecialchars($station->name) . ' su RPIGroup Play!'; - }else{ - echo 'Ascolta ora le tue radio preferite!'; - } - break; - default: - echo 'Ascolta le nostre emittenti con la nostra nuova app disegnata per smartphone (e non...)'; - } - ?> -
- ENTRA SU RPIGRPUP PLAY -
- -
- App powered by A.S.V. Studios APPS • Versione App: -
\ No newline at end of file diff --git a/pages/mobile.php b/pages/mobile.php deleted file mode 100644 index 4c56836..0000000 --- a/pages/mobile.php +++ /dev/null @@ -1,97 +0,0 @@ -\n"; -?> - -
-
- Logo -
- -
- -
- -
- - -
-
-
-

Caricamento...

-
-
- - - - - - - - \ No newline at end of file diff --git a/pages/page/404.php b/pages/page/404.php index 9c0df3d..2a8956e 100644 --- a/pages/page/404.php +++ b/pages/page/404.php @@ -1,12 +1,39 @@ - - -
-
- - arrow_back - - Pagina non trovata -
-
- -

La pagina che hai provato a cercare non esiste o non è disponibile.

\ No newline at end of file +
+ + +
+ + Segnale assente +

Frequenza non trovata

+

La pagina che cercavi non esiste o non è più disponibile. Nel frattempo la musica non si ferma: torna alla home o scegli una radio.

+ +
+
+ +
+
+
+
+ Forse cercavi +

Riprendi da qui

+
+
+
+ + + + + + + + +
+
+
diff --git a/pages/page/about.php b/pages/page/about.php index 658458c..36341f7 100644 --- a/pages/page/about.php +++ b/pages/page/about.php @@ -1,35 +1,36 @@ - - -
-
- - arrow_back - - Come funziona l'app -
-
- -
-

RPIGroup Play è l'applicazione che permette di ascoltare le radio e le webtv preferite in un unico luogo.

-

Per utilizzare l'applicazione, basta semplicemente entrare nell'applicazione dal link app.rpigroup.it, selezionare la sezione Radio o TV e scegliere la radio o la webtv che desideri ascoltare.

-
-

- Come installare l'app?
- Per installare l'applicazione, basta semplicemente entrare nell'applicazione dal link app.rpigroup.it e cliccare sull'icona "Aggiungi all'Home". Oppure, per gli utenti iOS, entrando da safari dal link app.rpigroup.it, cliccare sull'icona "Convididi", scendere alla voce "Aggiungi all'Home" e cliccare su "Aggiungi all'Home". -

-
-

-

F.A.Q.

-

- Posso scaricarla da Google Play Store e Apple App Store?
- Non è possibile al momento scaricare l'applicazione da Google Play Store e Apple App Store. -

-

- Posso utilizzare l'applicazione su un computer?
- Sì, dal tuo browser preferito, visita la pagina app.rpigroup.it. L'applicazione è anche installabile, cliccando sulla icona dedicata all'installazione della PWA. -

-

- Posso aggiungere la mia stazione radio preferita?
- Sì, cliccando sul pulsante "Aggiungi Radio" nella sezione Radio, potrai aggiungere la tua stazione radio preferita compilando il form dedicato. -

-
\ No newline at end of file + 'Guida', + 'title' => 'Come funziona l\'app', + 'subtitle' => 'Radio, web TV e podcast del gruppo RPIGroup in un unico posto, su telefono e computer.', +]); +?> + +
+
+
+
+

RPIGroup Play è l'applicazione che permette di ascoltare le radio e guardare le web TV del gruppo RPIGroup, e di riascoltare le puntate dei programmi nella sezione Podcast.

+

Per usarla basta aprire app.rpigroup.it, scegliere la sezione Radio, TV o Podcast e toccare l'emittente o la puntata che vuoi. La radio continua a suonare mentre navighi nell'app: il player resta in basso con il brano in onda.

+ +

Come installare l'app?

+

Su Android e su computer (Chrome, Edge) tocca il pulsante Installa l'app quando compare, oppure usa la voce "Installa applicazione" del menu del browser.

+

Su iPhone e iPad, apri app.rpigroup.it da Safari, tocca l'icona Condividi, scorri fino a Aggiungi alla schermata Home e conferma con Aggiungi.

+ +

Domande frequenti

+

Posso scaricarla da Google Play Store e Apple App Store?

+

Al momento l'app non è disponibile negli store: si installa direttamente dal browser come descritto sopra.

+ +

Posso usare l'applicazione su un computer?

+

Sì. Dal tuo browser preferito visita app.rpigroup.it: l'interfaccia si adatta allo schermo grande, con il menu laterale e il player in basso. L'app è anche installabile dal pulsante dedicato.

+ +

Perché la radio ha un pulsante "HLS / MP3"?

+

Le radio trasmettono in due formati. HLS si adatta alla qualità della connessione; se hai problemi di riproduzione prova a passare a MP3 toccando il pulsante nel player. La scelta viene ricordata.

+ +

Posso aggiungere la mia stazione radio preferita?

+

Le emittenti presenti sono quelle iscritte al gruppo RPIGroup. Per proposte e segnalazioni usa la pagina Contatti o il modulo di feedback nella home.

+
+
+
+
diff --git a/pages/page/changelog.php b/pages/page/changelog.php index d7bf78f..2685df2 100644 --- a/pages/page/changelog.php +++ b/pages/page/changelog.php @@ -1,42 +1,44 @@ - - -
-
- - arrow_back - - Changelog -
-
- -
- -

Codice dell'app visionabile su ASV Git

- -version)) { - // Itera attraverso le versioni - foreach($changelog->version as $version) { - echo "
"; - echo "

Versione " . htmlspecialchars((string)$version->number) . "

"; - - // Verifica che esistano i log prima di iterare - if (isset($version->logs) && isset($version->logs->log)) { - foreach($version->logs->log as $log_print) { - echo "

• " . htmlspecialchars((string)$log_print) . "

"; - } - } else { - echo "

Nessun dettaglio disponibile per questa versione.

"; - } - } -} else { - // Messaggio di errore se il changelog non è disponibile - echo "
"; - echo "
"; - echo "

Attenzione: Impossibile caricare il changelog. Il file potrebbe essere mancante o corrotto.

"; - echo "
"; -} -?> - -
\ No newline at end of file + 'Changelog', + 'title' => 'Novità versione dopo versione', + 'subtitle' => 'Il codice dell\'app è pubblico su ASV Git.', +]); +?> + +
+
+

+ + Codice dell'app visionabile su ASV Git +

+ + version)): ?> +
+ version as $i => $version): ?> +
+
+ Versione number) ?> + Attuale +
+ logs) && isset($version->logs->log)): ?> +
    + logs->log as $log): ?> +
  • + +
+ +

Nessun dettaglio disponibile per questa versione.

+ +
+ +
+ +
+ +

Impossibile caricare il changelog. Il file potrebbe essere mancante o danneggiato.

+
+ +
+
diff --git a/pages/page/contact.php b/pages/page/contact.php index c861589..27527ed 100644 --- a/pages/page/contact.php +++ b/pages/page/contact.php @@ -1,53 +1,20 @@ - - - - -
-
- - arrow_back - - Contatti -
-
- -
-

La pagina è in fase di realizzazione... Attendi il prossimo aggiornamento per leggere le nostre istruzioni d'uso!

-
\ No newline at end of file + 'Contatti', + 'title' => 'Scrivici', + 'subtitle' => 'Domande, suggerimenti o problemi con l\'app.', +]); +?> + +
+
+
+
+

La pagina è in fase di realizzazione: nel prossimo aggiornamento troverai qui i recapiti e le istruzioni per contattarci.

+

Nel frattempo puoi lasciarci un messaggio con il modulo di feedback.

+

Lascia un feedback

+
+
+
+
diff --git a/pages/page/copyright.php b/pages/page/copyright.php index 25fb29f..8478112 100644 --- a/pages/page/copyright.php +++ b/pages/page/copyright.php @@ -1,17 +1,21 @@ - - -
-
- - arrow_back - - Diritti D'Autore -
-
- -
-

RPIGroup è un player audio e video, che aggrega i flussi audio in streaming di emittenti iscritte all'interno del gruppo RPIGroup.

-

I flussi presenti all'interno della seguente app non provvengono direttamente da quest'ultima, ma dal sito web dell'emittente stessa.

-

L'applicazione funge come semplice ripetitore audio. Per tanto, i diritti musicali sono a carico dell'emittente presente nell'app, inserendo all'interno della pagina dedicata alle informazioni sulla trasmissione, i numeri licenze dei diritti d'autore e discografici dei brani trasmessi.

-

Pertanto, se si ritiene che una delle emittenti non ha le licenze per la diffusione dei brani, invitiamo al segnalante di inoltrare una mail ad abuse@asvhosting.com per la rimozione definitiva dell'emittente.

-
\ No newline at end of file + 'Informazioni', + 'title' => 'Diritti d\'autore', + 'subtitle' => 'Come funzionano le licenze dei contenuti trasmessi nell\'app.', +]); +?> + +
+
+
+
+

RPIGroup Play è un player audio e video che aggrega i flussi in streaming delle emittenti iscritte al gruppo RPIGroup.

+

I flussi presenti nell'app non provengono dall'app stessa, ma dal sito web dell'emittente che li trasmette.

+

L'applicazione funge da semplice ripetitore. I diritti musicali sono quindi a carico dell'emittente presente nell'app, che riporta nella propria pagina informativa i numeri di licenza dei diritti d'autore e discografici dei brani trasmessi.

+

Se ritieni che una delle emittenti non abbia le licenze per la diffusione dei brani, scrivi a abuse@asvhosting.com per chiederne la rimozione.

+
+
+
+
diff --git a/pages/page/home.php b/pages/page/home.php index b958bab..ea1f336 100644 --- a/pages/page/home.php +++ b/pages/page/home.php @@ -1,114 +1,163 @@ - +Benvenuto -

nella nuova RPIGroup Play

+$stations = loadRadioStations(); +$tv_stations = loadTVStations(); +$n_radio = count($stations); +$n_tv = count($tv_stations); +?> -
-
- -
- Radio -

Radio

-
-
+ +
+ -
- -
- tv -

TV

-
-
+
+ In diretta ora +

Un nuovo modo di ascoltare musica.

+

Benvenuto in RPIGroup Play: le radio e le web TV del gruppo RPIGroup in un'unica app, con i podcast da riascoltare quando vuoi.

-
+ + - - - - - - - - - \ No newline at end of file diff --git a/pages/page/player.php b/pages/page/player.php index 6ddff6f..3ab5a69 100644 --- a/pages/page/player.php +++ b/pages/page/player.php @@ -1,102 +1,44 @@ -id; - $station_name = (string)$station->name; - $station_slogan = (string)$station->slogan; - $station_logo = (string)$station->logo; - $station_stream = (string)$station->stream; - $station_streamhls = (string)$station->streamhls; - $station_contentplayer = (string)$station->contentplayer; - $station_apiradio = (string)$station->apiradio; - -?> - -
);position: absolute;left: calc(50%);display: flex;flex-direction: column;max-width: 750px;transform: translateX(-50%);width: 100%;"> - -
- - - -
- Logo -
- -
- - contentplayer == ""){ - ?> - -
- -

name; ?>

-

slogan; ?>

-
- - - - - - -
- - \ No newline at end of file +name; +$station_slogan = (string)$station->slogan; +$station_logo = (string)$station->logo; +$content_url = (string)$station->contentplayer; +?> + +
+ +
+ +
+ + +
+
+ + + + + +
+ +
+ + On air +

+

+
+
+ + +
diff --git a/pages/page/player_tv.php b/pages/page/player_tv.php index 4950f52..f25eeea 100644 --- a/pages/page/player_tv.php +++ b/pages/page/player_tv.php @@ -1,50 +1,47 @@ -Errore: Stazione TV non trovata.
'; - return; -} - -$station_id = (string)$station->id; -$station_name = (string)$station->name; -$station_logo = (string)$station->logo; -$station_stream = (string)$station->stream; -$station_poster = isset($station->poster) ? (string)$station->poster : ''; -?> - - -
);position: absolute;left: calc(50%);display: flex;flex-direction: column;max-width: 750px;transform: translateX(-50%);width: 100%;"> - - -
- - - -
- Logo -
- -
- - -
- -
- -
+name; +$station_logo = (string)$station->logo; +$station_stream = (string)$station->stream; +$station_poster = isset($station->poster) ? (string)$station->poster : ''; +?> + +
+ +
+ +
+ + Web TV in diretta +
+ Live +
+ +
+
+ + +
+ +
+ +
+ + La diretta video del canale. Mentre guardi la TV la radio si mette in pausa. +
+
+ +
+ +
diff --git a/pages/page/podcast.php b/pages/page/podcast.php index aa7b472..7e447b0 100644 --- a/pages/page/podcast.php +++ b/pages/page/podcast.php @@ -1,206 +1,138 @@ - "https://www.radiodiffusionelibera.com/podcast/feed/", 'source' => 'RDL'], - ['url' => "https://www.radiocitta105.it/podcast/feed/", 'source' => 'Radio Città 105'] -]; - -$all_items = []; -foreach ($feeds as $feed) { - // Caricamento feed con soppressione errori per non bloccare l'intera lista - $rss = @simplexml_load_file($feed['url']); - if ($rss && isset($rss->channel->item)) { - foreach ($rss->channel->item as $item) { - $all_items[] = [ - 'title' => (string)$item->title, - 'link' => (string)$item->link, - 'pubDate' => (string)$item->pubDate, - 'timestamp' => strtotime((string)$item->pubDate), - 'source' => $feed['source'] - ]; - } - } -} - -// Ordinamento cronologico decrescente (i più recenti in alto) -usort($all_items, function($a, $b) { - return $b['timestamp'] - $a['timestamp']; -}); - -function formatDateItalian($dateString) { - try { - $date = new DateTime($dateString); - $months = [ - 'January' => 'Gennaio', 'February' => 'Febbraio', 'March' => 'Marzo', - 'April' => 'Aprile', 'May' => 'Maggio', 'June' => 'Giugno', - 'July' => 'Luglio', 'August' => 'Agosto', 'September' => 'Settembre', - 'October' => 'Ottobre', 'November' => 'Novembre', 'December' => 'Dicembre' - ]; - $formatted = $date->format('j F Y'); - return strtr($formatted, $months); - } catch (Exception $e) { - return $dateString; - } -} -?> - - - -
-
- - arrow_back - - Podcast -
-
- -
-
- - -
- - -
-
- -
-
-
- calendar_today - -
-
- - -
- rss_feed -

Impossibile caricare i podcast al momento. Riprova più tardi.

-
- -
- - -
-
-
-
- arrow_back -
- Torna ai podcast -
-
- - -
- -
-
- - - + di ogni puntata è la pagina per l'app (contentrpigplay), +// che viene mostrata in un iframe. Le copertine arrivano da . +$feeds = [ + ['url' => "https://www.radiodiffusionelibera.com/podcast/feed/", 'source' => 'RDL', 'class' => 'source-rdl'], + ['url' => "https://www.radiocitta105.it/podcast/feed/", 'source' => 'Radio Città 105', 'class' => 'source-rc105'], +]; + +/** + * Scarica un feed con un tempo massimo di attesa (un sito lento non deve bloccare la pagina) e lo tiene in una + * cache su file per 5 minuti: la pagina Podcast si apre spesso e i feed cambiano di rado. + */ +function rpi_load_feed(string $url) +{ + $cache_file = sys_get_temp_dir() . '/rpigroupplay-feed-' . md5($url) . '.xml'; + $cache_ttl = 300; + + if (is_file($cache_file) && (time() - filemtime($cache_file)) < $cache_ttl) { + $xml = @simplexml_load_file($cache_file); + if ($xml !== false) return $xml; + } + + $ctx = stream_context_create(['http' => ['timeout' => 6, 'user_agent' => 'RPIGroupPlay/' . ($GLOBALS['version_app'] ?? '1.0')]]); + $raw = @file_get_contents($url, false, $ctx); + if ($raw === false || $raw === '') { + // Rete assente: si usa la copia vecchia, se c'è + return is_file($cache_file) ? @simplexml_load_file($cache_file) : false; + } + + $xml = @simplexml_load_string($raw); + if ($xml !== false) @file_put_contents($cache_file, $raw, LOCK_EX); + return $xml; +} + +$all_items = []; +foreach ($feeds as $feed) { + $rss = rpi_load_feed($feed['url']); + if ($rss && isset($rss->channel->item)) { + foreach ($rss->channel->item as $item) { + $itunes = $item->children('itunes', true); + $image = ''; + if (isset($itunes->image)) { + $image = (string)$itunes->image->attributes()->href; + } + $all_items[] = [ + 'title' => (string)$item->title, + 'link' => (string)$item->link, + 'pubDate' => (string)$item->pubDate, + 'timestamp' => strtotime((string)$item->pubDate) ?: 0, + 'program' => (string)$item->category, + 'image' => $image, + 'source' => $feed['source'], + 'class' => $feed['class'], + ]; + } + } +} + +// Dalla più recente +usort($all_items, function ($a, $b) { + return $b['timestamp'] - $a['timestamp']; +}); + +function rpi_date_it(int $timestamp): string +{ + static $months = ['', 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre']; + if ($timestamp <= 0) return ''; + return date('j', $timestamp) . ' ' . $months[(int)date('n', $timestamp)] . ' ' . date('Y', $timestamp); +} +?> + +
+ + +
+ 'Podcast', + 'title' => 'Riascolta le dirette', + 'subtitle' => 'Le puntate dei programmi delle radio del gruppo, dalla più recente.', + 'back' => ['page' => 'home', 'label' => 'Home'], + ]); ?> + +
+
+ +
+ $item): ?> + + +
+ +
+ +

Impossibile caricare i podcast al momento. Riprova più tardi.

+
+ +
+
+
+ + + + +
diff --git a/pages/page/policyprivacy.php b/pages/page/policyprivacy.php index 439ce91..c094f17 100644 --- a/pages/page/policyprivacy.php +++ b/pages/page/policyprivacy.php @@ -1,60 +1,64 @@ - - -
-
- - arrow_back - - Policy Privacy -
-
- -
-

Ultimo aggiornamento: 17/11/2025

-
-

Titolare del Trattamento
Il Titolare del trattamento dei dati personali è A.S.V. Studios APPS, con sede legale in Italia, contattabile all’indirizzo e-mail pp.app@rpigroup.net. Per ulteriori informazioni o per esercitare i diritti previsti dalla normativa sulla protezione dei dati personali, è possibile inviare una richiesta scritta all’indirizzo sopra indicato.

-

- Dati Raccolti
- Raccogliamo i seguenti dati personali, alcuni dei quali forniti volontariamente dall’Utente e altri raccolti automaticamente durante l’utilizzo dei moduli di contatto all'interno dell'Applicazione:
- • Dati di contatto (ad esempio: nome, indirizzo e-mail) – forniti direttamente dall’Utente al momento della scritta dei moduli di contatto -

-

- Finalità del Trattamento
- I dati personali sono trattati per le seguenti finalità:
- • Risposta alla e-mail tramite modulo di contatto
- Gli Utenti possono esercitare in qualsiasi momento i diritti previsti dalla normativa vigente sulla protezione dei dati personali, come l’accesso, la rettifica o la cancellazione dei propri dati. -

-

- Base Giuridica del Trattamento
- Il trattamento dei dati personali si basa su diverse basi giuridiche, che vengono applicate nella pratica come segue:
- • Esecuzione di un contratto: trattiamo i dati personali per fornire il servizio richiesto dall’utente, ad esempio offrire assistenza sull'uso dell'Applicativo o inserimento della propria emittente all'interno dell'Applicativo.
- • Rispetto delle leggi: trattiamo i dati quando siamo obbligati dalla legge, ad esempio per conservare alcune informazioni per finalità fiscali o per rispondere a richieste delle autorità. -

-

Modalità di Trattamento e Conservazione
I dati vengono archiviati tramite applicativi proprietari di posta elettronica. I dati sono conservati per il tempo strettamente necessario al raggiungimento delle finalità indicate, salvo diversi obblighi di legge.

-

- Comunicazione dei Dati a Terzi
- I dati personali non verranno diffusi, ma potranno essere comunicati a soggetti terzi specifici, quali:
- • Fornitori di servizi di Hosting, come aziende che gestiscono infrastrutture cloud, incaricate della manutenzione e gestione dei server;
- • Partner tecnologici, ad esempio fornitori di software, servizi informatici o piattaforme di pagamento, necessari per l’erogazione di particolari funzionalità;
- • Autorità giudiziarie o amministrative, in caso di richieste formali o obblighi di legge.
- La comunicazione dei dati ai soggetti terzi avverrà esclusivamente per le finalità indicate e nel rispetto delle misure di sicurezza previste dalla normativa vigente sulla protezione dei dati personali, garantendo così la tutela della privacy dell’utente. -

-

Trattamento dei dati Extra-UE
Secondo il Regolamento Generale sulla Protezione dei Dati (GDPR), il trattamento dei dati personali non può avvenire in paesi extra-UE senza adeguate garanzie. Il trattamento dei dati non può avvenire in paesi extra-UE, salvo il rispetto delle condizioni previste dalla normativa vigente (ad esempio, decisioni di adeguatezza o garanzie appropriate ai sensi del GDPR).

-

- Diritti dell’Utente
- In qualità di interessato, l’Utente gode dei seguenti diritti, in conformità con il GDPR:
- • Diritto di accesso: puoi richiedere conferma che i tuoi dati siano trattati e riceverne una copia (ad esempio, inviando una e-mail per sapere quali dati personali sono stati raccolti e utilizzati).
- • Diritto di rettifica: hai la possibilità di correggere dati personali inesatti o aggiornare informazioni non più attuali (per esempio, chiedendo la modifica dell’indirizzo e-mail se è cambiato).
- • Diritto alla cancellazione (diritto all’oblio): puoi ottenere la cancellazione dei tuoi dati personali (ad esempio, domandando la rimozione del tuo profilo dal servizio).
- • Diritto di limitazione: puoi richiedere che il trattamento dei tuoi dati sia limitato in determinate circostanze (ad esempio, se hai contestato l’esattezza dei dati e vuoi che vengano sospesi fino alla verifica).
- • Diritto di opposizione: puoi opporti al trattamento dei tuoi dati per finalità di marketing (per esempio, chiedendo di non ricevere più comunicazioni promozionali).
- • Diritto di reclamo: puoi presentare un reclamo all’Autorità Garante per la Protezione dei Dati Personali se ritieni che i tuoi diritti non siano stati rispettati (ad esempio, compilando l’apposito modulo sul sito del Garante). -

-

- Contatti
- Per esercitare i diritti sopra elencati o per qualsiasi domanda, è possibile contattare il Titolare del trattamento tramite i seguenti canali:
- • E-mail: pp.app@rpigroup.net
- Si prega di indicare nell’oggetto dell’e-mail il diritto che si intende esercitare e di fornire i propri dati identificativi per facilitare la gestione della richiesta. -

-

Modifiche a questa Informativa
La presente informativa può essere soggetta a modifiche e aggiornamenti. La versione più recente sarà sempre disponibile all’interno del Servizio. Gli utenti saranno informati delle modifiche rilevanti tramite una notifica all’interno del Servizio, così da garantire massima trasparenza e permettere a tutti di essere sempre aggiornati.

-
\ No newline at end of file + 'Informativa', + 'title' => 'Policy Privacy', + 'subtitle' => "Come trattiamo i dati personali di chi usa l'app.", +]); +?> + +
+
+
+
+

Ultimo aggiornamento: 17/11/2025

+
+

Titolare del Trattamento
Il Titolare del trattamento dei dati personali è A.S.V. Studios APPS, con sede legale in Italia, contattabile all’indirizzo e-mail pp.app@rpigroup.net. Per ulteriori informazioni o per esercitare i diritti previsti dalla normativa sulla protezione dei dati personali, è possibile inviare una richiesta scritta all’indirizzo sopra indicato.

+

+ Dati Raccolti
+ Raccogliamo i seguenti dati personali, alcuni dei quali forniti volontariamente dall’Utente e altri raccolti automaticamente durante l’utilizzo dei moduli di contatto all'interno dell'Applicazione:
+ • Dati di contatto (ad esempio: nome, indirizzo e-mail) – forniti direttamente dall’Utente al momento della scritta dei moduli di contatto +

+

+ Finalità del Trattamento
+ I dati personali sono trattati per le seguenti finalità:
+ • Risposta alla e-mail tramite modulo di contatto
+ Gli Utenti possono esercitare in qualsiasi momento i diritti previsti dalla normativa vigente sulla protezione dei dati personali, come l’accesso, la rettifica o la cancellazione dei propri dati. +

+

+ Base Giuridica del Trattamento
+ Il trattamento dei dati personali si basa su diverse basi giuridiche, che vengono applicate nella pratica come segue:
+ • Esecuzione di un contratto: trattiamo i dati personali per fornire il servizio richiesto dall’utente, ad esempio offrire assistenza sull'uso dell'Applicativo o inserimento della propria emittente all'interno dell'Applicativo.
+ • Rispetto delle leggi: trattiamo i dati quando siamo obbligati dalla legge, ad esempio per conservare alcune informazioni per finalità fiscali o per rispondere a richieste delle autorità. +

+

Modalità di Trattamento e Conservazione
I dati vengono archiviati tramite applicativi proprietari di posta elettronica. I dati sono conservati per il tempo strettamente necessario al raggiungimento delle finalità indicate, salvo diversi obblighi di legge.

+

+ Comunicazione dei Dati a Terzi
+ I dati personali non verranno diffusi, ma potranno essere comunicati a soggetti terzi specifici, quali:
+ • Fornitori di servizi di Hosting, come aziende che gestiscono infrastrutture cloud, incaricate della manutenzione e gestione dei server;
+ • Partner tecnologici, ad esempio fornitori di software, servizi informatici o piattaforme di pagamento, necessari per l’erogazione di particolari funzionalità;
+ • Autorità giudiziarie o amministrative, in caso di richieste formali o obblighi di legge.
+ La comunicazione dei dati ai soggetti terzi avverrà esclusivamente per le finalità indicate e nel rispetto delle misure di sicurezza previste dalla normativa vigente sulla protezione dei dati personali, garantendo così la tutela della privacy dell’utente. +

+

Trattamento dei dati Extra-UE
Secondo il Regolamento Generale sulla Protezione dei Dati (GDPR), il trattamento dei dati personali non può avvenire in paesi extra-UE senza adeguate garanzie. Il trattamento dei dati non può avvenire in paesi extra-UE, salvo il rispetto delle condizioni previste dalla normativa vigente (ad esempio, decisioni di adeguatezza o garanzie appropriate ai sensi del GDPR).

+

+ Diritti dell’Utente
+ In qualità di interessato, l’Utente gode dei seguenti diritti, in conformità con il GDPR:
+ • Diritto di accesso: puoi richiedere conferma che i tuoi dati siano trattati e riceverne una copia (ad esempio, inviando una e-mail per sapere quali dati personali sono stati raccolti e utilizzati).
+ • Diritto di rettifica: hai la possibilità di correggere dati personali inesatti o aggiornare informazioni non più attuali (per esempio, chiedendo la modifica dell’indirizzo e-mail se è cambiato).
+ • Diritto alla cancellazione (diritto all’oblio): puoi ottenere la cancellazione dei tuoi dati personali (ad esempio, domandando la rimozione del tuo profilo dal servizio).
+ • Diritto di limitazione: puoi richiedere che il trattamento dei tuoi dati sia limitato in determinate circostanze (ad esempio, se hai contestato l’esattezza dei dati e vuoi che vengano sospesi fino alla verifica).
+ • Diritto di opposizione: puoi opporti al trattamento dei tuoi dati per finalità di marketing (per esempio, chiedendo di non ricevere più comunicazioni promozionali).
+ • Diritto di reclamo: puoi presentare un reclamo all’Autorità Garante per la Protezione dei Dati Personali se ritieni che i tuoi diritti non siano stati rispettati (ad esempio, compilando l’apposito modulo sul sito del Garante). +

+

+ Contatti
+ Per esercitare i diritti sopra elencati o per qualsiasi domanda, è possibile contattare il Titolare del trattamento tramite i seguenti canali:
+ • E-mail: pp.app@rpigroup.net
+ Si prega di indicare nell’oggetto dell’e-mail il diritto che si intende esercitare e di fornire i propri dati identificativi per facilitare la gestione della richiesta. +

+

Modifiche a questa Informativa
La presente informativa può essere soggetta a modifiche e aggiornamenti. La versione più recente sarà sempre disponibile all’interno del Servizio. Gli utenti saranno informati delle modifiche rilevanti tramite una notifica all’interno del Servizio, così da garantire massima trasparenza e permettere a tutti di essere sempre aggiornati.

+
+
+
+
diff --git a/pages/page/radio.php b/pages/page/radio.php index eb8b418..592d176 100644 --- a/pages/page/radio.php +++ b/pages/page/radio.php @@ -1,29 +1,38 @@ - - - - -
-
- - arrow_back - - Radio -
-
- -
-
- -
-
" data-id="id; ?>"> - - - -
-
- -
-
\ No newline at end of file + 'Radio', + 'title' => 'Le radio del gruppo', + 'subtitle' => 'Scegli l\'emittente: la diretta parte subito e continua mentre navighi nell\'app.', + 'back' => ['page' => 'home', 'label' => 'Home'], +]); +?> + +
+
+ 0): ?> + + +
+ +

Nessuna radio disponibile al momento.

+
+ +
+
diff --git a/pages/page/terminicondizioni.php b/pages/page/terminicondizioni.php index 67015f8..59688e5 100644 --- a/pages/page/terminicondizioni.php +++ b/pages/page/terminicondizioni.php @@ -1,37 +1,41 @@ - - -
-
- - arrow_back - - Termini e Condizioni -
-
- -
-

Ultimo aggiornamento: 17/11/2025

-
-

Introduzione
RPIGroup Play vi dà il benvenuto. I presenti Termini e Condizioni (di seguito “T&C”) regolamentano l’accesso e l’uso dell’applicazione “RPIGroup Play” (di seguito “Portale”, “Servizio”, “Applicazione” e “Sito”) e tutti i servizi correlati. Accedendo e utilizzando il Portale, l’utente (di seguito “Utente”) accetta i presenti T&C al primo accesso, condizione necessaria per poter utilizzare il Servizio. L’utente potrà in qualsiasi momento declinare i seguenti T&C, sapendo che non potrà più accedere all’Applicazione offerta.

-

Titolarità e Gestione
RPIGroup Play è fornito da A.S.V. Studios APPS (di seguito “Gestore”, anche indicato come “Proprietario” e “Sviluppatore”), unico titolare del presente Servizio.

-

Descrizione del Servizio
L’Applicazione consente di ascoltare in streaming le emittenti iscritte all'interno del gruppo RPIGroup, sia in formato audio e video (ove previsto).

-

Account e Registrazione
Per utilizzare il Servizio, l'utente non deve effettuare nessun tipo di registrazione o accesso.

- -

Proprietà Intellettuale
Tutti i diritti di proprietà intellettuale relativi al Servizio, compresi design, marchi, loghi e contenuti scaricabili, sono di proprietà esclusiva del Gestore, dell'Associazione Culturale Comunicare e di tutte le emittenti iscritte all'interno del portale.

-

Contenuti Generati Dall’Utente
Il servizio non consente agli utenti di creare e caricare contenuti

-

Prezzi e Pagamenti
L'Applicazione è disponibile gratuitamente per tutti gli utilizzatori, ed è disponibile in formato gratuito per computer e smartphone.

-

Limitazioni di Responsabilità
Il Gestore non sarà responsabile per alcun danno, inclusi ma non limitati a danni diretti, indiretti, incidentali, speciali, consequenziali o punitivi, quali perdita di dati, perdita di profitti, interruzione dell’attività, danni reputazionali o altri danni economici, derivanti dall’utilizzo del Servizio o dall’impossibilità di utilizzarlo, sia che tali danni si verifichino durante il normale utilizzo, sia in seguito a malfunzionamenti, errori, sospensioni, interruzioni, cancellazioni, o altre circostanze connesse al Servizio. Questa esclusione di responsabilità si applica indipendentemente dal fatto che i danni siano prevedibili o che il Gestore sia stato informato della possibilità di tali danni. L’Applicazione è fornita “così com’è” e senza garanzie di alcun tipo, esplicite o implicite.

-

Modifiche e Interruzioni del Servizio
Il Gestore si riserva il diritto di modificare, sospendere o interrompere il Servizio in qualsiasi momento, con o senza preavviso, qualora si renda necessario effettuare interventi di manutenzione, aggiornamenti tecnici, o per garantire la sicurezza del sistema e degli utenti. In caso di interruzione definitiva del Servizio, gli utenti saranno informati tramite comunicazione via e-mail e avranno la possibilità di richiedere un rimborso proporzionale ai servizi già pagati ma non usufruiti. Eventuali alternative o modalità di accesso ai dati saranno comunicate contestualmente all’avviso di interruzione.

- -

Leggi Applicabile e Foro di Competente
Questi Termini e Condizioni sono regolati dalla legge italiana. In caso di controversie riguardanti l’interpretazione o l’applicazione dei Termini e Condizioni, la competenza sarà attribuita esclusivamente al Tribunale di Milano, salvo diversa indicazione prevista dalla legge per l’Utente, come nei casi in cui la normativa vigente, ad esempio il Codice del Consumo, preveda il foro di residenza o domicilio del consumatore.

-

Accettazione dei Termini e Condizioni
L'Utente accetta automaticamente i seguenti termini e condizioni tramite l'accesso all'interno dell'Applicazione.

-
\ No newline at end of file + 'Informativa', + 'title' => 'Termini e Condizioni', + 'subtitle' => "Le regole d'uso di RPIGroup Play.", +]); +?> + +
+
+
+
+

Ultimo aggiornamento: 17/11/2025

+
+

Introduzione
RPIGroup Play vi dà il benvenuto. I presenti Termini e Condizioni (di seguito “T&C”) regolamentano l’accesso e l’uso dell’applicazione “RPIGroup Play” (di seguito “Portale”, “Servizio”, “Applicazione” e “Sito”) e tutti i servizi correlati. Accedendo e utilizzando il Portale, l’utente (di seguito “Utente”) accetta i presenti T&C al primo accesso, condizione necessaria per poter utilizzare il Servizio. L’utente potrà in qualsiasi momento declinare i seguenti T&C, sapendo che non potrà più accedere all’Applicazione offerta.

+

Titolarità e Gestione
RPIGroup Play è fornito da A.S.V. Studios APPS (di seguito “Gestore”, anche indicato come “Proprietario” e “Sviluppatore”), unico titolare del presente Servizio.

+

Descrizione del Servizio
L’Applicazione consente di ascoltare in streaming le emittenti iscritte all'interno del gruppo RPIGroup, sia in formato audio e video (ove previsto).

+

Account e Registrazione
Per utilizzare il Servizio, l'utente non deve effettuare nessun tipo di registrazione o accesso.

+ +

Proprietà Intellettuale
Tutti i diritti di proprietà intellettuale relativi al Servizio, compresi design, marchi, loghi e contenuti scaricabili, sono di proprietà esclusiva del Gestore, dell'Associazione Culturale Comunicare e di tutte le emittenti iscritte all'interno del portale.

+

Contenuti Generati Dall’Utente
Il servizio non consente agli utenti di creare e caricare contenuti

+

Prezzi e Pagamenti
L'Applicazione è disponibile gratuitamente per tutti gli utilizzatori, ed è disponibile in formato gratuito per computer e smartphone.

+

Limitazioni di Responsabilità
Il Gestore non sarà responsabile per alcun danno, inclusi ma non limitati a danni diretti, indiretti, incidentali, speciali, consequenziali o punitivi, quali perdita di dati, perdita di profitti, interruzione dell’attività, danni reputazionali o altri danni economici, derivanti dall’utilizzo del Servizio o dall’impossibilità di utilizzarlo, sia che tali danni si verifichino durante il normale utilizzo, sia in seguito a malfunzionamenti, errori, sospensioni, interruzioni, cancellazioni, o altre circostanze connesse al Servizio. Questa esclusione di responsabilità si applica indipendentemente dal fatto che i danni siano prevedibili o che il Gestore sia stato informato della possibilità di tali danni. L’Applicazione è fornita “così com’è” e senza garanzie di alcun tipo, esplicite o implicite.

+

Modifiche e Interruzioni del Servizio
Il Gestore si riserva il diritto di modificare, sospendere o interrompere il Servizio in qualsiasi momento, con o senza preavviso, qualora si renda necessario effettuare interventi di manutenzione, aggiornamenti tecnici, o per garantire la sicurezza del sistema e degli utenti. In caso di interruzione definitiva del Servizio, gli utenti saranno informati tramite comunicazione via e-mail e avranno la possibilità di richiedere un rimborso proporzionale ai servizi già pagati ma non usufruiti. Eventuali alternative o modalità di accesso ai dati saranno comunicate contestualmente all’avviso di interruzione.

+ +

Leggi Applicabile e Foro di Competente
Questi Termini e Condizioni sono regolati dalla legge italiana. In caso di controversie riguardanti l’interpretazione o l’applicazione dei Termini e Condizioni, la competenza sarà attribuita esclusivamente al Tribunale di Milano, salvo diversa indicazione prevista dalla legge per l’Utente, come nei casi in cui la normativa vigente, ad esempio il Codice del Consumo, preveda il foro di residenza o domicilio del consumatore.

+

Accettazione dei Termini e Condizioni
L'Utente accetta automaticamente i seguenti termini e condizioni tramite l'accesso all'interno dell'Applicazione.

+
+
+
+
diff --git a/pages/page/tv.php b/pages/page/tv.php index cd70f06..bc2fd30 100644 --- a/pages/page/tv.php +++ b/pages/page/tv.php @@ -1,29 +1,38 @@ - - - - -
- -
- -
-
- -
-
" data-id="id; ?>"> - - - -
-
- -
-
\ No newline at end of file + 'Web TV', + 'title' => 'I canali del gruppo', + 'subtitle' => 'Le dirette video delle emittenti RPIGroup.', + 'back' => ['page' => 'home', 'label' => 'Home'], +]); +?> + +
+
+ 0): ?> + + +
+ +

Nessun canale TV disponibile al momento.

+
+ +
+
diff --git a/readme.md b/readme.md index 575ccec..956a40a 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,33 @@ # RPIGroup Play -Il player ufficiale del gruppo RPIGroup +Il player ufficiale del gruppo RPIGroup: radio, web TV e podcast in un'unica web app, su telefono e computer. --- -Questa repository è connessa al dominio APP.RPIGROUP.IT, ed è modificabile solo dagli utenti autorizzati \ No newline at end of file +Questa repository è connessa al dominio APP.RPIGROUP.IT, ed è modificabile solo dagli utenti autorizzati + +## Com'è fatta + +- `index.php` carica la configurazione, il `` e il guscio dell'app (`pages/app.php`): sidebar da 900px in su, + topbar e tab bar su telefono, dock del player in basso. +- Le pagine stanno in `pages/page/*.php`. Al primo accesso vengono incluse nel guscio; poi `js/app.js` le carica via + AJAX (`index.php/` con l'intestazione `X-Requested-With`) senza ricaricare l'app, così la radio continua. +- `config/ui.inc.php` ha i pezzi di interfaccia condivisi: icone SVG inline (`rpi_icon`), intestazione delle pagine + (`rpi_page_header`), motivo grafico, link. +- `css/style.css` è il sistema di design, preso dal tema RPIGroup Radio Theme dei siti del gruppo: i due colori del + marchio (`--brand`, `--accent`) generano la palette con `color-mix()`; caratteri Bricolage Grotesque e Plus Jakarta + Sans ospitati in `css/fonts`. +- Radio e TV sono in `data/radio.xml` e `data/tv.xml`; la versione dell'app è la prima voce di `data/changelog.xml` + (serve anche a svuotare la cache di CSS e JS). +- `js/app.js`: router, player della radio (hls.js o HLS nativo con riserva MP3/AAC, brano in onda, Media Session), + TV, podcast (puntata in iframe), avviso offline. `js/pwa-install.js`: service worker e invito a installare l'app. + +## Sviluppo in locale + +Con PHP 8 e un router che imiti `.htaccess` (tutto a `index.php`, statici serviti così come sono): + +```sh +php -S 127.0.0.1:8089 -t . router.php +``` + +Le pagine `contentrpigplay` delle radio accettano di essere incorporate solo da `rpigroup.net` e `rpigroup.it`: +in locale l'iframe resta vuoto, è normale. diff --git a/static/footer.php b/static/footer.php index c5c1a99..e9b0212 100644 --- a/static/footer.php +++ b/static/footer.php @@ -1,5 +1,4 @@ - - - - - + + + + diff --git a/static/head.php b/static/head.php index 09d700f..46ad42e 100644 --- a/static/head.php +++ b/static/head.php @@ -1,73 +1,50 @@ - - - - - - - - <?php echo $title_site; ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + <?php echo $title_site; ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sw.js b/sw.js index a5c3a9f..e006ea4 100644 --- a/sw.js +++ b/sw.js @@ -1,23 +1,28 @@ -const CACHE_NAME = 'rpigroupplay-v4'; +const CACHE_NAME = 'rpigroupplay-v5'; const ASSETS = [ './', './index.php', './manifest.json', './css/style.css', - './css/bootstrap.css', - './css/animation.css', + './css/fonts/plus-jakarta-sans-latin-wght-normal.woff2', + './css/fonts/bricolage-grotesque-latin-wght-normal.woff2', './js/app.js', - './js/bootstrap.js', + './js/pwa-install.js', './img/RpiGroupPlayWHITE.png', - './img/logoapp.png' + './img/logoapp.png', + './img/icons/icon-192x192.png', + './img/icons/icon-512x512.png' ]; +// File statici dell'app: la versione nella query (?v=...) serve solo a svuotare la cache del browser, +// per il service worker è lo stesso file +const STATIC_RE = /\.(css|js|png|jpe?g|svg|webp|ico|json|woff2?|ttf)$/i; + // Install Event self.addEventListener('install', (e) => { e.waitUntil( caches.open(CACHE_NAME) .then((cache) => { - console.log('[Service Worker] Caching static shell'); return cache.addAll(ASSETS).catch(err => { console.warn('[Service Worker] Asset caching warning:', err); }); @@ -33,7 +38,6 @@ self.addEventListener('activate', (e) => { return Promise.all( keys.map((key) => { if (key !== CACHE_NAME) { - console.log('[Service Worker] Removing old cache', key); return caches.delete(key); } }) @@ -51,7 +55,7 @@ self.addEventListener('fetch', (e) => { return; } - // Bypass streaming content, APIs, and external domains (like radio/tv streams) + // Bypass streaming content, APIs, and external domains (like radio/tv streams, fonts, hls.js) if ( url.includes('stream') || url.includes('.mp3') || @@ -60,6 +64,7 @@ self.addEventListener('fetch', (e) => { url.includes('.ts') || url.includes('icecast') || url.includes('shoutcast') || + url.includes('nowplaying') || url.includes('radiocitta105') || url.includes('radiodiffusionelibera') || !url.startsWith(self.location.origin) @@ -67,8 +72,11 @@ self.addEventListener('fetch', (e) => { return; // Let the browser handle standard streaming/external fetch requests directly } + const isStatic = STATIC_RE.test(new URL(url).pathname); + const matchOptions = isStatic ? { ignoreSearch: true } : undefined; + e.respondWith( - caches.match(e.request).then((cachedResponse) => { + caches.match(e.request, matchOptions).then((cachedResponse) => { if (cachedResponse) { // Return cached resource immediately and fetch fresh copy in background (Stale-While-Revalidate) fetch(e.request).then((networkResponse) => {