Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
180a0f29eb | ||
|
|
2a56aa7714 | ||
|
|
02eca555d8 | ||
|
|
e69cb4ea50 | ||
|
|
13441c6dba | ||
|
|
bebbbd0a9e | ||
|
|
d68e5f0f3f | ||
|
|
a11edc75d7 | ||
|
|
e7f16e1a42 | ||
|
|
dc1897cc62 | ||
|
|
e7f348d95e |
No files matched your search
+2
-3
@@ -28,9 +28,8 @@ htmlcov/
|
||||
database/
|
||||
media/
|
||||
|
||||
# Локальная сборка фронтенда пока не нужна в Docker-контексте.
|
||||
# Если позже соберём frontend внутри Docker, это правило можно пересмотреть.
|
||||
frontend-assembly/
|
||||
# Локальные node_modules не тащим в Docker-контекст, но исходники frontend-assembly нужны для frontend-builder
|
||||
**/node_modules/
|
||||
|
||||
# Загруженные медиа-файлы монтируются отдельно и не должны раздувать контекст.
|
||||
public/media/
|
||||
|
||||
+20
-1
@@ -1,5 +1,21 @@
|
||||
# =================================================
|
||||
# STAGE 1: Builder - Установка зависимостей
|
||||
# STAGE 0: Frontend Builder - Компиляция Tailwind CSS v4
|
||||
# =================================================
|
||||
FROM node:22-slim AS frontend-builder
|
||||
WORKDIR /app
|
||||
|
||||
# Копируем конфиги npm и исходники шаблонов для сборки
|
||||
COPY frontend-assembly/tailwind/package*.json ./frontend-assembly/tailwind/
|
||||
COPY scripts/build-tailwind.sh ./scripts/
|
||||
COPY frontend-assembly ./frontend-assembly
|
||||
COPY hypn0 ./hypn0
|
||||
|
||||
# Собираем актуальный public/static/css/tailwind.min.css
|
||||
RUN bash ./scripts/build-tailwind.sh
|
||||
|
||||
|
||||
# =================================================
|
||||
# STAGE 1: Builder - Установка зависимостей Python
|
||||
# =================================================
|
||||
FROM python:3.14-slim AS builder
|
||||
|
||||
@@ -57,6 +73,9 @@ COPY --from=builder /usr/local/lib/python3.14/site-packages /usr/local/lib/pytho
|
||||
# ИЗМЕНЕНИЕ: app:app -> 1000:1000
|
||||
COPY --chown=1000:1000 . .
|
||||
|
||||
# Подставляем свежесобранный Tailwind CSS из frontend-builder стадии
|
||||
COPY --from=frontend-builder --chown=1000:1000 /app/public/static/css/tailwind.min.css /home/app/web/public/static/css/tailwind.min.css
|
||||
|
||||
# 1. Создаём директорию для конфигов nginx и даём права пользователю app
|
||||
# Это выполняется ещё от root, поэтому проблем с permissions не будет.
|
||||
# 2. Создаём директорию для собранной статики и даём права пользователю app.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
*/30 * * * * docker compose -f /home/web/web-data/hypn0-site/docker-compose.yml exec -T web python manage.py rescore >> /var/log/hypn0-rescore.log 2>&1
|
||||
@@ -18,7 +18,11 @@
|
||||
# /home/user/app/hypn0-site/
|
||||
# ├── docker-compose.yml
|
||||
# ├── .env
|
||||
# ├── media/ <-- Сюда Nginx смотрит напрямую (Docker volume)
|
||||
# ├── database/
|
||||
# ├── public/ <-- Единая точка раздачи статики и медиа (Docker volume)
|
||||
# │ ├── media/
|
||||
# │ ├── static/
|
||||
# │ └── ...
|
||||
# └── ...
|
||||
|
||||
# 1. Описываем, где живет наш Django в Docker
|
||||
@@ -77,30 +81,40 @@ server {
|
||||
# ВАЖНО: Убедитесь, что пользователь nginx (www-data) имеет права на чтение этой папки!
|
||||
# ТРЕБУЕТСЯ ЗАМЕНА ПРИ ДЕПЛОЕ: /home/user/app/hypn0-site -> ваш реальный путь
|
||||
location /media/ {
|
||||
alias /home/user/app/hypn0-site/media/;
|
||||
alias /home/user/app/hypn0-site/public/media/;
|
||||
expires 30d; # Кешируем картинки на месяц
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
# --- СТАТИКА И ФРОНТЕНД ---
|
||||
# Сначала проверяем собранную статику (включая хешированные файлы WhiteNoise),
|
||||
# затем исходную статику на хосте, если нет — отправляем в @django (WhiteNoise).
|
||||
location /static/ {
|
||||
root /home/user/app/hypn0-site/public/staticfiles;
|
||||
try_files $uri /public/static$uri @django;
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
# --- СТРАНИЦЫ ОШИБОК (Custom Error Pages) ---
|
||||
# Если Django упал (502) или сработал тайм-аут (504), Nginx должен отдать статический HTML.
|
||||
# Эти файлы должны лежать в папке, доступной Nginx (например, в `media/_error`).
|
||||
# Эти файлы должны лежать в папке, доступной Nginx (например, в `public/media/_error`).
|
||||
#
|
||||
# ВАЖНО:
|
||||
# 1. Файлы 50x.html (500, 502, 503, 504) копируются в `media/_error` при старте контейнера (см. docker-compose.prod-test.yml -> command).
|
||||
# 1. Файлы 50x.html (500, 502, 503, 504) копируются в `public/media/_error` при старте контейнера.
|
||||
# 2. error_page директива перехватывает ошибки от апстрима (Gunicorn).
|
||||
error_page 500 /500.html;
|
||||
error_page 502 /502.html;
|
||||
error_page 503 /503.html;
|
||||
error_page 504 /504.html;
|
||||
|
||||
location = /500.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /502.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /503.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /504.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /500.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /502.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /503.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /504.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
|
||||
# 404 (и другие) тоже нужно кастомизировать... обычно Django сам отдает 404.
|
||||
# Но, например, Nginx отдаст 404 при ошике доступа к media-файлам (они храняться на хосте, а не в контейнере)
|
||||
# Но, например, Nginx отдаст 404 при ошибке доступа к media-файлам
|
||||
error_page 400 /400.html;
|
||||
error_page 401 /401.html;
|
||||
error_page 403 /403.html;
|
||||
@@ -108,21 +122,26 @@ server {
|
||||
error_page 413 /413.html;
|
||||
error_page 429 /429.html;
|
||||
|
||||
location = /400.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /401.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /403.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /404.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /413.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /429.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /400.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /401.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /403.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /404.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /413.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
location = /429.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
|
||||
# Указываем единую страницу (на реконструкции) для всех прочих ошибок
|
||||
error_page 405 406 407 408 409 410 411 412 414 415 416 417 418 421 422 423 424 425 426 428 431 451 /under_reconstruction.html;
|
||||
location = /under_reconstruction.html { root /home/user/app/hypn0-site/media/_error; internal; }
|
||||
location = /under_reconstruction.html { root /home/user/app/hypn0-site/public/media/_error; internal; }
|
||||
|
||||
# --- ВСЁ ОСТАЛЬНОЕ (Django + WhiteNoise) ---
|
||||
# Статика (/static/), robots.txt, favicon.ico и сам сайт обрабатываются внутри контейнера.
|
||||
# Nginx просто прокидывает запрос внутрь.
|
||||
# --- ВСЁ ОСТАЛЬНОЕ (Файлы в корне public + Django) ---
|
||||
# Сначала ищем физический файл в public/ на хосте (robots.txt, favicon.ico, llms.txt и др.),
|
||||
# если нет — отправляем в @django.
|
||||
location / {
|
||||
root /home/user/app/hypn0-site/public;
|
||||
try_files $uri @django;
|
||||
}
|
||||
|
||||
location @django {
|
||||
proxy_pass http://hypn0-django;
|
||||
|
||||
# Передаем правильные заголовки, чтобы Django знал реальный IP и протокол
|
||||
|
||||
@@ -58,6 +58,11 @@ services:
|
||||
sh -c "python manage.py migrate --noinput &&
|
||||
python manage.py collectstatic --noinput --clear &&
|
||||
python manage.py rehash &&
|
||||
mkdir -p /host_public/static &&
|
||||
cp -u -r /home/app/web/public/static/. /host_public/static/ &&
|
||||
mkdir -p /host_public/staticfiles &&
|
||||
cp -u -r /home/app/web/public/staticfiles/. /host_public/staticfiles/ &&
|
||||
find /home/app/web/public -maxdepth 1 -type f -exec cp -u {} /host_public/ ';' &&
|
||||
mkdir -p /nginx_configs_host/nginx &&
|
||||
sed \"s|/home/user/app/hypn0-site|${HOST_PROJECT_PATH:-/home/default_user/projects/hypn0-site}|g\" /home/app/web/config/nginx/hypn0-app--external-nginx.conf > /nginx_configs_host/nginx/nginx_hypn0.conf.example &&
|
||||
if [ ! -f /nginx_configs_host/nginx/hypn0-app--external-nginx.conf ]; then
|
||||
@@ -96,8 +101,11 @@ services:
|
||||
# Путь в контейнере: /home/app/web/database (так как Django ищет базу в BASE_DIR.parent/database)
|
||||
- ./database:/home/app/web/database
|
||||
|
||||
# Медиа, служебные error-pages и их ассеты лежат в папке `media` на хосте.
|
||||
- ./media:/home/app/web/public/media
|
||||
# Медиа, служебные error-pages и их ассеты лежат в папке `public/media` на хосте.
|
||||
- ./public/media:/home/app/web/public/media
|
||||
|
||||
# Экспорт статики на хост (для прямой раздачи через Nginx)
|
||||
- ./public:/host_public
|
||||
|
||||
# Конфиги (Монтируем папку ./config с хоста в /nginx_configs_host внутри контейнера)
|
||||
# Это нужно, чтобы скрипт запуска мог положить туда .example конфиг и прочитать боевой конфиг.
|
||||
|
||||
+10
-2
@@ -58,6 +58,11 @@ services:
|
||||
sh -c "python manage.py migrate --noinput &&
|
||||
python manage.py collectstatic --noinput --clear &&
|
||||
python manage.py rehash &&
|
||||
mkdir -p /host_public/static &&
|
||||
cp -u -r /home/app/web/public/static/. /host_public/static/ &&
|
||||
mkdir -p /host_public/staticfiles &&
|
||||
cp -u -r /home/app/web/public/staticfiles/. /host_public/staticfiles/ &&
|
||||
find /home/app/web/public -maxdepth 1 -type f -exec cp -u {} /host_public/ ';' &&
|
||||
mkdir -p /nginx_configs_host/nginx &&
|
||||
sed \"s|/home/user/app/hypn0-site|${HOST_PROJECT_PATH:-/home/default_user/projects/hypn0-site}|g\" /home/app/web/config/nginx/hypn0-app--external-nginx.conf > /nginx_configs_host/nginx/nginx_hypn0.conf.example &&
|
||||
if [ ! -f /nginx_configs_host/nginx/hypn0-app--external-nginx.conf ]; then
|
||||
@@ -96,8 +101,11 @@ services:
|
||||
# Путь в контейнере: /home/app/web/database (так как Django ищет базу в BASE_DIR.parent/database)
|
||||
- ./database:/home/app/web/database
|
||||
|
||||
# Медиа, служебные error-pages и их ассеты лежат в папке `media` на хосте.
|
||||
- ./media:/home/app/web/public/media
|
||||
# Медиа, служебные error-pages и их ассеты лежат в папке `public/media` на хосте.
|
||||
- ./public/media:/home/app/web/public/media
|
||||
|
||||
# Экспорт статики на хост (для прямой раздачи через Nginx)
|
||||
- ./public:/host_public
|
||||
|
||||
# Конфиги (Монтируем папку ./config с хоста в /nginx_configs_host внутри контейнера)
|
||||
# Это нужно, чтобы скрипт запуска мог положить туда .example конфиг и прочитать боевой конфиг.
|
||||
|
||||
+125
-8
@@ -140,21 +140,63 @@ class CodeMirrorFormMixin(forms.ModelForm):
|
||||
class TbHypn0ItemAdminForm(CodeMirrorFormMixin):
|
||||
"""
|
||||
Кастомная форма для админки svg-генераций (TbHypn0Item).
|
||||
Добавляет виджеты CodeMirror для текстовых полей.
|
||||
Добавляет виджеты CodeMirror для текстовых полей и виртуальные поля промо-блока (хранятся в j_metadata).
|
||||
"""
|
||||
|
||||
# Виртуальные поля промо-блока (упаковываются в j_metadata['promo'])
|
||||
promo_desc = forms.CharField(
|
||||
label="Текст промо / Подпись",
|
||||
required=False,
|
||||
widget=forms.Textarea,
|
||||
help_text=(
|
||||
"Краткое описание, слоган или подпись к промо-картине (1–3 предложения, до 400 символов). "
|
||||
"Хранится виртуально внутри <tt>j_metadata['promo']['desc']</tt>.<br/>"
|
||||
"<b>Примеры:</b><br/>"
|
||||
"• <i>Авторский арт:</i> «Оригинальный паттерн создан совместно с @cyber_toad к фестивалю цифрового искусства.»<br/>"
|
||||
"• <i>Спонсор / Промокод:</i> «Скидка 20% на весь мерч по промокоду HYPNO2026 до конца месяца.»<br/>"
|
||||
"• <i>Если пусто:</i> ключ не сохраняется в JSON."
|
||||
),
|
||||
)
|
||||
promo_cta = forms.CharField(
|
||||
label="Текст кнопки (CTA)",
|
||||
max_length=60,
|
||||
required=False,
|
||||
help_text=(
|
||||
"Текст призыва к действию на кнопке перехода (до 60 символов). "
|
||||
"Хранится виртуально внутри <tt>j_metadata['promo']['cta']</tt>.<br/>"
|
||||
"<b>Примеры:</b> «Узнать больше →», «Забрать промокод →», «Портфолио автора →», «Купить мерч →».<br/>"
|
||||
"• <i>Поведение на фронтенде:</i> если поле не заполнено, используется стандартная надпись «Узнать больше →»."
|
||||
),
|
||||
)
|
||||
promo_disclaimer = forms.CharField(
|
||||
label="Маркировка / Дисклеймер / ERID",
|
||||
required=False,
|
||||
widget=forms.Textarea,
|
||||
help_text=(
|
||||
"Юридическая сноска, копирайт или маркировка интернет-рекламы (мелким шрифтом под промо-блоком). "
|
||||
"Хранится виртуально внутри <tt>j_metadata['promo']['disclaimer']</tt>.<br/>"
|
||||
"<b>Рекомендации и правовые нормы:</b><br/>"
|
||||
"• <b>Спонсорская / коммерческая реклама в РФ (Закон № 347-ФЗ, ст. 18.1 ФЗ «О рекламе»):</b> обязательна маркировка "
|
||||
"— слово «Реклама», указание рекламодателя (наименование юрлица/ИП или ИНН) и токен ОРД (ERID). "
|
||||
"<i>Пример:</i> «Реклама. ООО «Слизни Консалтинг», ИНН 7700000000, erid: 2VtzquXyz12»<br/>"
|
||||
"• <b>Авторство / Некоммерческий арт / Копирайт:</b> маркировка рекламы НЕ ТРЕБУЕТСЯ. Можно указать тип лицензии. "
|
||||
"<i>Пример:</i> «© 2026 Studio Name. Distributed under Creative Commons CC BY-SA 4.0.»<br/>"
|
||||
"• <i>Если поле не заполнено:</i> плашка дисклеймера не сохраняется в JSON и не отображается."
|
||||
),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
model = TbHypn0Item
|
||||
fields = (
|
||||
's_title', "s_promo_title", "s_promo_url", "i_level",
|
||||
"i_likes_count", "i_views_count", "i_claims_count", "f_score",
|
||||
"i_promo_clicks",
|
||||
|
||||
's_title', "s_promo_title", "s_promo_url",
|
||||
"promo_desc", "promo_cta", "promo_disclaimer",
|
||||
"i_level", "i_likes_count", "i_views_count", "i_claims_count", "f_score",
|
||||
"i_promo_clicks", "j_metadata",
|
||||
)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
При инициализации формы подгружаем CodeMirror редактор.
|
||||
При инициализации формы подгружаем CodeMirror редактор и считываем виртуальные поля промо из j_metadata.
|
||||
Получаем request из kwargs, переданных из get_form_kwargs в AdminClass.
|
||||
"""
|
||||
# Извлекаем request из kwargs если он есть
|
||||
@@ -162,6 +204,15 @@ class TbHypn0ItemAdminForm(CodeMirrorFormMixin):
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
# Загрузка начальных значений для виртуальных промо-полей
|
||||
if self.instance and self.instance.pk:
|
||||
meta = self.instance.j_metadata if isinstance(self.instance.j_metadata, dict) else {}
|
||||
promo = meta.get("promo") if isinstance(meta.get("promo"), dict) else {}
|
||||
|
||||
self.fields['promo_desc'].initial = promo.get('desc') or meta.get('promo_desc') or ''
|
||||
self.fields['promo_cta'].initial = promo.get('cta') or meta.get('promo_cta') or ''
|
||||
self.fields['promo_disclaimer'].initial = promo.get('disclaimer') or meta.get('promo_disclaimer') or ''
|
||||
|
||||
# Конфигурируем поля для CodeMirror
|
||||
self.setup_codemirror_field('s_title', language='html',
|
||||
css_class='codemirror-width-l')
|
||||
@@ -181,10 +232,69 @@ class TbHypn0ItemAdminForm(CodeMirrorFormMixin):
|
||||
css_class='codemirror-width-s codemirror-no-lines')
|
||||
self.setup_codemirror_field('j_metadata', language='json',
|
||||
css_class='codemirror-width-sl codemirror-min-height-10')
|
||||
# Виртуальные поля для
|
||||
self.setup_codemirror_field('promo_desc', language='html',
|
||||
css_class='codemirror-width-xl codemirror-min-height-5')
|
||||
self.setup_codemirror_field('promo_cta', language='html',
|
||||
css_class='codemirror-width-l')
|
||||
self.setup_codemirror_field('promo_disclaimer', language='html',
|
||||
css_class='codemirror-width-xl codemirror-min-height-5')
|
||||
|
||||
def save(self, commit=True):
|
||||
"""
|
||||
Сохранение модели с упаковкой виртуальных промо-полей в j_metadata.
|
||||
Если поля не заполнены, пустые ключи и пустой словарь promo не создаются.
|
||||
"""
|
||||
instance = super().save(commit=False)
|
||||
|
||||
# Берем актуальные метаданные (из cleaned_data если редактировалось поле j_metadata или из instance)
|
||||
raw_meta = self.cleaned_data.get("j_metadata")
|
||||
if isinstance(raw_meta, dict):
|
||||
meta = dict(raw_meta)
|
||||
elif isinstance(instance.j_metadata, dict):
|
||||
meta = dict(instance.j_metadata)
|
||||
else:
|
||||
meta = {}
|
||||
|
||||
promo = dict(meta.get("promo")) if isinstance(meta.get("promo"), dict) else {}
|
||||
|
||||
desc = (self.cleaned_data.get("promo_desc") or "").strip()
|
||||
cta = (self.cleaned_data.get("promo_cta") or "").strip()
|
||||
disclaimer = (self.cleaned_data.get("promo_disclaimer") or "").strip()
|
||||
|
||||
if desc:
|
||||
promo["desc"] = desc
|
||||
else:
|
||||
promo.pop("desc", None)
|
||||
meta.pop("promo_desc", None)
|
||||
|
||||
if cta:
|
||||
promo["cta"] = cta
|
||||
else:
|
||||
promo.pop("cta", None)
|
||||
meta.pop("promo_cta", None)
|
||||
|
||||
if disclaimer:
|
||||
promo["disclaimer"] = disclaimer
|
||||
else:
|
||||
promo.pop("disclaimer", None)
|
||||
meta.pop("promo_disclaimer", None)
|
||||
|
||||
if promo:
|
||||
meta["promo"] = promo
|
||||
else:
|
||||
meta.pop("promo", None)
|
||||
|
||||
instance.j_metadata = meta
|
||||
|
||||
if commit:
|
||||
instance.save()
|
||||
return instance
|
||||
|
||||
|
||||
# Конфигурация админки
|
||||
@admin.register(TbHypn0Item)
|
||||
class TbHypn0ItemAdmin(admin.ModelAdmin):
|
||||
class TbHypn0ItemAdmin(RequestInFormMixin, admin.ModelAdmin):
|
||||
"""
|
||||
Панель управления гипно-картинами (модерация, просмотр статистики, редактирование).
|
||||
Создание новых картин через админку заблокировано (создание только на фронтенде).
|
||||
@@ -213,7 +323,14 @@ class TbHypn0ItemAdmin(admin.ModelAdmin):
|
||||
"classes": ("collapse", ),
|
||||
}),
|
||||
("Промо-блок (Спонсоры и Авторы)", {
|
||||
"fields": ("s_promo_url", "s_promo_title", "i_promo_clicks", ),
|
||||
"fields": (
|
||||
"s_promo_title",
|
||||
"s_promo_url",
|
||||
"promo_desc",
|
||||
"promo_cta",
|
||||
"promo_disclaimer",
|
||||
"i_promo_clicks",
|
||||
),
|
||||
"classes": ("collapse",),
|
||||
}),
|
||||
("Метаданные генерации", {
|
||||
|
||||
+14
-14
@@ -6,25 +6,25 @@ class HalftoneGenerateForm(forms.Form):
|
||||
Форма валидации входных параметров для генерации гипнотического SVG.
|
||||
"""
|
||||
SHAPE_CHOICES = [
|
||||
("circle", "Круг"),
|
||||
("ring", "Кольцо"),
|
||||
("triangle", "Треугольник"),
|
||||
("square", "Квадрат"),
|
||||
("diamond", "Ромб"),
|
||||
("hexagon", "Шестиугольник"),
|
||||
("star", "Звезда"),
|
||||
("cross", "Крестик"),
|
||||
("line", "Линия"),
|
||||
("snowflake", "Снежинка"),
|
||||
("binary", "Матрица (0/1)"),
|
||||
("heart", "Сердечко"),
|
||||
("circle", "Circle"),
|
||||
("ring", "Ring"),
|
||||
("triangle", "Triangle"),
|
||||
("square", "Square"),
|
||||
("diamond", "Diamond"),
|
||||
("hexagon", "Hexagon"),
|
||||
("star", "Star"),
|
||||
("cross", "Cross"),
|
||||
("line", "Line"),
|
||||
("snowflake", "Snowflake"),
|
||||
("binary", "Binary (0/1)"),
|
||||
("heart", "Heart"),
|
||||
]
|
||||
|
||||
image = forms.ImageField(
|
||||
required=True,
|
||||
error_messages={
|
||||
"required": "Покорми Гипножабу изображением!",
|
||||
"invalid_image": "Гипножаба не может переварить этот файл. Нужна картинка (PNG, JPG, WEBP).",
|
||||
"required": "Feed the Hypnotoad with an image!",
|
||||
"invalid_image": "Hypnotoad cannot digest this file. Image required (PNG, JPG, WEBP).",
|
||||
},
|
||||
)
|
||||
shape = forms.ChoiceField(
|
||||
|
||||
@@ -0,0 +1,164 @@
|
||||
import re
|
||||
from typing import Optional
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.db import transaction
|
||||
|
||||
from hypn0_site.models import TbHypn0Item
|
||||
from hypn0_site.services.naming import generate_hypno_title
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
"""
|
||||
Массовое переименование названий генераций (TbHypn0Item.s_title) на английский язык.
|
||||
|
||||
АРХИТЕКТУРНОЕ НАЗНАЧЕНИЕ:
|
||||
=========================
|
||||
1. Локализация каталога и прод-базы:
|
||||
Переводит существующие русскоязычные названия картин в базе данных
|
||||
на сочные англоязычные гипнотические тайтлы в стиле Гипножабы.
|
||||
|
||||
2. Детерминированность vs Случайность:
|
||||
По умолчанию использует детерминированный сид на базе ID генерации (item.id + seed_offset),
|
||||
что обеспечивает стабильность результатов при повторных запусках (идемпотентность).
|
||||
Флаг --random позволяет генерировать полностью случайные тайтлы.
|
||||
|
||||
3. Безопасность и оптимизация:
|
||||
- Пакетное обновление через bulk_update порциями (--batch-size).
|
||||
- Режим предварительного просмотра (--dry-run).
|
||||
- Фильтрация по умолчанию только кириллических / пустых названий (или всех с флагом --all).
|
||||
"""
|
||||
|
||||
help = "Массовое переименование названий генераций на английский язык"
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument(
|
||||
"--dry-run",
|
||||
action="store_true",
|
||||
help="Тестовый прогон: показать изменения без сохранения в базу данных",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--all",
|
||||
action="store_true",
|
||||
help="Переименовать абсолютно все генерации (по умолчанию только с кириллицей или пустые)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--only-cyrillic",
|
||||
action="store_true",
|
||||
help="Переименовывать только записи с кириллическими символами в названии (включено по умолчанию)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--batch-size",
|
||||
type=int,
|
||||
default=500,
|
||||
help="Размер пакета для bulk_update (по умолчанию: 500)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--limit",
|
||||
type=int,
|
||||
default=None,
|
||||
help="Ограничить количество обрабатываемых записей",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--seed-offset",
|
||||
type=int,
|
||||
default=0,
|
||||
help="Смещение для детерминированного генератора сидов (по умолчанию: 0)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--random",
|
||||
action="store_true",
|
||||
help="Использовать недетерминированные случайные сиды вместо ID записи",
|
||||
)
|
||||
|
||||
def handle(self, *args, **options):
|
||||
dry_run: bool = options["dry_run"]
|
||||
rename_all: bool = options["all"]
|
||||
batch_size: int = options["batch_size"]
|
||||
limit: Optional[int] = options["limit"]
|
||||
seed_offset: int = options["seed_offset"]
|
||||
use_random: bool = options["random"]
|
||||
|
||||
self.stdout.write(
|
||||
self.style.NOTICE(
|
||||
f"Старт процесса переименования генераций "
|
||||
f"(dry_run={dry_run}, rename_all={rename_all}, batch_size={batch_size}, random={use_random})..."
|
||||
)
|
||||
)
|
||||
|
||||
cyrillic_pattern = re.compile(r"[а-яА-ЯёЁ]")
|
||||
|
||||
qs = TbHypn0Item.objects.all().only("id", "s_title").order_by("id")
|
||||
total_in_db = qs.count()
|
||||
|
||||
if total_in_db == 0:
|
||||
self.stdout.write(self.style.WARNING("В базе данных нет генераций для обработки."))
|
||||
return
|
||||
|
||||
to_update = []
|
||||
renamed_count = 0
|
||||
preview_samples = []
|
||||
|
||||
for item in qs.iterator(chunk_size=batch_size):
|
||||
old_title = item.s_title or ""
|
||||
|
||||
# Проверяем критерий необходимости переименования
|
||||
needs_rename = False
|
||||
if rename_all:
|
||||
needs_rename = True
|
||||
else:
|
||||
# По умолчанию: кириллица или пустой заголовок
|
||||
if not old_title.strip() or cyrillic_pattern.search(old_title):
|
||||
needs_rename = True
|
||||
|
||||
if not needs_rename:
|
||||
continue
|
||||
|
||||
# Генерация нового англоязычного тайтла
|
||||
seed = None if use_random else (item.id + seed_offset)
|
||||
new_title = generate_hypno_title(seed=seed)
|
||||
|
||||
if len(preview_samples) < 15:
|
||||
preview_samples.append((item.id, old_title, new_title))
|
||||
|
||||
item.s_title = new_title
|
||||
to_update.append(item)
|
||||
renamed_count += 1
|
||||
|
||||
if limit is not None and renamed_count >= limit:
|
||||
break
|
||||
|
||||
# Пакетное сохранение порциями
|
||||
if not dry_run and len(to_update) >= batch_size:
|
||||
with transaction.atomic():
|
||||
TbHypn0Item.objects.bulk_update(to_update, fields=["s_title"])
|
||||
to_update.clear()
|
||||
|
||||
# Сохранение остатка
|
||||
if not dry_run and to_update:
|
||||
with transaction.atomic():
|
||||
TbHypn0Item.objects.bulk_update(to_update, fields=["s_title"])
|
||||
to_update.clear()
|
||||
|
||||
# Вывод примеров переименования
|
||||
if preview_samples:
|
||||
self.stdout.write("\nПримеры переименований (первые до 15 записей):")
|
||||
self.stdout.write("-" * 70)
|
||||
for item_id, old_t, new_t in preview_samples:
|
||||
self.stdout.write(f" [ID {item_id:5d}] «{old_t}» -> «{new_t}»")
|
||||
self.stdout.write("-" * 70)
|
||||
|
||||
self.stdout.write(f"\nВсего записей в базе данных: {total_in_db}")
|
||||
self.stdout.write(f"Отобрано для переименования: {renamed_count}")
|
||||
|
||||
if dry_run:
|
||||
self.stdout.write(
|
||||
self.style.WARNING(
|
||||
f"\n[DRY RUN] Проверено {renamed_count} записей. Изменения НЕ сохранены в БД. "
|
||||
"Запустите без флага --dry-run для применения."
|
||||
)
|
||||
)
|
||||
else:
|
||||
self.stdout.write(
|
||||
self.style.SUCCESS(f"\nУспешно переименовано {renamed_count} генераций в базе данных!")
|
||||
)
|
||||
@@ -229,6 +229,64 @@ class TbHypn0Item(models.Model):
|
||||
"""Возвращает опубликованные статьи блога, привязанные к данной картине."""
|
||||
return self.blog_posts.filter(is_published=True).order_by("-d_published_at")
|
||||
|
||||
@property
|
||||
def promo_data(self) -> dict:
|
||||
"""
|
||||
Возвращает вложенный словарь параметров промо-блока из j_metadata или пустой словарь.
|
||||
"""
|
||||
if isinstance(self.j_metadata, dict):
|
||||
promo = self.j_metadata.get("promo")
|
||||
if isinstance(promo, dict):
|
||||
return promo
|
||||
return {}
|
||||
|
||||
@property
|
||||
def promo_desc(self) -> str:
|
||||
"""
|
||||
Краткое описание / слоган промо-блока (из j_metadata['promo']['desc'] или плоского j_metadata['promo_desc']).
|
||||
"""
|
||||
if isinstance(self.j_metadata, dict):
|
||||
promo = self.j_metadata.get("promo")
|
||||
if isinstance(promo, dict) and promo.get("desc"):
|
||||
return str(promo["desc"]).strip()
|
||||
if self.j_metadata.get("promo_desc"):
|
||||
return str(self.j_metadata["promo_desc"]).strip()
|
||||
return ""
|
||||
|
||||
@property
|
||||
def promo_cta(self) -> str:
|
||||
"""
|
||||
Текст кнопки призыва к действию (из j_metadata['promo']['cta'] или плоского j_metadata['promo_cta']).
|
||||
"""
|
||||
if isinstance(self.j_metadata, dict):
|
||||
promo = self.j_metadata.get("promo")
|
||||
if isinstance(promo, dict) and promo.get("cta"):
|
||||
return str(promo["cta"]).strip()
|
||||
if self.j_metadata.get("promo_cta"):
|
||||
return str(self.j_metadata["promo_cta"]).strip()
|
||||
return ""
|
||||
|
||||
@property
|
||||
def promo_disclaimer(self) -> str:
|
||||
"""
|
||||
Юридический дисклеймер, маркировка рекламы по 347-ФЗ (ERID) или копирайт автора
|
||||
(из j_metadata['promo']['disclaimer'] или плоского j_metadata['promo_disclaimer']).
|
||||
"""
|
||||
if isinstance(self.j_metadata, dict):
|
||||
promo = self.j_metadata.get("promo")
|
||||
if isinstance(promo, dict) and promo.get("disclaimer"):
|
||||
return str(promo["disclaimer"]).strip()
|
||||
if self.j_metadata.get("promo_disclaimer"):
|
||||
return str(self.j_metadata["promo_disclaimer"]).strip()
|
||||
return ""
|
||||
|
||||
@property
|
||||
def has_promo(self) -> bool:
|
||||
"""
|
||||
Флаг наличия активного промо-блока: заполнена промо-ссылка и хотя бы заголовок или описание.
|
||||
"""
|
||||
return bool(self.s_promo_url and (self.s_promo_title or self.promo_desc))
|
||||
|
||||
@property
|
||||
def card_svg(self) -> str:
|
||||
"""
|
||||
@@ -331,7 +389,12 @@ class TbHypn0Item(models.Model):
|
||||
"""
|
||||
is_new = self.pk is None
|
||||
|
||||
# 0. Блокировка создания новой картины без подчинения Гипножабе
|
||||
# 0. Автоматическая защита промо-картин: если заполнены промо-данные, переводим в Level.IMMORTAL
|
||||
# (при последующей очистке промо уровень не понижается)
|
||||
if (self.s_promo_url or self.s_promo_title or self.promo_desc) and self.i_level < self.Level.IMMORTAL:
|
||||
self.i_level = self.Level.IMMORTAL
|
||||
|
||||
# 0.1 Блокировка создания новой картины без подчинения Гипножабе
|
||||
if is_new and not visitor_uuid_or_fp:
|
||||
raise PermissionError("Создание картины запрещено: пользователь не подчинился Гипножабе (отсутствует visitor UUID)")
|
||||
|
||||
@@ -596,13 +659,13 @@ class TbBlogPost(models.Model):
|
||||
def blog_nav_title(self) -> str:
|
||||
"""Детерминированный выбор названия раздела блога для навигации на основе ID статьи."""
|
||||
nav_titles = (
|
||||
"Блог Мозгоклюя",
|
||||
"Записки Гипножабы",
|
||||
"Дневник Мозговых Перцепторов",
|
||||
"Хроники психо-резонанса",
|
||||
"Мемуары астрального архива",
|
||||
"Манифесты волновой матрицы",
|
||||
"Бортовой журнал транс-погружения",
|
||||
"Brain Slug Blog",
|
||||
"Hypnotoad Field Notes",
|
||||
"Neural Perceptor Diary",
|
||||
"Psycho-Resonance Chronicles",
|
||||
"Astral Archive Memoirs",
|
||||
"Wave Matrix Manifestos",
|
||||
"Deep Trance Flight Log",
|
||||
)
|
||||
if not self.id:
|
||||
return nav_titles[0]
|
||||
|
||||
@@ -47,7 +47,7 @@ HYPNO_GENITIVES = [
|
||||
HYPNO_POSTFIXES = [
|
||||
"#42", "v3.14", "(Ultra)", "(Phase 7)", "(Alpha)", "(Omega)", "(Protocol 09)", "(Revision 14)",
|
||||
"(Extract)", "(Layer 9)", "(Ward 106)", "(Hangar 18)", "(Unfinished Opus)", "(Secret Project)",
|
||||
"[Classified]", "(DOOP-66)", "(Sub-Level 4)", "(MK-Ultra)", "С90"
|
||||
"[Classified]", "(DOOP-66)", "(Sub-Level 4)", "(MK-Ultra)", "C90"
|
||||
]
|
||||
|
||||
|
||||
|
||||
+320
-66
@@ -11,7 +11,7 @@ from django.test import Client, TestCase, override_settings
|
||||
from django.urls import reverse
|
||||
from PIL import Image
|
||||
|
||||
from .admin import TbBlogPostAdmin
|
||||
from .admin import TbBlogPostAdmin, TbHypn0ItemAdminForm, TbHypn0ItemAdmin
|
||||
from .forms import HalftoneGenerateForm
|
||||
from .models import TbBlogPost, TbHypn0Item, TbVote
|
||||
from .services.halftone import (
|
||||
@@ -232,7 +232,7 @@ class HalftoneViewTests(BaseMediaTestCase):
|
||||
self.assertContains(response, 'X-CSRFToken')
|
||||
self.assertContains(response, "handleFileChange")
|
||||
self.assertContains(response, "imagePreviewUrl")
|
||||
self.assertContains(response, "Гипножаба облизывается на:")
|
||||
self.assertContains(response, "Hypnotoad salivates over:")
|
||||
# Проверяем, что csrf_token не пустой в hx-headers
|
||||
content = response.content.decode("utf-8")
|
||||
self.assertNotIn('hx-headers=\'{"X-CSRFToken": ""}\'', content)
|
||||
@@ -291,7 +291,7 @@ class HalftoneViewTests(BaseMediaTestCase):
|
||||
def test_generate_post_no_image(self):
|
||||
response = self.client.post(reverse("hypn0_site:generate"), data={"shape": "circle"})
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Покорми Гипножабу")
|
||||
self.assertContains(response, "Feed the Hypnotoad")
|
||||
|
||||
def test_generate_post_success(self):
|
||||
buf = io.BytesIO()
|
||||
@@ -366,8 +366,8 @@ class PublishViewTests(BaseMediaTestCase):
|
||||
},
|
||||
)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Мозговые слизняки протестуют!")
|
||||
self.assertContains(response, "Подчиниться и опубликовать")
|
||||
self.assertContains(response, "Brain Slugs are rioting!")
|
||||
self.assertContains(response, "Submit and Publish")
|
||||
self.assertEqual(TbHypn0Item.objects.count(), 0)
|
||||
|
||||
def test_publish_with_cookie_success(self):
|
||||
@@ -389,8 +389,8 @@ class PublishViewTests(BaseMediaTestCase):
|
||||
},
|
||||
)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Уже в галерее транса")
|
||||
self.assertContains(response, "идет прорастание психо-паутины...")
|
||||
self.assertContains(response, "In the Trance Gallery")
|
||||
self.assertContains(response, "psychic neural web expanding…")
|
||||
|
||||
# Проверяем запись в БД
|
||||
self.assertEqual(TbHypn0Item.objects.count(), 1)
|
||||
@@ -419,7 +419,7 @@ class PublishViewTests(BaseMediaTestCase):
|
||||
data={"svg_content": ""},
|
||||
)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Нет данных SVG для публикации")
|
||||
self.assertContains(response, "No SVG data for publication")
|
||||
self.assertEqual(TbHypn0Item.objects.count(), 0)
|
||||
|
||||
|
||||
@@ -522,11 +522,11 @@ class GalleryDetailAndDownloadTests(BaseMediaTestCase):
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Астральный Транс Сознания #42")
|
||||
self.assertContains(response, f"#{self.item.s_hash_id}")
|
||||
self.assertContains(response, "Векторная анатомия")
|
||||
self.assertContains(response, "Синтез психо-сетки")
|
||||
self.assertContains(response, "Астральный паспорт")
|
||||
self.assertContains(response, "Копировать SVG-код")
|
||||
self.assertContains(response, "Скачать .svg")
|
||||
self.assertContains(response, "Vector Anatomy")
|
||||
self.assertContains(response, "Psych-Grid Synthesis")
|
||||
self.assertContains(response, "Astral Passport")
|
||||
self.assertContains(response, "Copy SVG code")
|
||||
self.assertContains(response, "Download .svg")
|
||||
|
||||
# Проверка инкремента просмотров
|
||||
self.item.refresh_from_db()
|
||||
@@ -557,7 +557,7 @@ class GalleryDetailAndDownloadTests(BaseMediaTestCase):
|
||||
client = Client()
|
||||
response = client.post(reverse("hypn0_site:gallery_vote", kwargs={"hash_id": self.item.s_hash_id}))
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Подчинитесь воле Гипножабы!")
|
||||
self.assertContains(response, "Surrender to Hypnotoad!")
|
||||
|
||||
|
||||
class GalleryRandomAndNavigationTests(BaseMediaTestCase):
|
||||
@@ -699,8 +699,8 @@ class UnconsciousMatrixTests(BaseMediaTestCase):
|
||||
item = self.items[0]
|
||||
response = self.client.get(reverse("hypn0_site:gallery_detail", kwargs={"hash_id": item.s_hash_id}))
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Матрица бессознательного")
|
||||
self.assertContains(response, "5 узлов")
|
||||
self.assertContains(response, "Matrix of the Unconscious")
|
||||
self.assertContains(response, "5 nodes")
|
||||
self.assertContains(response, f"#{item.s_hash_id}")
|
||||
self.assertContains(response, "btn-nav-prev")
|
||||
self.assertContains(response, "btn-nav-next")
|
||||
@@ -782,7 +782,7 @@ class GalleryFreshFloorTests(BaseMediaTestCase):
|
||||
|
||||
response = self.client.get(reverse("hypn0_site:index"))
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Плеск бессознательного")
|
||||
self.assertContains(response, "Incubator of the Unconscious")
|
||||
self.assertContains(response, "FRESH STREAM")
|
||||
self.assertContains(response, f"gallery-card-{item.s_hash_id}")
|
||||
self.assertContains(response, f"¤{item.s_hash_id}")
|
||||
@@ -935,12 +935,12 @@ class GalleryArchiveTests(BaseMediaTestCase):
|
||||
url = reverse("hypn0_site:gallery_archive")
|
||||
response = self.client.get(url)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Галерея транса")
|
||||
self.assertContains(response, "Trance Gallery")
|
||||
self.assertContains(response, "ARCHIVE")
|
||||
self.assertContains(response, "Все волны")
|
||||
self.assertContains(response, "Инкубатор")
|
||||
self.assertContains(response, "Одобрено")
|
||||
self.assertContains(response, "Золотой фонд")
|
||||
self.assertContains(response, "All waves")
|
||||
self.assertContains(response, "Incubator")
|
||||
self.assertContains(response, "Approved")
|
||||
self.assertContains(response, "Hall of Fame")
|
||||
# Все 3 картины присутствуют в выдаче
|
||||
self.assertContains(response, f"gallery-card-{self.item_fresh.s_hash_id}")
|
||||
self.assertContains(response, f"gallery-card-{self.item_curated.s_hash_id}")
|
||||
@@ -1013,21 +1013,21 @@ class GalleryArchiveTests(BaseMediaTestCase):
|
||||
resp_p1 = self.client.get(url, data={"floor": "all", "sort": "likes"})
|
||||
self.assertEqual(resp_p1.status_code, 200)
|
||||
self.assertEqual(len(resp_p1.context["page_obj"]), 16)
|
||||
self.assertContains(resp_p1, "Фаза 1 из 2")
|
||||
self.assertContains(resp_p1, "<title>Галерея транса — Каталог анимированных картин | HypnoSVG</title>")
|
||||
self.assertContains(resp_p1, "Phase 1 of 2")
|
||||
self.assertContains(resp_p1, "<title>Trance Gallery — Animated SVG Catalog | HypnoSVG</title>")
|
||||
# Проверяем сохранение query-параметров в ссылках пагинатора
|
||||
self.assertContains(resp_p1, "floor=all&sort=likes&page=2")
|
||||
|
||||
resp_p2 = self.client.get(url, data={"floor": "all", "sort": "likes", "page": 2})
|
||||
self.assertEqual(resp_p2.status_code, 200)
|
||||
self.assertEqual(len(resp_p2.context["page_obj"]), 2)
|
||||
self.assertContains(resp_p2, "Фаза 2 из 2")
|
||||
self.assertContains(resp_p2, "<title>Галерея транса — Каталог анимированных картин (Фаза 2) | HypnoSVG</title>")
|
||||
self.assertContains(resp_p2, "Phase 2 of 2")
|
||||
self.assertContains(resp_p2, "<title>Trance Gallery — Animated SVG Catalog (Phase 2) | HypnoSVG</title>")
|
||||
self.assertContains(resp_p2, "floor=all&sort=likes&page=1")
|
||||
|
||||
# Проверяем Title при фильтрации по этажу
|
||||
resp_curated = self.client.get(url, data={"floor": "curated"})
|
||||
self.assertContains(resp_curated, "<title>Одобрено Мозговым Слизнем | HypnoSVG</title>")
|
||||
self.assertContains(resp_curated, "<title>Approved by Brain Slug | HypnoSVG</title>")
|
||||
|
||||
|
||||
class RescoreCommandTests(BaseMediaTestCase):
|
||||
@@ -1311,12 +1311,12 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
# Проверяем, что отображается один из динамических заголовков секции
|
||||
content = response.content.decode("utf-8")
|
||||
possible_headings = (
|
||||
"Сигналы из параллельного континуума",
|
||||
"Психо-артефакты ноосферы",
|
||||
"Заметки астрального консилиума",
|
||||
"Рефлекторные отклики мозговых слизней",
|
||||
"Публикации из глубин подсознания",
|
||||
"Материалы хроник гипноза",
|
||||
"Signals from Parallel Continuum",
|
||||
"Noosphere Psycho-Artifacts",
|
||||
"Astral Council Field Notes",
|
||||
"Reflexive Responses of Brain Slugs",
|
||||
"Dispatches from Subconscious Depths",
|
||||
"Materials from Hypno Chronicles",
|
||||
)
|
||||
self.assertTrue(any(heading in content for heading in possible_headings))
|
||||
self.assertContains(response, "Хроники гипно-транса: Урок 1")
|
||||
@@ -1345,7 +1345,7 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
# Проверка 1-й страницы ленты блога
|
||||
response = self.client.get("/blog")
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "Хроники гипноза")
|
||||
self.assertContains(response, "Hypno Chronicles")
|
||||
self.assertContains(response, "Тестовая депеша 11")
|
||||
self.assertNotContains(response, "Черновик ноосферы")
|
||||
self.assertContains(response, "page=2")
|
||||
@@ -1388,7 +1388,7 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
resp_parent = self.client.get(f"/blog/{series_parent.slug}")
|
||||
self.assertEqual(resp_parent.status_code, 200)
|
||||
self.assertContains(resp_parent, "Цикл: Основы векторного гипноза")
|
||||
self.assertContains(resp_parent, "Материалы и главы этого цикла")
|
||||
self.assertContains(resp_parent, "Chapters in This Series")
|
||||
self.assertContains(resp_parent, "Глава 1: Первичная модуляция")
|
||||
self.assertContains(resp_parent, "Глава 2: Фазовый сдвиг матрицы")
|
||||
|
||||
@@ -1396,31 +1396,31 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
resp_ch1 = self.client.get(f"/blog/{ch1.slug}")
|
||||
self.assertEqual(resp_ch1.status_code, 200)
|
||||
self.assertContains(resp_ch1, "Глава 1: Первичная модуляция")
|
||||
self.assertContains(resp_ch1, "Материал входит в серию:")
|
||||
self.assertContains(resp_ch1, "Part of the series:")
|
||||
self.assertContains(resp_ch1, self.item.s_title)
|
||||
self.assertContains(resp_ch1, f"#{self.item.s_hash_id}")
|
||||
self.assertContains(resp_ch1, f"/gallery/{self.item.s_hash_id}")
|
||||
self.assertContains(resp_ch1, "Скачать SVG")
|
||||
self.assertContains(resp_ch1, "Вес:")
|
||||
self.assertContains(resp_ch1, "Следующая глава цикла")
|
||||
self.assertContains(resp_ch1, "Download SVG")
|
||||
self.assertContains(resp_ch1, "Weight:")
|
||||
self.assertContains(resp_ch1, "Next chapter in series")
|
||||
self.assertContains(resp_ch1, "Глава 2: Фазовый сдвиг матрицы")
|
||||
|
||||
# Проверка хлебных крошек
|
||||
self.assertContains(resp_ch1, 'aria-label="Хлебные крошки"')
|
||||
self.assertContains(resp_ch1, 'aria-label="Breadcrumbs"')
|
||||
self.assertContains(resp_ch1, ch1.blog_nav_title)
|
||||
self.assertContains(resp_ch1, "Глава 1 из 2")
|
||||
self.assertContains(resp_ch1, "Chapter 1 of 2")
|
||||
self.assertContains(resp_ch1, 'aria-current="page"')
|
||||
|
||||
# Проверка JSON-LD BreadcrumbList
|
||||
self.assertContains(resp_ch1, '"@type": "BreadcrumbList"')
|
||||
self.assertContains(resp_ch1, '"name": "Главная"')
|
||||
self.assertContains(resp_ch1, '"name": "Хроники гипноза"')
|
||||
self.assertContains(resp_ch1, '"name": "Home"')
|
||||
self.assertContains(resp_ch1, '"name": "Hypno Chronicles"')
|
||||
self.assertContains(resp_ch1, series_parent.s_title)
|
||||
|
||||
# 3. Проверка второй главы (ссылка назад на главу 1)
|
||||
resp_ch2 = self.client.get(f"/blog/{ch2.slug}")
|
||||
self.assertEqual(resp_ch2.status_code, 200)
|
||||
self.assertContains(resp_ch2, "Предыдущая глава цикла")
|
||||
self.assertContains(resp_ch2, "Previous chapter in series")
|
||||
self.assertContains(resp_ch2, "Глава 1: Первичная модуляция")
|
||||
|
||||
# 4. Проверка доступа по числовому ID
|
||||
@@ -1437,10 +1437,10 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
"""Проверка отдачи кастомной страницы 404 в режиме DEBUG=False."""
|
||||
response = self.client.get("/totally-non-existent-hypno-route-404")
|
||||
self.assertEqual(response.status_code, 404)
|
||||
self.assertContains(response, "Гипноузел не обнаружен", status_code=404)
|
||||
self.assertContains(response, "СБОЙ МАТРИЦЫ // КОД? 404", status_code=404)
|
||||
self.assertContains(response, "Hypno-Node Not Found", status_code=404)
|
||||
self.assertContains(response, "MATRIX ANOMALY // CODE 404", status_code=404)
|
||||
self.assertContains(response, "return-btn", status_code=404)
|
||||
self.assertContains(response, "Стираем остатки несущес­твующей страницы", status_code=404)
|
||||
self.assertContains(response, "Erasing traces of the phantom page", status_code=404)
|
||||
|
||||
@override_settings(DEBUG=True)
|
||||
def test_debug_error_preview_routing(self):
|
||||
@@ -1448,23 +1448,23 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
# 1. Индексный список страниц ошибок
|
||||
resp_list = self.client.get("/_error/")
|
||||
self.assertEqual(resp_list.status_code, 200)
|
||||
self.assertContains(resp_list, "Центр отладки страниц ошибок")
|
||||
self.assertContains(resp_list, "Error Pages Debug Center")
|
||||
self.assertContains(resp_list, "/_error/404")
|
||||
self.assertContains(resp_list, "готов к просмотру")
|
||||
self.assertContains(resp_list, "ready to preview")
|
||||
|
||||
# 2. Проверка каждого кода ошибки
|
||||
expected_checks = [
|
||||
("400", 400, "Сбой ментального протокола"),
|
||||
("401", 401, "Требуется ментальная идентификация"),
|
||||
("403", 403, "Отказано бюрократом 24-го уровня"),
|
||||
("404", 404, "Гипноузел не обнаружен"),
|
||||
("413", 413, "Перегрузка сенсорных каналов"),
|
||||
("429", 429, "Слишком много мыслей в секунду"),
|
||||
("500", 500, "Критический перегрев неокортекса"),
|
||||
("502", 502, "Контейнер потерял сознание"),
|
||||
("503", 503, "Плановый сеанс гипнотерапии"),
|
||||
("504", 504, "Разрыв астральной связи"),
|
||||
("under_reconstruction", 200, "Отдел мозга на реконструкции"),
|
||||
("400", 400, "Perceptual Protocol Mismatch"),
|
||||
("401", 401, "Subconscious Identity Required"),
|
||||
("403", 403, "Cognitive Lockdown Active"),
|
||||
("404", 404, "Hypno-Node Not Found"),
|
||||
("413", 413, "Sensory Channel Saturation"),
|
||||
("429", 429, "Too Many Thoughts per Second"),
|
||||
("500", 500, "Introspection Neural Lock"),
|
||||
("502", 502, "Uplink to Hippocampus Lost"),
|
||||
("503", 503, "Scheduled Hypnotherapy in Progress"),
|
||||
("504", 504, "Astral Synapse Timed Out"),
|
||||
("under_reconstruction", 200, "Brain Sector Under Reconstruction"),
|
||||
]
|
||||
|
||||
for code, expected_status, text_fragment in expected_checks:
|
||||
@@ -1478,12 +1478,12 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
# 3. Предпросмотр с суффиксом .html
|
||||
resp_404_html = self.client.get("/_error/404.html")
|
||||
self.assertEqual(resp_404_html.status_code, 404)
|
||||
self.assertContains(resp_404_html, "Гипноузел не обнаружен", status_code=404)
|
||||
self.assertContains(resp_404_html, "Hypno-Node Not Found", status_code=404)
|
||||
|
||||
# 4. Несуществующий шаблон ошибки в dev-режиме
|
||||
resp_non_existent = self.client.get("/_error/non-existent-code-999")
|
||||
self.assertEqual(resp_non_existent.status_code, 404)
|
||||
self.assertContains(resp_non_existent, "Шаблон для ошибки 'non-existent-code-999' не найден", status_code=404)
|
||||
self.assertContains(resp_non_existent, "Template for error 'non-existent-code-999' not found", status_code=404)
|
||||
|
||||
def test_custom_django_error_handlers(self):
|
||||
"""Проверка прямого вызова стандартных Django-обработчиков ошибок."""
|
||||
@@ -1495,22 +1495,22 @@ class BlogPostModelAndAdminTests(BaseMediaTestCase):
|
||||
req400 = factory.get("/bad-request")
|
||||
resp400 = error_400(req400)
|
||||
self.assertEqual(resp400.status_code, 400)
|
||||
self.assertIn("Сбой ментального протокола", resp400.content.decode("utf-8"))
|
||||
self.assertIn("Perceptual Protocol Mismatch", resp400.content.decode("utf-8"))
|
||||
|
||||
req403 = factory.get("/forbidden")
|
||||
resp403 = error_403(req403)
|
||||
self.assertEqual(resp403.status_code, 403)
|
||||
self.assertIn("Отказано бюрократом 24-го уровня", resp403.content.decode("utf-8"))
|
||||
self.assertIn("Cognitive Lockdown Active", resp403.content.decode("utf-8"))
|
||||
|
||||
req404 = factory.get("/not-found")
|
||||
resp404 = error_404(req404)
|
||||
self.assertEqual(resp404.status_code, 404)
|
||||
self.assertIn("Гипноузел не обнаружен", resp404.content.decode("utf-8"))
|
||||
self.assertIn("Hypno-Node Not Found", resp404.content.decode("utf-8"))
|
||||
|
||||
req500 = factory.get("/server-error")
|
||||
resp500 = error_500(req500)
|
||||
self.assertEqual(resp500.status_code, 500)
|
||||
self.assertIn("Критический перегрев неокортекса", resp500.content.decode("utf-8"))
|
||||
self.assertIn("Introspection Neural Lock", resp500.content.decode("utf-8"))
|
||||
|
||||
def test_s_title_plain_property(self):
|
||||
"""Проверка очистки HTML-тегов и мнемоник в s_title_plain для моделей TbHypn0Item и TbBlogPost."""
|
||||
@@ -1618,3 +1618,257 @@ class RenameGenerationsCommandTests(BaseMediaTestCase):
|
||||
out = io.StringIO()
|
||||
call_command("rename_generations", stdout=out)
|
||||
self.assertIn("нет генераций для обработки", out.getvalue())
|
||||
|
||||
|
||||
class PromoVirtualFieldsTests(BaseMediaTestCase):
|
||||
"""Тестирование виртуальных полей промо-блока (promo_desc, promo_cta, promo_disclaimer)."""
|
||||
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
self.vid = "123e4567-e89b-12d3-a456-426614174000"
|
||||
self.svg_bytes = b'<svg><circle/></svg>'
|
||||
|
||||
def test_model_properties_with_promo_dict(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Promo Artwork",
|
||||
s_promo_title="Brain Slug Studio",
|
||||
s_promo_url="https://example.com/promo",
|
||||
j_metadata={
|
||||
"color": "#a855ff",
|
||||
"promo": {
|
||||
"desc": "Limited edition hypnotic vector pattern.",
|
||||
"cta": "Get Discount",
|
||||
"disclaimer": "Реклама. ООО «Слизни», erid: 2Vtzqu123",
|
||||
},
|
||||
},
|
||||
)
|
||||
self.assertEqual(item.promo_desc, "Limited edition hypnotic vector pattern.")
|
||||
self.assertEqual(item.promo_cta, "Get Discount")
|
||||
self.assertEqual(item.promo_disclaimer, "Реклама. ООО «Слизни», erid: 2Vtzqu123")
|
||||
self.assertEqual(item.promo_data, {
|
||||
"desc": "Limited edition hypnotic vector pattern.",
|
||||
"cta": "Get Discount",
|
||||
"disclaimer": "Реклама. ООО «Слизни», erid: 2Vtzqu123",
|
||||
})
|
||||
self.assertTrue(item.has_promo)
|
||||
|
||||
def test_model_properties_fallback_flat_keys(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Flat Promo Artwork",
|
||||
s_promo_url="https://example.com",
|
||||
j_metadata={
|
||||
"promo_desc": "Flat description",
|
||||
"promo_cta": "Flat CTA",
|
||||
"promo_disclaimer": "Flat Disclaimer",
|
||||
},
|
||||
)
|
||||
self.assertEqual(item.promo_desc, "Flat description")
|
||||
self.assertEqual(item.promo_cta, "Flat CTA")
|
||||
self.assertEqual(item.promo_disclaimer, "Flat Disclaimer")
|
||||
self.assertTrue(item.has_promo)
|
||||
|
||||
def test_model_properties_empty_or_none_metadata(self):
|
||||
item_empty = TbHypn0Item(j_metadata={})
|
||||
self.assertEqual(item_empty.promo_desc, "")
|
||||
self.assertEqual(item_empty.promo_cta, "")
|
||||
self.assertEqual(item_empty.promo_disclaimer, "")
|
||||
self.assertEqual(item_empty.promo_data, {})
|
||||
self.assertFalse(item_empty.has_promo)
|
||||
|
||||
item_none = TbHypn0Item(j_metadata=None)
|
||||
self.assertEqual(item_none.promo_desc, "")
|
||||
self.assertEqual(item_none.promo_cta, "")
|
||||
self.assertEqual(item_none.promo_disclaimer, "")
|
||||
self.assertEqual(item_none.promo_data, {})
|
||||
self.assertFalse(item_none.has_promo)
|
||||
|
||||
def test_admin_form_initialization_from_j_metadata(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Admin Promo Test",
|
||||
file_svg=ContentFile(self.svg_bytes, name="promo_init.svg"),
|
||||
j_metadata={
|
||||
"cols": 42,
|
||||
"promo": {
|
||||
"desc": "Initial Desc",
|
||||
"cta": "Initial CTA",
|
||||
"disclaimer": "Initial Disclaimer",
|
||||
},
|
||||
},
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
|
||||
form = TbHypn0ItemAdminForm(instance=item)
|
||||
self.assertEqual(form.fields["promo_desc"].initial, "Initial Desc")
|
||||
self.assertEqual(form.fields["promo_cta"].initial, "Initial CTA")
|
||||
self.assertEqual(form.fields["promo_disclaimer"].initial, "Initial Disclaimer")
|
||||
|
||||
def test_admin_form_save_writes_promo_to_j_metadata(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Admin Save Test",
|
||||
file_svg=ContentFile(self.svg_bytes, name="promo_save.svg"),
|
||||
j_metadata={"color": "#10b981", "cols": 30},
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
|
||||
form_data = {
|
||||
"s_title": "Admin Save Test Updated",
|
||||
"s_promo_title": "Partner Sponsor",
|
||||
"s_promo_url": "https://sponsor.example.com",
|
||||
"promo_desc": "Super cool sponsored pattern.",
|
||||
"promo_cta": "Buy Now",
|
||||
"promo_disclaimer": "Реклама. ООО «Партнер», ИНН 1234567890",
|
||||
"i_level": TbHypn0Item.Level.LEVEL_2,
|
||||
"i_likes_count": 10,
|
||||
"i_views_count": 50,
|
||||
"i_claims_count": 0,
|
||||
"f_score": 10.0,
|
||||
"i_promo_clicks": 0,
|
||||
}
|
||||
form = TbHypn0ItemAdminForm(data=form_data, instance=item)
|
||||
self.assertTrue(form.is_valid(), form.errors)
|
||||
saved_item = form.save()
|
||||
|
||||
# Проверяем, что исходные параметры (color, cols) сохранились, и добавился promo-словарь
|
||||
self.assertEqual(saved_item.j_metadata.get("color"), "#10b981")
|
||||
self.assertEqual(saved_item.j_metadata.get("cols"), 30)
|
||||
self.assertEqual(saved_item.j_metadata.get("promo"), {
|
||||
"desc": "Super cool sponsored pattern.",
|
||||
"cta": "Buy Now",
|
||||
"disclaimer": "Реклама. ООО «Партнер», ИНН 1234567890",
|
||||
})
|
||||
self.assertEqual(saved_item.promo_desc, "Super cool sponsored pattern.")
|
||||
self.assertEqual(saved_item.promo_cta, "Buy Now")
|
||||
self.assertEqual(saved_item.promo_disclaimer, "Реклама. ООО «Партнер», ИНН 1234567890")
|
||||
# Проверяем автоматический перевод в IMMORTAL
|
||||
self.assertEqual(saved_item.i_level, TbHypn0Item.Level.IMMORTAL)
|
||||
|
||||
def test_promo_item_auto_promoted_to_immortal_and_kept_on_clear(self):
|
||||
# 1. Создаем обычную картину уровня CANDIDATE
|
||||
item = TbHypn0Item(
|
||||
s_title="Candidate Item",
|
||||
file_svg=ContentFile(self.svg_bytes, name="cand.svg"),
|
||||
i_level=TbHypn0Item.Level.CANDIDATE,
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
self.assertEqual(item.i_level, TbHypn0Item.Level.CANDIDATE)
|
||||
|
||||
# 2. Добавляем промо-данные (например промо-ссылку) -> уровень автоматически становится IMMORTAL (Locked)
|
||||
item.s_promo_url = "https://example.com/promo"
|
||||
item.save()
|
||||
item.refresh_from_db()
|
||||
self.assertEqual(item.i_level, TbHypn0Item.Level.IMMORTAL)
|
||||
|
||||
# 3. Очищаем промо-данные -> уровень остается IMMORTAL (не понижается)
|
||||
item.s_promo_url = ""
|
||||
item.s_promo_title = ""
|
||||
item.j_metadata = {}
|
||||
item.save()
|
||||
item.refresh_from_db()
|
||||
self.assertEqual(item.i_level, TbHypn0Item.Level.IMMORTAL)
|
||||
|
||||
def test_admin_form_save_cleans_empty_promo_without_polluting_json(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Admin Clean Test",
|
||||
file_svg=ContentFile(self.svg_bytes, name="promo_clean.svg"),
|
||||
j_metadata={
|
||||
"color": "#ffffff",
|
||||
"promo": {"desc": "Old description"},
|
||||
},
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
|
||||
# Отправляем форму со всеми пустыми promo-полями
|
||||
form_data = {
|
||||
"s_title": "Admin Clean Test",
|
||||
"s_promo_title": "",
|
||||
"s_promo_url": "",
|
||||
"promo_desc": " ", # Пробелы должны очищаться
|
||||
"promo_cta": "",
|
||||
"promo_disclaimer": "",
|
||||
"i_level": TbHypn0Item.Level.CANDIDATE,
|
||||
"i_likes_count": 1,
|
||||
"i_views_count": 1,
|
||||
"i_claims_count": 0,
|
||||
"f_score": 0.0,
|
||||
"i_promo_clicks": 0,
|
||||
}
|
||||
form = TbHypn0ItemAdminForm(data=form_data, instance=item)
|
||||
self.assertTrue(form.is_valid(), form.errors)
|
||||
saved_item = form.save()
|
||||
|
||||
# Ключ promo должен быть полностью удален из j_metadata, не оставляя пустых словарей
|
||||
self.assertEqual(saved_item.j_metadata, {"color": "#ffffff"})
|
||||
self.assertNotIn("promo", saved_item.j_metadata)
|
||||
self.assertEqual(saved_item.promo_desc, "")
|
||||
self.assertEqual(saved_item.promo_cta, "")
|
||||
self.assertEqual(saved_item.promo_disclaimer, "")
|
||||
|
||||
def test_gallery_promo_redirect_increments_clicks_and_redirects(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Promo Redirect Test",
|
||||
file_svg=ContentFile(self.svg_bytes, name="promo_redirect.svg"),
|
||||
s_promo_url="https://hypno.example.org/partner",
|
||||
s_promo_title="Partner Link",
|
||||
i_promo_clicks=5,
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
|
||||
# Вызываем redirect эндпоинт
|
||||
url = reverse("hypn0_site:gallery_promo_redirect", kwargs={"hash_id": item.s_hash_id})
|
||||
response = self.client.get(url)
|
||||
|
||||
self.assertEqual(response.status_code, 302)
|
||||
self.assertEqual(response["Location"], "https://hypno.example.org/partner")
|
||||
|
||||
# Проверяем инкремент счетчика кликов
|
||||
item.refresh_from_db()
|
||||
self.assertEqual(item.i_promo_clicks, 6)
|
||||
|
||||
def test_gallery_promo_redirect_404_if_no_url(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="No Promo Url Test",
|
||||
file_svg=ContentFile(self.svg_bytes, name="no_promo.svg"),
|
||||
s_promo_url="",
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
|
||||
url = reverse("hypn0_site:gallery_promo_redirect", kwargs={"hash_id": item.s_hash_id})
|
||||
response = self.client.get(url)
|
||||
self.assertEqual(response.status_code, 404)
|
||||
|
||||
def test_gallery_detail_renders_emerald_promo_bar(self):
|
||||
item = TbHypn0Item(
|
||||
s_title="Promo Visual Test",
|
||||
file_svg=ContentFile(self.svg_bytes, name="promo_vis.svg"),
|
||||
s_promo_url="https://sponsor.domain.com",
|
||||
s_promo_title="CyberToad Labs",
|
||||
j_metadata={
|
||||
"color": "#a855ff",
|
||||
"promo": {
|
||||
"desc": "Official hypno sponsor for neural protection.",
|
||||
"cta": "Get Shield",
|
||||
"disclaimer": "Реклама. ООО «Слизни», ИНН 7700000000, erid: 2VtzquX",
|
||||
},
|
||||
},
|
||||
is_public=True,
|
||||
)
|
||||
item.save(visitor_uuid_or_fp=self.vid)
|
||||
|
||||
url = reverse("hypn0_site:gallery_detail", kwargs={"hash_id": item.s_hash_id})
|
||||
response = self.client.get(url)
|
||||
|
||||
self.assertEqual(response.status_code, 200)
|
||||
content = response.content.decode("utf-8")
|
||||
|
||||
# Проверяем наличие плашки и атрибутов
|
||||
self.assertIn("ADV", content)
|
||||
self.assertIn("Official hypno sponsor for neural protection.", content)
|
||||
self.assertIn("Get Shield", content)
|
||||
self.assertIn("Реклама. ООО «Слизни», ИНН 7700000000, erid: 2VtzquX", content)
|
||||
self.assertIn(f"/gallery/{item.s_hash_id}/promo", content)
|
||||
@@ -14,6 +14,8 @@ urlpatterns = [
|
||||
path("gallery/<str:hash_id>", views.gallery_detail, name="gallery_detail"),
|
||||
path("gallery/<str:hash_id>/download", views.gallery_download, name="gallery_download"),
|
||||
path("gallery/<str:hash_id>/vote", views.gallery_vote, name="gallery_vote"),
|
||||
path("gallery/<str:hash_id>/promo", views.gallery_promo_redirect, name="gallery_promo_redirect"),
|
||||
path("go/<str:hash_id>", views.gallery_promo_redirect, name="promo_redirect"),
|
||||
path("blog", views.blog_feed, name="blog_feed"),
|
||||
path("blog/<str:slug>", views.blog_detail, name="blog_detail"),
|
||||
]
|
||||
|
||||
+24
-11
@@ -4,7 +4,8 @@ import random
|
||||
from django.conf import settings
|
||||
from django.core.files.base import ContentFile
|
||||
from django.core.paginator import Paginator
|
||||
from django.http import Http404, HttpRequest, HttpResponse, JsonResponse
|
||||
from django.db.models import F
|
||||
from django.http import Http404, HttpRequest, HttpResponse, HttpResponseRedirect, JsonResponse
|
||||
from django.shortcuts import get_object_or_404, redirect, render
|
||||
from django.views.decorators.csrf import ensure_csrf_cookie
|
||||
from django.views.decorators.http import require_POST
|
||||
@@ -196,14 +197,14 @@ def debug_error_preview(request: HttpRequest, code: str = "") -> HttpResponse:
|
||||
break
|
||||
except TemplateDoesNotExist:
|
||||
pass
|
||||
status_mark = "готов к просмотру" if exists else "шаблон не создан"
|
||||
status_mark = "ready to preview" if exists else "template not found"
|
||||
links.append(f"<li><a href='/_error/{c}'><strong>/{c}</strong></a> ({status_mark})</li>")
|
||||
|
||||
html = f"""<!doctype html>
|
||||
<html lang="ru">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Dev: Предпросмотр страниц ошибок // HypnoSVG</title>
|
||||
<title>Dev: Error Pages Preview // HypnoSVG</title>
|
||||
<style>
|
||||
body {{ font-family: ui-monospace, monospace; background: #09090b; color: #d9f99d; padding: 2rem; line-height: 1.6; }}
|
||||
a {{ color: #a3e635; text-decoration: none; border-bottom: 1px dotted #a3e635; }}
|
||||
@@ -215,8 +216,8 @@ def debug_error_preview(request: HttpRequest, code: str = "") -> HttpResponse:
|
||||
</head>
|
||||
<body>
|
||||
<div class="card">
|
||||
<h2>Центр отладки страниц ошибок (DEBUG=True)</h2>
|
||||
<p>Выберите код для инспекции верстки и интерактивных скриптов перекалибровки:</p>
|
||||
<h2>Error Pages Debug Center (DEBUG=True)</h2>
|
||||
<p>Select an error code to inspect layout and recalibration scripts:</p>
|
||||
<ul>
|
||||
{''.join(links)}
|
||||
</ul>
|
||||
@@ -244,7 +245,7 @@ def debug_error_preview(request: HttpRequest, code: str = "") -> HttpResponse:
|
||||
|
||||
if not found_template:
|
||||
return HttpResponse(
|
||||
f"<h1>Шаблон для ошибки '{raw_name}' не найден</h1><p>Проверены: {', '.join(template_candidates)}</p><p><a href='/_error/'>← Вернуться к списку</a></p>",
|
||||
f"<h1>Template for error '{raw_name}' not found</h1><p>Checked: {', '.join(template_candidates)}</p><p><a href='/_error/'>← Back to index</a></p>",
|
||||
status=404,
|
||||
content_type="text/html; charset=utf-8",
|
||||
)
|
||||
@@ -281,7 +282,7 @@ def generate(request: HttpRequest) -> HttpResponse:
|
||||
form = HalftoneGenerateForm(request.POST, request.FILES)
|
||||
|
||||
if not form.is_valid():
|
||||
error_msg = next(iter(form.errors.values()))[0] if form.errors else "Ошибка параметров генерации"
|
||||
error_msg = next(iter(form.errors.values()))[0] if form.errors else "Generation parameter error"
|
||||
return render(request, "block/preview.html", {"error": error_msg})
|
||||
|
||||
image_file = form.cleaned_data["image"]
|
||||
@@ -313,7 +314,7 @@ def generate(request: HttpRequest) -> HttpResponse:
|
||||
return render(
|
||||
request,
|
||||
"block/preview.html",
|
||||
{"error": f"Сбой в матрице гипноза: {str(e)}"},
|
||||
{"error": f"Glitch in hypno matrix: {str(e)}"},
|
||||
)
|
||||
|
||||
return render(
|
||||
@@ -338,7 +339,7 @@ def publish(request: HttpRequest) -> HttpResponse:
|
||||
return render(
|
||||
request,
|
||||
"block/publish_status.html",
|
||||
{"error": "Нет данных SVG для публикации. Попробуйте сгенерировать заново."},
|
||||
{"error": "No SVG data for publication. Please try generating again."},
|
||||
)
|
||||
|
||||
visitor_uuid = request.COOKIES.get("hypn0_vid")
|
||||
@@ -411,7 +412,7 @@ def publish(request: HttpRequest) -> HttpResponse:
|
||||
return render(
|
||||
request,
|
||||
"block/publish_status.html",
|
||||
{"error": f"Сбой фиксации в трансе: {str(e)}"},
|
||||
{"error": f"Failed to record in trance: {str(e)}"},
|
||||
)
|
||||
|
||||
return render(
|
||||
@@ -690,6 +691,18 @@ def gallery_vote(request: HttpRequest, hash_id: str) -> HttpResponse:
|
||||
)
|
||||
|
||||
|
||||
def gallery_promo_redirect(request: HttpRequest, hash_id: str) -> HttpResponse:
|
||||
"""
|
||||
Эндпоинт для перехода по промо-ссылке картины с атомарным подсчетом переходов.
|
||||
"""
|
||||
item = get_object_or_404(TbHypn0Item, s_hash_id=hash_id, is_public=True)
|
||||
if not item.s_promo_url:
|
||||
raise Http404("Промо-ссылка для данной картины не настроена")
|
||||
|
||||
TbHypn0Item.objects.filter(pk=item.pk).update(i_promo_clicks=F("i_promo_clicks") + 1)
|
||||
return redirect(item.s_promo_url)
|
||||
|
||||
|
||||
def blog_feed(request: HttpRequest) -> HttpResponse:
|
||||
"""
|
||||
Лента статей блога / хроник гипноза с пагинацией.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{# ПРАВОЕ МЕНЮ #}<menu class="flex items-center gap-x-2 md:gap-x-4 justify-self-start text-sm sm:text-base md:text-xl font-semibold text-slate-900 dark:text-slate-100">
|
||||
<a href="{% url 'hypn0_site:gallery_archive' %}" class="px-2.5 py-1 sm:px-4 sm:py-2 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg border-0 text-slate-900 dark:text-slate-100">gallery</a>
|
||||
<a href="{% url 'hypn0_site:blog_feed' %}" class="px-2.5 py-1 sm:px-4 sm:py-2 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg hidden md:block hyphens-none border-0 text-slate-900 dark:text-slate-100">blog</a>
|
||||
<a href="#" class="px-2.5 py-1 sm:px-4 sm:py-2 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg hidden lg:block border-0 text-slate-900 dark:text-slate-100" @click.prevent="darkMode = !darkMode; localStorage.setItem('darkMode', darkMode)" title="Light/Dark theme"><span x-text="darkMode?'●':'○'"></span></a>
|
||||
<a href="#" class="px-2.5 py-1 sm:px-4 sm:py-2 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg border-0 text-slate-900 dark:text-slate-100" @click.prevent="darkMode = !darkMode; localStorage.setItem('darkMode', darkMode)" title="Light/Dark theme"><span x-text="darkMode?'●':'○'"></span></a>
|
||||
</menu>{# /ПРАВОЕ МЕНЮ #}
|
||||
</div>
|
||||
</header>
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
{% block META_TITLE %}{{ post.s_title|striptags }} — HypnoSVG{% endblock %}
|
||||
|
||||
{% block META_DESCRIPTION %}{% if post.s_teaser %}{{ post.s_teaser|striptags|truncatechars:160 }}{% else %}Dispatch from the Hypno Chronicles of HypnoSVG: {{ post.s_title|striptags }}{% endif %}{% endblock %}
|
||||
{% block META_DESCRIPTION %}{% if post.s_teaser %}{{ post.s_teaser|striptags|truncatechars:"160" }}{% else %}Dispatch from the Hypno Chronicles of HypnoSVG: {{ post.s_title|striptags }}{% endif %}{% endblock %}
|
||||
|
||||
{% block OG_TITLE %}{{ post.s_title|striptags }} | HypnoSVG{% endblock %}
|
||||
|
||||
{% block OG_DESCRIPTION %}{% if post.s_teaser %}{{ post.s_teaser|striptags|truncatechars:200 }}{% else %}Dispatch from the Hypno Chronicles of HypnoSVG: {{ post.s_title|striptags }}{% endif %}{% endblock %}
|
||||
{% block OG_DESCRIPTION %}{% if post.s_teaser %}{{ post.s_teaser|striptags|truncatechars:"200" }}{% else %}Dispatch from the Hypno Chronicles of HypnoSVG: {{ post.s_title|striptags }}{% endif %}{% endblock %}
|
||||
|
||||
{% block OG_IMAGE %}{% if post.f_cover_img %}{{ request.scheme }}://{{ request.get_host }}{{ post.f_cover_img.url }}{% elif post.k_item and post.k_item.file_svg %}{{ request.scheme }}://{{ request.get_host }}{{ post.k_item.file_svg.url }}{% else %}{% static 'img/og-hypn0-default.png' %}{% endif %}{% endblock %}
|
||||
|
||||
@@ -57,8 +57,8 @@
|
||||
"@type": "Article",
|
||||
"headline": "{{ post.s_title|striptags|escapejs }}",
|
||||
"description": "{{ post.s_teaser|striptags|escapejs }}",
|
||||
"datePublished": "{{ post.d_published_at|date:'r' }}",
|
||||
"dateModified": "{{ post.d_updated_at|date:'r' }}",
|
||||
"datePublished": "{{ post.d_published_at|date:"r" }}",
|
||||
"dateModified": "{{ post.d_updated_at|date:"r" }}",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "{{ request.scheme }}://{{ request.get_host }}{{ post.get_absolute_url }}"
|
||||
@@ -116,27 +116,21 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- ЕДИНАЯ ДВУХКОЛОНОЧНАЯ СЕТКА: 1/4 слева (превью + SVG), 3/4 справа (заголовок + дата + тизер + контент) -->
|
||||
{% if post.f_cover_img and post.k_item %}
|
||||
<!-- ДВА БЛОКА: 1. Верхний ряд (обложка слева + заголовок/тизер справа) и 2. Нижний ряд (SVG/экспликация слева + контент справа) -->
|
||||
<div class="grid grid-cols-1 md:grid-cols-4 gap-x-6 items-start">
|
||||
|
||||
<!-- 1. Верхний ряд слева (1/4): Тизер-превью обложки -->
|
||||
<div class="md:col-span-1 w-full pb-8">
|
||||
{% if post.f_cover_img %}{# ЕСТЬ ТИЗЕР-КАРТИНКА И ПОКАЗЫВАЕМ ЕË #}
|
||||
<div class="aspect-square sm:aspect-[4/3] md:aspect-square rounded-2xl overflow-hidden border border-stone-200 dark:border-zinc-800 shadow-md bg-stone-100 dark:bg-zinc-900">
|
||||
<div class="order-2 md:order-1 md:col-span-1 w-full pb-8">
|
||||
<div class="aspect-square rounded-2xl overflow-hidden border border-stone-200 dark:border-zinc-800 shadow-md bg-stone-100 dark:bg-zinc-900">
|
||||
<img src="{{ post.f_cover_img.url }}"
|
||||
alt="{{ post.s_title|striptags }}"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
{% else %}{# НЕТ ТИЗЕР-КАРТИНКИ И ПОКАЗЫВАЕМ ЗАГЛУШКУ #}
|
||||
<div class="aspect-square sm:aspect-[4/3] md:aspect-square rounded-2xl border border-dashed border-stone-300 dark:border-zinc-700 bg-stone-100/40 dark:bg-zinc-900/40 flex flex-col items-center justify-center p-3 text-stone-400 dark:text-stone-600 text-center">
|
||||
<img src="{% static 'img/brain-slug.svg' %}" alt="Brain Slug" class="w-10 h-10 opacity-40 mb-1">{# <-- СЮДА ДЕФОЛТНУЮ КАРТИНКУ #}
|
||||
<span class="text-[10px] uppercase tracking-wider">No visual transmitted</span>{# <-- А ПОСЛЕ ЭТО УБРАТЬ #}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- 1. Верхний ряд справа (3/4): Заголовок + Дата + Тизер с непрерывной пунктирной линией -->
|
||||
<div class="md:col-span-3 border-l-1 border-purple-500 border-dotted pl-6 pb-8 space-y-4">
|
||||
<div class="order-1 md:order-2 md:col-span-3 border-l-0 md:border-l-1 border-purple-500 border-dotted pl-0 md:pl-6 pb-8 space-y-4">
|
||||
<h1 class="text-3xl sm:text-4xl lg:text-5xl font-black tracking-tight text-stone-900 dark:text-stone-100 leading-tight">
|
||||
{{ post.s_title|safe }}
|
||||
</h1>
|
||||
@@ -161,12 +155,11 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- 2. Нижний ряд слева (1/4): Связанный SVG + Музейная экспликация (выровнены по вертикали с первой строкой контента) -->
|
||||
<div class="md:col-span-1 space-y-4">
|
||||
{% if post.k_item %}
|
||||
<!-- 2. Нижний ряд слева (1/4): Связанный SVG + Музейная экспликация под ним -->
|
||||
<div class="order-2 md:order-1 md:col-span-1 space-y-4 pt-6 md:pt-0">
|
||||
<aside class="space-y-3 md:sticky md:top-6">
|
||||
<!-- Интерактивное SVG-полотно экспоната -->
|
||||
<div class="aspect-square rounded-2xl overflow-hidden bg-stone-950 shadow-md flex items-center justify-center p-2 select-none hypn0-detail-canvas [&>svg]:w-full [&>svg]:h-full [&>svg]:max-w-full [&>svg]:max-h-full [&>svg]:object-contain">
|
||||
<div class="aspect-square rounded-2xl overflow-hidden bg-[var(--card-bg-light)] dark:bg-[var(--card-bg-dark)] border border-stone-300/80 dark:border-zinc-800/80 shadow-md flex items-center justify-center p-2 select-none hypn0-detail-canvas [&>svg]:w-full [&>svg]:h-full [&>svg]:max-w-full [&>svg]:max-h-full [&>svg]:object-contain">
|
||||
{% if active_svg %}
|
||||
<div class="w-full h-full flex items-center justify-center pointer-events-auto">
|
||||
<template shadowrootmode="open">
|
||||
@@ -265,11 +258,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- 2. Нижний ряд справа (3/4): Текстовый блок статьи -->
|
||||
<div class="md:col-span-3 border-l-1 border-purple-500 border-dotted pl-6">
|
||||
<div class="order-1 md:order-2 md:col-span-3 border-l-0 md:border-l-1 border-purple-500 border-dotted pl-0 md:pl-6">
|
||||
<div class="prose max-w-none font-sans text-base sm:text-lg">
|
||||
{{ post.s_content|safe }}
|
||||
</div>
|
||||
@@ -277,6 +269,164 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
<!-- ЕДИНЫЙ БЛОК: Левая колонка (SVG/экспликация, либо обложка, либо заглушка) + Правая колонка (заголовок + дата + тизер + контент) -->
|
||||
<div class="grid grid-cols-1 md:grid-cols-4 gap-x-6 items-start">
|
||||
|
||||
<!-- Левая колонка (1/4) -->
|
||||
<div class="order-2 md:order-1 md:col-span-1 space-y-4 pt-6 md:pt-0">
|
||||
{% if post.k_item %}{# 1. ЕСТЬ SVG (И НЕТ ОБЛОЖКИ) — ПОКАЗЫВАЕМ SVG И ПОД НИМ ЭКСПЛИКАЦИЮ #}
|
||||
<aside class="space-y-3 md:sticky md:top-6">
|
||||
<!-- Интерактивное SVG-полотно экспоната -->
|
||||
<div class="aspect-square rounded-2xl overflow-hidden bg-[var(--card-bg-light)] dark:bg-[var(--card-bg-dark)] border border-stone-300/80 dark:border-zinc-800/80 shadow-md flex items-center justify-center p-2 select-none hypn0-detail-canvas [&>svg]:w-full [&>svg]:h-full [&>svg]:max-w-full [&>svg]:max-h-full [&>svg]:object-contain">
|
||||
{% if active_svg %}
|
||||
<div class="w-full h-full flex items-center justify-center pointer-events-auto">
|
||||
<template shadowrootmode="open">
|
||||
<style>
|
||||
:host {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
pointer-events: auto;
|
||||
}
|
||||
svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
--hypn0-play: running !important;
|
||||
}
|
||||
</style>
|
||||
{{ active_svg|safe }}
|
||||
</template>
|
||||
</div>
|
||||
{% elif post.k_item.file_svg %}
|
||||
<img src="{{ post.k_item.file_svg.url }}" alt="{{ post.k_item.s_title }}" class="max-w-full max-h-full object-contain">
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Музейная экспликация (Табличка с описанием экспоната) -->
|
||||
<div class="bg-stone-100/80 dark:bg-zinc-900/80 border border-stone-200/80 dark:border-zinc-800 rounded-2xl p-3.5 space-y-2.5 text-xs shadow-sm">
|
||||
<div class="text-right">
|
||||
<div class="font-bold text-stone-900 dark:text-stone-100 text-sm leading-snug">
|
||||
{{ post.k_item.s_title|safe }}
|
||||
</div>
|
||||
<div class="flex items-center justify-end gap-1.5 my-2.5">
|
||||
<a href="{% url 'hypn0_site:gallery_detail' post.k_item.s_hash_id %}"
|
||||
class="text-[10px]"
|
||||
title="View artwork in gallery">#{{ post.k_item.s_hash_id }}</a>
|
||||
</div>
|
||||
<div class="flex items-center justify-end gap-1.5 mt-1.5">
|
||||
<span class="text-[10px] px-2 py-0.5 rounded-full bg-purple-500/10 text-purple-700 dark:text-purple-300 border border-purple-500/20 font-bold">
|
||||
{{ post.k_item.get_i_level_display }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="border-t border-stone-200/60 dark:border-zinc-800 pt-2 space-y-1.5 text-[11px] text-stone-600 dark:text-stone-400">
|
||||
{% if svg_stats.total_oscillators %}
|
||||
<div class="flex justify-between items-center">
|
||||
<span class="opacity-70">Oscillators:</span>
|
||||
<span class="font-bold text-stone-900 dark:text-stone-200">{{ svg_stats.total_oscillators }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if svg_stats.viewbox %}
|
||||
<div class="flex justify-between items-center">
|
||||
<span class="opacity-70">viewBox:</span>
|
||||
<span class="font-mono text-purple-600 dark:text-purple-400">{{ svg_stats.viewbox }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if svg_stats.total_kb %}
|
||||
<div class="flex justify-between items-center">
|
||||
<span class="opacity-70">Weight:</span>
|
||||
<span class="font-mono text-stone-900 dark:text-stone-200">{{ svg_stats.total_kb }} KB</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="flex justify-between items-center">
|
||||
<span><svg class="w-3.5 h-3.5 text-emerald-700" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"/>
|
||||
</svg></span>
|
||||
<span class="inline-flex items-center gap-1 font-bold text-stone-900 dark:text-stone-200">
|
||||
{{ post.k_item.i_views_count }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex justify-between items-center">
|
||||
<span><svg class="w-3.5 h-3.5 fill-rose-500 text-rose-500 shrink-0" viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"/>
|
||||
</svg></span>
|
||||
<span class="inline-flex items-center gap-1 font-bold text-stone-900 dark:text-stone-200">
|
||||
{{ post.k_item.i_likes_count }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Действия с экспонатом -->
|
||||
<div class="border-t border-stone-200/60 dark:border-zinc-800 pt-2 flex flex-col gap-1.5">
|
||||
<a href="{% url 'hypn0_site:gallery_download' post.k_item.s_hash_id %}"
|
||||
class="inline-flex items-center justify-center gap-1.5 px-3 py-1.5 rounded-xl text-xs font-bold bg-stone-200/70 hover:bg-stone-200 dark:bg-zinc-800 dark:hover:bg-zinc-700 text-stone-700 dark:text-stone-300 transition-all border border-stone-300/50 dark:border-zinc-700/50 border-0 text-center">
|
||||
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/>
|
||||
</svg>
|
||||
<span>Download SVG</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
{% elif post.f_cover_img %}{# 2. ЕСТЬ ТОЛЬКО ОБЛОЖКА #}
|
||||
<div class="aspect-square rounded-2xl overflow-hidden border border-stone-200 dark:border-zinc-800 shadow-md bg-stone-100 dark:bg-zinc-900">
|
||||
<img src="{{ post.f_cover_img.url }}"
|
||||
alt="{{ post.s_title|striptags }}"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
{% else %}{# 3. НЕТ НИ SVG, НИ ОБЛОЖКИ — ДЕФОЛТНАЯ ЗАГЛУШКА #}
|
||||
<div class="aspect-square rounded-2xl border border-dashed border-stone-300 dark:border-zinc-700 bg-stone-100/40 dark:bg-zinc-900/40 flex flex-col items-center justify-center p-3 text-stone-400 dark:text-stone-600 text-center">
|
||||
<img src="{% static 'img/brain-slug.svg' %}" alt="Brain Slug" class="w-10 h-10 opacity-40 mb-1">
|
||||
<span class="text-[10px] uppercase tracking-wider">No visual transmitted</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Правая колонка (3/4): Заголовок + Дата + Тизер + Контент -->
|
||||
<div class="order-1 md:order-2 md:col-span-3 border-l-0 md:border-l-1 border-purple-500 border-dotted pl-0 md:pl-6 space-y-6">
|
||||
<div class="space-y-4">
|
||||
<h1 class="text-3xl sm:text-4xl lg:text-5xl font-black tracking-tight text-stone-900 dark:text-stone-100 leading-tight">
|
||||
{{ post.s_title|safe }}
|
||||
</h1>
|
||||
|
||||
<!-- Дата и время публикации статьи в рамочке с иконкой часов -->
|
||||
<div class="flex items-center justify-start">
|
||||
<div class="inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-purple-500/10 text-purple-700 dark:text-purple-300 border border-purple-500/20 font-bold text-sm">
|
||||
<svg class="w-3.5 h-3.5 text-purple-700 dark:text-purple-300 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
||||
</svg>
|
||||
<time datetime="{{ post.d_published_at|date:"c" }}">
|
||||
{{ post.d_published_at|date:"r" }}
|
||||
</time>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Лид / Тизер статьи -->
|
||||
{% if post.s_teaser %}
|
||||
<div class="text-base sm:text-lg text-stone-600 dark:text-stone-300 leading-relaxed font-sans p-4 sm:p-5 bg-stone-100 dark:bg-zinc-900 border border-stone-200 dark:border-zinc-800 rounded-2xl">
|
||||
{{ post.s_teaser|safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Основной текст статьи -->
|
||||
<div class="prose max-w-none font-sans text-base sm:text-lg">
|
||||
{{ post.s_content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- РАЗДЕЛ СЕРИИ: список глав (если статья является родительской подборкой/серией) -->
|
||||
{% if series_posts and not series_parent %}
|
||||
<section class="space-y-4 pt-8 border-t border-stone-200 dark:border-zinc-800">
|
||||
@@ -292,7 +442,7 @@
|
||||
<div class="bg-stone-100/70 dark:bg-zinc-900/70 rounded-2xl border border-stone-200 dark:border-zinc-800 p-4 space-y-2 hover:border-purple-400 dark:hover:border-purple-600 transition-colors">
|
||||
<div class="flex items-center justify-between text-[11px] text-stone-400">
|
||||
<span class="font-bold text-purple-600 dark:text-purple-400">Chapter {{ child.i_order }}</span>
|
||||
<time datetime="{{ child.d_published_at|date:"c" }}">{{ child.d_published_at|date:'r' }}</time>
|
||||
<time datetime="{{ child.d_published_at|date:"c" }}">{{ child.d_published_at|date:"r" }}</time>
|
||||
</div>
|
||||
<h3 class="font-bold text-sm text-stone-900 dark:text-stone-100">
|
||||
<a href="{{ child.get_absolute_url }}" class="hover:text-purple-600 dark:hover:text-purple-400 transition-colors border-0">
|
||||
|
||||
@@ -169,6 +169,44 @@
|
||||
<span>{{ svg_stats.total_kb }} KB</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if item.has_promo %}
|
||||
<!-- Спонсорская / Промо плашка (Изумрудный сплит-блок) -->
|
||||
<a href="{% url 'hypn0_site:gallery_promo_redirect' item.s_hash_id %}"
|
||||
target="_blank"
|
||||
rel="noopener sponsored"
|
||||
class="group flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-2.5 p-1.5 sm:pr-3.5 bg-emerald-600 hover:bg-emerald-700 text-white rounded-xl shadow-md transition-all hover:scale-[1.01] active:scale-[0.99] border-0 no-underline cursor-pointer">
|
||||
<div class="flex items-center gap-2.5 min-w-0">
|
||||
<!-- Левый бейдж с дисклеймером/ERID в title -->
|
||||
<span title="{% if item.promo_disclaimer %}{{ item.promo_disclaimer|striptags }}{% elif item.s_promo_title %}{{ item.s_promo_title|striptags }}{% else %}Sponsored integration{% endif %}"
|
||||
class="px-2.5 py-1 bg-emerald-800/90 text-emerald-100 rounded-lg text-[10px] font-black uppercase tracking-wider shrink-0 shadow-inner cursor-help">
|
||||
ADV
|
||||
</span>
|
||||
<!-- Описание промо -->
|
||||
{% if item.promo_desc %}
|
||||
<span class="text-xs font-medium text-emerald-50 truncate sm:whitespace-normal leading-tight">
|
||||
{{ item.promo_desc|safe }}
|
||||
</span>
|
||||
{% elif item.s_promo_title %}
|
||||
<span class="text-xs font-medium text-emerald-50 truncate sm:whitespace-normal leading-tight">
|
||||
{{ item.s_promo_title|safe }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Правая часть / CTA и стрелочка -->
|
||||
<div class="flex items-center justify-end gap-1.5 text-xs font-bold text-white shrink-0 pl-1 sm:pl-0">
|
||||
{% if item.promo_cta %}
|
||||
<span class="underline decoration-emerald-300/60 decoration-2 underline-offset-2">{{ item.promo_cta|safe }}</span>
|
||||
{% else %}
|
||||
<span class="underline decoration-emerald-300/60 decoration-2 underline-offset-2">Visit</span>
|
||||
{% endif %}
|
||||
<svg class="w-3.5 h-3.5 transition-transform duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
||||
</svg>
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- МАТЕРИАЛЫ ИЗ ХРОНИК ГИПНОЗА (БЛОГ) -->
|
||||
|
||||
+150
-64
@@ -1,69 +1,155 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Security & Privacy Policy — HypnoSVG</title>
|
||||
</head>
|
||||
<body>
|
||||
TEMPORARY DRAFT
|
||||
{% extends '_base.html' %}
|
||||
{% load static %}
|
||||
|
||||
<h1>Security & Privacy Policy (SECURITY)</h1>
|
||||
{% block PAGE_TITLE %}About HypnoSVG (hypn0) — Procedural Animated Halftone & Vector Matrix Engine{% endblock %}
|
||||
|
||||
—teaser:
|
||||
{% block META_TITLE %}About HypnoSVG — Production-Ready Animated Halftones & Vector Matrices{% endblock %}
|
||||
|
||||
<p>We don’t know who you are… and we don’t want to know. The Hypn0.xyz (HypnoSVG) platform operates in strict compliance with Inter­galactic DOOP Protocols and GDPR directives, adhering to the Zero Personally Identifiable Information (Zero-PII) doctrine. No registration, logins, passwords, emails, SMS, or phone numbers. The database contains zero user or account tables. Synthesized SVG files contain purely mathematical coordinates of vector primitives and inline CSS animations. No source image metadata is embedded (EXIF tags, geolocation, and hardware device profiles are purged during raster­ization).</p>
|
||||
<h2>Prologue: The Anatomy of Privacy in the Age of Mental Resonance</h2>
|
||||
<p><em>We are the Hypnotoad, the Brain Slugs, and the Receptors of Planetary Mind-Numbing. And we don’t want to know who you are. Don’t even try to persuade us.</em></p>
|
||||
<p>The Hypn0 platform is engineered from the ground up on the <strong>Zero-PII (Zero Personally Identifiable Information)</strong> doctrine. We do not require registration, logins, passwords, email addresses, or phone numbers. In the project database, user and account tables simply do not exist. Generated SVG files contain only mathematical coordinates of geometric primitives and inline CSS keyframes. Zero metadata from source images is retained (EXIF tags, GPS coordinates, device specs, and even source file names are completely stripped during raster­ization).</p>
|
||||
<hr/>
|
||||
<h2>Section I. No-Consent Mode (Default / No-Tracking)</h2>
|
||||
<p>If you have not clicked the “<strong>Submit to Hypnotoad!</strong>” button—you are completely invisible in the astral realm. This means:</p>
|
||||
<ol>
|
||||
<li>Hypn0 (HypnoSVG) does not deploy <strong>any client identifiers</strong>. Neither cookies nor browser <code>localStorage</code> records are created.</li>
|
||||
<li><strong>External analytics systems are disabled</strong>: tracking beacons and metric counters (Google Tag Manager, analytics scripts, etc.) are blocked at the template level and physically never loaded onto the client device.</li>
|
||||
<li><strong>Server logs</strong>—the only baseline telemetry captured by infrast­ructure (IP address, User-Agent, requested URL, and timestamp) — are utilized strictly for DDoS defense and uptime monitoring, retained for a minimal duration with regular rotation faster than memories fade after a hypnosis session.</li>
|
||||
</ol>
|
||||
<hr/>
|
||||
<h2>Section II. Restrictions for Free Humanoids Without a Brain Slug</h2>
|
||||
<p>Humanoids who decline tracking or withhold explicit consent can freely use the local vector generator and browse the gallery. However, they <strong>cannot access pseudo-social platform features</strong>:</p>
|
||||
<ul>
|
||||
<li>Publishing original works to the public “<a href="/gallery">Trance Gallery</a>”;</li>
|
||||
<li>Voting for artworks (transmitting psychic resonance / likes);</li>
|
||||
<li>Submitting complaints or flagging spam and non-transcendent content.</li>
|
||||
</ul>
|
||||
<h3>Reason for Restrictions: Anti-Abuse & Bot Defense</h3>
|
||||
<p>To operate the gravit­ational Brain Slug sorting algorithm (curated ranking) and fairly distribute artworks across tiers (“Incubator”, “Approved by Brain Slug”, “Deep Trance Hall of Fame”), the platform requires a unique anonymous client anchor.</p>
|
||||
<p>Because a humanoid who has not “surrendered to the Hypnotoad” carries no device anchor, the Lord of Mental Intros­pections (the server) cannot recognize duplicate votes. This would lead to instant scripted vote tampering, spam surges, and the destabi­lization of the entire gallery ecosystem.</p>
|
||||
<hr/>
|
||||
<h2>Section III. Consent Mechanism via “Submit to Hypnotoad!”</h2>
|
||||
<ol>
|
||||
<li>The browser generates a cryptog­raphic pseudo-random identifier via <code>crypto.randomUUID()</code> (UUID v4).</li>
|
||||
<li>The value is stored in a cookie and/or browser <code>localStorage</code> under the key <code>hypn0_vid</code>.</li>
|
||||
<li>The lifespan is configured for two Earth years, with transmission flags set to safe mode (<code>path=/; SameSite=Lax</code>).</li>
|
||||
<li>The <code>hypn0_vid</code> token is a purely random string and cannot be linked to your real identity, physical vessel, or cerebral Theta/Alpha brainwaves.</li>
|
||||
<li>The identifier is used by the backend exclusively for rate limiting and enforcing the “one vote per artwork per browser” rule.</li>
|
||||
</ol>
|
||||
<hr/>
|
||||
<h2>Section IV. File Processing Security during SVG Generation</h2>
|
||||
<ul>
|
||||
<li><strong>Input Data Sanitization (Source Images):</strong> All inbound images pass through the Pillow mental shredder, decoded exclusively in RAM, and immediately cleansed of mundane metadata. No EXIF tags, geolocation, camera models, or temporary disk artifacts remain on server storage.</li>
|
||||
<li><strong>Output Vector Security:</strong> The server stores only vector artworks synthesized by the native Hypn0 (HypnoSVG) core. Output SVGs are generated strictly program­matically and contain no <code><script></code> tags, external <code>xlink:href</code> links, or event handlers like <code>onload</code> or <code>onclick</code>. This eliminates Stored XSS risks when viewing other humanoids’ works: foreign halftones are completely harmless to your optic nerves (aside from the risk of spontaneous hypnotic trance).</li>
|
||||
<li><strong>Resource Limits (DoS Prevention):</strong> Strict thresholds are? enforced on maximum upload size, grid density (<code>cols</code>), and element radii, preventing memory exhaustion and overheating of New New York processors.</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
<h2>Epilogue: Matrix Anomalies & Vulner­ability Disclosure</h2>
|
||||
<p>If you discover a security flaw capable of bypassing the will of the Hypnotoad or injecting alien code into the consciousness of Hypn0 — please approach disclosure with utmost inter­galactic respon­sibility:</p>
|
||||
<ul>
|
||||
<li>Do not publish vulner­ability details publicly, preventing space pirates and rogue bots from exploiting them before a patch is deployed.</li>
|
||||
<li>Send a detailed report to the project maintainer via the <a href="https://github.com/erjemin/2026-hypn0-site/issues" target="_blank">repository issue tracker</a> marked as security, or directly to the <a href="#" id="c-l" onclick="this.href='ma'+atob('aWx0bzplcmplb'+'WluQGdtYWlsLmNvbQ==');">admin­istrator’s email</a>.</li>
|
||||
<li>Describe attack vectors, step-by-step reproduction (PoC), and potential system impact.</li>
|
||||
<li>We will promptly acknowledge receipt and neutralize the anomaly. Please refrain from public disclosure until the vulner­ability is resolved.</li>
|
||||
</ul>
|
||||
{% block META_DESCRIPTION %}Learn how HypnoSVG turns raster graphics into lightweight, hypnotic animated vector matrices. Practical use cases for web design, banner backdrops, hero typography, open-source repository, and custom bespoke engineering.{% endblock %}
|
||||
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
{% block OG_TITLE %}About HypnoSVG — Procedural Animated Vector Halftone Engine{% endblock %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{% block OG_DESCRIPTION %}Deconstruct raster images into pulsating CSS-animated SVG matrices. Production-ready, ultra-lightweight, open-source, and zero JS execution overhead.{% endblock %}
|
||||
|
||||
{% block CANONICAL %}{{ request.scheme }}://{{ request.get_host }}/about/{% endblock %}
|
||||
|
||||
{% block CONTENT %}
|
||||
<article class="prose max-w-7xl mx-auto py-4 font-sans text-stone-800 dark:text-stone-200">
|
||||
|
||||
<!-- Header -->
|
||||
<header>
|
||||
<p><em>About the Platform & Practical Utility</em></p>
|
||||
<h1>Vector Halftones That Refuse to Be Ignored</h1>
|
||||
<p>
|
||||
<strong>HypnoSVG (hypn0)</strong> is an open-source procedural raster-to-vector engine that transforms ordinary photos, logos, and digital graphics into pulsating, mathematically synchronized SVG matrices with zero JavaScript runtime overhead.
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Core Proposition -->
|
||||
<section>
|
||||
<h2>What Is HypnoSVG and Why Does It Exist?</h2>
|
||||
<p>
|
||||
Modern web design is saturated with static flat illustrations and bloated, power-hungry video backgrounds. GIF animations are heavy and pixelated, while canvas-based WebGL shaders often spike mobile CPU load and drain battery life.
|
||||
</p>
|
||||
<p>
|
||||
<strong>HypnoSVG</strong> bridges the gap by decomposing raster images into procedural geometric grids (circles, concentric rings, diamonds, stars, binary code, snowflakes, and custom glyphs) driven by native, phase-shifted <strong>pure CSS <code>@keyframes</code></strong>.
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>Ultra-Lightweight (20–50 KB):</strong> Clean vector markup that scales infinitely from a mobile favicon to a 4K billboard without pixelation.</li>
|
||||
<li><strong>Zero Scripting Overhead:</strong> 100% hardware-accelerated browser rendering with zero JS dependencies.</li>
|
||||
<li><strong>CC0 1.0 Public Domain Output:</strong> All generated vector files are completely free for personal and commercial use without mandatory attribution.</li>
|
||||
<li><strong>Open-Source Core:</strong> The source code is open and available on <a href="https://git.cube2.ru/erjemin/2026-hypn0-site" target="_blank" rel="noopener">git.cube2.ru</a> and mirrored on <a href="https://github.com/erjemin/2026-hypn0-site" target="_blank" rel="noopener">GitHub</a> under the PolyForm Noncommercial License.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Practical Use Cases -->
|
||||
<section>
|
||||
<h2>Practical Ways to Use HypnoSVG in Production</h2>
|
||||
<p>
|
||||
While our aesthetic draws subtle inspiration from the hypnotic frequencies of the legendary Hypnotoad, the generated output is engineered strictly for real-world web design, UI/UX, marketing, and creative engineering:
|
||||
</p>
|
||||
|
||||
<h3>1. High-Conversion Banner Backdrops (Defeating Banner Blindness)</h3>
|
||||
<p>
|
||||
Standard static display ads and promotional blocks often get filtered out by human peripheral vision. An animated HypnoSVG matrix introduces subtle, rhythmic micro-pulsation that naturally draws attention without being intrusive.
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
<strong>Pro-Tip for Text Legibility:</strong> Inside the generated SVG (or via its CSS container), adjust the overall opacity to <code>opacity: 0.15–0.35</code> and place it over a solid or slightly tinted background. Any promotional typography, CTA buttons, or pricing tags placed on top will remain <strong>100% crisp and readable</strong>, while the living matrix underneath delivers an unmistakable dynamic depth.
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<h3>2. Hero Sections & Knockout "Cut-Out" Typography</h3>
|
||||
<p>
|
||||
For tech startups, SaaS intros, and modern landing pages, contrast is essential. Invert the visual hierarchy: generate a rich, high-density dark or neon duotone halftone matrix, and overlay heavy white "knockout" text (reverse typography) across the viewport.
|
||||
</p>
|
||||
<p>
|
||||
The kinetic motion within the matrix breathes vitality through the negative space of the letters, giving your headline an organic, almost living presence.
|
||||
</p>
|
||||
|
||||
<h3>3. UI Atmospheric Layers, 404 Backdrops & Interactive Preloaders</h3>
|
||||
<p>
|
||||
Embed animated SVGs directly inline or as CSS <code>background-image</code> rules. They work seamlessly as ambient background textures for Dark Mode interfaces, cyberpunk dashboards, radar HUDs, or error screens that turn a standard 404 into an engaging brand touchpoint.
|
||||
</p>
|
||||
|
||||
<h3>4. Merchandise, Posters & CNC / Laser Fabrication</h3>
|
||||
<p>
|
||||
When paused or downloaded as static vector paths, HypnoSVG files are ready for screen printing, vinyl plotting, laser engraving, and silk-screen apparel design.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Online Generator Limits & Bespoke Customization -->
|
||||
<section>
|
||||
<h2>Online Generator Limits & Custom Commercial Projects</h2>
|
||||
<p>
|
||||
The public online generator at <a href="{% url 'hypn0_site:index' %}">hypn0.xyz</a> is tuned for instant browser-based responsiveness and shared server stability, with reasonable limits on upload dimensions, grid density, and element counts.
|
||||
</p>
|
||||
<p>
|
||||
Need something beyond standard online capabilities? The author is available for <strong>custom development and bespoke vector engineering</strong>:
|
||||
</p>
|
||||
<ul>
|
||||
<li>High-density ultra-resolution offline generations (billboards, high-DPI prints, complex multi-layer vector matrices).</li>
|
||||
<li>Engine modifications, custom algorithmic shaders, specialized geometric primitives, and branded SVG patterns.</li>
|
||||
<li>Tailored frontend integrations for interactive websites, dynamic data visualizations, and bespoke design systems.</li>
|
||||
</ul>
|
||||
<p>
|
||||
To discuss bespoke commissions, engine licensing, or technical collaboration, reach out to the <a href="#" id="c-l" onclick="this.href='ma'+atob('aWx0bzplcmplb'+'WluQGdtYWlsLmNvbQ==')+'?subject='+encodeURIComponent('HypnoSVG: Bespoke Project / Custom Commission');">administrator’s email</a>.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Community Showcase & Blog Features -->
|
||||
<section>
|
||||
<h2>Community Showcase: Get Featured on Hypno Chronicles</h2>
|
||||
<p>
|
||||
We actively highlight real-world use cases, design experiments, and production deployments in our official blog (<strong>Hypno Chronicles</strong>).
|
||||
</p>
|
||||
<p>
|
||||
Have you used HypnoSVG in a live website, landing page, advertising campaign, poster series, album cover, or generative coding project? Send us your case study!
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>Case submission:</strong> Send your project description, live URL, and accompanying illustrations or screenshots.</li>
|
||||
<li><strong>Curated selection:</strong> We do not publish automated submissions blindly, but the more interesting your project and the more detailed the write-up, the closer you get to a <strong>100% guarantee of publication</strong>.</li>
|
||||
<li><strong>Backlinks & Visibility:</strong> Published articles feature an in-depth breakdown of your workflow with direct, prominent links to your portfolio, agency, or social profiles, plus potential induction into the <a href="----">Trance Gallery Hall of Fame</a>.</li>
|
||||
</ul>
|
||||
<p>
|
||||
Send your showcase submissions via <a href="https://github.com/erjemin/2026-hypn0-site/issues" target="_blank" rel="noopener">GitHub Issues</a> or directly via the <a href="#" id="c-l-showcase" onclick="this.href='ma'+atob('aWx0bzplcmplb'+'WluQGdtYWlsLmNvbQ==')+'?subject='+encodeURIComponent('HypnoSVG: Showcase Case Study Submission');">administrator’s email</a>.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Open Source & Licensing -->
|
||||
<section>
|
||||
<h2>Open Source & Licensing</h2>
|
||||
<p>
|
||||
HypnoSVG is developed with transparency and respect for creative independence:
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>Source Repository:</strong> Hosted at <a href="https://git.cube2.ru/erjemin/2026-hypn0-site" target="_blank" rel="noopener">git.cube2.ru/erjemin/2026-hypn0-site</a> and mirrored on <a href="https://github.com/erjemin/2026-hypn0-site" target="_blank" rel="noopener">GitHub</a>.</li>
|
||||
<li><strong>Platform Code:</strong> Licensed under <a href="https://git.cube2.ru/erjemin/2026-hypn0-site/src/branch/master/LICENSE.md" target="_blank" rel="noopener">PolyForm Noncommercial 1.0.0</a>.</li>
|
||||
<li><strong>Synthesized SVGs:</strong> Released under <a href="https://creativecommons.org/publicdomain/zero/1.0/" target="_blank" rel="noopener">Creative Commons Zero (CC0 1.0 Universal)</a> — completely unrestricted for personal and commercial usage.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Footer Navigation -->
|
||||
<footer>
|
||||
<p>
|
||||
<a href="{% url 'hypn0_site:index' %}">Launch Generator →</a> |
|
||||
<a href="----">Explore Gallery →</a> |
|
||||
<a href="{% url 'hypn0_site:blog_feed' %}">Read Blog →</a>
|
||||
</p>
|
||||
<p><small>All glory to the Hypnotoad. Generated vectors are licensed under CC0 1.0 Universal.</small></p>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
{% endblock CONTENT %}
|
||||
Generated
+146
-146
@@ -2,18 +2,18 @@
|
||||
|
||||
[[package]]
|
||||
name = "asgiref"
|
||||
version = "3.12.1"
|
||||
version = "3.13.0"
|
||||
description = "ASGI specs, helper code, and adapters"
|
||||
optional = false
|
||||
python-versions = ">=3.10"
|
||||
python-versions = ">=3.11"
|
||||
files = [
|
||||
{file = "asgiref-3.12.1-py3-none-any.whl", hash = "sha256:fe386d1c2bff7259ea95929266d12a8cf9a8b5a1c2598402967d8792e7a7c094"},
|
||||
{file = "asgiref-3.12.1.tar.gz", hash = "sha256:59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340"},
|
||||
{file = "asgiref-3.13.0-py3-none-any.whl", hash = "sha256:f9596a2434512686473d50f96ff6207fbba49ae1a785dfac614df4aeb085674d"},
|
||||
{file = "asgiref-3.13.0.tar.gz", hash = "sha256:034cc8cbf72d00553b4be256703ac545120b4e50af13b49dec99da899aeeecb4"},
|
||||
]
|
||||
|
||||
[package.extras]
|
||||
mypy = ["mypy (>=1.14.0)"]
|
||||
tests = ["pytest", "pytest-asyncio"]
|
||||
tests = ["packaging", "pytest", "pytest-asyncio"]
|
||||
|
||||
[[package]]
|
||||
name = "beautifulsoup4"
|
||||
@@ -39,13 +39,13 @@ lxml = ["lxml"]
|
||||
|
||||
[[package]]
|
||||
name = "django"
|
||||
version = "6.1.1"
|
||||
version = "6.1.2"
|
||||
description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design."
|
||||
optional = false
|
||||
python-versions = ">=3.12"
|
||||
files = [
|
||||
{file = "django-6.1.1-py3-none-any.whl", hash = "sha256:585fb82bf15053c42cf52e67c2f1b54a032dca384759315fd6678ab1870d1d72"},
|
||||
{file = "django-6.1.1.tar.gz", hash = "sha256:7ab93536d8e677aa14554c56426290c69480bf2ee68d7513d4a22f57d6bfeb84"},
|
||||
{file = "django-6.1.2-py3-none-any.whl", hash = "sha256:141efee6ec64d1db6db90683bf734c550102450f444fb099063b0be1bd27d991"},
|
||||
{file = "django-6.1.2.tar.gz", hash = "sha256:a1e92451ccb8b514e91bbb3b6d186d20b4030558f116b5d9de6535455ff210b7"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
@@ -445,152 +445,152 @@ files = [
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "2026.9.10"
|
||||
version = "2026.9.29"
|
||||
description = "Alternative regular expression module, to replace re."
|
||||
optional = false
|
||||
python-versions = ">=3.10"
|
||||
files = [
|
||||
{file = "regex-2026.9.10-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7dcad477c49c4c626a6c4fcd71b39a971aa217060cc40a6569fd24edcc0fa509"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d414c411c06fe0009eac33488fb1591c66b5c2673e342e452e7bb2fe63da8194"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f2f43bf4e47ff7ce9e585558706d698c6204d0f80bf2207766382ed817c8e9f4"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24d12a625a37c89c2b09303402a06942f55f071b95a7916a49c17034c3d47cd5"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ef4ce69ff97fbb44b46751cfea5e859ad0b66d1a50abf34954f0645f51e81671"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:044bd4639b6bb409ec9e5d8b7accd57e02b4c4a4e2eafde916f8ae8006b3e40b"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c3d95d7d9538b5b726dd6fcd7b6117a71e6565202f6d64f5845fb4d8f203f533"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:faa911fbbcf8ac90bda0e0657d60768e3390954ef0588211d63a22add1cb1cd1"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ecb2e7acb18f8cc4a67f0ad986c0af291ea4dd385d0614ba9bc09d7f8bbb478c"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4971776b4f2bd7fd9a83eceb2cb2592cbe2924f639fe8045e6a9de5ba4bfcf25"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:f8bdec659a8fa7af51a32b224b3b7c02bc415d54ffd35187b1d224176b17d607"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:3540734dbe241ebb3b87d5713781f6749a3e4d45480f506aa5fb5cbb0c37d249"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:87f5f75c109f08f5c602d68e1af54cead8165189c727b6ac946b30b9833a3ba4"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:88b02aa8d0ec9b6189fe933d425775882271c23700ac11fd26d1779b0f56fde3"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-win32.whl", hash = "sha256:13c52fc377792675f604a207a2ae5958c080f6854f7698d40d9ff034d95b1e76"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-win_amd64.whl", hash = "sha256:e6b99181d184d0f5c7b36b8d12b94d1e9499cce6246594331f9edc5d2ea9fceb"},
|
||||
{file = "regex-2026.9.10-cp310-cp310-win_arm64.whl", hash = "sha256:abbfc1c33bf8efddcc43844aba61e036d74a918680dc3ce8ce2538b004eda0f9"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:debc629e98b95abaea1cf3057ca296151f348c697c9b8a59d18013adb302c0dd"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9d772586951d7d6a5d162d48f414065e483b1c81ab38fd8ed97c78b05883421a"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b43456de605c8ee77eb75f07bc1ee44ba27f9cee22207deb77d495e954b7d953"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f0a8b4928823bc8b217a1ab7bf3d90598909dec9a70fbbfe9a52cc4eca55990"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b91c37551bf39d75116c02b146956f65b9aa0337a4a652f4ae186983789d4001"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0b9ba3b2765cdfe18f0f561a69f78a69701f2896654a81c711108d35d14e5099"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0acee94b480dd853e39434aa9a575f95385b1b4b8fa3feae56db363ca5cad782"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a41693eb3fc4b92e6127d113813c6c395237f7edd3224abf67609af48c690d11"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6888065672b341e5246f391ec16dc258a29218ac784172fd67c30d941544755b"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:8c07021a4faa3f092869adbd1f35cdc7a592276c807aeebc3ceb8ff1a638f0b4"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:58c01f7b81079cf0817ba831ff4d9eff5d28be4a3ac76c353e6f09bd63f4c386"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:f0e2e5d23448b660d60a6ed85c46cc03b4b48bd276b8f4041d4a5fe2a4a0626b"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:94d096369b7cd96d15343fef5257fe39eff9d0e8758b92a0e15e358b92cdb2fc"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-win32.whl", hash = "sha256:7f8f10015866608fe4c043cec2e4fe4c39a94bb50e45091de4cdf4004b9ae4b0"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-win_amd64.whl", hash = "sha256:ce7c118cb102975f974585688357a717ffbf9dddd64ab0bb1bc93eb5b367cf95"},
|
||||
{file = "regex-2026.9.10-cp311-cp311-win_arm64.whl", hash = "sha256:1e954e246466d5a1a78f563ce8364b5d7cb19e7adb0ccdec8f9c9610083187bc"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:880ac684c27176464c00c3fdc456116364f5ebc70da07aad0c2d4a7ba45e98db"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b9d36b03dc362aa40ffaaec9d9bd75e87763529563ec008c43b0e07782f5be7a"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:866de9f98df0611d7b62b3a8729d3284a64c0cc6edd90bb95a533e443a4939cb"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4c66d54042a14a503907d81861b8a5235e6d1f03d4fbc1d8767f652eaf957ac1"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:032da15431c890d376f53547f0a6219f4f4cd19f3e4f11bdc321453b5bd207e4"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:23ac9a28180f274d7dd7651fa131ad5b02d343b75df4b040737f0356223895dd"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2e67f8843f0e4b931f1fa860bf3bbe4134b714c0155cc5c7c0d7ea450230aae0"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bb7774924f8cd69f49cba0b3c2d679a6326f777e0e67d130ad5203e4df53f0d3"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0c32480f3371b75068decaf9e5da72c224e953830dd71e36e06cf80e30ea39d8"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:d2d377fd1cad611b806cdd732d86b65f536c768209890cb442556548daa65a23"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:c014641157e9049b0603b8daa5343bd408d9b757b709aaa0f373cd3fab2d7944"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:1562aabd9d4eb09bd88a62ad97ed06800094b529ac43419e43020b9cefec79b0"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2479171edccced52ef02b899558f88ab2c235fe05b93180fdcae1670aacd89e1"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-win32.whl", hash = "sha256:239620b0e0681669367c0e218c8eb2551d9f8fe3b9fccfc8d0003377804e8348"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-win_amd64.whl", hash = "sha256:4db7d00c4afbfbb55b8e17b1e371da11418ea9389b030acec63c1fa4c7ad4b86"},
|
||||
{file = "regex-2026.9.10-cp312-cp312-win_arm64.whl", hash = "sha256:c25a754bb81a2edcfc3b65eda50f017d736f818112ed43e8aafd595cb00678ae"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ef5a059ea1c6ee5d1c7e99a2484e628608d010921efe876c6f0e2029d2f35eca"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:dce932f8e3ba936475ea3d0d8b59f7b050a9e206e994f53f8fd80299871e87da"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d8c668af8f7bdb1d18739c27d30cd9f4b371495a883f75a002fb7a39d740fecd"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6aebdd9a946de328b3f6f61dbf48dd064a36eb6dddf96e34ae6651d37f6e9383"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f2374c27deb189b282ec7e16106752c22ad39b056bbd8018960b1e4cc95d67a1"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e0dc78251154b66dc60211563fc115345da332eaa881e4e2523fb1edae3772f4"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bafa41b0dd63669e5c0f8adf3d24819efeb73c847f492eb011212eb352e69041"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ebb2ba68e4641a994061f70bf44ed448fba0b9b1d18c94ffb9efc1cca805b39b"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:048a89ee797db10160bd2bd519286577a6b43a100279bd4b7d8456a3d69c80a0"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:79e9432995e14c749d34209413de5e621ec8e67789bf4f46dbfabea9d06a2406"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:5847e22bbf959764d776937d791d034cc2d19b787e361c88d97e859e8dc68502"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:c103b3b14e011774af4fb7e4617ad4d72b9171905cd3b231a70a4efd76e477d7"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6b34a778c695d24e77c140e3b4c95da69282e34f2f6b02b55656aa4a0379f643"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-win32.whl", hash = "sha256:7abb38b8c40f3a235235a44da452c64b7b5c1d650ec6351027db0e090804f2e5"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-win_amd64.whl", hash = "sha256:20e8bfb07ad79a282f8b95b56fe67f9750b1b7f775724e4ba1f23cb296115ce4"},
|
||||
{file = "regex-2026.9.10-cp313-cp313-win_arm64.whl", hash = "sha256:3bdeed3318a8eb2bbadc9c56347e0ff651639e934a47e168d05a3b12929fd0e7"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fd6bd89b9fc06018d35851cab0240adb7dd84d51941b19f6574ac90cd54e3ae5"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ef4c0a9dfdc90581b90b1b95a8c3d1557f8ff8f5a2a53536d26314de699d1468"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:14caa05ce39ec70437af5aac8814c50ee6628f4a90353871c059692f448a164f"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3264132d576847ab5f88bb83e7debe67854bf165b3ea613bd467312b6099536a"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5cef9f3d14796500ea834c41dbe688f1f6b23c7024dc23e8a794d7ebaf5d71d0"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d278ad30ec83b6b9202685b0f80b741a51ea3ca7f0595ebda96e7628b6398876"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05fb018cfe7144585fc83882405906ff84994a2d154afc2509ecc7752c51f864"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6fd555fc9abef50c530869690b2daca054c8811a7aff632d11f9a7b2590b2742"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8d5c4518235a2ec1611e57af85fa488d529c1106aacff12adadcedf8687012cd"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:175cf49ce7a994c88b8f15e3cb17cdb66a48ebb2d36de736b8205033db950f89"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:b71649169a9fcf30b395ee01047fa7ad6654a4c900ca75b23c04dedcce6a1f8c"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:8ba1f78bd4fef2d8f84b894ec28ac3481afe6cc07aaa253ad4717ef7b3fe6bcb"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:217e98ba5fc8908ed8ffd4ebac04753a0c831067cbfb495b9821b94cc61eaa76"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-win32.whl", hash = "sha256:b298cdc33c5cc6969ff07f0fba19cc73e0fd8576373c50935feadaca2f6b4405"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-win_amd64.whl", hash = "sha256:c32818b28bcd153b25b63038348a9fe9b9fbcddb60df43f204c3ab55eeb57f77"},
|
||||
{file = "regex-2026.9.10-cp314-cp314-win_arm64.whl", hash = "sha256:75242f44a3e283106077be4ab717bc535e4701c9d54ad69e195945c22f137a1d"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:2dd9286093c71afc8f55ef035c5b9d2776641fd72c6535f1febc92d0b0be9666"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:71879292c9c7ac67b1680345b16daba1be937cb027362cfa04e68f65db2dcfdd"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5ccd139b2061132e7b265cfb4b4721baeb9f8928b81415304abf1ec7e3181c26"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e7327795089ddb44912dce1434e1d7244be2e9fb48fcc2d6782936af7a3062db"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ff4d7b14ea19e50c8d9d6d83f45bd9b45cbb624c07ac1fa54db0a019049abed7"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4f0407474ffac8e5e89d93ca41d60891e29f0ab8423eb66ff292d850a86a0843"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1ad10a135fa0b4e4a462a61d07c6654d7518cfdb5cb8da08f9ff7d61384af1fe"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9fbd2e5d8002dc49a6129fb321ec51c57a025e752ed525ddce0ba9223c4350a7"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:4a761ea45f2ad74c575ef5850ea514cef97302a552d3c7c9d1a1a870d4661d6c"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:75aa39d3f4f1650eea84e46b0d8cefe77dd5478c10e3d0aaf0b0f00493475a7a"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f5c629df03adec31ee505dda3c8988f106c9390e4cbd343600036eb8b3d6724f"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:3a66e40a1a20de96a2fee00ed67e11012b62d85b277688258677fd19997addb7"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:968c1e33edd9a104d1bf24c8d476c72de7e3839ae7f894b37e9e4f4739fdeeca"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-win32.whl", hash = "sha256:fbc4e2f3cb7ce8436154e6483079e7d35eeb321a952fa936e180300630d8b873"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-win_amd64.whl", hash = "sha256:c37fa93bf18bf4f90b01c0fa9f11ea567ee4b7dd8bf96e63663e5edc37aa38cf"},
|
||||
{file = "regex-2026.9.10-cp314-cp314t-win_arm64.whl", hash = "sha256:ffc2da104e43db716ce30cef9f28049a1faa6aca385dd8771b033268d0730b07"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:6afcad14310f1311d077553ed374b42a5e538f85a8c884b4e38e52de091c8077"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:3fb4ae8cf83ef4e9addd43b2da31a9f45be816a8036fae8af59c8998b72718e2"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:f7d4656e17ab736e9415a6442a345bfc97bb8b7dcce47884bb74a37f70f08d0c"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:35ba3bab0c45079735f55ac61526774de1d84bc4a0333cc554e1a4ab74913924"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ff6b3267318661dfddf6b3628663e00e5946bd0a5c8fa678537a1401f0388f91"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:030fa9e23624e39b3b94e46b90a5abd1a1678eb2f58fcdd3fd6c27526bf91c7e"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fbc8314436353e097c050e11b01a6c11433579437ed0579730157676ef59e2f"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7e6c0b5ec6ddee4032247585dc491b0fa58627745b66a705728703a3f0331231"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:bf29611e5376fec8f795879bb5c6153a76c3a292573d173c26784042b01eb840"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:ec8855f08c17895a26fbf5f19ed829722e19b34a96629e49a43c92974924026b"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:94c5ce3bc41d226b4eb89ca3f842b2e28c031487fb1f34eb2153d98235831325"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:9ce239acb15843ab03976626af810a4424b0409689ec2bbc52088ab5479ab487"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:c22df8dd6373bbe3898e77429ffc85594300e39d752fd0e68a31e59d37899376"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-win32.whl", hash = "sha256:1aa309ab7ba89a62d6cf70dbd38d4176440bce3c7001ab86256704cf4c18c6eb"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-win_amd64.whl", hash = "sha256:58da726d3e766c0b3f5a3997dfaf0275898a1107b8191cdd6b0437fe45fd817d"},
|
||||
{file = "regex-2026.9.10-cp315-cp315-win_arm64.whl", hash = "sha256:75f9297b16fcb588a1f8d8a55dabef3c0c20b0c7bac43c87ceaaaf1a825c12f4"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:1270cdec69248592bbe38a0b263ed58d907b891bd2b93703e225c317e421bda1"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:681ed38664b64c6617d3c3c332018d1948c77e139c5ea667c1886efa671e426f"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:8e127d9a80cbf1c3276bb465c6d047e8705e97b58c2b8f2f0c0a69c336b44b37"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:990797e765d89a423880052c68b61c31afe701de94a8c060f61c40605ca6c727"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e5e4a6e0734a685d13b9685622bb503bdbb2927f8b0df025a5085f0ea067475b"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:63bb62cf62217dc38c8a6b2b61b165b0e4eb8fa93b0aba12139251c0986a8fa3"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cb76a9c4e07a6a47849726af0ed14c41741a182f097f134a8cf29c1bc0f4dde8"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:31e4df2b11d48f61d511019bc1ee9b477055f17c352b68fe72db7a98b14d603c"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:cf377960d2ac37d987394a9dbaa75e91338c41a46d41e1d25e90125e7b3ee2dc"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:c8fbd9cb30c68c1686b94029b9ef845d5870d3d65baf66cb126b676849b9d72b"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:53e182b6b04d0011909b47d51a2d72d908de07c7b1c7f16b3adda2204d723bc1"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:0aa7589394230e0f0a422ab6b90841ff12c87e855e7aaf75d192a54a5f124548"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:1b891f77554bff991804cee24b78b40789f7d5993a24c7907bc7025fd2a70c8d"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-win32.whl", hash = "sha256:5bef622850cf760154719d4e0d74b0a855962432995168e250069899ae12fe8f"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-win_amd64.whl", hash = "sha256:07b45ba5c94b8fcb30cb6c56a11f715c57533a3017964504322ea52690a27b72"},
|
||||
{file = "regex-2026.9.10-cp315-cp315t-win_arm64.whl", hash = "sha256:f70b9f0e39c2dba1d9da6bf7ef7c377cad7277f8440e9a69be05ede529ff024c"},
|
||||
{file = "regex-2026.9.10.tar.gz", hash = "sha256:1e321e2c84f0e52c457f5ea5944f796d6e8e09cb99738ea98dcc1bfe402a128d"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9916fda742cd4eede63b286f58c06718324265d727ce0856eb1aac86d0d150d6"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8873c4a11c50b9989168881aeb3f08859f469d809941866aa1feefd8be5431f6"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1d9fe8091b2e89d470df68a9331111ed008ae8aae6bf1e8e1fba4086a495c84e"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fb00027a09a8f9f08028b40dce4c933cf73e4833240ed356583fdc9cfa721566"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:14e953ff3607c92d7675bf79c4d4509ef6782aa8c08509f179f9b3d6d0679e86"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0476e5bcbe6e1ba3d1c4cc7bbb1c3ba78e3b979b5c8a88d0a6a8cdd4992b8c84"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4fb41211d2333eb930a51e0546a65999761cf1f572a4da56ef9b8a62966c06f2"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:edf06545875f3efa31560d94121e95c7fd70d98b1dfedc0157097d79b13b52ea"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6398d5145689503412cc1748895242598d8846b8967b851133b20dc2ed1e21e8"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:45010bcfe66df41522d56c9b6114e87ecc597a08970ff6a2ced24415c141ae5f"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:a5758353650079898dc1b2b0e95aa51fa23a30d020e06f62c430dd08ee56cdd8"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:6f7121a8914ed13fcfe2099f895341bfb789f004d4c5a0bdece8fa667da10849"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:b9d74e4eee9ddb64c2e92d5d61472c59c21684c059eb7b68767be9628e977859"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:143533cc4b6fbc5b95aca0a5b8d541088d374831593def000ec89322c220221d"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-win32.whl", hash = "sha256:b84f186a7f0536fe4ff9a9fa12d06d007b9b71d4b5352ddcc41f59ad6522a312"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-win_amd64.whl", hash = "sha256:23ae6fdad9e63e54038f5ef78aba2933faca61e24d432786589e737bc5522ebb"},
|
||||
{file = "regex-2026.9.29-cp310-cp310-win_arm64.whl", hash = "sha256:c0094897d7d01f184b2d7fe8c56c66d64efe01b31f4b7d34205b391387df1111"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6abb75ab16bc3281714a5b99548a2225db70dba1f995f6d7f7419b76eb5a8fbe"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b7b893976e7fe42053da64f2aa27239c24252fd2ec6df471e1be197c0addc3b1"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:066d0e3dbfdd739bce2bf8c2a41dd16f73e3d8adc2eb06dd803a36a307f56075"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7020ed44df30b3aa492c00ee3b52d0548c1f30c2c6c5bb13ae897680900d3413"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ae4613d7d9dda60fcba95f846cc6f808017f1843f392cf9daad14a6534493d71"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bec37990e3d6121f29ecfb594bd8f1bf009e9f7926daba2e50e3b27d3892a783"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:612b709381c0355b70d89cdb51b7f670591ed5cbbc0e3b5337488019dc667b65"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a760da040b47767b4b873adfb7c3b691e9ba2fc60f113f9d0b88f1a62f323e85"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:49ee178ca31c94621294bf9b8b676a92a2e6bba8af0529591753719e57edb621"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5eeb8edc6110d9194a4d0d54610f64c37a31c605b5dbb7e407fc6ec7fa34a4a1"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ccb64d887a9db1cd76dbc0f92051a1a478a2a67e7f56c62d915cb881d7734704"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9e4482589065c8ecd761cff522dcd85f2d39e62f551e37e025d1c7d54772def3"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d60030baaa7bfbb02d650c126cdcddcb6e33dbff14d819434c8fa2fdcaeeeba5"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-win32.whl", hash = "sha256:18ae8eed4526e35bdb754d61562b90bf5c00a67fdcf3cc1380dd59597486631b"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-win_amd64.whl", hash = "sha256:1043aedf5917caa861bcb25a9c11460049656bdf0017a90a309fa8f255467725"},
|
||||
{file = "regex-2026.9.29-cp311-cp311-win_arm64.whl", hash = "sha256:352cf115a810b357caa35193ab656ecf5ef41056855e82f292c99e8514f8d954"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:dc79d36d0618752265f0d575915bdc5c5130ecb9c9f6b3bcefeae32e4bdfafcf"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3a21a9509d0ee88e7a70e1ad228cd2f0e0fd1e187458db132e8a8d18c97daf9d"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f57dc6b8fef170f105d2cf5cdce254f47b137d7755086cf7050f47e16582abba"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f93bc1c3486ef3747e07c9d7c1d0a147b8fbaab975f80e348aed6f71309dfaca"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e1d3a4cb7993b708f0ada8d0c84590efd853f169e7147d2202c9da503180242"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dabee8f4935e731fb46b2a3091bdda0d3d94b3bbfb907d2b4f12eefce4009619"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39ab5894d971f9ac68baa6eca5c50387db579cfcacf36ae8df3feceb1815e6d0"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c1a9a6651197fbed6f0212591418b9def774fc3f8324f78d1bf0e6a63e5f8aa1"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87fb80cbe3557e27e7b28b995c2b2eedf689b8886f941ab93e0e288f0976518a"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:3c5c2ef13797466aa64170cbb66ad98a32351dd4127694cea7199f80f213750d"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:59b49507f47479e299a9e1bc41b5cb83a7afda0540625f1dbae886615978acbf"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:0dd8af32e9f7b56b7f95cc1fd79b23054c3bdc172392ae560acc24d57b7ffe71"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:db5e82ba15c142425b8406690032df89e39cca4a2e8afbbb9a3d84edc2373ac3"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-win32.whl", hash = "sha256:d0c3082bf79bcd6a614d55916590ad4b8f93200e10b97f463ea5d9d07c9b5f23"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-win_amd64.whl", hash = "sha256:fdd88ed5e20b1bcdd234421e454962c971aa44b653bdb7f1ea9ef683e90fb649"},
|
||||
{file = "regex-2026.9.29-cp312-cp312-win_arm64.whl", hash = "sha256:4fe97894d1b306c919b4e50def1e6f6c522f4d03a7283811f4d108f1ce5d3ac2"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f1a0d5117230dd46b399a30a38afa44f79c99f3168988fdc4f425c3f928b39df"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f0fe9834e5aeccaf19a0d8feb296d66a24be1a7c9922002f842a682cd5abb787"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c90fcf7804ea0a54b896ce0f2b9565350220b8d4890fd0db461a476a4c687963"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e11edba5bc344a32b029a7af9d4b3173982dd79eeafa0b9dbd787364414b0509"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bb90e7177944b6684738c1fc36aabd2dd00d1de3be7dbe09f91e196f1bc0dc81"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d06fcdecc10fc7954d7c8f27a03c96055fe525274dc84a7b0dbdc3d6b9e03dab"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d49c18f1ea294cf4adde2e5ac256e98c82ea9d708462ce4bf799dffa7cfe8a2c"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3e778bfccd63075167709136afbc251c1f683758d5bf49c803c60ac3f894ce6b"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:686ac5350fceae63830bb98805fcb8039325bf4c06d9f6f048ff65229d5bffa5"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:26ec4ccce55aa533fbd603d08911b01101a8fcfec987845ac3ae2c7087b2bde3"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a655d34b2a6943af32401f3d94f72e9d731f6ad16285815550bf2b4ee69d420a"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:0c992c19cd45058a4b92f68f139c93db168b48fb1f322c9a7cd620806afb6b51"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ebb8912f565b8cdbbf27debfe00df04202c20e2f651b9e32767930c5eace3621"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-win32.whl", hash = "sha256:4d7d93613b01b0199961330e49cfc52d479b3d5776c56c691db31130c0a07d91"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-win_amd64.whl", hash = "sha256:61956f074ecd123f55adca68ee3eab46e6a07ad3f8e64e6db95dfacb444f55c4"},
|
||||
{file = "regex-2026.9.29-cp313-cp313-win_arm64.whl", hash = "sha256:bfc71e6d970419c1309b3640305298643e2a734cad3f7cfb6d2ddee4175ab53d"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:957bb708e8057ab1649ba566456429d691ec9b90d1c9ad1af1ba7ffbbeaf05f2"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9b602fae1e00b7c035d661ce85575365719192a7b46784bd71cf64c68053aa0"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0166844493626c5015c6088ee15c9ca2fd060ca15b7641d1657da6a58432ae33"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b97a38fb4c732b6832db6bf108963adbcd82ef1268ba2025dce390f45af75efa"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a540abfab208e1b7ef2df231c40ef3b6cbb30a0aad6204e9b6a81c10a6794628"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ddfa987262763c3c22a8367d2a49c244b018a74c3a8e3ab1a864119ad45c5633"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2f7f7aa47b229f2b39a2ae2596d2ad5625d77b5eb9856fac2dab3eb506cdd0a0"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d9b77b25b4f395f92de6099ab08e8ae2bc7e51dfe157f22900902243a5cc90c7"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:34b6925af9853bf461950e6508910f179fd6e9b1a7ec8548e069606b7e51a26b"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:addd736a0547d553283adaf4e05d7104e7f2c7b0b092e9b4d28756825f14531f"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fe3fa1dd453ed5c7f5ea23a26218329790ed7197a99b90e94330e313959a7f52"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:0cc63b5e47c12a48d90c7e9d7de6a035dd14f62868aaedbb4e0ff8ba2b8bfe7b"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:724184b4aafed865e4f13ca313fdcb43024300c028ec67319cfa16847d84685e"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-win32.whl", hash = "sha256:c6c8fabf1dafc1f1ddcbb67896d3f93efb092e8c4b6322d7389b944e76a484e5"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-win_amd64.whl", hash = "sha256:1c2a0026062abcc321a53db4a185ceba0b59a66b5d37b0808917a88b55a5257f"},
|
||||
{file = "regex-2026.9.29-cp314-cp314-win_arm64.whl", hash = "sha256:121a76a0985db80ceae9e171c337f8c927868e37d01b54e3ce87bc87f9c6a208"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:e31f72490b7c12f7790e1e25c3afffd20503ee1bfb43461d7838b871ff244b19"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:80ea96f5c1a30bf09007d48466521d9c294bebe197c708c3359096e3e3691632"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:554bffadcbcb6d5f4e5fb10a61cc52084b9a63d1dab5f10bcd2c4343972e8e2c"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:864e9b87ac33c3fb9fb4ad48166d4fdb579c351d5c77deb0d34bccb36a775cd9"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:044265d77d94f5e3cb2fd72c76723807c429cb8c533e9d4672d0334a6f14f588"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2089fe39c406784d90101c726755ffa1497bb74638fd434300d2b88006186de8"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0def9fb6abac55492d6d51cddb7225d07d6f279e774e0adc08569a54a5fc8d46"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:888d60953908dcf761aa320c3e390ab8556efbdb551ace63921de90f6ae0848d"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ed511a0708e2297e1d6431e7fb217e3402791e491e02da800658ace4973df1bb"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e1172147d28d8fbcf8cb8d26c41506169f5ad8fe9ec969cb116835a19d4d8eca"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:92f05c9c42bde5785dc48770bc2194d9f7442544156f951e19cd31b096cec562"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f37964e4a5e993d2fd45147741e9dff7f34a2d8c00ab94c4ea0514a4677f959e"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:951733b1bbdb71e377cec567b409f1a7881b47cfcad84121aa74cb575fa425ea"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-win32.whl", hash = "sha256:65b408d8fcb273e3499e7ef2ce796810da1becd208c7fb4373692a242d79d461"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-win_amd64.whl", hash = "sha256:bf48516e35cf848390ea68850aba53e7c333720d2945b4d2c25b69fc5171723f"},
|
||||
{file = "regex-2026.9.29-cp314-cp314t-win_arm64.whl", hash = "sha256:9173db3be74a35cb6731701094b98120f7ee4876a287882a59cdea1fa7da342f"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:c3589f40749acce747510bf5d589d54e376cb0930ea58b35effac97e5312b0c1"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:32ab11df9677ca80bcbb5fe4eb1da9109a5019239a054836efc6fa1c64e683cf"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:7c03031610e3e6ed1768a2b7a8fc84637c1257b50c5eacaf094c6e17a84fc563"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:42e82e578c904445d4c8a35b8f28052cf567593215fa5db06266fbc6f77aaa2e"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0b65c72739f981377c9c22e0c5c3cd7f42da7bd8a3c9209330fac772c7d893ed"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4408b2b27a95ca8cc48b7411945753773353b5c93b307754781086c99d3a576f"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a714befaacbd10092ffe4cea0d3c5f008fb9efe9bc322c715bcdfdee414b9a3d"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33026515aebc0e70d1c89978e53e8d695d35d9e472f8d5b34465ba3c74028650"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:31b003f9a070335e2a8233ee9b14a3ca8e6d792012ae011f741bf0aaf11744c5"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:c03c6eb6ece86dfdcbb34799efaa339b093132e1aceed491ba5e08fe06cdf699"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:a5300757f8a68f5b6cc33f57338d72a0e3589c5cc9ad5f8504ea06f028be582a"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:80c7cadd3fd2bfde5df8aa0787e315812cad0c313a753095d02f4c2b6c01677b"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:3f1e6cb402a89457582cd696f982559217d13484a193202c394015297968c86d"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-win32.whl", hash = "sha256:a64b85a4760337cfefdb27d42da6ed8b58e8cde3f2d57b6ef43e76ef6ea9ef47"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-win_amd64.whl", hash = "sha256:b3e445b66c80b4eb4234e855ce94d9adc183eedbd632816228d89930b91b2c5b"},
|
||||
{file = "regex-2026.9.29-cp315-cp315-win_arm64.whl", hash = "sha256:8f39588af4731c8923c26810eb3b33f76f17633985e40f59c3cd45a33805a895"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:fb99cc9d45f48895d9d67f6a0b8a57f08d39c174d9f25ad97a313e0470267b1c"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:720537c7ea6f80dc61913184edb0ce2497a306b39ef19f28505b322553d52bdb"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:0fd2c901cc307a745ad4bc87f20060d7a0825a3371d1e93488af22e7a387f78f"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b11b589e00095ec69cf79841a76360f9b079e95b0368a25b5ebb951ab0c157ff"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d7cab119d0df0b9413f106b4d7fc34f2872d3574ed3806fb48959c830b1537da"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b89efc38431793d28b7cd91227e2f952ad7c48df19132b17f43a5fec3c14143b"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:80a5ea3b4fd9d6a5b9a44f7976a9acaaab35aa3c1f6b29e5bd857dfabaded223"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:19959129885356df0e97556856f77eb2888380dac18bed075a7c05c5128c618d"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6a1a824fbed817e0a891103886b68f063b1e83cc51bc97192a90a60195a9291f"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1ba8c6a416569ce0d37e83e28a254a61dc99a419084dfb6476cea02d997f74fa"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:446654b29bfaa30500d80947eda42cef1449dc8a87f4e3cf061cc8485d3a1f0b"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:bf3c49863c23a1ad6da9c30351aed6cff8d5ddbeb63c5c8420ae54e98c7d0138"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:01000ddf0e3ffef97f2413ceb514f6313040106b6d18a03ee00a4fe35c1eb1db"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-win32.whl", hash = "sha256:c4e38dd8f39c43a91d2410ad2b85610701b0979342c3df1d69eaf8e838c757d8"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-win_amd64.whl", hash = "sha256:e2c89e9b762c57f59d5e99ee8b20202adb892e35f8d3485741340999ca55058e"},
|
||||
{file = "regex-2026.9.29-cp315-cp315t-win_arm64.whl", hash = "sha256:e8c65ef3862a8ad6e86492b6ed9327805dd66904c012bd3649dc67d822ed6c34"},
|
||||
{file = "regex-2026.9.29.tar.gz", hash = "sha256:8b5fcc4771732191b2b7d1dd68d8f0353f47f8d90b6150f6dce58bf1112442cb"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "soupsieve"
|
||||
version = "2.10"
|
||||
version = "3.0.4"
|
||||
description = "A modern CSS selector implementation for Beautiful Soup."
|
||||
optional = false
|
||||
python-versions = ">=3.10"
|
||||
python-versions = ">=3.11.5"
|
||||
files = [
|
||||
{file = "soupsieve-2.10-py3-none-any.whl", hash = "sha256:8596eb8967d744174820280fa62b4542a2e955bfaccca73ed8a13c6eb8e9b502"},
|
||||
{file = "soupsieve-2.10.tar.gz", hash = "sha256:49e9380d7d2905463583bafe285e818c7366a9ed7b3aee221c1ac79c905d8bc0"},
|
||||
{file = "soupsieve-3.0.4-py3-none-any.whl", hash = "sha256:8412826614f9c632227067d0985aeb9f584bd15efc852955430e097a9fe7afbf"},
|
||||
{file = "soupsieve-3.0.4.tar.gz", hash = "sha256:924fab84ae21604c19e175e1f39815eb6fa83ba23836e09e9de180925e5bc4c0"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -621,13 +621,13 @@ files = [
|
||||
|
||||
[[package]]
|
||||
name = "tzdata"
|
||||
version = "2026.4"
|
||||
version = "2026.5"
|
||||
description = "Provider of IANA time zone data"
|
||||
optional = false
|
||||
python-versions = ">=2"
|
||||
files = [
|
||||
{file = "tzdata-2026.4-py2.py3-none-any.whl", hash = "sha256:c2169a8b0a7a5e9674da5a135ccdfb2b3e671b333ed9fed17b41f73c34476e81"},
|
||||
{file = "tzdata-2026.4.tar.gz", hash = "sha256:f1b8bd365d8d210c55353f4d7f8d6d8561c0ba50d704b700d195a9424bba0d79"},
|
||||
{file = "tzdata-2026.5-py2.py3-none-any.whl", hash = "sha256:b683bd1b6659ddcd810ff02ad09ba821d4bf1065072805063eb35c49617905ac"},
|
||||
{file = "tzdata-2026.5.tar.gz", hash = "sha256:8cc73c0a0bfca7dbfa59235d60b2eff82231dee33f53d206db1acd9173cfc0a7"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
||||
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-950:oklch(27.9% .077 45.635);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 Line truncated
|
||||
Reference in new issue
Block a user